forked from I2P_Developers/i2p.i2p
Debian: Back out libhttpclient-java dependency,
requires 4.4 which is too recent for most distros
This commit is contained in:
@@ -134,4 +134,8 @@ javac.version=1.6
|
||||
# Don't compile gnu.getopt classes, we will use libgetopt-java package
|
||||
#with-libgetopt-java=true
|
||||
# Don't compile org.apache.http classes, we will use libhttpclient-java and libhttpcore-java packages
|
||||
# 2 MB of dependencies vs. 20 KB of copied source
|
||||
# Requires 4.4 or higher.
|
||||
# Debian: Not in wheezy/jessie
|
||||
# Ubuntu: Only in wily and later
|
||||
#with-libhttpclient-java=true
|
||||
|
@@ -2032,7 +2032,9 @@
|
||||
<!-- libgetopt-java -->
|
||||
<fileset dir="../i2p-${Extended.Version}/core/java/src/gnu/getopt" />
|
||||
<!-- libhttpclient-java and libhttpcore-java -->
|
||||
<!--
|
||||
<fileset dir="../i2p-${Extended.Version}/core/java/src/org/apache/http" />
|
||||
-->
|
||||
<!-- systray4j -->
|
||||
<fileset dir="../i2p-${Extended.Version}/apps/systray/java/lib" />
|
||||
<file name="../i2p-${Extended.Version}/apps/systray/java/src/net/i2p/apps/systray/SysTrayImpl.java" />
|
||||
@@ -2103,7 +2105,9 @@
|
||||
<fileset dir="../i2p-${Extended.Version}/_MTN" />
|
||||
<fileset dir="../i2p-${Extended.Version}/core/java/src/gnu/gettext" />
|
||||
<fileset dir="../i2p-${Extended.Version}/core/java/src/gnu/getopt" />
|
||||
<!--
|
||||
<fileset dir="../i2p-${Extended.Version}/core/java/src/org/apache/http" />
|
||||
-->
|
||||
<fileset dir="../i2p-${Extended.Version}/apps/systray/java/lib" />
|
||||
<file name="../i2p-${Extended.Version}/apps/systray/java/src/net/i2p/apps/systray/SysTrayImpl.java" />
|
||||
<file name="../i2p-${Extended.Version}/installer/resources/geoip.txt" />
|
||||
|
1
debian/control
vendored
1
debian/control
vendored
@@ -15,7 +15,6 @@ Build-Depends: debhelper (>= 7.0.50~)
|
||||
,dh-apparmor
|
||||
,gettext
|
||||
,libgetopt-java
|
||||
,libhttpclient-java, libhttpcore-java
|
||||
,libgmp-dev (>= 2:5.0.5)
|
||||
,libservice-wrapper-java
|
||||
,hardening-wrapper
|
||||
|
9
debian/i2p-router.links
vendored
9
debian/i2p-router.links
vendored
@@ -92,6 +92,9 @@ usr/share/java/gnu-getopt.jar usr/share/i2p/lib/gnu-getopt.jar
|
||||
|
||||
|
||||
# comment out if not building with libhttpclient-java and libhttpcore-java
|
||||
# ubuntu and debian: everywhere
|
||||
usr/share/java/httpclient.jar usr/share/i2p/lib/httpclient.jar
|
||||
usr/share/java/httpcore.jar usr/share/i2p/lib/httpcore.jar
|
||||
# 2 MB of dependencies vs. 20 KB of copied source
|
||||
# Requires 4.4 or higher.
|
||||
# Debian: Not in wheezy/jessie
|
||||
# Ubuntu: Only in wily and later
|
||||
#usr/share/java/httpclient.jar usr/share/i2p/lib/httpclient.jar
|
||||
#usr/share/java/httpcore.jar usr/share/i2p/lib/httpcore.jar
|
||||
|
13
debian/rules
vendored
13
debian/rules
vendored
@@ -149,11 +149,14 @@ endif
|
||||
@mkdir -p $(CURDIR)/core/java/build
|
||||
ln -sf /usr/share/java/gnu-getopt.jar $(CURDIR)/core/java/build/gnu-getopt.jar
|
||||
|
||||
@# debian and ubuntu: everywhere
|
||||
@/bin/echo -e "with-libhttpclient-java=true" >> $(CURDIR)/override.properties
|
||||
@mkdir -p $(CURDIR)/core/java/build
|
||||
ln -sf /usr/share/java/httpclient.jar $(CURDIR)/core/java/build/httpclient.jar
|
||||
ln -sf /usr/share/java/httpcore.jar $(CURDIR)/core/java/build/httpcore.jar
|
||||
@# 2 MB of dependencies vs. 20 KB of copied source
|
||||
@# Requires 4.4 or higher.
|
||||
@# Debian: Not in wheezy/jessie
|
||||
@# Ubuntu: Only in wily and later
|
||||
@#/bin/echo -e "with-libhttpclient-java=true" >> $(CURDIR)/override.properties
|
||||
@#mkdir -p $(CURDIR)/core/java/build
|
||||
@#ln -sf /usr/share/java/httpclient.jar $(CURDIR)/core/java/build/httpclient.jar
|
||||
@#ln -sf /usr/share/java/httpcore.jar $(CURDIR)/core/java/build/httpcore.jar
|
||||
|
||||
TZ=UTC JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 ant preppkg-unix javadoc
|
||||
echo router.updateDisabled=true > $(I2P)/router.config
|
||||
|
Reference in New Issue
Block a user