From 792d8e04c52fd36843063b0dbc79defb003eaf6a Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Wed, 3 Jun 2015 10:08:01 +0200 Subject: [PATCH] Builds irc-api for debian src using mvn-debian. --- resources/install/README.Debian | 2 +- resources/install/build.xml | 70 +++--------- .../install/debian/patches/irc-api.patch | 106 ++++++++++++++++++ resources/install/debian/patches/series | 1 + 4 files changed, 122 insertions(+), 57 deletions(-) create mode 100644 resources/install/debian/patches/irc-api.patch diff --git a/resources/install/README.Debian b/resources/install/README.Debian index f75ea2891..9feca2b83 100644 --- a/resources/install/README.Debian +++ b/resources/install/README.Debian @@ -2,7 +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 +svn clone https://github.com/migzai/irc-api.git 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 2188ebf48..3922296de 100644 --- a/resources/install/build.xml +++ b/resources/install/build.xml @@ -2674,8 +2674,8 @@ - - + + @@ -3016,61 +3016,19 @@ link="${debian.src.dir}/lib/installer-exclude"/> - - - - - - - - - - - - - - - - - - + + + + + + + + link="${debian.src.dir}/lib/installer-exclude/irc-api-1.0.jar"/> diff --git a/resources/install/debian/patches/irc-api.patch b/resources/install/debian/patches/irc-api.patch new file mode 100644 index 000000000..42a842a1f --- /dev/null +++ b/resources/install/debian/patches/irc-api.patch @@ -0,0 +1,106 @@ +Index: jitsi/lib/src/irc-api/pom.xml +Description: Updates pom.xml or irc api to be able to mvn-debian build. +=================================================================== +--- jitsi.orig/lib/src/irc-api/pom.xml ++++ jitsi/lib/src/irc-api/pom.xml +@@ -8,11 +8,11 @@ + IRC API + Open source Java IRC API + jar +- ++ + + + UTF-8 +@@ -33,7 +33,7 @@ + + + +- ++ + + org.slf4j + slf4j-api +- 1.6.1 ++ debian + + + commons-codec + commons-codec +- 1.4 ++ debian + + + +@@ -76,18 +76,17 @@ + + + +- ++ + + org.apache.maven.plugins + maven-compiler-plugin +- 2.3.2 + + 1.6 + 1.6 +@@ -98,7 +97,6 @@ + + org.apache.maven.plugins + maven-jar-plugin +- 2.3.2 + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF +@@ -108,6 +106,7 @@ + + org.apache.felix + maven-bundle-plugin ++ 2.3.7 + + + bundle-manifest +@@ -124,7 +123,7 @@ + + + +- ++ + + + diff --git a/resources/install/debian/patches/series b/resources/install/debian/patches/series index 3287fa138..0acb2ebc9 100644 --- a/resources/install/debian/patches/series +++ b/resources/install/debian/patches/series @@ -2,3 +2,4 @@ bcprov-upgrade-1.48 removes-gdata-deps encoding.patch bouncycastle-1.51.patch +irc-api.patch \ No newline at end of file