Don't bundle launch4j licenses in non-windows builds
Clarify in LICENSES.txt that launch4j is not bundled in non-windows builds and packages
Debian:
Change maintainer
Remove Debian patch that drops the launch4j licenses
This commit is contained in:
zzz
2016-03-26 14:44:37 +00:00
parent 5405792fad
commit ee138a2b36
5 changed files with 14 additions and 38 deletions

View File

@@ -106,6 +106,8 @@ Public domain except as listed below:
Installer: Installer:
Launch4j 3.0.1: Launch4j 3.0.1:
(Launch4j is only included in the upstream source package and Windows binaries.
Not applicable for non-Windows binaries or Debian/Launchpad packages.)
Copyright (c) 2004, 2008 Grzegorz Kowal Copyright (c) 2004, 2008 Grzegorz Kowal
See licenses/LICENSE-Launch4j.txt (in binary packages) See licenses/LICENSE-Launch4j.txt (in binary packages)
See installer/lib/launch4j/LICENSE.txt (in source packages) See installer/lib/launch4j/LICENSE.txt (in source packages)

View File

@@ -67,7 +67,7 @@
<echo message="The following command will install all of the dependencies for you:" /> <echo message="The following command will install all of the dependencies for you:" />
<echo message=" " /> <echo message=" " />
<echo message="apt-get install debhelper ant debconf default-jdk gettext libgmp3-dev po-debconf fakeroot build-essential \" /> <echo message="apt-get install debhelper ant debconf default-jdk gettext libgmp3-dev po-debconf fakeroot build-essential \" />
<echo message=" quilt libcommons-logging-java dh-apparmor" /> <echo message=" quilt libcommons-logging-java dh-apparmor dh-systemd" />
<echo message=" " /> <echo message=" " />
<echo message="Once the dependencies are installed, run &quot;ant debian&quot;"/> <echo message="Once the dependencies are installed, run &quot;ant debian&quot;"/>
<echo message="to patch the source and build the packages." /> <echo message="to patch the source and build the packages." />
@@ -1111,7 +1111,7 @@
<copy file="installer/lib/wrapper/all/wrapper.jar" todir="pkg-temp/lib" /> <copy file="installer/lib/wrapper/all/wrapper.jar" todir="pkg-temp/lib" />
</target> </target>
<target name="preppkg-windows" depends="preppkg-base, buildUtilityJar, buildexe"> <target name="preppkg-windows" depends="preppkg-base, preplicenses-windows, buildUtilityJar, buildexe">
<copy file="build/i2p.exe" todir="pkg-temp/" failonerror="false" /> <copy file="build/i2p.exe" todir="pkg-temp/" failonerror="false" />
<copy file="apps/systray/java/lib/systray4j.dll" todir="pkg-temp/lib" /> <copy file="apps/systray/java/lib/systray4j.dll" todir="pkg-temp/lib" />
<copy file="apps/systray/java/resources/iggy.ico" todir="pkg-temp/icons" /> <copy file="apps/systray/java/resources/iggy.ico" todir="pkg-temp/icons" />
@@ -1201,24 +1201,30 @@
</copy> </copy>
</target> </target>
<!-- does NOT include launch4j licenses for Windows builds -->
<target name="preplicenses"> <target name="preplicenses">
<copy file="LICENSE.txt" todir="pkg-temp/" /> <copy file="LICENSE.txt" todir="pkg-temp/" />
<copy todir="pkg-temp/licenses/" > <copy todir="pkg-temp/licenses/" >
<fileset dir="licenses/" /> <fileset dir="licenses/" />
</copy> </copy>
<copy file="apps/jetty/apache-tomcat-deployer/NOTICE" tofile="pkg-temp/licenses/NOTICE-Tomcat.txt" />
<copy file="apps/imagegen/identicon/README.md" tofile="pkg-temp/licenses/LICENSE-Identicon.txt" />
</target>
<!-- DOES include launch4j licenses for Windows builds -->
<target name="preplicenses-windows" depends="preplicenses">
<!-- <!--
The license in launch4j/ is a BSD license for launch4j The license in launch4j/ is a BSD license for launch4j
The license in launch4j/head is a MIT license for the code that is actually wrapped around the jars The license in launch4j/head is a MIT license for the code that is actually wrapped around the jars
So we include the MIT one in our binary package So we include the MIT one in our binary package
--> -->
<copy file="installer/lib/launch4j/head/LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-Launch4j.txt" /> <copy file="installer/lib/launch4j/head/LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-Launch4j.txt" />
<copy file="apps/jetty/apache-tomcat-deployer/NOTICE" tofile="pkg-temp/licenses/NOTICE-Tomcat.txt" />
<!-- Not sure if these are used or should be included --> <!-- Not sure if these are used or should be included -->
<copy file="installer/lib/launch4j/lib/foxtrot.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-Foxtrot.txt" /> <copy file="installer/lib/launch4j/lib/foxtrot.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-Foxtrot.txt" />
<copy file="installer/lib/launch4j/lib/JGoodies.Forms.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-JGoodies-Forms.txt" /> <copy file="installer/lib/launch4j/lib/JGoodies.Forms.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-JGoodies-Forms.txt" />
<copy file="installer/lib/launch4j/lib/JGoodies.Looks.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-JGoodies-Looks.txt" /> <copy file="installer/lib/launch4j/lib/JGoodies.Looks.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-JGoodies-Looks.txt" />
<copy file="installer/lib/launch4j/lib/XStream.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-XStream.txt" /> <copy file="installer/lib/launch4j/lib/XStream.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-XStream.txt" />
<copy file="apps/imagegen/identicon/README.md" tofile="pkg-temp/licenses/LICENSE-Identicon.txt" />
</target> </target>
<target name="prepthemeupdates"> <target name="prepthemeupdates">

4
debian/control vendored
View File

@@ -1,9 +1,9 @@
Source: i2p Source: i2p
Maintainer: Kill Your TV <killyourtv@i2pmail.org> Maintainer: zzz <zzz@i2pmail.org>
Section: net Section: net
Standards-Version: 3.9.6 Standards-Version: 3.9.6
Priority: optional Priority: optional
Bugs: mailto:killyourtv@i2pmail.org Bugs: mailto:zzz@i2pmail.org
Homepage: https://geti2p.net Homepage: https://geti2p.net
Build-Depends: debhelper (>= 7.0.50~) Build-Depends: debhelper (>= 7.0.50~)
,ant (>= 1.8) ,ant (>= 1.8)

View File

@@ -1,31 +0,0 @@
From: Kill Your TV <killyourtv@i2pmail.org>
Date: Mon, 30 Jul 2012 17:56:40 +0000
Subject: remove launch4j
---
build.xml | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/build.xml b/build.xml
index 9544491..ce106bf 100644
--- a/build.xml
+++ b/build.xml
@@ -1206,18 +1206,7 @@
<copy todir="pkg-temp/licenses/" >
<fileset dir="licenses/" />
</copy>
- <!--
- The license in launch4j/ is a BSD license for launch4j
- The license in launch4j/head is a MIT license for the code that is actually wrapped around the jars
- So we include the MIT one in our binary package
- -->
- <copy file="installer/lib/launch4j/head/LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-Launch4j.txt" />
<copy file="apps/jetty/apache-tomcat-deployer/NOTICE" tofile="pkg-temp/licenses/NOTICE-Tomcat.txt" />
- <!-- Not sure if these are used or should be included -->
- <copy file="installer/lib/launch4j/lib/foxtrot.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-Foxtrot.txt" />
- <copy file="installer/lib/launch4j/lib/JGoodies.Forms.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-JGoodies-Forms.txt" />
- <copy file="installer/lib/launch4j/lib/JGoodies.Looks.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-JGoodies-Looks.txt" />
- <copy file="installer/lib/launch4j/lib/XStream.LICENSE.txt" tofile="pkg-temp/licenses/LICENSE-XStream.txt" />
<copy file="apps/imagegen/identicon/README.md" tofile="pkg-temp/licenses/LICENSE-Identicon.txt" />
</target>

View File

@@ -1,4 +1,3 @@
0001-path-substitution.patch 0001-path-substitution.patch
0002-jbigi-soname.patch 0002-jbigi-soname.patch
0003-rename-jcpuid.patch 0003-rename-jcpuid.patch
0004-remove-launch4j.patch