Codebase list libjxmpp-java / 11121ac
Don't build jxmpp-stringprep-libidn This removes the dependency on libidn11-java, which has been removed from Debian. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> James Valleroy 2 years ago
4 changed file(s) with 26 addition(s) and 30 deletion(s). Raw diff Collapse all Expand all
99 default-jdk,
1010 gradle-debian-helper (>= 2.0),
1111 maven-repo-helper,
12 libicu4j-java,
13 libidn11-java
12 libicu4j-java
1413 Standards-Version: 4.6.0
1514 Vcs-Git: https://salsa.debian.org/debian/libjxmpp-java.git
1615 Vcs-Browser: https://salsa.debian.org/debian/libjxmpp-java
3433 jxmpp-jid: Provides API that abstracts XMPP JIDs with Java classes, performing
3534 string preparation and validation.
3635 .
37 jxmpp-stringprep-libidn: Perform XMPP's StringPrep with the help of libidn.
38 .
3936 jxmpp-util-cache: Provides a lightweight and efficient Cache without external
4037 dependencies used by various JXMPP Components.
4138 .
2727 jxmpp-core/build/debian/jxmpp-core.pom --artifact=jxmpp-core/build/libs/*.jar --java-lib
2828 jxmpp-jid/build/debian/jxmpp-jid.pom --artifact=jxmpp-jid/build/libs/*.jar --java-lib
2929 jxmpp-stringprep-icu4j/build/debian/jxmpp-stringprep-icu4j.pom --artifact=jxmpp-stringprep-icu4j/build/libs/*.jar --java-lib
30 jxmpp-stringprep-libidn/build/debian/jxmpp-stringprep-libidn.pom --artifact=jxmpp-stringprep-libidn/build/libs/*.jar --java-lib
3130 jxmpp-util-cache/build/debian/jxmpp-util-cache.pom --artifact=jxmpp-util-cache/build/libs/*.jar --java-lib
1818 Disable tests until all the dependencies are packaged and they can be run
1919 reliably.
2020
21 libidn-java package does not provide metadata suitable for Debian's Maven
22 repository.
23
24 Alter the build file to use the provided .jar instead.
25
2621 Disable sub-projects that have additional dependencies and focus on parts that
2722 are needed for Smack and Jitsi.
2823
2924 Forwarded: not-needed
3025 ---
31 build.gradle | 54 ++++++++++++++++++------------------
32 jxmpp-stringprep-libidn/build.gradle | 2 +-
33 settings.gradle | 8 +++---
34 3 files changed, 32 insertions(+), 32 deletions(-)
26 build.gradle | 58 ++++++++++++++++++++++++++++-----------------------------
27 settings.gradle | 10 +++++-----
28 2 files changed, 34 insertions(+), 34 deletions(-)
3529
3630 diff --git a/build.gradle b/build.gradle
37 index 194c9df..a3dadf3 100644
31 index 194c9df..0010922 100644
3832 --- a/build.gradle
3933 +++ b/build.gradle
4034 @@ -6,22 +6,22 @@ buildscript {
6963
7064 repositories {
7165 mavenLocal()
72 @@ -50,7 +50,7 @@ allprojects {
66 @@ -45,14 +45,14 @@ allprojects {
67 sonatypeStagingUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
68 builtDate = (new java.text.SimpleDateFormat("yyyy-MM-dd")).format(new Date())
69 oneLineDesc = 'An Open Source XMPP (Jabber) library'
70 - androidProjects = [':jxmpp-core', ':jxmpp-jid', ':jxmpp-stringprep-libidn', ':jxmpp-util-cache'].collect{ project(it) }
71 + androidProjects = [':jxmpp-core', ':jxmpp-jid', ':jxmpp-util-cache'].collect{ project(it) }
72 jmhProjects = [':jxmpp-util-cache'].collect { project(it) }
7373 junit4Projects = [
7474 ':jxmpp-core',
7575 ':jxmpp-jid',
7676 - ':jxmpp-repl',
7777 + // ':jxmpp-repl',
7878 ':jxmpp-stringprep-icu4j',
79 ':jxmpp-stringprep-libidn',
79 - ':jxmpp-stringprep-libidn',
80 + // ':jxmpp-stringprep-libidn',
8081 ':jxmpp-util-cache',
82 ].collect { project(it) }
83 // Only enable Error Prone for non JMH projects, as JMH
8184 @@ -79,11 +79,11 @@ allprojects {
8285 )
8386 }
195198
196199 def getGitCommit() {
197200 def projectDirFile = new File("$projectDir")
198 diff --git a/jxmpp-stringprep-libidn/build.gradle b/jxmpp-stringprep-libidn/build.gradle
199 index c507adb..d5ffa81 100644
200 --- a/jxmpp-stringprep-libidn/build.gradle
201 +++ b/jxmpp-stringprep-libidn/build.gradle
202 @@ -3,5 +3,5 @@ JXMPP Stringprep with libidn."""
203
204 dependencies {
205 compile project(':jxmpp-core')
206 - compile 'org.gnu.inet:libidn:1.15'
207 + compile files('/usr/share/java/libidn.jar')
208 }
209201 diff --git a/settings.gradle b/settings.gradle
210 index ff18801..c408e49 100644
202 index ff18801..b1c8476 100644
211203 --- a/settings.gradle
212204 +++ b/settings.gradle
213205 @@ -1,8 +1,8 @@
216208 - 'jxmpp-strings-testframework',
217209 + // 'jxmpp-strings-testframework',
218210 'jxmpp-stringprep-icu4j',
219 'jxmpp-stringprep-libidn',
211 - 'jxmpp-stringprep-libidn',
220212 - 'jxmpp-stringprep-rocksxmppprecis',
221213 - 'jxmpp-util-cache',
222214 - 'jxmpp-repl'
215 + // 'jxmpp-stringprep-libidn',
223216 + // 'jxmpp-stringprep-rocksxmppprecis',
224217 + 'jxmpp-util-cache'
225218 + // 'jxmpp-repl'
22 %:
33 dh $@ --buildsystem=gradle --with maven_repo_helper
44
5 override_dh_auto_build:
6 dh_auto_build -- \
7 :jxmpp-core:jar \
8 :jxmpp-jid:jar \
9 :jxmpp-stringprep-icu4j:jar \
10 :jxmpp-util-cache:jar
11
512 override_dh_auto_test:
613 # TODO: Enable tests when all test dependencies are packaged