add multilib aware ebuilds
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2784 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
ca658c368a
commit
c3102397e6
288
app-crypt/qca/ChangeLog
Normal file
288
app-crypt/qca/ChangeLog
Normal file
@ -0,0 +1,288 @@
|
|||||||
|
# ChangeLog for app-crypt/qca
|
||||||
|
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/ChangeLog,v 1.82 2010/03/26 23:32:41 yngwin Exp $
|
||||||
|
|
||||||
|
26 Mar 2010; Ben de Groot <yngwin@gentoo.org> qca-2.0.2-r2.ebuild:
|
||||||
|
Use qt4-r2.eclass (bug #311481). Removed unneeded die messages.
|
||||||
|
|
||||||
|
13 Jan 2010; Jonathan Callen <abcd@gentoo.org> qca-2.0.2-r2.ebuild:
|
||||||
|
Add initial USE=aqua support, fix rpaths for prefix
|
||||||
|
|
||||||
|
29 Dec 2009; Raúl Porcel <armin76@gentoo.org> qca-2.0.2-r2.ebuild:
|
||||||
|
Add ~arm wrt #288000
|
||||||
|
|
||||||
|
14 Dec 2009; Jonathan Callen <abcd@gentoo.org> qca-2.0.2-r2.ebuild:
|
||||||
|
Use EPREFIXed ca-certificates
|
||||||
|
|
||||||
|
14 Dec 2009; Jonathan Callen <abcd@gentoo.org> -qca-2.0.0-r2.ebuild,
|
||||||
|
-files/qca-2.0.0-debug-same-pkgconfig-file.patch, -qca-2.0.2-r1.ebuild,
|
||||||
|
qca-2.0.2-r2.ebuild:
|
||||||
|
Add ~amd64-linux/~x86-linux; drop old versions
|
||||||
|
|
||||||
|
13 Nov 2009; Joseph Jezak <josejx@gentoo.org> qca-2.0.2-r2.ebuild:
|
||||||
|
Marked ppc64 stable for bug #272685.
|
||||||
|
|
||||||
|
05 Oct 2009; Dominik Kapusta <ayoy@gentoo.org> qca-2.0.0-r2.ebuild:
|
||||||
|
Removed alternative dependency and references to Qt metapackage, converted
|
||||||
|
to EAPI=2
|
||||||
|
|
||||||
|
29 Aug 2009; nixnut <nixnut@gentoo.org> qca-2.0.2-r2.ebuild:
|
||||||
|
ppc stable #272865
|
||||||
|
|
||||||
|
09 Aug 2009; nixnut <nixnut@gentoo.org> qca-2.0.2-r1.ebuild:
|
||||||
|
ppc stable #272865
|
||||||
|
|
||||||
|
21 Jul 2009; Raúl Porcel <armin76@gentoo.org> qca-2.0.2-r2.ebuild:
|
||||||
|
alpha/ia64/sparc stable wrt #272865
|
||||||
|
|
||||||
|
21 Jul 2009; Raúl Porcel <armin76@gentoo.org> qca-2.0.2-r1.ebuild:
|
||||||
|
ia64/sparc stable wrt #272865
|
||||||
|
|
||||||
|
01 Jul 2009; Markus Meier <maekke@gentoo.org> qca-2.0.2-r2.ebuild:
|
||||||
|
amd64 stable, bug #272865
|
||||||
|
|
||||||
|
16 Jun 2009; Christian Faulhammer <fauli@gentoo.org> qca-2.0.2-r2.ebuild:
|
||||||
|
stable x86, bug 272865
|
||||||
|
|
||||||
|
16 Jun 2009; Tobias Klausmann <klausman@gentoo.org> qca-2.0.2-r1.ebuild:
|
||||||
|
Stable on alpha, bug #272865
|
||||||
|
|
||||||
|
13 Jun 2009; Tomáš Chvátal <scarabeus@gentoo.org> qca-2.0.2-r2.ebuild:
|
||||||
|
Adjust the dep back, the -r3 is slottable.
|
||||||
|
|
||||||
|
12 Jun 2009; Jeroen Roovers <jer@gentoo.org> qca-2.0.2-r2.ebuild:
|
||||||
|
Stable for HPPA (bug #272865).
|
||||||
|
|
||||||
|
*qca-2.0.2-r2 (12 Jun 2009)
|
||||||
|
|
||||||
|
12 Jun 2009; Tomáš Chvátal <scarabeus@gentoo.org> +qca-2.0.2-r2.ebuild:
|
||||||
|
Actualy fix the deps to be correct. Dependency on debug is never = but
|
||||||
|
only ?. Also block correct slot not only <x because it would fail when
|
||||||
|
there is some new revbump. Also move that blocker to rdep, where all
|
||||||
|
blocks should be (binary packages).
|
||||||
|
|
||||||
|
10 Jun 2009; Markus Meier <maekke@gentoo.org> qca-2.0.2-r1.ebuild:
|
||||||
|
amd64/x86 stable, bug #272865
|
||||||
|
|
||||||
|
08 Jun 2009; Jeroen Roovers <jer@gentoo.org> qca-2.0.2-r1.ebuild:
|
||||||
|
Stable for HPPA (bug #272865).
|
||||||
|
|
||||||
|
06 Jun 2009; Ben de Groot <yngwin@gentoo.org> -qca-1.0-r2.ebuild,
|
||||||
|
-qca-2.0.1-r1.ebuild, -qca-2.0.2.ebuild:
|
||||||
|
Delete old versions
|
||||||
|
|
||||||
|
*qca-2.0.2-r1 (04 May 2009)
|
||||||
|
|
||||||
|
04 May 2009; Markos Chandras <hwoarang@gentoo.org> +qca-2.0.2-r1.ebuild,
|
||||||
|
+files/qca-2.0.2-pcfilespath.patch:
|
||||||
|
Apply correct pkgconfig patch. Should fix bug 268090
|
||||||
|
|
||||||
|
*qca-2.0.2 (02 May 2009)
|
||||||
|
|
||||||
|
02 May 2009; Markos Chandras <hwoarang@gentoo.org> +qca-2.0.2.ebuild:
|
||||||
|
Version bump, thanks to Davide Pesavento <davidepesa@gmail.com> for the
|
||||||
|
initial ebuild. Fixes bug #268090
|
||||||
|
|
||||||
|
26 Apr 2009; Ben de Groot <yngwin@gentoo.org> qca-2.0.0-r2, qca-2.0.1-r1:
|
||||||
|
Fix qt dep, move 2.0.1 to eapi-2 with use dep
|
||||||
|
|
||||||
|
02 Dec 2008; Brent Baude <ranger@gentoo.org> qca-1.0-r3.ebuild:
|
||||||
|
stable ppc64, bug 238000
|
||||||
|
|
||||||
|
30 Sep 2008; Raúl Porcel <armin76@gentoo.org> qca-1.0-r3.ebuild:
|
||||||
|
alpha/ia64 stable wrt #238000
|
||||||
|
|
||||||
|
29 Sep 2008; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
|
||||||
|
qca-1.0-r3.ebuild:
|
||||||
|
Fixed RDEPEND - thanks to Arfrever Frehtes Taifersar Arahesis (Arfrever).
|
||||||
|
Fixes bug 239057.
|
||||||
|
|
||||||
|
28 Sep 2008; Markus Meier <maekke@gentoo.org> qca-1.0-r3.ebuild:
|
||||||
|
x86 stable, bug #238000
|
||||||
|
|
||||||
|
27 Sep 2008; nixnut <nixnut@gentoo.org> qca-1.0-r3.ebuild:
|
||||||
|
Stable on ppc wrt bug 238000
|
||||||
|
|
||||||
|
26 Sep 2008; Jeremy Olexa <darkside@gentoo.org> qca-1.0-r3.ebuild:
|
||||||
|
amd64 stable, bug #238000
|
||||||
|
|
||||||
|
23 Sep 2008; Ferris McCormick <fmccor@gentoo.org> qca-1.0-r3.ebuild:
|
||||||
|
Sparc stable, Bug #238000.
|
||||||
|
|
||||||
|
23 Sep 2008; Jeroen Roovers <jer@gentoo.org> qca-1.0-r3.ebuild:
|
||||||
|
Stable for HPPA (bug #238000).
|
||||||
|
|
||||||
|
20 Sep 2008; Raúl Porcel <armin76@gentoo.org> qca-2.0.0-r2.ebuild:
|
||||||
|
x86 stable wrt #236497
|
||||||
|
|
||||||
|
17 Sep 2008; Ferris McCormick <fmccor@gentoo.org> qca-2.0.0-r2.ebuild:
|
||||||
|
Sparc stable, needed for Bug #236497.
|
||||||
|
|
||||||
|
17 Sep 2008; Thomas Anderson <gentoofan23@gentoo.org> qca-2.0.0-r2.ebuild:
|
||||||
|
stable amd64, bug 236497
|
||||||
|
|
||||||
|
17 Sep 2008; Brent Baude <ranger@gentoo.org> qca-2.0.0-r2.ebuild:
|
||||||
|
stable ppc64, bug 236497
|
||||||
|
|
||||||
|
13 Sep 2008; Jeroen Roovers <jer@gentoo.org> qca-2.0.0-r2.ebuild:
|
||||||
|
Stable for HPPA (bug #236497).
|
||||||
|
|
||||||
|
13 Sep 2008; nixnut <nixnut@gentoo.org> qca-2.0.0-r2.ebuild:
|
||||||
|
Stable on ppc wrt bug 236497
|
||||||
|
|
||||||
|
*qca-2.0.1-r1 (06 Sep 2008)
|
||||||
|
|
||||||
|
06 Sep 2008; Daniel Black <dragonheart@gentoo.org>
|
||||||
|
files/qca-2.0.1-pcfilespath.patch, -qca-2.0.1.ebuild,
|
||||||
|
+qca-2.0.1-r1.ebuild:
|
||||||
|
properly fixed now thanks Justin Heesemann - bug #236514
|
||||||
|
|
||||||
|
03 Sep 2008; Daniel Black <dragonheart@gentoo.org>
|
||||||
|
+files/qca-2.0.1-pcfilespath.patch, qca-2.0.1.ebuild:
|
||||||
|
fix for pkgconfig file
|
||||||
|
|
||||||
|
*qca-2.0.1 (31 Aug 2008)
|
||||||
|
|
||||||
|
31 Aug 2008; Daniel Black <dragonheart@gentoo.org> +qca-2.0.1.ebuild:
|
||||||
|
version bump as per bug #225467 requested by Davide Pesavento
|
||||||
|
|
||||||
|
27 Jul 2008; Carsten Lohrke <carlo@gentoo.org> qca-1.0-r2.ebuild,
|
||||||
|
qca-1.0-r3.ebuild:
|
||||||
|
QA: Get rid of deprecated qt_min_version(). Quoting issues.
|
||||||
|
|
||||||
|
18 Jul 2008; Alexis Ballier <aballier@gentoo.org> qca-2.0.0-r2.ebuild:
|
||||||
|
keyword ~x86-fbsd
|
||||||
|
|
||||||
|
27 Mar 2008; Markus Rothe <corsair@gentoo.org> qca-2.0.0-r2.ebuild:
|
||||||
|
Added ~ppc
|
||||||
|
|
||||||
|
26 Mar 2008; Raúl Porcel <armin76@gentoo.org> qca-2.0.0-r2.ebuild:
|
||||||
|
Add ~alpha/~ia64/~sparc wrt #213868
|
||||||
|
|
||||||
|
15 Mar 2008; Markus Rothe <corsair@gentoo.org> qca-2.0.0-r2.ebuild:
|
||||||
|
Added ~ppc64
|
||||||
|
|
||||||
|
05 Mar 2008; Ingmar Vanhassel <ingmar@gentoo.org> qca-1.0-r2.ebuild:
|
||||||
|
s/mips/~mips/
|
||||||
|
|
||||||
|
05 Mar 2008; Ingmar Vanhassel <ingmar@gentoo.org> qca-2.0.0-r2.ebuild:
|
||||||
|
Make dependencies compatible with split Qt-4.4.0*.
|
||||||
|
|
||||||
|
01 Mar 2008; Jeroen Roovers <jer@gentoo.org> qca-2.0.0-r2.ebuild:
|
||||||
|
Marked ~hppa.
|
||||||
|
|
||||||
|
15 Feb 2008; Alon Bar-Lev <alonbl@gentoo.org> qca-1.0-r2.ebuild,
|
||||||
|
qca-1.0-r3.ebuild, qca-2.0.0-r2.ebuild:
|
||||||
|
Fix URI, bug#210171, thanks to Thomas Wouters
|
||||||
|
|
||||||
|
23 Jan 2008; Ingmar Vanhassel <ingmar@gentoo.org> ChangeLog:
|
||||||
|
Fix blocker.
|
||||||
|
|
||||||
|
23 Jan 2008; Ingmar Vanhassel <ingmar@gentoo.org> qca-2.0.0-r2.ebuild:
|
||||||
|
Block versions of app-crypt/qca:0 that don't slot properly.
|
||||||
|
|
||||||
|
*qca-1.0-r3 (18 Jan 2008)
|
||||||
|
|
||||||
|
18 Jan 2008; Ingmar Vanhassel <ingmar@gentoo.org> +qca-1.0-r3.ebuild:
|
||||||
|
Fix slotting for =app-crypt/qca-1*, thanks to Alon Bar-Lev in bug 129536.
|
||||||
|
|
||||||
|
13 Jan 2008; Wulf C. Krueger <philantrop@gentoo.org> metadata.xml,
|
||||||
|
qca-2.0.0-r2.ebuild:
|
||||||
|
Removed accidental RESTRICT=mirror and added kde to metadata.xml.
|
||||||
|
|
||||||
|
*qca-2.0.0-r2 (13 Jan 2008)
|
||||||
|
|
||||||
|
13 Jan 2008; Wulf C. Krueger <philantrop@gentoo.org>
|
||||||
|
+files/qca-2.0.0-debug-same-pkgconfig-file.patch, +qca-2.0.0-r2.ebuild:
|
||||||
|
Version bump as per bug 129536.
|
||||||
|
|
||||||
|
19 Oct 2006; Markus Ullmann <jokey@gentoo.org> qca-1.0-r2.ebuild:
|
||||||
|
minor QA: IUSE wrt bug #150083
|
||||||
|
|
||||||
|
08 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> metadata.xml:
|
||||||
|
Gustavo gave up on this package, redirect to qt herd.
|
||||||
|
|
||||||
|
07 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> qca-1.0-r2.ebuild:
|
||||||
|
Add ~x86-fbsd keyword.
|
||||||
|
|
||||||
|
09 Mar 2006; Gustavo Felisberto <humpback@gentoo.org>; qca-1.0-r2.ebuild:
|
||||||
|
Added no strip to lib at request from Flameeyes.
|
||||||
|
|
||||||
|
25 Oct 2005; Gustavo Felisberto <humpback@gentoo.org>; qca-1.0-r2.ebuild:
|
||||||
|
Plugin like deps should not be in RDEPEND
|
||||||
|
|
||||||
|
29 Jul 2005; Daniel Black <dragonheart@gentoo.org> -qca-1.0.ebuild,
|
||||||
|
-qca-1.0-r1.ebuild, qca-1.0-r2.ebuild:
|
||||||
|
removed die from epatch || die. old version cleanout
|
||||||
|
|
||||||
|
28 Jul 2005; Caleb Tennis <caleb@gentoo.org> qca-1.0.ebuild,
|
||||||
|
qca-1.0-r1.ebuild, qca-1.0-r2.ebuild:
|
||||||
|
Fix qt per bug #100235
|
||||||
|
|
||||||
|
09 Jul 2005; Gustavo Felisberto <humpback@gentoo.org>;
|
||||||
|
+files/qca-1.0-fbsd.patch, qca-1.0-r2.ebuild:
|
||||||
|
Patch to solve problems on bsd. Thaks to Diego Pettenò in bug #93817.
|
||||||
|
|
||||||
|
02 Jul 2005; Hardave Riar <hardave@gentoo.org> qca-1.0-r2.ebuild:
|
||||||
|
Stable on mips
|
||||||
|
|
||||||
|
09 Apr 2005; Markus Rothe <corsair@gentoo.org> qca-1.0-r2.ebuild:
|
||||||
|
Stable on ppc64
|
||||||
|
|
||||||
|
08 Apr 2005; Markus Rothe <corsair@gentoo.org> qca-1.0-r2.ebuild:
|
||||||
|
Added ~ppc64 to KEYWORDS
|
||||||
|
|
||||||
|
26 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> qca-1.0-r2.ebuild:
|
||||||
|
Stable on alpha.
|
||||||
|
|
||||||
|
24 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> qca-1.0-r2.ebuild:
|
||||||
|
stable on amd64 wrt #86389
|
||||||
|
|
||||||
|
23 Feb 2005; Hardave Riar <hardave@gentoo.org> qca-1.0-r2.ebuild:
|
||||||
|
Marked ~mips
|
||||||
|
|
||||||
|
*qca-1.0-r2 (24 Jan 2005)
|
||||||
|
|
||||||
|
24 Jan 2005; Gustavo Felisberto <humpback@gentoo.org>; +qca-1.0-r2.ebuild:
|
||||||
|
Some cosmetic fixes, thanks to Justin (psi developer)
|
||||||
|
|
||||||
|
21 Jan 2005; Lars Weiler <pylon@gentoo.org> qca-1.0-r1.ebuild:
|
||||||
|
Stable on ppc.
|
||||||
|
|
||||||
|
21 Jan 2005; Bryan Østergaard <kloeri@gentoo.org> qca-1.0-r1.ebuild:
|
||||||
|
Add ~alpha keyword.
|
||||||
|
|
||||||
|
18 Jan 2005; Gustavo Zacarias <gustavoz@gentoo.org> qca-1.0-r1.ebuild:
|
||||||
|
Stable on sparc
|
||||||
|
|
||||||
|
17 Jan 2005; Gustavo Felisberto <humpback@gentoo.org>; qca-1.0-r1.ebuild:
|
||||||
|
Marked x86
|
||||||
|
|
||||||
|
05 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org> qca-1.0-r1.ebuild,
|
||||||
|
qca-1.0.ebuild:
|
||||||
|
multilib fixes.
|
||||||
|
|
||||||
|
*qca-1.0-r1 (04 Jan 2005)
|
||||||
|
|
||||||
|
04 Jan 2005; Gustavo Felisberto <humpback@gentoo.org>;
|
||||||
|
+files/qca-pathfix.patch, +qca-1.0-r1.ebuild:
|
||||||
|
Fixed no-fixpath. Lets see if it solves the Sandbox issues.
|
||||||
|
|
||||||
|
03 Jan 2005; Gustavo Felisberto <humpback@gentoo.org>; metadata.xml:
|
||||||
|
Updated maintainer in metadata.xml
|
||||||
|
|
||||||
|
30 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org> qca-1.0.ebuild:
|
||||||
|
Added to ~amd64.
|
||||||
|
|
||||||
|
30 Dec 2004; Chris White <chriswhite@gentoo.org> qca-1.0.ebuild:
|
||||||
|
Ok so, added ~ppc keywords and ~hppa/~ia64 as per vapier's request. Fixed to
|
||||||
|
install into /usr not /usr/local.
|
||||||
|
|
||||||
|
29 Dec 2004; Jason Wever <weeve@gentoo.org> qca-1.0.ebuild:
|
||||||
|
Added ~sparc keyword to fix broken deps of qca-tls-1.0-r1.
|
||||||
|
|
||||||
|
*qca-1.0 (03 Dec 2004)
|
||||||
|
|
||||||
|
03 Dec 2004; Gustavo Felisberto <humpback@gentoo.org>; +qca-1.0.ebuild:
|
||||||
|
Initial import
|
||||||
|
|
5
app-crypt/qca/Manifest
Normal file
5
app-crypt/qca/Manifest
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
AUX qca-2.0.2-pcfilespath.patch 409 RMD160 65368cb474f2dd1d79b0c9d00424831acd777465 SHA1 a2defc2ae7d3dc31986f89cb8ec2760df85cb208 SHA256 d4d276c13f08bc538b79779aba49126b310df5c97f95b2c7010de050c880d695
|
||||||
|
DIST qca-2.0.3.tar.bz2 4530731 RMD160 333cfdce91fedfaec09c205528de52d7b569c521 SHA1 9c868b05b81dce172c41b813de4de68554154c60 SHA256 8da20c89f390954fdcfcd3c4deef379213ddb5ae9d6b5e0c917d23f5e474895f
|
||||||
|
EBUILD qca-2.0.3.ebuild 2001 RMD160 22ce40dbb5c923a3b4db9ba51337f5d73ab21594 SHA1 5caa3277f0d299e0f10dfe88bb81c9133e78003a SHA256 7d0cf93624e996aaaf3f3aa13ee2b3172e2011612b549f877d649aa2b3a5cb69
|
||||||
|
MISC ChangeLog 10061 RMD160 bcc94aabbdecb92b2c8df0e86385532a03b94967 SHA1 d6a51d5caf2ad81b65c9f2e81d61b5587a803244 SHA256 a29b098847839779db16833bf055059366fef35062ad1412d6c28efdccb3823f
|
||||||
|
MISC metadata.xml 192 RMD160 421d4665996ea38fdfc756e2da700603abe17ec7 SHA1 c32af4b790776c36b524e5f2e2dca587c9cd3351 SHA256 e585d77a075b30463ad28cc89374f9ef2876636bca95a23321b824e0122aa6fd
|
13
app-crypt/qca/files/qca-2.0.2-pcfilespath.patch
Normal file
13
app-crypt/qca/files/qca-2.0.2-pcfilespath.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: qca-2.0.2/configure
|
||||||
|
===================================================================
|
||||||
|
--- qca-2.0.2.orig/configure
|
||||||
|
+++ qca-2.0.2/configure
|
||||||
|
@@ -937,7 +937,7 @@ public:
|
||||||
|
if(!pcfiles.isEmpty())
|
||||||
|
{
|
||||||
|
str = QString(
|
||||||
|
- "pcfiles.path = \$\$LIBDIR/pkgconfig\n"
|
||||||
|
+ "pcfiles.path = \$\$LIBDIR/../pkgconfig\n"
|
||||||
|
"pcfiles.files = %1\n"
|
||||||
|
"INSTALLS += pcfiles\n"
|
||||||
|
).arg(pcfiles.join(" "));
|
7
app-crypt/qca/metadata.xml
Normal file
7
app-crypt/qca/metadata.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>crypto</herd>
|
||||||
|
<herd>qt</herd>
|
||||||
|
<herd>kde</herd>
|
||||||
|
</pkgmetadata>
|
75
app-crypt/qca/qca-2.0.3.ebuild
Normal file
75
app-crypt/qca/qca-2.0.3.ebuild
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/qca-2.0.2-r2.ebuild,v 1.13 2010/03/26 23:32:41 yngwin Exp $
|
||||||
|
|
||||||
|
EAPI="2"
|
||||||
|
inherit eutils multilib qt4-r2
|
||||||
|
|
||||||
|
DESCRIPTION="Qt Cryptographic Architecture (QCA)"
|
||||||
|
HOMEPAGE="http://delta.affinix.com/qca/"
|
||||||
|
SRC_URI="http://delta.affinix.com/download/${PN}/${PV%.*}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2"
|
||||||
|
SLOT="2"
|
||||||
|
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="aqua debug doc examples"
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DEPEND="x11-libs/qt-core:4[debug?]"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
!<app-crypt/qca-1.0-r3:0"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}"/${PN}-2.0.2-pcfilespath.patch
|
||||||
|
|
||||||
|
use aqua && sed -i \
|
||||||
|
-e "s|QMAKE_LFLAGS_SONAME =.*|QMAKE_LFLAGS_SONAME = -Wl,-install_name,|g" \
|
||||||
|
src/src.pro
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
use prefix || EPREFIX=
|
||||||
|
|
||||||
|
_libdir=$(get_libdir)
|
||||||
|
|
||||||
|
# Ensure proper rpath
|
||||||
|
export EXTRA_QMAKE_RPATH="${EPREFIX}/usr/${_libdir}/qca2"
|
||||||
|
|
||||||
|
ABI= ./configure \
|
||||||
|
--prefix="${EPREFIX}"/usr \
|
||||||
|
--qtdir="${EPREFIX}"/usr \
|
||||||
|
--includedir="${EPREFIX}"/usr/include/qca2 \
|
||||||
|
--libdir="${EPREFIX}"/usr/${_libdir}/qca2 \
|
||||||
|
--certstore-path="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt \
|
||||||
|
--no-separate-debug-info \
|
||||||
|
--disable-tests \
|
||||||
|
--$(use debug && echo debug || echo release) \
|
||||||
|
--no-framework \
|
||||||
|
|| die "configure failed"
|
||||||
|
|
||||||
|
eqmake4
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake INSTALL_ROOT="${D}" install || die
|
||||||
|
dodoc README TODO || die
|
||||||
|
|
||||||
|
cat <<-EOF > "${WORKDIR}"/44qca2
|
||||||
|
LDPATH="${EPREFIX}/usr/${_libdir}/qca2"
|
||||||
|
EOF
|
||||||
|
doenvd "${WORKDIR}"/44qca2 || die
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
dohtml "${S}"/apidocs/html/* || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
insinto /usr/share/doc/${PF}/
|
||||||
|
doins -r "${S}"/examples || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# add the proper rpath for packages that do CONFIG += crypto
|
||||||
|
echo "QMAKE_RPATHDIR += \"${EPREFIX}/usr/${_libdir}/qca2\"" >> \
|
||||||
|
"${D%/}${EPREFIX}/usr/share/qt4/mkspecs/features/crypto.prf" \
|
||||||
|
|| die "failed to add rpath to crypto.prf"
|
||||||
|
}
|
969
app-misc/lirc/ChangeLog
Normal file
969
app-misc/lirc/ChangeLog
Normal file
@ -0,0 +1,969 @@
|
|||||||
|
# ChangeLog for app-misc/lirc
|
||||||
|
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/ChangeLog,v 1.221 2010/11/05 13:42:47 hwoarang Exp $
|
||||||
|
|
||||||
|
05 Nov 2010; Markos Chandras <hwoarang@gentoo.org> lirc-0.8.7.ebuild:
|
||||||
|
Stable on amd64 wrt bug #343659
|
||||||
|
|
||||||
|
04 Nov 2010; Christian Faulhammer <fauli@gentoo.org> lirc-0.8.7.ebuild:
|
||||||
|
stable x86, bug 343659
|
||||||
|
|
||||||
|
*lirc-0.8.7 (01 Nov 2010)
|
||||||
|
|
||||||
|
01 Nov 2010; Christian Faulhammer <fauli@gentoo.org> +lirc-0.8.7.ebuild:
|
||||||
|
version bump for bug 332277
|
||||||
|
|
||||||
|
01 Nov 2010; Christian Faulhammer <fauli@gentoo.org>
|
||||||
|
-lirc-0.8.3_pre1.ebuild, -lirc-0.8.3-r2.ebuild,
|
||||||
|
-files/lirc-0.8.3-imon-pad2keys.patch,
|
||||||
|
-files/lirc-0.8.3-kernel-2.6.26.diff,
|
||||||
|
-files/lirc-0.8.3-kernel-2.6.27.diff, -files/lirc-0.8.3-pa19.patch,
|
||||||
|
-files/lirc-0.8.3_pre1-imon-pad2keys.patch,
|
||||||
|
-files/lirc-0.8.3_pre1-kernel-2.6.24.diff,
|
||||||
|
-files/lirc-0.8.3_pre3-imon-pad2keys.patch, -lirc-0.8.4.ebuild,
|
||||||
|
-lirc-0.8.4a.ebuild, -lirc-0.8.6-r3.ebuild, -files/lirc-0.8.6-i2c.patch,
|
||||||
|
-files/lircd, -files/xbox-lircd.conf:
|
||||||
|
clean up, also for bug 343199
|
||||||
|
|
||||||
|
01 Nov 2010; Christian Faulhammer <fauli@gentoo.org>
|
||||||
|
lirc-0.8.3_pre1.ebuild, lirc-0.8.3-r2.ebuild, lirc-0.8.4.ebuild,
|
||||||
|
lirc-0.8.4a.ebuild, lirc-0.8.5.ebuild, lirc-0.8.6-r3.ebuild,
|
||||||
|
lirc-0.8.7_pre1.ebuild:
|
||||||
|
drop ppc64 for bug 275872
|
||||||
|
|
||||||
|
*lirc-0.8.7_pre1 (21 May 2010)
|
||||||
|
|
||||||
|
21 May 2010; Steve Dibb <beandog@gentoo.org> +lirc-0.8.7_pre1.ebuild:
|
||||||
|
Version bump
|
||||||
|
|
||||||
|
*lirc-0.8.6-r3 (21 May 2010)
|
||||||
|
|
||||||
|
21 May 2010; Steve Dibb <beandog@gentoo.org> files/lircd-0.8.6,
|
||||||
|
+lirc-0.8.6-r3.ebuild, +files/lirc-0.8.6-i2c.patch,
|
||||||
|
+files/lirc-0.8.6-send-evsyn.diff:
|
||||||
|
I2C patch to build against gentoo-sources-2.6.32, bug 296739; Add
|
||||||
|
localmount, modules to startup init, bug 314545; evdev input patch, bug
|
||||||
|
299030
|
||||||
|
|
||||||
|
21 May 2010; Steve Dibb <beandog@gentoo.org> files/lircd.conf.2:
|
||||||
|
Typo in conf.d sample, bug 301346
|
||||||
|
|
||||||
|
10 Mar 2010; Joseph Jezak <josejx@gentoo.org> lirc-0.8.6-r2.ebuild:
|
||||||
|
Marked ~ppc/~ppc64 for bug #287662.
|
||||||
|
|
||||||
|
*lirc-0.8.6-r2 (15 Nov 2009)
|
||||||
|
|
||||||
|
15 Nov 2009; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/irexec-initd-0.8.6-r2, +lirc-0.8.6-r2.ebuild:
|
||||||
|
Let irexec init-script depend on the virtual service lirc to be able to
|
||||||
|
use a different lirc server, Bug #277588.
|
||||||
|
|
||||||
|
03 Nov 2009; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.6-r1.ebuild:
|
||||||
|
Change ebuild, so that lirc package does no longer own lircd.conf. That
|
||||||
|
way portage should not delete lircd.conf on update or unmerge.
|
||||||
|
|
||||||
|
03 Nov 2009; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.6-r1.ebuild:
|
||||||
|
Change ebuild, so that lirc package does no longer own lircd.conf. That
|
||||||
|
way portage should not delete lircd.conf on update or unmerge.
|
||||||
|
|
||||||
|
06 Oct 2009; Christian Faulhammer <fauli@gentoo.org> lirc-0.8.5.ebuild:
|
||||||
|
remove iguanaIR, because it is still in testing
|
||||||
|
|
||||||
|
*lirc-0.8.6-r1 (04 Oct 2009)
|
||||||
|
|
||||||
|
04 Oct 2009; Christian Faulhammer <fauli@gentoo.org> +files/lircd-0.8.6,
|
||||||
|
-lirc-0.8.6.ebuild, +lirc-0.8.6-r1.ebuild:
|
||||||
|
Revision bump that will fix some new and some old issues:
|
||||||
|
* Merge mceusb and mceusb2 driver (bug 286269 by candrews AT integralblue
|
||||||
|
DOT com)
|
||||||
|
* New init.d file that will keep the old socket location so we don't break
|
||||||
|
all applications (thanks to Oldrich Jedlicka <oldium DOT pro AT seznam DOT
|
||||||
|
cz> in bug 286451)
|
||||||
|
* Add new ene0100 device
|
||||||
|
* Correct entry for iguanaIR device (bug 208785 by MasterC <MasterCLC AT
|
||||||
|
gmail DOT com>)
|
||||||
|
* Fix DEPEND and RDEPEND relations
|
||||||
|
|
||||||
|
04 Oct 2009; Christian Faulhammer <fauli@gentoo.org> lirc-0.8.5.ebuild:
|
||||||
|
readd stable keywords that have been accidentally removed
|
||||||
|
|
||||||
|
03 Oct 2009; Christian Faulhammer <fauli@gentoo.org> lirc-0.8.5.ebuild:
|
||||||
|
Rework dependencies:
|
||||||
|
* Add dev-embedded/libftdi for some drivers, bug 276518 (with help
|
||||||
|
from sping)
|
||||||
|
* Correct assignment of RDEPEND and DEPEND
|
||||||
|
|
||||||
|
25 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org> lirc-0.8.4.ebuild,
|
||||||
|
-files/lirc-0.8.4-imon-pad2keys.patch, lirc-0.8.4a.ebuild:
|
||||||
|
Remove duplicate patch.
|
||||||
|
|
||||||
|
*lirc-0.8.6 (23 Sep 2009)
|
||||||
|
|
||||||
|
23 Sep 2009; Christian Faulhammer <fauli@gentoo.org> +lirc-0.8.6.ebuild:
|
||||||
|
version bump, bug 284865
|
||||||
|
|
||||||
|
29 Aug 2009; nixnut <nixnut@gentoo.org> lirc-0.8.5.ebuild:
|
||||||
|
ppc stable #275872
|
||||||
|
|
||||||
|
11 Jul 2009; <chainsaw@gentoo.org> lirc-0.8.5.ebuild:
|
||||||
|
Marked stable on AMD64 for bug #275872; compile-tested on a dual Opteron
|
||||||
|
2354. No IR-capable hardware but utilities tested and working.
|
||||||
|
|
||||||
|
30 Jun 2009; Christian Faulhammer <fauli@gentoo.org> lirc-0.8.5.ebuild:
|
||||||
|
stable x86, bug 275872
|
||||||
|
|
||||||
|
18 Jun 2009; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.4a.ebuild,
|
||||||
|
lirc-0.8.5.ebuild:
|
||||||
|
Rename modprobe config file to lirc.conf
|
||||||
|
|
||||||
|
*lirc-0.8.5 (17 Jun 2009)
|
||||||
|
|
||||||
|
17 Jun 2009; Steve Dibb <beandog@gentoo.org> +lirc-0.8.5.ebuild:
|
||||||
|
Version bump, bug 271482
|
||||||
|
|
||||||
|
18 Mar 2009; Joseph Jezak <josejx@gentoo.org> lirc-0.8.4.ebuild:
|
||||||
|
Marked ppc stable for bug #253920.
|
||||||
|
|
||||||
|
13 Mar 2009; Christian Faulhammer <fauli@gentoo.org>
|
||||||
|
+files/lirc-0.8.4-portaudio_check.patch, lirc-0.8.4.ebuild,
|
||||||
|
lirc-0.8.4a.ebuild:
|
||||||
|
Only detect media-libs/portaudio if LIRC_DEVICES=audio is enabled, thus
|
||||||
|
preventing build failures, see bug 251703 and bug 251522
|
||||||
|
|
||||||
|
10 Mar 2009; Steve Dibb <beandog@gentoo.org> lirc-0.8.4.ebuild,
|
||||||
|
lirc-0.8.4a.ebuild:
|
||||||
|
Fix amd64 keywords, bug 253920
|
||||||
|
|
||||||
|
10 Mar 2009; Steve Dibb <beandog@gentoo.org> lirc-0.8.4a.ebuild:
|
||||||
|
amd64 stable, bug 253920
|
||||||
|
|
||||||
|
07 Mar 2009; Christian Faulhammer <fauli@gentoo.org> lirc-0.8.4.ebuild:
|
||||||
|
stable x86, bug 253920
|
||||||
|
|
||||||
|
28 Feb 2009; Christian Faulhammer <fauli@gentoo.org>
|
||||||
|
-files/lirc-0.8.0-conf-pixelview_bt878.diff,
|
||||||
|
-files/lirc-0.8.0-i2c-kernel-2.6.17.diff,
|
||||||
|
-files/lirc-0.8.0-imon-pad2keys.patch,
|
||||||
|
-files/lirc-0.8.0-kernel-2.6.16.diff,
|
||||||
|
-files/lirc-0.8.0-kernel-2.6.17.diff,
|
||||||
|
-files/lirc-0.8.0-kernel-2.6.18.diff,
|
||||||
|
-files/lirc-0.8.0-kernel-2.6.19.diff, -files/lirc-0.8.0-sandbox-fix.diff,
|
||||||
|
-files/lirc-0.8.0-too-many-connections-overflow.diff,
|
||||||
|
-files/lirc-0.8.0pre4-xbox-remote.diff,
|
||||||
|
-files/lirc-0.8.1-atiusb-xbox.diff, -files/lirc-0.8.1-imon-pad2keys.patch,
|
||||||
|
-files/lirc-0.8.1-kernel-2.6.20.diff,
|
||||||
|
-files/lirc-0.8.2-kernel-2.6.22.patch,
|
||||||
|
-files/lirc-0.8.2-kernel-2.6.23.patch, -files/lirc-udev-094.diff,
|
||||||
|
-files/lirc-remotewonderplus.patch, -files/lircd.conf,
|
||||||
|
-lirc-0.8.0-r8.ebuild, -lirc-0.8.1.ebuild, -lirc-0.8.2_pre2.ebuild,
|
||||||
|
-lirc-0.8.2.ebuild, -lirc-0.8.2-r1.ebuild, -lirc-0.8.2-r2.ebuild,
|
||||||
|
-lirc-0.8.3_pre3.ebuild, -lirc-0.8.3.ebuild, -lirc-0.8.3-r1.ebuild:
|
||||||
|
clean up, hopefully without breaking anything
|
||||||
|
|
||||||
|
*lirc-0.8.4a (28 Feb 2009)
|
||||||
|
|
||||||
|
28 Feb 2009; Christian Faulhammer <fauli@gentoo.org> +lirc-0.8.4a.ebuild:
|
||||||
|
version bump for 251703 and fix for 251522
|
||||||
|
|
||||||
|
10 Jan 2009; Steve Dibb <beandog@gentoo.org> lirc-0.8.3-r1.ebuild,
|
||||||
|
lirc-0.8.3-r2.ebuild, lirc-0.8.4.ebuild:
|
||||||
|
Remove MODULE_UNLOAD kernel check, add ewarn notice
|
||||||
|
|
||||||
|
25 Dec 2008; Thomas Anderson <gentoofan23@gentoo.org>
|
||||||
|
+files/lirc-0.8.3-kernel-2.6.27.diff, lirc-0.8.3-r2.ebuild:
|
||||||
|
Add Kernel 2.6.27 compatibility to lirc-0.8.3-r2. Fixes bug #236713, thanks
|
||||||
|
to James <cctsurf at gmail dot com> for the patch. Committed with permission
|
||||||
|
of beandog
|
||||||
|
|
||||||
|
17 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org>
|
||||||
|
files/lirc-0.8.3_pre1-kernel-2.6.24.diff:
|
||||||
|
Fix patch with absolute paths.
|
||||||
|
|
||||||
|
*lirc-0.8.4 (12 Oct 2008)
|
||||||
|
|
||||||
|
12 Oct 2008; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.4-imon-pad2keys.patch, lirc-0.8.0-r8.ebuild,
|
||||||
|
+lirc-0.8.4.ebuild:
|
||||||
|
Version bumped. This adds Kernel 2.6.27 compatibility. Added driver
|
||||||
|
options irlink, commandir, ite8709 and samsung, Bug #221727. Removed
|
||||||
|
portaudio patch. Shorten description of lirc-0.8.0-r8.
|
||||||
|
|
||||||
|
12 Oct 2008; Matthias Schwarzott <zzam@gentoo.org> files/lircd.conf.2:
|
||||||
|
Fix config example for devinput, Bug #235107
|
||||||
|
|
||||||
|
08 Aug 2008; Steve Dibb <beandog@gentoo.org> lirc-0.8.3-r2.ebuild:
|
||||||
|
amd64 stable, bug 230792
|
||||||
|
|
||||||
|
01 Aug 2008; nixnut <nixnut@gentoo.org> lirc-0.8.3-r2.ebuild:
|
||||||
|
Stable on ppc wrt bug 230792
|
||||||
|
|
||||||
|
31 Jul 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml:
|
||||||
|
Add USE flag description to metadata wrt GLEP 56.
|
||||||
|
|
||||||
|
28 Jul 2008; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
files/lirc-0.8.3-kernel-2.6.26.diff:
|
||||||
|
Remove those annoying cvs-keywords from the patch, bug #233081
|
||||||
|
|
||||||
|
26 Jul 2008; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.3-kernel-2.6.26.diff, lirc-0.8.3-r2.ebuild:
|
||||||
|
Make lirc compile against linux-2.6.26, thanks to enkil <enkil@cvmx.org> for
|
||||||
|
the patch, Bug #231867.
|
||||||
|
|
||||||
|
17 Jul 2008; Christian Faulhammer <opfer@gentoo.org> lirc-0.8.3-r2.ebuild:
|
||||||
|
stable x86, bug 230792
|
||||||
|
|
||||||
|
16 Jun 2008; Samuli Suominen <drac@gentoo.org>
|
||||||
|
+files/lirc-0.8.3-pa19.patch, lirc-0.8.3-r2.ebuild:
|
||||||
|
Portaudio v19 patch from bug 222841, Comment #8 by Thomas Beierlein.
|
||||||
|
|
||||||
|
06 Jun 2008; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.3-r2.ebuild:
|
||||||
|
Added imon_lcd to list of possible lirc_devices, thanks to Jan Paesmans
|
||||||
|
<jan.paesmans@gmail.com>.
|
||||||
|
|
||||||
|
*lirc-0.8.3-r2 (19 May 2008)
|
||||||
|
|
||||||
|
19 May 2008; Matthias Schwarzott <zzam@gentoo.org> +files/modprobed.lirc,
|
||||||
|
+lirc-0.8.3-r2.ebuild:
|
||||||
|
Removed old syntax from modprobe config file.
|
||||||
|
|
||||||
|
*lirc-0.8.3-r1 (10 May 2008)
|
||||||
|
|
||||||
|
10 May 2008; Steve Dibb <beandog@gentoo.org> +lirc-0.8.3-r1.ebuild:
|
||||||
|
Check for MODULE_UNLOAD in kernel
|
||||||
|
|
||||||
|
05 May 2008; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.3.ebuild:
|
||||||
|
Adding hack to stop portage from deleting lircd.conf.
|
||||||
|
|
||||||
|
*lirc-0.8.3 (05 May 2008)
|
||||||
|
|
||||||
|
05 May 2008; Matthias Schwarzott <zzam@gentoo.org> +files/lircd-0.8.3,
|
||||||
|
+files/lirc-0.8.3-imon-pad2keys.patch, +lirc-0.8.3.ebuild:
|
||||||
|
Version bumped. Init-script changes: Now provide lirc, Bug #190669. Use
|
||||||
|
pidfile to allow starting more than one lircd, Bug #212551. This may also
|
||||||
|
fix the Kernel Oops of Bug #218612. Fixed keys in imon-pad2keys config,
|
||||||
|
Bug #219101. Do install all avail remote config files to
|
||||||
|
/usr/share/lirc/remotes and skip the auto-preserving of the old conf-file,
|
||||||
|
Bug #219097.
|
||||||
|
|
||||||
|
04 May 2008; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.3_pre3.ebuild:
|
||||||
|
Added imon_knob to possible LIRC_DEVICES, Bug #208719.
|
||||||
|
|
||||||
|
*lirc-0.8.3_pre3 (28 Apr 2008)
|
||||||
|
|
||||||
|
28 Apr 2008; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.3_pre3-imon-pad2keys.patch, +lirc-0.8.3_pre3.ebuild:
|
||||||
|
Version bumped. Create /etc/modprobe.d instead of /etc/modules.d, Bug
|
||||||
|
#214019.
|
||||||
|
|
||||||
|
16 Apr 2008; Markus Rothe <corsair@gentoo.org> lirc-0.8.3_pre1.ebuild:
|
||||||
|
Stable on ppc64; bug #208433
|
||||||
|
|
||||||
|
28 Mar 2008; Markus Meier <maekke@gentoo.org> lirc-0.8.3_pre1.ebuild:
|
||||||
|
amd64 stable, bug #208433
|
||||||
|
|
||||||
|
06 Feb 2008; nixnut <nixnut@gentoo.org> lirc-0.8.3_pre1.ebuild:
|
||||||
|
stable on ppc wrt bug #208433
|
||||||
|
|
||||||
|
01 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
|
||||||
|
lirc-0.8.3_pre1.ebuild:
|
||||||
|
stable x86, bug 208433
|
||||||
|
|
||||||
|
28 Dec 2007; Joerg Bornkessel <hd_brummy@gentoo.org>
|
||||||
|
files/lirc-0.8.3_pre1-kernel-2.6.24.diff, lirc-0.8.3_pre1.ebuild:
|
||||||
|
rewrite patch; bug 200508
|
||||||
|
|
||||||
|
27 Dec 2007; Joerg Bornkessel <hd_brummy@gentoo.org>
|
||||||
|
lirc-0.8.3_pre1.ebuild:
|
||||||
|
removed workless kernel-2.6.24.diff, wont work with LIRC_DEVICES=serial;
|
||||||
|
reopend bug 200508
|
||||||
|
|
||||||
|
26 Dec 2007; Joerg Bornkessel <hd_brummy@gentoo.org>
|
||||||
|
lirc-0.8.3_pre1.ebuild:
|
||||||
|
fixed typo; patch/diff
|
||||||
|
|
||||||
|
26 Dec 2007; Joerg Bornkessel <hd_brummy@gentoo.org>
|
||||||
|
+files/lirc-0.8.3_pre1-kernel-2.6.24.diff, lirc-0.8.3_pre1.ebuild:
|
||||||
|
bug 200508 fixed; thanks to A.Stirling M.Marte T.Kost
|
||||||
|
|
||||||
|
02 Dec 2007; Markus Rothe <corsair@gentoo.org> lirc-0.8.2-r2.ebuild:
|
||||||
|
Stable on ppc64; bug #197768
|
||||||
|
|
||||||
|
16 Nov 2007; Steve Dibb <beandog@gentoo.org> lirc-0.8.2-r2.ebuild:
|
||||||
|
amd64 stable, bug 197768
|
||||||
|
|
||||||
|
12 Nov 2007; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.2-r2.ebuild,
|
||||||
|
lirc-0.8.3_pre1.ebuild:
|
||||||
|
Fix libusb depend for atilibusb driver, Bug #196994.
|
||||||
|
|
||||||
|
12 Nov 2007; Matthias Schwarzott <zzam@gentoo.org> +files/lircd.conf.2,
|
||||||
|
lirc-0.8.2-r2.ebuild, lirc-0.8.3_pre1.ebuild:
|
||||||
|
Supply a good default conf-file. This fixes Bug 198482.
|
||||||
|
|
||||||
|
02 Nov 2007; Lars Weiler <pylon@gentoo.org> lirc-0.8.2-r2.ebuild:
|
||||||
|
stable ppc, bug #197768
|
||||||
|
|
||||||
|
01 Nov 2007; Christian Faulhammer <opfer@gentoo.org> lirc-0.8.2-r2.ebuild:
|
||||||
|
stable x86, bug 197768
|
||||||
|
|
||||||
|
18 Oct 2007; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.2-r1.ebuild,
|
||||||
|
lirc-0.8.2-r2.ebuild, lirc-0.8.3_pre1.ebuild:
|
||||||
|
Disabling lirc_gpio for Kernel 2.6.22+, as it did not work/failed to
|
||||||
|
compile, Bug #187418.
|
||||||
|
|
||||||
|
18 Oct 2007; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.3_pre1.ebuild:
|
||||||
|
Force non-parallel make. Bug #196134.
|
||||||
|
|
||||||
|
17 Oct 2007; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.3_pre1-imon-pad2keys.patch, lirc-0.8.3_pre1.ebuild:
|
||||||
|
Updated imon-pad2key patch. This makes the option switchable via
|
||||||
|
module-parameter instead of recompiling. Bug 196134
|
||||||
|
|
||||||
|
14 Oct 2007; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.3_pre1-remotewonderplus.patch, lirc-0.8.3_pre1.ebuild:
|
||||||
|
Fixed some sed code, Bug 195786. Fixed remotewonderplus patch.
|
||||||
|
|
||||||
|
*lirc-0.8.3_pre1 (13 Oct 2007)
|
||||||
|
|
||||||
|
13 Oct 2007; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+lirc-0.8.3_pre1.ebuild:
|
||||||
|
Added new pre-release ebuild. This improves gpio support with newer kernels.
|
||||||
|
|
||||||
|
13 Oct 2007; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.2-r2.ebuild:
|
||||||
|
Switch installing to emake.
|
||||||
|
|
||||||
|
13 Oct 2007; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0-r8.ebuild,
|
||||||
|
lirc-0.8.1.ebuild, lirc-0.8.2_pre2.ebuild, lirc-0.8.2.ebuild,
|
||||||
|
lirc-0.8.2-r1.ebuild, lirc-0.8.2-r2.ebuild:
|
||||||
|
General cleanup, and quote fixing.
|
||||||
|
|
||||||
|
*lirc-0.8.2-r2 (11 Oct 2007)
|
||||||
|
|
||||||
|
11 Oct 2007; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.2-kernel-2.6.23.patch, +lirc-0.8.2-r2.ebuild:
|
||||||
|
Fixed device-node to work with udev-115-r2+. Compiling fixed for Kernel
|
||||||
|
2.6.23+, Bug 195432.
|
||||||
|
|
||||||
|
01 Sep 2007; Joseph Jezak <josejx@gentoo.org> lirc-0.8.2-r1.ebuild:
|
||||||
|
Marked ppc stable for bug #187822.
|
||||||
|
|
||||||
|
14 Aug 2007; Markus Rothe <corsair@gentoo.org> lirc-0.8.2-r1.ebuild:
|
||||||
|
Stable on ppc64; bug #187822
|
||||||
|
|
||||||
|
14 Aug 2007; Christian Faulhammer <opfer@gentoo.org> lirc-0.8.2-r1.ebuild:
|
||||||
|
stable x86, bug 187822
|
||||||
|
|
||||||
|
13 Aug 2007; Doug Goldstein <cardoe@gentoo.org> lirc-0.8.2-r1.ebuild:
|
||||||
|
amd64 stable
|
||||||
|
|
||||||
|
*lirc-0.8.2-r1 (12 Aug 2007)
|
||||||
|
|
||||||
|
12 Aug 2007; Steve Dibb <beandog@gentoo.org>
|
||||||
|
+files/lirc-0.8.2-kernel-2.6.22.patch, +lirc-0.8.2-r1.ebuild:
|
||||||
|
Fix compile under 2.6.22, bug 187822
|
||||||
|
|
||||||
|
22 Jul 2007; David Shakaryan <omp@gentoo.org> lirc-0.8.0-r8.ebuild:
|
||||||
|
Remove virtual/x11 from dependencies.
|
||||||
|
|
||||||
|
*lirc-0.8.2 (04 Jul 2007)
|
||||||
|
|
||||||
|
04 Jul 2007; Matthias Schwarzott <zzam@gentoo.org> +lirc-0.8.2.ebuild:
|
||||||
|
Version bumped. Adds support for macmini and ttusbir. Removed special
|
||||||
|
settings com? and lpt?, use serial und parallel instead, and set io-ports
|
||||||
|
with module-parameters.
|
||||||
|
|
||||||
|
27 Jun 2007; Raúl Porcel <armin76@gentoo.org> lirc-0.8.0-r8.ebuild,
|
||||||
|
lirc-0.8.1.ebuild, lirc-0.8.2_pre2.ebuild:
|
||||||
|
Drop alpha/ia64 keyword as nobody has hardware to test
|
||||||
|
|
||||||
|
24 May 2007; Matthias Schwarzott <zzam@gentoo.org> files/irexec-initd:
|
||||||
|
Fixed irexec initscript to work with non-bash shells, Bug #179634.
|
||||||
|
|
||||||
|
18 May 2007; Matthias Schwarzott <zzam@gentoo.org> metadata.xml:
|
||||||
|
Assigned to herd media-tv.
|
||||||
|
|
||||||
|
*lirc-0.8.2_pre2 (27 Apr 2007)
|
||||||
|
|
||||||
|
27 Apr 2007; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+lirc-0.8.2_pre2.ebuild:
|
||||||
|
Version bumped.
|
||||||
|
|
||||||
|
27 Apr 2007; Matthias Schwarzott <zzam@gentoo.org> -lirc-0.8.0-r5.ebuild:
|
||||||
|
Removed old ebuild.
|
||||||
|
|
||||||
|
21 Apr 2007; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0-r5.ebuild,
|
||||||
|
lirc-0.8.0-r8.ebuild, lirc-0.8.1.ebuild:
|
||||||
|
Corrected --without-X to the correct lower case version --without-x, now it
|
||||||
|
has an effect, solving Bug #173174.
|
||||||
|
|
||||||
|
08 Apr 2007; Christian Faulhammer <opfer@gentoo.org> lirc-0.8.1.ebuild:
|
||||||
|
stable amd64, bug 166557
|
||||||
|
|
||||||
|
07 Apr 2007; Joseph Jezak <josejx@gentoo.org> lirc-0.8.1.ebuild:
|
||||||
|
Marked ppc stable for bug #166557.
|
||||||
|
|
||||||
|
02 Apr 2007; Raúl Porcel <armin76@gentoo.org> lirc-0.8.1.ebuild:
|
||||||
|
ia64 stable wrt bug 166557
|
||||||
|
|
||||||
|
27 Mar 2007; Christian Faulhammer <opfer@gentoo.org> lirc-0.8.1.ebuild:
|
||||||
|
stable x86, bug 166557
|
||||||
|
|
||||||
|
15 Mar 2007; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.1.ebuild:
|
||||||
|
Added lirc device usb_uirt_raw, as requested by Robert Parenton
|
||||||
|
<rparenton@lada.org>, Bug #170698.
|
||||||
|
|
||||||
|
27 Feb 2007; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.1.ebuild:
|
||||||
|
Fixed disabling lirc_parallel on SMP systems, thanks to Helau
|
||||||
|
<helmut@helmutauer.de>.
|
||||||
|
|
||||||
|
22 Feb 2007; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.1-kernel-2.6.20.diff, lirc-0.8.1.ebuild:
|
||||||
|
Added patch to compile with kernel 2.6.20, Bug #166557.
|
||||||
|
|
||||||
|
14 Jan 2007; Joseph Jezak <josejx@gentoo.org> lirc-0.8.0-r8.ebuild:
|
||||||
|
Marked ppc stable for bug #159980.
|
||||||
|
|
||||||
|
09 Jan 2007; Markus Rothe <corsair@gentoo.org> lirc-0.8.0-r8.ebuild:
|
||||||
|
Stable on ppc64; bug #159980
|
||||||
|
|
||||||
|
08 Jan 2007; Matthias Schwarzott <zzam@gentoo.org> -lirc-0.7.0-r1.ebuild,
|
||||||
|
-lirc-0.7.2.ebuild, -lirc-0.8.0-r1.ebuild, -lirc-0.8.1_pre5.ebuild:
|
||||||
|
Removed some old cruft, solving Bug #159983.
|
||||||
|
|
||||||
|
*lirc-0.8.1 (07 Jan 2007)
|
||||||
|
|
||||||
|
07 Jan 2007; Matthias Schwarzott <zzam@gentoo.org> +lirc-0.8.1.ebuild:
|
||||||
|
Version bumped.
|
||||||
|
|
||||||
|
06 Jan 2007; Bryan Østergaard <kloeri@gentoo.org> lirc-0.8.0-r8.ebuild,
|
||||||
|
lirc-0.8.1_pre5.ebuild:
|
||||||
|
Stable on Alpha.
|
||||||
|
|
||||||
|
06 Jan 2007; Matthias Schwarzott <zzam@gentoo.org> lirc-0.7.0-r1.ebuild,
|
||||||
|
lirc-0.7.2.ebuild, lirc-0.8.0-r1.ebuild, lirc-0.8.0-r5.ebuild,
|
||||||
|
lirc-0.8.0-r8.ebuild, lirc-0.8.1_pre5.ebuild:
|
||||||
|
Converted to elog.
|
||||||
|
|
||||||
|
04 Jan 2007; Peter Weller (welp) <welp@gentoo.org> lirc-0.8.0-r8.ebuild:
|
||||||
|
Stable on amd64 wrt bug #159980
|
||||||
|
|
||||||
|
04 Jan 2007; Bryan Østergaard <kloeri@gentoo.org> lirc-0.8.0-r8.ebuild,
|
||||||
|
lirc-0.8.1_pre5.ebuild:
|
||||||
|
Stable on IA64.
|
||||||
|
|
||||||
|
04 Jan 2007; Christian Faulhammer <opfer@gentoo.org> lirc-0.8.0-r8.ebuild:
|
||||||
|
stable x86, bug #159980
|
||||||
|
|
||||||
|
*lirc-0.8.1_pre5 (03 Jan 2007)
|
||||||
|
|
||||||
|
03 Jan 2007; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.1-atiusb-xbox.diff, +files/lirc-0.8.1-imon-pad2keys.patch,
|
||||||
|
+lirc-0.8.1_pre5.ebuild:
|
||||||
|
Added a pre-release as it contains a lot of fixes, thanks to mcummings for
|
||||||
|
noticing. Use newer xbox-patch that can unconditionally be applied.
|
||||||
|
|
||||||
|
14 Dec 2006; Matthias Schwarzott <zzam@gentoo.org> lirc-0.7.2.ebuild,
|
||||||
|
lirc-0.8.0-r1.ebuild, lirc-0.8.0-r5.ebuild, lirc-0.8.0-r8.ebuild:
|
||||||
|
Unconditionally installing udev-rules due to Bug #158114.
|
||||||
|
|
||||||
|
*lirc-0.8.0-r8 (02 Dec 2006)
|
||||||
|
|
||||||
|
02 Dec 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.0-sandbox-fix.diff, files/irexec-confd,
|
||||||
|
files/irexec-initd, -lirc-0.8.0-r7.ebuild, +lirc-0.8.0-r8.ebuild:
|
||||||
|
Solve sandbox-violation, fix from dsd, Bug #156807. Starting irexec as user
|
||||||
|
is now possible, suggested by Sebastian Kemper <sebastian_ml@gmx.net>.
|
||||||
|
|
||||||
|
*lirc-0.8.0-r7 (01 Dec 2006)
|
||||||
|
|
||||||
|
01 Dec 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.0-too-many-connections-overflow.diff, +files/irexec-confd,
|
||||||
|
+files/irexec-initd, +files/lirc-remotewonderplus.patch,
|
||||||
|
-lirc-0.8.0-r6.ebuild, +lirc-0.8.0-r7.ebuild:
|
||||||
|
Fixing overflow, Bug #123704. Allow building more than one driver (with big
|
||||||
|
warning), Bug #144951. Added irexec-initscript, Bug #124295. Added support
|
||||||
|
for remotewonderplus-device, Bug #149130.
|
||||||
|
|
||||||
|
*lirc-0.8.0-r6 (30 Nov 2006)
|
||||||
|
|
||||||
|
30 Nov 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.0-kernel-2.6.19.diff, +lirc-0.8.0-r6.ebuild:
|
||||||
|
Makes lirc compatible with kernel-2.6.19
|
||||||
|
|
||||||
|
24 Nov 2006; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0-r1.ebuild,
|
||||||
|
lirc-0.8.0-r5.ebuild:
|
||||||
|
Switched over to request latest autoconf/automake as that also works.
|
||||||
|
|
||||||
|
05 Oct 2006; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0-r1.ebuild,
|
||||||
|
lirc-0.8.0-r5.ebuild:
|
||||||
|
Removed unused use-flags alsa and usb, due to Bug #150083.
|
||||||
|
|
||||||
|
24 Sep 2006; Michael Hanselmann <hansmi@gentoo.org> lirc-0.8.0-r5.ebuild:
|
||||||
|
Stable on ppc.
|
||||||
|
|
||||||
|
19 Sep 2006; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0-r1.ebuild,
|
||||||
|
lirc-0.8.0-r5.ebuild:
|
||||||
|
Now depend on the correct autotools versions, as no longer all versions are
|
||||||
|
automagically pulled in by system.
|
||||||
|
|
||||||
|
15 Sep 2006; Matthias Schwarzott <zzam@gentoo.org> -lirc-0.8.0.ebuild:
|
||||||
|
Removed older revision.
|
||||||
|
|
||||||
|
12 Sep 2006; <blubb@gentoo.org> lirc-0.8.0-r5.ebuild:
|
||||||
|
stable on amd64
|
||||||
|
|
||||||
|
07 Sep 2006; Markus Rothe <corsair@gentoo.org> lirc-0.8.0-r5.ebuild:
|
||||||
|
Stable on ppc64; bug #146725
|
||||||
|
|
||||||
|
07 Sep 2006; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0-r5.ebuild:
|
||||||
|
Stable on x86.
|
||||||
|
|
||||||
|
07 Sep 2006; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0-r5.ebuild:
|
||||||
|
Stable on x86.
|
||||||
|
|
||||||
|
04 Sep 2006; <blubb@gentoo.org> lirc-0.8.0-r1.ebuild:
|
||||||
|
stable on amd64
|
||||||
|
|
||||||
|
03 Sep 2006; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0-r5.ebuild:
|
||||||
|
Added conditional depend on inputlircd as it now has all necessary keywords.
|
||||||
|
|
||||||
|
03 Sep 2006; <blubb@gentoo.org> lirc-0.8.0-r5.ebuild:
|
||||||
|
added ~amd64
|
||||||
|
|
||||||
|
04 Aug 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.0-conf-pixelview_bt878.diff, -lirc-0.8.0-r3.ebuild,
|
||||||
|
-lirc-0.8.0-r4.ebuild, lirc-0.8.0-r5.ebuild:
|
||||||
|
Removed older ebuild-revisions. Added a patch to solve bug #142732, thanks
|
||||||
|
to Bartlomiej Celary <semiquasi@o2.pl> for reporting.
|
||||||
|
|
||||||
|
*lirc-0.8.0-r5 (31 Jul 2006)
|
||||||
|
|
||||||
|
31 Jul 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.0-i2c-kernel-2.6.17.diff, +lirc-0.8.0-r5.ebuild:
|
||||||
|
Added Patch from lirc-cvs to solve issue with Kernel 2.6.17/ivtv driver, see
|
||||||
|
Bug #141841.
|
||||||
|
|
||||||
|
27 Jul 2006; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0-r4.ebuild:
|
||||||
|
Bugfix, now also apply xbox-patch when xbox-driver was autoselected by
|
||||||
|
PROFILE_ARCH.
|
||||||
|
|
||||||
|
27 Jul 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
files/lirc-0.8.0-kernel-2.6.17.diff:
|
||||||
|
Small change to match the patch in lirc-cvs.
|
||||||
|
|
||||||
|
*lirc-0.8.0-r4 (25 Jul 2006)
|
||||||
|
|
||||||
|
25 Jul 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.0-kernel-2.6.18.diff, +files/modulesd.lirc,
|
||||||
|
+lirc-0.8.0-r4.ebuild:
|
||||||
|
Added patch for compatibility with kernel 2.6.18. Set compiled in default
|
||||||
|
device-node depending on activated driver (for e.g. usbirboy), removed older
|
||||||
|
hack for setting device-node. Without set driver use option userspace. Added
|
||||||
|
/etc/modules.d/lirc.
|
||||||
|
|
||||||
|
23 Jul 2006; Tobias Scherbaum <dertobi123@gentoo.org>
|
||||||
|
lirc-0.8.0-r1.ebuild, lirc-0.8.0-r3.ebuild:
|
||||||
|
0.8.0-r1 ppc stable, 0.8.0-r3 added ~ppc, bug #138636
|
||||||
|
|
||||||
|
12 Jul 2006; Aron Griffis <agriffis@gentoo.org> lirc-0.8.0-r1.ebuild:
|
||||||
|
Mark 0.8.0-r1 stable on ia64
|
||||||
|
|
||||||
|
06 Jul 2006; Markus Rothe <corsair@gentoo.org> lirc-0.8.0-r1.ebuild:
|
||||||
|
Stable on ppc64
|
||||||
|
|
||||||
|
05 Jul 2006; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0-r1.ebuild:
|
||||||
|
Marked stable on x86.
|
||||||
|
|
||||||
|
*lirc-0.8.0-r3 (30 Jun 2006)
|
||||||
|
|
||||||
|
30 Jun 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-udev-094.diff, lirc-0.8.0-r1.ebuild, -lirc-0.8.0-r2.ebuild,
|
||||||
|
+lirc-0.8.0-r3.ebuild:
|
||||||
|
Added patch to solve Bug #138532. Install udev-rules-file conditionally by
|
||||||
|
use-flag udev and not based on existance of sys-fs/udev.
|
||||||
|
|
||||||
|
30 Jun 2006; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0.ebuild,
|
||||||
|
lirc-0.8.0-r1.ebuild, lirc-0.8.0-r2.ebuild:
|
||||||
|
Corrected missing function call in error-handling.
|
||||||
|
|
||||||
|
26 Jun 2006; Markus Rothe <corsair@gentoo.org> lirc-0.8.0-r2.ebuild:
|
||||||
|
Added ~ppc64; bug #138025
|
||||||
|
|
||||||
|
26 Jun 2006; Simon Stelling <blubb@gentoo.org> lirc-0.8.0.ebuild:
|
||||||
|
stable on amd64
|
||||||
|
|
||||||
|
*lirc-0.8.0-r2 (26 Jun 2006)
|
||||||
|
|
||||||
|
26 Jun 2006; Matthias Schwarzott <zzam@gentoo.org> +lirc-0.8.0-r2.ebuild:
|
||||||
|
Added support for using external-driver-ebuild usbirboy. Degraded keywords
|
||||||
|
to only ~x86.
|
||||||
|
|
||||||
|
21 Jun 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.0-kernel-2.6.17.diff, lirc-0.8.0.ebuild,
|
||||||
|
lirc-0.8.0-r1.ebuild:
|
||||||
|
Make it compile with Kernel 2.6.17, solving Bug #137409.
|
||||||
|
|
||||||
|
07 Jun 2006; Markus Rothe <corsair@gentoo.org> lirc-0.8.0-r1.ebuild:
|
||||||
|
Added ~ppc64; bug #131306
|
||||||
|
|
||||||
|
*lirc-0.8.0-r1 (05 Jun 2006)
|
||||||
|
|
||||||
|
05 Jun 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.0-imon-pad2keys.patch,
|
||||||
|
+files/lirc-0.8.0pre4-xbox-remote.diff, +lirc-0.8.0-r1.ebuild:
|
||||||
|
Redesigned ebuild to use use-expanded variable LIRC_DEVICES instead of
|
||||||
|
LIRC_OPTS. Now uses /dev/lirc/0 per default as created by udev. Has proper
|
||||||
|
depends now (Bug #131306). Added support for xboxusb (Bug #135490). Added
|
||||||
|
imon_pad2keys driver. Removed ~ppc64 because of not keyworded
|
||||||
|
media-libs/libirman.
|
||||||
|
|
||||||
|
31 May 2006; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0.ebuild:
|
||||||
|
Small corrections (sleep -> epause, added missing call to
|
||||||
|
linux-mod_pkg_preinst)
|
||||||
|
|
||||||
|
29 May 2006; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0.ebuild:
|
||||||
|
DEPEND-Cosmetics.
|
||||||
|
|
||||||
|
21 May 2006; Markus Rothe <corsair@gentoo.org> lirc-0.8.0.ebuild:
|
||||||
|
Stable on ppc64
|
||||||
|
|
||||||
|
03 May 2006; Matthias Schwarzott <zzam@gentoo.org> metadata.xml:
|
||||||
|
Set maintainer to myself
|
||||||
|
|
||||||
|
27 Apr 2006; Marien Zwart <marienz@gentoo.org> files/digest-lirc-0.7.2,
|
||||||
|
files/digest-lirc-0.8.0, Manifest:
|
||||||
|
Fixing SHA256 digest, pass four
|
||||||
|
|
||||||
|
16 Apr 2006; Michael Hanselmann <hansmi@gentoo.org> lirc-0.8.0.ebuild:
|
||||||
|
Stable on ppc.
|
||||||
|
|
||||||
|
14 Apr 2006; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0.ebuild:
|
||||||
|
Marked stable on x86
|
||||||
|
|
||||||
|
14 Apr 2006; Matthias Schwarzott <zzam@gentoo.org> lirc-0.8.0.ebuild:
|
||||||
|
Moved WANT_AUTOCONF to pkg_setup - Thanks to Przemyslaw Maciag
|
||||||
|
<p_maciag@wp.pl> for reporting - Bug #123727
|
||||||
|
|
||||||
|
14 Apr 2006; Matthias Schwarzott <zzam@gentoo.org>
|
||||||
|
+files/lirc-0.8.0-kernel-2.6.16.diff, lirc-0.8.0.ebuild:
|
||||||
|
Added patch to compile against Kernel 2.6.16 - Thanks to Paul Marks
|
||||||
|
<pmarks@purdue.edu> and Marc Rodarte <mrodarte19@gmail.com> - See Bug
|
||||||
|
#127122
|
||||||
|
|
||||||
|
06 Mar 2006; Simon Stelling <blubb@gentoo.org> lirc-0.7.0-r1.ebuild:
|
||||||
|
somehow the files vanished from SRC_URI.. fixing that
|
||||||
|
|
||||||
|
20 Feb 2006; Gustavo Zacarias <gustavoz@gentoo.org> ChangeLog:
|
||||||
|
Fix lirc-0.8.0 digests
|
||||||
|
|
||||||
|
*lirc-0.8.0 (20 Feb 2006)
|
||||||
|
|
||||||
|
20 Feb 2006; Heinrich Wendel <lanius@gentoo.org>
|
||||||
|
-files/lirc-0.6.6-gentoo.diff.bz2, -files/lirc-0.7.0-configure.in.patch,
|
||||||
|
-files/lirc-0.7.0_pre2-i2c.patch.gz,
|
||||||
|
-files/lirc-0.7.0_pre7-configure.patch,
|
||||||
|
-files/lirc-0.7.0_pre7-streamzap.patch.bz2, files/lircd.conf,
|
||||||
|
-lirc-0.8.0_pre1.ebuild, -lirc-0.8.0_pre3.ebuild, +lirc-0.8.0.ebuild:
|
||||||
|
version bump; cleanups; modular X port
|
||||||
|
|
||||||
|
*lirc-0.8.0_pre3 (10 Jan 2006)
|
||||||
|
|
||||||
|
10 Jan 2006; Doug Goldstein <cardoe@gentoo.org> +lirc-0.8.0_pre3.ebuild:
|
||||||
|
Reworked the ebuild a little bit and hopefully fixed the problems people are
|
||||||
|
having with it.
|
||||||
|
|
||||||
|
05 Jan 2006; Jeremy Huddleston <eradicator@gentoo.org>
|
||||||
|
lirc-0.8.0_pre1.ebuild:
|
||||||
|
Fixed modular X dependency.
|
||||||
|
|
||||||
|
03 Jan 2006; Diego Pettenò <flameeyes@gentoo.org> lirc-0.8.0_pre1.ebuild:
|
||||||
|
Replace libtoolize with eautoreconf so that it does not break with
|
||||||
|
mis-versioning with portage sanity checks.
|
||||||
|
|
||||||
|
14 Dec 2005; Doug Goldstein <cardoe@gentoo.org> lirc-0.7.2.ebuild:
|
||||||
|
Adding modular X depends
|
||||||
|
|
||||||
|
04 Dec 2005; Jeroen Roovers <jer@gentoo.org> lirc-0.7.0-r1.ebuild:
|
||||||
|
Fixed sed script number two.
|
||||||
|
|
||||||
|
*lirc-0.7.2 (23 Aug 2005)
|
||||||
|
|
||||||
|
23 Aug 2005; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.1.ebuild,
|
||||||
|
+lirc-0.7.2.ebuild:
|
||||||
|
version bump; fix rules file
|
||||||
|
|
||||||
|
10 Jul 2005; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.1.ebuild:
|
||||||
|
add udev rules file, bug #98171
|
||||||
|
|
||||||
|
15 May 2005; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0-r1.ebuild,
|
||||||
|
lirc-0.7.1.ebuild:
|
||||||
|
add support for the X use flag, bug #91624
|
||||||
|
|
||||||
|
14 May 2005; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0-r1.ebuild,
|
||||||
|
lirc-0.7.1.ebuild:
|
||||||
|
make xbox patch default in 0.7.0; uncomment it in 0.7.1, is doesn't work there
|
||||||
|
|
||||||
|
11 May 2005; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.1.ebuild:
|
||||||
|
always apply the xbox patch, it still has to be enabled
|
||||||
|
|
||||||
|
*lirc-0.7.1 (22 Apr 2005)
|
||||||
|
|
||||||
|
22 Apr 2005; Heinrich Wendel <lanius@gentoo.org> +lirc-0.7.1.ebuild:
|
||||||
|
version bump
|
||||||
|
|
||||||
|
13 Apr 2005; Heinrich Wendel <lanius@gentoo.org> -lirc-0.7.0_pre3.ebuild,
|
||||||
|
-lirc-0.7.0_pre6.ebuild, -lirc-0.7.0_pre7.ebuild, -lirc-0.7.0_pre8.ebuild,
|
||||||
|
-lirc-0.7.0.ebuild, lirc-0.7.0-r1.ebuild:
|
||||||
|
don't overwrite lircd.conf, bug #88199
|
||||||
|
|
||||||
|
13 Apr 2005; Heinrich Wendel <lanius@gentoo.org> -lirc-0.7.0_pre3.ebuild,
|
||||||
|
-lirc-0.7.0_pre6.ebuild, -lirc-0.7.0_pre7.ebuild, -lirc-0.7.0_pre8.ebuild,
|
||||||
|
-lirc-0.7.0.ebuild, lirc-0.7.0-r1.ebuild:
|
||||||
|
cleanups
|
||||||
|
|
||||||
|
13 Apr 2005; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0-r1.ebuild:
|
||||||
|
fix bt878 compilation, bug #87505
|
||||||
|
|
||||||
|
13 Apr 2005; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0-r1.ebuild:
|
||||||
|
update driver list; fix smp detection
|
||||||
|
|
||||||
|
31 Mar 2005; Aron Griffis <agriffis@gentoo.org> lirc-0.7.0-r1.ebuild:
|
||||||
|
stable on ia64
|
||||||
|
|
||||||
|
25 Mar 2005; Bryan Østergaard <kloeri@gentoo.org> lirc-0.7.0-r1.ebuild:
|
||||||
|
Stable on alpha, bug 84888.
|
||||||
|
|
||||||
|
24 Mar 2005; Joseph Jezak <josejx@gentoo.org> lirc-0.7.0-r1.ebuild:
|
||||||
|
Marked ppc stable for bug #84888.
|
||||||
|
|
||||||
|
10 Mar 2005; Markus Rothe <corsair@gentoo.org> lirc-0.7.0-r1.ebuild:
|
||||||
|
Stable on ppc64
|
||||||
|
|
||||||
|
26 Jan 2005; lanius@gentoo.org lirc-0.7.0-r1.ebuild:
|
||||||
|
filter some flags; stable on amd64
|
||||||
|
|
||||||
|
20 Jan 2005; lanius@gentoo.org lirc-0.7.0-r1.ebuild:
|
||||||
|
stable on x86
|
||||||
|
|
||||||
|
02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> :
|
||||||
|
Change encoding to UTF-8 for GLEP 31 compliance
|
||||||
|
|
||||||
|
25 Dec 2004; Doug Goldstein <cardoe@gentoo.org> lirc-0.7.0-r1.ebuild:
|
||||||
|
compile fix, add libtoolize
|
||||||
|
|
||||||
|
09 Dec 2004; lanius@gentoo.org lirc-0.7.0-r1.ebuild:
|
||||||
|
fix dependencies; require autoconf 2.5
|
||||||
|
|
||||||
|
*lirc-0.7.0-r1 (03 Dec 2004)
|
||||||
|
|
||||||
|
03 Dec 2004; Chris Bainbridge <chrb@gentoo.org>
|
||||||
|
+files/lirc-0.7.0-xbox.patch.bz2, +lirc-0.7.0-r1.ebuild:
|
||||||
|
Added xbox driver. Only used when the xbox profile is selected.
|
||||||
|
Thanks to Tim Dodge for the patch.
|
||||||
|
|
||||||
|
*lirc-0.7.0_pre8 (03 Dec 2004)
|
||||||
|
|
||||||
|
03 Dec 2004; Chris Bainbridge <chrb@gentoo.org> +lirc-0.7.0_pre8.ebuild:
|
||||||
|
Version bump, pre8 doesnt appear to need the patches that were applied to pre7
|
||||||
|
|
||||||
|
30 Nov 2004; Brian Jackson <iggy@gentoo.org> metadata.xml,
|
||||||
|
lirc-0.7.0.ebuild:
|
||||||
|
update lirc-0.7.0 to use linux-mod, added lanius as maintainer
|
||||||
|
|
||||||
|
29 Nov 2004; lanius@gentoo.org files/lircd.conf:
|
||||||
|
fix default path of lirc device, bug #71618
|
||||||
|
|
||||||
|
29 Nov 2004; <heino@gentoo.org> lirc-0.7.0.ebuild:
|
||||||
|
remove bogus configure.in patch
|
||||||
|
|
||||||
|
22 Nov 2004; Daniel Black <dragonheart@gentoo.org> lirc-0.7.0.ebuild:
|
||||||
|
added debug support as per bug #71989. Thanks to Colin Macdonald <cbm@sfu.ca>
|
||||||
|
|
||||||
|
17 Nov 2004; Gustavo Zacarias <gustavoz@gentoo.org> lirc-0.7.0_pre7.ebuild:
|
||||||
|
Keyworded sparc
|
||||||
|
|
||||||
|
*lirc-0.7.0 (17 Nov 2004)
|
||||||
|
|
||||||
|
17 Nov 2004; <lanius@gentoo.org> +files/lirc-0.7.0-configure.in.patch,
|
||||||
|
+files/lirc-0.7.0-streamzap.patch.bz2, -lirc-0.6.6-r1.ebuild,
|
||||||
|
+lirc-0.7.0.ebuild, -lirc-0.7.0_pre4.ebuild:
|
||||||
|
- version bump, bug #68613
|
||||||
|
- move to kernel-mod eclass, bug #67431
|
||||||
|
- fix undefined AC_MACROS, bug #67433
|
||||||
|
|
||||||
|
19 Oct 2004; Dylan Carlson <absinthe@gentoo.org> lirc-0.7.0_pre7.ebuild:
|
||||||
|
Stable on amd64.
|
||||||
|
|
||||||
|
05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
|
||||||
|
lirc-0.6.6-r1.ebuild, lirc-0.7.0_pre4.ebuild, lirc-0.7.0_pre7.ebuild:
|
||||||
|
Masked lirc-0.7.0_pre7.ebuild stable for ppc
|
||||||
|
|
||||||
|
05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
|
||||||
|
lirc-0.6.6-r1.ebuild, lirc-0.7.0_pre4.ebuild:
|
||||||
|
Masked lirc-0.7.0_pre4.ebuild stable for ppc
|
||||||
|
|
||||||
|
05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
|
||||||
|
lirc-0.6.6-r1.ebuild:
|
||||||
|
Masked lirc-0.6.6-r1.ebuild stable for ppc
|
||||||
|
|
||||||
|
02 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> lirc-0.7.0_pre7.ebuild:
|
||||||
|
Stable on alpha.
|
||||||
|
|
||||||
|
28 Sep 2004; Sven Wegener <swegener@gentoo.org> files/lircmd:
|
||||||
|
Gentoo Technologies, Inc. -> Gentoo Foundation
|
||||||
|
|
||||||
|
26 Sep 2004; Heinrich Wendel <lanius@gentoo.org> files/lircd:
|
||||||
|
remove need net from init script
|
||||||
|
|
||||||
|
26 Sep 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre7-r1.ebuild:
|
||||||
|
make streamzap driver depend on a use flag, because it can break other things,
|
||||||
|
bug #64557
|
||||||
|
|
||||||
|
25 Sep 2004; Heinrich Wendel <lanius@gentoo.org>
|
||||||
|
+files/lirc-0.7.0_pre7-configure.patch, lirc-0.7.0_pre7-r1.ebuild,
|
||||||
|
lirc-0.7.0_pre7.ebuild:
|
||||||
|
fix typo in configure that leads to a compile error, bug #64356
|
||||||
|
|
||||||
|
*lirc-0.7.0_pre7-r1 (16 Sep 2004)
|
||||||
|
|
||||||
|
16 Sep 2004; Heinrich Wendel <lanius@gentoo.org>
|
||||||
|
+files/lirc-0.7.0_pre7-streamzap.patch.bz2, +lirc-0.7.0_pre7-r1.ebuild:
|
||||||
|
add streamcap pc remote support, bug #60110, mark pre7 x86
|
||||||
|
|
||||||
|
08 Sep 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre7.ebuild:
|
||||||
|
fix pid file, bug #62838
|
||||||
|
|
||||||
|
03 Aug 2004; Michael Sterrett <mr_bones_@gentoo.org> lirc-0.7.0_pre7.ebuild:
|
||||||
|
fix use invocation
|
||||||
|
|
||||||
|
03 Aug 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre7.ebuild:
|
||||||
|
don't use kmod if no modules are build, bug #59250
|
||||||
|
|
||||||
|
03 Aug 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre7.ebuild:
|
||||||
|
check if is_koutput, bug #59159
|
||||||
|
|
||||||
|
02 Aug 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre7.ebuild:
|
||||||
|
add lircmd init script, bug #17167
|
||||||
|
|
||||||
|
*lirc-0.7.0_pre7 (02 Aug 2004)
|
||||||
|
|
||||||
|
02 Aug 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre7.ebuild:
|
||||||
|
version bump, make it work with 2.6 kernels, install graphics
|
||||||
|
|
||||||
|
28 Jul 2004; Tom Gall <tgall@gentoo.org> lirc-0.7.0_pre6.ebuild:
|
||||||
|
stable on ppc64, bug #55076
|
||||||
|
|
||||||
|
03 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> lirc-0.7.0_pre4.ebuild:
|
||||||
|
Stable on alpha.
|
||||||
|
|
||||||
|
*lirc-0.7.0_pre6 (30 Jun 2004)
|
||||||
|
|
||||||
|
30 Jun 2004; Chris Bainbridge <chrb@gentoo.org> +lirc-0.7.0_pre6.ebuild:
|
||||||
|
Version bump, fix ARCH and xbox config support
|
||||||
|
|
||||||
|
26 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> lirc-0.7.0_pre4.ebuild:
|
||||||
|
Marked stable on amd64.
|
||||||
|
|
||||||
|
07 Jun 2004; Daniel Black <dragonheart@gentoo.org> +metadata.xml,
|
||||||
|
lirc-0.6.6-r1.ebuild, lirc-0.7.0_pre3.ebuild, lirc-0.7.0_pre4.ebuild:
|
||||||
|
x86 stable.QA fixes. Use LIRC_OPTS to set options.
|
||||||
|
|
||||||
|
24 May 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.6.6-r1.ebuild,
|
||||||
|
lirc-0.7.0_pre2.ebuild, lirc-0.7.0_pre3.ebuild, lirc-0.7.0_pre4.ebuild:
|
||||||
|
fix GREP in global scope, bug #48382
|
||||||
|
|
||||||
|
22 Apr 2004; Danny van Dyk <kugelfang@gentoo.org> lirc-0.7.0_pre4.ebuild:
|
||||||
|
marked ~amd64. Someone forgot to mark ~amd64 on a version bump.
|
||||||
|
|
||||||
|
*lirc-0.7.0_pre4 (09 Apr 2004)
|
||||||
|
|
||||||
|
09 Apr 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre4.ebuild:
|
||||||
|
version bump, enable syslog logging, bug #47311
|
||||||
|
|
||||||
|
14 Mar 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre3.ebuild:
|
||||||
|
fix url to kernel 2.6 patch, remove irda warning, it's obsolete, bug #44395
|
||||||
|
|
||||||
|
*lirc-0.7.0_pre3 (08 Mar 2004)
|
||||||
|
|
||||||
|
08 Mar 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre3.ebuild:
|
||||||
|
version bump
|
||||||
|
|
||||||
|
24 Feb 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre2.ebuild:
|
||||||
|
stable on x86
|
||||||
|
|
||||||
|
17 Feb 2004; Aron Griffis <agriffis@gentoo.org> lirc-0.7.0_pre2.ebuild:
|
||||||
|
stable on alpha and ia64
|
||||||
|
|
||||||
|
05 Feb 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre2.ebuild,
|
||||||
|
files/lircd.conf:
|
||||||
|
added /etc/conf.d/lircd
|
||||||
|
|
||||||
|
19 Jan 2004; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre2.ebuild,
|
||||||
|
files/lirc-0.7.0_pre2-i2c.patch.gz:
|
||||||
|
added patch to compile with i2c 2.8
|
||||||
|
|
||||||
|
17 Jan 2004; Bartosch Pixa <darkspecter@gentoo.org> lirc-0.7.0_pre2.ebuild:
|
||||||
|
set ppc in keywords
|
||||||
|
|
||||||
|
14 Jan 2004; Brian Jackson <iggy@gentoo.org> lirc-0.6.6-r1.ebuild,
|
||||||
|
lirc-0.7.0_pre2.ebuild, files/lircd:
|
||||||
|
updated dates in ebuilds, added ${LIRCD_OPTS} to the start cmd line to
|
||||||
|
pass extra options to the daemon
|
||||||
|
|
||||||
|
29 Dec 2003; Sven Blumenstein <bazik@gentoo.org> lirc-0.6.6-r1.ebuild:
|
||||||
|
Marked sparc to fix gxine depend.
|
||||||
|
|
||||||
|
29 Dec 2003; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre2.ebuild:
|
||||||
|
finally fix kernel 2.6 support
|
||||||
|
|
||||||
|
29 Nov 2003; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre2.ebuild:
|
||||||
|
fixed typo in LIRC_OPTS
|
||||||
|
|
||||||
|
26 Nov 2003; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre2.ebuild:
|
||||||
|
added check for 2.6 kernel which removes all drivers from build
|
||||||
|
|
||||||
|
25 Nov 2003; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre2.ebuild:
|
||||||
|
added warning about 2.6 kernel
|
||||||
|
|
||||||
|
16 Nov 2003; Brad House <brad_mssw@gentoo.org> lirc-0.6.6-r1.ebuild:
|
||||||
|
mark stable on amd64
|
||||||
|
|
||||||
|
23 Oct 2003; Martin Holzer <mholzer@gentoo.org> lirc-0.7.0_pre2.ebuild:
|
||||||
|
added warning about irda and kernel. Closes #30847.
|
||||||
|
|
||||||
|
13 Oct 2003; Martin Holzer <mholzer@gentoo.org> :
|
||||||
|
fixing sandbox issue. closes #30982
|
||||||
|
|
||||||
|
*lirc-0.7.0_pre2 (11 Oct 2003)
|
||||||
|
|
||||||
|
11 Oct 2003; Heinrich Wendel <lanius@gentoo.org> lirc-0.6.5.ebuild,
|
||||||
|
lirc-0.7.0_pre2.ebuild, files/lirc-0.6.5-gentoo.diff.bz2:
|
||||||
|
cleanups
|
||||||
|
|
||||||
|
*lirc-0.7.0_pre2 (11 Oct 2003)
|
||||||
|
|
||||||
|
11 Oct 2003; Heinrich Wendel <lanius@gentoo.org> lirc-0.7.0_pre2.ebuild:
|
||||||
|
version bump
|
||||||
|
|
||||||
|
*lirc-0.6.6-r2 (09 Sep 2003)
|
||||||
|
|
||||||
|
09 Sep 2003; Martin Holzer <mholzer@gentoo.org> lirc-0.6.6-r2.ebuild,
|
||||||
|
files/lirc-0.6.6-r2-gentoo.diff.bz2:
|
||||||
|
Adding 2003-08-01 patch from rivatv.sf.net for asus support
|
||||||
|
|
||||||
|
*lirc-0.6.6-r1 (27 Feb 2003)
|
||||||
|
|
||||||
|
27 Feb 2003; Mark Guertin <gerk@gentoo.org> lirc-0.6.6-r1.ebuild :
|
||||||
|
set ~ppc in keywords
|
||||||
|
|
||||||
|
*lirc-0.6.6 (04 Feb 2003)
|
||||||
|
|
||||||
|
04 Feb 2003; Nick Hadaway <raker@gentoo.org> lirc-0.6.6.ebuild,
|
||||||
|
files/digest-lirc-0.6.6, files/lirc-0.6.6-gentoo.diff.bz2 :
|
||||||
|
Migrated previous patch's mknod and depmod related fixes. Added to the
|
||||||
|
patch removing references to a seemingly missing hw_udp.c. Added
|
||||||
|
an SMP workaround started on bug #13241. Version bump.
|
||||||
|
|
||||||
|
*lirc-0.6.5 (11 Jul 2002)
|
||||||
|
|
||||||
|
09 JuL 2002; Georg Sauthoff <g_sauthoff@web.de> lirc-0.6.5.ebuild, files/lircd,
|
||||||
|
files/lirc-0.6.5-gentoo.diff: Initial ebuild.
|
16
app-misc/lirc/Manifest
Normal file
16
app-misc/lirc/Manifest
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
AUX irexec-confd 280 RMD160 f669c7c98b9d7cac2010284ab6068d29d47ec811 SHA1 c6decc19a273d98d451de137a2ffbe16d5df28ae SHA256 c404ad3b624004cab25bd3a89593cdeb0abbc25771d6e52caf2f37cb4f7b2b79
|
||||||
|
AUX irexec-initd 808 RMD160 06b02232f892ab032e2bf8b35bb2945a623a2610 SHA1 5c5630e5434c2430b9a74b725fc5350e29adaede SHA256 9325419aa45d80c205bc1cd47fe839b178da74bca5dd928cbe3ae17423b92493
|
||||||
|
AUX irexec-initd-0.8.6-r2 816 RMD160 e9969072ccbdcb284781a4224c9fa2afc72fecaf SHA1 ab066d769417e13c194112ba99f309bb1cb0d2e5 SHA256 5e5a31fbd93294a6e210499a880fcab371b23706824c9d60d827b0187d7bade4
|
||||||
|
AUX lirc-0.8.3_pre1-remotewonderplus.patch 943 RMD160 05a0696d51ff01c7d9644ad3ff4d56fef20be439 SHA1 971ad8b27d57c31439a1f7fb87dac2dc39d6c1e8 SHA256 547efbfa30f282ba9100495044e3b720c8f74c44f9a4e34db934d2ac7976fe29
|
||||||
|
AUX lirc-0.8.4-portaudio_check.patch 769 RMD160 d83b1a167da5b0c4e09ef716a4fc80f7261f7665 SHA1 81537dc12f897756d24fcf2cf4d178dc8169e360 SHA256 01e2034aaa6a7eb039e5c0e6c3b4a6ed38860614d3d0b0005d99a4aac2b3827e
|
||||||
|
AUX lirc-0.8.6-send-evsyn.diff 563 RMD160 9f0e43f296c103f43445fbd6bbbc61492ab1f346 SHA1 7c704c46eb80eececfbb15a0a23f88773f6225a0 SHA256 26c442281253732b0fda80168893f2bef90c4684edeb902bf52faca680bde0c7
|
||||||
|
AUX lircd-0.8.3 581 RMD160 162a54bb19df7b97aa982355a6d009ddc82580eb SHA1 c0f7a0a65169d02bdc7003d574d8610694241a5d SHA256 9ba3c5a8c0ca5966729dc5e2c7a5960bbf12b443d91e9e319a0277f153df1b1f
|
||||||
|
AUX lircd-0.8.6 973 RMD160 4e8a04b8d052558a91e8278589cc04d70f164a0d SHA1 e333b816a396e4005bdafce2b77501098fbcec5a SHA256 473cf04b2f6addf7c86d23103b1eff68bf3758fda2bf25401ff0631c568c7805
|
||||||
|
AUX lircd.conf.2 317 RMD160 dbd600cb97ce10ba06e29e32fe5d3eac6cf19a7d SHA1 054bde131b965e2fea8599accbf69fc489cb66e8 SHA256 694d96ffc0c5b8d258592d89c0221aa9b10d69ce024a69a0cc935d899e0b855e
|
||||||
|
AUX lircmd 466 RMD160 32f2b2411afc60522944f5c3dff9f53aac242a9c SHA1 79939de790d20704009643bd810e3186090d0e36 SHA256 d47f22a33a83c14a4a0c333d6a445c40e550c491899fb0c6d323e23fe1eac7b7
|
||||||
|
AUX modprobed.lirc 549 RMD160 89edfd587932959df9e521d146cef7c67cf97b18 SHA1 f59d8f031859eb6b6dccd1faf15d7ed2251288b1 SHA256 b4951252321ea326d3ec401e5ff1112716c5aaf5b2ca94d9f5e187e22ad35c44
|
||||||
|
AUX modulesd.lirc 482 RMD160 0c7ec9881b337529acaf15eb4bf7a66a8623fc6c SHA1 8415e466cad31278496bafa817ccabbb72c56ce4 SHA256 3906b61951e1245cb3c9b16e81255a735f7bcdbbfcbedcdf44cd53236e2a3f28
|
||||||
|
DIST lirc-0.8.7.tar.bz2 832187 RMD160 d6542f25545a482de002b65ecc9d191ab4b1b388 SHA1 d964f4b2e1f0cbc8ac8384b585a32384eebc25fe SHA256 e431454f266c4ddc209c3cc84fc506cac6092eb5124b4f3dcc215c8584ea7a39
|
||||||
|
EBUILD lirc-0.8.7.ebuild 10152 RMD160 9e11f0410fac5931c3d3f3d650162db20bfe18f7 SHA1 7c68fc1d5bab20e63990871cdc2b4094a4a6ef8b SHA256 bb06b36db194cfb0f848e71ee055ffe63af28d467b9e0ec882e2c27f0976b1af
|
||||||
|
MISC ChangeLog 36503 RMD160 5eded9f5a370a593f6879f29b0daf1efb95fe51d SHA1 9ec99e8b0fa083ae52f2ab8e58ea12537df105e2 SHA256 5623e3327b5aea5b88895cd6401412a503088129c182a2d9a0d2daa07d7651e6
|
||||||
|
MISC metadata.xml 376 RMD160 7b854dad1999c38592eabe928aab80615ba1f1e5 SHA1 17dc9c9591c77aa4ec2d98b9bc1f34ff68da31ad SHA256 e3b4637a67a93eb4b9457fa5941e8a6a891adca11a1ebc80c21a59650eac93aa
|
9
app-misc/lirc/files/irexec-confd
Normal file
9
app-misc/lirc/files/irexec-confd
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Options to pass to the irexec process
|
||||||
|
IREXEC_OPTS="/etc/lircrc"
|
||||||
|
|
||||||
|
# User to execute irexec as.
|
||||||
|
# Warning: Running irexec as root can open security holes
|
||||||
|
#IREXEC_USER="root"
|
||||||
|
|
||||||
|
# Use this to disable the warning printed when starting irexec as root
|
||||||
|
# IREXEC_DISABLE_ROOT_WARNING=yes
|
28
app-misc/lirc/files/irexec-initd
Executable file
28
app-misc/lirc/files/irexec-initd
Executable file
@ -0,0 +1,28 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
# Copyright 2003 Martin Hierling <mad@cc.fh-lippe.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/irexec-initd,v 1.3 2007/05/24 20:12:16 zzam Exp $
|
||||||
|
|
||||||
|
: ${IREXEC_USER:=root}
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need lircd
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
if [ "x${IREXEC_USER}" = "xroot" -a "x${IREXEC_DISABLE_ROOT_WARNING}" != "xyes" ]; then
|
||||||
|
ewarn "Warning: Running irexec as root can open security holes"
|
||||||
|
fi
|
||||||
|
|
||||||
|
ebegin "Starting irexec"
|
||||||
|
start-stop-daemon --start --chuid ${IREXEC_USER} --user ${IREXEC_USER} --chdir / \
|
||||||
|
--exec /usr/bin/irexec -- --daemon ${IREXEC_OPTS}
|
||||||
|
eend $? "Failed to start irexec."
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping irexec"
|
||||||
|
start-stop-daemon --stop --exec /usr/bin/irexec --user ${IREXEC_USER}
|
||||||
|
eend $? "Failed to stop irexec."
|
||||||
|
}
|
||||||
|
|
28
app-misc/lirc/files/irexec-initd-0.8.6-r2
Executable file
28
app-misc/lirc/files/irexec-initd-0.8.6-r2
Executable file
@ -0,0 +1,28 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
# Copyright 2003 Martin Hierling <mad@cc.fh-lippe.de>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/irexec-initd-0.8.6-r2,v 1.1 2009/11/15 10:04:21 zzam Exp $
|
||||||
|
|
||||||
|
: ${IREXEC_USER:=root}
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need lirc
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
if [ "x${IREXEC_USER}" = "xroot" -a "x${IREXEC_DISABLE_ROOT_WARNING}" != "xyes" ]; then
|
||||||
|
ewarn "Warning: Running irexec as root can open security holes"
|
||||||
|
fi
|
||||||
|
|
||||||
|
ebegin "Starting irexec"
|
||||||
|
start-stop-daemon --start --chuid ${IREXEC_USER} --user ${IREXEC_USER} --chdir / \
|
||||||
|
--exec /usr/bin/irexec -- --daemon ${IREXEC_OPTS}
|
||||||
|
eend $? "Failed to start irexec."
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping irexec"
|
||||||
|
start-stop-daemon --stop --exec /usr/bin/irexec --user ${IREXEC_USER}
|
||||||
|
eend $? "Failed to stop irexec."
|
||||||
|
}
|
||||||
|
|
26
app-misc/lirc/files/lirc-0.8.3_pre1-remotewonderplus.patch
Normal file
26
app-misc/lirc/files/lirc-0.8.3_pre1-remotewonderplus.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
--- lirc-0.8.0/drivers/lirc_atiusb/lirc_atiusb.c.orig 2005-10-29 08:18:53.000000000 -0600
|
||||||
|
+++ lirc-0.8.0/drivers/lirc_atiusb/lirc_atiusb.c 2006-04-01 14:31:05.000000000 -0700
|
||||||
|
@@ -147,8 +147,9 @@
|
||||||
|
/* init strings */
|
||||||
|
#define USB_OUTLEN 7
|
||||||
|
|
||||||
|
-static char init1[] = {0x01, 0x00, 0x20, 0x14};
|
||||||
|
-static char init2[] = {0x01, 0x00, 0x20, 0x14, 0x20, 0x20, 0x20};
|
||||||
|
+static char init1[] = {0x80, 0x05, 0x1b, 0x15, 0x14, 0x20, 0x24, 0x15};
|
||||||
|
+static char init2[] = {0x83, 0x03};
|
||||||
|
+static char init3[] = {0x84, 0xd7, 0x020};
|
||||||
|
|
||||||
|
struct in_endpt {
|
||||||
|
/* inner link in list of endpoints for the remote specified by ir */
|
||||||
|
@@ -1034,8 +1034,9 @@
|
||||||
|
usb_sndintpipe(ir->usbdev, oep->ep->bEndpointAddress), oep->buf,
|
||||||
|
USB_OUTLEN, usb_remote_send, oep, oep->ep->bInterval);
|
||||||
|
|
||||||
|
- send_packet(oep, 0x8004, init1);
|
||||||
|
- send_packet(oep, 0x8007, init2);
|
||||||
|
+ send_packet(oep, 0x8007, init1);
|
||||||
|
+ send_packet(oep, 0x8002, init2);
|
||||||
|
+ send_packet(oep, 0x8003, init3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
18
app-misc/lirc/files/lirc-0.8.4-portaudio_check.patch
Normal file
18
app-misc/lirc/files/lirc-0.8.4-portaudio_check.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
Portaudio is only needed for LIRC_DEVICES=audio, so not checking for Portaudio when the device is disabled will prevent automagic dependencies.
|
||||||
|
--- configure.ac.orig 2009-03-13 10:02:50.000000000 +0100
|
||||||
|
+++ configure.ac 2009-03-13 10:04:00.000000000 +0100
|
||||||
|
@@ -336,14 +336,6 @@
|
||||||
|
AC_DEFINE(HAVE_LIBIRMAN_SW)
|
||||||
|
possible_drivers="${possible_drivers} (irman_sw)"
|
||||||
|
)
|
||||||
|
-dnl audio driver requires PortAudio library installed and some linker flags
|
||||||
|
-AC_CHECK_HEADERS(portaudio.h,[
|
||||||
|
- AC_CHECK_LIB(portaudio, Pa_Initialize,[
|
||||||
|
- AC_DEFINE(HAVE_LIBPORTAUDIO)
|
||||||
|
- possible_drivers="${possible_drivers} (audio)"
|
||||||
|
- ],,${portaudio_lib_other}
|
||||||
|
- )]
|
||||||
|
-)
|
||||||
|
dnl audio_alsa driver requires ALSA library installed and some linker flags
|
||||||
|
have_alsa=no
|
||||||
|
AC_CHECK_HEADERS(alsa/asoundlib.h,[
|
20
app-misc/lirc/files/lirc-0.8.6-send-evsyn.diff
Normal file
20
app-misc/lirc/files/lirc-0.8.6-send-evsyn.diff
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- daemons/lircd.c.old 2009-12-30 14:37:13.000000000 -0600
|
||||||
|
+++ daemons/lircd.c 2009-12-30 14:39:42.000000000 -0600
|
||||||
|
@@ -1909,6 +1909,17 @@
|
||||||
|
logprintf(LOG_ERR, "writing to uinput failed");
|
||||||
|
logperror(LOG_ERR, NULL);
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+ /* Need to write sync event */
|
||||||
|
+ memset(&event, 0, sizeof(event));
|
||||||
|
+ event.type = EV_SYN;
|
||||||
|
+ event.code = SYN_REPORT;
|
||||||
|
+ event.value = 0;
|
||||||
|
+ if(write(uinputfd, &event, sizeof(event)) != sizeof(event))
|
||||||
|
+ {
|
||||||
|
+ logprintf(LOG_ERR, "writing EV_SYN to uinput failed");
|
||||||
|
+ logperror(LOG_ERR, NULL);
|
||||||
|
+ }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
23
app-misc/lirc/files/lircd-0.8.3
Normal file
23
app-misc/lirc/files/lircd-0.8.3
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
# Copyright 1999-2004 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/lircd-0.8.3,v 1.1 2008/05/05 09:53:19 zzam Exp $
|
||||||
|
|
||||||
|
PIDFILE=/var/run/${SVCNAME}.pid
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
provide lirc
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
ebegin "Starting lircd"
|
||||||
|
start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd -- \
|
||||||
|
-P "${PIDFILE}" ${LIRCD_OPTS}
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping lircd"
|
||||||
|
start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd
|
||||||
|
eend $?
|
||||||
|
}
|
41
app-misc/lirc/files/lircd-0.8.6
Normal file
41
app-misc/lirc/files/lircd-0.8.6
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
# Copyright 1999-2004 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/lircd-0.8.6,v 1.2 2010/05/21 02:32:36 beandog Exp $
|
||||||
|
|
||||||
|
PIDFILE=/var/run/lirc/${SVCNAME}.pid
|
||||||
|
LIRCD_SYMLINKFILE=/dev/lircd
|
||||||
|
LIRCD_SOCKET=/var/run/lirc/lircd
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need localmount
|
||||||
|
use modules
|
||||||
|
provide lirc
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
local retval
|
||||||
|
ebegin "Starting lircd"
|
||||||
|
rm -f ${LIRCD_SOCKET} && ln -s ${LIRCD_SOCKET} ${LIRCD_SYMLINKFILE}
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
eend $? "Unable to create symbolic link ${LIRCD_SYMLINKFILE}"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
start-stop-daemon --start --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd -- \
|
||||||
|
-P "${PIDFILE}" ${LIRCD_OPTS}
|
||||||
|
retval=$?
|
||||||
|
|
||||||
|
if [ ${retval} -ne 0 ]; then
|
||||||
|
rm -f ${LIRCD_SOCKET}
|
||||||
|
fi
|
||||||
|
|
||||||
|
eend ${retval}
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping lircd"
|
||||||
|
rm -f ${LIRCD_SYMLINKFILE}
|
||||||
|
start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" --exec /usr/sbin/lircd
|
||||||
|
eend $?
|
||||||
|
}
|
10
app-misc/lirc/files/lircd.conf.2
Normal file
10
app-misc/lirc/files/lircd.conf.2
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Options to pass to the lircd process
|
||||||
|
|
||||||
|
# for devices with lirc-kernel-module
|
||||||
|
#LIRCD_OPTS="-d /dev/lirc0"
|
||||||
|
#LIRCD_OPTS="-d /dev/lirc"
|
||||||
|
|
||||||
|
# for devices using the input-layer
|
||||||
|
#LIRCD_OPTS="-H devinput -d /dev/input/by-path/pci-0000:00:0a.0--event-ir"
|
||||||
|
# This should work, Bug #235107
|
||||||
|
#LIRCD_OPTS="-H devinput -d name=*DVB*"
|
20
app-misc/lirc/files/lircmd
Executable file
20
app-misc/lirc/files/lircmd
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
# Copyright 1999-2004 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/files/lircmd,v 1.2 2004/09/28 00:22:15 swegener Exp $
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need lircd
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
ebegin "Starting lircmd"
|
||||||
|
start-stop-daemon --start --quiet --exec /usr/sbin/lircmd
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
ebegin "Stopping lircmd"
|
||||||
|
start-stop-daemon --stop --quiet --exec /usr/sbin/lircmd
|
||||||
|
eend $?
|
||||||
|
}
|
22
app-misc/lirc/files/modprobed.lirc
Normal file
22
app-misc/lirc/files/modprobed.lirc
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#
|
||||||
|
# For first serial receivers:
|
||||||
|
#
|
||||||
|
#options lirc_serial irq=4 io=0x3f8
|
||||||
|
#options lirc_sir irq=4 io=0x3f8
|
||||||
|
|
||||||
|
#
|
||||||
|
# Detach first serial port from serial-driver.
|
||||||
|
# Use this when you have your serial-port-driver statically
|
||||||
|
# compiled into your kernel, or as a module but loaded before
|
||||||
|
# the lirc-module.
|
||||||
|
#
|
||||||
|
#install lirc_serial setserial /dev/ttyS0 uart none; modprobe --ignore-install lirc_serial
|
||||||
|
#
|
||||||
|
#install lirc_sir setserial /dev/ttyS0 uart none; modprobe --ignore-install lirc_sir
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# For parallel receivers:
|
||||||
|
#
|
||||||
|
#options lirc_parallel irq=7 io=0x3bc
|
||||||
|
|
22
app-misc/lirc/files/modulesd.lirc
Normal file
22
app-misc/lirc/files/modulesd.lirc
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#
|
||||||
|
# For first serial receivers:
|
||||||
|
#
|
||||||
|
#options lirc_serial irq=4 io=0x3f8
|
||||||
|
#options lirc_sir irq=4 io=0x3f8
|
||||||
|
|
||||||
|
#
|
||||||
|
# Detach first serial port from serial-driver.
|
||||||
|
# Use this when you have your serial-port-driver statically
|
||||||
|
# compiled into your kernel, or as a module but loaded before
|
||||||
|
# the lirc-module.
|
||||||
|
#
|
||||||
|
#pre-install lirc_serial setserial /dev/ttyS0 uart none
|
||||||
|
#
|
||||||
|
#pre-install lirc_sir setserial /dev/ttyS0 uart none
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# For parallel receivers:
|
||||||
|
#
|
||||||
|
#options lirc_parallel irq=7 io=0x3bc
|
||||||
|
|
360
app-misc/lirc/lirc-0.8.7.ebuild
Normal file
360
app-misc/lirc/lirc-0.8.7.ebuild
Normal file
@ -0,0 +1,360 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/lirc/lirc-0.8.7.ebuild,v 1.3 2010/11/05 13:42:47 hwoarang Exp $
|
||||||
|
|
||||||
|
inherit eutils linux-mod flag-o-matic autotools
|
||||||
|
|
||||||
|
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
|
||||||
|
HOMEPAGE="http://www.lirc.org/"
|
||||||
|
|
||||||
|
MY_P=${PN}-${PV/_/}
|
||||||
|
|
||||||
|
if [[ "${PV/_pre/}" = "${PV}" ]]; then
|
||||||
|
SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
|
||||||
|
else
|
||||||
|
SRC_URI="http://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ~ppc x86"
|
||||||
|
IUSE="debug doc X hardware-carrier transmitter"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
X? (
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libSM
|
||||||
|
x11-libs/libICE
|
||||||
|
)
|
||||||
|
lirc_devices_alsa_usb? ( media-libs/alsa-lib )
|
||||||
|
lirc_devices_audio? ( >media-libs/portaudio-18 )
|
||||||
|
lirc_devices_irman? ( media-libs/libirman )"
|
||||||
|
|
||||||
|
# This are drivers with names matching the
|
||||||
|
# parameter --with-driver=NAME
|
||||||
|
IUSE_LIRC_DEVICES_DIRECT="
|
||||||
|
all userspace accent act200l act220l
|
||||||
|
adaptec alsa_usb animax asusdh atilibusb
|
||||||
|
atiusb audio audio_alsa avermedia avermedia_vdomate
|
||||||
|
avermedia98 awlibusb bestbuy bestbuy2 breakoutbox
|
||||||
|
bte bw6130 caraca chronos commandir
|
||||||
|
cph06x creative creative_infracd
|
||||||
|
devinput digimatrix dsp dvico ea65 ene0100
|
||||||
|
exaudio flyvideo ftdi gvbctv5pci hauppauge
|
||||||
|
hauppauge_dvb hercules_smarttv_stereo i2cuser
|
||||||
|
igorplugusb iguanaIR imon imon_24g imon_knob
|
||||||
|
imon_lcd imon_pad imon_rsc irdeo irdeo_remote
|
||||||
|
irlink irman irreal it87 ite8709
|
||||||
|
knc_one kworld leadtek_0007 leadtek_0010
|
||||||
|
leadtek_pvr2000 livedrive_midi
|
||||||
|
livedrive_seq logitech macmini mceusb
|
||||||
|
mediafocusI mouseremote
|
||||||
|
mouseremote_ps2 mp3anywhere mplay nslu2
|
||||||
|
packard_bell parallel pcmak pcmak_usb
|
||||||
|
pctv pixelview_bt878 pixelview_pak
|
||||||
|
pixelview_pro provideo realmagic
|
||||||
|
remotemaster sa1100 samsung sasem sb0540 serial
|
||||||
|
silitek sir slinke streamzap tekram
|
||||||
|
tekram_bt829 tira ttusbir tuxbox tvbox udp uirt2
|
||||||
|
uirt2_raw usb_uirt_raw usbx wpc8769l"
|
||||||
|
|
||||||
|
# drivers that need special handling and
|
||||||
|
# must have another name specified for
|
||||||
|
# parameter --with-driver=NAME
|
||||||
|
IUSE_LIRC_DEVICES_SPECIAL="
|
||||||
|
serial_igor_cesko
|
||||||
|
remote_wonder_plus xboxusb usbirboy inputlirc"
|
||||||
|
|
||||||
|
IUSE_LIRC_DEVICES="${IUSE_LIRC_DEVICES_DIRECT} ${IUSE_LIRC_DEVICES_SPECIAL}"
|
||||||
|
|
||||||
|
#device-driver which use libusb
|
||||||
|
LIBUSB_USED_BY_DEV="
|
||||||
|
all atilibusb awlibusb sasem igorplugusb imon imon_lcd imon_pad
|
||||||
|
imon_rsc streamzap mceusb xboxusb irlink commandir"
|
||||||
|
|
||||||
|
for dev in ${LIBUSB_USED_BY_DEV}; do
|
||||||
|
DEPEND="${DEPEND} lirc_devices_${dev}? ( dev-libs/libusb )"
|
||||||
|
done
|
||||||
|
|
||||||
|
# adding only compile-time depends
|
||||||
|
DEPEND="${RDEPEND} ${DEPEND}
|
||||||
|
virtual/linux-sources
|
||||||
|
lirc_devices_ftdi? ( dev-embedded/libftdi )
|
||||||
|
lirc_devices_all? ( dev-embedded/libftdi )"
|
||||||
|
|
||||||
|
# adding only run-time depends
|
||||||
|
RDEPEND="${RDEPEND}
|
||||||
|
lirc_devices_usbirboy? ( app-misc/usbirboy )
|
||||||
|
lirc_devices_inputlirc? ( app-misc/inputlircd )
|
||||||
|
lirc_devices_iguanaIR? ( app-misc/iguanaIR )"
|
||||||
|
|
||||||
|
# add all devices to IUSE
|
||||||
|
for dev in ${IUSE_LIRC_DEVICES}; do
|
||||||
|
IUSE="${IUSE} lirc_devices_${dev}"
|
||||||
|
done
|
||||||
|
|
||||||
|
add_device() {
|
||||||
|
: ${lirc_device_count:=0}
|
||||||
|
((lirc_device_count++))
|
||||||
|
|
||||||
|
if [[ ${lirc_device_count} -eq 2 ]]; then
|
||||||
|
ewarn
|
||||||
|
ewarn "When selecting multiple devices for lirc to be supported,"
|
||||||
|
ewarn "it can not be guaranteed that the drivers play nice together."
|
||||||
|
ewarn
|
||||||
|
ewarn "If this is not intended, then abort emerge now with Ctrl-C,"
|
||||||
|
ewarn "Set LIRC_DEVICES and restart emerge."
|
||||||
|
ewarn
|
||||||
|
epause
|
||||||
|
fi
|
||||||
|
|
||||||
|
local dev="${1}"
|
||||||
|
local desc="device ${dev}"
|
||||||
|
if [[ -n "${2}" ]]; then
|
||||||
|
desc="${2}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
elog "Compiling support for ${desc}"
|
||||||
|
MY_OPTS="${MY_OPTS} --with-driver=${dev}"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
|
||||||
|
if use lirc_devices_mceusb2
|
||||||
|
then
|
||||||
|
ewarn "The mceusb2 driver has been merged into the mceusb."
|
||||||
|
ewarn "Please only use the latter now."
|
||||||
|
fi
|
||||||
|
|
||||||
|
ewarn "If your LIRC device requires modules, you'll need MODULE_UNLOAD"
|
||||||
|
ewarn "support in your kernel."
|
||||||
|
|
||||||
|
linux-mod_pkg_setup
|
||||||
|
|
||||||
|
# set default configure options
|
||||||
|
MY_OPTS=""
|
||||||
|
LIRC_DRIVER_DEVICE="/dev/lirc0"
|
||||||
|
|
||||||
|
if use lirc_devices_all; then
|
||||||
|
# compile in drivers for a lot of devices
|
||||||
|
add_device all "a lot of devices"
|
||||||
|
else
|
||||||
|
# compile in only requested drivers
|
||||||
|
local dev
|
||||||
|
for dev in ${IUSE_LIRC_DEVICES_DIRECT}; do
|
||||||
|
if use lirc_devices_${dev}; then
|
||||||
|
add_device ${dev}
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if use lirc_devices_remote_wonder_plus; then
|
||||||
|
add_device atiusb "device Remote Wonder Plus (atiusb-based)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use lirc_devices_serial_igor_cesko; then
|
||||||
|
add_device serial "serial with Igor Cesko design"
|
||||||
|
MY_OPTS="${MY_OPTS} --with-igor"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use lirc_devices_imon_pad; then
|
||||||
|
ewarn "The imon_pad driver has incorporated the previous pad2keys patch"
|
||||||
|
ewarn "and removed the pad2keys_active option for the lirc_imon module"
|
||||||
|
ewarn "because it is always active."
|
||||||
|
ewarn "If you have an older imon VFD device, you may need to add the module"
|
||||||
|
ewarn "option display_type=1 to override autodetection and force VFD mode."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use lirc_devices_xboxusb; then
|
||||||
|
add_device atiusb "device xboxusb"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use lirc_devices_usbirboy; then
|
||||||
|
add_device userspace "device usbirboy"
|
||||||
|
LIRC_DRIVER_DEVICE="/dev/usbirboy"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${MY_OPTS}" == "" ]]; then
|
||||||
|
if [[ "${PROFILE_ARCH}" == "xbox" ]]; then
|
||||||
|
# on xbox: use special driver
|
||||||
|
add_device atiusb "device xboxusb"
|
||||||
|
else
|
||||||
|
# no driver requested
|
||||||
|
elog
|
||||||
|
elog "Compiling only the lirc-applications, but no drivers."
|
||||||
|
elog "Enable drivers with LIRC_DEVICES if you need them."
|
||||||
|
MY_OPTS="--with-driver=none"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
use hardware-carrier && MY_OPTS="${MY_OPTS} --without-soft-carrier"
|
||||||
|
use transmitter && MY_OPTS="${MY_OPTS} --with-transmitter"
|
||||||
|
|
||||||
|
if [[ -n "${LIRC_OPTS}" ]] ; then
|
||||||
|
ewarn
|
||||||
|
ewarn "LIRC_OPTS is deprecated from lirc-0.8.0-r1 on."
|
||||||
|
ewarn
|
||||||
|
ewarn "Please use LIRC_DEVICES from now on."
|
||||||
|
ewarn "e.g. LIRC_DEVICES=\"serial sir\""
|
||||||
|
ewarn
|
||||||
|
ewarn "Flags are now set per use-flags."
|
||||||
|
ewarn "e.g. transmitter, hardware-carrier"
|
||||||
|
|
||||||
|
local opt
|
||||||
|
local unsupported_opts=""
|
||||||
|
|
||||||
|
# test for allowed options for LIRC_OPTS
|
||||||
|
for opt in ${LIRC_OPTS}; do
|
||||||
|
case ${opt} in
|
||||||
|
--with-port=*|--with-irq=*|--with-timer=*|--with-tty=*)
|
||||||
|
MY_OPTS="${MY_OPTS} ${opt}"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
unsupported_opts="${unsupported_opts} ${opt}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
if [[ -n ${unsupported_opts} ]]; then
|
||||||
|
ewarn "These options are no longer allowed to be set"
|
||||||
|
ewarn "with LIRC_OPTS: ${unsupported_opts}"
|
||||||
|
die "LIRC_OPTS is no longer recommended."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Setup parameter for linux-mod.eclass
|
||||||
|
MODULE_NAMES="lirc(misc:${S})"
|
||||||
|
BUILD_TARGETS="all"
|
||||||
|
|
||||||
|
ECONF_PARAMS=" --localstatedir=/var
|
||||||
|
--with-syslog=LOG_DAEMON
|
||||||
|
--enable-sandboxed
|
||||||
|
--with-kerneldir=${KV_DIR}
|
||||||
|
--with-moduledir=/lib/modules/${KV_FULL}/misc
|
||||||
|
$(use_enable debug)
|
||||||
|
$(use_with X x)
|
||||||
|
${MY_OPTS}"
|
||||||
|
|
||||||
|
einfo
|
||||||
|
einfo "lirc-configure-opts: ${MY_OPTS}"
|
||||||
|
elog "Setting default lirc-device to ${LIRC_DRIVER_DEVICE}"
|
||||||
|
|
||||||
|
filter-flags -Wl,-O1
|
||||||
|
|
||||||
|
# force non-parallel make, Bug 196134
|
||||||
|
MAKEOPTS="${MAKEOPTS} -j1"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${A}
|
||||||
|
cd "${S}"
|
||||||
|
|
||||||
|
# Rip out dos CRLF
|
||||||
|
edos2unix contrib/lirc.rules
|
||||||
|
|
||||||
|
# Apply patches needed for some special device-types
|
||||||
|
use lirc_devices_audio || epatch "${FILESDIR}"/lirc-0.8.4-portaudio_check.patch
|
||||||
|
use lirc_devices_remote_wonder_plus && epatch "${FILESDIR}"/lirc-0.8.3_pre1-remotewonderplus.patch
|
||||||
|
|
||||||
|
# remove parallel driver on SMP systems
|
||||||
|
if linux_chkconfig_present SMP ; then
|
||||||
|
sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Bug #187418
|
||||||
|
if kernel_is ge 2 6 22 ; then
|
||||||
|
ewarn "Disabling lirc_gpio driver as it does no longer work Kernel 2.6.22+"
|
||||||
|
sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am
|
||||||
|
fi
|
||||||
|
|
||||||
|
# respect CFLAGS
|
||||||
|
sed -i -e 's:CFLAGS="-O2:CFLAGS=""\n#CFLAGS="-O2:' configure.ac
|
||||||
|
|
||||||
|
# setting default device-node
|
||||||
|
local f
|
||||||
|
for f in configure.ac acconfig.h; do
|
||||||
|
[[ -f "$f" ]] && sed -i -e '/#define LIRC_DRIVER_DEVICE/d' "$f"
|
||||||
|
done
|
||||||
|
echo "#define LIRC_DRIVER_DEVICE \"${LIRC_DRIVER_DEVICE}\"" >> acconfig.h
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
sed -i -e "s:/usr/lib64:/usr/$(get_libdir):" tools/Makefile
|
||||||
|
emake DESTDIR="${D}" install || die "emake install failed"
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/lircd-0.8.6 lircd
|
||||||
|
newinitd "${FILESDIR}"/lircmd lircmd
|
||||||
|
newconfd "${FILESDIR}"/lircd.conf.2 lircd
|
||||||
|
|
||||||
|
insinto /etc/modprobe.d/
|
||||||
|
newins "${FILESDIR}"/modprobed.lirc lirc.conf
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/irexec-initd-0.8.6-r2 irexec
|
||||||
|
newconfd "${FILESDIR}"/irexec-confd irexec
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
dohtml doc/html/*.html
|
||||||
|
insinto /usr/share/doc/${PF}/images
|
||||||
|
doins doc/images/*
|
||||||
|
fi
|
||||||
|
|
||||||
|
insinto /usr/share/lirc/remotes
|
||||||
|
doins -r remotes/*
|
||||||
|
|
||||||
|
keepdir /var/run/lirc /etc/lirc
|
||||||
|
if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
|
||||||
|
newdoc "${D}"/etc/lirc/lircd.conf lircd.conf.example
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
linux-mod_pkg_preinst
|
||||||
|
|
||||||
|
local dir="${ROOT}/etc/modprobe.d"
|
||||||
|
if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then
|
||||||
|
elog "Renaming ${dir}/lirc to lirc.conf"
|
||||||
|
mv -f "${dir}/lirc" "${dir}/lirc.conf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# copy the first file that can be found
|
||||||
|
if [[ -f "${ROOT}"/etc/lirc/lircd.conf ]]; then
|
||||||
|
cp "${ROOT}"/etc/lirc/lircd.conf "${T}"/lircd.conf
|
||||||
|
elif [[ -f "${ROOT}"/etc/lircd.conf ]]; then
|
||||||
|
cp "${ROOT}"/etc/lircd.conf "${T}"/lircd.conf
|
||||||
|
MOVE_OLD_LIRCD_CONF=1
|
||||||
|
elif [[ -f "${D}"/etc/lirc/lircd.conf ]]; then
|
||||||
|
cp "${D}"/etc/lirc/lircd.conf "${T}"/lircd.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
# stop portage from touching the config file
|
||||||
|
if [[ -e "${D}"/etc/lirc/lircd.conf ]]; then
|
||||||
|
rm -f "${D}"/etc/lirc/lircd.conf
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
linux-mod_pkg_postinst
|
||||||
|
|
||||||
|
# copy config file to new location
|
||||||
|
# without portage knowing about it
|
||||||
|
# so it will not delete it on unmerge or ever touch it again
|
||||||
|
if [[ -e "${T}"/lircd.conf ]]; then
|
||||||
|
cp "${T}"/lircd.conf "${ROOT}"/etc/lirc/lircd.conf
|
||||||
|
if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
|
||||||
|
elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
|
||||||
|
rm -f "${ROOT}"/etc/lircd.conf
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
ewarn
|
||||||
|
ewarn "The lirc_gpio driver will not work with Kernels 2.6.22+"
|
||||||
|
ewarn "You need to switch over to /dev/input/event? if you need gpio"
|
||||||
|
ewarn "This device can than then be used via lirc's dev/input driver."
|
||||||
|
ewarn
|
||||||
|
ewarn "The new default location for lircd.conf is inside of"
|
||||||
|
ewarn "/etc/lirc/ directory"
|
||||||
|
|
||||||
|
}
|
11
app-misc/lirc/metadata.xml
Normal file
11
app-misc/lirc/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>media-tv</herd>
|
||||||
|
<use>
|
||||||
|
<flag name='hardware-carrier'>The transmitter device generates its clock
|
||||||
|
signal in hardware</flag>
|
||||||
|
<flag name='transmitter'>Add transmitter support to some lirc-drivers
|
||||||
|
(e.g. serial)</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
5
app-office/akonadi-server/Manifest
Normal file
5
app-office/akonadi-server/Manifest
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
DIST akonadi-1.4.80.tar.bz2 242292 RMD160 fb5b7ed23ab9cf34700e5f7774d309e77ff1266b SHA1 56be84c58b6df81edcd52c353df51a477a7128b8 SHA256 61e6a05378cad88377b39dd97a2baf58f6d62b4dedb7b96a86e89aa6d0360278
|
||||||
|
DIST akonadi-1.4.85.tar.bz2 242907 RMD160 81e11be57462565e9c8ab79f6917a4717fed91b0 SHA1 ae427a09b03c7ab19a0a17f7f25b9a36f8b5bed1 SHA256 739d6066f97ff58dc15466afa83c68eeed40ab1a4bdb0accc01245ef80628d5f
|
||||||
|
EBUILD akonadi-server-1.4.80.ebuild 2614 RMD160 93820a8aab01cd34d121eeea37423abd4dfbff21 SHA1 9cafe9efa6aa19b3f1bd43f17a017c9ec93fdacc SHA256 07636dc26875e80a7b4b748ff24f2ce7d60bf45a315565c15ece4c2d8e463c6c
|
||||||
|
EBUILD akonadi-server-1.4.85.ebuild 2614 RMD160 93820a8aab01cd34d121eeea37423abd4dfbff21 SHA1 9cafe9efa6aa19b3f1bd43f17a017c9ec93fdacc SHA256 07636dc26875e80a7b4b748ff24f2ce7d60bf45a315565c15ece4c2d8e463c6c
|
||||||
|
MISC metadata.xml 236 RMD160 c5cc6cb9745f9f6e3c7358482117892cbc866eb2 SHA1 d1bd263bd36cfc701e7ae12fb77e24d3f6556a88 SHA256 3bf214b7d5dabbbd8f2d607f6166647d91c5d0b7f166a4d5615da31995da06b6
|
94
app-office/akonadi-server/akonadi-server-1.4.80.ebuild
Normal file
94
app-office/akonadi-server/akonadi-server-1.4.80.ebuild
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.4.1.ebuild,v 1.1 2010/10/22 17:07:36 reavertm Exp $
|
||||||
|
|
||||||
|
EAPI="2"
|
||||||
|
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="The server part of Akonadi"
|
||||||
|
HOMEPAGE="http://pim.kde.org/akonadi"
|
||||||
|
SRC_URI="http://download.akonadi-project.org/${P/-server/}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="mysql postgres +sqlite +server"
|
||||||
|
|
||||||
|
CDEPEND="
|
||||||
|
dev-libs/boost
|
||||||
|
>=dev-libs/soprano-2.2
|
||||||
|
>=x11-libs/qt-gui-4.5.0:4[dbus]
|
||||||
|
>=x11-libs/qt-sql-4.5.0:4[mysql?,postgres?]
|
||||||
|
>=x11-libs/qt-test-4.5.0:4
|
||||||
|
x11-misc/shared-mime-info
|
||||||
|
"
|
||||||
|
DEPEND="${CDEPEND}
|
||||||
|
dev-libs/libxslt
|
||||||
|
>=dev-util/automoc-0.9.88
|
||||||
|
"
|
||||||
|
RDEPEND="${CDEPEND}
|
||||||
|
server? (
|
||||||
|
postgres? ( dev-db/postgresql-server )
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${P/-server/}"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# Set default storage backend in order: SQLite, MySQL, PostgreSQL
|
||||||
|
local available
|
||||||
|
if use sqlite; then
|
||||||
|
driver="QSQLITE3"
|
||||||
|
available+=" ${driver}"
|
||||||
|
elif use mysql; then
|
||||||
|
driver="QMYSQL"
|
||||||
|
available+=" ${driver}"
|
||||||
|
elif use postgres; then
|
||||||
|
driver="QPSQL"
|
||||||
|
available+=" ${driver}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Notify about driver name change
|
||||||
|
if use sqlite && has_version "<=${CATEGORY}/${PN}-1.4.0[sqlite]"; then
|
||||||
|
ewarn
|
||||||
|
ewarn "SQLite driver name changed from QSQLITE to QSQLITE3."
|
||||||
|
ewarn "Please edit your ~/.config/akonadi/akonadiserverrc."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Notify about MySQL not being default anymore
|
||||||
|
if ! use mysql && has_version "<=${CATEGORY}/${PN}-1.4.0[mysql]"; then
|
||||||
|
ewarn
|
||||||
|
ewarn "MySQL driver is not enabled by default in Gentoo anymore."
|
||||||
|
ewarn "If you intend to use it, please enable mysql USE flag and reinstall"
|
||||||
|
ewarn "${CATEGORY}/${PN}."
|
||||||
|
ewarn "Otherwise select different driver in your ~/.config/akonadi/akonadiserverrc."
|
||||||
|
ewarn "Available drivers are:${available}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# Who knows, maybe it accidentally fixes our permission issues
|
||||||
|
cat <<-EOF > "${T}"/akonadiserverrc
|
||||||
|
[%General]
|
||||||
|
Driver=${driver}
|
||||||
|
EOF
|
||||||
|
insinto /usr/share/config/akonadi
|
||||||
|
doins "${T}"/akonadiserverrc || die "doins failed"
|
||||||
|
|
||||||
|
cmake-utils_src_install
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if use mysql || use postgres || use sqlite; then
|
||||||
|
elog
|
||||||
|
elog "${driver} has been set as your default akonadi storage backend."
|
||||||
|
elog "You can override it in your ~/.config/akonadi/akonadiserverrc."
|
||||||
|
elog "Available drivers are: QMYSQL, QPSQL, QSQLITE3"
|
||||||
|
else
|
||||||
|
ewarn
|
||||||
|
ewarn "You have decided to build ${PN} with"
|
||||||
|
ewarn "'mysql', 'postgres' and 'sqlite' USE flags disabled."
|
||||||
|
ewarn "${PN} will not be functional."
|
||||||
|
fi
|
||||||
|
}
|
94
app-office/akonadi-server/akonadi-server-1.4.85.ebuild
Normal file
94
app-office/akonadi-server/akonadi-server-1.4.85.ebuild
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.4.1.ebuild,v 1.1 2010/10/22 17:07:36 reavertm Exp $
|
||||||
|
|
||||||
|
EAPI="2"
|
||||||
|
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="The server part of Akonadi"
|
||||||
|
HOMEPAGE="http://pim.kde.org/akonadi"
|
||||||
|
SRC_URI="http://download.akonadi-project.org/${P/-server/}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="mysql postgres +sqlite +server"
|
||||||
|
|
||||||
|
CDEPEND="
|
||||||
|
dev-libs/boost
|
||||||
|
>=dev-libs/soprano-2.2
|
||||||
|
>=x11-libs/qt-gui-4.5.0:4[dbus]
|
||||||
|
>=x11-libs/qt-sql-4.5.0:4[mysql?,postgres?]
|
||||||
|
>=x11-libs/qt-test-4.5.0:4
|
||||||
|
x11-misc/shared-mime-info
|
||||||
|
"
|
||||||
|
DEPEND="${CDEPEND}
|
||||||
|
dev-libs/libxslt
|
||||||
|
>=dev-util/automoc-0.9.88
|
||||||
|
"
|
||||||
|
RDEPEND="${CDEPEND}
|
||||||
|
server? (
|
||||||
|
postgres? ( dev-db/postgresql-server )
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${P/-server/}"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# Set default storage backend in order: SQLite, MySQL, PostgreSQL
|
||||||
|
local available
|
||||||
|
if use sqlite; then
|
||||||
|
driver="QSQLITE3"
|
||||||
|
available+=" ${driver}"
|
||||||
|
elif use mysql; then
|
||||||
|
driver="QMYSQL"
|
||||||
|
available+=" ${driver}"
|
||||||
|
elif use postgres; then
|
||||||
|
driver="QPSQL"
|
||||||
|
available+=" ${driver}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Notify about driver name change
|
||||||
|
if use sqlite && has_version "<=${CATEGORY}/${PN}-1.4.0[sqlite]"; then
|
||||||
|
ewarn
|
||||||
|
ewarn "SQLite driver name changed from QSQLITE to QSQLITE3."
|
||||||
|
ewarn "Please edit your ~/.config/akonadi/akonadiserverrc."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Notify about MySQL not being default anymore
|
||||||
|
if ! use mysql && has_version "<=${CATEGORY}/${PN}-1.4.0[mysql]"; then
|
||||||
|
ewarn
|
||||||
|
ewarn "MySQL driver is not enabled by default in Gentoo anymore."
|
||||||
|
ewarn "If you intend to use it, please enable mysql USE flag and reinstall"
|
||||||
|
ewarn "${CATEGORY}/${PN}."
|
||||||
|
ewarn "Otherwise select different driver in your ~/.config/akonadi/akonadiserverrc."
|
||||||
|
ewarn "Available drivers are:${available}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# Who knows, maybe it accidentally fixes our permission issues
|
||||||
|
cat <<-EOF > "${T}"/akonadiserverrc
|
||||||
|
[%General]
|
||||||
|
Driver=${driver}
|
||||||
|
EOF
|
||||||
|
insinto /usr/share/config/akonadi
|
||||||
|
doins "${T}"/akonadiserverrc || die "doins failed"
|
||||||
|
|
||||||
|
cmake-utils_src_install
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if use mysql || use postgres || use sqlite; then
|
||||||
|
elog
|
||||||
|
elog "${driver} has been set as your default akonadi storage backend."
|
||||||
|
elog "You can override it in your ~/.config/akonadi/akonadiserverrc."
|
||||||
|
elog "Available drivers are: QMYSQL, QPSQL, QSQLITE3"
|
||||||
|
else
|
||||||
|
ewarn
|
||||||
|
ewarn "You have decided to build ${PN} with"
|
||||||
|
ewarn "'mysql', 'postgres' and 'sqlite' USE flags disabled."
|
||||||
|
ewarn "${PN} will not be functional."
|
||||||
|
fi
|
||||||
|
}
|
8
app-office/akonadi-server/metadata.xml
Normal file
8
app-office/akonadi-server/metadata.xml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>kde</herd>
|
||||||
|
<use>
|
||||||
|
<flag name="server">Use locally installed database server.</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
225
dev-db/libdbi-drivers/ChangeLog
Normal file
225
dev-db/libdbi-drivers/ChangeLog
Normal file
@ -0,0 +1,225 @@
|
|||||||
|
# ChangeLog for dev-db/libdbi-drivers
|
||||||
|
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/ChangeLog,v 1.51 2010/09/28 17:22:52 robbat2 Exp $
|
||||||
|
|
||||||
|
*libdbi-drivers-0.8.3-r2 (28 Sep 2010)
|
||||||
|
|
||||||
|
28 Sep 2010; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.1-r1.ebuild, libdbi-drivers-0.8.1-r2.ebuild,
|
||||||
|
libdbi-drivers-0.8.3.ebuild, libdbi-drivers-0.8.3-r1.ebuild,
|
||||||
|
+libdbi-drivers-0.8.3-r2.ebuild:
|
||||||
|
Bug #329033: postgres virtual migration converted this to depending on
|
||||||
|
-server instead of -base. Fix up, with a revbump also redoing RDEPEND vs
|
||||||
|
DEPEND.
|
||||||
|
|
||||||
|
17 Jun 2010; Patrick Lauer <patrick@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.1-r1.ebuild, libdbi-drivers-0.8.1-r2.ebuild,
|
||||||
|
libdbi-drivers-0.8.3.ebuild, libdbi-drivers-0.8.3-r1.ebuild:
|
||||||
|
Migrating away from deprecated postgres virtuals
|
||||||
|
|
||||||
|
*libdbi-drivers-0.8.3-r1 (26 Oct 2009)
|
||||||
|
|
||||||
|
26 Oct 2009; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.3.ebuild, +libdbi-drivers-0.8.3-r1.ebuild,
|
||||||
|
+files/libdbi-drivers-0.8.3-firebird-fix.patch,
|
||||||
|
+files/libdbi-drivers-0.8.3-oracle-build-fix.patch:
|
||||||
|
Bug #289519: Fixup for Firebird compile. Bug #256411: Fix for Oracle
|
||||||
|
compile. Bug #254851: USE-default for tinderbox build.
|
||||||
|
|
||||||
|
24 Feb 2009; Raúl Porcel <armin76@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.3.ebuild:
|
||||||
|
arm/s390/sh stable
|
||||||
|
|
||||||
|
07 Feb 2009; Raúl Porcel <armin76@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.3.ebuild:
|
||||||
|
Add ~arm/~s390/~sh
|
||||||
|
|
||||||
|
25 Jan 2009; Markus Meier <maekke@gentoo.org> libdbi-drivers-0.8.3.ebuild:
|
||||||
|
amd64 stable, bug #253663
|
||||||
|
|
||||||
|
25 Jan 2009; Ferris McCormick <fmccor@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.3.ebuild:
|
||||||
|
Sparc stable, related to Bug #256132.
|
||||||
|
|
||||||
|
25 Jan 2009; Brent Baude <ranger@gentoo.org> libdbi-drivers-0.8.3.ebuild:
|
||||||
|
Marking libdbi-drivers-0.8.3 ppc64 for bug 256132
|
||||||
|
|
||||||
|
20 Jan 2009; Alexis Ballier <aballier@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.3.ebuild:
|
||||||
|
keyword ~x86-fbsd
|
||||||
|
|
||||||
|
11 Jan 2009; Markus Meier <maekke@gentoo.org> libdbi-drivers-0.8.3.ebuild:
|
||||||
|
x86 stable, bug #253663
|
||||||
|
|
||||||
|
09 Jan 2009; Brent Baude <ranger@gentoo.org> libdbi-drivers-0.8.3.ebuild:
|
||||||
|
Marking libdbi-drivers-0.8.3 ppc for bug 253663
|
||||||
|
|
||||||
|
05 Jan 2009; Jeroen Roovers <jer@gentoo.org> libdbi-drivers-0.8.3.ebuild:
|
||||||
|
Stable for HPPA (bug #253663).
|
||||||
|
|
||||||
|
16 Dec 2008; Peter Volkov <pva@gentoo.org> libdbi-drivers-0.8.3.ebuild:
|
||||||
|
~mips keyworded for dictd, bug #245413
|
||||||
|
|
||||||
|
01 Dec 2008; Brent Baude <ranger@gentoo.org> libdbi-drivers-0.8.3.ebuild:
|
||||||
|
Marking libdbi-drivers-0.8.3 ~ppc64 for bug 244246
|
||||||
|
|
||||||
|
14 Nov 2008; Raúl Porcel <armin76@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.3.ebuild:
|
||||||
|
ia64 stable wrt #244246
|
||||||
|
|
||||||
|
09 Nov 2008; Tobias Klausmann <klausman@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.3.ebuild:
|
||||||
|
Stable on alpha, bug #244246
|
||||||
|
|
||||||
|
09 Nov 2008; Raúl Porcel <armin76@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.3.ebuild:
|
||||||
|
Add ~alpha/~ia64 wrt #245413
|
||||||
|
|
||||||
|
03 Nov 2008; Ferris McCormick <fmccor@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.1-r2.ebuild:
|
||||||
|
Sparc stable, related to Bug #245413 and to Bug #244246.
|
||||||
|
|
||||||
|
28 Oct 2008; Jeroen Roovers <jer@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.1-r2.ebuild:
|
||||||
|
Stable for HPPA (bug #240974).
|
||||||
|
|
||||||
|
16 Oct 2008; Markus Meier <maekke@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.1-r2.ebuild:
|
||||||
|
amd64/x86 stable, bug #240974
|
||||||
|
|
||||||
|
14 Oct 2008; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.1-r1.ebuild, libdbi-drivers-0.8.1-r2.ebuild,
|
||||||
|
libdbi-drivers-0.8.3.ebuild:
|
||||||
|
Disable interactive tests better.
|
||||||
|
|
||||||
|
12 Oct 2008; nixnut <nixnut@gentoo.org> libdbi-drivers-0.8.1-r2.ebuild:
|
||||||
|
Stable on ppc wrt bug 240974
|
||||||
|
|
||||||
|
10 Oct 2008; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
+files/libdbi-drivers-0.8.3-doc-build-fix.patch,
|
||||||
|
libdbi-drivers-0.8.3.ebuild:
|
||||||
|
Make documentation build properly optional instead of dependant on system
|
||||||
|
contents.
|
||||||
|
|
||||||
|
29 Sep 2008; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
-libdbi-drivers-0.7.1.ebuild, -libdbi-drivers-0.7.1-r1.ebuild,
|
||||||
|
-libdbi-drivers-0.8.0.ebuild, -libdbi-drivers-0.8.1.ebuild,
|
||||||
|
libdbi-drivers-0.8.1-r1.ebuild:
|
||||||
|
Cleanup old ebuilds and repoman warnings.
|
||||||
|
|
||||||
|
*libdbi-drivers-0.8.3 (29 Sep 2008)
|
||||||
|
|
||||||
|
29 Sep 2008; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
+libdbi-drivers-0.8.3.ebuild:
|
||||||
|
Version bump per bug #237993.
|
||||||
|
|
||||||
|
21 May 2008; Tiziano Müller <dev-zero@gentoo.org>
|
||||||
|
libdbi-drivers-0.7.1-r1.ebuild, libdbi-drivers-0.8.0.ebuild,
|
||||||
|
libdbi-drivers-0.8.1.ebuild, libdbi-drivers-0.8.1-r1.ebuild,
|
||||||
|
libdbi-drivers-0.8.1-r2.ebuild:
|
||||||
|
Changed dependency for postgresql from dev-db/postgresql to
|
||||||
|
virtual/postgresql-server
|
||||||
|
|
||||||
|
*libdbi-drivers-0.8.1-r2 (26 Nov 2007)
|
||||||
|
|
||||||
|
26 Nov 2007; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
+libdbi-drivers-0.8.1-r2.ebuild:
|
||||||
|
Block USE=firebird when USE=bindist is in play, per bug #200284 for license
|
||||||
|
conflicts.
|
||||||
|
|
||||||
|
20 Jun 2007; Christian Faulhammer <opfer@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.1-r1.ebuild:
|
||||||
|
stable x86, bug 181579
|
||||||
|
|
||||||
|
15 Jun 2007; Christoph Mende <angelos@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.1-r1.ebuild:
|
||||||
|
Stable on amd64 wrt bug 181579
|
||||||
|
|
||||||
|
23 Nov 2006; Francesco Riosa <vivo@gentoo.org>
|
||||||
|
libdbi-drivers-0.7.1-r1.ebuild, libdbi-drivers-0.8.0.ebuild,
|
||||||
|
libdbi-drivers-0.8.1.ebuild, libdbi-drivers-0.8.1-r1.ebuild:
|
||||||
|
dev-db/mysql => virtual/mysql
|
||||||
|
|
||||||
|
17 Sep 2006; Tobias Scherbaum <dertobi123@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.1-r1.ebuild:
|
||||||
|
ppc stable
|
||||||
|
|
||||||
|
16 Sep 2006; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.1-r1.ebuild:
|
||||||
|
Bug #147808, inherit eutils.
|
||||||
|
|
||||||
|
11 Jun 2006; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
+files/libdbi-drivers-0.8.1-oci8.diff, libdbi-drivers-0.8.1-r1.ebuild:
|
||||||
|
Bug #134918 - Compile fix for oci8 driver.
|
||||||
|
|
||||||
|
24 Mar 2006; Joseph Jezak <josejx@gentoo.org>
|
||||||
|
libdbi-drivers-0.7.1-r1.ebuild:
|
||||||
|
Marked ppc stable.
|
||||||
|
|
||||||
|
07 Mar 2006; Jeroen Roovers <jer@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.1-r1.ebuild:
|
||||||
|
Stable on hppa.
|
||||||
|
|
||||||
|
*libdbi-drivers-0.8.1-r1 (25 Feb 2006)
|
||||||
|
|
||||||
|
25 Feb 2006; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
+libdbi-drivers-0.8.1-r1.ebuild:
|
||||||
|
Bug #104601, sqlite3 support is now controlled by a seperate use flag.
|
||||||
|
|
||||||
|
25 Feb 2006; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.0.ebuild, libdbi-drivers-0.8.1.ebuild:
|
||||||
|
Bug 123943, IUSE cleanup.
|
||||||
|
|
||||||
|
*libdbi-drivers-0.8.1 (16 Feb 2006)
|
||||||
|
|
||||||
|
16 Feb 2006; Karol Wojtaszek <sekretarz@gentoo.org>
|
||||||
|
+libdbi-drivers-0.8.1.ebuild:
|
||||||
|
Version bump
|
||||||
|
|
||||||
|
26 Jan 2006; Patrick McLean <chutzpah@gentoo.org>
|
||||||
|
libdbi-drivers-0.7.1-r1.ebuild:
|
||||||
|
Stable on amd64.
|
||||||
|
|
||||||
|
04 Jan 2006; Jeroen Roovers <jer@gentoo.org> libdbi-drivers-0.8.0.ebuild:
|
||||||
|
Marked ~hppa (bug #105447).
|
||||||
|
|
||||||
|
13 Nov 2005; Jason Wever <weeve@gentoo.org> libdbi-drivers-0.8.0.ebuild:
|
||||||
|
Added ~sparc keyword wrt bug #105447.
|
||||||
|
|
||||||
|
04 Sep 2005; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
libdbi-drivers-0.8.0.ebuild:
|
||||||
|
Bug #104601 again. Make libdbi-drivers bring in both slots of sqlite.
|
||||||
|
|
||||||
|
*libdbi-drivers-0.8.0 (03 Sep 2005)
|
||||||
|
|
||||||
|
03 Sep 2005; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
+libdbi-drivers-0.8.0.ebuild:
|
||||||
|
Version bump, bug #104601.
|
||||||
|
|
||||||
|
30 Aug 2005; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
libdbi-drivers-0.7.1-r1.ebuild:
|
||||||
|
Stable on x86.
|
||||||
|
|
||||||
|
*libdbi-drivers-0.7.1-r1 (27 Mar 2005)
|
||||||
|
|
||||||
|
27 Mar 2005; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml,
|
||||||
|
+libdbi-drivers-0.7.1-r1.ebuild:
|
||||||
|
Bug #86514, fix DEPEND. Also add metadata.
|
||||||
|
|
||||||
|
28 Feb 2005; Christian Parpart <trapni@gentoo.org>
|
||||||
|
libdbi-drivers-0.7.1.ebuild:
|
||||||
|
adding to ~amd64
|
||||||
|
|
||||||
|
26 Apr 2004; Aron Griffis <agriffis@gentoo.org> libdbi-drivers-0.7.1.ebuild:
|
||||||
|
Add die following econf for bug 48950
|
||||||
|
|
||||||
|
25 Mar 2004; David Holm <dholm@gentoo.org> libdbi-drivers-0.7.1.ebuild:
|
||||||
|
Added to ~ppc.
|
||||||
|
|
||||||
|
*libdbi-drivers-0.7.1 (24 Mar 2004)
|
||||||
|
|
||||||
|
24 Mar 2004; Robin H. Johnson <robbat2@gentoo.org>
|
||||||
|
libdbi-drivers-0.7.1.ebuild:
|
||||||
|
Initial commit. Original ebuild submitted by Max <m.e.bruche@lse.ac.uk>. Bug
|
||||||
|
#45153.
|
||||||
|
|
8
dev-db/libdbi-drivers/Manifest
Normal file
8
dev-db/libdbi-drivers/Manifest
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
AUX libdbi-drivers-0.8.1-oci8.diff 695 RMD160 5431c6888dc5b703d91343f4f3d3be6f4e6e1c9d SHA1 68599f1c5d3c9e0c2c970f40574a2f9055dac9dc SHA256 23a2c8819f9f80548f2c933278c844d03dec35e8500883f25ab4b7d5f4b7c523
|
||||||
|
AUX libdbi-drivers-0.8.3-doc-build-fix.patch 566 RMD160 42a6e40d92dd878e66cb2f5087af463d463ab09d SHA1 c3a62be19e77d9bdd253eefb9ee7f8d69f375d95 SHA256 ef18cdb0e5338d29bcdbbf9839bd64283d067bfe3eed3d4af3eb58fa29a316ec
|
||||||
|
AUX libdbi-drivers-0.8.3-firebird-fix.patch 1374 RMD160 d1f668148ef988f48d80d6d25dd7f84b3698d62f SHA1 15c80dd2e6e87dd43e53d20d7939026c0be8c7a2 SHA256 8e94e8dcc9445c887c7f3defdc3ed049d683f539c01d5a5007b158c3c8e0f97c
|
||||||
|
AUX libdbi-drivers-0.8.3-oracle-build-fix.patch 485 RMD160 c8d9e941318a4cbdbcc9ddc5c5f52be5e566b114 SHA1 4c6af4561041e10c5fdb00e21ded55d923cbb84e SHA256 67d088a16f91f77a377eeae1fe8d1fa30540fcf5beb0566d1146fe56cbbd3dec
|
||||||
|
DIST libdbi-drivers-0.8.3-1.tar.gz 1534420 RMD160 e0aa9e67f6560fb44018b1d35d90d4ac21b48597 SHA1 599fbab115419e8fc88b3b31a38031584ee213b5 SHA256 4ab9944398ce769c0deeb64d2f73555c67bc25ccd2ade1ccf552226c7b2acf72
|
||||||
|
EBUILD libdbi-drivers-0.8.3-r2.ebuild 3078 RMD160 eb98283dab0f98a79449f552c8e662b90c18c919 SHA1 6ffa291711389becad53ee5a73d0cd29c3ab5a91 SHA256 ff5db91202a96679aee2e156edcb5a2162144d995f8ba7e7befb6e565178c5fc
|
||||||
|
MISC ChangeLog 7659 RMD160 14f26506e2f94e125c3fc293e9ae165851af864e SHA1 a037a6600ee7c7f6aae3496a2b3cae172c0e7ae8 SHA256 9a4fc9afccc965f6d7831cf640f4c588566ffb0428fd43dd6949aaa668ac98ca
|
||||||
|
MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44
|
20
dev-db/libdbi-drivers/files/libdbi-drivers-0.8.1-oci8.diff
Normal file
20
dev-db/libdbi-drivers/files/libdbi-drivers-0.8.1-oci8.diff
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- libdbi-drivers-0.8.1/drivers/oracle/dbd_oracle.c.orig 2005-08-31 23:44:53.000000000 +0200
|
||||||
|
+++ libdbi-drivers-0.8.1/drivers/oracle/dbd_oracle.c 2006-05-30 13:10:48.000000000 +0200
|
||||||
|
@@ -523,7 +523,7 @@
|
||||||
|
unsigned int sizeattrib;
|
||||||
|
dbi_data_t *data;
|
||||||
|
char *ptr, *cols[result->numfields];
|
||||||
|
- dword status;
|
||||||
|
+ sword status;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Prefetch all cols as char *'s
|
||||||
|
@@ -700,7 +700,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
/* taken from sqlite3 driver */
|
||||||
|
-size_t dbd_quote_binary (dbi_conn_t *conn, const unsigned char *orig, size_t from_length, char **ptr_dest ) {
|
||||||
|
+size_t dbd_quote_binary (dbi_conn_t *conn, const unsigned char *orig, size_t from_length, unsigned char **ptr_dest ) {
|
||||||
|
unsigned char *temp;
|
||||||
|
size_t len;
|
||||||
|
|
@ -0,0 +1,15 @@
|
|||||||
|
diff -Nuar libdbi-drivers-0.8.3-1.orig/configure.in libdbi-drivers-0.8.3-1/configure.in
|
||||||
|
--- libdbi-drivers-0.8.3-1.orig/configure.in 2008-10-09 17:09:09.303141877 -0700
|
||||||
|
+++ libdbi-drivers-0.8.3-1/configure.in 2008-10-09 17:10:48.100635797 -0700
|
||||||
|
@@ -149,7 +149,8 @@
|
||||||
|
-ac_docs="YES"
|
||||||
|
+ac_docs="no"
|
||||||
|
AC_ARG_ENABLE(docs,
|
||||||
|
[ --disable-docs do not build and install the documentation.],
|
||||||
|
- [ ac_docs="NO" ])
|
||||||
|
+ [ ac_docs="$enableval" ],
|
||||||
|
+ [ ac_docs="no" ])
|
||||||
|
|
||||||
|
-if test "$ac_docs" = "YES"; then
|
||||||
|
+if test "$ac_docs" = "yes"; then
|
||||||
|
dnl AC_PATH_PROGS(myjade, openjade jade)
|
@ -0,0 +1,25 @@
|
|||||||
|
diff -Nuar libdbi-drivers-0.8.3-1.orig/acinclude.m4 libdbi-drivers-0.8.3-1/acinclude.m4
|
||||||
|
--- libdbi-drivers-0.8.3-1.orig/acinclude.m4 2007-12-30 11:05:40.000000000 +0000
|
||||||
|
+++ libdbi-drivers-0.8.3-1/acinclude.m4 2009-10-26 06:50:49.823477194 +0000
|
||||||
|
@@ -450,8 +450,8 @@
|
||||||
|
firebird_incdirs="/opt/firebird/include /usr/include /usr/local/include /usr/include/firebird /usr/local/include/firebird /usr/local/firebird/include /opt/firebird/include"
|
||||||
|
AC_FIND_FILE(ibase.h, $firebird_incdirs, ac_firebird_incdir)
|
||||||
|
firebird_libdirs="/opt/firebird/lib /usr/lib /usr/local/lib /usr/lib/firebird /usr/local/lib/firebird /usr/local/firebird/lib /opt/firebird/lib"
|
||||||
|
-dnl AC_FIND_FILE(libfbclient.so, $firebird_libdirs, ac_firebird_libdir)
|
||||||
|
- AC_FIND_FILE(libfbembed.so, $firebird_libdirs, ac_firebird_libdir)
|
||||||
|
+ AC_FIND_FILE(libfbclient.so, $firebird_libdirs, ac_firebird_libdir)
|
||||||
|
+dnl AC_FIND_FILE(libfbembed.so, $firebird_libdirs, ac_firebird_libdir)
|
||||||
|
if test "$ac_firebird_incdir" = "no"; then
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
AC_MSG_ERROR([Invalid Firebird/Interbase directory - include files not found.])
|
||||||
|
@@ -479,8 +479,8 @@
|
||||||
|
[SCHAR_MSG="no"])
|
||||||
|
AC_MSG_RESULT([$SCHAR_MSG])
|
||||||
|
|
||||||
|
-dnl FIREBIRD_LIBS="-lfbclient"
|
||||||
|
- FIREBIRD_LIBS="-lfbembed"
|
||||||
|
+ FIREBIRD_LIBS="-lfbclient"
|
||||||
|
+dnl FIREBIRD_LIBS="-lfbembed"
|
||||||
|
FIREBIRD_INCLUDE="-I$ac_firebird_incdir"
|
||||||
|
FIREBIRD_LDFLAGS="-L$ac_firebird_libdir"
|
||||||
|
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -urN libdbi-drivers-0.8.3-1.orig/drivers/oracle/dbd_oracle.c libdbi-drivers-0.8.3-1/drivers/oracle/dbd_oracle.c
|
||||||
|
--- libdbi-drivers-0.8.3-1.orig/drivers/oracle/dbd_oracle.c 2009-01-26 16:31:42.000000000 +0300
|
||||||
|
+++ libdbi-drivers-0.8.3-1/drivers/oracle/dbd_oracle.c 2009-01-26 16:32:38.000000000 +0300
|
||||||
|
@@ -841,7 +841,7 @@
|
||||||
|
{
|
||||||
|
struct tm tmt;
|
||||||
|
/* char stime[101], *cp = NULL; */
|
||||||
|
-/* time_t loct = 0L; */
|
||||||
|
+ time_t loct = 0L;
|
||||||
|
|
||||||
|
/* memset(stime, 0, sizeof(stime)); */
|
||||||
|
|
99
dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r2.ebuild
Normal file
99
dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r2.ebuild
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-db/libdbi-drivers/libdbi-drivers-0.8.3-r2.ebuild,v 1.1 2010/09/28 17:22:52 robbat2 Exp $
|
||||||
|
|
||||||
|
EAPI=1
|
||||||
|
inherit eutils autotools
|
||||||
|
|
||||||
|
MY_PV="${PV}-1"
|
||||||
|
MY_P="${PN}-${MY_PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="The libdbi-drivers project maintains drivers for libdbi."
|
||||||
|
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||||
|
HOMEPAGE="http://libdbi-drivers.sourceforge.net/"
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
RDEPEND=">=dev-db/libdbi-0.8.3
|
||||||
|
mysql? ( virtual/mysql )
|
||||||
|
postgres? ( dev-db/postgresql-base )
|
||||||
|
sqlite? ( <dev-db/sqlite-3 )
|
||||||
|
sqlite3? ( >=dev-db/sqlite-3 )
|
||||||
|
!bindist? ( firebird? ( dev-db/firebird ) )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
doc? ( app-text/openjade )"
|
||||||
|
|
||||||
|
IUSE="mysql postgres sqlite oci8 firebird +sqlite3 bindist doc"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||||
|
SLOT=0
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${A}
|
||||||
|
epatch "${FILESDIR}"/${PN}-0.8.3-doc-build-fix.patch
|
||||||
|
epatch "${FILESDIR}"/${PN}-0.8.3-oracle-build-fix.patch
|
||||||
|
epatch "${FILESDIR}"/${PN}-0.8.3-firebird-fix.patch
|
||||||
|
cd "${S}"
|
||||||
|
sed -e "s!/usr/lib!/usr/$(get_libdir)!g" -i configure.in -i acinclude.m4
|
||||||
|
sed -e 's!CFLAGS=.*!CFLAGS="\${CFLAGS}"!g' -i configure.in
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
local drivers=""
|
||||||
|
use mysql && drivers="${drivers} mysql"
|
||||||
|
use postgres && drivers="${drivers} pgsql"
|
||||||
|
use sqlite && drivers="${drivers} sqlite"
|
||||||
|
use sqlite3 && drivers="${drivers} sqlite3"
|
||||||
|
if use firebird; then
|
||||||
|
if use bindist; then
|
||||||
|
eerror "The Interbase Public License is incompatible with LGPL, see bug #200284."
|
||||||
|
eerror "Disabling firebird in the build"
|
||||||
|
else
|
||||||
|
drivers="${drivers} firebird"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if use oci8; then
|
||||||
|
if [ -z "${ORACLE_HOME}" ]; then
|
||||||
|
die "\$ORACLE_HOME is not set!"
|
||||||
|
fi
|
||||||
|
drivers="${drivers} oracle"
|
||||||
|
fi
|
||||||
|
# safety check
|
||||||
|
if [ -z "${drivers// /}" ]; then
|
||||||
|
die "No supported databases in your USE flags! (mysql, postgres, sqlite, sqlite3, oracle, firebird)"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local myconf=""
|
||||||
|
# WARNING: the configure script does NOT work correctly
|
||||||
|
# --without-$driver does NOT work
|
||||||
|
# so do NOT use `use_with...`
|
||||||
|
use mysql && myconf="${myconf} --with-mysql"
|
||||||
|
use postgres && myconf="${myconf} --with-pgsql"
|
||||||
|
use sqlite && myconf="${myconf} --with-sqlite"
|
||||||
|
use sqlite3 && myconf="${myconf} --with-sqlite3"
|
||||||
|
use !bindist && use firebird && myconf="${myconf} --with-firebird"
|
||||||
|
if use oci8; then
|
||||||
|
if [ -z "${ORACLE_HOME}" ]; then
|
||||||
|
die "\$ORACLE_HOME is not set!"
|
||||||
|
fi
|
||||||
|
myconf="${myconf} --with-oracle-dir=${ORACLE_HOME} --with-oracle"
|
||||||
|
fi
|
||||||
|
|
||||||
|
econf $(use_enable doc docs) ${myconf} || die "econf failed"
|
||||||
|
emake || die "emake failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install () {
|
||||||
|
emake install DESTDIR="${D}" || die "make install failed"
|
||||||
|
dodoc AUTHORS ChangeLog NEWS README README.osx TODO
|
||||||
|
}
|
||||||
|
src_test() {
|
||||||
|
if [ -z "${WANT_INTERACTIVE_TESTS}" ]; then
|
||||||
|
ewarn "Tests disabled due to interactivity."
|
||||||
|
ewarn "Run with WANT_INTERACTIVE_TESTS=1 if you want them."
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
einfo "Running interactive tests"
|
||||||
|
emake check || die "Tests failed"
|
||||||
|
}
|
8
dev-db/libdbi-drivers/metadata.xml
Normal file
8
dev-db/libdbi-drivers/metadata.xml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>no-herd</herd>
|
||||||
|
<maintainer>
|
||||||
|
<email>robbat2@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
2715
dev-db/mysql/ChangeLog
Normal file
2715
dev-db/mysql/ChangeLog
Normal file
File diff suppressed because it is too large
Load Diff
13
dev-db/mysql/Manifest
Normal file
13
dev-db/mysql/Manifest
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
AUX my.cnf 1249 RMD160 680752c5c5f1e18e02f5c3286aaade406f271b95 SHA1 f5592c43e52d23902a23d4f824d4dddccd7cdd0c SHA256 29c07ce113496ec62bf9427609f2291861e3e165200d6e98a69bd312c6c101ec
|
||||||
|
AUX my.cnf-4.0 4316 RMD160 e2a9f3f1a13b1aa13151dc5dbeba1dad888337e3 SHA1 40d6f252fd103548bc422e86659ef644fbce1ac6 SHA256 f4616a38d7c1b5cc2bf6b4e5b175ffcc12a52e38772dd86274a8991ef50015af
|
||||||
|
AUX my.cnf-4.1 4235 RMD160 ca04e2e667322e99c29be59064c7a6ecaa4e1e4c SHA1 babc79984b2e2d3def93ac0c13cd2fc5c690212a SHA256 908a4883116e4f323510c468fd22c5765f8a2adce0344859fc212b7209a3a6c7
|
||||||
|
AUX my.cnf-5.1 4199 RMD160 c12797534dd8273d1640844b4813ec7307911cef SHA1 5845dcaf469bd95d918cc07b1ffc80e2bd4c5a68 SHA256 c50e38004c901d4921d00a5f458bcd191852262a93f3d9fbfb6b040186b1ec45
|
||||||
|
AUX mysql.init 886 RMD160 26b8aa45af3f930db01f0db731865b9293626fb1 SHA1 d7d99a3f45fa807d1fb57ab04b35800a69cae430 SHA256 2d7faf6d88fd13e5c10368a20074fdb59554635f8b1fd17e088d82208e611c12
|
||||||
|
AUX mysql_config.in.patch 699 RMD160 2a03e25cfbe46c2bc943167fe500dbd61032cbe9 SHA1 4be5e523ca154d7605a8789ed30aa38e4c9f4a38 SHA256 8d382683391e44e187f2822fd297877194caf68241ecb4600b677f2eda390787
|
||||||
|
DIST mysql-5.1.53.tar.gz 23871815 RMD160 e8fd69450dda85cf3f41269e6e3fca05caccc76d SHA1 24064a4c0f8b88b30acb6ddb03f32e897ef061f3 SHA256 d68c0db580bb514bb1759d4c69dc71ceb0e3573ac88a1025111bdd8f89e234a4
|
||||||
|
DIST mysql-extras-20101128-2122Z.tar.bz2 1237793 RMD160 43b536c060d3a1bafa993ec4c55c1b13a78926cc SHA1 409b47603948bceea3531414af42b74915e698b8 SHA256 a804e4418fff742a72fc4cc8c83f1107a86f95b2fafde96002436905a9b5f729
|
||||||
|
DIST pbxt-1.0.11-6-pre-ga.tar.gz 3156307 RMD160 835c401b8503f1c1bef4b50f7a7815493f95acc1 SHA1 22eeffe0e38e0a0c2731a2c97fe00ce7d1ab2dfc SHA256 71ff3d86e9e5691f3efe541bf31f55a7ec2a88af27df6ad853b65902e00e6d12
|
||||||
|
DIST percona-xtradb-1.0.6-10.tar.gz 1676716 RMD160 772947fe67725c55751f3ec349711c05ba23c39b SHA1 07de0fd126e684aa045a8b941002f7634cd9a604 SHA256 e3aa818f13cf669412e59ad194eae8eada7a857bf7a4260e4bb41cab4d7ae39c
|
||||||
|
EBUILD mysql-5.1.53.ebuild 8679 RMD160 e9936f1054fab156240c8d8efe0f7a659eb1f490 SHA1 2112e8d0306f38bb17d4bf0a0c675ee4caa21727 SHA256 d59e7cc89ebb02177b399bbcdd3b04da234b9f31905575a34b2001b6a44828f2
|
||||||
|
MISC ChangeLog 108399 RMD160 abf7a6ee1ba46f8fb442f2ea686ec0a0667459b5 SHA1 c71e197f55e649af0e3d16638261178545fea857 SHA256 b6d413cb9f56557fbead08cf54de56856c51f7b96fb42d1faeeb53272dd9b6d8
|
||||||
|
MISC metadata.xml 1389 RMD160 711fe2927a95bff06abbba5209a1e03fd99ba7b5 SHA1 adaf717edeadad3ebe8e7b486d75477b2ec5433b SHA256 562726facccb1c1808b74c0e17f052ca03c92c0ada689375e527b2a5405a5a0a
|
48
dev-db/mysql/files/my.cnf
Normal file
48
dev-db/mysql/files/my.cnf
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
# /etc/mysql/my.cnf: The global mysql configuration file.
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/files/my.cnf,v 1.5 2008/11/14 01:49:37 robbat2 Exp $
|
||||||
|
#
|
||||||
|
# This file can be simultaneously placed in three places:
|
||||||
|
# 1. /etc/mysql/my.cnf to set global options.
|
||||||
|
# 2. /var/lib/mysql/my.cnf to set server-specific options.
|
||||||
|
# 3. ~/.my.cnf to set user-specific options.
|
||||||
|
#
|
||||||
|
# One can use all long options that the program supports.
|
||||||
|
# Run the program with --help to get a list of them.
|
||||||
|
#
|
||||||
|
# The following values assume you have at least 32M RAM!
|
||||||
|
|
||||||
|
[client]
|
||||||
|
#password = my_password
|
||||||
|
port = 3306
|
||||||
|
socket = /var/run/mysqld/mysqld.sock
|
||||||
|
|
||||||
|
[safe_mysqld]
|
||||||
|
err-log = /var/log/mysql/mysql.err
|
||||||
|
|
||||||
|
[mysqld]
|
||||||
|
#skip-networking
|
||||||
|
skip-innodb
|
||||||
|
innodb_file_per_table
|
||||||
|
user = mysql
|
||||||
|
pid-file = /var/run/mysqld/mysqld.pid
|
||||||
|
socket = /var/run/mysqld/mysqld.sock
|
||||||
|
port = 3306
|
||||||
|
log = /var/log/mysql/mysql.log
|
||||||
|
basedir = /usr
|
||||||
|
datadir = /var/lib/mysql
|
||||||
|
tmpdir = /tmp
|
||||||
|
language = /usr/share/mysql/english
|
||||||
|
skip-locking
|
||||||
|
set-variable = key_buffer=16M
|
||||||
|
set-variable = max_allowed_packet=1M
|
||||||
|
set-variable = thread_stack=128K
|
||||||
|
|
||||||
|
[mysqldump]
|
||||||
|
quick
|
||||||
|
set-variable = max_allowed_packet=1M
|
||||||
|
|
||||||
|
[mysql]
|
||||||
|
#no-auto-rehash # faster start of mysql but no tab completition
|
||||||
|
|
||||||
|
[isamchk]
|
||||||
|
set-variable = key_buffer=16M
|
113
dev-db/mysql/files/my.cnf-4.0
Normal file
113
dev-db/mysql/files/my.cnf-4.0
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
# /etc/mysql/my.cnf: The global mysql configuration file.
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/files/my.cnf-4.0,v 1.2 2008/11/14 02:16:25 robbat2 Exp $
|
||||||
|
#
|
||||||
|
# This file can be simultaneously placed in three places:
|
||||||
|
# 1. /etc/mysql/my.cnf to set global options.
|
||||||
|
# 2. /var/lib/mysql/my.cnf to set server-specific options.
|
||||||
|
# 3. ~/.my.cnf to set user-specific options.
|
||||||
|
#
|
||||||
|
# One can use all long options that the program supports.
|
||||||
|
# Run the program with --help to get a list of them.
|
||||||
|
#
|
||||||
|
# The following values assume you have at least 64M RAM!
|
||||||
|
|
||||||
|
[client]
|
||||||
|
#password = my_password
|
||||||
|
port = 3306
|
||||||
|
socket = /var/run/mysqld/mysqld.sock
|
||||||
|
|
||||||
|
[safe_mysqld]
|
||||||
|
err-log = /var/log/mysql/mysql.err
|
||||||
|
|
||||||
|
[mysqld]
|
||||||
|
user = mysql
|
||||||
|
pid-file = /var/run/mysqld/mysqld.pid
|
||||||
|
socket = /var/run/mysqld/mysqld.sock
|
||||||
|
log-error = /var/log/mysql/mysqld.err
|
||||||
|
# If set, mysql logs all queries (general query log). This will be deprecated in
|
||||||
|
# MySQL 5.0. This logs all queries, even error queries and is slow.
|
||||||
|
# log = /var/log/mysql/mysql.log
|
||||||
|
#
|
||||||
|
# If you really need logging, you'd rather use binary logging. Especially when doing
|
||||||
|
# replication. Read file:/usr/share/doc/mysql-*/manual.html.gz#Replication for info.
|
||||||
|
# You can use PURGE MASTER LOGS TO '$hostname-bin.010' to get rid of old logs
|
||||||
|
# from $hostname-bin.01 up to $hostname-bin.09 while the slave server is
|
||||||
|
# running.
|
||||||
|
# Before doing that, check which logfile slave curently uses by running
|
||||||
|
# mysql> SHOW SLAVE STATUS
|
||||||
|
# To list logfiles on master do:
|
||||||
|
# mysql> SHOW MASTER LOGS
|
||||||
|
# Then use PURGE for those not needed anymore only! Never remove the files
|
||||||
|
# manually!
|
||||||
|
#
|
||||||
|
# Also consult RESET MASTER and RESET SLAVE commands before doing any changes
|
||||||
|
# mysql> RESET MASTER - Deletes all binary logs listed in the index
|
||||||
|
# file, resetting the binlog index file to be empty.
|
||||||
|
# mysql> RESET SLAVE - Makes the slave forget its replication position in
|
||||||
|
# the master logs.
|
||||||
|
# mysql> SET SQL_LOG_BIN=0 - this turns off logging (execute on MASTER only)
|
||||||
|
# mysql> SET SQL_LOG_BIN=1 - this turns on logging (execute on MASTER only)
|
||||||
|
#
|
||||||
|
# log-bin
|
||||||
|
# set-variable = binlog-do-db=non_existant
|
||||||
|
# set-variable = binlog-ignore-db=database_name
|
||||||
|
#
|
||||||
|
# server-id has to unique for each master or slave in your network,
|
||||||
|
# lets use the last number from IP address
|
||||||
|
# server-id = 207
|
||||||
|
basedir = /usr
|
||||||
|
datadir = /var/lib/mysql
|
||||||
|
tmpdir = /tmp
|
||||||
|
language = /usr/share/mysql/english
|
||||||
|
skip-locking
|
||||||
|
set-variable = key_buffer=16M
|
||||||
|
set-variable = max_allowed_packet=1M
|
||||||
|
set-variable = thread_stack=128K
|
||||||
|
# be secure by default!
|
||||||
|
bind-address = 127.0.0.1
|
||||||
|
port = 3306
|
||||||
|
# this can make it even more secure:
|
||||||
|
#skip-networking
|
||||||
|
#
|
||||||
|
# the following is the InnoDB configuration
|
||||||
|
# if you wish to disable innodb instead
|
||||||
|
# uncomment just the next line
|
||||||
|
#skip-innodb
|
||||||
|
#
|
||||||
|
# the rest of the innodb config follows:
|
||||||
|
# don't eat too much memory, we're trying to be safe on 64Mb boxes
|
||||||
|
# you might want to bump this up a bit on boxes with more RAM
|
||||||
|
set-variable = innodb_buffer_pool_size=32M
|
||||||
|
# this is the default, increase it if you have lots of tables
|
||||||
|
set-variable = innodb_additional_mem_pool_size=1M
|
||||||
|
#
|
||||||
|
# i'd like to use /var/lib/mysql/innodb, but that is seen as a database :-(
|
||||||
|
# and upstream wants things to be under /var/lib/mysql/, so that's the route
|
||||||
|
# we have to take for the moment
|
||||||
|
innodb_data_home_dir = /var/lib/mysql/
|
||||||
|
innodb_log_arch_dir = /var/lib/mysql/
|
||||||
|
innodb_log_group_home_dir = /var/lib/mysql/
|
||||||
|
# you may wish to change this size to be more suitable for your system
|
||||||
|
# the max is there to avoid run-away growth on your machine
|
||||||
|
innodb_data_file_path = ibdata1:10M:autoextend:max:128M
|
||||||
|
# we keep this at around 25% of of innodb_buffer_pool_size
|
||||||
|
# sensible values range from 1MB to (1/innodb_log_files_in_group*innodb_buffer_pool_size)
|
||||||
|
set-variable = innodb_log_file_size=8M
|
||||||
|
# this is the default, increase it if you have very large transactions going on
|
||||||
|
set-variable = innodb_log_buffer_size=1M
|
||||||
|
# this is the default and won't hurt you
|
||||||
|
# you shouldn't need to tweak it
|
||||||
|
set-variable = innodb_log_files_in_group=2
|
||||||
|
# see the innodb config docs, the other options are not always safe
|
||||||
|
innodb_flush_log_at_trx_commit = 1
|
||||||
|
innodb_file_per_table
|
||||||
|
|
||||||
|
[mysqldump]
|
||||||
|
quick
|
||||||
|
set-variable = max_allowed_packet=16M
|
||||||
|
|
||||||
|
[mysql]
|
||||||
|
#no-auto-rehash # faster start of mysql but no tab completion
|
||||||
|
|
||||||
|
[isamchk]
|
||||||
|
set-variable = key_buffer=16M
|
147
dev-db/mysql/files/my.cnf-4.1
Normal file
147
dev-db/mysql/files/my.cnf-4.1
Normal file
@ -0,0 +1,147 @@
|
|||||||
|
# /etc/mysql/my.cnf: The global mysql configuration file.
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/files/my.cnf-4.1,v 1.4 2008/11/14 02:16:25 robbat2 Exp $
|
||||||
|
|
||||||
|
# The following options will be passed to all MySQL clients
|
||||||
|
[client]
|
||||||
|
#password = your_password
|
||||||
|
port = 3306
|
||||||
|
socket = /var/run/mysqld/mysqld.sock
|
||||||
|
|
||||||
|
[mysql]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
default-character-set=utf8
|
||||||
|
|
||||||
|
[mysqladmin]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
default-character-set=utf8
|
||||||
|
|
||||||
|
[mysqlcheck]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
default-character-set=utf8
|
||||||
|
|
||||||
|
[mysqldump]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
default-character-set=utf8
|
||||||
|
|
||||||
|
[mysqlimport]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
default-character-set=utf8
|
||||||
|
|
||||||
|
[mysqlshow]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
default-character-set=utf8
|
||||||
|
|
||||||
|
[myisamchk]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
|
||||||
|
[myisampack]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
|
||||||
|
# use [safe_mysqld] with mysql-3
|
||||||
|
[mysqld_safe]
|
||||||
|
err-log = /var/log/mysql/mysql.err
|
||||||
|
|
||||||
|
# add a section [mysqld-4.1] or [mysqld-5.0] for specific configurations
|
||||||
|
[mysqld]
|
||||||
|
character-set-server = utf8
|
||||||
|
default-character-set = utf8
|
||||||
|
user = mysql
|
||||||
|
port = 3306
|
||||||
|
socket = /var/run/mysqld/mysqld.sock
|
||||||
|
pid-file = /var/run/mysqld/mysqld.pid
|
||||||
|
log-error = /var/log/mysql/mysqld.err
|
||||||
|
basedir = /usr
|
||||||
|
datadir = @DATADIR@
|
||||||
|
skip-locking
|
||||||
|
key_buffer = 16M
|
||||||
|
max_allowed_packet = 1M
|
||||||
|
table_cache = 64
|
||||||
|
sort_buffer_size = 512K
|
||||||
|
net_buffer_length = 8K
|
||||||
|
read_buffer_size = 256K
|
||||||
|
read_rnd_buffer_size = 512K
|
||||||
|
myisam_sort_buffer_size = 8M
|
||||||
|
language = /usr/share/mysql/english
|
||||||
|
|
||||||
|
# security:
|
||||||
|
# using "localhost" in connects uses sockets by default
|
||||||
|
# skip-networking
|
||||||
|
bind-address = 127.0.0.1
|
||||||
|
|
||||||
|
log-bin
|
||||||
|
server-id = 1
|
||||||
|
|
||||||
|
# point the following paths to different dedicated disks
|
||||||
|
tmpdir = /tmp/
|
||||||
|
#log-update = /path-to-dedicated-directory/hostname
|
||||||
|
|
||||||
|
# you need the debug USE flag enabled to use the following directives,
|
||||||
|
# if needed, uncomment them, start the server and issue
|
||||||
|
# #tail -f /tmp/mysqld.sql /tmp/mysqld.trace
|
||||||
|
# this will show you *exactly* what's happening in your server ;)
|
||||||
|
|
||||||
|
#log = /tmp/mysqld.sql
|
||||||
|
#gdb
|
||||||
|
#debug = d:t:i:o,/tmp/mysqld.trace
|
||||||
|
#one-thread
|
||||||
|
|
||||||
|
# uncomment the following directives if you are using BDB tables
|
||||||
|
#bdb_cache_size = 4M
|
||||||
|
#bdb_max_lock = 10000
|
||||||
|
|
||||||
|
# the following is the InnoDB configuration
|
||||||
|
# if you wish to disable innodb instead
|
||||||
|
# uncomment just the next line
|
||||||
|
#skip-innodb
|
||||||
|
#
|
||||||
|
# the rest of the innodb config follows:
|
||||||
|
# don't eat too much memory, we're trying to be safe on 64Mb boxes
|
||||||
|
# you might want to bump this up a bit on boxes with more RAM
|
||||||
|
innodb_buffer_pool_size = 16M
|
||||||
|
# this is the default, increase it if you have lots of tables
|
||||||
|
innodb_additional_mem_pool_size = 2M
|
||||||
|
#
|
||||||
|
# i'd like to use /var/lib/mysql/innodb, but that is seen as a database :-(
|
||||||
|
# and upstream wants things to be under /var/lib/mysql/, so that's the route
|
||||||
|
# we have to take for the moment
|
||||||
|
#innodb_data_home_dir = /var/lib/mysql/
|
||||||
|
#innodb_log_arch_dir = /var/lib/mysql/
|
||||||
|
#innodb_log_group_home_dir = /var/lib/mysql/
|
||||||
|
# you may wish to change this size to be more suitable for your system
|
||||||
|
# the max is there to avoid run-away growth on your machine
|
||||||
|
innodb_data_file_path = ibdata1:10M:autoextend:max:128M
|
||||||
|
# we keep this at around 25% of of innodb_buffer_pool_size
|
||||||
|
# sensible values range from 1MB to (1/innodb_log_files_in_group*innodb_buffer_pool_size)
|
||||||
|
innodb_log_file_size = 5M
|
||||||
|
# this is the default, increase it if you have very large transactions going on
|
||||||
|
innodb_log_buffer_size = 8M
|
||||||
|
# this is the default and won't hurt you
|
||||||
|
# you shouldn't need to tweak it
|
||||||
|
set-variable = innodb_log_files_in_group=2
|
||||||
|
# see the innodb config docs, the other options are not always safe
|
||||||
|
innodb_flush_log_at_trx_commit = 1
|
||||||
|
innodb_lock_wait_timeout = 50
|
||||||
|
innodb_file_per_table
|
||||||
|
|
||||||
|
[mysqldump]
|
||||||
|
quick
|
||||||
|
max_allowed_packet = 16M
|
||||||
|
|
||||||
|
[mysql]
|
||||||
|
# uncomment the next directive if you are not familiar with SQL
|
||||||
|
#safe-updates
|
||||||
|
|
||||||
|
[isamchk]
|
||||||
|
key_buffer = 20M
|
||||||
|
sort_buffer_size = 20M
|
||||||
|
read_buffer = 2M
|
||||||
|
write_buffer = 2M
|
||||||
|
|
||||||
|
[myisamchk]
|
||||||
|
key_buffer = 20M
|
||||||
|
sort_buffer_size = 20M
|
||||||
|
read_buffer = 2M
|
||||||
|
write_buffer = 2M
|
||||||
|
|
||||||
|
[mysqlhotcopy]
|
||||||
|
interactive-timeout
|
146
dev-db/mysql/files/my.cnf-5.1
Normal file
146
dev-db/mysql/files/my.cnf-5.1
Normal file
@ -0,0 +1,146 @@
|
|||||||
|
# /etc/mysql/my.cnf: The global mysql configuration file.
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/files/my.cnf-5.1,v 1.2 2010/03/24 18:26:09 robbat2 Exp $
|
||||||
|
|
||||||
|
# The following options will be passed to all MySQL clients
|
||||||
|
[client]
|
||||||
|
#password = your_password
|
||||||
|
port = 3306
|
||||||
|
socket = /var/run/mysqld/mysqld.sock
|
||||||
|
|
||||||
|
[mysql]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
default-character-set=utf8
|
||||||
|
|
||||||
|
[mysqladmin]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
default-character-set=utf8
|
||||||
|
|
||||||
|
[mysqlcheck]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
default-character-set=utf8
|
||||||
|
|
||||||
|
[mysqldump]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
default-character-set=utf8
|
||||||
|
|
||||||
|
[mysqlimport]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
default-character-set=utf8
|
||||||
|
|
||||||
|
[mysqlshow]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
default-character-set=utf8
|
||||||
|
|
||||||
|
[myisamchk]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
|
||||||
|
[myisampack]
|
||||||
|
character-sets-dir=/usr/share/mysql/charsets
|
||||||
|
|
||||||
|
# use [safe_mysqld] with mysql-3
|
||||||
|
[mysqld_safe]
|
||||||
|
err-log = /var/log/mysql/mysql.err
|
||||||
|
|
||||||
|
# add a section [mysqld-4.1] or [mysqld-5.0] for specific configurations
|
||||||
|
[mysqld]
|
||||||
|
character-set-server = utf8
|
||||||
|
user = mysql
|
||||||
|
port = 3306
|
||||||
|
socket = /var/run/mysqld/mysqld.sock
|
||||||
|
pid-file = /var/run/mysqld/mysqld.pid
|
||||||
|
log-error = /var/log/mysql/mysqld.err
|
||||||
|
basedir = /usr
|
||||||
|
datadir = @DATADIR@
|
||||||
|
skip-external-locking
|
||||||
|
key_buffer = 16M
|
||||||
|
max_allowed_packet = 1M
|
||||||
|
table_cache = 64
|
||||||
|
sort_buffer_size = 512K
|
||||||
|
net_buffer_length = 8K
|
||||||
|
read_buffer_size = 256K
|
||||||
|
read_rnd_buffer_size = 512K
|
||||||
|
myisam_sort_buffer_size = 8M
|
||||||
|
language = /usr/share/mysql/english
|
||||||
|
|
||||||
|
# security:
|
||||||
|
# using "localhost" in connects uses sockets by default
|
||||||
|
# skip-networking
|
||||||
|
bind-address = 127.0.0.1
|
||||||
|
|
||||||
|
log-bin
|
||||||
|
server-id = 1
|
||||||
|
|
||||||
|
# point the following paths to different dedicated disks
|
||||||
|
tmpdir = /tmp/
|
||||||
|
#log-update = /path-to-dedicated-directory/hostname
|
||||||
|
|
||||||
|
# you need the debug USE flag enabled to use the following directives,
|
||||||
|
# if needed, uncomment them, start the server and issue
|
||||||
|
# #tail -f /tmp/mysqld.sql /tmp/mysqld.trace
|
||||||
|
# this will show you *exactly* what's happening in your server ;)
|
||||||
|
|
||||||
|
#log = /tmp/mysqld.sql
|
||||||
|
#gdb
|
||||||
|
#debug = d:t:i:o,/tmp/mysqld.trace
|
||||||
|
#one-thread
|
||||||
|
|
||||||
|
# uncomment the following directives if you are using BDB tables
|
||||||
|
#bdb_cache_size = 4M
|
||||||
|
#bdb_max_lock = 10000
|
||||||
|
|
||||||
|
# the following is the InnoDB configuration
|
||||||
|
# if you wish to disable innodb instead
|
||||||
|
# uncomment just the next line
|
||||||
|
#skip-innodb
|
||||||
|
#
|
||||||
|
# the rest of the innodb config follows:
|
||||||
|
# don't eat too much memory, we're trying to be safe on 64Mb boxes
|
||||||
|
# you might want to bump this up a bit on boxes with more RAM
|
||||||
|
innodb_buffer_pool_size = 16M
|
||||||
|
# this is the default, increase it if you have lots of tables
|
||||||
|
innodb_additional_mem_pool_size = 2M
|
||||||
|
#
|
||||||
|
# i'd like to use /var/lib/mysql/innodb, but that is seen as a database :-(
|
||||||
|
# and upstream wants things to be under /var/lib/mysql/, so that's the route
|
||||||
|
# we have to take for the moment
|
||||||
|
#innodb_data_home_dir = /var/lib/mysql/
|
||||||
|
#innodb_log_arch_dir = /var/lib/mysql/
|
||||||
|
#innodb_log_group_home_dir = /var/lib/mysql/
|
||||||
|
# you may wish to change this size to be more suitable for your system
|
||||||
|
# the max is there to avoid run-away growth on your machine
|
||||||
|
innodb_data_file_path = ibdata1:10M:autoextend:max:128M
|
||||||
|
# we keep this at around 25% of of innodb_buffer_pool_size
|
||||||
|
# sensible values range from 1MB to (1/innodb_log_files_in_group*innodb_buffer_pool_size)
|
||||||
|
innodb_log_file_size = 5M
|
||||||
|
# this is the default, increase it if you have very large transactions going on
|
||||||
|
innodb_log_buffer_size = 8M
|
||||||
|
# this is the default and won't hurt you
|
||||||
|
# you shouldn't need to tweak it
|
||||||
|
innodb_log_files_in_group=2
|
||||||
|
# see the innodb config docs, the other options are not always safe
|
||||||
|
innodb_flush_log_at_trx_commit = 1
|
||||||
|
innodb_lock_wait_timeout = 50
|
||||||
|
innodb_file_per_table
|
||||||
|
|
||||||
|
[mysqldump]
|
||||||
|
quick
|
||||||
|
max_allowed_packet = 16M
|
||||||
|
|
||||||
|
[mysql]
|
||||||
|
# uncomment the next directive if you are not familiar with SQL
|
||||||
|
#safe-updates
|
||||||
|
|
||||||
|
[isamchk]
|
||||||
|
key_buffer = 20M
|
||||||
|
sort_buffer_size = 20M
|
||||||
|
read_buffer = 2M
|
||||||
|
write_buffer = 2M
|
||||||
|
|
||||||
|
[myisamchk]
|
||||||
|
key_buffer = 20M
|
||||||
|
sort_buffer_size = 20M
|
||||||
|
read_buffer = 2M
|
||||||
|
write_buffer = 2M
|
||||||
|
|
||||||
|
[mysqlhotcopy]
|
||||||
|
interactive-timeout
|
37
dev-db/mysql/files/mysql.init
Executable file
37
dev-db/mysql/files/mysql.init
Executable file
@ -0,0 +1,37 @@
|
|||||||
|
#!/sbin/runscript
|
||||||
|
# Copyright 1999-2004 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/files/mysql.init,v 1.7 2004/07/14 21:41:15 agriffis Exp $
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
use dns
|
||||||
|
}
|
||||||
|
|
||||||
|
checkconfig() {
|
||||||
|
if [ ! -f /etc/mysql/my.cnf ] ; then
|
||||||
|
eerror "No /etc/mysql/my.cnf file exists!"
|
||||||
|
fi
|
||||||
|
|
||||||
|
dir=`my_print_defaults mysqld | grep -- --datadir | sed -e "s|^.*=\(.*\)|\1|"`
|
||||||
|
|
||||||
|
if [ ! -d $dir/mysql ] ; then
|
||||||
|
eerror "You dont appear to have the mysql database installed yet."
|
||||||
|
eerror "Please run /usr/bin/mysql_install_db to have this done..."
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
checkconfig || return 1
|
||||||
|
ebegin "Starting mysqld"
|
||||||
|
/usr/bin/safe_mysqld >/dev/null 2>&1 &
|
||||||
|
eend $?
|
||||||
|
}
|
||||||
|
|
||||||
|
stop () {
|
||||||
|
ebegin "Stopping mysqld"
|
||||||
|
start-stop-daemon --stop --quiet \
|
||||||
|
--pidfile=/var/run/mysqld/mysqld.pid --retry 20
|
||||||
|
eend $?
|
||||||
|
}
|
19
dev-db/mysql/files/mysql_config.in.patch
Normal file
19
dev-db/mysql/files/mysql_config.in.patch
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
2010-11-10 Francisco Blas Izquierdo Riera <franxisco1988@mixmail.com>
|
||||||
|
KUDOS: Magnus Granberg (Help with this)
|
||||||
|
KUDOS: Thomas Sachau (Help reproducing the bug)
|
||||||
|
KUDOS: Alexander E. Patrakov (Providing an initial solution)
|
||||||
|
#347796
|
||||||
|
* configure.in: Properly use CCASFLAGS
|
||||||
|
|
||||||
|
diff -ur mysql.orig/configure.in mysql/configure.in
|
||||||
|
--- mysql.orig/configure.in 2010-12-09 17:09:08.000000000 +0100
|
||||||
|
+++ mysql/configure.in 2010-12-09 17:31:24.000000000 +0100
|
||||||
|
@@ -519,7 +519,7 @@
|
||||||
|
|
||||||
|
# We need an assembler, too
|
||||||
|
AM_PROG_AS
|
||||||
|
-CCASFLAGS="$CCASFLAGS $ASFLAGS"
|
||||||
|
+CCASFLAGS="$CCASFLAGS $(for flag in $ASFLAGS ; do echo "-Wa,$flag" ; done)"
|
||||||
|
|
||||||
|
# Check if we need noexec stack for assembler
|
||||||
|
AC_CHECK_NOEXECSTACK
|
27
dev-db/mysql/metadata.xml
Normal file
27
dev-db/mysql/metadata.xml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>mysql</herd>
|
||||||
|
<!--
|
||||||
|
Please note that this list is shared between the following packages:
|
||||||
|
dev-db/mysql
|
||||||
|
dev-db/mysql-community
|
||||||
|
dev-db/mariadb (upcoming)
|
||||||
|
dev-db/mysql-cluster (upcoming)
|
||||||
|
-->
|
||||||
|
<use>
|
||||||
|
<flag name='big-tables'>Make tables contain up to 1.844E+19 rows</flag>
|
||||||
|
<flag name='cluster'>Add support for NDB clustering (deprecated)</flag>
|
||||||
|
<flag name='community'>Enables the community features from upstream.</flag>
|
||||||
|
<flag name='embedded'>Build embedded server (libmysqld)</flag>
|
||||||
|
<flag name='extraengine'>Add support for alternative storage engines (Archive, CSV, Blackhole, Federated(X), Partition)</flag>
|
||||||
|
<flag name='latin1'>Use LATIN1 encoding instead of UTF8</flag>
|
||||||
|
<flag name='max-idx-128'>Raise the max index per table limit from 64 to 128</flag>
|
||||||
|
<flag name='minimal'>Install client programs only, no server</flag>
|
||||||
|
<flag name='pbxt'>Add experimental support for PBXT storage engine</flag>
|
||||||
|
<flag name='profiling'>Add support for statement profiling (requires USE=community).</flag>
|
||||||
|
<flag name='raid'>Deprecated option, removed in the 5.0 series</flag>
|
||||||
|
<flag name='test'>Install upstream testsuites for end use.</flag>
|
||||||
|
<flag name='xtradb'>Add experimental support for Percona's InnoDB replacement: XtraDB</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
260
dev-db/mysql/mysql-5.1.53.ebuild
Normal file
260
dev-db/mysql/mysql-5.1.53.ebuild
Normal file
@ -0,0 +1,260 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.53.ebuild,v 1.1 2010/11/29 00:22:28 robbat2 Exp $
|
||||||
|
|
||||||
|
MY_EXTRAS_VER="20101128-2122Z"
|
||||||
|
EAPI=2
|
||||||
|
|
||||||
|
# PBXT
|
||||||
|
PBXT_VERSION='1.0.11-6-pre-ga'
|
||||||
|
# XtraDB
|
||||||
|
PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10'
|
||||||
|
|
||||||
|
inherit toolchain-funcs mysql
|
||||||
|
# only to make repoman happy. it is really set in the eclass
|
||||||
|
IUSE="$IUSE"
|
||||||
|
|
||||||
|
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-macos ~x86-solaris"
|
||||||
|
|
||||||
|
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||||
|
# This is often broken still
|
||||||
|
EPATCH_EXCLUDE=''
|
||||||
|
|
||||||
|
# Most of these are in the eclass
|
||||||
|
RDEPEND=""
|
||||||
|
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
|
||||||
|
>=sys-devel/libtool-2.2.10"
|
||||||
|
|
||||||
|
# Please do not add a naive src_unpack to this ebuild
|
||||||
|
# If you want to add a single patch, copy the ebuild to an overlay
|
||||||
|
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||||
|
src_prepare() {
|
||||||
|
sed -i \
|
||||||
|
-e '/^noinst_PROGRAMS/s/basic-t//g' \
|
||||||
|
"${S}"/unittest/mytap/t/Makefile.am
|
||||||
|
mysql_src_prepare
|
||||||
|
|
||||||
|
epatch "${FILESDIR}"/mysql_config.in.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
# Official test instructions:
|
||||||
|
# USE='berkdb -cluster embedded extraengine perl ssl community' \
|
||||||
|
# FEATURES='test userpriv -usersandbox' \
|
||||||
|
# ebuild mysql-X.X.XX.ebuild \
|
||||||
|
# digest clean package
|
||||||
|
src_test() {
|
||||||
|
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||||
|
# localhost. Also causes weird failures.
|
||||||
|
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||||
|
|
||||||
|
emake check || die "make check failed"
|
||||||
|
if ! use "minimal" ; then
|
||||||
|
if [[ $UID -eq 0 ]]; then
|
||||||
|
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||||
|
fi
|
||||||
|
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||||
|
cd "${S}"
|
||||||
|
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||||
|
local retstatus_unit
|
||||||
|
local retstatus_ns
|
||||||
|
local retstatus_ps
|
||||||
|
local t
|
||||||
|
addpredict /this-dir-does-not-exist/t9.MYI
|
||||||
|
|
||||||
|
# Ensure that parallel runs don't die
|
||||||
|
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||||
|
|
||||||
|
# archive_gis really sucks a lot, but it's only relevant for the
|
||||||
|
# USE=extraengines case
|
||||||
|
case ${PV} in
|
||||||
|
5.0.42)
|
||||||
|
mysql_disable_test "archive_gis" "Totally broken in 5.0.42"
|
||||||
|
;;
|
||||||
|
|
||||||
|
5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87)
|
||||||
|
[ "$(tc-endian)" == "big" ] && \
|
||||||
|
mysql_disable_test \
|
||||||
|
"archive_gis" \
|
||||||
|
"Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# This was a slight testcase breakage when the read_only security issue
|
||||||
|
# was fixed.
|
||||||
|
case ${PV} in
|
||||||
|
5.0.54|5.0.51*)
|
||||||
|
mysql_disable_test \
|
||||||
|
"read_only" \
|
||||||
|
"Broken in 5.0.51-54, output in wrong order"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Ditto to read_only
|
||||||
|
[ "${PV}" == "5.0.51a" ] && \
|
||||||
|
mysql_disable_test \
|
||||||
|
"view" \
|
||||||
|
"Broken in 5.0.51, output in wrong order"
|
||||||
|
|
||||||
|
# x86-specific, OOM issue with some subselects on low memory servers
|
||||||
|
[ "${PV}" == "5.0.54" ] && \
|
||||||
|
[ "${ARCH/x86}" != "${ARCH}" ] && \
|
||||||
|
mysql_disable_test \
|
||||||
|
"subselect" \
|
||||||
|
"Testcase needs tuning on x86 for oom condition"
|
||||||
|
|
||||||
|
# Broke with the YaSSL security issue that didn't affect Gentoo.
|
||||||
|
[ "${PV}" == "5.0.56" ] && \
|
||||||
|
for t in openssl_1 rpl_openssl rpl_ssl ssl \
|
||||||
|
ssl_8k_key ssl_compress ssl_connect ; do \
|
||||||
|
mysql_disable_test \
|
||||||
|
"$t" \
|
||||||
|
"OpenSSL tests broken on 5.0.56"
|
||||||
|
done
|
||||||
|
|
||||||
|
# New test was broken in first time
|
||||||
|
# Upstream bug 41066
|
||||||
|
# http://bugs.mysql.com/bug.php?id=41066
|
||||||
|
[ "${PV}" == "5.0.72" ] && \
|
||||||
|
mysql_disable_test \
|
||||||
|
"status2" \
|
||||||
|
"Broken in 5.0.72, new test is broken, upstream bug #41066"
|
||||||
|
|
||||||
|
# The entire 5.0 series has pre-generated SSL certificates, they have
|
||||||
|
# mostly expired now. ${S}/mysql-tests/std-data/*.pem
|
||||||
|
# The certs really SHOULD be generated for the tests, so that they are
|
||||||
|
# not expiring like this. We cannot do so ourselves as the tests look
|
||||||
|
# closely as the cert path data, and we do not have the CA key to regen
|
||||||
|
# ourselves. Alternatively, upstream should generate them with at least
|
||||||
|
# 50-year validity.
|
||||||
|
#
|
||||||
|
# Known expiry points:
|
||||||
|
# 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09
|
||||||
|
# 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27
|
||||||
|
# 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28
|
||||||
|
#
|
||||||
|
# mysql-test/std_data/untrusted-cacert.pem is MEANT to be
|
||||||
|
# expired/invalid.
|
||||||
|
case ${PV} in
|
||||||
|
5.0.*|5.1.*|5.4.*|5.5.*)
|
||||||
|
for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
|
||||||
|
ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \
|
||||||
|
mysql_disable_test \
|
||||||
|
"$t" \
|
||||||
|
"These OpenSSL tests break due to expired certificates"
|
||||||
|
done
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# These are also failing in MySQL 5.1 for now, and are believed to be
|
||||||
|
# false positives:
|
||||||
|
#
|
||||||
|
# main.mysql_comment, main.mysql_upgrade, main.information_schema,
|
||||||
|
# funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers:
|
||||||
|
# fails due to USE=-latin1 / utf8 default
|
||||||
|
#
|
||||||
|
# main.mysql_client_test:
|
||||||
|
# segfaults at random under Portage only, suspect resource limits.
|
||||||
|
#
|
||||||
|
# main.not_partition:
|
||||||
|
# Failure reason unknown at this time, must resolve before package.mask
|
||||||
|
# removal FIXME
|
||||||
|
case ${PV} in
|
||||||
|
5.1.*|5.4.*|5.5.*)
|
||||||
|
for t in main.mysql_client_test main.mysql_comments \
|
||||||
|
main.mysql_upgrade \
|
||||||
|
main.information_schema \
|
||||||
|
main.not_partition funcs_1.is_columns_mysql \
|
||||||
|
funcs_1.is_tables_mysql funcs_1.is_triggers; do
|
||||||
|
mysql_disable_test "$t" "False positives in Gentoo"
|
||||||
|
done
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# New failures in 5.1.50/5.1.51, reported by jmbsvicetto.
|
||||||
|
# These tests are picking up a 'connect-timeout' config from somewhere,
|
||||||
|
# which is not valid, and since it does not have 'loose-' in front of
|
||||||
|
# it, it's causing a failure
|
||||||
|
case ${PV} in
|
||||||
|
5.1.5*|5.4.*|5.5.*|6*)
|
||||||
|
for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do
|
||||||
|
mysql_disable_test "$t" \
|
||||||
|
"False positives in Gentoo: connect-timeout"
|
||||||
|
done
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
use profiling && use community \
|
||||||
|
|| mysql_disable_test main.profiling \
|
||||||
|
"Profiling test needs profiling support"
|
||||||
|
|
||||||
|
if [ "${PN}" == "mariadb" ]; then
|
||||||
|
for t in \
|
||||||
|
parts.part_supported_sql_func_ndb \
|
||||||
|
parts.partition_auto_increment_ndb ; do
|
||||||
|
mysql_disable_test $t "ndb not supported in mariadb"
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
# This fail with XtraDB in place of normal InnoDB
|
||||||
|
# TODO: test if they are broken with the rest of the Percona patches
|
||||||
|
if xtradb_patch_available && use xtradb ; then
|
||||||
|
for t in main.innodb innodb.innodb_bug51378 \
|
||||||
|
main.information_schema_db main.mysqlshow \
|
||||||
|
main.innodb-autoinc main.innodb_bug21704 \
|
||||||
|
main.innodb_bug44369 main.innodb_bug46000 \
|
||||||
|
main.index_merge_innodb \
|
||||||
|
innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \
|
||||||
|
innodb.innodb-autoinc innodb.innodb-autoinc-44030 \
|
||||||
|
innodb.innodb_bug21704 innodb.innodb_bug44369 \
|
||||||
|
innodb.innodb_bug46000 innodb.innodb_bug48024 \
|
||||||
|
innodb.innodb_bug49164 innodb.innodb_bug51920 \
|
||||||
|
innodb.innodb_bug54044 \
|
||||||
|
; do
|
||||||
|
mysql_disable_test $t "tests broken in xtradb"
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
# bug 332565
|
||||||
|
if ! use extraengine ; then
|
||||||
|
for t in main.range ; do
|
||||||
|
mysql_disable_test $t "Test $t requires USE=extraengine"
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
# create directories because mysqladmin might make out of order
|
||||||
|
mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
|
||||||
|
|
||||||
|
# We run the test protocols seperately
|
||||||
|
#emake test-unit
|
||||||
|
retstatus_unit=$?
|
||||||
|
retstatus_unit=0
|
||||||
|
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||||
|
|
||||||
|
emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
|
||||||
|
retstatus_ns=$?
|
||||||
|
[[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
|
||||||
|
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||||
|
|
||||||
|
emake test-ps force="--force --vardir=${S}/mysql-test/var-ps"
|
||||||
|
retstatus_ps=$?
|
||||||
|
[[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
|
||||||
|
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||||
|
|
||||||
|
# TODO:
|
||||||
|
# When upstream enables the pr and nr testsuites, we need those as well.
|
||||||
|
|
||||||
|
# Cleanup is important for these testcases.
|
||||||
|
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||||
|
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||||
|
failures=""
|
||||||
|
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||||
|
[[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
|
||||||
|
[[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
|
||||||
|
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||||
|
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||||
|
einfo "Tests successfully completed"
|
||||||
|
else
|
||||||
|
einfo "Skipping server tests due to minimal build."
|
||||||
|
fi
|
||||||
|
}
|
12
dev-java/icedtea/Manifest
Normal file
12
dev-java/icedtea/Manifest
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
AUX 6.1.9.3-sparc.patch 1490 RMD160 fac1e9e3ac3344db332e68789f3222c13010f6e2 SHA1 09be6ad20c687553bab07bcf0a7ca533caa156f2 SHA256 1aab4538d893bd1a009a61add2c9cda5bffc82bf7d4853f1968e491bde84c7e7
|
||||||
|
AUX diff.patch 1998 RMD160 fb11c7df0c51c7aa6fdc7c862c9a4a20e6ddaa9f SHA1 98172bd0bea88ba202e42ddbeeaf0ea36a7cc10d SHA256 9ba2cc93f2a05888812ee7567ef80ab2328a735865eabcc3857cc6ac4e8c2275
|
||||||
|
AUX generate-cacerts.pl 11051 RMD160 9b874c62ffa0afe16353f1e7b32f124f1d31356f SHA1 65e55b84506ecf14711db0996eccf3cfba2fe9e3 SHA256 6ee6fb155e3fa85d0a7e9015b53ebd55948c6599d100fdb69b574b6d11f73433
|
||||||
|
AUX icedtea.env 1007 RMD160 be7110fe28b8fe108b2c1f091282f9cfae7a456b SHA1 126c17cf3d8893070178a9702fa6b44a42645f65 SHA256 bd7aec8e804cfc51b9056c5c4dead5b97d8a27950e117a2d711aed177c796506
|
||||||
|
DIST 13edc857b967.tar.gz 8401448 RMD160 3b0f967cebe2e564769ebbdc630c384458aa1f82 SHA1 9ca443bc4994b80535bbe94f0de426a87421d950 SHA256 c595349cb8e4778c9409c550ded749feb0bdd11b962be3e1449eeb53c12b8433
|
||||||
|
DIST e321b101a9ee.tar.bz2 2727158 RMD160 16cb5c6f58197dbfd690e578418fadf911935ed7 SHA1 b41d54057cd98bddb8adb6bd4c1e50b08eaef411 SHA256 46bc5b6212c199dc4a3dbebe6386fe15a8248625a5dffa17115aab394a298444
|
||||||
|
DIST icedtea6-1.9.3.tar.gz 6440451 RMD160 f0b9f11cfa001648af23965a2e036d9cce707d8e SHA1 265230be74f5ef6abb9506463f98ab631f731309 SHA256 c81577931def9d2a8bde494d489af47bfa1377d99731ff599a262b49850399fc
|
||||||
|
DIST jdk6-jaf-b20.zip 71243 RMD160 40b49d12c39b7010ee917eb671f3c38cd16f271c SHA1 69a54373e169bd7b04a45de6a310a199260424b9 SHA256 78c7b5c9d6271e88ee46abadd018a61f1e9645f8936cc8df1617e5f4f5074012
|
||||||
|
DIST jdk6-jaxp-b20.zip 5944804 RMD160 c02276a9363ec89414e5061b301ee25fca353291 SHA1 688531dfcd81ef704732ffef7d467045fd850544 SHA256 d097627d4059d488c5a09d4e33cec275a193d4d8bc0fea8ef4f1337170904156
|
||||||
|
DIST jdk6-jaxws-b20.zip 5513069 RMD160 47b2d4fe528d770391e8926299df45cc6f68e9b5 SHA1 08366a70c9e2baa516afc77bb69f9e108e906aa9 SHA256 0c460583898b968a58bf88eb53f90a0e34369e2562d65fb3a143512dfcaeb3eb
|
||||||
|
DIST openjdk-6-src-b20-21_jun_2010.tar.gz 45078703 RMD160 5248e9b3ed762829c33bf2ff7e3ca0cbf4bee5d2 SHA1 39fc162a740f16aa18afa855fea9d5daf8cf03d4 SHA256 fcf8f1d614e5965e90ef1b1a6d5eecc2bcc3078eaffbb62b83dfba52da62e54b
|
||||||
|
EBUILD icedtea-6.1.9.3.ebuild 10985 RMD160 b74d97884cc7fa455e9562e7a95f8934ea8f0a37 SHA1 478c55a8b36cca9edafa0f3b513d7d5447399fbe SHA256 537e01804c66fc8654b7d6948de01f9ed28dd38f3a3355a7427557e65c8fd197
|
29
dev-java/icedtea/files/6.1.9.3-sparc.patch
Normal file
29
dev-java/icedtea/files/6.1.9.3-sparc.patch
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
diff -Nru icedtea6-1.9.3.old/Makefile.am icedtea6-1.9.3/Makefile.am
|
||||||
|
--- icedtea6-1.9.3.old/Makefile.am 2010-12-01 19:09:51.959606503 +0000
|
||||||
|
+++ icedtea6-1.9.3/Makefile.am 2010-12-07 12:51:29.306308677 +0000
|
||||||
|
@@ -317,7 +317,8 @@
|
||||||
|
patches/openjdk/6876282-bigdecimal_divide.patch \
|
||||||
|
patches/f14-fonts.patch \
|
||||||
|
patches/applet_hole.patch \
|
||||||
|
- patches/openjdk/7002666-eclipse_cdt_oops_crash.patch
|
||||||
|
+ patches/openjdk/7002666-eclipse_cdt_oops_crash.patch \
|
||||||
|
+ patches/g344659-sparc_fscanf_fix.patch
|
||||||
|
|
||||||
|
if WITH_ALT_HSBUILD
|
||||||
|
ICEDTEA_PATCHES += \
|
||||||
|
diff -Nru icedtea6-1.9.3.old/patches/g255873-sparc_fscanf_fix.patch icedtea6-1.9.3/patches/g255873-sparc_fscanf_fix.patch
|
||||||
|
--- icedtea6-1.9.3.old/patches/g344659-sparc_fscanf_fix.patch 1970-01-01 01:00:00.000000000 +0100
|
||||||
|
+++ icedtea6-1.9.3/patches/g344659-sparc_fscanf_fix.patch 2010-12-07 12:52:39.213034154 +0000
|
||||||
|
@@ -0,0 +1,12 @@
|
||||||
|
+diff -uNr openjdk.orig/hotspot/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp openjdk/hotspot/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp
|
||||||
|
+--- openjdk.orig/hotspot/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp 2010-06-21 22:12:15.000000000 +0100
|
||||||
|
++++ openjdk/hotspot/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp 2010-11-29 20:15:36.179541001 +0000
|
||||||
|
+@@ -35,7 +35,7 @@
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ while (!feof(fp)) {
|
||||||
|
+- if (fscanf(fp, "cpu\t\t: %100[^\n]", &cpu) == 1) {
|
||||||
|
++ if (fscanf(fp, "cpu\t\t: %100[^\n]", &cpu[0]) == 1) {
|
||||||
|
+ if (strstr(cpu, "Niagara") != NULL) {
|
||||||
|
+ rv = true;
|
||||||
|
+ }
|
56
dev-java/icedtea/files/diff.patch
Normal file
56
dev-java/icedtea/files/diff.patch
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
--- /usr/portage/dev-java/icedtea/icedtea-6.1.9.1.ebuild 2010-11-26 23:35:36.000000000 +0100
|
||||||
|
+++ icedtea-6.1.8.0.ebuild 2010-12-19 12:13:01.078894291 +0100
|
||||||
|
@@ -166,13 +166,14 @@
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local config procs rhino_jar
|
||||||
|
+ local openjdk_libdir=$(java-config -O|sed "s:/lib/:/$(get_libdir)/:g")
|
||||||
|
local vm=$(java-pkg_get-current-vm)
|
||||||
|
- local vmhome="/usr/lib/jvm/${vm}"
|
||||||
|
+ local vmhome="/usr/$(get_libdir)/jvm/${vm}"
|
||||||
|
|
||||||
|
# IcedTea6 can't be built using IcedTea7; its class files are too new
|
||||||
|
if [[ "${vm}" == "icedtea6" ]] || [[ "${vm}" == "icedtea6-bin" ]] ; then
|
||||||
|
# If we are upgrading icedtea, then we don't need to bootstrap.
|
||||||
|
- config="${config} --with-openjdk=$(java-config -O)"
|
||||||
|
+ config="${config} --with-openjdk=${openjdk_libdir}"
|
||||||
|
elif [[ "${vm}" == "gcj-jdk" || "${vm}" == "cacao" ]] ; then
|
||||||
|
# For other 1.5 JDKs e.g. GCJ, CACAO.
|
||||||
|
config="${config} --with-ecj-jar=/usr/share/eclipse-ecj/ecj.jar" \
|
||||||
|
@@ -239,18 +240,23 @@
|
||||||
|
|
||||||
|
# Paludis does not respect unset from src_configure
|
||||||
|
unset_vars
|
||||||
|
+
|
||||||
|
+ local arch=${ARCH}
|
||||||
|
+ ( [[ ${ABI} == x86 ]] || use x86 ) && arch=i586
|
||||||
|
emake -j 1 || die "make failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
- local dest="${ROOT}usr/$(get_libdir)/icedtea${SLOT}"
|
||||||
|
+ local dest="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||||
|
local ddest="${D}/${dest}"
|
||||||
|
dodir "${dest}" || die
|
||||||
|
|
||||||
|
+ local arch=${ARCH}
|
||||||
|
+ ( [[ ${ABI} == x86 ]] || use x86 ) && arch=i586
|
||||||
|
+
|
||||||
|
dodoc README NEWS AUTHORS THANKYOU || die
|
||||||
|
- dosym "${ROOT}usr/share/doc/${PF}" "${ROOT}usr/share/doc/${PN}${SLOT}"
|
||||||
|
|
||||||
|
- cd "${S}/openjdk.build/j2sdk-image" || die
|
||||||
|
+ cd "${S}/openjdk/build/linux-${arch}/j2sdk-image" || die
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
# java-pkg_dohtml needed for package-list #302654
|
||||||
|
@@ -277,8 +283,7 @@
|
||||||
|
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
|
||||||
|
|
||||||
|
if use nsplugin; then
|
||||||
|
- local arch=${ARCH};
|
||||||
|
- use x86 && arch=i386;
|
||||||
|
+ ( [[ ${ABI} == x86 ]] || use x86 ) && arch=i386;
|
||||||
|
install_mozilla_plugin "${dest}/jre/lib/${arch}/IcedTeaPlugin.so";
|
||||||
|
fi
|
||||||
|
|
358
dev-java/icedtea/files/generate-cacerts.pl
Normal file
358
dev-java/icedtea/files/generate-cacerts.pl
Normal file
@ -0,0 +1,358 @@
|
|||||||
|
#!/usr/bin/perl
|
||||||
|
|
||||||
|
# Copyright (C) 2007, 2008 Red Hat, Inc.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# generate-cacerts.pl generates a JKS keystore named 'cacerts' from
|
||||||
|
# OpenSSL's certificate bundle using OpenJDK's keytool.
|
||||||
|
|
||||||
|
# First extract each of OpenSSL's bundled certificates into its own
|
||||||
|
# aliased filename.
|
||||||
|
|
||||||
|
# Downloaded from http://cvs.fedoraproject.org/viewvc/rpms/ca-certificates/F-12/generate-cacerts.pl?revision=1.2
|
||||||
|
# Check and prevention of duplicate aliases added by Vlastimil Babka <caster@gentoo.org>
|
||||||
|
|
||||||
|
$file = $ARGV[1];
|
||||||
|
open(CERTS, $file);
|
||||||
|
@certs = <CERTS>;
|
||||||
|
close(CERTS);
|
||||||
|
|
||||||
|
$pem_file_count = 0;
|
||||||
|
$in_cert_block = 0;
|
||||||
|
$write_current_cert = 1;
|
||||||
|
foreach $cert (@certs)
|
||||||
|
{
|
||||||
|
if ($cert =~ /Issuer: /)
|
||||||
|
{
|
||||||
|
$_ = $cert;
|
||||||
|
if ($cert =~ /personal-freemail/)
|
||||||
|
{
|
||||||
|
$cert_alias = "thawtepersonalfreemailca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /personal-basic/)
|
||||||
|
{
|
||||||
|
$cert_alias = "thawtepersonalbasicca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /personal-premium/)
|
||||||
|
{
|
||||||
|
$cert_alias = "thawtepersonalpremiumca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /server-certs/)
|
||||||
|
{
|
||||||
|
$cert_alias = "thawteserverca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /premium-server/)
|
||||||
|
{
|
||||||
|
$cert_alias = "thawtepremiumserverca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /Class 1 Public Primary Certification Authority$/)
|
||||||
|
{
|
||||||
|
$cert_alias = "verisignclass1ca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /Class 1 Public Primary Certification Authority - G2/)
|
||||||
|
{
|
||||||
|
$cert_alias = "verisignclass1g2ca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~
|
||||||
|
/VeriSign Class 1 Public Primary Certification Authority - G3/)
|
||||||
|
{
|
||||||
|
$cert_alias = "verisignclass1g3ca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /Class 2 Public Primary Certification Authority$/)
|
||||||
|
{
|
||||||
|
$cert_alias = "verisignclass2ca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /Class 2 Public Primary Certification Authority - G2/)
|
||||||
|
{
|
||||||
|
$cert_alias = "verisignclass2g2ca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~
|
||||||
|
/VeriSign Class 2 Public Primary Certification Authority - G3/)
|
||||||
|
{
|
||||||
|
$cert_alias = "verisignclass2g3ca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /Class 3 Public Primary Certification Authority$/)
|
||||||
|
{
|
||||||
|
$cert_alias = "verisignclass3ca";
|
||||||
|
}
|
||||||
|
# Version 1 of Class 3 Public Primary Certification Authority
|
||||||
|
# - G2 is added. Version 3 is excluded. See below.
|
||||||
|
elsif ($cert =~
|
||||||
|
/VeriSign Class 3 Public Primary Certification Authority - G3/)
|
||||||
|
{
|
||||||
|
$cert_alias = "verisignclass3g3ca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~
|
||||||
|
/RSA Data Security.*Secure Server Certification Authority/)
|
||||||
|
{
|
||||||
|
$cert_alias = "verisignserverca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /GTE CyberTrust Global Root/)
|
||||||
|
{
|
||||||
|
$cert_alias = "gtecybertrustglobalca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /Baltimore CyberTrust Root/)
|
||||||
|
{
|
||||||
|
$cert_alias = "baltimorecybertrustca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /www.entrust.net\/Client_CA_Info\/CPS/)
|
||||||
|
{
|
||||||
|
$cert_alias = "entrustclientca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /www.entrust.net\/GCCA_CPS/)
|
||||||
|
{
|
||||||
|
$cert_alias = "entrustglobalclientca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /www.entrust.net\/CPS_2048/)
|
||||||
|
{
|
||||||
|
$cert_alias = "entrust2048ca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /www.entrust.net\/CPS /)
|
||||||
|
{
|
||||||
|
$cert_alias = "entrustsslca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /www.entrust.net\/SSL_CPS/)
|
||||||
|
{
|
||||||
|
$cert_alias = "entrustgsslca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /The Go Daddy Group/)
|
||||||
|
{
|
||||||
|
$cert_alias = "godaddyclass2ca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /Starfield Class 2 Certification Authority/)
|
||||||
|
{
|
||||||
|
$cert_alias = "starfieldclass2ca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /ValiCert Class 2 Policy Validation Authority/)
|
||||||
|
{
|
||||||
|
$cert_alias = "valicertclass2ca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /GeoTrust Global CA$/)
|
||||||
|
{
|
||||||
|
$cert_alias = "geotrustglobalca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /Equifax Secure Certificate Authority/)
|
||||||
|
{
|
||||||
|
$cert_alias = "equifaxsecureca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /Equifax Secure eBusiness CA-1/)
|
||||||
|
{
|
||||||
|
$cert_alias = "equifaxsecureebusinessca1";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /Equifax Secure eBusiness CA-2/)
|
||||||
|
{
|
||||||
|
$cert_alias = "equifaxsecureebusinessca2";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /Equifax Secure Global eBusiness CA-1/)
|
||||||
|
{
|
||||||
|
$cert_alias = "equifaxsecureglobalebusinessca1";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /Sonera Class1 CA/)
|
||||||
|
{
|
||||||
|
$cert_alias = "soneraclass1ca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /Sonera Class2 CA/)
|
||||||
|
{
|
||||||
|
$cert_alias = "soneraclass2ca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /AAA Certificate Services/)
|
||||||
|
{
|
||||||
|
$cert_alias = "comodoaaaca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /AddTrust Class 1 CA Root/)
|
||||||
|
{
|
||||||
|
$cert_alias = "addtrustclass1ca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /AddTrust External CA Root/)
|
||||||
|
{
|
||||||
|
$cert_alias = "addtrustexternalca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /AddTrust Qualified CA Root/)
|
||||||
|
{
|
||||||
|
$cert_alias = "addtrustqualifiedca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /UTN-USERFirst-Hardware/)
|
||||||
|
{
|
||||||
|
$cert_alias = "utnuserfirsthardwareca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /UTN-USERFirst-Client Authentication and Email/)
|
||||||
|
{
|
||||||
|
$cert_alias = "utnuserfirstclientauthemailca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /UTN - DATACorp SGC/)
|
||||||
|
{
|
||||||
|
$cert_alias = "utndatacorpsgcca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /UTN-USERFirst-Object/)
|
||||||
|
{
|
||||||
|
$cert_alias = "utnuserfirstobjectca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /America Online Root Certification Authority 1/)
|
||||||
|
{
|
||||||
|
$cert_alias = "aolrootca1";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /DigiCert Assured ID Root CA/)
|
||||||
|
{
|
||||||
|
$cert_alias = "digicertassuredidrootca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /DigiCert Global Root CA/)
|
||||||
|
{
|
||||||
|
$cert_alias = "digicertglobalrootca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /DigiCert High Assurance EV Root CA/)
|
||||||
|
{
|
||||||
|
$cert_alias = "digicerthighassuranceevrootca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /GlobalSign Root CA$/)
|
||||||
|
{
|
||||||
|
$cert_alias = "globalsignca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /GlobalSign Root CA - R2/)
|
||||||
|
{
|
||||||
|
$cert_alias = "globalsignr2ca";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /Elektronik.*Kas.*2005/)
|
||||||
|
{
|
||||||
|
$cert_alias = "extra-elektronikkas2005";
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /Elektronik/)
|
||||||
|
{
|
||||||
|
$cert_alias = "extra-elektronik2005";
|
||||||
|
}
|
||||||
|
# Mozilla does not provide these certificates:
|
||||||
|
# baltimorecodesigningca
|
||||||
|
# gtecybertrust5ca
|
||||||
|
# trustcenterclass2caii
|
||||||
|
# trustcenterclass4caii
|
||||||
|
# trustcenteruniversalcai
|
||||||
|
else
|
||||||
|
{
|
||||||
|
# Generate an alias using the OU and CN attributes of the
|
||||||
|
# Issuer field if both are present, otherwise use only the
|
||||||
|
# CN attribute. The Issuer field must have either the OU
|
||||||
|
# or the CN attribute.
|
||||||
|
$_ = $cert;
|
||||||
|
if ($cert =~ /OU=/)
|
||||||
|
{
|
||||||
|
s/Issuer:.*?OU=//;
|
||||||
|
# Remove other occurrences of OU=.
|
||||||
|
s/OU=.*CN=//;
|
||||||
|
# Remove CN= if there were not other occurrences of OU=.
|
||||||
|
s/CN=//;
|
||||||
|
s/\/emailAddress.*//;
|
||||||
|
s/Certificate Authority/ca/g;
|
||||||
|
s/Certification Authority/ca/g;
|
||||||
|
}
|
||||||
|
elsif ($cert =~ /CN=/)
|
||||||
|
{
|
||||||
|
s/Issuer:.*CN=//;
|
||||||
|
s/\/emailAddress.*//;
|
||||||
|
s/Certificate Authority/ca/g;
|
||||||
|
s/Certification Authority/ca/g;
|
||||||
|
}
|
||||||
|
s/\W//g;
|
||||||
|
tr/A-Z/a-z/;
|
||||||
|
$cert_alias = "extra-$_";
|
||||||
|
|
||||||
|
}
|
||||||
|
while (-e "$cert_alias.pem")
|
||||||
|
{
|
||||||
|
$cert_alias = "$cert_alias" . "_";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
# When it attempts to parse:
|
||||||
|
#
|
||||||
|
# Class 3 Public Primary Certification Authority - G2, Version 3
|
||||||
|
#
|
||||||
|
# keytool says:
|
||||||
|
#
|
||||||
|
# #2: ObjectId: 1.3.6.1.5.5.7.1.1 Criticality=false
|
||||||
|
# Unparseable AuthorityInfoAccess extension due to
|
||||||
|
# java.io.IOException: Invalid encoding of URI
|
||||||
|
#
|
||||||
|
# If we do not exclude this file
|
||||||
|
# openjdk/jdk/test/lib/security/cacerts/VerifyCACerts.java fails
|
||||||
|
# on this cert, printing:
|
||||||
|
#
|
||||||
|
# Couldn't verify: java.security.SignatureException: Signature
|
||||||
|
# does not match.
|
||||||
|
#
|
||||||
|
elsif ($cert =~
|
||||||
|
/A6:0F:34:C8:62:6C:81:F6:8B:F7:7D:A9:F6:67:58:8A:90:3F:7D:36/)
|
||||||
|
{
|
||||||
|
$write_current_cert = 0;
|
||||||
|
$pem_file_count--;
|
||||||
|
}
|
||||||
|
elsif ($cert eq "-----BEGIN CERTIFICATE-----\n")
|
||||||
|
{
|
||||||
|
if ($in_cert_block != 0)
|
||||||
|
{
|
||||||
|
die "$file is malformed.";
|
||||||
|
}
|
||||||
|
$in_cert_block = 1;
|
||||||
|
if ($write_current_cert == 1)
|
||||||
|
{
|
||||||
|
$pem_file_count++;
|
||||||
|
if (-e "$cert_alias.pem")
|
||||||
|
{
|
||||||
|
print "$cert_alias";
|
||||||
|
die "already exists"
|
||||||
|
}
|
||||||
|
open(PEM, ">$cert_alias.pem");
|
||||||
|
print PEM $cert;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
elsif ($cert eq "-----END CERTIFICATE-----\n")
|
||||||
|
{
|
||||||
|
$in_cert_block = 0;
|
||||||
|
if ($write_current_cert == 1)
|
||||||
|
{
|
||||||
|
print PEM $cert;
|
||||||
|
close(PEM);
|
||||||
|
}
|
||||||
|
$write_current_cert = 1
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ($in_cert_block == 1 && $write_current_cert == 1)
|
||||||
|
{
|
||||||
|
print PEM $cert;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Check that the correct number of .pem files were produced.
|
||||||
|
@pem_files = <*.pem>;
|
||||||
|
if (@pem_files != $pem_file_count)
|
||||||
|
{
|
||||||
|
print "$pem_file_count";
|
||||||
|
die "Number of .pem files produced does not match".
|
||||||
|
" number of certs read from $file.";
|
||||||
|
}
|
||||||
|
|
||||||
|
# Now store each cert in the 'cacerts' file using keytool.
|
||||||
|
$certs_written_count = 0;
|
||||||
|
foreach $pem_file (@pem_files)
|
||||||
|
{
|
||||||
|
system "$ARGV[0] -noprompt -import".
|
||||||
|
" -alias `basename $pem_file .pem`".
|
||||||
|
" -keystore cacerts -storepass 'changeit' -file $pem_file";
|
||||||
|
unlink($pem_file);
|
||||||
|
$certs_written_count++;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Check that the correct number of certs were added to the keystore.
|
||||||
|
if ($certs_written_count != $pem_file_count)
|
||||||
|
{
|
||||||
|
die "Number of certs added to keystore does not match".
|
||||||
|
" number of certs read from $file.";
|
||||||
|
}
|
18
dev-java/icedtea/files/icedtea.env
Normal file
18
dev-java/icedtea/files/icedtea.env
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Copyright 1999-2007 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/files/sun-jdk-1.6.env,v 1.3 2007/04/30 11:03:14 betelgeuse Exp $
|
||||||
|
|
||||||
|
VERSION="OpenJDK@SLOT@/IcedTea@SLOT@ @PV@"
|
||||||
|
JAVA_HOME=/usr/lib/icedtea@SLOT@
|
||||||
|
JDK_HOME=/usr/lib/icedtea@SLOT@
|
||||||
|
JAVAC=${JAVA_HOME}/bin/javac
|
||||||
|
PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
|
||||||
|
ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
|
||||||
|
LDPATH="${JAVA_HOME}/jre/lib/@PLATFORM@/:${JAVA_HOME}/jre/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/jre/lib/@PLATFORM@/xawt/:${JAVA_HOME}/jre/lib/@PLATFORM@/server/"
|
||||||
|
MANPATH="/usr/lib/icedtea@SLOT@/man"
|
||||||
|
PROVIDES_TYPE="JDK JRE"
|
||||||
|
PROVIDES_VERSION="1.@SLOT@"
|
||||||
|
# Taken from sun.boot.class.path property
|
||||||
|
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/resources.jar:${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/jsse.jar:${JAVA_HOME}/jre/lib/jce.jar:${JAVA_HOME}/jre/lib/charsets.jar"
|
||||||
|
GENERATION="2"
|
||||||
|
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
|
321
dev-java/icedtea/icedtea-6.1.8.0.ebuild
Normal file
321
dev-java/icedtea/icedtea-6.1.8.0.ebuild
Normal file
@ -0,0 +1,321 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
|
||||||
|
|
||||||
|
# *********************************************************
|
||||||
|
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-7.* AS WELL *
|
||||||
|
# *********************************************************
|
||||||
|
|
||||||
|
EAPI="2"
|
||||||
|
|
||||||
|
inherit pax-utils java-pkg-2 java-vm-2
|
||||||
|
|
||||||
|
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
|
||||||
|
SLOT="6"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||||
|
|
||||||
|
DESCRIPTION="A harness to build the OpenJDK using Free Software build tools and dependencies"
|
||||||
|
ICEDTEA_VER="1.8"
|
||||||
|
ICEDTEA_PKG=icedtea${SLOT}-${ICEDTEA_VER}
|
||||||
|
OPENJDK_BUILD="18"
|
||||||
|
OPENJDK_DATE="16_feb_2010"
|
||||||
|
OPENJDK_TARBALL="openjdk-6-src-b${OPENJDK_BUILD}-${OPENJDK_DATE}.tar.gz"
|
||||||
|
HOTSPOT_TARBALL="62926c7f67a3.tar.gz"
|
||||||
|
JAXP_TARBALL="jdk6-jaxp-2009_10_13.zip"
|
||||||
|
JAXWS_TARBALL="jdk6-jaxws-2009_10_27.zip"
|
||||||
|
JAF_TARBALL="jdk6-jaf-2009_10_27.zip"
|
||||||
|
CACAO_TARBALL="cacao-0.99.4.tar.gz"
|
||||||
|
SRC_URI="http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
|
||||||
|
http://download.java.net/openjdk/jdk6/promoted/b${OPENJDK_BUILD}/${OPENJDK_TARBALL}
|
||||||
|
http://hg.openjdk.java.net/hsx/hsx16/master/archive/${HOTSPOT_TARBALL}
|
||||||
|
https://jaxp.dev.java.net/files/documents/913/147329/${JAXP_TARBALL}
|
||||||
|
http://kenai.com/projects/jdk6-drops/downloads/download/${JAXWS_TARBALL}
|
||||||
|
http://kenai.com/projects/jdk6-drops/downloads/download/${JAF_TARBALL}
|
||||||
|
cacao? ( http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-0.99.4/${CACAO_TARBALL} )"
|
||||||
|
HOMEPAGE="http://icedtea.classpath.org"
|
||||||
|
S=${WORKDIR}/${ICEDTEA_PKG}
|
||||||
|
|
||||||
|
# Missing options:
|
||||||
|
# shark - still experimental, requires llvm which is not yet packaged
|
||||||
|
# visualvm - requries netbeans which would cause major bootstrap issues
|
||||||
|
IUSE="cacao debug doc examples +hs16 javascript nio2 nsplugin +nss pulseaudio systemtap +xrender zero"
|
||||||
|
|
||||||
|
# JTReg doesn't pass at present
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND=">=net-print/cups-1.2.12
|
||||||
|
>=x11-libs/libX11-1.1.3
|
||||||
|
>=media-libs/freetype-2.3.5
|
||||||
|
>=media-libs/alsa-lib-1.0
|
||||||
|
>=x11-libs/gtk+-2.8
|
||||||
|
>=x11-libs/libXinerama-1.0.2
|
||||||
|
>=x11-libs/libXp-1.0.0
|
||||||
|
>=x11-libs/libXi-1.1.3
|
||||||
|
>=x11-libs/libXau-1.0.3
|
||||||
|
>=x11-libs/libXdmcp-1.0.2
|
||||||
|
>=x11-libs/libXtst-1.0.3
|
||||||
|
>=media-libs/jpeg-6b
|
||||||
|
>=media-libs/libpng-1.2
|
||||||
|
>=media-libs/giflib-4.1.6
|
||||||
|
>=sys-libs/zlib-1.2.3
|
||||||
|
x11-proto/inputproto
|
||||||
|
x11-proto/xineramaproto
|
||||||
|
nsplugin? ( >=net-libs/xulrunner-1.9.1 )
|
||||||
|
pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
|
||||||
|
javascript? ( dev-java/rhino:1.6 )
|
||||||
|
zero? ( virtual/libffi )
|
||||||
|
xrender? ( >=x11-libs/libXrender-0.9.4 )
|
||||||
|
systemtap? ( >=dev-util/systemtap-1 )
|
||||||
|
!dev-java/icedtea6
|
||||||
|
nss? ( >=dev-libs/nss-3.12.5-r1 )"
|
||||||
|
|
||||||
|
# Additional dependencies for building:
|
||||||
|
# zip: extract OpenJDK tarball, and needed by configure
|
||||||
|
# xalan/xerces: automatic code generation (also needed for Ant 1.8.0 to work properly)
|
||||||
|
# ant, ecj, jdk: required to build Java code
|
||||||
|
# Only ant-core-1.7.1-r2 and later contain a version of Ant that
|
||||||
|
# properly respects environment variables, if the build
|
||||||
|
# sets some environment variables.
|
||||||
|
# ca-certificates, perl and openssl are used for the cacerts keystore generation
|
||||||
|
# xext headers have two variants depending on version - bug #288855
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
|| (
|
||||||
|
( >=dev-java/gcj-jdk-4.3 =app-admin/eselect-ecj-0.5-r1 )
|
||||||
|
( >=dev-java/cacao-0.99.2 =app-admin/eselect-ecj-0.5-r1 )
|
||||||
|
dev-java/icedtea6-bin
|
||||||
|
dev-java/icedtea:${SLOT}
|
||||||
|
)
|
||||||
|
app-arch/zip
|
||||||
|
>=dev-java/xalan-2.7.0:0
|
||||||
|
>=dev-java/xerces-2.9.1:2
|
||||||
|
>=dev-java/ant-core-1.7.1-r2
|
||||||
|
app-misc/ca-certificates
|
||||||
|
dev-lang/perl
|
||||||
|
dev-libs/openssl
|
||||||
|
|| (
|
||||||
|
(
|
||||||
|
>=x11-libs/libXext-1.1.1
|
||||||
|
>=x11-proto/xextproto-7.1.1
|
||||||
|
x11-proto/xproto
|
||||||
|
)
|
||||||
|
<x11-libs/libXext-1.1.1
|
||||||
|
)
|
||||||
|
sys-apps/lsb-release"
|
||||||
|
|
||||||
|
# a bit of hack so the VM switching is triggered without causing dependency troubles
|
||||||
|
JAVA_PKG_NV_DEPEND=">=virtual/jdk-1.5"
|
||||||
|
JAVA_PKG_WANT_SOURCE="1.5"
|
||||||
|
JAVA_PKG_WANT_TARGET="1.5"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# Shark support disabled for now - still experimental and needs sys-devel/llvm
|
||||||
|
# if use shark ; then
|
||||||
|
# if ( ! use x86 && ! use sparc && ! use ppc ) ; then
|
||||||
|
# eerror "The Shark JIT has known issues on 64-bit platforms. Please rebuild"
|
||||||
|
# errror "without the shark USE flag turned on."
|
||||||
|
# die "Rebuild without the shark USE flag on."
|
||||||
|
# fi
|
||||||
|
# if ( ! use zero ) ; then
|
||||||
|
# eerror "The use of the Shark JIT is only applicable when used with the zero assembler port.";
|
||||||
|
# die "Rebuild without the shark USE flag on or with the zero USE flag turned on."
|
||||||
|
# fi
|
||||||
|
# fi
|
||||||
|
|
||||||
|
# quite a hack since java-config does not provide a way for a package
|
||||||
|
# to limit supported VM's for building and their preferred order
|
||||||
|
if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
|
||||||
|
einfo "Honoring user-set JAVA_PKG_FORCE_VM"
|
||||||
|
elif has_version "dev-java/icedtea:${SLOT}"; then
|
||||||
|
JAVA_PKG_FORCE_VM="icedtea6"
|
||||||
|
elif has_version dev-java/icedtea6; then
|
||||||
|
JAVA_PKG_FORCE_VM="icedtea6"
|
||||||
|
elif has_version dev-java/icedtea6-bin; then
|
||||||
|
JAVA_PKG_FORCE_VM="icedtea6-bin"
|
||||||
|
elif has_version dev-java/gcj-jdk; then
|
||||||
|
JAVA_PKG_FORCE_VM="gcj-jdk"
|
||||||
|
elif has_version dev-java/cacao; then
|
||||||
|
JAVA_PKG_FORCE_VM="cacao"
|
||||||
|
else
|
||||||
|
JAVA_PKG_FORCE_VM=""
|
||||||
|
# don't die just yet if merging a binpkg - bug #258423
|
||||||
|
DIE_IF_NOT_BINPKG=true
|
||||||
|
fi
|
||||||
|
|
||||||
|
# if the previous failed, don't even run java eclasses pkg_setup
|
||||||
|
# as it might also die when no VM is present
|
||||||
|
if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
|
||||||
|
einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
|
||||||
|
java-vm-2_pkg_setup
|
||||||
|
java-pkg-2_pkg_setup
|
||||||
|
fi
|
||||||
|
|
||||||
|
VMHANDLE="icedtea${SLOT}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ -n ${DIE_IF_NOT_BINPKG} ]]; then
|
||||||
|
die "Unable to find a supported VM for building"
|
||||||
|
fi
|
||||||
|
unpack ${ICEDTEA_PKG}.tar.gz
|
||||||
|
}
|
||||||
|
|
||||||
|
unset_vars() {
|
||||||
|
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local config procs rhino_jar
|
||||||
|
local openjdk_libdir=$(java-config -O|sed "s:/lib/:/$(get_libdir)/:g")
|
||||||
|
local vm=$(java-pkg_get-current-vm)
|
||||||
|
local vmhome="/usr/$(get_libdir)/jvm/${vm}"
|
||||||
|
|
||||||
|
# IcedTea6 can't be built using IcedTea7; its class files are too new
|
||||||
|
if [[ "${vm}" == "icedtea6" ]] || [[ "${vm}" == "icedtea6-bin" ]] ; then
|
||||||
|
# If we are upgrading icedtea, then we don't need to bootstrap.
|
||||||
|
config="${config} --with-openjdk=${openjdk_libdir}"
|
||||||
|
elif [[ "${vm}" == "gcj-jdk" || "${vm}" == "cacao" ]] ; then
|
||||||
|
# For other 1.5 JDKs e.g. GCJ, CACAO.
|
||||||
|
config="${config} --with-ecj-jar=/usr/share/eclipse-ecj/ecj.jar" \
|
||||||
|
config="${config} --with-gcj-home=${vmhome}"
|
||||||
|
else
|
||||||
|
eerror "IcedTea${SLOT} must be built with either a JDK based on GNU Classpath or an existing build of IcedTea${SLOT}."
|
||||||
|
die "Install a GNU Classpath JDK (gcj-jdk, cacao)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# OpenJDK-specific parallelism support.
|
||||||
|
procs=$(echo ${MAKEOPTS} | sed -r 's/.*-j\W*([0-9]+).*/\1/')
|
||||||
|
if [[ -n ${procs} ]] ; then
|
||||||
|
config="${config} --with-parallel-jobs=${procs}";
|
||||||
|
einfo "Configuring using --with-parallel-jobs=${procs}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use_zero ; then
|
||||||
|
config="${config} --enable-zero"
|
||||||
|
else
|
||||||
|
config="${config} --disable-zero"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use javascript ; then
|
||||||
|
rhino_jar=$(java-pkg_getjar rhino:1.6 js.jar);
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use hs16 ; then
|
||||||
|
config="${config} --with-hotspot-build=hs16"
|
||||||
|
fi
|
||||||
|
|
||||||
|
unset_vars
|
||||||
|
|
||||||
|
econf ${config} \
|
||||||
|
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
|
||||||
|
--with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \
|
||||||
|
--with-jaxp-drop-zip="${DISTDIR}/${JAXP_TARBALL}" \
|
||||||
|
--with-jaxws-drop-zip="${DISTDIR}/${JAXWS_TARBALL}" \
|
||||||
|
--with-jaf-drop-zip="${DISTDIR}/${JAF_TARBALL}" \
|
||||||
|
--with-cacao-src-zip="${DISTDIR}/${CACAO_TARBALL}" \
|
||||||
|
--with-java="${vmhome}/bin/java" \
|
||||||
|
--with-javac="${vmhome}/bin/javac" \
|
||||||
|
--with-javah="${vmhome}/bin/javah" \
|
||||||
|
--with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
|
||||||
|
$(use_enable !debug optimizations) \
|
||||||
|
$(use_enable doc docs) \
|
||||||
|
$(use_enable nsplugin plugin) \
|
||||||
|
$(use_with javascript rhino ${rhino_jar}) \
|
||||||
|
$(use_enable cacao) \
|
||||||
|
$(use_enable pulseaudio pulse-java) \
|
||||||
|
$(use_enable xrender) \
|
||||||
|
$(use_enable systemtap) \
|
||||||
|
$(use_enable nio2) \
|
||||||
|
$(use_enable nss) \
|
||||||
|
|| die "configure failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# Newer versions of Gentoo's ant add
|
||||||
|
# an environment variable so it works properly...
|
||||||
|
export ANT_RESPECT_JAVA_HOME=TRUE
|
||||||
|
# ant -diagnostics in Ant 1.8.0 fails without these
|
||||||
|
# otherwise we try to load the least that's needed to avoid possible classpath collisions
|
||||||
|
export ANT_TASKS="xerces-2 xalan ant-nodeps"
|
||||||
|
|
||||||
|
# Paludis does not respect unset from src_configure
|
||||||
|
unset_vars
|
||||||
|
|
||||||
|
local arch=${ARCH}
|
||||||
|
( [[ ${ABI} == x86 ]] || use x86 ) && arch=i586
|
||||||
|
emake -j 1 || die "make failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local dest="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||||
|
local ddest="${D}/${dest}"
|
||||||
|
dodir "${dest}" || die
|
||||||
|
|
||||||
|
local arch=${ARCH}
|
||||||
|
( [[ ${ABI} == x86 ]] || use x86 ) && arch=i586
|
||||||
|
|
||||||
|
dodoc README NEWS AUTHORS THANKYOU || die
|
||||||
|
|
||||||
|
cd "${S}/openjdk/build/linux-${arch}/j2sdk-image" || die
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
# java-pkg_dohtml needed for package-list #302654
|
||||||
|
java-pkg_dohtml -r ../docs/* || die "Failed to install documentation"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# doins can't handle symlinks.
|
||||||
|
cp -vRP bin include jre lib man "${ddest}" || die "failed to copy"
|
||||||
|
|
||||||
|
# Set PaX markings on all JDK/JRE executables to allow code-generation on
|
||||||
|
# the heap by the JIT compiler.
|
||||||
|
pax-mark m $(list-paxables "${ddest}"{,/jre}/bin/*)
|
||||||
|
|
||||||
|
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README || die
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
dodir "${dest}/share";
|
||||||
|
cp -vRP demo sample "${ddest}/share/" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
cp src.zip "${ddest}" || die
|
||||||
|
|
||||||
|
# Fix the permissions.
|
||||||
|
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
|
||||||
|
|
||||||
|
if use nsplugin; then
|
||||||
|
( [[ ${ABI} == x86 ]] || use x86 ) && arch=i386;
|
||||||
|
install_mozilla_plugin "${dest}/jre/lib/${arch}/IcedTeaPlugin.so";
|
||||||
|
fi
|
||||||
|
|
||||||
|
# We need to generate keystore - bug #273306
|
||||||
|
einfo "Generating cacerts file from certificates in /usr/share/ca-certificates/"
|
||||||
|
mkdir "${T}/certgen" && cd "${T}/certgen" || die
|
||||||
|
cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
|
||||||
|
for c in /usr/share/ca-certificates/*/*.crt; do
|
||||||
|
openssl x509 -text -in "${c}" >> all.crt || die
|
||||||
|
done
|
||||||
|
./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
|
||||||
|
cp -vRP cacerts "${ddest}/jre/lib/security/" || die
|
||||||
|
chmod 644 "${ddest}/jre/lib/security/cacerts" || die
|
||||||
|
cd "${S}" && rm -rf "${T}/certgen" || die
|
||||||
|
|
||||||
|
sed -e "s/@SLOT@/${SLOT}/g" \
|
||||||
|
-e "s/@PV@/${ICEDTEA_VER}/g" \
|
||||||
|
< "${FILESDIR}/icedtea.env" > "${T}/icedtea.env"
|
||||||
|
set_java_env "${T}/icedtea.env"
|
||||||
|
}
|
||||||
|
|
||||||
|
use_zero() {
|
||||||
|
use zero || ( ! use amd64 && ! use x86 && ! use sparc )
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# Set as default VM if none exists
|
||||||
|
java-vm-2_pkg_postinst
|
||||||
|
|
||||||
|
if use nsplugin; then
|
||||||
|
elog "The icedtea${SLOT} browser plugin (NPPlugin) can be enabled using eselect java-nsplugin"
|
||||||
|
elog "Note that the plugin works only in browsers based on xulrunner-1.9.1 or later"
|
||||||
|
elog "such as Firefox 3.5+, Chromium and perhaps some others too."
|
||||||
|
fi
|
||||||
|
}
|
332
dev-java/icedtea/icedtea-6.1.9.3.ebuild
Normal file
332
dev-java/icedtea/icedtea-6.1.9.3.ebuild
Normal file
@ -0,0 +1,332 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
|
||||||
|
|
||||||
|
# *********************************************************
|
||||||
|
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-7.* AS WELL *
|
||||||
|
# *********************************************************
|
||||||
|
|
||||||
|
EAPI="2"
|
||||||
|
|
||||||
|
inherit autotools pax-utils java-pkg-2 java-vm-2 versionator
|
||||||
|
|
||||||
|
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
|
||||||
|
SLOT="6"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||||
|
|
||||||
|
DESCRIPTION="A harness to build the OpenJDK using Free Software build tools and dependencies"
|
||||||
|
ICEDTEA_VER="$(get_version_component_range 2-4)"
|
||||||
|
ICEDTEA_PKG=icedtea${SLOT}-${ICEDTEA_VER}
|
||||||
|
OPENJDK_BUILD="20"
|
||||||
|
OPENJDK_DATE="21_jun_2010"
|
||||||
|
OPENJDK_TARBALL="openjdk-6-src-b${OPENJDK_BUILD}-${OPENJDK_DATE}.tar.gz"
|
||||||
|
JAXP_TARBALL="jdk6-jaxp-b20.zip"
|
||||||
|
JAXWS_TARBALL="jdk6-jaxws-b20.zip"
|
||||||
|
JAF_TARBALL="jdk6-jaf-b20.zip"
|
||||||
|
HOTSPOT_TARBALL="13edc857b967.tar.gz"
|
||||||
|
CACAO_TARBALL="e321b101a9ee.tar.bz2"
|
||||||
|
SRC_URI="http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
|
||||||
|
http://download.java.net/openjdk/jdk6/promoted/b${OPENJDK_BUILD}/${OPENJDK_TARBALL}
|
||||||
|
http://icedtea.classpath.org/download/drops/${JAXWS_TARBALL}
|
||||||
|
http://icedtea.classpath.org/download/drops/${JAF_TARBALL}
|
||||||
|
http://icedtea.classpath.org/download/drops/${JAXP_TARBALL}
|
||||||
|
http://hg.openjdk.java.net/hsx/hsx19/master/archive/${HOTSPOT_TARBALL}
|
||||||
|
cacao? ( http://mips.complang.tuwien.ac.at/hg/cacao/archive/${CACAO_TARBALL} )"
|
||||||
|
HOMEPAGE="http://icedtea.classpath.org"
|
||||||
|
S=${WORKDIR}/${ICEDTEA_PKG}
|
||||||
|
|
||||||
|
# Missing options:
|
||||||
|
# shark - needs adding
|
||||||
|
IUSE="cacao debug doc examples +hs19 javascript nio2 +nsplugin +nss pulseaudio systemtap +webstart +xrender zero"
|
||||||
|
|
||||||
|
# JTReg doesn't pass at present
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND=">=net-print/cups-1.2.12
|
||||||
|
>=x11-libs/libX11-1.1.3
|
||||||
|
>=media-libs/freetype-2.3.5
|
||||||
|
>=media-libs/alsa-lib-1.0
|
||||||
|
>=x11-libs/gtk+-2.8
|
||||||
|
>=x11-libs/libXinerama-1.0.2
|
||||||
|
>=x11-libs/libXp-1.0.0
|
||||||
|
>=x11-libs/libXi-1.1.3
|
||||||
|
>=x11-libs/libXau-1.0.3
|
||||||
|
>=x11-libs/libXdmcp-1.0.2
|
||||||
|
>=x11-libs/libXtst-1.0.3
|
||||||
|
>=media-libs/jpeg-6b
|
||||||
|
>=media-libs/libpng-1.2
|
||||||
|
>=media-libs/giflib-4.1.6
|
||||||
|
>=sys-libs/zlib-1.2.3
|
||||||
|
x11-proto/inputproto
|
||||||
|
x11-proto/xineramaproto
|
||||||
|
nsplugin? ( >=net-libs/xulrunner-1.9.1 )
|
||||||
|
pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
|
||||||
|
javascript? ( dev-java/rhino:1.6 )
|
||||||
|
zero? ( virtual/libffi )
|
||||||
|
xrender? ( >=x11-libs/libXrender-0.9.4 )
|
||||||
|
systemtap? ( >=dev-util/systemtap-1 )
|
||||||
|
!dev-java/icedtea6
|
||||||
|
nss? ( >=dev-libs/nss-3.12.5-r1 )"
|
||||||
|
|
||||||
|
# Additional dependencies for building:
|
||||||
|
# zip: extract OpenJDK tarball, and needed by configure
|
||||||
|
# xalan/xerces: automatic code generation (also needed for Ant 1.8.0 to work properly)
|
||||||
|
# ant, ecj, jdk: required to build Java code
|
||||||
|
# Only ant-core-1.7.1-r2 and later contain a version of Ant that
|
||||||
|
# properly respects environment variables, if the build
|
||||||
|
# sets some environment variables.
|
||||||
|
# ca-certificates, perl and openssl are used for the cacerts keystore generation
|
||||||
|
# xext headers have two variants depending on version - bug #288855
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
|| (
|
||||||
|
( >=dev-java/gcj-jdk-4.3 >=app-admin/eselect-ecj-0.5-r1 )
|
||||||
|
( >=dev-java/cacao-0.99.2 >=app-admin/eselect-ecj-0.5-r1 )
|
||||||
|
dev-java/icedtea6-bin
|
||||||
|
dev-java/icedtea:${SLOT}
|
||||||
|
)
|
||||||
|
app-arch/zip
|
||||||
|
>=dev-java/xalan-2.7.0:0
|
||||||
|
>=dev-java/xerces-2.9.1:2
|
||||||
|
>=dev-java/ant-core-1.7.1-r2
|
||||||
|
dev-java/ant-nodeps
|
||||||
|
app-misc/ca-certificates
|
||||||
|
dev-lang/perl
|
||||||
|
dev-libs/openssl
|
||||||
|
|| (
|
||||||
|
(
|
||||||
|
>=x11-libs/libXext-1.1.1
|
||||||
|
>=x11-proto/xextproto-7.1.1
|
||||||
|
x11-proto/xproto
|
||||||
|
)
|
||||||
|
<x11-libs/libXext-1.1.1
|
||||||
|
)
|
||||||
|
sys-apps/lsb-release"
|
||||||
|
|
||||||
|
# a bit of hack so the VM switching is triggered without causing dependency troubles
|
||||||
|
JAVA_PKG_NV_DEPEND=">=virtual/jdk-1.5"
|
||||||
|
JAVA_PKG_WANT_SOURCE="1.5"
|
||||||
|
JAVA_PKG_WANT_TARGET="1.5"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# Shark support disabled for now - still experimental and needs sys-devel/llvm
|
||||||
|
# if use shark ; then
|
||||||
|
# if ( ! use x86 && ! use sparc && ! use ppc ) ; then
|
||||||
|
# eerror "The Shark JIT has known issues on 64-bit platforms. Please rebuild"
|
||||||
|
# errror "without the shark USE flag turned on."
|
||||||
|
# die "Rebuild without the shark USE flag on."
|
||||||
|
# fi
|
||||||
|
# if ( ! use zero ) ; then
|
||||||
|
# eerror "The use of the Shark JIT is only applicable when used with the zero assembler port.";
|
||||||
|
# die "Rebuild without the shark USE flag on or with the zero USE flag turned on."
|
||||||
|
# fi
|
||||||
|
# fi
|
||||||
|
|
||||||
|
if use nsplugin && ! use webstart ; then
|
||||||
|
eerror "WebStart is required if building the plugin."
|
||||||
|
die 'Re-try with USE="webstart"'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# quite a hack since java-config does not provide a way for a package
|
||||||
|
# to limit supported VM's for building and their preferred order
|
||||||
|
if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
|
||||||
|
einfo "Honoring user-set JAVA_PKG_FORCE_VM"
|
||||||
|
elif has_version "dev-java/icedtea:${SLOT}"; then
|
||||||
|
JAVA_PKG_FORCE_VM="icedtea6"
|
||||||
|
elif has_version dev-java/icedtea6; then
|
||||||
|
JAVA_PKG_FORCE_VM="icedtea6"
|
||||||
|
elif has_version dev-java/icedtea6-bin; then
|
||||||
|
JAVA_PKG_FORCE_VM="icedtea6-bin"
|
||||||
|
elif has_version dev-java/gcj-jdk; then
|
||||||
|
JAVA_PKG_FORCE_VM="gcj-jdk"
|
||||||
|
elif has_version dev-java/cacao; then
|
||||||
|
JAVA_PKG_FORCE_VM="cacao"
|
||||||
|
else
|
||||||
|
JAVA_PKG_FORCE_VM=""
|
||||||
|
# don't die just yet if merging a binpkg - bug #258423
|
||||||
|
DIE_IF_NOT_BINPKG=true
|
||||||
|
fi
|
||||||
|
|
||||||
|
# if the previous failed, don't even run java eclasses pkg_setup
|
||||||
|
# as it might also die when no VM is present
|
||||||
|
if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
|
||||||
|
einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
|
||||||
|
java-vm-2_pkg_setup
|
||||||
|
java-pkg-2_pkg_setup
|
||||||
|
fi
|
||||||
|
|
||||||
|
VMHANDLE="icedtea${SLOT}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ -n ${DIE_IF_NOT_BINPKG} ]]; then
|
||||||
|
die "Unable to find a supported VM for building"
|
||||||
|
fi
|
||||||
|
unpack ${ICEDTEA_PKG}.tar.gz
|
||||||
|
}
|
||||||
|
|
||||||
|
unset_vars() {
|
||||||
|
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}/${PV}-sparc.patch"
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local config procs rhino_jar
|
||||||
|
local openjdk_libdir=$(java-config -O|sed "s:/lib/:/$(get_libdir)/:g")
|
||||||
|
local vm=$(java-pkg_get-current-vm)
|
||||||
|
local vmhome="/usr/$(get_libdir)/jvm/${vm}"
|
||||||
|
|
||||||
|
# IcedTea6 can't be built using IcedTea7; its class files are too new
|
||||||
|
if [[ "${vm}" == "icedtea6" ]] || [[ "${vm}" == "icedtea6-bin" ]] ; then
|
||||||
|
# If we are upgrading icedtea, then we don't need to bootstrap.
|
||||||
|
config="${config} --with-openjdk=${openjdk_libdir}"
|
||||||
|
elif [[ "${vm}" == "gcj-jdk" || "${vm}" == "cacao" ]] ; then
|
||||||
|
# For other 1.5 JDKs e.g. GCJ, CACAO.
|
||||||
|
config="${config} --with-ecj-jar=/usr/share/eclipse-ecj/ecj.jar" \
|
||||||
|
config="${config} --with-gcj-home=${vmhome}"
|
||||||
|
else
|
||||||
|
eerror "IcedTea${SLOT} must be built with either a JDK based on GNU Classpath or an existing build of IcedTea${SLOT}."
|
||||||
|
die "Install a GNU Classpath JDK (gcj-jdk, cacao)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# OpenJDK-specific parallelism support.
|
||||||
|
procs=$(echo ${MAKEOPTS} | sed -r 's/.*-j\W*([0-9]+).*/\1/')
|
||||||
|
if [[ -n ${procs} ]] ; then
|
||||||
|
config="${config} --with-parallel-jobs=${procs}";
|
||||||
|
einfo "Configuring using --with-parallel-jobs=${procs}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use_zero ; then
|
||||||
|
config="${config} --enable-zero"
|
||||||
|
else
|
||||||
|
config="${config} --disable-zero"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use javascript ; then
|
||||||
|
rhino_jar=$(java-pkg_getjar rhino:1.6 js.jar);
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use hs19 ; then
|
||||||
|
config="${config} --with-hotspot-build=hs19"
|
||||||
|
fi
|
||||||
|
|
||||||
|
unset_vars
|
||||||
|
|
||||||
|
econf ${config} \
|
||||||
|
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
|
||||||
|
--with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \
|
||||||
|
--with-jaxp-drop-zip="${DISTDIR}/${JAXP_TARBALL}" \
|
||||||
|
--with-jaxws-drop-zip="${DISTDIR}/${JAXWS_TARBALL}" \
|
||||||
|
--with-jaf-drop-zip="${DISTDIR}/${JAF_TARBALL}" \
|
||||||
|
--with-cacao-src-zip="${DISTDIR}/${CACAO_TARBALL}" \
|
||||||
|
--with-java="${vmhome}/bin/java" \
|
||||||
|
--with-javac="${vmhome}/bin/javac" \
|
||||||
|
--with-javah="${vmhome}/bin/javah" \
|
||||||
|
--with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
|
||||||
|
$(use_enable !debug optimizations) \
|
||||||
|
$(use_enable doc docs) \
|
||||||
|
$(use_enable nsplugin plugin) \
|
||||||
|
$(use_with javascript rhino ${rhino_jar}) \
|
||||||
|
$(use_enable cacao) \
|
||||||
|
$(use_enable pulseaudio pulse-java) \
|
||||||
|
$(use_enable xrender) \
|
||||||
|
$(use_enable systemtap) \
|
||||||
|
$(use_enable nio2) \
|
||||||
|
$(use_enable nss) \
|
||||||
|
$(use_enable webstart) \
|
||||||
|
|| die "configure failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# Newer versions of Gentoo's ant add
|
||||||
|
# an environment variable so it works properly...
|
||||||
|
export ANT_RESPECT_JAVA_HOME=TRUE
|
||||||
|
# ant -diagnostics in Ant 1.8.0 fails without these
|
||||||
|
# otherwise we try to load the least that's needed to avoid possible classpath collisions
|
||||||
|
export ANT_TASKS="xerces-2 xalan ant-nodeps"
|
||||||
|
|
||||||
|
# Paludis does not respect unset from src_configure
|
||||||
|
unset_vars
|
||||||
|
|
||||||
|
local arch=${ARCH}
|
||||||
|
( [[ ${ABI} == x86 ]] || use x86 ) && arch=i586
|
||||||
|
emake -j 1 || die "make failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local dest="${ROOT}usr/$(get_libdir)/icedtea${SLOT}"
|
||||||
|
local ddest="${D}/${dest}"
|
||||||
|
dodir "${dest}" || die
|
||||||
|
|
||||||
|
local arch=${ARCH}
|
||||||
|
( [[ ${ABI} == x86 ]] || use x86 ) && arch=i586
|
||||||
|
|
||||||
|
dodoc README NEWS AUTHORS THANKYOU || die
|
||||||
|
dosym "${ROOT}usr/share/doc/${PF}" "${ROOT}usr/share/doc/${PN}${SLOT}"
|
||||||
|
|
||||||
|
cd "${S}/openjdk/build/linux-${arch}/j2sdk-image" || die
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
# java-pkg_dohtml needed for package-list #302654
|
||||||
|
java-pkg_dohtml -r ../docs/* || die "Failed to install documentation"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# doins can't handle symlinks.
|
||||||
|
cp -vRP bin include jre lib man "${ddest}" || die "failed to copy"
|
||||||
|
|
||||||
|
# Set PaX markings on all JDK/JRE executables to allow code-generation on
|
||||||
|
# the heap by the JIT compiler.
|
||||||
|
pax-mark m $(list-paxables "${ddest}"{,/jre}/bin/*)
|
||||||
|
|
||||||
|
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README || die
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
dodir "${dest}/share";
|
||||||
|
cp -vRP demo sample "${ddest}/share/" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
cp src.zip "${ddest}" || die
|
||||||
|
|
||||||
|
# Fix the permissions.
|
||||||
|
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
|
||||||
|
|
||||||
|
if use nsplugin; then
|
||||||
|
( [[ ${ABI} == x86 ]] || use x86 ) && arch=i386;
|
||||||
|
install_mozilla_plugin "${dest}/jre/lib/${arch}/IcedTeaPlugin.so";
|
||||||
|
fi
|
||||||
|
|
||||||
|
# We need to generate keystore - bug #273306
|
||||||
|
einfo "Generating cacerts file from certificates in /usr/share/ca-certificates/"
|
||||||
|
mkdir "${T}/certgen" && cd "${T}/certgen" || die
|
||||||
|
cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
|
||||||
|
for c in /usr/share/ca-certificates/*/*.crt; do
|
||||||
|
openssl x509 -text -in "${c}" >> all.crt || die
|
||||||
|
done
|
||||||
|
./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
|
||||||
|
cp -vRP cacerts "${ddest}/jre/lib/security/" || die
|
||||||
|
chmod 644 "${ddest}/jre/lib/security/cacerts" || die
|
||||||
|
|
||||||
|
sed -e "s/@SLOT@/${SLOT}/g" \
|
||||||
|
-e "s/@PV@/${ICEDTEA_VER}/g" \
|
||||||
|
< "${FILESDIR}/icedtea.env" > "${T}/icedtea.env"
|
||||||
|
set_java_env "${T}/icedtea.env"
|
||||||
|
}
|
||||||
|
|
||||||
|
use_zero() {
|
||||||
|
use zero || ( ! use amd64 && ! use x86 && ! use sparc )
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# Set as default VM if none exists
|
||||||
|
java-vm-2_pkg_postinst
|
||||||
|
|
||||||
|
if use nsplugin; then
|
||||||
|
elog "The icedtea${SLOT} browser plugin (NPPlugin) can be enabled using eselect java-nsplugin"
|
||||||
|
elog "Note that the plugin works only in browsers based on xulrunner-1.9.1 or later"
|
||||||
|
elog "such as Firefox 3.5+, Chromium and perhaps some others too."
|
||||||
|
fi
|
||||||
|
}
|
23
dev-util/cmake/Manifest
Normal file
23
dev-util/cmake/Manifest
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
AUX 50cmake-gentoo.el 244 RMD160 effb4416a5170ed7c99ea74084f2598e2482fdf0 SHA1 c34102f3343980275169144b40af6ec69a87d7fc SHA256 6010e6df84aa23050fcbc490ae2b22802ede0870ff2e96c43fe541e97e0d6c00
|
||||||
|
AUX cmake-2.6.0-interix.patch 1657 RMD160 fe2e9675da5b66c041d8ae5f1c667cf605494674 SHA1 d21fa5346a939411d579ab308005f7867f012975 SHA256 944401813cd66fdefc68935778fc3fe2328f17a2f00d559dac8add63bb37faf7
|
||||||
|
AUX cmake-2.6.3-darwin-bundle.patch 952 RMD160 157295c7080e3fa5a1414c6f7efba4877049c5e7 SHA1 595740c64fd64e93763d7b1f59d341f9f8117482 SHA256 5429d3d7ba0d2bf2528b4cbf2bd36d3c83a051c064faa9c308d9adfeee334bca
|
||||||
|
AUX cmake-2.6.3-fix_broken_lfs_on_aix.patch 1366 RMD160 38094f9f8516656cc30d6ead147bc1e2ae41f429 SHA1 5458b92849292d9e8ca3003654a94e339cb4a48c SHA256 e403b204b3f64e5fb01af631c0bb72f083c3994cb7af91dd54b92458bd08a439
|
||||||
|
AUX cmake-2.6.3-no-duplicates-in-rpath.patch 794 RMD160 d927ce8bb08d57f452db3371a0b2e11d252b96c9 SHA1 6f88171a816c1157ddcf3c3d5c3e3ec080471883 SHA256 908ea65a9db5ca85b2061ad63de714e59930aafeff010939be4829eb60b301c7
|
||||||
|
AUX cmake-2.6.4-FindBoost.patch 1094 RMD160 58cbed09bcb5fadf166cf64481f9605b5882f6a2 SHA1 5a3a91737b436e9de50c955bdb3e32b8fa7bed30 SHA256 a3f266086335b96af8e0dd848a05a10373762de9b9d6cc3b8af4b27fb43d362c
|
||||||
|
AUX cmake-2.8.0-darwin-default-install_name.patch 911 RMD160 6261482ff3f989ce455ea87cd5c540385420149b SHA1 6c473a538204826210f62fabdfafb2f5f19087bb SHA256 98b93389ad9a39c819b90f8694a9fb208da6bad15dbe1ca72e62783803ff5b6d
|
||||||
|
AUX cmake-2.8.0-darwin-no-app-with-qt.patch 2983 RMD160 088b54f0c1fd7d43867c0479deee0caada3a5fcd SHA1 1737e954c7bbb55f007226c48feac596ac290c45 SHA256 f678cb03ee646a231eedda894e8965bf7bc83b693b249e1ecd4590e933323224
|
||||||
|
AUX cmake-2.8.1-FindBoost.patch 714 RMD160 8f7d2be9cc63289a3e4f79b43f4b8baa6d980810 SHA1 37925b584dc471148f756bd41158740704dbec37 SHA256 f110d2387c362c518480d804bf1ce9f4881af67755cafd41bb639b09a8afca88
|
||||||
|
AUX cmake-2.8.1-libform.patch 1818 RMD160 ca954dfe966cd73836ef9e01ffe8f0eda85f2f91 SHA1 8f8e9a0002b4a95cea7dcfc36c2df16c47008bec SHA256 3b4ee03c7733b3fb468c5d4c6b139358be751b2398b56ca4ecdbf8a86b1f1ed5
|
||||||
|
AUX cmake-2.8.1-more-no_host_paths.patch 2981 RMD160 fea9f1d96d8c29f55e424389fb4f2471dfe514d8 SHA1 90fdc2ad69aeb54530d1faf4867e40c233caf084 SHA256 0c3fbe76684851ee444be92a99f91e5a5e8dfef02d7426722e10025aeca03412
|
||||||
|
AUX cmake-2.8.1-mpi.patch 857 RMD160 d41e4dd445b1a79d0a82619a8ad7371e80d937a8 SHA1 0192124d023953d35cb5fb0da148c914525099e6 SHA256 64092fbf637bfe625cf58abe93844aab2e75ba22a00e5ffdb05188961b7f51d7
|
||||||
|
AUX cmake-2.8.1-portage-multilib-lib32.patch 7242 RMD160 47738f73dfe42b9a2996b44bd860537881274616 SHA1 ef49749595ac38ac7d3c69c1494db0b52cab65e5 SHA256 732024767399d379a4626dc51b063d8cdd12dfcfa69f8f0b31d8be303e540d4c
|
||||||
|
AUX cmake-2.8.3-FindLibArchive.patch 651 RMD160 ccff38785a20e66b3fbd7ea95c46b05052d7e4de SHA1 8c3ba96c7f4bd901a9089e7af315f22c78eb1d6c SHA256 521bc573c94f4a62c949caf0690902f1290d35969f68870967aa699caff60364
|
||||||
|
AUX cmake-2.8.3-FindPythonInterp.patch 550 RMD160 c02295ce79f97cd6be16f90e3c89ad6deed09b4a SHA1 f8a67cd872b90a6dd77626bfd766f788b0775655 SHA256 96ebc2ae19a4d366ef4ed57db44ebd3baa6fb652d8bf5ea6867f64f972d7134e
|
||||||
|
AUX cmake-2.8.3-FindPythonLibs.patch 550 RMD160 b060930247da3d716fa9592d2d68ddec7d9c488f SHA1 4040bc3749b5f0e12ed07eb765d8863988352814 SHA256 fa6dcfad7c110c5ac264606aa7716c1d6078242802ee9fafc34e9a725cefd755
|
||||||
|
AUX cmake-2.8.3-more-no_host_paths.patch 3052 RMD160 fb11585292980d19a2810a7ce5741c94aa7391a3 SHA1 3980e7b522ebe934fbf0625221cc5b42e2e19716 SHA256 55165d67bad9def6b349bf67d02ede28a2fc291d28a2a5296897e25980ce623c
|
||||||
|
AUX cmake-FindJNI.patch 2020 RMD160 4fcb9714de65eb146a2696cd6613357684515b2d SHA1 c463daa6e7d3a1d7065607f97993b5da3486e7e1 SHA256 c5390550c192aea18415087ed891f7e5192b2a385c9c72f4cda0c19b13f6bfbb
|
||||||
|
AUX cmake-FindPythonInterp.patch 498 RMD160 a4113724d0c2bdb53e7c947790d8a7e337759c84 SHA1 abd7754549fef5aae515361acd6a509c98227bf5 SHA256 8c3d4dc1898eae4adaa392b556286076594470277bc7c1bddbe2a28213fff7c0
|
||||||
|
AUX cmake-FindPythonLibs.patch 546 RMD160 429021001f1b464d8321703052890a34141a34ec SHA1 e5d62feab16058f123e1399e0504a50f50ee5a88 SHA256 86a5e78ff4e62cf8987401255197f7ba4ae70d00c257df3048372c5dcc035bdd
|
||||||
|
AUX cmake.vim 217 RMD160 3ac23077646d31e9c29ff32ae2eba20b63c07809 SHA1 527b989aec74eb260c16f93baf189c2e6794b3d8 SHA256 7366c1d45bdcc93efb1954216a5427a5f9df7e98a1f706c357576d7835aaebc5
|
||||||
|
DIST cmake-2.8.3.tar.gz 5436543 RMD160 8bcba88ad884e22bbadf4c594a5f3b0bdbf2e12c SHA1 e9bfbec47b3939be6f83ffa8006884285c687dc2 SHA256 689ed02786b5cefa5515c7716784ee82a82e8ece6be5a3d629ac3cc0c05fc288
|
||||||
|
EBUILD cmake-2.8.3.ebuild 4060 RMD160 a0505ba19e9ee58a850479dd18ffb01944791bb9 SHA1 709050785f142738f9d347e5b945a966985c5113 SHA256 647506393fd9e02e4cb0b519776ba994e5f10f7fed5603d2d3a75032f4595ed0
|
147
dev-util/cmake/cmake-2.8.3.ebuild
Normal file
147
dev-util/cmake/cmake-2.8.3.ebuild
Normal file
@ -0,0 +1,147 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-util/cmake/cmake-2.8.3.ebuild,v 1.2 2010/12/16 12:36:21 scarabeus Exp $
|
||||||
|
|
||||||
|
EAPI="3"
|
||||||
|
|
||||||
|
inherit elisp-common toolchain-funcs eutils versionator flag-o-matic base cmake-utils
|
||||||
|
|
||||||
|
MY_P="${PN}-$(replace_version_separator 3 - ${MY_PV})"
|
||||||
|
|
||||||
|
DESCRIPTION="Cross platform Make"
|
||||||
|
HOMEPAGE="http://www.cmake.org/"
|
||||||
|
SRC_URI="http://www.cmake.org/files/v$(get_version_component_range 1-2)/${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="CMake"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="emacs ncurses qt4 vim-syntax"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
app-arch/libarchive
|
||||||
|
>=net-misc/curl-7.20.0-r1[ssl]
|
||||||
|
>=dev-libs/expat-2.0.1
|
||||||
|
sys-libs/zlib
|
||||||
|
ncurses? ( sys-libs/ncurses )
|
||||||
|
qt4? ( x11-libs/qt-gui:4 )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
emacs? ( virtual/emacs )
|
||||||
|
vim-syntax? (
|
||||||
|
|| (
|
||||||
|
app-editors/vim
|
||||||
|
app-editors/gvim
|
||||||
|
)
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
VIMFILE="${PN}.vim"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
CMAKE_BINARY="${S}/Bootstrap.cmk/cmake"
|
||||||
|
CMAKE_IN_SOURCE_BUILD=1
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-2.6.3-darwin-bundle.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.6.3-no-duplicates-in-rpath.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.6.3-fix_broken_lfs_on_aix.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.8.0-darwin-default-install_name.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.8.0-darwin-no-app-with-qt.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.8.1-FindBoost.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.8.1-libform.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.8.3-FindLibArchive.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.8.3-FindPythonLibs.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.8.3-FindPythonInterp.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.8.3-more-no_host_paths.patch
|
||||||
|
"${FILESDIR}"/${PN}-2.8.1-portage-multilib-lib32.patch
|
||||||
|
)
|
||||||
|
_src_bootstrap() {
|
||||||
|
echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' > /dev/null
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
par_arg=$(echo ${MAKEOPTS} | egrep -o '(\-j|\-\-jobs)(=?|[[:space:]]*)[[:digit:]]+' | egrep -o '[[:digit:]]+')
|
||||||
|
par_arg="--parallel=${par_arg}"
|
||||||
|
else
|
||||||
|
par_arg="--parallel=1"
|
||||||
|
fi
|
||||||
|
|
||||||
|
tc-export CC CXX LD
|
||||||
|
|
||||||
|
./bootstrap \
|
||||||
|
--prefix="${T}/cmakestrap/" \
|
||||||
|
${par_arg} \
|
||||||
|
|| die "Bootstrap failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
base_src_prepare
|
||||||
|
|
||||||
|
# disable bootstrap cmake and make run, we use eclass for that
|
||||||
|
sed -i \
|
||||||
|
-e '/"${cmake_bootstrap_dir}\/cmake"/s/^/#DONOTRUN /' \
|
||||||
|
bootstrap || die "sed failed"
|
||||||
|
|
||||||
|
# Add gcc libs to the default link paths
|
||||||
|
sed -i \
|
||||||
|
-e "s|@GENTOO_PORTAGE_GCCLIBDIR@|${EPREFIX}/usr/${CHOST}/lib/|g" \
|
||||||
|
-e "s|@GENTOO_PORTAGE_EPREFIX@|${EPREFIX}/|g" \
|
||||||
|
Modules/Platform/{UnixPaths,Darwin}.cmake || die "sed failed"
|
||||||
|
|
||||||
|
_src_bootstrap
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# make things work with gentoo java setup
|
||||||
|
# in case java-config cannot be run, the variable just becomes unset
|
||||||
|
# per bug #315229
|
||||||
|
export JAVA_HOME=$(java-config -g JAVA_HOME 2> /dev/null)
|
||||||
|
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DCMAKE_USE_SYSTEM_LIBRARIES=ON
|
||||||
|
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
|
||||||
|
-DCMAKE_DOC_DIR=/share/doc/${PF}
|
||||||
|
-DCMAKE_MAN_DIR=/share/man
|
||||||
|
-DCMAKE_DATA_DIR=/share/${PN}
|
||||||
|
$(cmake-utils_use_build ncurses CursesDialog)
|
||||||
|
$(cmake-utils_use_build qt4 QtDialog)
|
||||||
|
)
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cmake-utils_src_compile
|
||||||
|
if use emacs; then
|
||||||
|
elisp-compile Docs/cmake-mode.el || die "elisp compile failed"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
emake test || die "Tests failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake-utils_src_install
|
||||||
|
if use emacs; then
|
||||||
|
elisp-install ${PN} Docs/cmake-mode.el Docs/cmake-mode.elc || die "elisp-install failed"
|
||||||
|
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||||
|
fi
|
||||||
|
if use vim-syntax; then
|
||||||
|
insinto /usr/share/vim/vimfiles/syntax
|
||||||
|
doins Docs/cmake-syntax.vim || die
|
||||||
|
|
||||||
|
insinto /usr/share/vim/vimfiles/indent
|
||||||
|
doins Docs/cmake-indent.vim || die
|
||||||
|
|
||||||
|
insinto /usr/share/vim/vimfiles/ftdetect
|
||||||
|
doins "${FILESDIR}/${VIMFILE}" || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
4
dev-util/cmake/files/50cmake-gentoo.el
Normal file
4
dev-util/cmake/files/50cmake-gentoo.el
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
(add-to-list 'load-path "@SITELISP@")
|
||||||
|
(autoload 'cmake-mode "cmake-mode" "Major mode for editing CMake files." t)
|
||||||
|
(add-to-list 'auto-mode-alist '("CMakeLists\\.txt\\'" . cmake-mode))
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.cmake\\'" . cmake-mode))
|
48
dev-util/cmake/files/cmake-2.6.0-interix.patch
Normal file
48
dev-util/cmake/files/cmake-2.6.0-interix.patch
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
diff -ruN cmake-2.6.0.orig/Modules/Platform/Interix.cmake cmake-2.6.0/Modules/Platform/Interix.cmake
|
||||||
|
--- cmake-2.6.0.orig/Modules/Platform/Interix.cmake 1970-01-01 01:00:00 +0100
|
||||||
|
+++ cmake-2.6.0/Modules/Platform/Interix.cmake 2008-06-02 14:22:45 +0200
|
||||||
|
@@ -0,0 +1,31 @@
|
||||||
|
+# This is a proposed Platform definition for Interix GCC/G++
|
||||||
|
+
|
||||||
|
+SET(CMAKE_DL_LIBS "dl")
|
||||||
|
+SET(CMAKE_SHARED_LIBRARY_C_FLAGS "")
|
||||||
|
+SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
|
||||||
|
+SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
|
||||||
|
+SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
|
||||||
|
+SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
|
||||||
|
+SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-h,")
|
||||||
|
+SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-h,")
|
||||||
|
+
|
||||||
|
+SET(UNIX 1)
|
||||||
|
+
|
||||||
|
+# also add the install directory of the running cmake to the search directories
|
||||||
|
+# CMAKE_ROOT is CMAKE_INSTALL_PREFIX/share/cmake, so we need to go two levels up
|
||||||
|
+GET_FILENAME_COMPONENT(_CMAKE_INSTALL_DIR "${CMAKE_ROOT}" PATH)
|
||||||
|
+GET_FILENAME_COMPONENT(_CMAKE_INSTALL_DIR "${_CMAKE_INSTALL_DIR}" PATH)
|
||||||
|
+
|
||||||
|
+LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH
|
||||||
|
+ "${_CMAKE_INSTALL_DIR}"
|
||||||
|
+ "${CMAKE_INSTALL_PREFIX}"
|
||||||
|
+ )
|
||||||
|
+
|
||||||
|
+LIST(APPEND CMAKE_SYSTEM_INCLUDE_PATH
|
||||||
|
+ "${CMAKE_INSTALL_PREFIX}"/include
|
||||||
|
+ )
|
||||||
|
+
|
||||||
|
+LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH
|
||||||
|
+ "${CMAKE_INSTALL_PREFIX}"/lib
|
||||||
|
+ )
|
||||||
|
+
|
||||||
|
diff -ruN cmake-2.6.0.orig/Utilities/cmtar/encode.c cmake-2.6.0/Utilities/cmtar/encode.c
|
||||||
|
--- cmake-2.6.0.orig/Utilities/cmtar/encode.c 2008-06-02 13:00:44 +0200
|
||||||
|
+++ cmake-2.6.0/Utilities/cmtar/encode.c 2008-06-02 14:02:39 +0200
|
||||||
|
@@ -24,6 +24,9 @@
|
||||||
|
# include <stdlib.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#ifdef HAVE_SYS_MKDEV_H
|
||||||
|
+# include <sys/mkdev.h>
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
/* magic, version, and checksum */
|
||||||
|
void
|
23
dev-util/cmake/files/cmake-2.6.3-darwin-bundle.patch
Normal file
23
dev-util/cmake/files/cmake-2.6.3-darwin-bundle.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
Don't use .so for modules on darwin/macos. Use .bundle instead.
|
||||||
|
Patch by Heiko Przybyl
|
||||||
|
|
||||||
|
--- Modules/Platform/Darwin.cmake
|
||||||
|
+++ Modules/Platform/Darwin.cmake
|
||||||
|
@@ -23,7 +23,7 @@
|
||||||
|
SET(CMAKE_SHARED_LIBRARY_PREFIX "lib")
|
||||||
|
SET(CMAKE_SHARED_LIBRARY_SUFFIX ".dylib")
|
||||||
|
SET(CMAKE_SHARED_MODULE_PREFIX "lib")
|
||||||
|
-SET(CMAKE_SHARED_MODULE_SUFFIX ".so")
|
||||||
|
+SET(CMAKE_SHARED_MODULE_SUFFIX ".bundle")
|
||||||
|
SET(CMAKE_MODULE_EXISTS 1)
|
||||||
|
SET(CMAKE_DL_LIBS "")
|
||||||
|
|
||||||
|
@@ -45,7 +45,7 @@
|
||||||
|
SET(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle -headerpad_max_install_names")
|
||||||
|
SET(CMAKE_SHARED_MODULE_LOADER_C_FLAG "-Wl,-bundle_loader,")
|
||||||
|
SET(CMAKE_SHARED_MODULE_LOADER_CXX_FLAG "-Wl,-bundle_loader,")
|
||||||
|
-SET(CMAKE_FIND_LIBRARY_SUFFIXES ".dylib" ".so" ".a")
|
||||||
|
+SET(CMAKE_FIND_LIBRARY_SUFFIXES ".dylib" ".bundle" ".a")
|
||||||
|
|
||||||
|
# hack: if a new cmake (which uses CMAKE_INSTALL_NAME_TOOL) runs on an old build tree
|
||||||
|
# (where install_name_tool was hardcoded) and where CMAKE_INSTALL_NAME_TOOL isn't in the cache
|
39
dev-util/cmake/files/cmake-2.6.3-fix_broken_lfs_on_aix.patch
Normal file
39
dev-util/cmake/files/cmake-2.6.3-fix_broken_lfs_on_aix.patch
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
http://public.kitware.com/Bug/view.php?id=7933
|
||||||
|
|
||||||
|
diff -ur cmake-2.6.2/Source/kwsys/kwsysPlatformTestsCXX.cxx cmake-2.6.2-p/Source/kwsys/kwsysPlatformTestsCXX.cxx
|
||||||
|
--- cmake-2.6.2/Source/kwsys/kwsysPlatformTestsCXX.cxx Wed Sep 24 20:34:37 2008
|
||||||
|
+++ cmake-2.6.2-p/Source/kwsys/kwsysPlatformTestsCXX.cxx Tue Nov 4 11:18:32 2008
|
||||||
|
@@ -38,6 +38,13 @@
|
||||||
|
int main() { return 0; }
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#ifdef TEST_KWSYS_LFS_SUPPORT
|
||||||
|
+#define _LARGE_FILES
|
||||||
|
+#include <iostream>
|
||||||
|
+int main() { return 0; }
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+
|
||||||
|
#ifdef TEST_KWSYS_IOS_HAVE_STD
|
||||||
|
#include <iosfwd>
|
||||||
|
void f(std ::ostream*) {}
|
||||||
|
diff -ur cmake-2.6.2/bootstrap cmake-2.6.2-p/bootstrap
|
||||||
|
--- cmake-2.6.2/bootstrap Wed Sep 24 20:34:33 2008
|
||||||
|
+++ cmake-2.6.2-p/bootstrap Tue Nov 4 11:17:11 2008
|
||||||
|
@@ -1005,6 +1005,16 @@
|
||||||
|
echo "${cmake_cxx_compiler} does not have stl iterator_traits"
|
||||||
|
fi
|
||||||
|
|
||||||
|
+if cmake_try_run "${cmake_cxx_compiler}" \
|
||||||
|
+ "${cmake_cxx_flags} -DTEST_KWSYS_LFS_SUPPORT" \
|
||||||
|
+ "${cmake_source_dir}/Source/kwsys/kwsysPlatformTestsCXX.cxx" >> cmake_bootstrap.log 2>&1; then
|
||||||
|
+ KWSYS_LFS_AVAILABLE=1
|
||||||
|
+ echo "LFS support available"
|
||||||
|
+else
|
||||||
|
+ KWSYS_LFS_AVAILABLE=0
|
||||||
|
+ echo "LFS support unavailable, disabled"
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
if [ "x${KWSYS_STL_HAS_ITERATOR_TRAITS}" = "x0" ]; then
|
||||||
|
if cmake_try_run "${cmake_cxx_compiler}" \
|
||||||
|
"${cmake_cxx_flags} -DTEST_KWSYS_STL_HAS_ITERATOR_CATEGORY -DKWSYS_STL_HAVE_STD=${KWSYS_STL_HAVE_STD}" \
|
@ -0,0 +1,19 @@
|
|||||||
|
Patch by Heiko Przybyl
|
||||||
|
|
||||||
|
--- Source/cmComputeLinkInformation.cxx
|
||||||
|
+++ Source/cmComputeLinkInformation.cxx
|
||||||
|
@@ -1686,6 +1686,14 @@ std::string cmComputeLinkInformation::Ge
|
||||||
|
for(std::vector<std::string>::const_iterator ri = runtimeDirs.begin();
|
||||||
|
ri != runtimeDirs.end(); ++ri)
|
||||||
|
{
|
||||||
|
+ // Do not add duplicates.
|
||||||
|
+ // I'd like to have that check already in the list generation code
|
||||||
|
+ // but that would need lots of more changes, even in ExpandListArgument().
|
||||||
|
+ if(*sep != '\0' && (rpath + sep).find(*ri + sep) != std::string::npos)
|
||||||
|
+ {
|
||||||
|
+ //std::cerr << "ignoring duplicate: '" << *ri << "' in '" << rpath << "'" << std::endl;
|
||||||
|
+ continue;
|
||||||
|
+ }
|
||||||
|
// Separate from previous path.
|
||||||
|
rpath += sep;
|
||||||
|
sep = this->GetRuntimeSep().c_str();
|
22
dev-util/cmake/files/cmake-2.6.4-FindBoost.patch
Normal file
22
dev-util/cmake/files/cmake-2.6.4-FindBoost.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
--- Modules/FindBoost.cmake
|
||||||
|
+++ Modules/FindBoost.cmake
|
||||||
|
@@ -57,7 +57,8 @@
|
||||||
|
#
|
||||||
|
# Currently this module searches for the following version numbers:
|
||||||
|
# 1.33, 1.33.0, 1.33.1, 1.34, 1.34.0, 1.34.1, 1.35, 1.35.0, 1.35.1,
|
||||||
|
-# 1.36, 1.36.0, 1.36.1, 1.37, 1.37.0, 1.38, 1.38.0
|
||||||
|
+# 1.36, 1.36.0, 1.36.1, 1.37, 1.37.0, 1.38, 1.38.0, 1.39, 1.39.0,
|
||||||
|
+# 1.40, 1.40.0, 1.41, 1.41.0, 1.42, 1.42.0, 1.43, 1.43.0, 1.44, 1.44.0
|
||||||
|
#
|
||||||
|
# NOTE: If you add a new major 1.x version in Boost_ADDITIONAL_VERSIONS you should
|
||||||
|
# add both 1.x and 1.x.0 as shown above. Official Boost include directories
|
||||||
|
@@ -271,7 +272,8 @@
|
||||||
|
# The user has not requested an exact version. Among known
|
||||||
|
# versions, find those that are acceptable to the user request.
|
||||||
|
set(_Boost_KNOWN_VERSIONS ${Boost_ADDITIONAL_VERSIONS}
|
||||||
|
- "1.38.0" "1.38" "1.37.0" "1.37"
|
||||||
|
+ "1.44.0" "1.44" "1.43.0" "1.43" "1.42.0" "1.42" "1.41.0" "1.41"
|
||||||
|
+ "1.40.0" "1.40" "1.39.0" "1.39" "1.38.0" "1.38" "1.37.0" "1.37"
|
||||||
|
"1.36.1" "1.36.0" "1.36" "1.35.1" "1.35.0" "1.35" "1.34.1" "1.34.0"
|
||||||
|
"1.34" "1.33.1" "1.33.0" "1.33")
|
||||||
|
set(_boost_TEST_VERSIONS)
|
@ -0,0 +1,20 @@
|
|||||||
|
The install_name of a library can be compared to the ELF soname, setting
|
||||||
|
it to just the library name (libx.1.dylib) is not sufficient on Mach-O,
|
||||||
|
as it uses full paths. Most apps have no clue about that, so they don't
|
||||||
|
do something like http://www.cmake.org/pipermail/cmake/2006-June/009758.html
|
||||||
|
|
||||||
|
Provide a sane default that will allow merging most cmake-based
|
||||||
|
packages. If this location is not correct, Portage's QA checks will
|
||||||
|
catch that.
|
||||||
|
|
||||||
|
--- Source/cmTarget.cxx
|
||||||
|
+++ Source/cmTarget.cxx
|
||||||
|
@@ -974,7 +974,7 @@
|
||||||
|
this->Makefile->IsOn("MINGW"));
|
||||||
|
|
||||||
|
// Setup default property values.
|
||||||
|
- this->SetPropertyDefault("INSTALL_NAME_DIR", "");
|
||||||
|
+ this->SetPropertyDefault("INSTALL_NAME_DIR", "${CMAKE_INSTALL_PREFIX}/lib");
|
||||||
|
this->SetPropertyDefault("INSTALL_RPATH", "");
|
||||||
|
this->SetPropertyDefault("INSTALL_RPATH_USE_LINK_PATH", "OFF");
|
||||||
|
this->SetPropertyDefault("SKIP_BUILD_RPATH", "OFF");
|
74
dev-util/cmake/files/cmake-2.8.0-darwin-no-app-with-qt.patch
Normal file
74
dev-util/cmake/files/cmake-2.8.0-darwin-no-app-with-qt.patch
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
Description: Don't build the GUI's app-bundle.
|
||||||
|
Author: Heiko Przybyl <zuxez@cs.tu-berlin.de>
|
||||||
|
--- cmake-2.8.0/CMakeLists.txt.orig 2010-02-10 19:38:03 +0100
|
||||||
|
+++ cmake-2.8.0/CMakeLists.txt 2010-02-10 19:38:49 +0100
|
||||||
|
@@ -381,7 +381,7 @@ IF(BUILD_CursesDialog)
|
||||||
|
ENDIF(BUILD_CursesDialog)
|
||||||
|
|
||||||
|
IF(BUILD_QtDialog)
|
||||||
|
- IF(APPLE)
|
||||||
|
+ IF(FALSE)
|
||||||
|
SET(CMAKE_BUNDLE_NAME
|
||||||
|
"CMake ${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}-${CMake_VERSION_PATCH}")
|
||||||
|
SET(CMAKE_BUNDLE_LOCATION "${CMAKE_INSTALL_PREFIX}")
|
||||||
|
@@ -394,7 +394,7 @@ IF(BUILD_QtDialog)
|
||||||
|
ENDIF(NOT "${ENDCH}" STREQUAL "/")
|
||||||
|
SET(CMAKE_INSTALL_PREFIX
|
||||||
|
"${CMAKE_INSTALL_PREFIX}${CMAKE_BUNDLE_NAME}.app/Contents")
|
||||||
|
- ENDIF(APPLE)
|
||||||
|
+ ENDIF(FALSE)
|
||||||
|
|
||||||
|
SET(QT_NEED_RPATH FALSE)
|
||||||
|
IF(NOT "${QT_LIBRARY_DIR}" STREQUAL "/lib" AND NOT "${QT_LIBRARY_DIR}" STREQUAL "/usr/lib" AND NOT "${QT_LIBRARY_DIR}" STREQUAL "/lib64" AND NOT "${QT_LIBRARY_DIR}" STREQUAL "/usr/lib64")
|
||||||
|
--- cmake-2.8.0/Source/QtDialog/CMakeLists.txt.orig 2010-02-10 19:39:59 +0100
|
||||||
|
+++ cmake-2.8.0/Source/QtDialog/CMakeLists.txt 2010-02-10 19:42:12 +0100
|
||||||
|
@@ -66,12 +66,12 @@ ELSE(NOT QT4_FOUND)
|
||||||
|
IF(Q_WS_WIN)
|
||||||
|
SET(SRCS ${SRCS} CMakeSetup.rc)
|
||||||
|
ENDIF(Q_WS_WIN)
|
||||||
|
- IF(Q_WS_MAC)
|
||||||
|
+ IF(FALSE)
|
||||||
|
SET(SRCS ${SRCS} CMakeSetup.icns)
|
||||||
|
SET(MACOSX_BUNDLE_ICON_FILE CMakeSetup.icns)
|
||||||
|
SET_SOURCE_FILES_PROPERTIES(CMakeSetup.icns PROPERTIES
|
||||||
|
MACOSX_PACKAGE_LOCATION Resources)
|
||||||
|
- ENDIF(Q_WS_MAC)
|
||||||
|
+ ENDIF(FALSE)
|
||||||
|
|
||||||
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
@@ -79,13 +79,13 @@ ELSE(NOT QT4_FOUND)
|
||||||
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
|
||||||
|
- ADD_EXECUTABLE(cmake-gui WIN32 MACOSX_BUNDLE ${SRCS})
|
||||||
|
+ ADD_EXECUTABLE(cmake-gui WIN32 ${SRCS})
|
||||||
|
TARGET_LINK_LIBRARIES(cmake-gui CMakeLib ${QT_QTMAIN_LIBRARY} ${QT_LIBRARIES})
|
||||||
|
IF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.4)
|
||||||
|
- IF(APPLE)
|
||||||
|
+ IF(FALSE)
|
||||||
|
SET_TARGET_PROPERTIES(cmake-gui PROPERTIES
|
||||||
|
OUTPUT_NAME ${CMAKE_BUNDLE_NAME})
|
||||||
|
- ENDIF(APPLE)
|
||||||
|
+ ENDIF(FALSE)
|
||||||
|
SET(CMAKE_INSTALL_DESTINATION_ARGS
|
||||||
|
BUNDLE DESTINATION "${CMAKE_BUNDLE_LOCATION}")
|
||||||
|
ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 2.4)
|
||||||
|
@@ -101,7 +101,7 @@ ELSE(NOT QT4_FOUND)
|
||||||
|
INSTALL(FILES cmakecache.xml DESTINATION share/mime/packages )
|
||||||
|
ENDIF(UNIX)
|
||||||
|
|
||||||
|
- IF(APPLE)
|
||||||
|
+ IF(FALSE)
|
||||||
|
SET(CMAKE_POSTFLIGHT_SCRIPT
|
||||||
|
"${CMake_BINARY_DIR}/Source/QtDialog/postflight.sh")
|
||||||
|
SET(CMAKE_POSTUPGRADE_SCRIPT
|
||||||
|
@@ -115,7 +115,7 @@ ELSE(NOT QT4_FOUND)
|
||||||
|
INSTALL(CODE "set(input_file
|
||||||
|
\"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/MacOS/${CMAKE_BUNDLE_NAME}\")")
|
||||||
|
INSTALL(SCRIPT "${CMake_SOURCE_DIR}/Source/QtDialog/CMakeIngestOSXBundleLibraries.cmake")
|
||||||
|
- ENDIF(APPLE)
|
||||||
|
+ ENDIF(FALSE)
|
||||||
|
CONFIGURE_FILE("${QtDialog_SOURCE_DIR}/QtDialogCPack.cmake.in"
|
||||||
|
"${QtDialog_BINARY_DIR}/QtDialogCPack.cmake" @ONLY)
|
||||||
|
ENDIF(NOT QT4_FOUND)
|
14
dev-util/cmake/files/cmake-2.8.1-FindBoost.patch
Normal file
14
dev-util/cmake/files/cmake-2.8.1-FindBoost.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -u -r cmake-2.8.1.orig/Modules/FindBoost.cmake cmake-2.8.1/Modules/FindBoost.cmake
|
||||||
|
--- cmake-2.8.1.orig/Modules/FindBoost.cmake 2010-03-16 21:29:29.000000000 +0100
|
||||||
|
+++ cmake-2.8.1/Modules/FindBoost.cmake 2010-04-04 19:52:50.000000000 +0200
|
||||||
|
@@ -70,7 +70,9 @@
|
||||||
|
# omit the 3rd version number from include paths if it is 0 although not all
|
||||||
|
# binary Boost releases do so.
|
||||||
|
#
|
||||||
|
-# SET(Boost_ADDITIONAL_VERSIONS "1.78" "1.78.0" "1.79" "1.79.0")
|
||||||
|
+SET(Boost_ADDITIONAL_VERSIONS "1.50.0" "1.50" "1.49.0" "1.49" "1.48.0" "1.48"
|
||||||
|
+ "1.47.0" "1.47" "1.46.0" "1.46" "1.45.0" "1.45" "1.44.0" "1.44" "1.43.0"
|
||||||
|
+ "1.43" "1.42.0" "1.42")
|
||||||
|
#
|
||||||
|
# ===================================== ============= ========================
|
||||||
|
#
|
50
dev-util/cmake/files/cmake-2.8.1-libform.patch
Normal file
50
dev-util/cmake/files/cmake-2.8.1-libform.patch
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
diff -u -r cmake-2.8.1.medium/CMakeLists.txt cmake-2.8.1/CMakeLists.txt
|
||||||
|
--- cmake-2.8.1.medium/CMakeLists.txt 2010-03-16 21:29:28.000000000 +0100
|
||||||
|
+++ cmake-2.8.1/CMakeLists.txt 2010-04-04 20:04:47.000000000 +0200
|
||||||
|
@@ -314,9 +314,6 @@
|
||||||
|
ELSE (UNIX)
|
||||||
|
SET(BUILD_CursesDialog 0)
|
||||||
|
ENDIF (UNIX)
|
||||||
|
- IF(BUILD_CursesDialog)
|
||||||
|
- ADD_SUBDIRECTORY(Source/CursesDialog/form)
|
||||||
|
- ENDIF(BUILD_CursesDialog)
|
||||||
|
ENDMACRO (CMAKE_BUILD_UTILITIES)
|
||||||
|
|
||||||
|
|
||||||
|
diff -u -r cmake-2.8.1.medium/Source/CursesDialog/CMakeLists.txt cmake-2.8.1/Source/CursesDialog/CMakeLists.txt
|
||||||
|
--- cmake-2.8.1.medium/Source/CursesDialog/CMakeLists.txt 2010-03-16 21:29:34.000000000 +0100
|
||||||
|
+++ cmake-2.8.1/Source/CursesDialog/CMakeLists.txt 2010-04-04 20:01:38.000000000 +0200
|
||||||
|
@@ -25,13 +25,18 @@
|
||||||
|
CursesDialog/ccmake
|
||||||
|
)
|
||||||
|
|
||||||
|
-INCLUDE_DIRECTORIES(${CMake_SOURCE_DIR}/Source/CursesDialog/form
|
||||||
|
- ${CMake_BINARY_DIR}/Source/CursesDialog/form)
|
||||||
|
INCLUDE_DIRECTORIES(${CURSES_INCLUDE_PATH})
|
||||||
|
|
||||||
|
|
||||||
|
ADD_EXECUTABLE(ccmake ${CURSES_SRCS} )
|
||||||
|
TARGET_LINK_LIBRARIES(ccmake CMakeLib)
|
||||||
|
-TARGET_LINK_LIBRARIES(ccmake cmForm)
|
||||||
|
+TARGET_LINK_LIBRARIES(ccmake form)
|
||||||
|
+TARGET_LINK_LIBRARIES(ccmake ${CURSES_LIBRARY})
|
||||||
|
+IF(CURSES_EXTRA_LIBRARY)
|
||||||
|
+ TARGET_LINK_LIBRARIES(ccmake ${CURSES_EXTRA_LIBRARY})
|
||||||
|
+ENDIF(CURSES_EXTRA_LIBRARY)
|
||||||
|
+
|
||||||
|
|
||||||
|
INSTALL_TARGETS(/bin ccmake)
|
||||||
|
+
|
||||||
|
+
|
||||||
|
diff -u -r cmake-2.8.1.medium/Source/CursesDialog/cmCursesStandardIncludes.h cmake-2.8.1/Source/CursesDialog/cmCursesStandardIncludes.h
|
||||||
|
--- cmake-2.8.1.medium/Source/CursesDialog/cmCursesStandardIncludes.h 2010-03-16 21:29:35.000000000 +0100
|
||||||
|
+++ cmake-2.8.1/Source/CursesDialog/cmCursesStandardIncludes.h 2010-04-04 20:01:38.000000000 +0200
|
||||||
|
@@ -15,8 +15,6 @@
|
||||||
|
#define _MSE_INT_H
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#include <cmFormConfigure.h>
|
||||||
|
-
|
||||||
|
#if defined(__hpux)
|
||||||
|
# define _BOOL_DEFINED
|
||||||
|
# include <sys/time.h>
|
108
dev-util/cmake/files/cmake-2.8.1-more-no_host_paths.patch
Normal file
108
dev-util/cmake/files/cmake-2.8.1-more-no_host_paths.patch
Normal file
@ -0,0 +1,108 @@
|
|||||||
|
Set some proper paths to make cmake find our tools.
|
||||||
|
Original patch by Heiko Przybyl
|
||||||
|
|
||||||
|
The ebuild now adds an extra / at the end of $EPREFIX so that it is
|
||||||
|
never the empty string (so that CMAKE_SYSTEM_PREFIX_PATH remains
|
||||||
|
correct)
|
||||||
|
|
||||||
|
--- cmake-2.8.0/Modules/Platform/Darwin.cmake
|
||||||
|
+++ cmake-2.8.0/Modules/Platform/Darwin.cmake
|
||||||
|
@@ -213,19 +213,23 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-# default to searching for frameworks first
|
||||||
|
-SET(CMAKE_FIND_FRAMEWORK FIRST)
|
||||||
|
+# default to searching for frameworks last
|
||||||
|
+SET(CMAKE_FIND_FRAMEWORK LAST)
|
||||||
|
# set up the default search directories for frameworks
|
||||||
|
SET(CMAKE_SYSTEM_FRAMEWORK_PATH
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@Frameworks
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/lib
|
||||||
|
~/Library/Frameworks
|
||||||
|
/Library/Frameworks
|
||||||
|
/Network/Library/Frameworks
|
||||||
|
/System/Library/Frameworks)
|
||||||
|
|
||||||
|
-# default to searching for application bundles first
|
||||||
|
-SET(CMAKE_FIND_APPBUNDLE FIRST)
|
||||||
|
+# default to searching for application bundles last
|
||||||
|
+SET(CMAKE_FIND_APPBUNDLE LAST)
|
||||||
|
# set up the default search directories for application bundles
|
||||||
|
SET(CMAKE_SYSTEM_APPBUNDLE_PATH
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@Applications
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/bin
|
||||||
|
~/Applications
|
||||||
|
/Applications
|
||||||
|
/Developer/Applications)
|
||||||
|
--- cmake-2.8.0/Modules/Platform/UnixPaths.cmake
|
||||||
|
+++ cmake-2.8.0/Modules/Platform/UnixPaths.cmake
|
||||||
|
@@ -33,6 +33,7 @@
|
||||||
|
# search types.
|
||||||
|
LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH
|
||||||
|
# Standard
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/local @GENTOO_PORTAGE_EPREFIX@usr @GENTOO_PORTAGE_EPREFIX@
|
||||||
|
/usr/local /usr /
|
||||||
|
|
||||||
|
# CMake install location
|
||||||
|
@@ -44,43 +45,39 @@
|
||||||
|
|
||||||
|
# List common include file locations not under the common prefixes.
|
||||||
|
LIST(APPEND CMAKE_SYSTEM_INCLUDE_PATH
|
||||||
|
- # Windows API on Cygwin
|
||||||
|
- /usr/include/w32api
|
||||||
|
-
|
||||||
|
- # X11
|
||||||
|
- /usr/X11R6/include /usr/include/X11
|
||||||
|
-
|
||||||
|
- # Other
|
||||||
|
- /opt/local/include /usr/pkg/include
|
||||||
|
- /opt/csw/include /opt/include
|
||||||
|
- /usr/openwin/include
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/include
|
||||||
|
)
|
||||||
|
|
||||||
|
LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH
|
||||||
|
- # Windows API on Cygwin
|
||||||
|
- /usr/lib/w32api
|
||||||
|
-
|
||||||
|
- # X11
|
||||||
|
- /usr/X11R6/lib /usr/lib/X11
|
||||||
|
-
|
||||||
|
- # Other
|
||||||
|
- /opt/local/lib /usr/pkg/lib
|
||||||
|
- /opt/csw/lib /opt/lib
|
||||||
|
- /usr/openwin/lib
|
||||||
|
+ @GENTOO_PORTAGE_GCCLIBDIR@/gcc
|
||||||
|
+ @GENTOO_PORTAGE_GCCLIBDIR@
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/lib64
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/lib32
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/lib
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@lib
|
||||||
|
)
|
||||||
|
|
||||||
|
LIST(APPEND CMAKE_SYSTEM_PROGRAM_PATH
|
||||||
|
- /usr/pkg/bin
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/bin
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@bin
|
||||||
|
)
|
||||||
|
|
||||||
|
LIST(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
|
||||||
|
+ @GENTOO_PORTAGE_GCCLIBDIR@/gcc
|
||||||
|
+ @GENTOO_PORTAGE_GCCLIBDIR@
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/lib64
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/lib32
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/lib
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@lib
|
||||||
|
/lib /usr/lib /usr/lib32 /usr/lib64
|
||||||
|
)
|
||||||
|
|
||||||
|
LIST(APPEND CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/include
|
||||||
|
/usr/include
|
||||||
|
)
|
||||||
|
LIST(APPEND CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/include
|
||||||
|
/usr/include
|
||||||
|
)
|
||||||
|
|
20
dev-util/cmake/files/cmake-2.8.1-mpi.patch
Normal file
20
dev-util/cmake/files/cmake-2.8.1-mpi.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake
|
||||||
|
index 481b0e9..43e97e8 100644
|
||||||
|
--- a/Modules/FindMPI.cmake
|
||||||
|
+++ b/Modules/FindMPI.cmake
|
||||||
|
@@ -263,13 +263,13 @@ elseif (MPI_COMPILE_CMDLINE)
|
||||||
|
|
||||||
|
# Extract the set of libraries to link against from the link command
|
||||||
|
# line
|
||||||
|
- string(REGEX MATCHALL "-l([^\" ]+|\"[^\"]+\")" MPI_LIBNAMES "${MPI_LINK_CMDLINE}")
|
||||||
|
+ string(REGEX MATCHALL " -l([^\" ]+|\"[^\"]+\")" MPI_LIBNAMES "${MPI_LINK_CMDLINE}")
|
||||||
|
|
||||||
|
# Determine full path names for all of the libraries that one needs
|
||||||
|
# to link against in an MPI program
|
||||||
|
set(MPI_LIBRARIES)
|
||||||
|
foreach(LIB ${MPI_LIBNAMES})
|
||||||
|
- string(REGEX REPLACE "^-l" "" LIB ${LIB})
|
||||||
|
+ string(REGEX REPLACE "^ -l" "" LIB ${LIB})
|
||||||
|
set(MPI_LIB "MPI_LIB-NOTFOUND" CACHE FILEPATH "Cleared" FORCE)
|
||||||
|
find_library(MPI_LIB ${LIB} HINTS ${MPI_LINK_PATH})
|
||||||
|
if (MPI_LIB)
|
217
dev-util/cmake/files/cmake-2.8.1-portage-multilib-lib32.patch
Normal file
217
dev-util/cmake/files/cmake-2.8.1-portage-multilib-lib32.patch
Normal file
@ -0,0 +1,217 @@
|
|||||||
|
Author: Nathan Phillip Brink <ohnobinki@ohnopublishing.net>
|
||||||
|
Date: 2010/09/17
|
||||||
|
Purpose: Add a global FIND_LIBRARY_USE_LIB32_PATHS property which is
|
||||||
|
an analog to the existing FIND_LIBRARY_USE_LIB64_PATHS
|
||||||
|
property. This fixes kde-base/kdelib's ability to find
|
||||||
|
automoc4 using FIND_PACKAGE's NO_MODULE mode on systems where
|
||||||
|
/usr/lib is neither a symlink to /usr/lib64 or /usr/lib32.
|
||||||
|
Gentoo-Bug: 338492
|
||||||
|
|
||||||
|
diff --git a/Modules/Platform/UnixPaths.cmake b/Modules/Platform/UnixPaths.cmake
|
||||||
|
index 5ee7ddb..afcde6f 100644
|
||||||
|
--- a/Modules/Platform/UnixPaths.cmake
|
||||||
|
+++ b/Modules/Platform/UnixPaths.cmake
|
||||||
|
@@ -86,3 +86,6 @@ LIST(APPEND CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
|
||||||
|
|
||||||
|
# Enable use of lib64 search path variants by default.
|
||||||
|
SET_PROPERTY(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS TRUE)
|
||||||
|
+# Enable use of lib32 search path variants by default. Useful on
|
||||||
|
+# multilib systems. Not harmful for normal systems.
|
||||||
|
+SET_PROPERTY(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS TRUE)
|
||||||
|
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx
|
||||||
|
index 9077c8e..e09967d 100644
|
||||||
|
--- a/Source/cmFindLibraryCommand.cxx
|
||||||
|
+++ b/Source/cmFindLibraryCommand.cxx
|
||||||
|
@@ -92,6 +92,12 @@ bool cmFindLibraryCommand
|
||||||
|
// add special 64 bit paths if this is a 64 bit compile.
|
||||||
|
this->AddLib64Paths();
|
||||||
|
}
|
||||||
|
+ if(this->Makefile->GetCMakeInstance()
|
||||||
|
+ ->GetPropertyAsBool("FIND_LIBRARY_USE_LIB32_PATHS"))
|
||||||
|
+ {
|
||||||
|
+ // add special 32 bit paths if this is a 32 bit compile.
|
||||||
|
+ this->AddLib32Paths();
|
||||||
|
+ }
|
||||||
|
|
||||||
|
std::string library = this->FindLibrary();
|
||||||
|
if(library != "")
|
||||||
|
@@ -160,10 +166,7 @@ void cmFindLibraryCommand::AddLib64Paths()
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
- std::string voidsize =
|
||||||
|
- this->Makefile->GetSafeDefinition("CMAKE_SIZEOF_VOID_P");
|
||||||
|
- int size = atoi(voidsize.c_str());
|
||||||
|
- if(size != 8)
|
||||||
|
+ if(!this->Makefile->PlatformIs64Bit())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
@@ -205,6 +208,55 @@ void cmFindLibraryCommand::AddLib64Paths()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+void cmFindLibraryCommand::AddLib32Paths()
|
||||||
|
+{
|
||||||
|
+ if(!this->Makefile->GetLocalGenerator()->GetGlobalGenerator()->
|
||||||
|
+ GetLanguageEnabled("C"))
|
||||||
|
+ {
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+ if(!this->Makefile->PlatformIs32Bit())
|
||||||
|
+ {
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+ std::vector<std::string> path32;
|
||||||
|
+ bool found32 = false;
|
||||||
|
+ for(std::vector<std::string>::iterator i = this->SearchPaths.begin();
|
||||||
|
+ i != this->SearchPaths.end(); ++i)
|
||||||
|
+ {
|
||||||
|
+ std::string s = *i;
|
||||||
|
+ std::string s2 = *i;
|
||||||
|
+ cmSystemTools::ReplaceString(s, "lib/", "lib32/");
|
||||||
|
+ // try to replace lib with lib32 and see if it is there,
|
||||||
|
+ // then prepend it to the path
|
||||||
|
+ // Note that all paths have trailing slashes.
|
||||||
|
+ if((s != *i) && cmSystemTools::FileIsDirectory(s.c_str()))
|
||||||
|
+ {
|
||||||
|
+ path32.push_back(s);
|
||||||
|
+ found32 = true;
|
||||||
|
+ }
|
||||||
|
+ // now just add a 32 to the path name and if it is there,
|
||||||
|
+ // add it to the path
|
||||||
|
+ s2 += "32/";
|
||||||
|
+ if(cmSystemTools::FileIsDirectory(s2.c_str()))
|
||||||
|
+ {
|
||||||
|
+ found32 = true;
|
||||||
|
+ path32.push_back(s2);
|
||||||
|
+ }
|
||||||
|
+ // now add the original unchanged path
|
||||||
|
+ if(cmSystemTools::FileIsDirectory(i->c_str()))
|
||||||
|
+ {
|
||||||
|
+ path32.push_back(*i);
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+ // now replace the SearchPaths with the 32 bit converted path
|
||||||
|
+ // if any 32 bit paths were discovered
|
||||||
|
+ if(found32)
|
||||||
|
+ {
|
||||||
|
+ this->SearchPaths = path32;
|
||||||
|
+ }
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
//----------------------------------------------------------------------------
|
||||||
|
std::string cmFindLibraryCommand::FindLibrary()
|
||||||
|
{
|
||||||
|
diff --git a/Source/cmFindLibraryCommand.h b/Source/cmFindLibraryCommand.h
|
||||||
|
index 486c2cf..e0dd49d 100644
|
||||||
|
--- a/Source/cmFindLibraryCommand.h
|
||||||
|
+++ b/Source/cmFindLibraryCommand.h
|
||||||
|
@@ -63,6 +63,7 @@ public:
|
||||||
|
protected:
|
||||||
|
void AddArchitecturePaths(const char* suffix);
|
||||||
|
void AddLib64Paths();
|
||||||
|
+ void AddLib32Paths();
|
||||||
|
std::string FindLibrary();
|
||||||
|
private:
|
||||||
|
std::string FindNormalLibrary();
|
||||||
|
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx
|
||||||
|
index ef0197a..b0a2985 100644
|
||||||
|
--- a/Source/cmFindPackageCommand.cxx
|
||||||
|
+++ b/Source/cmFindPackageCommand.cxx
|
||||||
|
@@ -66,6 +66,7 @@ cmFindPackageCommand::cmFindPackageCommand()
|
||||||
|
this->NoModule = false;
|
||||||
|
this->DebugMode = false;
|
||||||
|
this->UseLib64Paths = false;
|
||||||
|
+ this->UseLib32Paths = false;
|
||||||
|
this->PolicyScope = true;
|
||||||
|
this->VersionMajor = 0;
|
||||||
|
this->VersionMinor = 0;
|
||||||
|
@@ -341,6 +342,13 @@ bool cmFindPackageCommand
|
||||||
|
{
|
||||||
|
this->UseLib64Paths = true;
|
||||||
|
}
|
||||||
|
+ // Lookup whether lib32 paths should be used.
|
||||||
|
+ if(this->Makefile->PlatformIs32Bit() &&
|
||||||
|
+ this->Makefile->GetCMakeInstance()
|
||||||
|
+ ->GetPropertyAsBool("FIND_LIBRARY_USE_LIB32_PATHS"))
|
||||||
|
+ {
|
||||||
|
+ this->UseLib32Paths = true;
|
||||||
|
+ }
|
||||||
|
|
||||||
|
// Find the current root path mode.
|
||||||
|
this->SelectDefaultRootPathMode();
|
||||||
|
@@ -2105,6 +2113,10 @@ bool cmFindPackageCommand::SearchPrefix(std::string const& prefix_in)
|
||||||
|
{
|
||||||
|
common.push_back("lib64");
|
||||||
|
}
|
||||||
|
+ if(this->UseLib32Paths)
|
||||||
|
+ {
|
||||||
|
+ common.push_back("lib32");
|
||||||
|
+ }
|
||||||
|
common.push_back("lib");
|
||||||
|
common.push_back("share");
|
||||||
|
|
||||||
|
diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h
|
||||||
|
index 57aeab9..06edc1a 100644
|
||||||
|
--- a/Source/cmFindPackageCommand.h
|
||||||
|
+++ b/Source/cmFindPackageCommand.h
|
||||||
|
@@ -134,6 +134,7 @@ private:
|
||||||
|
bool NoBuilds;
|
||||||
|
bool DebugMode;
|
||||||
|
bool UseLib64Paths;
|
||||||
|
+ bool UseLib32Paths;
|
||||||
|
bool PolicyScope;
|
||||||
|
std::vector<std::string> Names;
|
||||||
|
std::vector<std::string> Configs;
|
||||||
|
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
|
||||||
|
index c64053a..c6cda07 100644
|
||||||
|
--- a/Source/cmMakefile.cxx
|
||||||
|
+++ b/Source/cmMakefile.cxx
|
||||||
|
@@ -1993,6 +1993,15 @@ bool cmMakefile::PlatformIs64Bit() const
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
+bool cmMakefile::PlatformIs32Bit() const
|
||||||
|
+{
|
||||||
|
+ if(const char* sizeof_dptr = this->GetDefinition("CMAKE_SIZEOF_VOID_P"))
|
||||||
|
+ {
|
||||||
|
+ return atoi(sizeof_dptr) == 4;
|
||||||
|
+ }
|
||||||
|
+ return false;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
bool cmMakefile::CanIWriteThisFile(const char* fileName)
|
||||||
|
{
|
||||||
|
if ( !this->IsOn("CMAKE_DISABLE_SOURCE_CHANGES") )
|
||||||
|
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
|
||||||
|
index 8b8a3f8..c16ba71 100644
|
||||||
|
--- a/Source/cmMakefile.h
|
||||||
|
+++ b/Source/cmMakefile.h
|
||||||
|
@@ -588,6 +588,8 @@ public:
|
||||||
|
|
||||||
|
/** Return whether the target platform is 64-bit. */
|
||||||
|
bool PlatformIs64Bit() const;
|
||||||
|
+ /** Return whether the target platform is 32-bit. */
|
||||||
|
+ bool PlatformIs32Bit() const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get a list of preprocessor define flags.
|
||||||
|
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
|
||||||
|
index 1e3b018..2bc3eba 100644
|
||||||
|
--- a/Source/cmake.cxx
|
||||||
|
+++ b/Source/cmake.cxx
|
||||||
|
@@ -3365,6 +3365,13 @@ void cmake::DefineProperties(cmake *cm)
|
||||||
|
"directories called lib in the search path when building 64-bit "
|
||||||
|
"binaries.");
|
||||||
|
cm->DefineProperty
|
||||||
|
+ ("FIND_LIBRARY_USE_LIB32_PATHS", cmProperty::GLOBAL,
|
||||||
|
+ "Whether FIND_LIBRARY should automatically search lib32 directories.",
|
||||||
|
+ "FIND_LIBRARY_USE_LIB32_PATHS is a boolean specifying whether the"
|
||||||
|
+ " FIND_LIBRARY command should automatically search the lib32 variant of"
|
||||||
|
+ " directories called lib in the search path when building 32-bit"
|
||||||
|
+ " binaries.");
|
||||||
|
+ cm->DefineProperty
|
||||||
|
("FIND_LIBRARY_USE_OPENBSD_VERSIONING", cmProperty::GLOBAL,
|
||||||
|
"Whether FIND_LIBRARY should find OpenBSD-style shared libraries.",
|
||||||
|
"This property is a boolean specifying whether the FIND_LIBRARY "
|
12
dev-util/cmake/files/cmake-2.8.3-FindLibArchive.patch
Normal file
12
dev-util/cmake/files/cmake-2.8.3-FindLibArchive.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -ruN cmake-2.8.3.orig/Modules/FindLibArchive.cmake cmake-2.8.3/Modules/FindLibArchive.cmake
|
||||||
|
--- cmake-2.8.3.orig/Modules/FindLibArchive.cmake 2010-11-04 02:58:27.000000000 +0700
|
||||||
|
+++ cmake-2.8.3/Modules/FindLibArchive.cmake 2010-11-05 17:40:53.712001939 +0700
|
||||||
|
@@ -50,7 +50,7 @@
|
||||||
|
|
||||||
|
# Handle the QUIETLY and REQUIRED arguments and set LIBARCHIVE_FOUND
|
||||||
|
# to TRUE if all listed variables are TRUE.
|
||||||
|
-include("${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake")
|
||||||
|
+include("${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake")
|
||||||
|
find_package_handle_standard_args(LibArchive DEFAULT_MSG
|
||||||
|
LibArchive_LIBRARY LibArchive_INCLUDE_DIR
|
||||||
|
)
|
11
dev-util/cmake/files/cmake-2.8.3-FindPythonInterp.patch
Normal file
11
dev-util/cmake/files/cmake-2.8.3-FindPythonInterp.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- Modules/FindPythonInterp.cmake
|
||||||
|
+++ Modules/FindPythonInterp.cmake
|
||||||
|
@@ -20,7 +20,7 @@
|
||||||
|
# License text for the above reference.)
|
||||||
|
|
||||||
|
FIND_PROGRAM(PYTHON_EXECUTABLE
|
||||||
|
- NAMES python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 python
|
||||||
|
+ NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
|
||||||
|
PATHS
|
||||||
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.7\\InstallPath]
|
||||||
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.6\\InstallPath]
|
13
dev-util/cmake/files/cmake-2.8.3-FindPythonLibs.patch
Normal file
13
dev-util/cmake/files/cmake-2.8.3-FindPythonLibs.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- Modules/FindPythonLibs.cmake
|
||||||
|
+++ Modules/FindPythonLibs.cmake
|
||||||
|
@@ -27,7 +27,9 @@
|
||||||
|
# Search for the python framework on Apple.
|
||||||
|
CMAKE_FIND_FRAMEWORKS(Python)
|
||||||
|
|
||||||
|
-FOREACH(_CURRENT_VERSION 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
|
||||||
|
+EXECUTE_PROCESS(COMMAND python -c "import sys; sys.stdout.write('.'.join([str(x) for x in sys.version_info[:2]]))"
|
||||||
|
+ OUTPUT_VARIABLE _PYTHON_VERSION)
|
||||||
|
+FOREACH(_CURRENT_VERSION ${_PYTHON_VERSION})
|
||||||
|
STRING(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION})
|
||||||
|
IF(WIN32)
|
||||||
|
FIND_LIBRARY(PYTHON_DEBUG_LIBRARY
|
109
dev-util/cmake/files/cmake-2.8.3-more-no_host_paths.patch
Normal file
109
dev-util/cmake/files/cmake-2.8.3-more-no_host_paths.patch
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
Set some proper paths to make cmake find our tools.
|
||||||
|
Original patch by Heiko Przybyl
|
||||||
|
|
||||||
|
The ebuild now adds an extra / at the end of $EPREFIX so that it is
|
||||||
|
never the empty string (so that CMAKE_SYSTEM_PREFIX_PATH remains
|
||||||
|
correct)
|
||||||
|
|
||||||
|
--- cmake-2.8.3/Modules/Platform/Darwin.cmake
|
||||||
|
+++ cmake-2.8.3/Modules/Platform/Darwin.cmake
|
||||||
|
@@ -217,19 +217,23 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-# default to searching for frameworks first
|
||||||
|
-SET(CMAKE_FIND_FRAMEWORK FIRST)
|
||||||
|
+# default to searching for frameworks last
|
||||||
|
+SET(CMAKE_FIND_FRAMEWORK LAST)
|
||||||
|
# set up the default search directories for frameworks
|
||||||
|
SET(CMAKE_SYSTEM_FRAMEWORK_PATH
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@Frameworks
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/lib
|
||||||
|
~/Library/Frameworks
|
||||||
|
/Library/Frameworks
|
||||||
|
/Network/Library/Frameworks
|
||||||
|
/System/Library/Frameworks)
|
||||||
|
|
||||||
|
-# default to searching for application bundles first
|
||||||
|
-SET(CMAKE_FIND_APPBUNDLE FIRST)
|
||||||
|
+# default to searching for application bundles last
|
||||||
|
+SET(CMAKE_FIND_APPBUNDLE LAST)
|
||||||
|
# set up the default search directories for application bundles
|
||||||
|
SET(CMAKE_SYSTEM_APPBUNDLE_PATH
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@Applications
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/bin
|
||||||
|
~/Applications
|
||||||
|
/Applications
|
||||||
|
/Developer/Applications)
|
||||||
|
diff -ruN cmake-2.8.3.orig/Modules/Platform/UnixPaths.cmake cmake-2.8.3/Modules/Platform/UnixPaths.cmake
|
||||||
|
--- cmake-2.8.3/Modules/Platform/UnixPaths.cmake
|
||||||
|
+++ cmake-2.8.3/Modules/Platform/UnixPaths.cmake
|
||||||
|
@@ -33,6 +33,7 @@
|
||||||
|
# search types.
|
||||||
|
LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH
|
||||||
|
# Standard
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/local @GENTOO_PORTAGE_EPREFIX@usr @GENTOO_PORTAGE_EPREFIX@
|
||||||
|
/usr/local /usr /
|
||||||
|
|
||||||
|
# CMake install location
|
||||||
|
@@ -44,43 +45,39 @@
|
||||||
|
|
||||||
|
# List common include file locations not under the common prefixes.
|
||||||
|
LIST(APPEND CMAKE_SYSTEM_INCLUDE_PATH
|
||||||
|
- # Windows API on Cygwin
|
||||||
|
- /usr/include/w32api
|
||||||
|
-
|
||||||
|
- # X11
|
||||||
|
- /usr/X11R6/include /usr/include/X11
|
||||||
|
-
|
||||||
|
- # Other
|
||||||
|
- /usr/pkg/include
|
||||||
|
- /opt/csw/include /opt/include
|
||||||
|
- /usr/openwin/include
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/include
|
||||||
|
)
|
||||||
|
|
||||||
|
LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH
|
||||||
|
- # Windows API on Cygwin
|
||||||
|
- /usr/lib/w32api
|
||||||
|
-
|
||||||
|
- # X11
|
||||||
|
- /usr/X11R6/lib /usr/lib/X11
|
||||||
|
-
|
||||||
|
- # Other
|
||||||
|
- /usr/pkg/lib
|
||||||
|
- /opt/csw/lib /opt/lib
|
||||||
|
- /usr/openwin/lib
|
||||||
|
+ @GENTOO_PORTAGE_GCCLIBDIR@/gcc
|
||||||
|
+ @GENTOO_PORTAGE_GCCLIBDIR@
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/lib64
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/lib32
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/lib
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@lib
|
||||||
|
)
|
||||||
|
|
||||||
|
LIST(APPEND CMAKE_SYSTEM_PROGRAM_PATH
|
||||||
|
- /usr/pkg/bin
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/bin
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@bin
|
||||||
|
)
|
||||||
|
|
||||||
|
LIST(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
|
||||||
|
+ @GENTOO_PORTAGE_GCCLIBDIR@/gcc
|
||||||
|
+ @GENTOO_PORTAGE_GCCLIBDIR@
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/lib64
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/lib32
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/lib
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@lib
|
||||||
|
/lib /usr/lib /usr/lib32 /usr/lib64
|
||||||
|
)
|
||||||
|
|
||||||
|
LIST(APPEND CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/include
|
||||||
|
/usr/include
|
||||||
|
)
|
||||||
|
LIST(APPEND CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
|
||||||
|
+ @GENTOO_PORTAGE_EPREFIX@usr/include
|
||||||
|
/usr/include
|
||||||
|
)
|
||||||
|
|
71
dev-util/cmake/files/cmake-FindJNI.patch
Normal file
71
dev-util/cmake/files/cmake-FindJNI.patch
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
diff -ru ./Modules/FindJNI.cmake ../a/Modules/FindJNI.cmake
|
||||||
|
--- ./Modules/FindJNI.cmake 2009-02-21 21:36:50.000000000 +0100
|
||||||
|
+++ ../a/Modules/FindJNI.cmake 2008-11-24 04:44:06.000000000 +0100
|
||||||
|
@@ -2,7 +2,7 @@
|
||||||
|
# This module finds if Java is installed and determines where the
|
||||||
|
# include files and libraries are. It also determines what the name of
|
||||||
|
# the library is. This code sets the following variables:
|
||||||
|
-#
|
||||||
|
+#
|
||||||
|
# JNI_INCLUDE_DIRS = the include dirs to use
|
||||||
|
# JNI_LIBRARIES = the libraries to use
|
||||||
|
# JAVA_AWT_LIBRARY = the path to the jawt library
|
||||||
|
@@ -51,6 +51,8 @@
|
||||||
|
"${dir}"
|
||||||
|
"${dir}/client"
|
||||||
|
"${dir}/server"
|
||||||
|
+ "${dir}/j9vm"
|
||||||
|
+ "${dir}/classic"
|
||||||
|
)
|
||||||
|
ENDFOREACH(dir)
|
||||||
|
|
||||||
|
@@ -60,7 +62,7 @@
|
||||||
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\1.3;JavaHome]/include"
|
||||||
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\JavaSoft\\Java Development Kit\\${java_install_version};JavaHome]/include"
|
||||||
|
$ENV{JAVA_HOME}/include
|
||||||
|
- /usr/include
|
||||||
|
+ /usr/include
|
||||||
|
/usr/local/include
|
||||||
|
/usr/lib/java/include
|
||||||
|
/usr/local/lib/java/include
|
||||||
|
@@ -126,7 +128,7 @@
|
||||||
|
)
|
||||||
|
ENDIF(JAVA_HAVE_FRAMEWORK)
|
||||||
|
ELSE(APPLE)
|
||||||
|
- FIND_LIBRARY(JAVA_AWT_LIBRARY jawt
|
||||||
|
+ FIND_LIBRARY(JAVA_AWT_LIBRARY jawt
|
||||||
|
PATHS ${JAVA_AWT_LIBRARY_DIRECTORIES}
|
||||||
|
)
|
||||||
|
FIND_LIBRARY(JAVA_JVM_LIBRARY NAMES jvm JavaVM
|
||||||
|
@@ -134,18 +136,23 @@
|
||||||
|
)
|
||||||
|
ENDIF(APPLE)
|
||||||
|
|
||||||
|
-# add in the include path
|
||||||
|
-FIND_PATH(JAVA_INCLUDE_PATH jni.h
|
||||||
|
+# add in the include path
|
||||||
|
+FIND_PATH(JAVA_INCLUDE_PATH jni.h
|
||||||
|
${JAVA_AWT_INCLUDE_DIRECTORIES}
|
||||||
|
)
|
||||||
|
|
||||||
|
-FIND_PATH(JAVA_INCLUDE_PATH2 jni_md.h
|
||||||
|
+FIND_PATH(JAVA_INCLUDE_PATH2 jni_md.h
|
||||||
|
${JAVA_AWT_INCLUDE_DIRECTORIES}
|
||||||
|
${JAVA_INCLUDE_PATH}/win32
|
||||||
|
${JAVA_INCLUDE_PATH}/linux
|
||||||
|
${JAVA_INCLUDE_PATH}/freebsd
|
||||||
|
)
|
||||||
|
|
||||||
|
+FIND_PATH(JAVA_INCLUDE_PATH2 jniport.h
|
||||||
|
+ ${JAVA_AWT_INCLUDE_DIRECTORIES}
|
||||||
|
+ ${JAVA_INCLUDE_PATH}
|
||||||
|
+)
|
||||||
|
+
|
||||||
|
FIND_PATH(JAVA_AWT_INCLUDE_PATH jawt.h
|
||||||
|
${JAVA_AWT_INCLUDE_DIRECTORIES}
|
||||||
|
${JAVA_INCLUDE_PATH}
|
||||||
|
@@ -169,4 +176,3 @@
|
||||||
|
${JAVA_INCLUDE_PATH2}
|
||||||
|
${JAVA_AWT_INCLUDE_PATH}
|
||||||
|
)
|
||||||
|
-
|
11
dev-util/cmake/files/cmake-FindPythonInterp.patch
Normal file
11
dev-util/cmake/files/cmake-FindPythonInterp.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- Modules/FindPythonInterp.cmake
|
||||||
|
+++ Modules/FindPythonInterp.cmake
|
||||||
|
@@ -7,7 +7,7 @@
|
||||||
|
#
|
||||||
|
|
||||||
|
FIND_PROGRAM(PYTHON_EXECUTABLE
|
||||||
|
- NAMES python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 python
|
||||||
|
+ NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
|
||||||
|
PATHS
|
||||||
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.5\\InstallPath]
|
||||||
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.4\\InstallPath]
|
13
dev-util/cmake/files/cmake-FindPythonLibs.patch
Normal file
13
dev-util/cmake/files/cmake-FindPythonLibs.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- Modules/FindPythonLibs.cmake
|
||||||
|
+++ Modules/FindPythonLibs.cmake
|
||||||
|
@@ -14,7 +14,9 @@
|
||||||
|
# Search for the python framework on Apple.
|
||||||
|
CMAKE_FIND_FRAMEWORKS(Python)
|
||||||
|
|
||||||
|
-FOREACH(_CURRENT_VERSION 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
|
||||||
|
+EXECUTE_PROCESS(COMMAND python -c "import sys; sys.stdout.write('.'.join([str(x) for x in sys.version_info[:2]]))"
|
||||||
|
+ OUTPUT_VARIABLE _PYTHON_VERSION)
|
||||||
|
+FOREACH(_CURRENT_VERSION ${_PYTHON_VERSION})
|
||||||
|
STRING(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION})
|
||||||
|
IF(WIN32)
|
||||||
|
FIND_LIBRARY(PYTHON_DEBUG_LIBRARY
|
3
dev-util/cmake/files/cmake.vim
Normal file
3
dev-util/cmake/files/cmake.vim
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
autocmd BufRead,BufNewFile *.cmake,CMakeLists.txt,*.cmake.in runtime! indent/cmake.vim
|
||||||
|
autocmd BufRead,BufNewFile *.cmake,CMakeLists.txt,*.cmake.in setf cmake
|
||||||
|
autocmd BufRead,BufNewFile *.ctest,*.ctest.in setf cmake
|
2
kde-base/kde-env/Manifest
Normal file
2
kde-base/kde-env/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
EBUILD kde-env-4.5.90-r2.ebuild 2077 RMD160 d6e323161f773568193cf7f9c6e78740c5e9529c SHA1 73970217a0066ee1b6a4489e6bae9848d3aca246 SHA256 718b84df134d1b7a7253cf162f21b441e9d8f45633fe7fda235b837bc832df48
|
||||||
|
MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
|
97
kde-base/kde-env/kde-env-4.5.90-r2.ebuild
Normal file
97
kde-base/kde-env/kde-env-4.5.90-r2.ebuild
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI="3"
|
||||||
|
|
||||||
|
CMAKE_REQUIRED="never"
|
||||||
|
KDE_REQUIRED="never"
|
||||||
|
inherit kde4-base
|
||||||
|
|
||||||
|
DESCRIPTION="Environment setting required for all KDE4 apps to run."
|
||||||
|
HOMEPAGE="http://kde.org"
|
||||||
|
[[ ${PV} = *9999* ]] && ESVN_REPO_URI="" || SRC_URI=""
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
LICENSE="as-is"
|
||||||
|
IUSE="aqua"
|
||||||
|
|
||||||
|
add_blocker kdelibs 4.2.2-r1 '<3.5.10-r3:3.5' 4.2.70:4.3
|
||||||
|
|
||||||
|
S=${WORKDIR}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
if use kdeprefix; then
|
||||||
|
# List all the multilib libdirs
|
||||||
|
local _libdir _libdirs
|
||||||
|
for _libdir in $(get_all_libdirs); do
|
||||||
|
_libdirs+=":${EKDEDIR}/${_libdir}"
|
||||||
|
done
|
||||||
|
_libdirs=${_libdirs#:}
|
||||||
|
|
||||||
|
# number goes down with version
|
||||||
|
cat <<-EOF > 43kdepaths-${SLOT}
|
||||||
|
PATH="${EKDEDIR}/bin"
|
||||||
|
ROOTPATH="${EKDEDIR}/sbin:${EKDEDIR}/bin"
|
||||||
|
LDPATH="${_libdirs}"
|
||||||
|
MANPATH="${EKDEDIR}/share/man"
|
||||||
|
CONFIG_PROTECT="${KDEDIR}/share/config ${KDEDIR}/env ${KDEDIR}/shutdown /usr/share/config"
|
||||||
|
#KDE_IS_PRELINKED=1
|
||||||
|
PKG_CONFIG_PATH="${EKDEDIR}/$(get_libdir)/pkgconfig"
|
||||||
|
XDG_DATA_DIRS="${EKDEDIR}/share"
|
||||||
|
EOF
|
||||||
|
doenvd 43kdepaths-${SLOT}
|
||||||
|
cat <<-EOF > 50-kde-${SLOT}
|
||||||
|
SEARCH_DIRS="${EKDEDIR}/bin ${EKDEDIR}/lib*"
|
||||||
|
EOF
|
||||||
|
insinto /etc/revdep-rebuild
|
||||||
|
doins 50-kde-${SLOT}
|
||||||
|
|
||||||
|
# kdeglobals needed to make third party apps installed in /usr work
|
||||||
|
cat <<-EOF > kdeglobals
|
||||||
|
[Directories][\$i]
|
||||||
|
prefixes=${EPREFIX}/usr
|
||||||
|
EOF
|
||||||
|
insinto ${KDEDIR}/share/config
|
||||||
|
doins kdeglobals
|
||||||
|
|
||||||
|
KDE_X="KDE-${SLOT}"
|
||||||
|
else
|
||||||
|
# Much simpler for the FHS compliant -kdeprefix install
|
||||||
|
# number goes down with version
|
||||||
|
cat <<-EOF > 43kdepaths
|
||||||
|
CONFIG_PROTECT="/usr/share/config"
|
||||||
|
#KDE_IS_PRELINKED=1
|
||||||
|
EOF
|
||||||
|
doenvd 43kdepaths
|
||||||
|
|
||||||
|
KDE_X="KDE-4"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Properly place xinitrc.d file that exports XDG_MENU_PREFIX to env
|
||||||
|
cat <<EOF > 11-xdg-menu-${KDE_X}
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -z \${XDG_MENU_PREFIX} ] && [ "\${DESKTOP_SESSION}" = "${KDE_X}" ]; then
|
||||||
|
export XDG_MENU_PREFIX="kde-${SLOT}-"
|
||||||
|
fi
|
||||||
|
EOF
|
||||||
|
exeinto /etc/X11/xinit/xinitrc.d/
|
||||||
|
doexe 11-xdg-menu-${KDE_X} || die "doexe failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
:
|
||||||
|
}
|
5
kde-base/kde-env/metadata.xml
Normal file
5
kde-base/kde-env/metadata.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>kde</herd>
|
||||||
|
</pkgmetadata>
|
2
kde-base/kde-meta/Manifest
Normal file
2
kde-base/kde-meta/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
EBUILD kde-meta-4.5.90.ebuild 1083 RMD160 58cd86aa4a0ff28c29f21bf37427e6d04f18f657 SHA1 1f8823dfe1a7ad1eac107d68f4e56546e0c5988a SHA256 b6d2c2250be8e03113d691d78712489522f34ce7e09411959593712b45133bf5
|
||||||
|
MISC metadata.xml 244 RMD160 827737ba05684e7925be58401a2f475f417eb4f0 SHA1 8dee217fa20f2b5a62fdc4433cd1f34830d00412 SHA256 48a9fa38c6fbe660af0d2b54c60168214c3970ec9d6037a9ff6154f67ef1c7d4
|
38
kde-base/kde-meta/kde-meta-4.5.90.ebuild
Normal file
38
kde-base/kde-meta/kde-meta-4.5.90.ebuild
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI="3"
|
||||||
|
inherit kde4-functions
|
||||||
|
|
||||||
|
DESCRIPTION="KDE - merge this to pull in all split kde-base/* packages"
|
||||||
|
HOMEPAGE="http://www.kde.org/"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="4.6"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="accessibility aqua kdeprefix nls sdk semantic-desktop"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
$(add_kdebase_dep kate)
|
||||||
|
$(add_kdebase_dep kdeadmin-meta)
|
||||||
|
$(add_kdebase_dep kdeartwork-meta)
|
||||||
|
$(add_kdebase_dep kdebase-meta)
|
||||||
|
$(add_kdebase_dep kdeedu-meta)
|
||||||
|
$(add_kdebase_dep kdegames-meta)
|
||||||
|
$(add_kdebase_dep kdegraphics-meta)
|
||||||
|
$(add_kdebase_dep kdemultimedia-meta)
|
||||||
|
$(add_kdebase_dep kdenetwork-meta)
|
||||||
|
$(add_kdebase_dep kdeplasma-addons)
|
||||||
|
$(add_kdebase_dep kdetoys-meta)
|
||||||
|
$(add_kdebase_dep kdeutils-meta)
|
||||||
|
accessibility? ( $(add_kdebase_dep kdeaccessibility-meta) )
|
||||||
|
nls? ( $(add_kdebase_dep kde-l10n) )
|
||||||
|
sdk? (
|
||||||
|
$(add_kdebase_dep kdebindings-meta)
|
||||||
|
$(add_kdebase_dep kdesdk-meta)
|
||||||
|
$(add_kdebase_dep kdewebdev-meta)
|
||||||
|
)
|
||||||
|
semantic-desktop? ( >=kde-base/kdepim-meta-4.4.4 )
|
||||||
|
$(block_other_slots)
|
||||||
|
"
|
8
kde-base/kde-meta/metadata.xml
Normal file
8
kde-base/kde-meta/metadata.xml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>kde</herd>
|
||||||
|
<use>
|
||||||
|
<flag name="sdk">Pull in developer-specific meta-packages</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
1659
media-video/ffmpeg/ChangeLog
Normal file
1659
media-video/ffmpeg/ChangeLog
Normal file
File diff suppressed because it is too large
Load Diff
5
media-video/ffmpeg/Manifest
Normal file
5
media-video/ffmpeg/Manifest
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
DIST ffmpeg-0.6_p25767.tar.bz2 4000052 RMD160 1463e744ca5f6e5535571efe19296f055ba870fb SHA1 219ecd5007eb030945556a7f279beae980a96543 SHA256 a6773c54b528d967f56811866b149ac980ad96f6c06a00e56987f7a48b4d9ff2
|
||||||
|
EBUILD ffmpeg-0.6_p25767.ebuild 8035 RMD160 176ad09a076b26b01c022e63a1a7d49f51af367e SHA1 c98efe3bd7b54eb16417845d293782f9c1f22e42 SHA256 cdebee41e6c51b89a58b8ec3d2a07a2f8b0798bdcbf903aa5c0d825904e179a2
|
||||||
|
EBUILD ffmpeg-9999.ebuild 8035 RMD160 176ad09a076b26b01c022e63a1a7d49f51af367e SHA1 c98efe3bd7b54eb16417845d293782f9c1f22e42 SHA256 cdebee41e6c51b89a58b8ec3d2a07a2f8b0798bdcbf903aa5c0d825904e179a2
|
||||||
|
MISC ChangeLog 57809 RMD160 de766ca8e4d828fe2d32a24ef9112389a7a4270b SHA1 31e3d53d2ee46bf6bac957b69489803309e2fddc SHA256 2bfcc4d08fc47777f23eb701e95cbdd72854887bb9c09850932c786cb760608e
|
||||||
|
MISC metadata.xml 2265 RMD160 0416ebff8851e2ec715a801a3ecd66a98865578e SHA1 58d9750865481aedecd4d61dcaee9e43e6a27404 SHA256 38a520565c24ca97877c3b2814d685beb0079e3ad4d28e5924667084ba3ffd86
|
268
media-video/ffmpeg/ffmpeg-0.6_p25767.ebuild
Normal file
268
media-video/ffmpeg/ffmpeg-0.6_p25767.ebuild
Normal file
@ -0,0 +1,268 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.6_p25767.ebuild,v 1.4 2010/12/09 16:11:56 rich0 Exp $
|
||||||
|
|
||||||
|
EAPI="2"
|
||||||
|
|
||||||
|
SCM=""
|
||||||
|
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||||
|
SCM="subversion"
|
||||||
|
ESVN_REPO_URI="svn://svn.ffmpeg.org/ffmpeg/trunk"
|
||||||
|
fi
|
||||||
|
|
||||||
|
inherit eutils flag-o-matic multilib toolchain-funcs ${SCM}
|
||||||
|
|
||||||
|
DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec."
|
||||||
|
HOMEPAGE="http://ffmpeg.org/"
|
||||||
|
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||||
|
SRC_URI=""
|
||||||
|
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||||
|
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||||
|
else # Release
|
||||||
|
SRC_URI="http://ffmpeg.org/releases/${P}.tar.bz2"
|
||||||
|
fi
|
||||||
|
FFMPEG_REVISION="${PV#*_p}"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
if [ "${PV#9999}" = "${PV}" ] ; then
|
||||||
|
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||||
|
fi
|
||||||
|
IUSE="+3dnow +3dnowext alsa altivec amr bindist +bzip2 cpudetection custom-cflags debug dirac doc +encode faac frei0r gsm +hardcoded-tables ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic qt-faststart rtmp schroedinger sdl speex +ssse3 static-libs test theora threads v4l v4l2 vaapi vdpau vorbis vpx X x264 xvid +zlib"
|
||||||
|
|
||||||
|
VIDEO_CARDS="nvidia"
|
||||||
|
|
||||||
|
for x in ${VIDEO_CARDS}; do
|
||||||
|
IUSE="${IUSE} video_cards_${x}"
|
||||||
|
done
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
alsa? ( media-libs/alsa-lib )
|
||||||
|
amr? ( media-libs/opencore-amr )
|
||||||
|
bzip2? ( app-arch/bzip2 )
|
||||||
|
dirac? ( media-video/dirac )
|
||||||
|
encode? (
|
||||||
|
faac? ( media-libs/faac )
|
||||||
|
mp3? ( >=media-sound/lame-3.98.3 )
|
||||||
|
theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg )
|
||||||
|
vorbis? ( media-libs/libvorbis media-libs/libogg )
|
||||||
|
x264? ( >=media-libs/x264-0.0.20101029 )
|
||||||
|
xvid? ( >=media-libs/xvid-1.1.0 )
|
||||||
|
)
|
||||||
|
frei0r? ( media-plugins/frei0r-plugins )
|
||||||
|
gsm? ( >=media-sound/gsm-1.0.12-r1 )
|
||||||
|
ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 )
|
||||||
|
jack? ( media-sound/jack-audio-connection-kit )
|
||||||
|
jpeg2k? ( >=media-libs/openjpeg-1.3-r2 )
|
||||||
|
rtmp? ( >=media-video/rtmpdump-2.2f )
|
||||||
|
sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] )
|
||||||
|
schroedinger? ( media-libs/schroedinger )
|
||||||
|
speex? ( >=media-libs/speex-1.2_beta3 )
|
||||||
|
vaapi? ( x11-libs/libva )
|
||||||
|
video_cards_nvidia? ( vdpau? ( x11-libs/libvdpau ) )
|
||||||
|
vpx? ( media-libs/libvpx )
|
||||||
|
X? ( x11-libs/libX11 x11-libs/libXext )
|
||||||
|
zlib? ( sys-libs/zlib )
|
||||||
|
!media-video/qt-faststart
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
>=sys-devel/make-3.81
|
||||||
|
dirac? ( dev-util/pkgconfig )
|
||||||
|
doc? ( app-text/texi2html )
|
||||||
|
mmx? ( dev-lang/yasm )
|
||||||
|
rtmp? ( dev-util/pkgconfig )
|
||||||
|
schroedinger? ( dev-util/pkgconfig )
|
||||||
|
test? ( net-misc/wget )
|
||||||
|
v4l? ( sys-kernel/linux-headers )
|
||||||
|
v4l2? ( sys-kernel/linux-headers )
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||||
|
# Set SVN version manually
|
||||||
|
subversion_wc_info
|
||||||
|
sed -i -e "s/UNKNOWN/SVN-r${ESVN_WC_REVISION}/" "${S}/version.sh" || die
|
||||||
|
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||||
|
sed -i -e "s/UNKNOWN/SVN-r${FFMPEG_REVISION}/" "${S}/version.sh" || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf="${EXTRA_FFMPEG_CONF}"
|
||||||
|
|
||||||
|
# enabled by default
|
||||||
|
for i in debug doc network vaapi zlib; do
|
||||||
|
use ${i} || myconf="${myconf} --disable-${i}"
|
||||||
|
done
|
||||||
|
use bzip2 || myconf="${myconf} --disable-bzlib"
|
||||||
|
use sdl || myconf="${myconf} --disable-ffplay"
|
||||||
|
use static-libs || myconf="${myconf} --disable-static"
|
||||||
|
|
||||||
|
use custom-cflags && myconf="${myconf} --disable-optimizations"
|
||||||
|
use cpudetection && myconf="${myconf} --enable-runtime-cpudetect"
|
||||||
|
|
||||||
|
#for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do
|
||||||
|
# use video_cards_nvidia || myconf="${myconf} --disable-decoder=${i}"
|
||||||
|
# use vdpau || myconf="${myconf} --disable-decoder=${i}"
|
||||||
|
#done
|
||||||
|
use video_cards_nvidia && use vdpau || myconf="${myconf} --disable-vdpau"
|
||||||
|
|
||||||
|
# Encoders
|
||||||
|
if use encode
|
||||||
|
then
|
||||||
|
use mp3 && myconf="${myconf} --enable-libmp3lame"
|
||||||
|
for i in theora vorbis x264 xvid; do
|
||||||
|
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||||
|
done
|
||||||
|
if use bindist
|
||||||
|
then
|
||||||
|
use faac && ewarn "faac is nonfree and cannot be distributed;
|
||||||
|
disabling faac support."
|
||||||
|
else
|
||||||
|
use faac && myconf="${myconf} --enable-libfaac --enable-nonfree"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
myconf="${myconf} --disable-encoders"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# libavdevice options
|
||||||
|
use ieee1394 && myconf="${myconf} --enable-libdc1394"
|
||||||
|
# Indevs
|
||||||
|
for i in v4l v4l2 alsa oss jack ; do
|
||||||
|
use ${i} || myconf="${myconf} --disable-indev=${i}"
|
||||||
|
done
|
||||||
|
use X && myconf="${myconf} --enable-x11grab"
|
||||||
|
# Outdevs
|
||||||
|
for i in alsa oss ; do
|
||||||
|
use ${i} || myconf="${myconf} --disable-outdev=${i}"
|
||||||
|
done
|
||||||
|
# libavfilter options
|
||||||
|
use frei0r && myconf="${myconf} --enable-frei0r"
|
||||||
|
|
||||||
|
# Threads; we only support pthread for now but ffmpeg supports more
|
||||||
|
use threads && myconf="${myconf} --enable-pthreads"
|
||||||
|
|
||||||
|
# Decoders
|
||||||
|
use amr && myconf="${myconf} --enable-libopencore-amrwb --enable-libopencore-amrnb"
|
||||||
|
for i in gsm dirac rtmp schroedinger speex vpx; do
|
||||||
|
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||||
|
done
|
||||||
|
use jpeg2k && myconf="${myconf} --enable-libopenjpeg"
|
||||||
|
|
||||||
|
# CPU features
|
||||||
|
for i in mmx ssse3 altivec ; do
|
||||||
|
use ${i} || myconf="${myconf} --disable-${i}"
|
||||||
|
done
|
||||||
|
use mmxext || myconf="${myconf} --disable-mmx2"
|
||||||
|
use 3dnow || myconf="${myconf} --disable-amd3dnow"
|
||||||
|
use 3dnowext || myconf="${myconf} --disable-amd3dnowext"
|
||||||
|
# disable mmx accelerated code if PIC is required
|
||||||
|
# as the provided asm decidedly is not PIC for x86.
|
||||||
|
if use pic && use x86 ; then
|
||||||
|
myconf="${myconf} --disable-mmx --disable-mmx2"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Option to force building pic
|
||||||
|
use pic && myconf="${myconf} --enable-pic"
|
||||||
|
|
||||||
|
# Try to get cpu type based on CFLAGS.
|
||||||
|
# Bug #172723
|
||||||
|
# We need to do this so that features of that CPU will be better used
|
||||||
|
# If they contain an unknown CPU it will not hurt since ffmpeg's configure
|
||||||
|
# will just ignore it.
|
||||||
|
for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
|
||||||
|
[ "${i}" = "native" ] && i="host" # bug #273421
|
||||||
|
[[ ${i} = *-sse3 ]] && i="${i%-sse3}" # bug 283968
|
||||||
|
myconf="${myconf} --cpu=${i}"
|
||||||
|
break
|
||||||
|
done
|
||||||
|
|
||||||
|
# Mandatory configuration
|
||||||
|
myconf="
|
||||||
|
--enable-gpl
|
||||||
|
--enable-version3
|
||||||
|
--enable-postproc
|
||||||
|
--enable-avfilter
|
||||||
|
--disable-stripping
|
||||||
|
${myconf}"
|
||||||
|
|
||||||
|
# cross compile support
|
||||||
|
if tc-is-cross-compiler ; then
|
||||||
|
myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-"
|
||||||
|
case ${CHOST} in
|
||||||
|
*freebsd*)
|
||||||
|
myconf="${myconf} --target-os=freebsd"
|
||||||
|
;;
|
||||||
|
mingw32*)
|
||||||
|
myconf="${myconf} --target-os=mingw32"
|
||||||
|
;;
|
||||||
|
*linux*)
|
||||||
|
myconf="${myconf} --target-os=linux"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Misc stuff
|
||||||
|
use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables"
|
||||||
|
|
||||||
|
# Specific workarounds for too-few-registers arch...
|
||||||
|
if [[ $(tc-arch) == "x86" ]]; then
|
||||||
|
filter-flags -fforce-addr -momit-leaf-frame-pointer
|
||||||
|
append-flags -fomit-frame-pointer
|
||||||
|
is-flag -O? || append-flags -O2
|
||||||
|
if (use debug); then
|
||||||
|
# no need to warn about debug if not using debug flag
|
||||||
|
ewarn ""
|
||||||
|
ewarn "Debug information will be almost useless as the frame pointer is omitted."
|
||||||
|
ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
|
||||||
|
ewarn "difficult to fix. Please have that in mind."
|
||||||
|
ewarn ""
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "${S}"
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/$(get_libdir) \
|
||||||
|
--shlibdir=/usr/$(get_libdir) \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--enable-static --enable-shared \
|
||||||
|
--cc="$(tc-getCC)" \
|
||||||
|
--host-cc="$(tc-getCC)" \
|
||||||
|
--host-cflags="${CFLAGS}" \
|
||||||
|
--host-ldflags="${LDFLAGS}" \
|
||||||
|
${myconf} || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake version.h || die #252269
|
||||||
|
emake || die
|
||||||
|
|
||||||
|
if use qt-faststart; then
|
||||||
|
tc-export CC
|
||||||
|
emake -C tools qt-faststart || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install install-man || die
|
||||||
|
|
||||||
|
dodoc Changelog README INSTALL
|
||||||
|
dodoc doc/*
|
||||||
|
|
||||||
|
if use qt-faststart; then
|
||||||
|
dobin tools/qt-faststart || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
if use encode ; then
|
||||||
|
for t in codectest lavftest seektest ; do
|
||||||
|
LD_LIBRARY_PATH="${S}/libavcore:${S}/libpostproc:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \
|
||||||
|
emake ${t} || die "Some tests in ${t} failed"
|
||||||
|
done
|
||||||
|
else
|
||||||
|
ewarn "Tests fail without USE=encode, skipping"
|
||||||
|
fi
|
||||||
|
}
|
268
media-video/ffmpeg/ffmpeg-9999.ebuild
Normal file
268
media-video/ffmpeg/ffmpeg-9999.ebuild
Normal file
@ -0,0 +1,268 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.6_p25767.ebuild,v 1.4 2010/12/09 16:11:56 rich0 Exp $
|
||||||
|
|
||||||
|
EAPI="2"
|
||||||
|
|
||||||
|
SCM=""
|
||||||
|
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||||
|
SCM="subversion"
|
||||||
|
ESVN_REPO_URI="svn://svn.ffmpeg.org/ffmpeg/trunk"
|
||||||
|
fi
|
||||||
|
|
||||||
|
inherit eutils flag-o-matic multilib toolchain-funcs ${SCM}
|
||||||
|
|
||||||
|
DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec."
|
||||||
|
HOMEPAGE="http://ffmpeg.org/"
|
||||||
|
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||||
|
SRC_URI=""
|
||||||
|
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||||
|
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||||
|
else # Release
|
||||||
|
SRC_URI="http://ffmpeg.org/releases/${P}.tar.bz2"
|
||||||
|
fi
|
||||||
|
FFMPEG_REVISION="${PV#*_p}"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
if [ "${PV#9999}" = "${PV}" ] ; then
|
||||||
|
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
||||||
|
fi
|
||||||
|
IUSE="+3dnow +3dnowext alsa altivec amr bindist +bzip2 cpudetection custom-cflags debug dirac doc +encode faac frei0r gsm +hardcoded-tables ieee1394 jack jpeg2k +mmx +mmxext mp3 network oss pic qt-faststart rtmp schroedinger sdl speex +ssse3 static-libs test theora threads v4l v4l2 vaapi vdpau vorbis vpx X x264 xvid +zlib"
|
||||||
|
|
||||||
|
VIDEO_CARDS="nvidia"
|
||||||
|
|
||||||
|
for x in ${VIDEO_CARDS}; do
|
||||||
|
IUSE="${IUSE} video_cards_${x}"
|
||||||
|
done
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
alsa? ( media-libs/alsa-lib )
|
||||||
|
amr? ( media-libs/opencore-amr )
|
||||||
|
bzip2? ( app-arch/bzip2 )
|
||||||
|
dirac? ( media-video/dirac )
|
||||||
|
encode? (
|
||||||
|
faac? ( media-libs/faac )
|
||||||
|
mp3? ( >=media-sound/lame-3.98.3 )
|
||||||
|
theora? ( >=media-libs/libtheora-1.1.1[encode] media-libs/libogg )
|
||||||
|
vorbis? ( media-libs/libvorbis media-libs/libogg )
|
||||||
|
x264? ( >=media-libs/x264-0.0.20101029 )
|
||||||
|
xvid? ( >=media-libs/xvid-1.1.0 )
|
||||||
|
)
|
||||||
|
frei0r? ( media-plugins/frei0r-plugins )
|
||||||
|
gsm? ( >=media-sound/gsm-1.0.12-r1 )
|
||||||
|
ieee1394? ( media-libs/libdc1394 sys-libs/libraw1394 )
|
||||||
|
jack? ( media-sound/jack-audio-connection-kit )
|
||||||
|
jpeg2k? ( >=media-libs/openjpeg-1.3-r2 )
|
||||||
|
rtmp? ( >=media-video/rtmpdump-2.2f )
|
||||||
|
sdl? ( >=media-libs/libsdl-1.2.13-r1[audio,video] )
|
||||||
|
schroedinger? ( media-libs/schroedinger )
|
||||||
|
speex? ( >=media-libs/speex-1.2_beta3 )
|
||||||
|
vaapi? ( x11-libs/libva )
|
||||||
|
video_cards_nvidia? ( vdpau? ( x11-libs/libvdpau ) )
|
||||||
|
vpx? ( media-libs/libvpx )
|
||||||
|
X? ( x11-libs/libX11 x11-libs/libXext )
|
||||||
|
zlib? ( sys-libs/zlib )
|
||||||
|
!media-video/qt-faststart
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
>=sys-devel/make-3.81
|
||||||
|
dirac? ( dev-util/pkgconfig )
|
||||||
|
doc? ( app-text/texi2html )
|
||||||
|
mmx? ( dev-lang/yasm )
|
||||||
|
rtmp? ( dev-util/pkgconfig )
|
||||||
|
schroedinger? ( dev-util/pkgconfig )
|
||||||
|
test? ( net-misc/wget )
|
||||||
|
v4l? ( sys-kernel/linux-headers )
|
||||||
|
v4l2? ( sys-kernel/linux-headers )
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||||
|
# Set SVN version manually
|
||||||
|
subversion_wc_info
|
||||||
|
sed -i -e "s/UNKNOWN/SVN-r${ESVN_WC_REVISION}/" "${S}/version.sh" || die
|
||||||
|
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
|
||||||
|
sed -i -e "s/UNKNOWN/SVN-r${FFMPEG_REVISION}/" "${S}/version.sh" || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf="${EXTRA_FFMPEG_CONF}"
|
||||||
|
|
||||||
|
# enabled by default
|
||||||
|
for i in debug doc network vaapi zlib; do
|
||||||
|
use ${i} || myconf="${myconf} --disable-${i}"
|
||||||
|
done
|
||||||
|
use bzip2 || myconf="${myconf} --disable-bzlib"
|
||||||
|
use sdl || myconf="${myconf} --disable-ffplay"
|
||||||
|
use static-libs || myconf="${myconf} --disable-static"
|
||||||
|
|
||||||
|
use custom-cflags && myconf="${myconf} --disable-optimizations"
|
||||||
|
use cpudetection && myconf="${myconf} --enable-runtime-cpudetect"
|
||||||
|
|
||||||
|
#for i in h264_vdpau mpeg1_vdpau mpeg_vdpau vc1_vdpau wmv3_vdpau; do
|
||||||
|
# use video_cards_nvidia || myconf="${myconf} --disable-decoder=${i}"
|
||||||
|
# use vdpau || myconf="${myconf} --disable-decoder=${i}"
|
||||||
|
#done
|
||||||
|
use video_cards_nvidia && use vdpau || myconf="${myconf} --disable-vdpau"
|
||||||
|
|
||||||
|
# Encoders
|
||||||
|
if use encode
|
||||||
|
then
|
||||||
|
use mp3 && myconf="${myconf} --enable-libmp3lame"
|
||||||
|
for i in theora vorbis x264 xvid; do
|
||||||
|
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||||
|
done
|
||||||
|
if use bindist
|
||||||
|
then
|
||||||
|
use faac && ewarn "faac is nonfree and cannot be distributed;
|
||||||
|
disabling faac support."
|
||||||
|
else
|
||||||
|
use faac && myconf="${myconf} --enable-libfaac --enable-nonfree"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
myconf="${myconf} --disable-encoders"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# libavdevice options
|
||||||
|
use ieee1394 && myconf="${myconf} --enable-libdc1394"
|
||||||
|
# Indevs
|
||||||
|
for i in v4l v4l2 alsa oss jack ; do
|
||||||
|
use ${i} || myconf="${myconf} --disable-indev=${i}"
|
||||||
|
done
|
||||||
|
use X && myconf="${myconf} --enable-x11grab"
|
||||||
|
# Outdevs
|
||||||
|
for i in alsa oss ; do
|
||||||
|
use ${i} || myconf="${myconf} --disable-outdev=${i}"
|
||||||
|
done
|
||||||
|
# libavfilter options
|
||||||
|
use frei0r && myconf="${myconf} --enable-frei0r"
|
||||||
|
|
||||||
|
# Threads; we only support pthread for now but ffmpeg supports more
|
||||||
|
use threads && myconf="${myconf} --enable-pthreads"
|
||||||
|
|
||||||
|
# Decoders
|
||||||
|
use amr && myconf="${myconf} --enable-libopencore-amrwb --enable-libopencore-amrnb"
|
||||||
|
for i in gsm dirac rtmp schroedinger speex vpx; do
|
||||||
|
use ${i} && myconf="${myconf} --enable-lib${i}"
|
||||||
|
done
|
||||||
|
use jpeg2k && myconf="${myconf} --enable-libopenjpeg"
|
||||||
|
|
||||||
|
# CPU features
|
||||||
|
for i in mmx ssse3 altivec ; do
|
||||||
|
use ${i} || myconf="${myconf} --disable-${i}"
|
||||||
|
done
|
||||||
|
use mmxext || myconf="${myconf} --disable-mmx2"
|
||||||
|
use 3dnow || myconf="${myconf} --disable-amd3dnow"
|
||||||
|
use 3dnowext || myconf="${myconf} --disable-amd3dnowext"
|
||||||
|
# disable mmx accelerated code if PIC is required
|
||||||
|
# as the provided asm decidedly is not PIC for x86.
|
||||||
|
if use pic && use x86 ; then
|
||||||
|
myconf="${myconf} --disable-mmx --disable-mmx2"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Option to force building pic
|
||||||
|
use pic && myconf="${myconf} --enable-pic"
|
||||||
|
|
||||||
|
# Try to get cpu type based on CFLAGS.
|
||||||
|
# Bug #172723
|
||||||
|
# We need to do this so that features of that CPU will be better used
|
||||||
|
# If they contain an unknown CPU it will not hurt since ffmpeg's configure
|
||||||
|
# will just ignore it.
|
||||||
|
for i in $(get-flag march) $(get-flag mcpu) $(get-flag mtune) ; do
|
||||||
|
[ "${i}" = "native" ] && i="host" # bug #273421
|
||||||
|
[[ ${i} = *-sse3 ]] && i="${i%-sse3}" # bug 283968
|
||||||
|
myconf="${myconf} --cpu=${i}"
|
||||||
|
break
|
||||||
|
done
|
||||||
|
|
||||||
|
# Mandatory configuration
|
||||||
|
myconf="
|
||||||
|
--enable-gpl
|
||||||
|
--enable-version3
|
||||||
|
--enable-postproc
|
||||||
|
--enable-avfilter
|
||||||
|
--disable-stripping
|
||||||
|
${myconf}"
|
||||||
|
|
||||||
|
# cross compile support
|
||||||
|
if tc-is-cross-compiler ; then
|
||||||
|
myconf="${myconf} --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}-"
|
||||||
|
case ${CHOST} in
|
||||||
|
*freebsd*)
|
||||||
|
myconf="${myconf} --target-os=freebsd"
|
||||||
|
;;
|
||||||
|
mingw32*)
|
||||||
|
myconf="${myconf} --target-os=mingw32"
|
||||||
|
;;
|
||||||
|
*linux*)
|
||||||
|
myconf="${myconf} --target-os=linux"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Misc stuff
|
||||||
|
use hardcoded-tables && myconf="${myconf} --enable-hardcoded-tables"
|
||||||
|
|
||||||
|
# Specific workarounds for too-few-registers arch...
|
||||||
|
if [[ $(tc-arch) == "x86" ]]; then
|
||||||
|
filter-flags -fforce-addr -momit-leaf-frame-pointer
|
||||||
|
append-flags -fomit-frame-pointer
|
||||||
|
is-flag -O? || append-flags -O2
|
||||||
|
if (use debug); then
|
||||||
|
# no need to warn about debug if not using debug flag
|
||||||
|
ewarn ""
|
||||||
|
ewarn "Debug information will be almost useless as the frame pointer is omitted."
|
||||||
|
ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
|
||||||
|
ewarn "difficult to fix. Please have that in mind."
|
||||||
|
ewarn ""
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "${S}"
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/$(get_libdir) \
|
||||||
|
--shlibdir=/usr/$(get_libdir) \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--enable-static --enable-shared \
|
||||||
|
--cc="$(tc-getCC)" \
|
||||||
|
--host-cc="$(tc-getCC)" \
|
||||||
|
--host-cflags="${CFLAGS}" \
|
||||||
|
--host-ldflags="${LDFLAGS}" \
|
||||||
|
${myconf} || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake version.h || die #252269
|
||||||
|
emake || die
|
||||||
|
|
||||||
|
if use qt-faststart; then
|
||||||
|
tc-export CC
|
||||||
|
emake -C tools qt-faststart || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install install-man || die
|
||||||
|
|
||||||
|
dodoc Changelog README INSTALL
|
||||||
|
dodoc doc/*
|
||||||
|
|
||||||
|
if use qt-faststart; then
|
||||||
|
dobin tools/qt-faststart || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
if use encode ; then
|
||||||
|
for t in codectest lavftest seektest ; do
|
||||||
|
LD_LIBRARY_PATH="${S}/libavcore:${S}/libpostproc:${S}/libswscale:${S}/libavcodec:${S}/libavdevice:${S}/libavfilter:${S}/libavformat:${S}/libavutil" \
|
||||||
|
emake ${t} || die "Some tests in ${t} failed"
|
||||||
|
done
|
||||||
|
else
|
||||||
|
ewarn "Tests fail without USE=encode, skipping"
|
||||||
|
fi
|
||||||
|
}
|
32
media-video/ffmpeg/metadata.xml
Normal file
32
media-video/ffmpeg/metadata.xml
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>video</herd>
|
||||||
|
<maintainer>
|
||||||
|
<email>media-video@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="3dnowext">
|
||||||
|
Enable manually-optimised routines using the AMD 3DNow!Ex SIMD
|
||||||
|
instruction set, present in modern AMD CPUs. (Check for
|
||||||
|
3dnowext in /proc/cpuinfo to know whether your CPU supports it).
|
||||||
|
</flag>
|
||||||
|
<flag name="amr">Enables Adaptive Multi-Rate Audio support</flag>
|
||||||
|
<flag name="cpudetection">Enables runtime CPU detection (useful for bindist, compatibility on other CPUs)</flag>
|
||||||
|
<flag name="dirac">Enable Dirac video support (an advanced royalty-free video compression format) via the reference library: dirac.</flag>
|
||||||
|
<flag name="faac">Use external faac library for AAC encoding</flag>
|
||||||
|
<flag name="faad">Use external faad library for AAC decoding (instead of internal libavcodec support)</flag>
|
||||||
|
<flag name="frei0r">Enable frei0r wrapping in libavfilter</flag>
|
||||||
|
<flag name="hardcoded-tables">Use pre-calculated tables rather than calculating them on the fly.</flag>
|
||||||
|
<flag name="mmxext">Enables mmx2 support</flag>
|
||||||
|
<flag name="network">Enables network streaming support</flag>
|
||||||
|
<flag name="pic">Force shared libraries to be built as PIC (this is slower)</flag>
|
||||||
|
<flag name="qt-faststart">Build and install qt-faststart application</flag>
|
||||||
|
<flag name="rtmp">Enable Real Time Messaging Protocol using librtmp</flag>
|
||||||
|
<flag name="schroedinger">Enable Dirac video support (an advanced royalty-free video compression format) via libschroedinger (high-speed implementation in C of the Dirac codec).</flag>
|
||||||
|
<flag name="ssse3">faster floating point optimization for SSSE3 capable chips (Intel Core 2 and later chips)</flag>
|
||||||
|
<flag name="vaapi">Enables VAAPI (Video Acceleration API) for hardware decoding</flag>
|
||||||
|
<flag name="vdpau">Enables VDPAU decoders (requires nVidia video cards to offload CPU processing to video card</flag>
|
||||||
|
<flag name="vpx">Enables vp8 codec support using libvpx: Decoding vp8 does not require this to be enabled but libvpx can also be used for decoding; encoding vp8 requires this useflag to be enabled though.</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
194
x11-misc/google-gadgets/ChangeLog
Normal file
194
x11-misc/google-gadgets/ChangeLog
Normal file
@ -0,0 +1,194 @@
|
|||||||
|
# ChangeLog for x11-misc/google-gadgets
|
||||||
|
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v 1.34 2010/11/08 04:29:18 jer Exp $
|
||||||
|
|
||||||
|
07 Nov 2010; Jeroen Roovers <jer@gentoo.org> google-gadgets-0.10.5.ebuild,
|
||||||
|
google-gadgets-0.11.1-r1.ebuild, google-gadgets-0.11.2.ebuild:
|
||||||
|
Remove HPPA keywording (bug #239441).
|
||||||
|
|
||||||
|
29 Oct 2010; Jeroen Roovers <jer@gentoo.org>
|
||||||
|
google-gadgets-0.11.1-r1.ebuild, google-gadgets-0.11.2.ebuild:
|
||||||
|
Marked ~hppa (bug #272194).
|
||||||
|
|
||||||
|
23 Feb 2010; Joseph Jezak <josejx@gentoo.org>
|
||||||
|
google-gadgets-0.11.2.ebuild:
|
||||||
|
Marked ~ppc64 for bug #272194.
|
||||||
|
|
||||||
|
*google-gadgets-0.11.2 (27 Jan 2010)
|
||||||
|
|
||||||
|
27 Jan 2010; Bernard Cafarelli <voyageur@gentoo.org>
|
||||||
|
+google-gadgets-0.11.2.ebuild:
|
||||||
|
Version bump, includes previous patches for gtk+-2.19 and xulrunner 1.9.2,
|
||||||
|
among other fixes
|
||||||
|
|
||||||
|
27 Jan 2010; Bernard Cafarelli <voyageur@gentoo.org>
|
||||||
|
google-gadgets-0.11.1-r1.ebuild,
|
||||||
|
+files/google-gadgets-0.11.1-xulrunner-1.9.2.patch:
|
||||||
|
Add upstream patch to fix compilation with xulrunner 1.9.2, bug #301908
|
||||||
|
|
||||||
|
23 Nov 2009; Mark Loeser <halcy0n@gentoo.org>
|
||||||
|
+google-gadgets-0.10.5.ebuild:
|
||||||
|
Adding back 0.10.5 as its the only version keyworded for hppa and ppc64
|
||||||
|
|
||||||
|
*google-gadgets-0.11.1-r1 (23 Nov 2009)
|
||||||
|
|
||||||
|
23 Nov 2009; Bernard Cafarelli <voyageur@gentoo.org>
|
||||||
|
-files/google-gadgets-0.10.0-xulrunner-1.9.patch,
|
||||||
|
-files/google-gadgets-0.10.4-gcc41.patch,
|
||||||
|
-files/google-gadgets-0.10.4-xulrunner-1.9.1.patch,
|
||||||
|
-google-gadgets-0.10.5.ebuild, -google-gadgets-0.11.0.ebuild,
|
||||||
|
-google-gadgets-0.11.1.ebuild, +google-gadgets-0.11.1-r1.ebuild:
|
||||||
|
Add gtk+-2.18 support, reported by Alexandre Rostovtsev
|
||||||
|
<tetromino@gmail.com> in bug #294124
|
||||||
|
|
||||||
|
*google-gadgets-0.11.1 (09 Sep 2009)
|
||||||
|
|
||||||
|
09 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
|
||||||
|
-google-gadgets-0.10.3.ebuild, -google-gadgets-0.10.4.ebuild,
|
||||||
|
+google-gadgets-0.11.1.ebuild:
|
||||||
|
Version bump, bugfix release
|
||||||
|
|
||||||
|
02 Jun 2009; Bernard Cafarelli <voyageur@gentoo.org>
|
||||||
|
google-gadgets-0.11.0.ebuild:
|
||||||
|
Make xulrunner optional, now that there is a webkit backend
|
||||||
|
|
||||||
|
*google-gadgets-0.11.0 (01 Jun 2009)
|
||||||
|
|
||||||
|
01 Jun 2009; Bernard Cafarelli <voyageur@gentoo.org>
|
||||||
|
+google-gadgets-0.11.0.ebuild, metadata.xml:
|
||||||
|
Version bump, performance improvement, reduced memory consumption, new
|
||||||
|
backends for webkit-gtk and libsoup, and bugfixes. ~hppa and ~ppc64
|
||||||
|
keywords temporarly removed pending bug #272194
|
||||||
|
|
||||||
|
11 Apr 2009; Raúl Porcel <armin76@gentoo.org>
|
||||||
|
google-gadgets-0.10.5.ebuild:
|
||||||
|
Add ~alpha/~ia64 wrt #260777
|
||||||
|
|
||||||
|
11 Apr 2009; Jeroen Roovers <jer@gentoo.org> google-gadgets-0.10.5.ebuild:
|
||||||
|
Marked ~hppa (bug #260777).
|
||||||
|
|
||||||
|
16 Feb 2009; Bernard Cafarelli <voyageur@gentoo.org>
|
||||||
|
-google-gadgets-0.10.0-r2.ebuild, -google-gadgets-0.10.2-r2.ebuild,
|
||||||
|
google-gadgets-0.10.5.ebuild:
|
||||||
|
Ebuild cleanup by scarabeus, remove some old versions
|
||||||
|
|
||||||
|
05 Feb 2009; Brent Baude <ranger@gentoo.org> google-gadgets-0.10.5.ebuild:
|
||||||
|
marking google-gadgets-0.10.5 ~ppc for kde tree bustification/repair
|
||||||
|
|
||||||
|
05 Feb 2009; Brent Baude <ranger@gentoo.org> google-gadgets-0.10.5.ebuild:
|
||||||
|
google-gadgets-0.10.5 ~ppc64 for kde borkage
|
||||||
|
|
||||||
|
*google-gadgets-0.10.5 (08 Jan 2009)
|
||||||
|
|
||||||
|
08 Jan 2009; Bernard Cafarelli <voyageur@gentoo.org>
|
||||||
|
+google-gadgets-0.10.5.ebuild:
|
||||||
|
Version bump, mostly bugfixes and new about dialogs
|
||||||
|
|
||||||
|
30 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org>
|
||||||
|
+files/google-gadgets-0.10.4-xulrunner-1.9.1.patch,
|
||||||
|
google-gadgets-0.10.4.ebuild:
|
||||||
|
Get ready for xulrunner 1.9.1, patch spotted by loki_val
|
||||||
|
|
||||||
|
17 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org>
|
||||||
|
+files/google-gadgets-0.10.4-gcc41.patch, google-gadgets-0.10.3.ebuild,
|
||||||
|
google-gadgets-0.10.4.ebuild:
|
||||||
|
Fix compilation with gcc 4.1, clean warning on gcc version in 0.10.3
|
||||||
|
(works with gcc 4.1)
|
||||||
|
|
||||||
|
*google-gadgets-0.10.4 (16 Dec 2008)
|
||||||
|
|
||||||
|
16 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org>
|
||||||
|
+google-gadgets-0.10.4.ebuild:
|
||||||
|
Version bump, bugfixes and optimization, more gadgets supported including
|
||||||
|
the new youtube gadget. Also install ChangeLog
|
||||||
|
|
||||||
|
15 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org>
|
||||||
|
google-gadgets-0.10.3.ebuild:
|
||||||
|
Fix USE=-gtk compilation, add Gentoo oem branding, thanks Robert Piasek
|
||||||
|
<robert.piasek@member.fsf.org> and loki_val in bug #250599
|
||||||
|
|
||||||
|
*google-gadgets-0.10.3 (10 Dec 2008)
|
||||||
|
|
||||||
|
10 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org> metadata.xml,
|
||||||
|
+google-gadgets-0.10.3.ebuild:
|
||||||
|
Taking over maintainership, version bump and ebuild cleanups, bug #250508
|
||||||
|
|
||||||
|
26 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
|
||||||
|
google-gadgets-0.10.2-r2.ebuild:
|
||||||
|
!! instead of ! to block.
|
||||||
|
|
||||||
|
26 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
|
||||||
|
google-gadgets-0.10.2-r2.ebuild:
|
||||||
|
Add note about failure with <gcc-4.2
|
||||||
|
|
||||||
|
*google-gadgets-0.10.2-r2 (26 Sep 2008)
|
||||||
|
|
||||||
|
26 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
|
||||||
|
-google-gadgets-0.10.2.ebuild, -google-gadgets-0.10.2-r1.ebuild,
|
||||||
|
+google-gadgets-0.10.2-r2.ebuild:
|
||||||
|
Fix for 'undefined symbol: JS_SetOperationCallback', blocking
|
||||||
|
spidermonkey. Shifting to EAPI 2 and losing a lot of cruft. Fix sysdeps.h
|
||||||
|
being installed the wrong place, reported by Sput.
|
||||||
|
|
||||||
|
*google-gadgets-0.10.2-r1 (24 Sep 2008)
|
||||||
|
|
||||||
|
24 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
|
||||||
|
+google-gadgets-0.10.2-r1.ebuild:
|
||||||
|
Fix ggl crashing on startup.
|
||||||
|
http://code.google.com/p/google-gadgets-for-linux/issues/detail?id=220
|
||||||
|
|
||||||
|
*google-gadgets-0.10.2 (14 Sep 2008)
|
||||||
|
|
||||||
|
14 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
|
||||||
|
-google-gadgets-0.10.0-r1.ebuild, +google-gadgets-0.10.2.ebuild:
|
||||||
|
Bump for 0.10.2
|
||||||
|
|
||||||
|
24 Aug 2008; Peter Alfredsen <loki_val@gentoo.org>
|
||||||
|
google-gadgets-0.10.0-r1.ebuild, google-gadgets-0.10.0-r2.ebuild:
|
||||||
|
Remove ewarn about qt4, since qt-4.4.1 is now unmasked
|
||||||
|
|
||||||
|
*google-gadgets-0.10.0-r2 (20 Jul 2008)
|
||||||
|
|
||||||
|
20 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
|
||||||
|
+files/google-gadgets-0.10.0-xulrunner-1.9.patch,
|
||||||
|
-google-gadgets-0.10.0.ebuild, google-gadgets-0.10.0-r1.ebuild,
|
||||||
|
+google-gadgets-0.10.0-r2.ebuild:
|
||||||
|
Add fix to *really* build with xulrunner-1.9 plus fix ggl-gtk sometimes
|
||||||
|
not being able to quit.
|
||||||
|
|
||||||
|
*google-gadgets-0.10.0-r1 (16 Jul 2008)
|
||||||
|
|
||||||
|
16 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
|
||||||
|
+google-gadgets-0.10.0-r1.ebuild:
|
||||||
|
Bugfixes wrt bug 231990 (love to eva) and cleanup of ebuild.
|
||||||
|
|
||||||
|
*google-gadgets-0.10.0 (11 Jul 2008)
|
||||||
|
|
||||||
|
11 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
|
||||||
|
-files/google-gadgets-0.9.2-gcc43-test.patch,
|
||||||
|
-google-gadgets-0.9.2-r1.ebuild, -google-gadgets-0.9.3.ebuild,
|
||||||
|
+google-gadgets-0.10.0.ebuild:
|
||||||
|
Bump to 0.10.0, remove old.
|
||||||
|
|
||||||
|
*google-gadgets-0.9.3 (13 Jun 2008)
|
||||||
|
|
||||||
|
13 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
|
||||||
|
+google-gadgets-0.9.3.ebuild:
|
||||||
|
Version bump
|
||||||
|
|
||||||
|
11 Jun 2008; <welp@gentoo.org> google-gadgets-0.9.2-r1.ebuild:
|
||||||
|
Keyword ~amd64
|
||||||
|
|
||||||
|
*google-gadgets-0.9.2-r1 (08 Jun 2008)
|
||||||
|
|
||||||
|
08 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
|
||||||
|
+files/google-gadgets-0.9.2-gcc43-test.patch,
|
||||||
|
-google-gadgets-0.9.2.ebuild, +google-gadgets-0.9.2-r1.ebuild:
|
||||||
|
New ebuild with Desktop entries and fix for bug 225361.
|
||||||
|
|
||||||
|
*google-gadgets-0.9.2 (06 Jun 2008)
|
||||||
|
|
||||||
|
06 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> +metadata.xml,
|
||||||
|
+google-gadgets-0.9.2.ebuild:
|
||||||
|
Initial commit.
|
||||||
|
|
4
x11-misc/google-gadgets/Manifest
Normal file
4
x11-misc/google-gadgets/Manifest
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
DIST google-gadgets-for-linux-0.11.2.tar.bz2 2539750 RMD160 6497189e64793d2cab16058b4baeb42f3198b97b SHA1 22716f5ae640c7f201012d9d75868137c23ebc79 SHA256 2f129ae6c294876b3bc29bdf66c0f02e2c1000f97aadb3540d296560a14f343f
|
||||||
|
EBUILD google-gadgets-0.11.2.ebuild 4559 RMD160 3a145b3f955b22c7ffb57bbd224b65546cc89cfb SHA1 de82962286373d8323ec7bf992d87227e070b1f1 SHA256 b3ef2084aa0979565018efc3aa59a22aaa22cf7d233d513624a67ed502e724dd
|
||||||
|
MISC ChangeLog 7156 RMD160 c399438960d82f5b8a36d4769a6e3fdad7e733d8 SHA1 9ca44e5829b37676f7ed4aad9a773dabe9f07cbe SHA256 1409f8542fb40dc672dc28eac0ae8e00bb6387efcec75c719824bd396940805d
|
||||||
|
MISC metadata.xml 486 RMD160 b08018667c1efbe528ecbbb88b4a0fe5932464f9 SHA1 6d0a5c446e901d47be27b4c707e986b8b8964c64 SHA256 200d5369ac38f83f0fe143ab1d87c734b88e52eb6eca146208fd21dec5776dda
|
148
x11-misc/google-gadgets/google-gadgets-0.11.2.ebuild
Normal file
148
x11-misc/google-gadgets/google-gadgets-0.11.2.ebuild
Normal file
@ -0,0 +1,148 @@
|
|||||||
|
# Copyright 1999-2010 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.11.2.ebuild,v 1.4 2010/11/08 04:29:18 jer Exp $
|
||||||
|
|
||||||
|
EAPI=2
|
||||||
|
|
||||||
|
inherit base autotools multilib eutils fdo-mime
|
||||||
|
|
||||||
|
MY_PN=${PN}-for-linux
|
||||||
|
MY_P=${MY_PN}-${PV}
|
||||||
|
|
||||||
|
DESCRIPTION="Cool gadgets from Google for your Desktop"
|
||||||
|
HOMEPAGE="http://code.google.com/p/google-gadgets-for-linux/"
|
||||||
|
SRC_URI="http://${MY_PN}.googlecode.com/files/${MY_P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
|
||||||
|
IUSE="+dbus debug +gtk +qt4 +gstreamer networkmanager soup startup-notification webkit +xulrunner"
|
||||||
|
|
||||||
|
# Weird things happen when we start mix-n-matching, so for the time being
|
||||||
|
# I've just locked the deps to the versions I had as of Summer 2008. With any
|
||||||
|
# luck, they'll be stable when we get to stabling this package.
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/libxml2-2.6.32
|
||||||
|
sys-libs/zlib
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXext
|
||||||
|
dbus? ( sys-apps/dbus )
|
||||||
|
gstreamer? (
|
||||||
|
>=media-libs/gstreamer-0.10.19
|
||||||
|
>=media-libs/gst-plugins-base-0.10.19
|
||||||
|
)
|
||||||
|
gtk? (
|
||||||
|
>=dev-libs/atk-1.22.0
|
||||||
|
gnome-base/librsvg
|
||||||
|
>=net-misc/curl-7.18.2
|
||||||
|
>=x11-libs/cairo-1.6.4
|
||||||
|
>=x11-libs/gtk+-2.12.10
|
||||||
|
>=x11-libs/pango-1.20.3
|
||||||
|
dbus? ( >=dev-libs/dbus-glib-0.74 )
|
||||||
|
)
|
||||||
|
networkmanager? ( net-misc/networkmanager )
|
||||||
|
qt4? (
|
||||||
|
>=x11-libs/qt-core-4.4.0
|
||||||
|
>=x11-libs/qt-opengl-4.4.0
|
||||||
|
>=x11-libs/qt-script-4.4.0
|
||||||
|
>=x11-libs/qt-webkit-4.4.0
|
||||||
|
>=x11-libs/qt-xmlpatterns-4.4.0
|
||||||
|
dbus? ( >=x11-libs/qt-dbus-4.4.0 )
|
||||||
|
)
|
||||||
|
soup? ( >=net-libs/libsoup-2.26 )
|
||||||
|
startup-notification? ( x11-libs/startup-notification )
|
||||||
|
webkit? ( >=net-libs/webkit-gtk-1.0.3 )
|
||||||
|
xulrunner? ( net-libs/xulrunner:1.9 )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
>=dev-util/pkgconfig-0.20
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# If a non-google, non-qt4 and non-gtk host system for google-gadgets is ever developed,
|
||||||
|
# I'll consider changing the error below.
|
||||||
|
if ! use gtk && ! use qt4; then
|
||||||
|
eerror "You must choose which toolkit to build for. Either qt4 or gtk can be"
|
||||||
|
eerror "chosen. For qt4, see also above. To enable \$toolkit, do:"
|
||||||
|
eerror "echo \"${CATEGORY}/${PN} \$toolkit\" >> /etc/portage/package.use"
|
||||||
|
die "You need to choose a toolkit"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use gstreamer; then
|
||||||
|
ewarn "Disabling gstreamer disables the multimedia functions of ${PN}."
|
||||||
|
ewarn "This is not recommended. To enable gstreamer, do:"
|
||||||
|
ewarn "echo \"${CATEGORY}/${PN} gstreamer\" >> /etc/portage/package.use"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i -r \
|
||||||
|
-e '/^GGL_SYSDEPS_INCLUDE_DIR/ c\GGL_SYSDEPS_INCLUDE_DIR=$GGL_INCLUDE_DIR' \
|
||||||
|
configure.ac||die "404"
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf="--disable-dependency-tracking \
|
||||||
|
--disable-update-desktop-database \
|
||||||
|
--disable-update-mime-database \
|
||||||
|
--disable-werror \
|
||||||
|
--enable-libxml2-xml-parser \
|
||||||
|
--with-browser-plugins-dir=/usr/$(get_libdir)/nsbrowser/plugins \
|
||||||
|
--with-ssl-ca-file=/etc/ssl/certs/ca-certificates.crt \
|
||||||
|
--with-oem-brand=Gentoo \
|
||||||
|
$(use_enable debug) \
|
||||||
|
$(use_enable dbus libggadget-dbus) \
|
||||||
|
$(use_enable gstreamer gst-audio-framework) \
|
||||||
|
$(use_enable gstreamer gst-video-element) \
|
||||||
|
$(use_enable soup soup-xml-http-request) \
|
||||||
|
$(use_enable webkit webkit-script-runtime) \
|
||||||
|
$(use_enable webkit gtkwebkit-browser-element) \
|
||||||
|
$(use_enable gtk gtk-host) \
|
||||||
|
$(use_enable gtk libggadget-gtk ) \
|
||||||
|
$(use_enable gtk gtk-edit-element) \
|
||||||
|
$(use_enable gtk gtk-flash-element) \
|
||||||
|
$(use_enable gtk gtk-system-framework) \
|
||||||
|
$(use_enable gtk curl_xml_http_request) \
|
||||||
|
$(use_enable qt4 qt-host) \
|
||||||
|
$(use_enable qt4 libggadget-qt) \
|
||||||
|
$(use_enable qt4 qt-edit-framework) \
|
||||||
|
$(use_enable qt4 qt-system-framework) \
|
||||||
|
$(use_enable qt4 qtwebkit-browser-element) \
|
||||||
|
$(use_enable qt4 qt-xml-http-request) \
|
||||||
|
$(use_enable qt4 qt-script-runtime)"
|
||||||
|
if use xulrunner; then
|
||||||
|
myconf="${myconf} \
|
||||||
|
$(use_enable gtk gtkmoz-browser-element) \
|
||||||
|
--with-gtkmozembed=libxul \
|
||||||
|
--enable-smjs-script-runtime \
|
||||||
|
--with-smjs-cppflags=-I/usr/include/nspr \
|
||||||
|
--with-smjs-libdir=/usr/$(get_libdir)/xulrunner-1.9 \
|
||||||
|
--with-smjs-incdir=/usr/include/xulrunner-1.9/unstable"
|
||||||
|
else
|
||||||
|
myconf="${myconf} --disable-gtkmoz-browser-element --disable-smjs-script-runtime"
|
||||||
|
fi
|
||||||
|
|
||||||
|
econf ${myconf}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
#If someone wants to guarantee that emake will not make
|
||||||
|
#tests fail promiscuosly, please do, otherwise we're using make.
|
||||||
|
make check &> "${WORKDIR}"/check
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
base_src_install
|
||||||
|
dodoc ChangeLog README
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
fdo-mime_desktop_database_update
|
||||||
|
fdo-mime_mime_database_update
|
||||||
|
}
|
13
x11-misc/google-gadgets/metadata.xml
Normal file
13
x11-misc/google-gadgets/metadata.xml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>no-herd</herd>
|
||||||
|
<maintainer>
|
||||||
|
<email>voyageur@gentoo.org</email>
|
||||||
|
<name>Bernard Cafarelli</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="soup">Enables XML HTTP request extension based on <pkg>net-libs/libsoup</pkg></flag>
|
||||||
|
<flag name="webkit">Enables browser element and script runtime based on <pkg>net-libs/webkit-gtk</pkg></flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user