Gentoo Archives: gentoo-commits

From: gerion <gerion.entrup@×××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/gerislay:master commit in: net-im/jitsi/files/, net-im/jitsi/
Date: Mon, 22 Oct 2018 08:27:28
Message-Id: 1540195950.08a17876dc20c8398b9d7795c5c486ed80d2c435.gerion@gentoo
1 commit: 08a17876dc20c8398b9d7795c5c486ed80d2c435
2 Author: Gerion Entrup <gerion.entrup <AT> flump <DOT> de>
3 AuthorDate: Mon Oct 22 08:12:30 2018 +0000
4 Commit: gerion <gerion.entrup <AT> flump <DOT> de>
5 CommitDate: Mon Oct 22 08:12:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/user/gerislay.git/commit/?id=08a17876
7
8 net-im/jitsi: drop, too old version
9
10 net-im/jitsi/Manifest | 3 --
11 net-im/jitsi/files/jitsi | 33 ------------
12 net-im/jitsi/jitsi-2.3.4677.9761.ebuild | 90 ---------------------------------
13 3 files changed, 126 deletions(-)
14
15 diff --git a/net-im/jitsi/Manifest b/net-im/jitsi/Manifest
16 deleted file mode 100644
17 index 2fa836a..0000000
18 --- a/net-im/jitsi/Manifest
19 +++ /dev/null
20 @@ -1,3 +0,0 @@
21 -AUX jitsi 1295 SHA256 883788ffe84e327fabbe63ab3d26cd8d3a245c41100d8655e346c01909f07fb4 SHA512 8aa9c49c479432ac4cc93854df307e19f18651e1ef54128a0f5a590e8c12e216ecf99d04cef0f36d8acae000dd761b70650aa9d7e29401627c29a9f97cb2c462 WHIRLPOOL 235609996f80412ea3edb03a53f92d773f0b3c1a6d48ac69ca43096533162dd6453dc0ffe80d67118e2414bd949ec1735828d89653b0773b0d9c03960b1eed9a
22 -DIST jitsi-src-2.3.4677.9761.zip 64613726 SHA256 45316acf264120d94547a8efab8c26ec785f6c0b2e8c17fba9e6896463b15f92 SHA512 b88dcf43fc6fcc25515be49cc21e66877878ef8bc048c90a29ecf45ef5369f81850fe8b95dacadec57904d123b61c72e82e09db3b884016bddeece7a6bc82011 WHIRLPOOL abcdd9326905e8d5f49daf884bf7ba0847457f07551142fdb270f7da562a54c4a2dd357f98e5e91e183151e9e61d166ed18446a801406fc228123482624022d2
23 -EBUILD jitsi-2.3.4677.9761.ebuild 2637 SHA256 ed3e7c6e484607ef6d7e82c2c970dfbf84b948016921c15b53044eafceef6edc SHA512 384c356340aa02d5f051d20bc3d80f72b6cb47b028839636193f7e2ceb3ef42ed258ee7590def67ff9f605fcc8f90206b4d873f8f16050aa92be00a5399d7ceb WHIRLPOOL 10e5ec3a3591a19c552919dd24faa38f75a16ee8ccca341f1ef607e1b4f5fdb7c8c5e480a3af77ba82b01b3eeed673d6b2bb3b259be525050602682332b6d1e4
24
25 diff --git a/net-im/jitsi/files/jitsi b/net-im/jitsi/files/jitsi
26 deleted file mode 100644
27 index 09fdcfa..0000000
28 --- a/net-im/jitsi/files/jitsi
29 +++ /dev/null
30 @@ -1,33 +0,0 @@
31 -#!/bin/bash
32 -
33 -# Change memory settings for 32-bit systems
34 -CLIENTARGS=""
35 -uname -m | grep -q 'i.86' && CLIENTARGS="-client -Xmx256m"
36 -
37 -# Standard paths
38 -javabin="$(java-config -J)"
39 -SCDIR="/usr/lib/jitsi"
40 -LIBPATH="$SCDIR/lib"
41 -
42 -# Configuration files
43 -FELIX_CONFIG="$LIBPATH/felix.client.run.properties"
44 -LOG_CONFIG="$LIBPATH/logging.properties"
45 -
46 -# Command assembly
47 -# Add libraries and sip-communicator bundles:
48 -CLASSPATH="$LIBPATH/jdic_stub.jar:$LIBPATH/jdic-all.jar:$LIBPATH/felix.jar:$LIBPATH/bcprovider.jar:$SCDIR/sc-bundles/sc-launcher.jar:$SCDIR/sc-bundles/util.jar"
49 -# Set the system properties:
50 -SYSPROPS=( -Djna.library.path="$LIBPATH/native" -Dfelix.config.properties="file:$FELIX_CONFIG" -Djava.util.logging.config.file="$LOG_CONFIG" )
51 -# The full command:
52 -COMMAND=( "$javabin" $CLIENTARGS -classpath "$CLASSPATH" "${SYSPROPS[@]}" net.java.sip.communicator.launcher.SIPCommunicator )
53 -
54 -# Also add "LIBPATH/native" to LD_LIBRARY_PATH.
55 -jarch="$( uname -m | sed 's/i.86/i386/; s/x86_64/amd64/' )"
56 -export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}${jdir}/jre/lib/${jarch}:${jdir}/jre/lib/${jarch}/client:${jdir}/jre/lib/${jarch}/xawt:$LIBPATH/native"
57 -
58 -# Fix font anti-aliasing
59 -export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"
60 -
61 -# Run the command
62 -cd "$SCDIR"
63 -exec "${COMMAND[@]}" "$@"
64
65 diff --git a/net-im/jitsi/jitsi-2.3.4677.9761.ebuild b/net-im/jitsi/jitsi-2.3.4677.9761.ebuild
66 deleted file mode 100644
67 index 4eb78e2..0000000
68 --- a/net-im/jitsi/jitsi-2.3.4677.9761.ebuild
69 +++ /dev/null
70 @@ -1,90 +0,0 @@
71 -# Copyright 1999-2012 Gentoo Foundation
72 -# Distributed under the terms of the GNU General Public License v2
73 -# $Header: $
74 -
75 -EAPI=5
76 -
77 -inherit java-pkg-2 java-ant-2 eutils multilib prefix
78 -
79 -DESCRIPTION="An audio/video SIP VoIP phone and instant messenger written in Java"
80 -HOMEPAGE="http://www.jitsi.org/"
81 -SRC_URI="https://download.jitsi.org/jitsi/nightly/src/${PN}-src-${PV}.zip"
82 -# This download comes with 30 Mb of useless jars.
83 -# SVN access is available, but requires an account at java.net.
84 -
85 -LICENSE="LGPL-2.1"
86 -SLOT="0"
87 -KEYWORDS="~x86 ~amd64"
88 -IUSE="" # FIXME: Should not use ALSA directly, unless USE="alsa", because e.g. PulseAudio could already use and block it.
89 -
90 -RDEPEND=">=virtual/jdk-1.6"
91 -DEPEND=">=virtual/jdk-1.6
92 - dev-java/xalan:0
93 - dev-java/ant-nodeps:0
94 - dev-util/patchelf"
95 -
96 -S=${WORKDIR}/${PN}
97 -
98 -QA_PREBUILT="usr/lib*/${PN}/lib/native/*"
99 -EANT_BUILD_TARGET="rebuild"
100 -
101 -src_prepare() {
102 - # Set RPATH for preserve-libs handling.
103 - local x jarch
104 - if [[ ${ARCH} == amd64 ]] ; then
105 - jarch=amd64
106 - cd lib/native/linux-64 || die
107 - else
108 - jarch=i386
109 - cd lib/native/linux || die
110 - rm *mozembed* || die
111 - fi
112 - local x jarch jdir
113 - jdir=$(java-config -o || die)
114 - for x in * ; do
115 - # Use \x7fELF header to separate ELF executables and libraries
116 - [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
117 - patchelf --set-rpath "\$ORIGIN:${jdir}/jre/lib/${jarch}:${jdir}/jre/lib/${jarch}/client:${jdir}/jre/lib/${jarch}/xawt:/usr/lib/${PN}/lib/native" "${x}" ||
118 - die "patchelf failed on ${x}"
119 - done
120 -}
121 -
122 -src_install() {
123 -
124 - # Netbeans bundles
125 - insinto /usr/$(get_libdir)/${PN}/sc-bundles
126 - doins sc-bundles/*.jar sc-bundles/os-specific/linux/*.jar
127 -
128 - # Other libraries
129 - insinto /usr/$(get_libdir)/${PN}/lib
130 - doins lib/* lib/os-specific/linux/*
131 - doins -r lib/bundle # Unnecessary?
132 -
133 - # Native libraries
134 - exeinto /usr/$(get_libdir)/${PN}/lib/native
135 - # WARNING: Foreign binaries!
136 - if [[ ${ARCH} == amd64 ]] ; then
137 - doexe lib/native/linux-64/*
138 - else
139 - doexe lib/native/linux/*
140 - fi
141 -
142 - # Make sure revdep-rebuild doesn’t complain about them.
143 - echo "SEARCH_DIRS_MASK=\"${EPREFIX}/usr/$(get_libdir)/${PN}/lib/native\"" > 50-"${PN}"
144 - insinto /etc/revdep-rebuild && doins "50-${PN}"
145 -
146 - # Starter item / icon
147 - insinto /usr/share/pixmaps
148 - doins resources/install/debian/${PN}.svg
149 - make_desktop_entry ${PN} Jitsi ${PN} "AudioVideo;Network;InstantMessaging;Chat;Telephony;VideoConference;Java;"
150 -
151 - # Generate man page from template
152 - sed -e 's/_PACKAGE_NAME_/jitsi/g' -e 's/_APP_NAME_/Jitsi/g' \
153 - resources/install/debian/jitsi.1.tmpl > "${T}/jitsi.1" || die
154 - doman "${T}/jitsi.1"
155 -
156 - # Install custom runscript
157 - exeinto /usr/bin
158 - dobin "${FILESDIR}/jitsi"
159 -
160 -}