--- libmatthew-java-0.7.2.orig/Makefile +++ libmatthew-java-0.7.2/Makefile @@ -6,7 +6,7 @@ CC?=gcc LD?=gcc JPPFLAGS+=-C -P -CFLAGS+=-Wall -Os -pedantic -Werror +CFLAGS+=-Wall -Os -pedantic -D_GNU_SOURCE CSTD?=-std=c99 CSHAREFLAG+=-fpic -fno-stack-protector GCJJNIFLAG=-fjni --- libmatthew-java-0.7.2.orig/debian/changelog +++ libmatthew-java-0.7.2/debian/changelog @@ -0,0 +1,98 @@ +libmatthew-java (0.7.2-1ubuntu1) karmic; urgency=low + + * Merge from debian unstable (LP: #371518), remaining changes: + - debian/control: Remove unneeded build dependency classpath-doc. + - Makefile: Add -D_GNU_SOURCE compiler flag and remove -Werror. + * New Upstream Release: + - build with -fno-stack-protector compiler flag fixes LP: #218658 and LP: #360880 + + -- Rail Aliev Mon, 04 May 2009 14:13:46 +0400 + +libmatthew-java (0.7.2-1) unstable; urgency=low + + * New Upstream Release + * Bump Standards-Version + * Bump debhelper compat + * Change to section java + + -- Matthew Johnson Sun, 05 Apr 2009 11:11:45 +0100 + +libmatthew-java (0.7.1-1ubuntu1) intrepid; urgency=low + + * Fix for FTBFS. (LP: #239765) + * debian/control + - Remove unneeded build dependency classpath-doc. + - Modify 'Maintainer' field. + * debian/rules + - Change source option value from 5.0 to 1.5 + * Makefile + - Remove -Werror compiler flag. + - Add -D_GNU_SOURCE compiler flag. + - Set LDFLAGS appropriately. + * unix-java.c + - Various source modifications to fix compile time errors. + + -- Onkar Shinde Sat, 13 Sep 2008 22:24:23 +0530 + +libmatthew-java (0.7.1-1) unstable; urgency=low + + * New Upstream Release (Closes: #476019) + * Change to use default-jdk-builddep (Closes: #477878) + + -- Matthew Johnson Sat, 26 Apr 2008 13:27:43 +0100 + +libmatthew-java (0.6-1) unstable; urgency=low + + * New Upstream Release + * Use javahelper + * Bump Standards-Version + + -- Matthew Johnson Thu, 10 Jan 2008 13:55:43 +0000 + +libmatthew-java (0.5-2) unstable; urgency=low + + * Add watch file from watchwiz + + -- Matthew Johnson Tue, 25 Dec 2007 11:19:29 +0000 + +libmatthew-java (0.5-1) unstable; urgency=low + + * Accompanying upstream change to avoid javadoc talking to the web + (Closes: #447351) + * Change maintainer address + + -- Matthew Johnson Wed, 05 Dec 2007 10:22:47 +0000 + +libmatthew-java (0.4-2) unstable; urgency=low + + * fix javadoc variables to make not to need networking + + -- Matthew Johnson Wed, 19 Sep 2007 16:41:31 +0100 + +libmatthew-java (0.4-1) unstable; urgency=low + + * New Upstream Version + * Add JAVADOC to rules; forces creating javadoc with gjdoc. + * Add docs package + * Register documentation with doc-base + * Initial upload to Debian: Closes: #413405 + * Update to new Java policy + * put docs in section doc and libs in section libs + + -- Matthew Johnson Wed, 30 May 2007 00:24:43 +0100 + +libmatthew-java (0.3-1) unstable; urgency=low + + * New Upstream Version + * Tidy up rules a bit + * Remove overrides and full-stops + + -- Matthew Johnson Wed, 3 Jan 2007 21:56:49 +0000 + +libmatthew-java (0.1-1) unstable; urgency=low + + * Initial Release. + * Build with fastjar and java-gcj-compat-dev + + -- Matthew Johnson Tue, 19 Dec 2006 14:35:37 +0000 + --- libmatthew-java-0.7.2.orig/debian/compat +++ libmatthew-java-0.7.2/debian/compat @@ -0,0 +1 @@ +5 --- libmatthew-java-0.7.2.orig/debian/control +++ libmatthew-java-0.7.2/debian/control @@ -0,0 +1,58 @@ +Source: libmatthew-java +Section: java +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Matthew Johnson +Build-Depends: debhelper (>= 5.0.0), + docbook-to-man, + default-jdk-builddep, + fastjar, + javahelper +Standards-Version: 3.8.1 + +Package: libunixsocket-java +Architecture: any +Depends: ${java:Depends}, ${shlibs:Depends}, ${misc:Depends} +Suggests: libmatthew-java-doc +Description: Unix socket API and bindings for Java + These bindings allow you to connect to Unix Sockets from within Java + programs. + +Package: libmatthew-io-java +Architecture: all +Depends: ${misc:Depends}, ${java:Depends} +Suggests: libmatthew-java-doc +Description: Extra IO library for Java + This library provides classes to pipe a stream through an external program, + print DOM trees and split an output stream so that it also goes to a file. + +Package: libmatthew-debug-java +Architecture: all +Depends: ${misc:Depends}, ${java:Depends} +Suggests: libmatthew-java-doc +Description: Debugging library for Java + This package provides a debugging library for Java, including a generic + utility class for providing nicely formatted dumps of byte arrays + (similar to the hexdump utility). + +Package: libcgi-java +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${java:Depends} +Suggests: libmatthew-java-doc +Description: CGI library for Java + This library allows CGI scripts to be written in Java. The library provides + access to all the standard CGI variables including POST/GET. It also makes it + easy to create input forms in HTML documents. + +Package: libmatthew-java-doc +Architecture: all +Depends: classpath-doc, ${misc:Depends} +Section: doc +Recommends: libcgi-java, + libmatthew-debug-java, + libmatthew-io-java, + libunixsocket-java +Description: API documentation for the libmatthew-java libraries + The Javadoc API documentation for libcgi-java, libmatthew-debug-java, + libmatthew-io-java and libunixsocket-java. + --- libmatthew-java-0.7.2.orig/debian/copyright +++ libmatthew-java-0.7.2/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Matthew Johnson on +Mon Dec 18 16:34:39 GMT 2006 + +It was downloaded from http://www.matthew.ath.cx/projects/java + +Copyright: + +Upstream Author: Matthew Johnson + +This software is Copyright (c) 2003-2006 by Matthew Johnson. + +Some of the files comprising the CGI library are copyright (c) 2003/2004 +Matthew Johnson, Adam Biltcliffe, Michael Cripps, Martin O'Leary, Edward +Allcutt and James Osborn + +This library is free software; you can redistribute it and/or modify it under +the terms of the GNU Lesser General Public License version 2.1 as published by +the Free Software Foundation + +This library 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 Lesser General Public License for more +details. + +You should have received a copy of the GNU Lesser General Public License along +with this library; if not, write to the Free Software Foundation, Inc., 51 +Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General Public License +can be found in the file `/usr/share/common-licenses/LGPL-2.1'. + +The packaging is copyright (c) 2006-2007 Matthew Johnson and is distributed under +the terms of the GNU General Public License version 2. On Debian systems, the +complete text of the GNU General Public License can be found in the file +`/usr/share/common-licenses/GPL-2'. --- libmatthew-java-0.7.2.orig/debian/libcgi-java.install +++ libmatthew-java-0.7.2/debian/libcgi-java.install @@ -0,0 +1,2 @@ +usr/lib/jni/libcgi-java.so +usr/share/java/cgi*.jar --- libmatthew-java-0.7.2.orig/debian/libmatthew-debug-java.install +++ libmatthew-java-0.7.2/debian/libmatthew-debug-java.install @@ -0,0 +1,2 @@ +usr/share/java/debug*.jar +usr/share/java/hexdump*.jar --- libmatthew-java-0.7.2.orig/debian/libmatthew-io-java.install +++ libmatthew-java-0.7.2/debian/libmatthew-io-java.install @@ -0,0 +1 @@ +usr/share/java/io*.jar --- libmatthew-java-0.7.2.orig/debian/libmatthew-java-doc.doc-base +++ libmatthew-java-0.7.2/debian/libmatthew-java-doc.doc-base @@ -0,0 +1,9 @@ +Document: libmatthew-java-doc +Title: API JavaDoc for libmatthew-java +Author: Matthew Johnson +Abstract: This the API JavaDoc provided by Matthew Johnson for libmatthew-java +Section: Programming + +Format: HTML +Index: /usr/share/doc/libmatthew-java-doc/api/index.html +Files: /usr/share/doc/libmatthew-java-doc/api/*.html --- libmatthew-java-0.7.2.orig/debian/libmatthew-java-doc.install +++ libmatthew-java-0.7.2/debian/libmatthew-java-doc.install @@ -0,0 +1 @@ +usr/share/doc/libmatthew-java/api usr/share/doc/libmatthew-java-doc --- libmatthew-java-0.7.2.orig/debian/libunixsocket-java.install +++ libmatthew-java-0.7.2/debian/libunixsocket-java.install @@ -0,0 +1,2 @@ +usr/lib/jni/libunix-java.so +usr/share/java/unix*.jar --- libmatthew-java-0.7.2.orig/debian/rules +++ libmatthew-java-0.7.2/debian/rules @@ -0,0 +1,73 @@ +#!/usr/bin/make -f + +build: build-stamp + +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) JAVA_HOME=/usr/lib/jvm/default-java \ + JAVAC=/usr/lib/jvm/default-java/bin/javac \ + JAVAH=/usr/lib/jvm/default-java/bin/javah \ + JAVADOC=/usr/lib/jvm/default-java/bin/javadoc \ + JAVADOCFLAGS="-quiet -author -link /usr/share/doc/classpath-doc/api/" \ + JAR=/usr/bin/fastjar \ + PREFIX=/usr \ + all doc + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + + dh_installdirs + + # Add here commands to install the package + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr install install-doc + +# Build packages here +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs -s + dh_installdocs -s + dh_install -s --sourcedir=debian/tmp + jh_depends -s + dh_strip -s + dh_compress -s + dh_fixperms -s + dh_installdeb -s + dh_shlibdeps -s + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs -i + dh_installdocs -i + dh_install -i --sourcedir=debian/tmp + jh_depends -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary: binary-arch binary-indep + +.PHONY: build clean binary install binary-arch binary-indep --- libmatthew-java-0.7.2.orig/debian/watch +++ libmatthew-java-0.7.2/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/\.(tar.*|tgz|zip|gz|bz2)$//i,dversionmangle=s/[-.+~]?(cvs|svn|git|snapshot|pre|hg)(.*)$//i,pasv \ +http://www.matthew.ath.cx/projects/java (?:.*/)?libmatthew-java-?_?([\d+\.]+|\d+)\.(tar.*|tgz|zip|gz|bz2|) debian uupdate