debian/0000755000000000000000000000000012222443020007155 5ustar debian/jpathwatch.bnd0000644000000000000000000000024212222442555012011 0ustar Bundle-Name: jpathwatch directory monitoring library Bundle-SymbolicName: name.pachler.nio.file Bundle-Version: 1.0.0 Bundle-Vendor: Debian.org Import-Package: * debian/Makefile.jni0000644000000000000000000000051612222442555011412 0ustar JNI_LIB = libjpathwatch-native.so CPPFLAGS += -fPIC -I/usr/lib/jvm/default-java/include # Object Files OBJECTFILES= \ LinuxPathWatchService.o \ Linux.o \ Unix_timespec.o \ JArgument.o \ Unix.o \ nativelib.o all: ${JNI_LIB} ${JNI_LIB}: ${OBJECTFILES} g++ -shared -o $@ $? ${LDFLAGS} clean: rm -f ${OBJECTFILES} ${JNI_LIB} debian/watch0000644000000000000000000000022312222442555010217 0ustar version=3 http://sourceforge.net/projects/jpathwatch/files/ \ http://sourceforge.net/projects/jpathwatch/files/jpathwatch-(\d+)-(\d+).zip/download debian/rules0000755000000000000000000000114612222442555010253 0ustar #!/usr/bin/make -f %: dh $@ --with javahelper override_dh_auto_build: # build JNI library $(MAKE) -C jpathwatch-native/src -f ../../debian/Makefile.jni override_jh_build: jh_build # generate OSGi metadata bnd wrap -properties debian/jpathwatch.bnd -output jpathwatch.jar jpathwatch.jar override_dh_auto_clean: $(MAKE) -C jpathwatch-native/src -f ../../debian/Makefile.jni clean override_dh_install-arch: dh_install -plibjpathwatch-java-jni jpathwatch-native/src/libjpathwatch-native.so \ /usr/lib/$(DEB_HOST_MULTIARCH)/jni dh_install -a --remaining-packages get-orig-source: debian/fetch-orig.sh debian/changelog0000644000000000000000000000023212222442555011040 0ustar jpathwatch (0.95-1) unstable; urgency=low * Initial release. (Closes: #697471) -- Jakub Adam Sat, 05 Jan 2013 16:46:21 +0100 debian/javabuild0000644000000000000000000000004312222442555011052 0ustar jpathwatch.jar jpathwatch-java/src debian/source/0000755000000000000000000000000012222442555010471 5ustar debian/source/format0000644000000000000000000000001412222442555011677 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212222442555010367 0ustar 9 debian/copyright0000644000000000000000000000600112222442555011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: jpathwatch Source: http://jpathwatch.wordpress.com Files: * Copyright: 2008-2011, Uwe Pachler License: GPL-2-classpath Files: jpathwatch-java/src/name/pachler/nio/file/impl/NativeLibLoader.java Copyright: 2008, Trent Jarvi 2008-2011, Uwe Pachler License: BSD-1-clause Files: debian/* Copyright: 2013, Debian Java Maintainers License: LGPL-2+ License: GPL-2-classpath The source code is licensed under the terms of GNU General Public License version 2. On Debian system, for the complete text of the license see /usr/share/common-licenses/GPL-2. . In addition, following exception from the license applies: . "CLASSPATH" EXCEPTION TO THE GPL . Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. . As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. License: LGPL-2+ The source code is licensed under the terms of GNU Library General Public License version 2, or, at your option, any later version. On Debian system, for the complete text of the license see /usr/share/common-licenses/LGPL-2. License: BSD-1-clause Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/libjpathwatch-java-doc.javadoc0000644000000000000000000000001112222442555015020 0ustar internal debian/libjpathwatch-java.jlibs0000644000000000000000000000001712222442555013757 0ustar jpathwatch.jar debian/control0000644000000000000000000000342612222442555010601 0ustar Source: jpathwatch Section: java Priority: extra Maintainer: Debian Java Maintainers Uploaders: Jakub Adam Build-Depends: debhelper (>=9), javahelper, default-jdk, bnd Standards-Version: 3.9.4 Homepage: http://jpathwatch.wordpress.com Vcs-Git: git://anonscm.debian.org/pkg-java/jpathwatch.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/jpathwatch.git Package: libjpathwatch-java Architecture: all Depends: ${java:Depends}, ${misc:Depends}, libjpathwatch-java-jni (>= ${source:Version}) Description: Java library that monitors directories for changes jpatchwatch is a Java library for monitoring directories for changes. It uses the native OS functions to achieve this, avoiding polling. . The following events on a directory can be monitored: . * file creation and deletion * file modification * file renaming * vhanges in subdirectories (recursive monitoring) * invalidation (a watched directory becomes unavailable) Package: libjpathwatch-java-jni Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Description: Java library that monitors directories for changes (JNI) jpatchwatch is a Java library for monitoring directories for changes. It uses the native OS functions to achieve this, avoiding polling. . This package contains architecture specific JNI libraries. Package: libjpathwatch-java-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: libjpathwatch-java Description: Java library that monitors directories for changes (documentation) jpatchwatch is a Java library for monitoring directories for changes. It uses the native OS functions to achieve this, avoiding polling. . This package contains the Javadoc API documentation. debian/fetch-orig.sh0000755000000000000000000000105512222442555011560 0ustar #!/bin/sh set -e NAME=jpathwatch VERSION=0.95 DEB_VERSION=${VERSION} OUT_DIR=${NAME}-${VERSION} downloadSnapshot() { VERSION_DASH=$(echo $VERSION | sed "s/\./-/g") SRC_DIR=jpathwatch rm -rf $OUT_DIR svn export https://jpathwatch.svn.sourceforge.net/svnroot/jpathwatch/tags/$VERSION_DASH/$SRC_DIR mv $SRC_DIR $OUT_DIR } downloadSnapshot # Remove empty directories find $OUT_DIR -type d -empty -delete ORIG_TARBALL=${NAME}_${DEB_VERSION}.orig.tar.xz echo "Creating tarball '$ORIG_TARBALL'..." tar -cJf ../$ORIG_TARBALL $OUT_DIR rm -rf $OUT_DIR