From 25ff1e12ca9abccf0f901f0be7179ef3ea35c65e Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Sun, 17 Aug 2014 18:46:11 +0300 Subject: [PATCH] Adds building irc-api and its dependencies to debian src package. Adds dependency to libphonenumber6-java package that is now available in the repository. --- resources/install/README.Debian | 1 + resources/install/build.xml | 145 ++++++++++++++++++---- resources/install/debian/control-src.tmpl | 8 +- resources/install/debian/rules.tmpl | 2 +- 4 files changed, 130 insertions(+), 26 deletions(-) diff --git a/resources/install/README.Debian b/resources/install/README.Debian index ecd925b20..f75ea2891 100644 --- a/resources/install/README.Debian +++ b/resources/install/README.Debian @@ -2,6 +2,7 @@ To create debian source package you need some other projects sources that jitsi depends on. In the same folder where jitsi is checked out do: git clone https://github.com/jitsi/otr4j.git git clone https://github.com/jitsi/libsrc.git +svn checkout http://irc-api.googlecode.com/svn/trunk/ irc-api And then in jitsi do: ant deb-src -Dlabel=4444 This will create orig.tar.gz debian sources that can be used to debuild debian package. \ No newline at end of file diff --git a/resources/install/build.xml b/resources/install/build.xml index 57b8e11cc..9e9cacd82 100644 --- a/resources/install/build.xml +++ b/resources/install/build.xml @@ -2458,9 +2458,6 @@ and libsrc --> - - @@ -2524,6 +2521,14 @@ + + + + + + + + @@ -2658,26 +2663,7 @@ - - - - - - - - - - - - - @@ -2898,7 +2884,8 @@ - @@ -2908,6 +2895,68 @@ overwrite="true" link="${debian.src.dir}/lib/installer-exclude"/> + + + + + + + + + + + + + + + + + + + + + reference:file:/usr/share/jitsi-common/ui-service.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/resources/install/debian/control-src.tmpl b/resources/install/debian/control-src.tmpl index 4963ab4db..cd1b674e2 100644 --- a/resources/install/debian/control-src.tmpl +++ b/resources/install/debian/control-src.tmpl @@ -48,7 +48,9 @@ Build-Depends: debhelper (>= 9), javahelper, glassfish-activation, glassfish-mail, libbcpkix-java, - libjcalendar-java + libjcalendar-java, + libphonenumber6-java, + libslf4j-java Standards-Version: 3.9.5 Package: _PACKAGE_NAME_ @@ -80,7 +82,9 @@ Depends: ${misc:Depends}, libguava-java, libhsqldb-java, libjson-simple-java (>= 1.1.1), - libjcalendar-java + libjcalendar-java, + libphonenumber6-java, + libslf4j-java Recommends: ${java:Recommends} Description: VoIP and Instant Messaging client _APP_NAME_ is an application that allows you to do audio/video diff --git a/resources/install/debian/rules.tmpl b/resources/install/debian/rules.tmpl index a960b7d37..eeec3b6fe 100755 --- a/resources/install/debian/rules.tmpl +++ b/resources/install/debian/rules.tmpl @@ -21,7 +21,7 @@ override_dh_install-indep: # make and install the debian specific bundles # use the prebuild and installed bundles to extract/modify and use the # exising debian java packages - $(ANT) -file build.xml -Ddebian.bundles.dest=debian/$(PACKAGE_NAME)/usr/share/$(PACKAGE_NAME)/sc-bundles -Ddebian.bundles.common.dest=debian/$(PACKAGE_NAME)-common/usr/share/$(PACKAGE_NAME)-common deb-bundle-jna deb-bundle-util deb-bundle-sysactivitynotifications deb-bundle-swing-ui deb-bundle-json deb-bundle-smacklib deb-bundle-jmdnslib deb-bundle-desktoputil deb-bundle-bouncycastle deb-bundle-plugin-accountinfo deb-bundle-commons-lang deb-bundle-hsqldb deb-libjitsi-deps deb-bundle-httpmime deb-bundle-common + $(ANT) -file build.xml -Ddebian.bundles.dest=debian/$(PACKAGE_NAME)/usr/share/$(PACKAGE_NAME)/sc-bundles -Ddebian.bundles.common.dest=debian/$(PACKAGE_NAME)-common/usr/share/$(PACKAGE_NAME)-common deb-bundle-jna deb-bundle-util deb-bundle-sysactivitynotifications deb-bundle-swing-ui deb-bundle-json deb-bundle-smacklib deb-bundle-jmdnslib deb-bundle-desktoputil deb-bundle-bouncycastle deb-bundle-plugin-accountinfo deb-bundle-commons-lang deb-bundle-hsqldb deb-libjitsi-deps deb-bundle-httpmime deb-bundle-common deb-bundle-slf4j override_dh_install-arch: ifeq ($(DEB_HOST_ARCH),amd64)