debian/0000755000000000000000000000000012157353001007163 5ustar debian/libjxgrabkey-java.jlibs0000644000000000000000000000003511466355506013620 0ustar debian/tmp/lib/JXGrabKey.jar debian/control0000644000000000000000000000260312157062665010604 0ustar Source: jxgrabkey Section: java Priority: extra Maintainer: Debian Java maintainers Uploaders: Gilles Filippini Build-Depends: debhelper (>= 8.1.3~), javahelper, default-jdk (>= 1:1.6), ant, libx11-dev, default-jdk-doc, maven-repo-helper Standards-Version: 3.9.3 Homepage: http://jxgrabkey.sourceforge.net/ Vcs-Git: git://git.debian.org/collab-maint/jxgrabkey.git Vcs-Browser: http://git.debian.org/?p=collab-maint/jxgrabkey.git;a=summary Package: libjxgrabkey-java Architecture: all Depends: ${java:Depends}, ${misc:Depends}, libjxgrabkey-jni Suggests: libjxgrabkey-doc Description: X11 hotkey API for java JXGrabKey provides an API to make java programs hotkey aware. . It relies on a jni backend provided by the libjxgrabkey-jni package. Package: libjxgrabkey-jni Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Description: X11 hotkey API for java (jni backend) JXGrabKey provides an API to make java programs hotkey aware. . This package holds the architecture dependent jni backend of the java library. Package: libjxgrabkey-doc Section: doc Architecture: all Depends: ${misc:Depends} Recommends: default-jdk-doc Description: documentation for libjxgrabkey-java This package contains the javadoc API documentation for libjxgrabkey-java plus a couple of examples. debian/patches/0000755000000000000000000000000011752557035010627 5ustar debian/patches/javadoc-link0000644000000000000000000000117011466355506013114 0ustar Description: Link to default-jdk-doc during javadoc step This patch adds link to default-jdk-doc as per Debian Java Policy 2.3. Author: Gilles Filippini Last-Update: <2010-11-08> --- jxgrabkey-0.3.2.orig/JXGrabKey/Java/nbproject/project.properties +++ jxgrabkey-0.3.2/JXGrabKey/Java/nbproject/project.properties @@ -31,7 +31,7 @@ javac.test.classpath=\ ${javac.classpath}:\ ${build.classes.dir}:\ ${libs.junit_4.classpath} -javadoc.additionalparam= +javadoc.additionalparam=-link /usr/share/doc/default-jdk-doc/api javadoc.author=false javadoc.encoding=${source.encoding} javadoc.noindex=false debian/patches/usleep.patch0000644000000000000000000000112311752557007013141 0ustar Description: Explicitely include to have usleep() in the scope. Fix FTBFS with gcc-4.7 Author: Gilles Filippini Bug-Debian: http://bugs.debian.org/672093 Index: jxgrabkey/JXGrabKey/C++/src/JXGrabKey.cpp =================================================================== --- jxgrabkey.orig/JXGrabKey/C++/src/JXGrabKey.cpp 2010-02-28 16:11:49.000000000 +0100 +++ jxgrabkey/JXGrabKey/C++/src/JXGrabKey.cpp 2012-05-09 23:03:05.000000000 +0200 @@ -29,6 +29,7 @@ #include #include #include +#include using namespace std; debian/patches/buildflags.patch0000644000000000000000000000320511650505213013750 0ustar Description: Use build flags defined at build time instead of thos hard coded into the makefile. Author: Gilles Filippini Last-Update: <2011-10-22> Index: jxgrabkey/misc/Ant/build.xml =================================================================== --- jxgrabkey.orig/misc/Ant/build.xml 2011-10-21 21:18:10.000000000 +0200 +++ jxgrabkey/misc/Ant/build.xml 2011-10-22 11:07:21.000000000 +0200 @@ -45,6 +45,10 @@ + + + + Index: jxgrabkey/JXGrabKey/C++/nbproject/Makefile-Release.mk =================================================================== --- jxgrabkey.orig/JXGrabKey/C++/nbproject/Makefile-Release.mk 2011-10-21 21:18:10.000000000 +0200 +++ jxgrabkey/JXGrabKey/C++/nbproject/Makefile-Release.mk 2011-10-21 21:18:17.000000000 +0200 @@ -15,6 +15,7 @@ CC=gcc CCC=g++ CXX=g++ +CPPFLAGS=-O2 FC= # Macros @@ -53,7 +54,7 @@ ${OBJECTDIR}/src/JXGrabKey.o: src/JXGrabKey.cpp ${MKDIR} -p ${OBJECTDIR}/src - $(COMPILE.cc) -O2 -s -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -fPIC -o ${OBJECTDIR}/src/JXGrabKey.o src/JXGrabKey.cpp + $(COMPILE.cc) -s -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -fPIC -o ${OBJECTDIR}/src/JXGrabKey.o src/JXGrabKey.cpp # Subprojects .build-subprojects: debian/patches/series0000644000000000000000000000005311752555515012043 0ustar javadoc-link buildflags.patch usleep.patch debian/libjxgrabkey-doc.doc-base0000644000000000000000000000050011466355506014013 0ustar Document: libjxgrabkey-java Title: Programmer API for JXGrabKey Author: Edwin Stang Abstract: Javadocs for JXGrabKey, a Java hotkey handling library. Section: Programming/Java Format: HTML Index: /usr/share/doc/libjxgrabkey-java/api/index.html Files: /usr/share/doc/libjxgrabkey-java/api/*.html debian/libjxgrabkey-java.poms0000644000000000000000000000004412157344707013472 0ustar debian/pom.xml --usj-name=JXGrabKey debian/libjxgrabkey-jni.install.in0000644000000000000000000000010011647461226014416 0ustar debian/tmp/lib/libJXGrabKey.so usr/lib/@DEB_HOST_MULTIARCH@/jni debian/copyright0000644000000000000000000000312311752560104011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: JXGrabKey Source: http://jxgrabkey.sourceforge.net/ Files: * Copyright: 2008-2010 Edwin Stang License: LGPL-3+ Files: debian/* Copyright: 2010 Gilles Filippini 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. . On Debian systems the full text of the GNU General Public License version 3 can be found in the `/usr/share/common-licenses/GPL-3' file. License: LGPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser 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 Lesser General Public License for more details. . On Debian systems the full text of the GNU Lesser General Public License version 3 can be found in the `/usr/share/common-licenses/LGPL-3' file. debian/pom.xml0000644000000000000000000000232112157344625010512 0ustar 4.0.0 jxgrabkey jxgrabkey jar JXGrabKey 3.2 X11 hotkey API for java http://jxgrabkey.sourceforge.net/ GNU Lesser General Public License, Version 3 http://www.gnu.org/licenses/lgpl.txt Stang Edwin Stang architect developer +8 scm:svn:svn://svn.code.sf.net/p/jxgrabkey/code/trunk scm:svn:svn://svn.code.sf.net/p/jxgrabkey/code/trunk http://sourceforge.net/p/jxgrabkey/code/HEAD/tree/trunk/ UTF-8 debian/compat0000644000000000000000000000000211650533023010362 0ustar 9 debian/changelog0000644000000000000000000000375512157343720011056 0ustar jxgrabkey (0.3.2-7) unstable; urgency=low * Install Maven artifacts into /usr/share/maven-repo -- Gilles Filippini Sun, 16 Jun 2013 16:11:52 +0200 jxgrabkey (0.3.2-6) unstable; urgency=low * New patch: + usleep.patch: Fix FTBFS with gcc-4.7 (Closes: #672093) * Bump Standards-Version to 3.9.3: + d/control + d/copyright: Machine-readable d/copyright format specification 1.0 -- Gilles Filippini Wed, 09 May 2012 23:18:13 +0200 jxgrabkey (0.3.2-5) unstable; urgency=low * Multiarch fixes: + Build-depends: debhelper (>= 8.1.3~) + Pre-Depends: ${misc:Pre-Depends} + debian/compat: 9 + lintian override for tag: package-needs-versioned-debhelper-build-depends 9 * Maintainer: Debian Java maintainers * Uploaders: myself * Bump Standards-Version to 3.9.2 (no changes needed) -- Gilles Filippini Sat, 22 Oct 2011 19:12:02 +0200 jxgrabkey (0.3.2-4) unstable; urgency=low * Multiarch and pdebuild-cross support * New patch: + buildflags.patch: use build flags defined at build time instead of those hard coded into the makefile. -- Gilles Filippini Sat, 22 Oct 2011 11:34:02 +0200 jxgrabkey (0.3.2-3) unstable; urgency=low * debian/control: + Enforce java6 dependency with a versioned Build-Depends on default-jdk instead of java6-sdk. -- Gilles Filippini Mon, 24 Jan 2011 00:39:58 +0100 jxgrabkey (0.3.2-2) unstable; urgency=low * debian/control: + Enforce java6 dependency + Build-Depends to default-jdk-doc to be able to link libjxgrabkey-doc against it (Debian policy for java §2.3) + Move default-jdk-doc from Depends to Recommends for libjxgrabkey-doc (Debian policy for java §2.3) -- Gilles Filippini Sun, 23 Jan 2011 23:45:04 +0100 jxgrabkey (0.3.2-1) unstable; urgency=low * Initial release (Closes: #602836) -- Gilles Filippini Wed, 10 Nov 2010 00:43:02 +0100 debian/libjxgrabkey-doc.install0000644000000000000000000000030511466355506014007 0ustar debian/tmp/example usr/share/doc/libjxgrabkey-java # Not using jh_installjavadoc here because I'm not happy with the # generated doc-base file debian/tmp/docs/* usr/share/doc/libjxgrabkey-java/api debian/source.lintian-overrides0000644000000000000000000000023711650572703014056 0ustar # Temporary override for Multi-Arch. # See http://wiki.debian.org/Multiarch/Implementation jxgrabkey source: package-needs-versioned-debhelper-build-depends 9 debian/rules0000755000000000000000000000251212157341266010255 0ustar #!/usr/bin/make -f # -*- makefile -*- ifeq ($(DEB_HOST_MULTIARCH),$(DEB_BUILD_MULTIARCH)) CXX := g++ CPPFLAGS := CXXFLAGS := LDFLAGS := else CXX := $(DEB_HOST_MULTIARCH)-g++ CPPFLAGS := -I/usr/$(DEB_HOST_MULTIARCH)/include/$(DEB_HOST_MULTIARCH) -I/usr/include/$(DEB_HOST_MULTIARCH) CXXFLAGS := LDFLAGS := endif export JAVA_HOME=/usr/lib/jvm/default-java %: dh $@ --with javahelper --with jh_maven_repo_helper override_dh_auto_build: mkdir -p JXGrabKey/C++/dist/Release/GNU-Linux-x86 cd misc/Ant && ant -DCXX="$(CXX)" \ -DCPPFLAGS="$(shell dpkg-buildflags --get CPPFLAGS) $(CPPFLAGS)" \ -DCXXFLAGS="$(shell dpkg-buildflags --get CXXFLAGS) $(CXXFLAGS)" \ -DLDFLAGS="$(shell dpkg-buildflags --get LDFLAGS) $(LDFLAGS)" override_dh_auto_install: sed "s/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/" debian/libjxgrabkey-jni.install.in > debian/libjxgrabkey-jni.install tar xf misc/Ant/jxgrabkey-0.3.2_*.tar.bz2 -C debian mv debian/jxgrabkey-* debian/tmp override_dh_auto_clean: rm -f JXGrabKey/C++/.dep.inc rm -fr JXGrabKey/C++/build rm -fr JXGrabKey/Java/build rm -fr JXGrabKey/Java/dist rm -f JXGrabKey/Java/manifest.mf rm -f misc/Ant/jxgrabkey-0.3.2/lib/JXGrabKey.jar rm -f misc/Ant/jxgrabkey-*_*.tar.bz2 rm -f debian/libjxgrabkey-jni.install override_dh_installchangelogs: dh_installchangelogs -k misc/ReleaseFiles/CHANGELOG.txt debian/source/0000755000000000000000000000000011466355506010501 5ustar debian/source/format0000644000000000000000000000001411466355506011707 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000007711466355506010236 0ustar version=2 http://sf.net/jxgrabkey/jxgrabkey-(.+)_src\.tar\.bz2