This is an automated email from the git hooks/post-receive script. apo pushed a commit to branch master in repository stegosuite.
commit 95967c08090a1961715a94de444c57b05498f5e0 Author: Markus Koschany <[email protected]> Date: Sat Jun 4 10:26:03 2016 +0200 Add initial debian directory --- debian/README.source | 9 +++ debian/changelog | 5 ++ debian/compat | 1 + debian/control | 23 +++++++ debian/copyright | 88 +++++++++++++++++++++++++++ debian/man/stegosuite.1 | 11 ++++ debian/maven.ignoreRules | 4 ++ debian/maven.properties | 5 ++ debian/maven.rules | 2 + debian/patches/fix-pom-for-debian.patch | 37 +++++++++++ debian/patches/fix-runscript-for-debian.patch | 18 ++++++ debian/patches/series | 2 + debian/rules | 7 +++ debian/source/format | 1 + debian/stegosuite.desktop | 10 +++ debian/stegosuite.install | 3 + debian/stegosuite.links | 1 + debian/stegosuite.manpages | 1 + debian/stegosuite.poms | 28 +++++++++ debian/watch | 3 + 20 files changed, 259 insertions(+) diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..5f241a0 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,9 @@ +Information about stegosuite +---------------------------- + +This package was debianized using the mh_make command +from the maven-debian-helper package. + +The build system uses Maven but prevents it from downloading +anything from the Internet, making the build compliant with +the Debian policy. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..2766bb1 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +stegosuite (0.7.2-1) UNRELEASED; urgency=medium + + * Initial release (Closes: #825238) + + -- Tobias Ilte <[email protected]> Tue, 24 May 2016 19:57:17 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..1a60894 --- /dev/null +++ b/debian/control @@ -0,0 +1,23 @@ +Source: stegosuite +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Tobias Ilte <[email protected]> +Build-Depends: debhelper (>= 9), default-jdk, maven-debian-helper (>= 1.5), libmaven-compiler-plugin-java, libmaven-jar-plugin-java +Build-Depends-Indep: liblogback-java, libslf4j-java, libswt-gtk-4-java +Standards-Version: 3.9.8 +Vcs-Git: https://anonscm.debian.org/pkg-java/stegosuite.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/stegosuite.git +Homepage: https://dev.stegosuite.org/stegosuite/stegosuite + +Package: stegosuite +Architecture: all +Depends: ${misc:Depends}, ${maven:Depends}, + libswt-gtk2-4-jni, libswt-cairo-gtk-4-jni +Suggests: ${maven:OptionalDepends} +Description: Steganography tool to hide information in image files + Stegosuite is a graphical steganography tool to easily hide information in + image files. It allows the embedding of text messages and multiple files of any + type. In addition, the embedded data is encrypted using AES. + Currently supported file types are BMP, GIF and JPG. + Stegosuite is written in Java and utilizes the SWT toolkit for its interface. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..95ad315 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,88 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: stegosuite +Source: https://dev.stegosuite.org/stegosuite/stegosuite + +Files: * +Copyright: 2016, Stegosuite Developers <[email protected]> +License: GPL-3 + +Files: debian/* +Copyright: 2016, Tobias Ilte <[email protected]> +License: Apache-2.0 + +Files: src/main/java/org/stegosuite/image/jpgtemp/james/* +Copyright: 1998, James R. Weeks + 1998, BioElectroMech +License: BSD-2-clause-with-hint + The JpegEncoder and its associated classes are Copyright (c) + 1998, James R. Weeks and BioElectroMech. This software is + based in part on the work of the Independent JPEG Group. + . + 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, all files included + with the source code, 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. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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/main/java/org/stegosuite/image/jpgtemp/net/f5/* +Copyright: 1999, Andreas Westfeld + 2011, Christoph Gaffga +License: GPL-2+ + +Files: src/main/java/org/stegosuite/image/jpgtemp/net/f5/ortega/* +Copyright: 1997, Sean Breslin + 1997, Antonio Ortega + 1997, Krisda Lengwehasatit +License: BSD-2-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. + . + THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUEN- TIAL 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 POSS- IBILITY OF SUCH DAMAGE. + +License: Apache-2.0 + On Debian systems, the full text of the Apache-2.0 license + can be found in the file '/usr/share/common-licenses/Apache-2.0' + +License: GPL-2+ + On Debian systems, the full text of the GPL-2 license + can be found in the file '/usr/share/common-licenses/GPL-2' + +License: GPL-3 + On Debian systems, the full text of the GPL-3 license + can be found in the file '/usr/share/common-licenses/GPL-3' + diff --git a/debian/man/stegosuite.1 b/debian/man/stegosuite.1 new file mode 100644 index 0000000..5407e8e --- /dev/null +++ b/debian/man/stegosuite.1 @@ -0,0 +1,11 @@ +.TH stegosuite 1 "25 May 2016" "version 0.7.1" "Stegosuite(1) Man Pages" +.SH NAME +Stegosuite \- Steganography tool to hide information in image files +.SH DESCRIPTION +.PP +Stegosuite is a graphical steganography tool to easily hide information in +image files. It allows the embedding of text messages and multiple files of any +type. In addition, the embedded data is encrypted using AES. +Currently supported file types are BMP, GIF and JPG. +.br +Stegosuite is written in Java and utilizes the SWT toolkit for its interface. diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules new file mode 100644 index 0000000..3e17602 --- /dev/null +++ b/debian/maven.ignoreRules @@ -0,0 +1,4 @@ + +org.apache.maven.plugins maven-assembly-plugin * * * * +org.codehaus.mojo exec-maven-plugin * * * * +org.testng testng * * * * diff --git a/debian/maven.properties b/debian/maven.properties new file mode 100644 index 0000000..e593715 --- /dev/null +++ b/debian/maven.properties @@ -0,0 +1,5 @@ +# Include here properties to pass to Maven during the build. +# For example: +# maven.test.skip=true + +maven.test.skip=true diff --git a/debian/maven.rules b/debian/maven.rules new file mode 100644 index 0000000..1e498ba --- /dev/null +++ b/debian/maven.rules @@ -0,0 +1,2 @@ + +org.stegosuite stegosuite jar s/.*/debian/ * * diff --git a/debian/patches/fix-pom-for-debian.patch b/debian/patches/fix-pom-for-debian.patch new file mode 100644 index 0000000..30f6441 --- /dev/null +++ b/debian/patches/fix-pom-for-debian.patch @@ -0,0 +1,37 @@ +adjusted swt dependency and maven-jar-plugin for debian +--- a/pom.xml ++++ b/pom.xml +@@ -75,12 +75,16 @@ + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <version>2.6</version> +- <executions> +- <execution> +- <id>default-jar</id> +- <phase>none</phase> +- </execution> +- </executions> ++ <configuration> ++ <archive> ++ <manifest> ++ <addClasspath>true</addClasspath> ++ <mainClass>org.stegosuite.Stegosuite</mainClass> ++ <classpathLayoutType>custom</classpathLayoutType> ++ <customClasspathLayout>/usr/share/java/$${artifact.artifactId}$${dashClassifier?}.jar</customClasspathLayout> ++ </manifest> ++ </archive> ++ </configuration> + </plugin> + + +@@ -89,8 +93,8 @@ + + <dependencies> + <dependency> +- <groupId>${swt.groupId}</groupId> +- <artifactId>${swt.artifactId}</artifactId> ++ <groupId>org.eclipse.swt</groupId> ++ <artifactId>org.eclipse.swt</artifactId> + <version>4.5.2</version> + </dependency> + diff --git a/debian/patches/fix-runscript-for-debian.patch b/debian/patches/fix-runscript-for-debian.patch new file mode 100644 index 0000000..6873f9b --- /dev/null +++ b/debian/patches/fix-runscript-for-debian.patch @@ -0,0 +1,18 @@ +added gtk2 fallback for certain configurations +--- a/src/deb/data/stegosuite ++++ b/src/deb/data/stegosuite +@@ -10,4 +10,13 @@ + + STEGOSUITE_CLASSPATH="$STEGOSUITEJAR" + +-java -jar $STEGOSUITE_CLASSPATH $@ ++gtk3_version=`dpkg -s libgtk-3-0|grep '^Version' | cut -d'.' -f2` ++swt4_version=`dpkg -s libswt-gtk-4-java|grep '^Version' | cut -d'.' -f2` ++ ++# Run with GTK2-fallback if swt<=4.5 and gtk>=3.20 ++if [ \( "$gtk3_version" -ge 20 \) -a \( "$swt4_version" -le 5 \) ]; then ++ env SWT_GTK3=0 java -jar $STEGOSUITE_CLASSPATH $@ ++else ++ java -jar $STEGOSUITE_CLASSPATH $@ ++fi ++ diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..aba4f2a --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +fix-runscript-for-debian.patch +fix-pom-for-debian.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..aba914b --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem=maven + +get-orig-source: + uscan --download-current-version --force-download --no-symlink diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/stegosuite.desktop b/debian/stegosuite.desktop new file mode 100644 index 0000000..4dd3dd0 --- /dev/null +++ b/debian/stegosuite.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Stegosuite +Categories=Graphics;2DGraphics;RasterGraphics; +Comment=A steganography tool +Exec=stegosuite %u +Icon=stegosuite +MimeType=image/gif;image/bmp;image/jpeg; +Keywords=steganography;embed;extract;image;hide;stego; +Terminal=false +Type=Application diff --git a/debian/stegosuite.install b/debian/stegosuite.install new file mode 100644 index 0000000..a6617b8 --- /dev/null +++ b/debian/stegosuite.install @@ -0,0 +1,3 @@ +./debian/stegosuite.desktop usr/share/applications/ +./src/deb/data/stegosuite.png usr/share/pixmaps/ +./src/deb/data/stegosuite usr/bin/ diff --git a/debian/stegosuite.links b/debian/stegosuite.links new file mode 100644 index 0000000..04a0fea --- /dev/null +++ b/debian/stegosuite.links @@ -0,0 +1 @@ +/usr/share/maven-repo/org/stegosuite/stegosuite/debian/stegosuite-debian.jar /usr/share/stegosuite/stegosuite-0.7.1.jar diff --git a/debian/stegosuite.manpages b/debian/stegosuite.manpages new file mode 100644 index 0000000..6ebd680 --- /dev/null +++ b/debian/stegosuite.manpages @@ -0,0 +1 @@ +debian/man/stegosuite.1 diff --git a/debian/stegosuite.poms b/debian/stegosuite.poms new file mode 100644 index 0000000..9104f06 --- /dev/null +++ b/debian/stegosuite.poms @@ -0,0 +1,28 @@ +# List of POM files for the package +# Format of this file is: +# <path to pom file> [option]* +# where option can be: +# --ignore: ignore this POM and its artifact if any +# --ignore-pom: don't install the POM. To use on POM files that are created +# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] +# --no-parent: remove the <parent> tag from the POM +# --package=<package>: an alternative package to use when installing this POM +# and its artifact +# --has-package-version: to indicate that the original version of the POM is the same as the upstream part +# of the version for the package. +# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM +# during a clean operation with mh_cleanpom or mh_installpom +# --artifact=<path>: path to the build artifact associated with this POM, +# it will be installed when using the command mh_install. [mh_install] +# --java-lib: install the jar into /usr/share/java to comply with Debian +# packaging guidelines +# --usj-name=<name>: name to use when installing the library in /usr/share/java +# --usj-version=<version>: version to use when installing the library in /usr/share/java +# --no-usj-versionless: don't install the versionless link in /usr/share/java +# --dest-jar=<path>: the destination for the real jar. +# It will be installed with mh_install. [mh_install] +# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default. +# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed. +# Empty by default. [mh_install] +# +pom.xml --dest-jar=/usr/share/stegosuite --ignore-pom diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..2a07f3c --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=filenamemangle=s/.*\.tar\.gz\?ref=v?(\d\S*)/Stegosuite-$1\.tar\.gz/g \ + https://dev.stegosuite.org/Stegosuite/Stegosuite/tags .*archive\.tar\.gz\?ref=v?(\d\S*) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/stegosuite.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

