Bug#693673: new version of triplea Debian package
Hello, version 1.7+ requires the sbbi upnp java library. TripleA, however, uses a different code base than upstream's code base - so the triplea's version would have to be used. This could cause problems for people that expect sbbi behavior but get triplea behavior. Either way, upnp will need to be packaged to get the newest version of triplea into Debian. see: http://tripleadev.1671093.n2.nabble.com/upnp-jar-questions-td7583613.html ~Scott __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
[SCM] UNNAMED PROJECT branch, unversioned-1.1, updated. debian/1.1.0+dfsg-2-1-g9a57e26
The following commit has been merged in the unversioned-1.1 branch: commit 9a57e26fe6f9fcf4c7860a6c571a479307eda930 Author: Scott Howard show...@debian.org Date: Mon Dec 19 00:41:32 2011 -0500 * Build-depend on default-jdk so we can set JAVA_HOME (Closes: #642763) diff --git a/debian/changelog b/debian/changelog index 2a66b94..acee1e0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +clojure (1.1.0+dfsg-3) unstable; urgency=low + + * QA Upload. + * Build-depend on default-jdk so we can set JAVA_HOME +(Closes: #642763) + + -- Scott Howard show...@debian.org Mon, 19 Dec 2011 00:40:47 -0500 + clojure (1.1.0+dfsg-2) unstable; urgency=low * QA upload. diff --git a/debian/control b/debian/control index ceec408..3af7ac2 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: devel Priority: optional Maintainer: Debian QA Group packa...@qa.debian.org Build-Depends: debhelper (= 5), cdbs, patchutils -Build-Depends-Indep: ant, openjdk-6-jdk, libasm3-java, maven-repo-helper +Build-Depends-Indep: ant, default-jdk, libasm3-java, maven-repo-helper Standards-Version: 3.8.4 Homepage: http://clojure.org Vcs-Git: git://git.debian.org/pkg-java/clojure.git @@ -12,7 +12,7 @@ DM-Upload-Allowed: yes Package: clojure Architecture: all -Depends: ${misc:Depends}, openjdk-6-jre | java2-runtime, libasm3-java +Depends: ${misc:Depends}, default-jre | java2-runtime, libasm3-java Description: a Lisp dialect for the JVM Clojure is a dynamic programming language that targets the Java Virtual Machine. It is designed to be a general-purpose language, combining the diff --git a/debian/rules b/debian/rules index 89ac79e..ead82b7 100755 --- a/debian/rules +++ b/debian/rules @@ -5,12 +5,13 @@ ORIG_VERSION = $(shell echo $(VERSION) | sed s/-.*//) PRISTINE_VERSION = $(shell echo $(ORIG_VERSION) | sed s/\+dfsg//) UPSTREAM_VERSION = $(shell echo $(PRISTINE_VERSION) | sed s/^0\.0\.//) SRCDIR_NAME = clojure-$(ORIG_VERSION).orig +JAVA_HOME=/usr/bin include /usr/share/cdbs/1/class/ant.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/simple-patchsys.mk -JAVA_HOME := /usr/lib/jvm/java-6-openjdk +JAVA_HOME := /usr/lib/jvm/default-java DEB_JARS := asm3 asm3-commons DEB_INSTALL_CHANGELOGS_ALL := changes.txt -- UNNAMED PROJECT ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] UNNAMED PROJECT tag, debian/1.1.0+dfsg-3, created. debian/1.1.0+dfsg-2-1-g9a57e26
The tag, debian/1.1.0+dfsg-3 has been created at 9a57e26fe6f9fcf4c7860a6c571a479307eda930 (commit) - Shortlog commit 9a57e26fe6f9fcf4c7860a6c571a479307eda930 Author: Scott Howard show...@debian.org Date: Mon Dec 19 00:41:32 2011 -0500 * Build-depend on default-jdk so we can set JAVA_HOME (Closes: #642763) --- -- UNNAMED PROJECT ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] triplea packaging branch, master, updated. debian/1.3.2.2-1-2-gd57c0fa
The following commit has been merged in the master branch: commit e3da16350907b7da095cb768f872d7daa2420d6c Author: Scott Howard show...@debian.org Date: Mon Nov 14 21:51:48 2011 -0500 added set look and feel support diff --git a/debian/changelog b/debian/changelog index 2d63bfb..b1c99a1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +triplea (1.3.2.2-2) unstable; urgency=low + + * Enabled Set look and feel option from menu. Thanks to Jerome Robert +(Closes: #648716) +- Recommends: substance, liblaf-plugin-java, liblaf-widget-java and + removed substance from B-D. triplea will run without recommended + packages, but will throw an error if you try to Set look and feel. + Play resumes normally after error. + + -- Scott Howard show...@debian.org Mon, 14 Nov 2011 21:45:33 -0500 + triplea (1.3.2.2-1) unstable; urgency=low * Initial release. (Closes: #648444) (LP: #126069) diff --git a/debian/control b/debian/control index 396bd22..6a27a44 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: Debian Java Maintainers pkg-java-maintain...@lists.alioth.debian.or Uploaders: Scott Howard show...@debian.org Build-Depends: debhelper (= 7.0.50~), default-jdk, javahelper (= 0.37), ant, libcommons-httpclient-java, libcommons-logging-java, - libcommons-codec-java, substance, junit, imagemagick + libcommons-codec-java, junit Standards-Version: 3.9.2 Homepage: http://triplea.sourceforge.net Vcs-Git: git://anonscm.debian.org/pkg-java/triplea.git @@ -14,7 +14,8 @@ Vcs-browser: http://anonscm.debian.org/gitweb/?p=pkg-java/triplea.git Package: triplea Architecture: all Depends: ${java:Depends}, ${misc:Depends} -Recommends: ${java:Recommends} +Recommends: ${java:Recommends}, substance, liblaf-plugin-java, + liblaf-widget-java Description: Turn based strategy game TripleA is a turn based strategy game. TripleA comes with multiple games and over 100 more games can be downloaded from the user diff --git a/debian/rules b/debian/rules index d5b133f..b4a7500 100755 --- a/debian/rules +++ b/debian/rules @@ -5,7 +5,7 @@ export JAVA_HOME=/usr/lib/jvm/default-java # Put depended upon jars in here -export CLASSPATH=/usr/share/java/commons-httpclient.jar:/usr/share/java/commons-logging.jar:/usr/share/java/commons-codec.jar:/usr/share/java/substance.jar +export CLASSPATH=/usr/share/java/commons-httpclient.jar:/usr/share/java/commons-logging.jar:/usr/share/java/commons-codec.jar:/usr/share/java/substance.jar:/usr/share/java/laf-widget.jar %: dh --with javahelper $@ -- triplea packaging ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] triplea packaging branch, master, updated. debian/1.3.2.2-1-2-gd57c0fa
The following commit has been merged in the master branch: commit d57c0faf91d3ee187be769cdb028ad67fe03f97a Author: Scott Howard show...@debian.org Date: Mon Nov 14 21:56:15 2011 -0500 added depends on imagemagick for converting pngs diff --git a/debian/control b/debian/control index 6a27a44..80aa928 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: Debian Java Maintainers pkg-java-maintain...@lists.alioth.debian.or Uploaders: Scott Howard show...@debian.org Build-Depends: debhelper (= 7.0.50~), default-jdk, javahelper (= 0.37), ant, libcommons-httpclient-java, libcommons-logging-java, - libcommons-codec-java, junit + libcommons-codec-java, junit, imagemagick Standards-Version: 3.9.2 Homepage: http://triplea.sourceforge.net Vcs-Git: git://anonscm.debian.org/pkg-java/triplea.git -- triplea packaging ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] triplea packaging annotated tag, debian/1.3.2.2-2, created. debian/1.3.2.2-2
The annotated tag, debian/1.3.2.2-2 has been created at 5cad15f3b5abb209f9a578995fd12bb3b7355b00 (tag) tagging d57c0faf91d3ee187be769cdb028ad67fe03f97a (commit) replaces debian/1.3.2.2-1 tagged by Scott Howard on Mon Nov 14 22:00:51 2011 -0500 - Shortlog Debian release 1.3.2.2-2 Scott Howard (2): added set look and feel support added depends on imagemagick for converting pngs --- -- triplea packaging ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] triplea packaging annotated tag, debian/1.3.2.2-1, deleted. upstream/1.3.2.2-6-g7df6ee8
The annotated tag, debian/1.3.2.2-1 has been deleted was 59b1c62f8b2dc7b46268a5fdcc11f55fcf353774 --- tag debian/1.3.2.2-1 Debian release 1.3.2.2-1 7df6ee8f0f30d9c8263bae5a79023e77f9154bde building for release --- -- triplea packaging ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] triplea packaging branch, master, updated. upstream/1.3.2.2-7-gc55b20e
The following commit has been merged in the master branch: commit c55b20e7b71d175f4f93bef74c13ba0f1089506b Author: Scott Howard show...@debian.org Date: Sun Nov 13 12:59:50 2011 -0500 added more copyrights, cleaned formating of manpages diff --git a/debian/copyright b/debian/copyright index 0401fc6..6995f3c 100644 --- a/debian/copyright +++ b/debian/copyright @@ -9,6 +9,38 @@ Copyright: Copyright 2002-2011 Sean Bridges Copyright 2009-2011 veqryn 2498536@sourceforge License: GPL-2+ +Files: src/games/strategy/engine/random/MersenneTwister.java +Copyright: Copyright 1993 Michael Lecuyer + Copyright 2003-2004 Sean Luke +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + 3. Neither the name of the copyright owners, their employers, nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNERS OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +Files: src/games/strategy/util/ClassLoaderUtil.java +Copyright: Copyright 1997-2007 Sun Microsystems, Inc. +License: GPL-2 or CDDL + Files: debian/* Copyright: Copyright 2011 Scott Howard show...@debian.org License: GPL-2+ @@ -510,3 +542,404 @@ License: GPL-2+ On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. + +License: GPL-2 + 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 2 of the License only. + . + 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. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + +License: CDDL + 1. Definitions. + . + 1.1. Contributor means each individual or entity that + creates or contributes to the creation of Modifications. + . + 1.2. Contributor Version means the combination of the + Original Software, prior Modifications used by a + Contributor (if any), and the Modifications made by that + particular Contributor. + . + 1.3. Covered Software means (a) the Original Software, or + (b) Modifications, or (c) the combination of files + containing Original Software with files containing + Modifications, in each case including portions thereof. + . + 1.4. Executable means the Covered Software in any form + other than Source Code. + . + 1.5. Initial Developer means the individual or entity + that first makes Original Software available under this + License. + . + 1.6. Larger Work means a work which combines Covered + Software or portions thereof with code not governed by the + terms of this License. + . + 1.7. License means this document. + . + 1.8. Licensable means having the right to grant, to the + maximum extent possible, whether at the time of the initial + grant or subsequently acquired, any and all of the rights + conveyed herein. + . + 1.9. Modifications means the Source Code and Executable + form of any of the following: + . + A. Any file that results from an addition to, + deletion from or modification of the contents of a + file containing Original Software or previous + Modifications; + . + B. Any new file that contains any part of the + Original Software
[SCM] triplea packaging annotated tag, debian/1.3.2.2-1, created. debian/1.3.2.2-1
The annotated tag, debian/1.3.2.2-1 has been created at 3252ce991264337fc598dbde1851cd829fbc5509 (tag) tagging c55b20e7b71d175f4f93bef74c13ba0f1089506b (commit) replaces upstream/1.3.2.2 tagged by Scott Howard on Sun Nov 13 13:05:15 2011 -0500 - Shortlog Debian release 1.3.2.2-1 Scott Howard (7): Imported Debian patch 1.3.2.2-1 added .gitignore added more packaging files lintian fixing, added .desktop moved to debian java team maintenance building for release added more copyrights, cleaned formating of manpages --- -- triplea packaging ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] triplea packaging annotated tag, debian/1.3.2.2-1, deleted. upstream/1.3.2.2-1-g4170ba6
The annotated tag, debian/1.3.2.2-1 has been deleted was c9b825264117ef415a242ee20caa8bf6088775f3 --- tag debian/1.3.2.2-1 Debian release 1.3.2.2-1 4170ba61f28130f7a172f8fe86431bf3b5ee1998 Imported Debian patch 1.3.2.2-1 --- -- triplea packaging ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] triplea packaging branch, master, updated. upstream/1.3.2.2-3-g06fd104
The following commit has been merged in the master branch: commit 06fd104c29bd443f9f82ad788787aad27c8f8899 Author: Scott Howard show...@debian.org Date: Fri Nov 11 10:06:18 2011 -0500 added more packaging files diff --git a/debian/clean b/debian/clean new file mode 100644 index 000..fcfc504 --- /dev/null +++ b/debian/clean @@ -0,0 +1,3 @@ +triplea +triplea-server +debian/triplea.xpm diff --git a/debian/control b/debian/control index 16ec308..153051c 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Scott Howard show...@debian.org Build-Depends: debhelper (= 7.0.50~), default-jdk, javahelper (= 0.37), ant, libcommons-httpclient-java, libcommons-logging-java, - libcommons-codec-java, substance, junit + libcommons-codec-java, substance, junit, imagemagick Standards-Version: 3.9.2 Homepage: http://triplea.sourceforge.net @@ -12,7 +12,7 @@ Package: triplea Architecture: all Depends: ${java:Depends}, ${misc:Depends} Recommends: ${java:Recommends} -Description: World War II turn based strategy game +Description: Turn based strategy game TripleA is a turn based strategy game. TripleA comes with multiple games and over 100 more games can be downloaded from the user community. Supports single player vs AI, hot-seat, Play by Email, diff --git a/debian/copyright b/debian/copyright index 6d23bbd..0401fc6 100644 --- a/debian/copyright +++ b/debian/copyright @@ -395,7 +395,7 @@ License: Sun Public License 1.0 which have been validly granted by You or any distributor hereunder prior to termination shall survive termination. . -9. LIMITATION OF LIABILITY. + 9. LIMITATION OF LIABILITY. . UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL @@ -412,7 +412,7 @@ License: Sun Public License 1.0 EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. . -10. U.S. GOVERNMENT END USERS. + 10. U.S. GOVERNMENT END USERS. . The Covered Code is a commercial item, as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of commercial computer software @@ -422,7 +422,7 @@ License: Sun Public License 1.0 U.S. Government End Users acquire Covered Code with only those rights set forth herein. . -11. MISCELLANEOUS. + 11. MISCELLANEOUS. . This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be @@ -443,7 +443,7 @@ License: Sun Public License 1.0 shall be construed against the drafter shall not apply to this License. . -12. RESPONSIBILITY FOR CLAIMS. + 12. RESPONSIBILITY FOR CLAIMS. . As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, @@ -452,7 +452,7 @@ License: Sun Public License 1.0 responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability. . -13. MULTIPLE-LICENSED CODE. + 13. MULTIPLE-LICENSED CODE. . Initial Developer may designate portions of the Covered Code as ?Multiple-Licensed?. ?Multiple-Licensed? means that the Initial diff --git a/debian/rules b/debian/rules index af4fad2..ee5fbe0 100755 --- a/debian/rules +++ b/debian/rules @@ -14,5 +14,25 @@ override_dh_install: dh_install -rm triplea-server triplea +override_dh_clean: + find debian -name *.png -delete + dh_clean + +override_dh_installchangelogs: + dh_installchangelogs changelog.txt + +override_dh_auto_configure: + dh_auto_configure + convert icons/triplea_icon.png -resize 48x48 debian/icons/48x48/apps/triplea.png + convert icons/triplea_icon.png -resize 64x64 debian/icons/64x64/apps/triplea.png + convert icons/triplea_icon.png -resize 72x72 debian/icons/72x72/apps/triplea.png + convert icons/triplea_icon.png -resize 96x96 debian/icons/96x96/apps/triplea.png + convert icons/triplea_icon.png -resize 128x128 debian/icons/128x128/apps/triplea.png + convert icons/triplea_icon.png -resize 192x192 debian/icons/192x192/apps/triplea.png + cp icons/triplea_icon.png debian/icons/256x256/apps/triplea.png + convert icons/triplea_icon.png -resize 32x32 debian/triplea.xpm + + + get-orig-source: uscan --rename --repack --download-current-version diff --git a/debian/triplea-server.6 b/debian/triplea-server.6 new file mode 100644 index 000..649c1cf --- /dev/null +++ b/debian/triplea-server.6 @@ -0,0 +1,14 @@ +.\ Manpage for triplea-server +.TH TRIPLEA-SERVER 6 11 Nov 2011 +.SH NAME +triplea-server \- server for turn based strategy game +.SH SYNOPSIS +triplea-server +.SH DESCRIPTION +TripleA is a turn based strategy game. TripleA comes
[SCM] triplea packaging branch, master, updated. upstream/1.3.2.2-4-g3ea4e49
The following commit has been merged in the master branch: commit 3ea4e49bdda3785b9231f7e7f36abc103b693775 Author: Scott Howard show...@debian.org Date: Fri Nov 11 13:02:53 2011 -0500 lintian fixing, added .desktop diff --git a/debian/changelog b/debian/changelog index 95e..3ee4dcd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ triplea (1.3.2.2-1) UNRELEASED; urgency=low - * Initial release. (Closes: #XX) + * Initial release. (Closes: #648444) (LP: #126069) - -- Scott Howard show...@debian.org Thu, 10 Nov 2011 23:22:41 -0500 + -- Scott Howard show...@debian.org Fri, 11 Nov 2011 11:36:42 -0500 diff --git a/debian/rules b/debian/rules index ee5fbe0..d5b133f 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f +#export DH_VERBOSE=1 + export JAVA_HOME=/usr/lib/jvm/default-java # Put depended upon jars in here @@ -18,6 +20,9 @@ override_dh_clean: find debian -name *.png -delete dh_clean +override_jh_depends: + jh_depends -j + override_dh_installchangelogs: dh_installchangelogs changelog.txt diff --git a/debian/triplea.desktop b/debian/triplea.desktop index b0f7f24..82adbe0 100644 --- a/debian/triplea.desktop +++ b/debian/triplea.desktop @@ -2,7 +2,7 @@ Version=1.0 Type=Application Name=TripleA -Comment=Turn based strategy war game +Comment=Turn based strategy game TryExec=triplea Exec=triplea Icon=triplea diff --git a/debian/triplea.doc-base b/debian/triplea.doc-base new file mode 100644 index 000..4ce1822 --- /dev/null +++ b/debian/triplea.doc-base @@ -0,0 +1,9 @@ +Document: triplea +Title: Gentoo Manual +Author: Iron Cross, Ali Ibrahim, Naiby, Sean Bridges +Abstract: Readme and manual for TripleA +Section: Games/Strategy + +Format: HTML +Index: /usr/share/doc/triplea/readme.html +Files: /usr/share/doc/triplea/doc/* -- triplea packaging ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] triplea packaging branch, master, updated. upstream/1.3.2.2-5-g1937398
The following commit has been merged in the master branch: commit 1937398410323c73a9162b0c352b4ff9f6376d81 Author: Scott Howard show...@debian.org Date: Fri Nov 11 17:18:32 2011 -0500 moved to debian java team maintenance diff --git a/debian/control b/debian/control index 153051c..fe7e588 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,8 @@ Source: triplea Section: games Priority: optional -Maintainer: Scott Howard show...@debian.org +Maintainer: Debian Java Maintainers pkg-java-maintainers@lists.alioth.debian.org +Uploaders: Scott Howard show...@debian.org Build-Depends: debhelper (= 7.0.50~), default-jdk, javahelper (= 0.37), ant, libcommons-httpclient-java, libcommons-logging-java, libcommons-codec-java, substance, junit, imagemagick -- triplea packaging ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] triplea packaging branch, master, updated. upstream/1.3.2.2-6-g7df6ee8
The following commit has been merged in the master branch: commit 7df6ee8f0f30d9c8263bae5a79023e77f9154bde Author: Scott Howard show...@debian.org Date: Fri Nov 11 21:42:24 2011 -0500 building for release diff --git a/debian/changelog b/debian/changelog index 3ee4dcd..2d63bfb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ -triplea (1.3.2.2-1) UNRELEASED; urgency=low +triplea (1.3.2.2-1) unstable; urgency=low * Initial release. (Closes: #648444) (LP: #126069) - -- Scott Howard show...@debian.org Fri, 11 Nov 2011 11:36:42 -0500 + -- Scott Howard show...@debian.org Fri, 11 Nov 2011 21:40:11 -0500 diff --git a/debian/control b/debian/control index fe7e588..396bd22 100644 --- a/debian/control +++ b/debian/control @@ -8,6 +8,8 @@ Build-Depends: debhelper (= 7.0.50~), default-jdk, javahelper (= 0.37), libcommons-codec-java, substance, junit, imagemagick Standards-Version: 3.9.2 Homepage: http://triplea.sourceforge.net +Vcs-Git: git://anonscm.debian.org/pkg-java/triplea.git +Vcs-browser: http://anonscm.debian.org/gitweb/?p=pkg-java/triplea.git Package: triplea Architecture: all -- triplea packaging ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] triplea packaging annotated tag, debian/1.3.2.2-1, created. debian/1.3.2.2-1
The annotated tag, debian/1.3.2.2-1 has been created at 59b1c62f8b2dc7b46268a5fdcc11f55fcf353774 (tag) tagging 7df6ee8f0f30d9c8263bae5a79023e77f9154bde (commit) replaces upstream/1.3.2.2 tagged by Scott Howard on Fri Nov 11 21:47:09 2011 -0500 - Shortlog Debian release 1.3.2.2-1 Scott Howard (6): Imported Debian patch 1.3.2.2-1 added .gitignore added more packaging files lintian fixing, added .desktop moved to debian java team maintenance building for release --- -- triplea packaging ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] triplea packaging branch, master, created. c4505d00b973fcf1454c1ff7a5a41fb9ffef179e
The branch, master has been created at c4505d00b973fcf1454c1ff7a5a41fb9ffef179e (commit) - Shortlog commit c4505d00b973fcf1454c1ff7a5a41fb9ffef179e Author: Scott Howard show...@debian.org Date: Thu Nov 10 23:36:18 2011 -0500 added .gitignore commit 4170ba61f28130f7a172f8fe86431bf3b5ee1998 Author: Scott Howard show...@debian.org Date: Thu Nov 10 23:22:41 2011 -0500 Imported Debian patch 1.3.2.2-1 --- -- triplea packaging ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] triplea packaging branch, upstream, created. 05bc64af07e64fff5d72e76e9d72d31b9d5985de
The branch, upstream has been created at 05bc64af07e64fff5d72e76e9d72d31b9d5985de (commit) - Shortlog --- -- triplea packaging ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] triplea packaging branch, pristine-tar, created. f38ccc2c699be7a3a28cbaa2e9a463e471e4ff16
The branch, pristine-tar has been created at f38ccc2c699be7a3a28cbaa2e9a463e471e4ff16 (commit) - Shortlog commit f38ccc2c699be7a3a28cbaa2e9a463e471e4ff16 Author: Scott Howard show...@debian.org Date: Thu Nov 10 23:30:58 2011 -0500 pristine-tar data for triplea_1.3.2.2.orig.tar.gz --- -- triplea packaging ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] triplea packaging annotated tag, debian/1.3.2.2-1, created. debian/1.3.2.2-1
The annotated tag, debian/1.3.2.2-1 has been created at c9b825264117ef415a242ee20caa8bf6088775f3 (tag) tagging 4170ba61f28130f7a172f8fe86431bf3b5ee1998 (commit) replaces upstream/1.3.2.2 tagged by Scott Howard on Thu Nov 10 23:30:59 2011 -0500 - Shortlog Debian release 1.3.2.2-1 Scott Howard (1): Imported Debian patch 1.3.2.2-1 --- -- triplea packaging ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] triplea packaging annotated tag, upstream/1.3.2.2, created. upstream/1.3.2.2
The annotated tag, upstream/1.3.2.2 has been created at 8aa87734ac251bbeee442185551d7eb83b13d05e (tag) tagging 05bc64af07e64fff5d72e76e9d72d31b9d5985de (commit) tagged by Scott Howard on Thu Nov 10 23:30:44 2011 -0500 - Shortlog Upstream version 1.3.2.2 Scott Howard (1): Imported Upstream version 1.3.2.2 --- -- triplea packaging ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] Packaging for rxtx branch, master, updated. debian/2.2pre2-9-4-g17657b9
The following commit has been merged in the master branch: commit 17657b9cf9f85423fdaa501e5d78ca444c02aec2 Author: Scott Howard show...@debian.org Date: Mon Oct 31 03:06:00 2011 -0400 building for release diff --git a/debian/changelog b/debian/changelog index 100b8e9..20dd558 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -rxtx (2.2pre2-10) UNRELEASED; urgency=low +rxtx (2.2pre2-10) unstable; urgency=low * debian/patches/multiple_property_dirs.patch - handles the case where the java.ext.dirs system property contains @@ -6,7 +6,7 @@ rxtx (2.2pre2-10) UNRELEASED; urgency=low * Added librxtx-java-dbg package and added uninstall target (Closes: #646356) - -- Scott Howard show...@debian.org Mon, 31 Oct 2011 02:00:03 -0400 + -- Scott Howard show...@debian.org Mon, 31 Oct 2011 03:04:52 -0400 rxtx (2.2pre2-9) unstable; urgency=low -- Packaging for rxtx ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] Packaging for rxtx branch, master, updated. debian/2.2pre2-9-4-g17657b9
The following commit has been merged in the master branch: commit d2efc459c4d3ce1c46474d7f4361299a81f0275c Author: Scott Howard show...@debian.org Date: Mon Oct 31 03:04:23 2011 -0400 Added librxtx-java-dbg package and added uninstall target (Closes: #646356) diff --git a/debian/changelog b/debian/changelog index 1350400..100b8e9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,9 +3,10 @@ rxtx (2.2pre2-10) UNRELEASED; urgency=low * debian/patches/multiple_property_dirs.patch - handles the case where the java.ext.dirs system property contains more than one directory. (Closes: #646069) Thanks Philip Ashmore. - * Added librxtx-java-dbg package + * Added librxtx-java-dbg package and added uninstall target +(Closes: #646356) - -- Scott Howard show...@debian.org Sun, 30 Oct 2011 09:05:27 -0400 + -- Scott Howard show...@debian.org Mon, 31 Oct 2011 02:00:03 -0400 rxtx (2.2pre2-9) unstable; urgency=low diff --git a/debian/control b/debian/control index 2ca9d21..513efdd 100644 --- a/debian/control +++ b/debian/control @@ -11,7 +11,6 @@ Homepage: http://www.rxtx.org Vcs-Git: git://git.debian.org/pkg-java/rxtx.git Vcs-Browser: http://git.debian.org/?p=pkg-java/rxtx.git - Package: librxtx-java Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${java:Depends} @@ -19,18 +18,18 @@ Recommends: ${java:Recommends} Provides: lib-rxtx-java Conflicts: lib-rxtx-java Description: Full Java CommAPI implementation - RXTX is a full implementation of the Java CommAPI from Sun. It contains - native libraries providing serial and parallel communication for the - Java Development Toolkit. + RXTX is a full implementation of the Java CommAPI from Sun. It + contains native libraries providing serial and parallel + communication for the Java Development Toolkit. Package: librxtx-java-dbg Architecture: any Section: debug -Priority:extra +Priority: extra Depends: ${shlibs:Depends}, ${misc:Depends}, librxtx-java (= ${binary:Version}) Description: Full Java CommAPI implementation, Debugging Symbols - RXTX is a full implementation of the Java CommAPI from Sun. It contains - native libraries providing serial and parallel communication for the - Java Development Toolkit. + RXTX is a full implementation of the Java CommAPI from Sun. It + contains native libraries providing serial and parallel + communication for the Java Development Toolkit. . This package contains the debugging symbols for librxtx-java. diff --git a/debian/librxtx-java.dirs b/debian/librxtx-java.dirs index d462b3d..956d28f 100644 --- a/debian/librxtx-java.dirs +++ b/debian/librxtx-java.dirs @@ -1 +1,2 @@ usr/lib/jni +usr/share/java diff --git a/debian/patches/original_debian_changes.patch b/debian/patches/original_debian_changes.patch index dd5fba5..32e9913 100644 --- a/debian/patches/original_debian_changes.patch +++ b/debian/patches/original_debian_changes.patch @@ -3,8 +3,8 @@ Origin: Mario Joussen jous...@debian.org, edited by Scott Howard showard314@g Index: rxtx/src/RS485Imp.c === rxtx.orig/src/RS485Imp.c 2011-02-06 12:48:09.014571293 -0500 -+++ rxtx/src/RS485Imp.c2011-02-06 12:48:09.074567537 -0500 +--- rxtx.orig/src/RS485Imp.c 2011-10-31 02:58:18.280985274 -0400 rxtx/src/RS485Imp.c2011-10-31 02:58:21.300985346 -0400 @@ -127,6 +127,7 @@ #endif /* !__FreeBSD_kernel__ */ #if defined(__linux__) @@ -23,9 +23,9 @@ Index: rxtx/src/RS485Imp.c } Index: rxtx/src/RawImp.c === rxtx.orig/src/RawImp.c 2011-02-06 12:48:09.034570041 -0500 -+++ rxtx/src/RawImp.c 2011-02-06 12:48:09.074567537 -0500 -@@ -280,6 +280,7 @@ +--- rxtx.orig/src/RawImp.c 2011-10-31 02:58:18.280985274 -0400 rxtx/src/RawImp.c 2011-10-31 02:58:21.300985346 -0400 +@@ -272,6 +272,7 @@ #endif /* !__FreeBSD_kernel__ */ #if defined(__linux__) /* Lets let people who upgraded kernels know they may have problems */ @@ -33,7 +33,7 @@ Index: rxtx/src/RawImp.c if (uname (name) == -1) { fprintf(stderr,RXTX WARNING: cannot get system name\n); -@@ -290,6 +291,7 @@ +@@ -282,6 +283,7 @@ fprintf(stderr, \n\n\nRXTX WARNING: This library was compiled to run with OS release %s and you are currently running OS release %s. In some cases this can be a problem. Try recompiling RXTX if you notice strange behavior. If you just compiled RXTX make sure /usr/include/linux is a symbolic link to the include files that came with the kernel source and not an older copy.\n\n\npress enter to continue\n,UTS_RELEASE,name.release); getchar(); } @@ -43,8 +43,8 @@ Index: rxtx/src/RawImp.c } Index: rxtx/src/SerialImp.c === rxtx.orig/src/SerialImp.c 2011-02-06 12:48:09.014571293 -0500 -+++ rxtx/src/SerialImp.c
[SCM] Packaging for rxtx annotated tag, debian/2.2pre2-10, created. debian/2.2pre2-10
The annotated tag, debian/2.2pre2-10 has been created at 1bafa5378310f45154ea5da8220709ba7ea75c2a (tag) tagging 17657b9cf9f85423fdaa501e5d78ca444c02aec2 (commit) replaces debian/2.2pre2-9 tagged by Scott Howard on Mon Oct 31 03:09:09 2011 -0400 - Shortlog Debian release 2.2pre2-10 Scott Howard (4): handles the case where the java.ext.dirs system property contains more than one directory. (Closes: #646069) Thanks Philip Ashmore. Added librxtx-java-dbg package Added librxtx-java-dbg package and added uninstall target (Closes: #646356) building for release --- -- Packaging for rxtx ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] Packaging for rxtx branch, master, updated. debian/2.2pre2-9-2-g438de20
The following commit has been merged in the master branch: commit 438de204ca82b946306660e088292b92f8b3c677 Author: Scott Howard show...@debian.org Date: Sun Oct 30 12:09:06 2011 -0400 Added librxtx-java-dbg package diff --git a/debian/changelog b/debian/changelog index 21f5328..1350400 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,9 @@ rxtx (2.2pre2-10) UNRELEASED; urgency=low * debian/patches/multiple_property_dirs.patch - handles the case where the java.ext.dirs system property contains more than one directory. (Closes: #646069) Thanks Philip Ashmore. + * Added librxtx-java-dbg package - -- Scott Howard show...@debian.org Fri, 28 Oct 2011 13:07:30 -0400 + -- Scott Howard show...@debian.org Sun, 30 Oct 2011 09:05:27 -0400 rxtx (2.2pre2-9) unstable; urgency=low diff --git a/debian/control b/debian/control index 619de53..2ca9d21 100644 --- a/debian/control +++ b/debian/control @@ -2,11 +2,11 @@ Source: rxtx Section: java Priority: optional Maintainer: Debian Java maintainers pkg-java-maintainers@lists.alioth.debian.org -Uploaders: Mario Joussen jous...@debian.org, Scott Howard show...@debian.org +Uploaders: Scott Howard show...@debian.org DM-Upload-Allowed: yes Build-Depends: debhelper (= 8), libtool, javahelper, default-jdk, dh-autoreconf, autotools-dev -Standards-Version: 3.9.1 +Standards-Version: 3.9.2 Homepage: http://www.rxtx.org Vcs-Git: git://git.debian.org/pkg-java/rxtx.git Vcs-Browser: http://git.debian.org/?p=pkg-java/rxtx.git @@ -22,3 +22,15 @@ Description: Full Java CommAPI implementation RXTX is a full implementation of the Java CommAPI from Sun. It contains native libraries providing serial and parallel communication for the Java Development Toolkit. + +Package: librxtx-java-dbg +Architecture: any +Section: debug +Priority:extra +Depends: ${shlibs:Depends}, ${misc:Depends}, librxtx-java (= ${binary:Version}) +Description: Full Java CommAPI implementation, Debugging Symbols + RXTX is a full implementation of the Java CommAPI from Sun. It contains + native libraries providing serial and parallel communication for the + Java Development Toolkit. + . + This package contains the debugging symbols for librxtx-java. diff --git a/debian/rules b/debian/rules index 8def587..0d6adc8 100755 --- a/debian/rules +++ b/debian/rules @@ -16,3 +16,6 @@ override_dh_install: override_dh_installchangelogs: dh_installchangelogs ChangeLog + +override_dh_strip: + dh_strip --dbg-package=librxtx-java-dbg -- Packaging for rxtx ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] Packaging for rxtx branch, master, updated. debian/2.2pre2-7-4-gb1c1bdd
The following commit has been merged in the master branch: commit b1c1bdd511077aea5992bcf768e3ba8fd9b23db6 Author: Scott Howard show...@debian.org Date: Tue Oct 4 18:43:21 2011 -0400 removed .la files diff --git a/debian/changelog b/debian/changelog index 8faa476..abf7435 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +rxtx (2.2pre2-9) unstable; urgency=low + + * debian/rules: dh_install -X.la for removal of *.la from libraries + + -- Scott Howard show...@debian.org Tue, 04 Oct 2011 18:24:09 -0400 + rxtx (2.2pre2-8) UNRELEASED; urgency=low * Updated kfreebsd_port.patch to follow FHS diff --git a/debian/rules b/debian/rules index 62dc799..8def587 100755 --- a/debian/rules +++ b/debian/rules @@ -10,5 +10,9 @@ override_dh_auto_build: $(MAKE) RXTX_PATH=/usr/lib/jni $(MAKE) docs +override_dh_install: + find . -name *.la -delete + dh_install + override_dh_installchangelogs: dh_installchangelogs ChangeLog -- Packaging for rxtx ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] Packaging for rxtx annotated tag, debian/2.2pre2-9, created. debian/2.2pre2-9
The annotated tag, debian/2.2pre2-9 has been created at e2f31dbc8696f3f410f9f8f13d18d98aaf321d0b (tag) tagging b1c1bdd511077aea5992bcf768e3ba8fd9b23db6 (commit) replaces debian/2.2pre2-7 tagged by Scott Howard on Tue Oct 4 18:43:33 2011 -0400 - Shortlog Debian release 2.2pre2-9 Scott Howard (4): Updated kfreebsd_port.patch to follow FHS replaced debian_porting.patch with sys_io_h_check.patch to use AC_CHECK_HEADERS to determine if sys/io.h is on a system. Thanks to Nobuhiro Iwamatsu. (Closes: #609152) port_to_hurd.patch defines that HURD uses the FHS. removed .la files --- -- Packaging for rxtx ___ pkg-java-commits mailing list pkg-java-comm...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits
[SCM] Packaging for rxtx branch, master, updated. debian/2.2pre2-9-1-gdbac57b
The following commit has been merged in the master branch: commit dbac57b4ea07c046941c86f089d1140c58df14a9 Author: Scott Howard show...@debian.org Date: Fri Oct 28 13:09:03 2011 -0400 handles the case where the java.ext.dirs system property contains more than one directory. (Closes: #646069) Thanks Philip Ashmore. diff --git a/debian/changelog b/debian/changelog index abf7435..21f5328 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +rxtx (2.2pre2-10) UNRELEASED; urgency=low + + * debian/patches/multiple_property_dirs.patch +- handles the case where the java.ext.dirs system property contains + more than one directory. (Closes: #646069) Thanks Philip Ashmore. + + -- Scott Howard show...@debian.org Fri, 28 Oct 2011 13:07:30 -0400 + rxtx (2.2pre2-9) unstable; urgency=low * debian/rules: dh_install -X.la for removal of *.la from libraries diff --git a/debian/patches/multiple_property_dirs.patch b/debian/patches/multiple_property_dirs.patch new file mode 100644 index 000..6664966 --- /dev/null +++ b/debian/patches/multiple_property_dirs.patch @@ -0,0 +1,168 @@ +Description: Handles the case when java.ext.dirs system property contains + more than one directory. +Author: Philip Ashmore cont...@philipashmore.com +Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646069 +Index: rxtx/src/gnu/io/RXTXCommDriver.java +=== +--- rxtx.orig/src/gnu/io/RXTXCommDriver.java 2011-10-28 13:02:43.046717064 -0400 rxtx/src/gnu/io/RXTXCommDriver.java2011-10-28 13:02:43.186717068 -0400 +@@ -356,7 +356,7 @@ +First try to register ports specified in the properties +file. If that doesn't exist, then scan for ports. + */ +- for (int PortType=CommPortIdentifier.PORT_SERIAL;PortType=CommPortIdentifier.PORT_PARALLEL;PortType++) { ++ for (int PortType=CommPortIdentifier.PORT_SERIAL; PortType=CommPortIdentifier.PORT_PARALLEL; PortType++) { + if (!registerSpecifiedPorts(PortType)) { + if (!registerKnownPorts(PortType)) { + registerScannedPorts(PortType); +@@ -375,10 +375,18 @@ + while (tok.hasMoreElements()) + { + String PortName = tok.nextToken(); +- +- if (testRead(PortName, PortType)) ++ if(debug) ++ System.out.println(Trying + PortName + .); ++ if (testRead(PortName, PortType)) { + CommPortIdentifier.addPortName(PortName, + PortType, this); ++ if(debug) ++ System.out.println(Success: Read from + PortName + .); ++ }else{ ++ if(debug) ++ System.out.println(Fail: Cannot read from + PortName ++ + .); ++ } + } + } + +@@ -402,26 +410,39 @@ + private boolean registerSpecifiedPorts(int PortType) + { + String val = null; +- Properties origp = System.getProperties();//save system properties +- +- try +- { ++ Properties origp = System.getProperties(); // save system properties + +- String ext_dir=System.getProperty(java.ext.dirs)+System.getProperty(file.separator); +- FileInputStream rxtx_prop=new FileInputStream(ext_dir+gnu.io.rxtx.properties); +- Properties p=new Properties(); +- p.load(rxtx_prop); +- System.setProperties(p); +- for (Iterator it = p.keySet().iterator(); it.hasNext();) { +-String key = (String) it.next(); +-System.setProperty(key, p.getProperty(key)); +- } +- }catch(Exception e){ +- if (debug){ +- System.out.println(The file: gnu.io.rxtx.properties doesn't exists.); +- System.out.println(e.toString()); +- }//end if ++ String [] ext_dirs = System.getProperty(java.ext.dirs).split(:); ++ String fs = System.getProperty(file.separator); ++ for (int n = 0; n ext_dirs.length; ++n) { ++ String ext_file = ?; ++ try{ ++ ext_file = ext_dirs[n] + fs + gnu.io.rxtx.properties; ++ FileInputStream rxtx_prop = new FileInputStream(ext_file); ++ Properties p=new Properties(); ++ p.load(rxtx_prop); ++ System.setProperties(p
Bug#646069: Fwd: Bug#646069: Debian and AutoMake
Below is a comment from Philip -- Forwarded message -- From: Philip Ashmore cont...@philipashmore.com Date: Sun, Oct 23, 2011 at 12:17 PM Subject: Re: Bug#646069: Debian and AutoMake To: debian-devel debian-de...@lists.debian.org Cc: Scott Howard showard...@gmail.com Hi there. This email isn't a criticism of rxtx - thanks Scott for accepting my patch. It's more of a starting point for issues with development on Debian and other distributions - see the last comment. On 23/10/11 15:08, Scott Howard wrote: clone 646069 -1 retitle -1 rxtx: make -dbg package for rxtx retitle 646069 rxtx: fails when java.ext.dirs system property contains more than one directory rxtx doesn't fail, it just fails to read any gnu.io.rxtx.properties file that may exist in one of these directories because the filename is constructed from the directory names joined with :. I created a gnu.io.rxtx.properties file in one of the directories but I don't know what would happen (Java-wise) if there were more than one of these files - I haven't tested it. It will work without finding any gnu.io.rxtx.properties file. severity -1 wishlist thanks Thanks for the patch, great work. Separated this into two bugs 1) I'll apply the patch and forward it upstream. RXTX really isn't maintained much anymore upstream, but I'll at least share it on the mailing list. 2) We'll build with make -DDEBUG_VERBOSE and make a -dbg package for gdb. A foo-dbg package is one with debugging symbols for package foo. Maybe rxtx-verbose would be a better name, with rxtx - conflicts - rxtx-verbose as an install option. As for the make uninstall, autotools does a poor job with uninstall targets [1] and upstream has a custom install target that just puts the RXTXcomm.jar into the same directory as the jvm and libtool install the native libraries. The Debian source package really isn't intended to be used to install outside of the debian packaging system. That's a shame if it's the case in general. I certainly wouldn't have considered using dpkg-buildpackage given the turnaround I wanted with the source code changes. fakeroot debian/rules binary didn't work either. I've got some packages in SourceForge. You can get them via http://sourceforge.net/users/philipashmore You can build Debian/Ubuntu packages with make debian You can install/uninstall them with make install make uninstall using the makefile in the package root that wraps automake. You will need to use sudo if you want to install them in a system directory, like /usr or /usr/local. If you've git-cloned a package repository you can also do things like make git branch=a.b.c distcheck make git tag=a.b.c release debian The tag variant is for branches you tag locally. If you want to build a package in a sandbox along with all its dependent v3c packages, you git clone the v3c packages into some directory writeable by you, then you can use v3c's v3c-tryout script v3c-tryout pkg-name-version sandbox-dir, as in ./v3c-tryout v3c-dcom-0.3.2-01 tryout-v3c-dcom and it will 1. git checkout the respective versions of the dependent packages as required by the version of the package you specified, into the sandbox dir. 2. build and install them to the sandbox dir in order. 3. create shell scripts to set up a (b/d)ash session inside the sandbox, to test the packages or run make check, mess with the sources, uninstall... to uninstall, just delete the .jar and glibtool --mode=uninstall $(RM) list_of_targetlib Cheers, Scott [1] http://sourceware.org/autobook/autobook/autobook_109.html I'd really like to see something like this adapted by Debian and other distributions to save developers from reinventing the wheel or discovering that the package doesn't adhere to published documentation. What do you think? Philip __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#646069: rxtx fails to read any gnu.io.rxtx.properties when java.ext.dirs system property contains more than one directory
Hello all, This was reported on Debian along with this patch, I wanted to share it here rxtx fails to read any gnu.io.rxtx.properties when java.ext.dirs system property contains more than one directory Patch to fix it is below. It hasn't been tested with what happens if you have multiple gnu.io.rxtx.properties files http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=rxtx-diff.patch;att=1;bug=646069 If you reply, please keep 646...@bugs.debian.org in the CC:. Cheers, Scott __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#609152: rxtx fixing, more archs TODO
Thanks alot, that's an elegant solution - better than upstreams! I have to tweak it a little, and will send it upstream once it's done. Notes for myself: --- rxtx-2.2pre2/configure.in 2011-02-22 10:28:52.0 +0900 +++ rxtx-2.2pre2/configure.in 2011-02-22 10:22:18.0 +0900 @@ -70,6 +70,7 @@ AC_CHECK_HEADERS(sys/file.h) AC_CHECK_HEADERS(sys/time.h) AC_CHECK_HEADERS(sys/signal.h) +AC_CHECK_HEADERS(sys/io.h) AC_CHECK_HEADERS(signal.h) AC_CHECK_HEADERS(termios.h) AC_CHECK_HEADERS(grp.h) --- rxtx-2.2pre2/Makefile.lcc 2002-04-06 03:21:56.0 +0900 +++ rxtx-2.2pre2/Makefile.lcc 2011-02-22 10:26:09.0 +0900 @@ -13,6 +13,7 @@ #define HAVE_SIGNAL_H #undef HAVE_SYS_FCNTL_H #undef HAVE_SYS_FILE_H +#define HAVE_SYS_IO_H #undef HAVE_SYS_SIGNAL_H #undef HAVE_TERMIOS_H #undef HAVE_SYS_TIME_H --- rxtx-2.2pre2/Makefile.mingw32 2008-11-28 06:13:20.0 +0900 +++ rxtx-2.2pre2/Makefile.mingw32 2011-02-22 10:26:43.0 +0900 @@ -191,6 +191,7 @@ echo #define HAVE_SIGNAL_H 1 config.h echo #define HAVE_SYS_FCNTL_H 1 config.h echo #define HAVE_SYS_FILE_H 1 config.h + echo #define HAVE_SYS_IO_H config.h echo #undef HAVE_SYS_SIGNAL_H config.h echo #undef HAVE_TERMIOS_H config.h --- rxtx-2.2pre2/Makefile.msvc 2008-11-28 06:13:20.0 +0900 +++ rxtx-2.2pre2/Makefile.msvc 2011-02-22 10:27:04.0 +0900 @@ -113,6 +113,7 @@ echo #define HAVE_SIGNAL_H config.h echo #undef HAVE_SYS_FCNTL_H config.h echo #undef HAVE_SYS_FILE_H config.h + echo #define HAVE_SYS_IO_H config.h echo #undef HAVE_SYS_SIGNAL_H config.h echo #undef HAVE_TERMIOS_H config.h echo #undef HAVE_SYS_TIME_H config.h and then both places that reference sys/io.h: #ifdef HAVE_SYS_IO_H #include sys/io.h #endif /* HAVE_SYS_IO_H */ __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#585089:
Fixed the FTBFS for not defining __freebsd_kernel__. New FTBFS: gcc -shared /build/buildd-rxtx_2.2pre2-5-kfreebsd-i386-z7JZih/rxtx-2.2pre2/i486-pc-kfreebsd-gnu/.libs/SerialImp.o /build/buildd-rxtx_2.2pre2-5-kfreebsd-i386-z7JZih/rxtx-2.2pre2/i486-pc-kfreebsd-gnu/.libs/fuserImp.o -lc_r -Wl,-soname -Wl,librxtxSerial-2.2pre1.so -o .libs/librxtxSerial-2.2pre1.so /usr/bin/ld: cannot find -lc_r -lc_r is removed [1] (try -lpthreads instead?). We are linking to it in [2]. We also need to fix target lib to be shared: 581 TARGETLIB=\$(target_triplet)/librxtxSerial.la \ 582 \$(target_triplet)/librxtxParallel.la I requested the build-deps to be installed on io.debian.net for porting [1] http://unix.derkeiler.com/Mailing-Lists/FreeBSD/arch/2005-10/0060.html [2] http://git.debian.org/?p=pkg-java/rxtx.git;a=blob;f=configure.in#l578 __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#585089: still not fixed
notfixed 585089 2.2pre2-4 thanks still not fixed...trying patch with: #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) [...] #endif http://glibc-bsd.alioth.debian.org/porting/PORTING __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#588379: using jh_depends when a .jar exists in one than one package
Thanks for the reply Processing is a java package which compiles java code, so it depends on the jdk. The package won't build unless tools.jar is explicitly in the classpath at build time (I'm not too familiar with that package, i work with arduino so I don't know what happens if tools.jar isn't in the classpath at runtime for processing). Arduino is a derivative of Processing which compiles C code, but is based on the Processing classes, and won't build unless tools.jar is explicitly in the classpath (spits out undefined class errors). tools.jar is apparently used when compiling code, that's why it's in the jdk and not in the jre [1,2]. However, java-propose-classpath on arduino.jar only sees symbols of three .jars: the arduino.jar itself, and two java library packages (not the jdk). Maybe we can use javahelper to define one classpath during build time and another for runtime? (I've tried but haven't found how to do it yet using jh_build and setting CLASSPATH and/or using .classpath, and I haven't tested if the package would even work - just a theory) I have a feeling that having a different classpath than the build time classpath isn't that good of an idea, especially when upstream's wrapper for launching the .jar [3] does the following: for LIB in \ java/lib/rt.jar \ java/lib/tools.jar \ lib/*.jar \ ; do CLASSPATH=${CLASSPATH}:${APPDIR}/${LIB} done export CLASSPATH We don't do that in debian, since CLASSPATH is defined before jh_build. This might be a really unique case, but I guess the quirk would be if tools.jar is found in the classpath to include either the openjdk OR sun jdk since the file exists in both and only one is installed during build time (the one in main). I'd understand if it's too much to change and maintain the change for the few java packages that would depend on tools.jar, I'll defer to your experience and opinion. [1] http://packages.debian.org/search?suite=sidarch=anymode=pathsearchon=contentskeywords=tools.jar [2] http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/solaris/jdkfiles.html [3] http://arduino.googlecode.com/svn/trunk/build/linux/dist/arduino __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#588379: using jh_depends when a .jar exists in one than one package
Package: javahelper Version: 0.31 Severity: wishlist When using jh_depends in the arduino package (and soon to be packaged processing-java package), jh_depends correctly identifies tools.jar and rt.jar to be from openjdk-6-jdk. However, those jars are also available in sun-java6-jdk. Users asked that the package depend on: openjdk-6-jdk | sun-java6-jdk. Would it be possible to have a quirk where if jh_depends finds jars from openjdk-6-jdk it replaces java:Depends with openjdk-6-jdk | sun-java6-jdk? Right now I'm not using the substitution variable and listing the packages individually so I can have Depends: openjdk-6-jdk | sun-java6-jdk __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#472053: Fwd: [Rxtx] gnu.io.RXTXPort discards exception silently if initialization fails
-- Forwarded message -- From: Kustaa Nyholm kustaa.nyh...@planmeca.com Date: Wed, Jun 23, 2010 at 1:38 AM Subject: Re: [Rxtx] gnu.io.RXTXPort discards exception silently if initialization fails To: r...@qbang.org r...@qbang.org I did change the code to try { z = new Zystem(); } catch ( Exception e ) { throw new Error(e.toString()); }; Is there a reason why this could/should not be: try { z = new Zystem(); } catch ( Throwable e ) { e.printStackTrace(System.err); }; ___ Rxtx mailing list r...@qbang.org http://mailman.qbang.org/mailman/listinfo/rxtx __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#472053: Fwd: [Rxtx] gnu.io.RXTXPort discards exception silently if initialization fails
-- Forwarded message -- From: Michael Erskine mse...@googlemail.com Date: Wed, Jun 23, 2010 at 4:17 AM Subject: Re: [Rxtx] gnu.io.RXTXPort discards exception silently if initialization fails To: r...@qbang.org r...@qbang.org On 23 June 2010 06:38, Kustaa Nyholm kustaa.nyh...@planmeca.com wrote: I did change the code to try { z = new Zystem(); } catch ( Exception e ) { throw new Error(e.toString()); }; Is there a reason why this could/should not be: try { z = new Zystem(); } catch ( Throwable e ) { e.printStackTrace(System.err); }; Or even just let the exception bubble up and kill whatever thread caused the class to load :) I vote for the removal of Zystem BTW! Regards, Michael Erskine. ___ Rxtx mailing list r...@qbang.org http://mailman.qbang.org/mailman/listinfo/rxtx __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#472053: Fwd: [Rxtx] gnu.io.RXTXPort discards exception silently if initialization fails
-- Forwarded message -- From: George H george@gmail.com Date: Wed, Jun 23, 2010 at 4:34 AM Subject: Re: [Rxtx] gnu.io.RXTXPort discards exception silently if initialization fails To: r...@qbang.org r...@qbang.org -- George H george@gmail.com On Wed, Jun 23, 2010 at 11:17 AM, Michael Erskine mse...@googlemail.com wrote: On 23 June 2010 06:38, Kustaa Nyholm kustaa.nyh...@planmeca.com wrote: I did change the code to try { z = new Zystem(); } catch ( Exception e ) { throw new Error(e.toString()); }; Is there a reason why this could/should not be: try { z = new Zystem(); } catch ( Throwable e ) { e.printStackTrace(System.err); }; Or even just let the exception bubble up and kill whatever thread caused the class to load :) I vote for the removal of Zystem BTW! Regards, Michael Erskine. I would prefer that an exception is thrown rather than the stack trace be printed. If anyone is using loggers then it would be useful to catch the exception and log it, rather than let it come out in the error stream where no one might look. ___ Rxtx mailing list r...@qbang.org http://mailman.qbang.org/mailman/listinfo/rxtx __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#472053: Fwd: [Rxtx] gnu.io.RXTXPort discards exception silently if initialization fails
-- Forwarded message -- From: Steffen DETTMER steffen.dett...@ingenico.com Date: Wed, Jun 23, 2010 at 5:28 AM Subject: Re: [Rxtx] gnu.io.RXTXPort discards exception silently if initialization fails To: r...@qbang.org * Kustaa Nyholm wrote on Wed, Jun 23, 2010 at 08:38 +0300: I did change the code to try { z = new Zystem(); } catch ( Exception e ) { throw new Error(e.toString()); }; Is there a reason why this could/should not be: try { z = new Zystem(); } catch ( Throwable e ) { e.printStackTrace(System.err); }; Is this intentionally not throwing the exception? Well, then it still would be discarded (althrough not neccesarily silently :)). BTW, I don't think System.err is a good idea. It is `statically initialized'? I think then this means it is unclear who the caller is and who could catch this exception. Wouldn't it be better to store the exception in a member and throw it when needing Zystem (e.g. in new or open)? oki, Steffen About Ingenico: Ingenico is a leading provider of payment solutions, with over 15 million terminals deployed in more than 125 countries. Its 2,850 employees worldwide support retailers, banks and service providers to optimize and secure their electronic payments solutions, develop their offer of services and increase their point of sales revenue. More information on http://www.ingenico.com/. This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. P Please consider the environment before printing this e-mail ___ Rxtx mailing list r...@qbang.org http://mailman.qbang.org/mailman/listinfo/rxtx __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#472053: Fwd: [Rxtx] gnu.io.RXTXPort discards exception silently if initialization fails
-- Forwarded message -- From: Kustaa Nyholm kustaa.nyh...@planmeca.com Date: Wed, Jun 23, 2010 at 5:55 AM Subject: Re: [Rxtx] gnu.io.RXTXPort discards exception silently if initialization fails To: r...@qbang.org r...@qbang.org Is there a reason why this could/should not be: try { z = new Zystem(); } catch ( Throwable e ) { e.printStackTrace(System.err); }; Is this intentionally not throwing the exception? Well, no, just a hasty reply from my part. still would be discarded (althrough not neccesarily silently :)). BTW, I don't think System.err is a good idea. It is `statically initialized'? I think then this means it is unclear who the caller is and who could catch this exception. Even so re-throwing the exception would make sense so that the application developer has a chance to handle this in whichever way they want. Of course logically this should not then print the stacktrace because that is the responsibility of the application developer. But so many do not handle these cases sensibly so from the application user point of view it is nice to have something on the console to aid in trouble shooting. Have not checked the context in which this happens so that might influence my opinion. Wouldn't it be better to store the exception in a member and throw it when needing Zystem (e.g. in new or open) I'm of the fail-fast school of thought so I think it should be reported and re-thrown as it happens, not later. br Kusti ___ Rxtx mailing list r...@qbang.org http://mailman.qbang.org/mailman/listinfo/rxtx __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#472053: Fwd: [Rxtx] gnu.io.RXTXPort discards exception silently if initialization fails
-- Forwarded message -- From: Steffen DETTMER steffen.dett...@ingenico.com Date: Wed, Jun 23, 2010 at 12:35 PM Subject: Re: [Rxtx] gnu.io.RXTXPort discards exception silently if initialization fails To: r...@qbang.org * Kustaa Nyholm wrote on Wed, Jun 23, 2010 at 12:55 +0300: Wouldn't it be better to store the exception in a member and throw it when needing Zystem (e.g. in new or open) I'm of the fail-fast school of thought so I think it should be reported and re-thrown as it happens, not later. Ahh yes, I agree, in general it is much better to fail quick, loud and verbosely, right! However, if this is a static { } block, AFAIK it is not defined when it will be executed (Before application start? Or later, when loading the class later? Or when using it first time?). If the exception would be thrown before main() is called, I think it is difficult to catch it. I think some general global hook must be used to do so. Simpler to handle, if it is thrown when invocating some function, then it can be caught by try { } catch. (or am I wrong or outdated?) oki, Steffen About Ingenico: Ingenico is a leading provider of payment solutions, with over 15 million terminals deployed in more than 125 countries. Its 2,850 employees worldwide support retailers, banks and service providers to optimize and secure their electronic payments solutions, develop their offer of services and increase their point of sales revenue. More information on http://www.ingenico.com/. This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. P Please consider the environment before printing this e-mail ___ Rxtx mailing list r...@qbang.org http://mailman.qbang.org/mailman/listinfo/rxtx __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#585089: Info received (Bug#585089: Acknowledgement (librxtx-java FTBFS kfreebsd))
Also need a section for: #if defined(__gnu_hurd__1) __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.