1 |
tommy 10/04/10 00:11:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: fec-1.0.4-r1.ebuild |
5 |
Removed: fec-1.0.4.ebuild |
6 |
Log: |
7 |
Revision bump, fixes bug 276728 and bug 307549, thanks to Diego “Flameeyes” Pettenò for investigation and patch |
8 |
(Portage version: 2.2_rc67-r3/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.10 dev-java/fec/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/fec/ChangeLog?rev=1.10&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/fec/ChangeLog?rev=1.10&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/fec/ChangeLog?r1=1.9&r2=1.10 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/fec/ChangeLog,v |
20 |
retrieving revision 1.9 |
21 |
retrieving revision 1.10 |
22 |
diff -u -r1.9 -r1.10 |
23 |
--- ChangeLog 26 Feb 2010 12:24:29 -0000 1.9 |
24 |
+++ ChangeLog 10 Apr 2010 00:11:01 -0000 1.10 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for dev-java/fec |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/fec/ChangeLog,v 1.9 2010/02/26 12:24:29 ali_bush Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fec/ChangeLog,v 1.10 2010/04/10 00:11:01 tommy Exp $ |
30 |
+ |
31 |
+*fec-1.0.4-r1 (10 Apr 2010) |
32 |
+ |
33 |
+ 10 Apr 2010; Thomas Sachau (Tommy[D]) <tommy@g.o> |
34 |
+ -fec-1.0.4.ebuild, +fec-1.0.4-r1.ebuild, +files/fec-1.0.4-build.patch, |
35 |
+ files/fec-1.0.4-soname.patch: |
36 |
+ Revision bump, fixes bug 276728 and bug 307549, thanks to Diego |
37 |
+ “Flameeyes” Pettenò for investigation and patch |
38 |
|
39 |
26 Feb 2010; Alistair Bush <ali_bush@g.o> fec-1.0.4.ebuild, |
40 |
+files/fec-1.0.4-soname.patch: |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-java/fec/fec-1.0.4-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/fec/fec-1.0.4-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/fec/fec-1.0.4-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: fec-1.0.4-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2010 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/fec/fec-1.0.4-r1.ebuild,v 1.1 2010/04/10 00:11:02 tommy Exp $ |
54 |
|
55 |
JAVA_PKG_IUSE="doc source" |
56 |
|
57 |
inherit flag-o-matic java-pkg-2 java-ant-2 toolchain-funcs |
58 |
|
59 |
DESCRIPTION="Forword error correction libs" |
60 |
HOMEPAGE="http://www.onionnetworks.com/developers/" |
61 |
SRC_URI="mirror://gentoo/${P}.tar.bz2" |
62 |
|
63 |
LICENSE="as-is" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="" |
67 |
|
68 |
COMMON_DEPEND="dev-java/log4j |
69 |
dev-java/concurrent-util" |
70 |
|
71 |
RDEPEND=">=virtual/jre-1.4 |
72 |
${COMMON_DEPEND}" |
73 |
DEPEND=">=virtual/jdk-1.4 |
74 |
app-arch/unzip |
75 |
${COMMON_DEPEND}" |
76 |
EANT_BUILD_TARGET="jars" |
77 |
|
78 |
src_unpack() { |
79 |
unpack ${A} |
80 |
cd "${S}" || die |
81 |
sed -i -e 's/build.compiler=jikes/#build.compiler=jikes/g' build.properties || die |
82 |
sed -i -e 's/test.lib/lib/g' build.properties || die |
83 |
epatch "${FILESDIR}"/${P}-{libfec8path,build,soname}.patch |
84 |
|
85 |
eant clean |
86 |
cd lib || die |
87 |
rm -v *.jar || die |
88 |
java-pkg_jar-from log4j |
89 |
java-pkg_jar-from concurrent-util concurrent.jar concurrent-jaxed.jar |
90 |
cd "${S}" || die |
91 |
unzip -q common-20020926.zip || die |
92 |
cd common-20020926 || die |
93 |
eant clean |
94 |
cp -r src/com ../src/ || die |
95 |
} |
96 |
|
97 |
src_compile() { |
98 |
java-pkg-2_src_compile |
99 |
cd "${S}"/src/csrc |
100 |
append-flags -fPIC |
101 |
emake CC=$(tc-getCC) CFLAGS="${CFLAGS} $(java-pkg_get-jni-cflags)" || die |
102 |
} |
103 |
|
104 |
#there seem to be unit tests, but they are in such a state. |
105 |
|
106 |
src_install() { |
107 |
java-pkg_newjar lib/onion-${PN}.jar ${PN}.jar |
108 |
use doc && java-pkg_dojavadoc javadoc |
109 |
use source && java-pkg_dosrc src/com |
110 |
dolib.so src/csrc/libfec{8,16}.so || die |
111 |
} |