[japi-compliance-checker] 01/20: Start working on JACC

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu May 21 09:04:58 UTC 2015


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository japi-compliance-checker.

commit 488f42291682e835264039d0c3937a58ff9ed03f
Author: Mathieu Malaterre <malat at debian.org>
Date:   Thu Apr 26 12:51:17 2012 +0000

    Start working on JACC
---
 debian/abi-compliance-checker.1 | 155 ++++++++++++++++++++++++++++++++++++++++
 debian/changelog                |   5 ++
 debian/compat                   |   1 +
 debian/control                  |  28 ++++++++
 debian/copyright                |  32 +++++++++
 debian/dirs                     |   1 +
 debian/manpages                 |   1 +
 debian/rules                    |  21 ++++++
 debian/source/format            |   1 +
 debian/watch                    |   4 ++
 10 files changed, 249 insertions(+)

diff --git a/debian/abi-compliance-checker.1 b/debian/abi-compliance-checker.1
new file mode 100644
index 0000000..70a4829
--- /dev/null
+++ b/debian/abi-compliance-checker.1
@@ -0,0 +1,155 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.40.6.
+.TH ABI "1" "March 2012" "ABI Compliance Checker (ACC) 1.96.8" "User Commands"
+.SH NAME
+ABI \- manual page for ABI Compliance Checker (ACC) 1.96.8
+.SH DESCRIPTION
+.SS "NAME:"
+.IP
+ABI Compliance Checker (abi\-compliance\-checker)
+Check backward binary compatibility of a shared C/C++ library API
+.SS "DESCRIPTION:"
+.IP
+ABI Compliance Checker (ACC) is a tool for checking backward binary
+compatibility of a shared C/C++ library API. The tool checks header
+files and shared libraries (*.so) of old and new versions and
+analyzes changes in Application Binary Interface (ABI=API+compiler ABI)
+that may break binary compatibility: changes in calling stack, v\-table
+changes, removed symbols, etc. Binary incompatibility may result in
+crashing or incorrect behavior of applications built with an old version
+of a library if they run on a new one.
+.IP
+The tool is intended for library developers and OS maintainers who are
+interested in ensuring binary compatibility, i.e. allow old applications
+to run with new library versions without the need to recompile. Also it
+can be used by ISVs for checking applications portability to new library
+versions. Found issues can be taken into account when adapting the
+application to a new library version.
+.IP
+This tool is free software: you can redistribute it and/or modify it
+under the terms of the GNU LGPL or GNU GPL.
+.SS "USAGE:"
+.IP
+abi\-compliance\-checker [options]
+.SS "EXAMPLE:"
+.IP
+abi\-compliance\-checker \fB\-lib\fR NAME \fB\-d1\fR OLD.xml \fB\-d2\fR NEW.xml
+.IP
+OLD.xml and NEW.xml are XML\-descriptors:
+.IP
+<version>
+.IP
+1.0
+.IP
+</version>
+.IP
+<headers>
+.IP
+/path1/to/header(s)/
+/path2/to/header(s)/
+.IP
+\&...
+.IP
+</headers>
+.IP
+<libs>
+.IP
+/path1/to/library(ies)/
+/path2/to/library(ies)/
+.IP
+\&...
+.IP
+</libs>
+.SS "INFORMATION OPTIONS:"
+.HP
+\fB\-h\fR|\-help
+.IP
+Print this help.
+.HP
+\fB\-i\fR|\-info
+.IP
+Print complete info.
+.HP
+\fB\-v\fR|\-version
+.IP
+Print version information.
+.HP
+\fB\-dumpversion\fR
+.IP
+Print the tool version (1.96.8) and don't do anything else.
+.SS "GENERAL OPTIONS:"
+.HP
+\fB\-l\fR|\-lib|\-library <name>
+.IP
+Library name (without version).
+It affects only on the path and the title of the report.
+.HP
+\fB\-d1\fR|\-old|\-o <path>
+.IP
+Descriptor of 1st (old) library version.
+It may be one of the following:
+.IP
+1. XML\-descriptor (VERSION.xml file):
+.IP
+<version>
+.IP
+1.0
+.IP
+</version>
+.IP
+<headers>
+.IP
+/path1/to/header(s)/
+/path2/to/header(s)/
+.IP
+\&...
+.IP
+</headers>
+.IP
+<libs>
+.IP
+/path1/to/library(ies)/
+/path2/to/library(ies)/
+.IP
+\&...
+.IP
+</libs>
+.IP
+\&... (XML\-descriptor template
+.IP
+can be generated by \fB\-d\fR option)
+.IP
+2. ABI dump generated by \fB\-dump\fR option
+3. Directory with headers and/or shared libraries
+4. Single header file
+5. Single shared library
+6. Comma separated list of headers and/or libraries
+.IP
+If you are using an 2\-6 descriptor types then you should
+specify version numbers with \fB\-v1\fR <num> and \fB\-v2\fR <num> options too.
+.IP
+For more information, please see:
+.IP
+http://ispras.linux\-foundation.org/index.php/Library_Descriptor
+.HP
+\fB\-d2\fR|\-new|\-n <path>
+.IP
+Descriptor of 2nd (new) library version.
+.HP
+\fB\-dump\fR|\-dump\-abi <descriptor path(s)>
+.IP
+Dump library ABI to gzipped TXT format file. You can transfer it
+anywhere and pass instead of the descriptor. Also it can be used
+for debugging the tool. Compatible dump versions: 2.0<=V<=2.10.1
+.HP
+\fB\-old\-dumps\fR
+.IP
+Enable support for old\-version ABI dumps (1.18<=V<2.0).
+.SS "MORE INFO:"
+.IP
+abi\-compliance\-checker \fB\-\-info\fR
+.SH AUTHOR
+Written by Andrey Ponomarenko.
+.SH COPYRIGHT
+Copyright \(co 2012 ROSA Laboratory
+License: LGPL or GPL <http://www.gnu.org/licenses/>
+This program is free software: you can redistribute it and/or modify it.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9fd3c61
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+japi-compliance-checker (1.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #540247)
+
+ -- Mathieu Malaterre <malat at debian.org>  Thu, 26 Apr 2012 14:42:42 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..1760c48
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: japi-compliance-checker
+Section: devel
+Priority: optional
+Build-Depends: debhelper (>= 8)
+Maintainer: Mathieu Malaterre <malat at debian.org>
+Standards-Version: 3.9.3
+Homepage: http://ispras.linuxbase.org/index.php/Java_API_Compliance_Checker
+Vcs-Svn: svn://svn.debian.org/collab-maint/deb-maint/japi-compliance-checker/trunk
+Vcs-Browser: http://anonscm.debian.org/viewvc/collab-maint/deb-maint/japi-compliance-checker/trunk/
+
+Package: japi-compliance-checker
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}
+Description: tool to compare API compatibility of jars
+ abi-compliance-checker can be used to help reduce the possibility of
+ an application crashing when the shared libraries it links against
+ have changed.  Signatures and data type definitions from two separate
+ versions of a library are compared by examining the shared objects
+ (.so) files themselves, and by analysing the header files (.h)
+ provided for the two versions of the library and their dependencies.
+ .
+ Shared library developers trying to strive for binary compatibility
+ between releases may also use this tool to detect if an any
+ accidental application binary interface (ABI) changes have been
+ introduced.
+ .
+ The checker may also be used for assessing binary compatibility
+ between different Linux distributions.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..d135c89
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Andrey Ponomarenko <andrei.moscow at mail.ru>
+Upstream-Source: http://ispras.linux-foundation.org/index.php/ABI_compliance_checker_Downloads
+Upstream-Name: ABI compliance checker
+
+Files: *
+Copyright: Copyright 2009, The Linux Foundation
+ Copyright 2009, Institute for System Programming, Russian Academy of Sciences
+License: GPL-3+
+
+Files: debian/*
+Copyright: 2009, Ryan Niebur <ryanryan52 at gmail.com>
+License: GPL-3+
+
+Files: debian/abi-compliance-checker.1
+Copyright: 2009, Paul Sladen <debian at paul.sladen.org>
+License: GPL-3+
+
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ The complete text of the GPL version 3 can be found in
+ '/usr/share/common-licenses/GPL-3' on Debian systems.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..500daf2
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/abi-compliance-checker.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..cac9d03
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@
+
+destdir=$(shell pwd)
+override_dh_auto_install:
+	mkdir -p $(destdir)/debian/tmp/usr
+	perl Makefile.pl -install --prefix=$(destdir)/debian/tmp/usr
+
+override_dh_install:
+	dh_install usr/bin
+	dh_install usr/share/abi-compliance-checker/
+	# docs:
+	dh_installdocs doc
+
+debian/abi-compliance-checker.1:
+	help2man --output=$@ --no-info abi-compliance-checker
+
+get-orig-source:
+	uscan --download --force-download --rename
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..41ff2c1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+#https://github.com/<user>/<project>/tags .*/tarball/(\d[\d\.]+)
+# https://github.com/downloads/lvc/japi-compliance-checker/japi-compliance-checker-1.1.tar.gz
+https://github.com/lvc/japi-compliance-checker/downloads .*/japi-compliance-checker-(.*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/japi-compliance-checker.git



More information about the pkg-java-commits mailing list