add ebuilds

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2464 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-10-04 19:24:16 +00:00
parent 53d472c69f
commit 677e030bbd
69 changed files with 3569 additions and 0 deletions

117
app-arch/arc/ChangeLog Normal file
View File

@ -0,0 +1,117 @@
# ChangeLog for app-arch/arc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/arc/ChangeLog,v 1.35 2010/02/17 06:50:49 abcd Exp $
17 Feb 2010; Jonathan Callen <abcd@gentoo.org>
+files/arc-5.21m-darwin.patch, arc-5.21o.ebuild,
+files/arc-5.21o-interix.patch:
Add prefix patches, keywords (from overlay)
13 May 2008; Jeroen Roovers <jer@gentoo.org> arc-5.21o.ebuild:
Stable for HPPA (LuckyLuke).
22 Feb 2008; Brent Baude <ranger@gentoo.org> arc-5.21o.ebuild:
stable ppc64, bug 210983
21 Feb 2008; Santiago M. Mola <coldwind@gentoo.org> arc-5.21o.ebuild:
amd64 stable wrt bug #210983
21 Feb 2008; nixnut <nixnut@gentoo.org> arc-5.21o.ebuild:
Stable on ppc wrt bug 210983
21 Feb 2008; Raúl Porcel <armin76@gentoo.org> arc-5.21o.ebuild:
alpha/sparc/x86 stable
*arc-5.21o (16 Jan 2008)
16 Jan 2008; Samuli Suominen <drac@gentoo.org> +arc-5.21o.ebuild:
Version bump wrt #205664, thanks to Mcklaren for reporting.
*arc-5.21m-r1 (14 Jul 2007)
14 Jul 2007; Timothy Redaelli <drizzt@gentoo.org>
+files/arc-5.21m-gentoo-fbsd.patch, arc-5.21m.ebuild,
+arc-5.21m-r1.ebuild:
Revision bump:
Add ~x86-fbsd keyword with a patch by gechi.it
14 Jul 2007; Timothy Redaelli <drizzt@gentoo.org> arc-5.21m.ebuild:
Add ~x86-fbsd keyword.
21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
05 Jan 2007; Danny van Dyk <kugelfang@gentoo.org> -arc-5.21j.ebuild:
QA: Removed unused versions.
30 Sep 2005; Paul Varner <fuzzyray@gentoo.org> arc-5.21m.ebuild:
Stable on x86 (bug #107312)
30 Sep 2005; Simon Stelling <blubb@gentoo.org> arc-5.21m.ebuild:
stable on amd64 wrt bug 107312
30 Sep 2005; Michael Hanselmann <hansmi@gentoo.org> arc-5.21m.ebuild:
Stable on ppc.
30 Sep 2005; Markus Rothe <corsair@gentoo.org> arc-5.21m.ebuild:
Stable on ppc64 (bug #107312)
30 Sep 2005; Gustavo Zacarias <gustavoz@gentoo.org> arc-5.21m.ebuild:
Stable on sparc wrt #107312
30 Sep 2005; Fernando J. Pereda <ferdy@gentoo.org> arc-5.21m.ebuild:
stable on alpha wrt bug #107312
*arc-5.21m (29 Sep 2005)
29 Sep 2005; Mike Frysinger <vapier@gentoo.org>
+files/arc-5.21m-compile-cleanups.patch, -files/arc-521e-timeh.patch,
+arc-5.21m.ebuild:
Version bump to fix insecure tempfile usage #107312.
17 May 2005; Andrej Kacian <ticho@gentoo.org> arc-5.21j.ebuild:
Inherit toolchain-funcs instead of gcc eclass. Bug #92745.
28 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> arc-5.21j.ebuild:
Masked arc-5.21j.ebuild stable for ppc
24 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> arc-5.21j.ebuild:
Stable on alpha.
11 Jul 2004; Tom Gall <tgall@gentoo.org> arc-5.21j.ebuild:
stable on ppc64 bug #55409
05 Jun 2004; David Holm <dholm@gentoo.org> arc-5.21j.ebuild:
Added to ~ppc.
27 Apr 2004; Daniel Ahlberg <aliz@gentoo.org> arc-5.21j.ebuild:
Mark stable on amd64.
10 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> arc-5.21j.ebuild:
error check/messages; IUSE; don't assign default to S
31 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> arc-5.21j.ebuild:
Compile with gcc.
27 Feb 2004; Sven Blumenstein <bazik@gentoo.org> arc-5.21j.ebuild:
Stable on sparc, DEPEND of amavis.
*arc-5.21j (24 Feb 2004)
24 Feb 2004; Daniel Ahlberg <aliz@gentoo.org> arc-5.21j.ebuild:
New version that doesn't segfault. Closing #38541. Also removed old segfaulting version becuse the
version numbering scheme being different.
24 Nov 2003; Aron Griffis <agriffis@gentoo.org> arc-521e.ebuild:
Add ~alpha
*arc-521e (17 Aug 2002)
6 Sep 2002; Owen Stampflee <owen@gentoo.org> :
Doesn't work on PPC. Added -ppc to KEYWORDS.
17 Aug 2002; Daniel Ahlberg <aliz@gentoo.org> arc-521e.ebuild:
Initial import. Ebuild submitted by Enrico Morelli <morelli@cerm.unifi.it>.

7
app-arch/arc/Manifest Normal file
View File

@ -0,0 +1,7 @@
AUX arc-5.21m-darwin.patch 268 RMD160 4aa297315d7ffd1389722446fa1f49baaba0e704 SHA1 84f56094d6eaef66ca06ef00a2b55b636ea522f4 SHA256 aa52c66e2b01a85fd0add7bbdaca12e25b29c05ea77925f5275a57507d24c9a4
AUX arc-5.21m-gentoo-fbsd.patch 268 RMD160 9eb4d26102be100d0af13c4ef598bea74f06eb9d SHA1 24971a52348358329dabc4c2752ab3c14bd5e398 SHA256 7f6d5661768486a8d541ad321f5e9f069c9dcceed585d0c74dad15d5c4fb01c7
AUX arc-5.21o-interix.patch 341 RMD160 8667bf3a00be8a5a35ab7e4ffcfacc0c0675d89b SHA1 2a541abfb8378604e426a0ff8ad4a134040a3fe9 SHA256 23b65db06b533a78e3fd6f4a94da2321c75074aa2ee502c7aba9b57195c6e797
DIST arc-5.21p.tar.gz 84791 RMD160 c6a97105ab26cf1d2b6ad45d528894628cff0586 SHA1 e68e358b86a67c68e8a1cb95a840f380bfda3684 SHA256 eacf870a245f155a4ba8c6f8e0fbb2e8a267aafa157f56ba7a8cb1d74fd8b5a1
EBUILD arc-5.21p.ebuild 975 RMD160 077522358406c951bc7add2a73b65bdd681f75b4 SHA1 e6d7a4d8dec2cfe552ba3da1ec24dee2e5e4e79f SHA256 6533315cdc439352b0082e0161cf083b990e5d74676fa55102569184eb1ef5f8
MISC ChangeLog 3970 RMD160 3d955c7f06f3cf7f9efdc4a4175fc64951f14fd4 SHA1 e68e5fa7844309a7b1d5641068c2c61385f5b4c7 SHA256 65b391b3234f0db69b9ed3b47777762f24301657e45a0135c78da4346707f1e4
MISC metadata.xml 342 RMD160 284524073e2074217b082cfbf73b5d4d9df8f1b0 SHA1 f5a8ec7afbc5856bdfa19e7bcc92b94d84c6a6fd SHA256 a9a998ebf49168191ec5cef57ab27a0080cae28a865d80ecce11bac021870336

View File

@ -0,0 +1,35 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/arc/arc-5.21o.ebuild,v 1.7 2010/02/17 06:50:49 abcd Exp $
inherit eutils toolchain-funcs
DESCRIPTION="Create & extract files from DOS .ARC files"
HOMEPAGE="http://arc.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
IUSE=""
DEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P/p/m}-darwin.patch
epatch "${FILESDIR}"/${P/p/m}-gentoo-fbsd.patch
epatch "${FILESDIR}"/${P/p/o}-interix.patch
sed -i -e 's/CFLAGS = $(OPT) $(SYSTEM)/CFLAGS += $(SYSTEM)/' Makefile
}
src_compile() {
emake CC="$(tc-getCC)" OPT="${LDFLAGS}" || die "emake failed."
}
src_install() {
dobin arc marc
doman arc.1
dodoc Arc521.doc Arcinfo Changelog Readme
}

View File

@ -0,0 +1,11 @@
--- arc-5.21m/tmclock.c
+++ arc-5.21m/tmclock.c
@@ -14,7 +14,7 @@
/* Julian day number of the Unix* clock's origin, 01 Jan 1970. */
#define JD1970 2440587L
#define CENTURY 19
-#if BSD
+#if BSD || defined(__MACH_O__)
#include <sys/time.h>
#else
#include <time.h>

View File

@ -0,0 +1,12 @@
--- tmclock.c 2005-09-21 18:39:57 +0200
+++ tmclock.c.new 2007-06-16 15:58:26 +0200
@@ -18,8 +18,10 @@
#include <sys/time.h>
#else
#include <time.h>
+#ifdef timezone
extern long timezone; /* should be in <time.h>, but isn't on Sun */
#endif
+#endif
long tzone;

View File

@ -0,0 +1,12 @@
diff -ru arc-5.21o.orig/arcdos.c arc-5.21o/arcdos.c
--- arc-5.21o.orig/arcdos.c 2008-03-30 15:44:53 +0200
+++ arc-5.21o/arcdos.c 2008-03-30 15:45:51 +0200
@@ -30,7 +30,7 @@
#if UNIX
#include <sys/types.h>
#include <sys/stat.h>
-#if BSD
+#if BSD || defined(__INTERIX)
#include <sys/time.h>
#else
#include <time.h> /* Sys V. Bleah. */

View File

@ -0,0 +1,24 @@
--- /usr/portage/app-arch/arc/arc-5.21o.ebuild 2010-02-17 08:05:15.000000000 +0100
+++ arc-5.21p.ebuild 2010-10-04 17:53:17.745588053 +0200
@@ -6,7 +6,7 @@
DESCRIPTION="Create & extract files from DOS .ARC files"
HOMEPAGE="http://arc.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -18,9 +18,9 @@
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/${P/o/m}-darwin.patch
- epatch "${FILESDIR}"/${P/o/m}-gentoo-fbsd.patch
- epatch "${FILESDIR}"/${P}-interix.patch
+ epatch "${FILESDIR}"/${P/p/m}-darwin.patch
+ epatch "${FILESDIR}"/${P/p/m}-gentoo-fbsd.patch
+ epatch "${FILESDIR}"/${P/p/o}-interix.patch
sed -i -e 's/CFLAGS = $(OPT) $(SYSTEM)/CFLAGS += $(SYSTEM)/' Makefile
}

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>maintainer-needed@gentoo.org</email>
</maintainer>
<longdescription>A program that is able to create and extract files form the DOS .ARC file</longdescription>
</pkgmetadata>

227
app-arch/rar/ChangeLog Normal file
View File

@ -0,0 +1,227 @@
# ChangeLog for app-arch/rar
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/ChangeLog,v 1.63 2010/02/16 10:56:08 ssuominen Exp $
*rar-3.9.2 (16 Feb 2010)
16 Feb 2010; Samuli Suominen <ssuominen@gentoo.org> +rar-3.9.2.ebuild:
Version bump wrt #305219, thanks to Nikos Chantziaras for reporting.
27 Aug 2009; Víctor Ostorga <vostorga@gentoo.org> rar-3.9.0.ebuild:
Fixing keywords
27 Aug 2009; Víctor Ostorga <vostorga@gentoo.org> rar-3.9.0.ebuild:
Sanitizing ebuild. Thanks to Samuli Suominen for the heads up
*rar-3.9.0 (25 Aug 2009)
25 Aug 2009; Víctor Ostorga <vostorga@gentoo.org> +rar-3.9.0.ebuild:
Version bump to 3.9.0 bug #282715 . Ebuild thanks to Nikos Chantziaras
<realnc@gmail.com>
03 May 2009; Mark Loeser <halcy0n@gentoo.org> -rar-3.7.1.ebuild:
Remove old version as its dependency on virtual/libstdc++ was not
specified well, and a newer version is already stable
20 Nov 2008; Raúl Porcel <armin76@gentoo.org> rar-3.8.0.ebuild:
x86 stable wrt #247118
17 Nov 2008; Thomas Anderson <gentoofan23@gentoo.org> rar-3.8.0.ebuild:
stable amd64, bug 247118
05 Nov 2008; Jeroen Roovers <jer@gentoo.org> Manifest:
Fix digest for rar-3.7.1. Thanks to fuxxy on IRC for reporting.
*rar-3.8.0 (02 Nov 2008)
02 Nov 2008; Serkan Kaba <serkan@gentoo.org> +rar-3.8.0.ebuild:
Version bump that adds a 64 bit version. Thanks to people in #245119 for
their contributions.
21 Feb 2008; Robin H. Johnson <robbat2@gentoo.org> rar-3.7.1.ebuild:
There are some alternatives to the emul compat package at times.
29 Dec 2007; Raúl Porcel <armin76@gentoo.org> -rar-3.7.0.ebuild:
old
28 Dec 2007; Samuli Suominen <drac@gentoo.org> rar-3.7.1.ebuild:
amd64 stable
09 Nov 2007; Raúl Porcel <armin76@gentoo.org> rar-3.7.1.ebuild:
x86 stable
*rar-3.7.1 (24 Sep 2007)
24 Sep 2007; Raúl Porcel <armin76@gentoo.org> +rar-3.7.1.ebuild:
Version bump
10 Jul 2007; Raúl Porcel <armin76@gentoo.org> -rar-3.5.1.ebuild,
rar-3.6.0.ebuild, -rar-3.7.0_beta1.ebuild, rar-3.7.0.ebuild:
x86 stable and remove old
10 Jul 2007; Christoph Mende <angelos@gentoo.org> rar-3.6.0.ebuild,
rar-3.7.0.ebuild:
Stable on amd64
02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org> rar-3.5.1.ebuild,
rar-3.6.0.ebuild, rar-3.7.0_beta1.ebuild, rar-3.7.0.ebuild:
(QA) RESTRICT clean up.
*rar-3.7.0 (08 Jun 2007)
08 Jun 2007; Raúl Porcel <armin76@gentoo.org> +rar-3.7.0.ebuild:
Version bump, thanks to Kalidarn <dcecchin at gmail dot com> for reporting,
bug 180924
13 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
add herd
12 Feb 2007; Simon Stelling <blubb@gentoo.org> rar-3.7.0_beta1.ebuild:
stable on amd64; security bug 166440
12 Feb 2007; Raúl Porcel <armin76@gentoo.org> rar-3.7.0_beta1.ebuild:
x86 stable wrt security bug 166440
*rar-3.7.0_beta1 (12 Feb 2007)
12 Feb 2007; Mike Frysinger <vapier@gentoo.org> +rar-3.7.0_beta1.ebuild:
Version bump #166440 by Carsten Lohrke.
20 Oct 2006; Petteri Räty <betelgeuse@gentoo.org> rar-3.6.0.ebuild:
rar-3.6.0 will now show an ewarn if the system gcc is < 3.4 because rar
needs libstdc++.so.6. See bug #152098 for more details.
07 Oct 2006; Petteri Räty <betelgeuse@gentoo.org> rar-3.5.1.ebuild,
rar-3.6.0.ebuild:
Now depends on virtual/libstdc++-3.3 on x86. Fixes bug #139094. All versions
now depend on emul-linux-x86-compat on amd64.
*rar-3.6.0 (07 Sep 2006)
07 Sep 2006; Steve Dibb <beandog@gentoo.org> metadata.xml,
+rar-3.6.0.ebuild:
Version bump, metadata cleanup
11 Aug 2006; <solar@gentoo.org> rar-3.5.1.ebuild:
- binary only packages that depend on glibc must have explicit deps of glibc
15 Jul 2006; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
Remove aliz from metadata.xml as he's retired.
22 Jun 2006; Simon Stelling <blubb@gentoo.org> rar-3.5.1.ebuild:
add RESTRICT=nostrip, bug 137611
31 May 2006; <solar@gentoo.org> -rar-3.3.0.ebuild, -rar-3.4.0.ebuild,
-rar-3.4.1.ebuild:
- security/qa cleanup. flush old/vuln ebuilds
10 Nov 2005; Luis Medinas <metalgod@gentoo.org> rar-3.5.1.ebuild:
Marked Stable on amd64. Bug #111926.
10 Nov 2005; Mark Loeser <halcy0n@gentoo.org> rar-3.5.1.ebuild:
Stable on x86; bug #111926
*rar-3.5.1 (09 Nov 2005)
09 Nov 2005; Mike Frysinger <vapier@gentoo.org> +rar-3.5.1.ebuild:
Version bump #111926 by Jared Breland.
*rar-3.4.1 (07 Jan 2005)
07 Jan 2005; Daniel Ahlberg <aliz@gentoo.org> +rar-3.4.1.ebuild:
Version bump, closing #76975.
01 Jan 2005; Daniel Ahlberg <aliz@gentoo.org> rar-3.2.0.ebuild,
rar-3.4.0.ebuild:
Cleanup and unmask.
*rar-3.4.0 (29 Sep 2004)
29 Sep 2004; Daniel Ahlberg <aliz@gentoo.org> rar-3.4.0.ebuild:
Version bump, closing #65360.
12 Aug 2004; Daniel Ahlberg <aliz@gentoo.org> rar-3.3.0.ebuild:
Unmasked on x86 and amd64.
20 Jul 2004; Robin H. Johnson <robbat2@gentoo.org> rar-3.3.0.ebuild:
Upstream makefile now ships with a single target: 'install' which
automatically runs when you do make as implied by the default src_compile().
This breaks sandbox, so force src_compile() to be empty.
27 Apr 2004; Daniel Ahlberg <aliz@gentoo.org> rar-3.0.ebuild,
rar-3.1.0.ebuild, rar-3.1.1.ebuild, rar-3.2.0.ebuild, files/10rar:
Added IUSE, removed some old ebuilds.
*rar-3.3.0 (27 Apr 2004)
27 Apr 2004; Daniel Ahlberg <aliz@gentoo.org> rar-3.3.0.ebuild:
Version bump. Closing #49036.
02 Jan 2004; Daniel Ahlberg <aliz@gentoo.org> rar-3.2.0.ebuild :
Updated dependencies and adding amd64 keyword. Closing #36445.
*rar-3.2.0 (31 May 2003)
31 May 2003; Martin Holzer <mholzer@gentoo.org> rar-3.2.0.ebuild:
Version bumped.
*rar-3.1.1 (05 Feb 2003)
05 Feb 2003; Mike Frysinger <vapier@gentoo.org> :
Version bump #15101 and removed env.d file in favor of symlinks in /opt/bin.
*rar-3.1.0 (23 Dec 2002)
23 Dec 2002; Seemant Kulleen <seemant@gentoo.org> rar-3.1.0.ebuild
files/digest-rar-3.1.0 :
Version bump thanks to: gentoo-bugzilla@hummelink.xs4all.nl (Ronald
Hummelink) in bug #12557.
*rar-3.0 (29 May 2002)
23 Dec 2002; Seemant Kulleen <seemant@gentoo.org> rar-3.0.ebuild :
Added lib-compat as a dependency (especially for gcc-3 systems). Closes
bug #12557 by gentoo-bugzilla@hummelink.xs4all.nl (Ronald Hummelink)
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
05 Dec 2002; Jon Nall <nall@gentoo.org> rar-3.0.ebuild :
set -sparc -alpha based. removed sparc64 as 32-bit sparc
userland is converting to sparc
31 Oct 2002; Mark Guertin <gerk@gentoo.org> rar-3.0.ebuild :
set -ppc in keywords, this provides an x86 binary that
is not executable.
20 Jul 2002; Doug Goldstein <cardoe@gentoo.org> rar-3.0.ebuild
Added missing KEYWORDS
29 May 2002; Seemant Kulleen <seemant@gentoo.org> rar-3.0.ebuild
files/digest-rar-3.0 :
Version bump to newest stable. steve_flack@ntlworld.com (Steve Flack) in
bug # 3123 gave in the update.
*rar-3.0_beta7 (12 May 2002)
20 Jul 2002; Doug Goldstein <cardoe@gentoo.org> rar-3.0_beta7.ebuild
Added missing KEYWORDS
12 May 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog,
rar-3.0_beta7.ebuild, files/digest-rar-3.0_beta7 :
Version bump to new beta.
*rar-3.0_beta5 (14 Apr 2002)
14 Apr 2002; Matthew Kennedy <mkennedy@gentoo.org> ChangeLog,
rar-3.0_beta5.ebuild, files/10rar, files/digest-rar-3.0_beta5 :
Moved RAR into /opt since it is a binary-only item (proprietary, no
source). See also bug #1662.
*rar-2.90 (1 Feb 2002)
1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

14
app-arch/rar/Manifest Normal file
View File

@ -0,0 +1,14 @@
DIST rarlinux-3.8.0.tar.gz 791915 RMD160 d2d706104d8ae90ed8ebf38f007d4017652f605b SHA1 352a1601d0b2dc114a1deaca482ccab41cf09609 SHA256 d81a172ebe982254ef913f251c23daf94af15508cb38fb5430c557f6f3718b0f
DIST rarlinux-3.9.0.tar.gz 831656 RMD160 d46d01b537b3e80f818c16d2b7b7b0a64b5de048 SHA1 4c1bfcb38df987a23a45483039b5b313fef1fb80 SHA256 b80936dc6e09ca57cfe6a98bfca32ac379b96cf475879277fc8d4d15ebdd84a9
DIST rarlinux-3.9.2.tar.gz 833777 RMD160 d106f34981e02c1659b899ec5a6e456ce4fe7d35 SHA1 515da82f20d0834a47e716b734524cf206cfb8c8 SHA256 71997f9cf3325797103bab7927e073d62680432c1177bb176f8dc492650c3a31
DIST rarlinux-3.9.3.tar.gz 833828 RMD160 e6b80e045aa101da82a5776a4bb0be3e33e8b0f8 SHA1 7dee8a086e663ff3a79d99a22f9ce910e49de251 SHA256 55122286a2a72ccc2b866c5a0e415c05638dfe99cebb5f2ef036784387a8eff8
DIST rarlinux-x64-3.8.0.tar.gz 821986 RMD160 e4347244c9fe188c4a225f759e77461fe691884f SHA1 103cf8b508feda5f7cadd98bbafde6c8ec134a88 SHA256 faeb1c1f12151a3bc0aa2826ddcc6eef96ddf67cc4cd4fb6b266a788bc6960c6
DIST rarlinux-x64-3.9.0.tar.gz 869180 RMD160 599b0bbedfc3b98cea9d2a76a439df5cefb8d7d7 SHA1 0337b0ffd1a5985778463bed74a0bed15ffa1970 SHA256 927de1c868c944a3b0f6cdb22843a75c0884ebbb73eb5009c64550d67d215d09
DIST rarlinux-x64-3.9.2.tar.gz 870117 RMD160 ae5c329f94a32338a0f019d456b67b746b07fd34 SHA1 bfac9ac2da8d91aa8ea3bf1d33ea67b8a2542d66 SHA256 f65bd34da100d4367d162918ebf517c5ecb2bfa47f045030a265da9076f14df0
DIST rarlinux-x64-3.9.3.tar.gz 870541 RMD160 571d867509f43b06fb4fa12ddd416b55e05b8ea3 SHA1 eb1e891afd9fdbe08b4246a751f3fb2d606b2b24 SHA256 d4abf243420acb570f8a422812c7e1408a4788832eabc3254fa5a256ea17e3b8
EBUILD rar-3.8.0.ebuild 917 RMD160 8bfcd2bc7a42164f13794d3a4ddb0ca55bb7556b SHA1 b6291214b6eb9bea9bb92d7d4ea6508d83846f89 SHA256 ad5d5bccfd115f3e184af7360b3b280e7fdee4dac08657ebf3db11f8f452438a
EBUILD rar-3.9.0.ebuild 1018 RMD160 529386767f9910f3ec118990d1a36c2199d85002 SHA1 defb1f794437adee9c503baf452fb3b66a64f813 SHA256 c90ed5a29d34bdbbd7f4b211d6a6c66a2fa4033bca5d6044d6cd0d984dd29745
EBUILD rar-3.9.2.ebuild 964 RMD160 82f6d9ff03639344de90dba8ade3da47603dc7cb SHA1 7f93fd62112dced7dcf195fe1ee1e26aa1d14fbc SHA256 506f5288d02682bee78f9429c6b9ea8d6881eaf4da3ef3fa7173280c8f457809
EBUILD rar-3.9.3.ebuild 964 RMD160 82f6d9ff03639344de90dba8ade3da47603dc7cb SHA1 7f93fd62112dced7dcf195fe1ee1e26aa1d14fbc SHA256 506f5288d02682bee78f9429c6b9ea8d6881eaf4da3ef3fa7173280c8f457809
MISC ChangeLog 8000 RMD160 1133c2a066accfc79c98cd4fff4a149f7122a1aa SHA1 f5c352c533883887ed0df33bbd57bc4e301451f7 SHA256 a4a5791c4dbf1ddf5a1168c6ea772c029aa860d1df5324b1ac00a9a1ffe4e835
MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a

View 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>maintainer-needed@gentoo.org</email>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,36 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/rar-3.8.0.ebuild,v 1.3 2008/11/20 10:16:44 armin76 Exp $
inherit toolchain-funcs
DESCRIPTION="RAR compressor/uncompressor"
HOMEPAGE="http://www.rarsoft.com/"
SRC_URI="x86? ( http://www.rarlab.com/rar/rarlinux-${PV}.tar.gz )
amd64? ( http://www.rarlab.com/rar/rarlinux-x64-${PV}.tar.gz )"
LICENSE="RAR"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE=""
RESTRICT="strip"
RDEPEND=">=sys-libs/glibc-2.4"
S=${WORKDIR}/${PN}
src_compile() { :; }
src_install() {
into /opt/rar
dobin rar unrar || die "dobin rar unrar"
insinto /opt/rar/lib
doins default.sfx || die "default.sfx"
insinto /opt/rar/etc
doins rarfiles.lst || die "rarfiles.lst"
dodoc *.{txt,diz}
dodir /opt/bin
dosym ../rar/bin/rar /opt/bin/rar
dosym ../rar/bin/unrar /opt/bin/unrar
prepalldocs
}

View File

@ -0,0 +1,39 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/rar-3.9.0.ebuild,v 1.3 2009/08/27 02:34:36 vostorga Exp $
DESCRIPTION="RAR compressor/uncompressor"
HOMEPAGE="http://www.rarsoft.com/"
SRC_URI="x86? ( http://www.rarlab.com/rar/rarlinux-${PV}.tar.gz )
amd64? ( http://www.rarlab.com/rar/rarlinux-x64-${PV}.tar.gz )"
LICENSE="RAR"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
RDEPEND=">=sys-libs/glibc-2.4"
S=${WORKDIR}/${PN}
QA_DT_HASH="opt/rar/lib/default.sfx
opt/rar/bin/unrar
opt/rar/bin/rar"
QA_PRESTRIPPED="opt/rar/lib/default.sfx
opt/rar/bin/unrar
opt/rar/bin/rar"
src_compile() { :; }
src_install() {
into /opt/rar
dobin rar unrar || die "dobin rar unrar"
insinto /opt/rar/lib
doins default.sfx || die "default.sfx"
insinto /opt/rar/etc
doins rarfiles.lst || die "rarfiles.lst"
dodoc *.txt
dodir /opt/bin
dosym ../rar/bin/rar /opt/bin/rar
dosym ../rar/bin/unrar /opt/bin/unrar
}

View File

@ -0,0 +1,39 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/rar-3.9.2.ebuild,v 1.1 2010/02/16 10:56:08 ssuominen Exp $
DESCRIPTION="RAR compressor/uncompressor"
HOMEPAGE="http://www.rarsoft.com/"
SRC_URI="x86? ( http://www.rarlab.com/rar/rarlinux-${PV}.tar.gz )
amd64? ( http://www.rarlab.com/rar/rarlinux-x64-${PV}.tar.gz )"
LICENSE="RAR"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
RDEPEND=">=sys-libs/glibc-2.4"
S=${WORKDIR}/${PN}
QA_DT_HASH="opt/rar/lib/default.sfx
opt/rar/bin/unrar
opt/rar/bin/rar"
QA_PRESTRIPPED="opt/rar/lib/default.sfx
opt/rar/bin/unrar
opt/rar/bin/rar"
src_compile() { :; }
src_install() {
into /opt/rar
dobin rar unrar || die
insinto /opt/rar/lib
doins default.sfx || die
insinto /opt/rar/etc
doins rarfiles.lst || die
dodoc *.txt
dodir /opt/bin
dosym ../rar/bin/rar /opt/bin/rar
dosym ../rar/bin/unrar /opt/bin/unrar
}

View File

@ -0,0 +1,39 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/rar-3.9.2.ebuild,v 1.1 2010/02/16 10:56:08 ssuominen Exp $
DESCRIPTION="RAR compressor/uncompressor"
HOMEPAGE="http://www.rarsoft.com/"
SRC_URI="x86? ( http://www.rarlab.com/rar/rarlinux-${PV}.tar.gz )
amd64? ( http://www.rarlab.com/rar/rarlinux-x64-${PV}.tar.gz )"
LICENSE="RAR"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE=""
RDEPEND=">=sys-libs/glibc-2.4"
S=${WORKDIR}/${PN}
QA_DT_HASH="opt/rar/lib/default.sfx
opt/rar/bin/unrar
opt/rar/bin/rar"
QA_PRESTRIPPED="opt/rar/lib/default.sfx
opt/rar/bin/unrar
opt/rar/bin/rar"
src_compile() { :; }
src_install() {
into /opt/rar
dobin rar unrar || die
insinto /opt/rar/lib
doins default.sfx || die
insinto /opt/rar/etc
doins rarfiles.lst || die
dodoc *.txt
dodir /opt/bin
dosym ../rar/bin/rar /opt/bin/rar
dosym ../rar/bin/unrar /opt/bin/unrar
}

View File

@ -0,0 +1,156 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.1.26.ebuild,v 1.1 2009/07/18 22:15:36 vapier Exp $
EAPI="2"
inherit multilib eutils
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
inherit git
SRC_URI=""
KEYWORDS=""
else
MY_P="${PN}-${PV/_/-}"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
S=${WORKDIR}/${MY_P}
fi
GV="0.9.1"
DESCRIPTION="free implementation of Windows(tm) on Unix"
HOMEPAGE="http://www.winehq.org/"
SRC_URI="${SRC_URI}
gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="alsa cups dbus esd +gecko gnutls hal jack jpeg lcms ldap nas ncurses +opengl oss png samba scanner ssl win64 +X xcomposite xinerama xml"
RESTRICT="test" #72375
RDEPEND=">=media-libs/freetype-2.0.0
media-fonts/corefonts
dev-lang/perl
dev-perl/XML-Simple
ncurses? ( >=sys-libs/ncurses-5.2 )
jack? ( media-sound/jack-audio-connection-kit )
dbus? ( sys-apps/dbus )
gnutls? ( net-libs/gnutls )
hal? ( sys-apps/hal )
X? (
x11-libs/libXcursor
x11-libs/libXrandr
x11-libs/libXi
x11-libs/libXmu
x11-libs/libXxf86vm
x11-apps/xmessage
)
alsa? ( media-libs/alsa-lib )
esd? ( media-sound/esound )
nas? ( media-libs/nas )
cups? ( net-print/cups )
opengl? ( virtual/opengl )
jpeg? ( media-libs/jpeg )
ldap? ( net-nds/openldap )
lcms? ( media-libs/lcms )
samba? ( >=net-fs/samba-3.0.25 )
xml? ( dev-libs/libxml2 dev-libs/libxslt )
scanner? ( media-gfx/sane-backends )
ssl? ( dev-libs/openssl )
png? ( media-libs/libpng )
win64? ( >=sys-devel/gcc-4.4.0 )
!win64? ( amd64? (
X? (
>=app-emulation/emul-linux-x86-xlibs-2.1
>=app-emulation/emul-linux-x86-soundlibs-2.1
)
app-emulation/emul-linux-x86-baselibs
>=sys-kernel/linux-headers-2.6
) )"
DEPEND="${RDEPEND}
X? (
x11-proto/inputproto
x11-proto/xextproto
x11-proto/xf86vidmodeproto
)
sys-devel/bison
sys-devel/flex"
src_unpack() {
if [[ ${PV} == "9999" ]] ; then
git_src_unpack
else
unpack ${MY_P}.tar.bz2
fi
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
epatch "${FILESDIR}"/acceptex.patch
epatch "${FILESDIR}"/dinput.patch
epatch "${FILESDIR}"/schannel.patch
epatch "${FILESDIR}"/revert-ntdll.patch
epatch "${FILESDIR}"/ddraw-1.1.24.diff
epatch "${FILESDIR}"/0001-dib-engine-hook-the-engine-bet.patch
epatch "${FILESDIR}"/0002-dib-engine-initial-pass-throug.patch
epatch "${FILESDIR}"/0003-dib-engine-fork-ddb-dib-behavi.patch
epatch "${FILESDIR}"/0004-dib-engine-implement-most-engi.patch
epatch "${FILESDIR}"/0005-dib-engine-implement-alphablen.patch
epatch "${FILESDIR}"/0006-dib-engine-add-clipping-on-xxx.patch
epatch "${FILESDIR}"/0007-dib-engine-implement-polygon.patch
epatch "${FILESDIR}"/0008-dib-engine-fixes-clipping-text.patch
epatch "${FILESDIR}"/0009-dib-engine-fixes-against-wine-.patch
epatch "${FILESDIR}"/0010-dib-engine-introduction-of-bit.patch
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
}
src_configure() {
export LDCONFIG=/bin/true
use amd64 && ! use win64 && multilib_toolchain_setup x86
# XXX: should check out these flags too:
# audioio capi fontconfig freetype gphoto
econf \
--sysconfdir=/etc/wine \
$(use_with alsa) \
$(use_with cups) \
$(use_with esd) \
$(use_with gnutls) \
$(! use dbus && echo --without-hal || use_with hal) \
$(use_with jack) \
$(use_with jpeg) \
$(use_with lcms cms) \
$(use_with ldap) \
$(use_with nas) \
$(use_with ncurses curses) \
$(use_with opengl) \
$(use_with oss) \
$(use_with png) \
$(use_with scanner sane) \
$(use_with ssl openssl) \
$(use_enable win64) \
$(use_with X x) \
$(use_with xcomposite) \
$(use_with xinerama) \
$(use_with xml) \
$(use_with xml xslt) \
|| die "configure failed"
emake -j1 depend || die "depend"
}
src_compile() {
emake all || die "all"
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc ANNOUNCE AUTHORS README
if use gecko ; then
insinto /usr/share/wine/gecko
doins "${DISTDIR}"/wine_gecko-${GV}.cab || die
fi
}

View File

@ -0,0 +1,156 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.1.26.ebuild,v 1.1 2009/07/18 22:15:36 vapier Exp $
EAPI="2"
inherit multilib eutils
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://source.winehq.org/git/wine.git"
inherit git
SRC_URI=""
KEYWORDS=""
else
MY_P="${PN}-${PV/_/-}"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
S=${WORKDIR}/${MY_P}
fi
GV="0.9.1"
DESCRIPTION="free implementation of Windows(tm) on Unix"
HOMEPAGE="http://www.winehq.org/"
SRC_URI="${SRC_URI}
gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE="alsa cups dbus esd +gecko gnutls hal jack jpeg lcms ldap nas ncurses +opengl oss png samba scanner ssl win64 +X xcomposite xinerama xml"
RESTRICT="test" #72375
RDEPEND=">=media-libs/freetype-2.0.0
media-fonts/corefonts
dev-lang/perl
dev-perl/XML-Simple
ncurses? ( >=sys-libs/ncurses-5.2 )
jack? ( media-sound/jack-audio-connection-kit )
dbus? ( sys-apps/dbus )
gnutls? ( net-libs/gnutls )
hal? ( sys-apps/hal )
X? (
x11-libs/libXcursor
x11-libs/libXrandr
x11-libs/libXi
x11-libs/libXmu
x11-libs/libXxf86vm
x11-apps/xmessage
)
alsa? ( media-libs/alsa-lib )
esd? ( media-sound/esound )
nas? ( media-libs/nas )
cups? ( net-print/cups )
opengl? ( virtual/opengl )
jpeg? ( media-libs/jpeg )
ldap? ( net-nds/openldap )
lcms? ( media-libs/lcms )
samba? ( >=net-fs/samba-3.0.25 )
xml? ( dev-libs/libxml2 dev-libs/libxslt )
scanner? ( media-gfx/sane-backends )
ssl? ( dev-libs/openssl )
png? ( media-libs/libpng )
win64? ( >=sys-devel/gcc-4.4.0 )
!win64? ( amd64? (
X? (
>=app-emulation/emul-linux-x86-xlibs-2.1
>=app-emulation/emul-linux-x86-soundlibs-2.1
)
app-emulation/emul-linux-x86-baselibs
>=sys-kernel/linux-headers-2.6
) )"
DEPEND="${RDEPEND}
X? (
x11-proto/inputproto
x11-proto/xextproto
x11-proto/xf86vidmodeproto
)
sys-devel/bison
sys-devel/flex"
src_unpack() {
if [[ ${PV} == "9999" ]] ; then
git_src_unpack
else
unpack ${MY_P}.tar.bz2
fi
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726
epatch "${FILESDIR}"/acceptex.patch
epatch "${FILESDIR}"/dinput.patch
epatch "${FILESDIR}"/schannel.patch
epatch "${FILESDIR}"/revert-ntdll.patch
epatch "${FILESDIR}"/ddraw-1.1.24.diff
epatch "${FILESDIR}"/0001-dib-engine-hook-the-engine-bet.patch
epatch "${FILESDIR}"/0002-dib-engine-initial-pass-throug.patch
epatch "${FILESDIR}"/0003-dib-engine-fork-ddb-dib-behavi.patch
epatch "${FILESDIR}"/0004-dib-engine-implement-most-engi.patch
epatch "${FILESDIR}"/0005-dib-engine-implement-alphablen.patch
epatch "${FILESDIR}"/0006-dib-engine-add-clipping-on-xxx.patch
epatch "${FILESDIR}"/0007-dib-engine-implement-polygon.patch
epatch "${FILESDIR}"/0008-dib-engine-fixes-clipping-text.patch
epatch "${FILESDIR}"/0009-dib-engine-fixes-against-wine-.patch
epatch "${FILESDIR}"/0010-dib-engine-introduction-of-bit.patch
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
sed -i '/^MimeType/d' tools/wine.desktop || die #117785
}
src_configure() {
export LDCONFIG=/bin/true
use amd64 && ! use win64 && multilib_toolchain_setup x86
# XXX: should check out these flags too:
# audioio capi fontconfig freetype gphoto
econf \
--sysconfdir=/etc/wine \
$(use_with alsa) \
$(use_with cups) \
$(use_with esd) \
$(use_with gnutls) \
$(! use dbus && echo --without-hal || use_with hal) \
$(use_with jack) \
$(use_with jpeg) \
$(use_with lcms cms) \
$(use_with ldap) \
$(use_with nas) \
$(use_with ncurses curses) \
$(use_with opengl) \
$(use_with oss) \
$(use_with png) \
$(use_with scanner sane) \
$(use_with ssl openssl) \
$(use_enable win64) \
$(use_with X x) \
$(use_with xcomposite) \
$(use_with xinerama) \
$(use_with xml) \
$(use_with xml xslt) \
|| die "configure failed"
emake -j1 depend || die "depend"
}
src_compile() {
emake all || die "all"
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc ANNOUNCE AUTHORS README
if use gecko ; then
insinto /usr/share/wine/gecko
doins "${DISTDIR}"/wine_gecko-${GV}.cab || die
fi
}

View File

@ -0,0 +1,44 @@
AUX boost-undefined-references.diff 409 RMD160 0a2ef66416f3b5f27f5acef23da21e77c619d81b SHA1 bdceb87ef22cb795836dd53d5946e4f7e26cd35a SHA256 f280a5bfe4206465cb00ebd97abbb3dff42136b6d4e59265f42153c22bf5fa07
AUX gcc45-buildfix.diff 840 RMD160 fcb6c08ee67b61f60641d641daa329d5fd17772b SHA1 6344952a2d0d9690d4f864b3273713f95068eabd SHA256 2d5b95e94f9b9e95c97876db669aabe523d01194c9f7ce2f0a3ccb9bde9221bc
AUX gentoo-3.2.99.1.diff 1599 RMD160 0d839728f2a9c28a3e7adc22b27b7f48b661f3a4 SHA1 734ad3392effaaf4007f88fc110037b41d0484bc SHA256 f471da49a10042fc9066a1cd8b0550983c1446a9304b8acbeef9a3ab8393ac1e
AUX gentoo-pythonpath.diff 173 RMD160 dacec2c40bd4bd8e2c07fb849afb6f3fe3643371 SHA1 1430513326652f7b09eb04ee8f420532ac60b5c2 SHA256 de9316222af0f197a11041ba1105bfd070ba31cbcc1a2a212641d911b728ed5a
AUX neon-remove-SSPI-support.diff 1091 RMD160 5dee3324b22b9c8d9f14b0e7998695a212c046a8 SHA1 e8541e791a03836d986d8e0db0d488570bb6ab36 SHA256 90d88d2fb96a0e82afe6b55e77c478ee9b1925e14dfbc998c2af0ef05edfd508
AUX npwrap-fix-nogtk.diff 382 RMD160 557fe38a19d9a0e4505af34bed4033884f1075ab SHA1 209f73c706adabb1e2b2b3e4bc706f9afbbee172 SHA256 ad64cea66e4e4d9b351a44b3ed2774484baaaebe5e37ebea3121f4a0981d231f
AUX ooo-env_log.diff 617 RMD160 480edf4962e8d55f82a4103297c3cc10a1bd4f3e SHA1 b655566079c408e72f1046262fe269ba8bf66040 SHA256 efb99da32fcc2029418b4c4c080ccc97cb622fcc24a6a6dd69d8cc5508c54bf1
AUX qt-use-native-backend.diff 391 RMD160 602d444e9768c1bb0a8f2ad36567c8ab571bc569 SHA1 148a3431222e7405eb16c42330da7f0a2f01e1eb SHA256 f3ba5e9390f47d42acb955c04f5ef62a5b62a5776bd9d5d3226d5034fafe6be9
DIST Sun_ODF_Template_Pack_de.oxt 4953135 RMD160 2d7ef049b2ac625ce9d952d097ed09baab0cc510 SHA1 9ae5905490a662c25cd3014023eec271c0b0d46e SHA256 7b63da46eb4f168a3406b38643ad2c29559f63882112037eea958819b380a32a
DIST Sun_ODF_Template_Pack_en-US.oxt 4997184 RMD160 f7040f83aeb60355d80c42434e60d236a8875753 SHA1 58c98de9c629aae878a58c2775b8546aa78fb04c SHA256 ba443e3dc988d64e239865a0a7e11b62125212a1049b7a5d866955b235d7f195
DIST Sun_ODF_Template_Pack_es.oxt 4972619 RMD160 3b8bf592b34256969421472b6ca492479d10d145 SHA1 2b33b91d536c39dba2ec5504f68d72c001712782 SHA256 0a00c795f4af10919d981e7409895198c9f09d2ab05f9e578a1e8428071f5bc3
DIST Sun_ODF_Template_Pack_fr.oxt 4970438 RMD160 44de71cb028dde89836bfd1167b084dea54922e5 SHA1 3908eee06c17154c2cff6c9f175a7a8dad258e47 SHA256 4c8b739255122c989f00b3b706d99b93fa1c4cf428d61fd550994093aaca8fb5
DIST Sun_ODF_Template_Pack_hu.oxt 6144654 RMD160 f9bf3fc5a078f4cd357f766c3e750dcf05407a2d SHA1 42c9235d7f876645ea6553770e7572c1b0b8609a SHA256 4b069e14609440d1743f4f898040aa6ffa12699ce1882a3f98e984facc1835d8
DIST Sun_ODF_Template_Pack_it.oxt 4960369 RMD160 9d8881f645f409599b7a5e14cb4b6842e5883383 SHA1 85c7670e182d5ed5aeb2d9bfe20d161c4ac824c8 SHA256 6e87462d76954698ffcbcf4145fd13ab9c41520026160363fd6e97f7cad3ae05
DIST biblio.tar.bz2 6000 RMD160 d6d74ed50fd12ab1b7363e1611aa5bae5a8b19d6 SHA1 5a12014afa75ecb51b9688497450115d64f1c167 SHA256 c0410a80028c8c0a6c28f4727e89b632875a128c9fccc17102f18773f0ea620b
DIST extras-3.tar.bz2 130640 RMD160 c6b6efb20cbec79b48bd21046f93959367fe1bd4 SHA1 fb7d85a9827cd1280766db2641fb1896bd5d1c7b SHA256 6cf85181c21dadda4fa4d8fbc227012d63a2558642195a46b0ae2ab144facce8
DIST libreoffice-artwork-3.2.99.1.tar.bz2 22364562 RMD160 715ac5bdc2fb61f4e3f26bf53a14dcd4d15bdf36 SHA1 42066401ccea56752bc2701fa5166ee33334775e SHA256 ee498f2c4ba06047885000cc0d0924d202be9d3393afe39bb9eaba6eeeab5266
DIST libreoffice-base-3.2.99.1.tar.bz2 2097276 RMD160 bedab97c61c83e9b41948c32be7da6159497c8cd SHA1 aa78a8bf0d44681327ec56eb95f47d09bf10d5cd SHA256 fb32937ba309a311e29c146253a5f479426cffc35c838f9264d5c21f6f76e25a
DIST libreoffice-bootstrap-3.2.99.1.tar.bz2 2679321 RMD160 e7dab3b7862d4b5df1c806809fa79e3d3ae01532 SHA1 0bb33f173f26834a56fc4609be04b561008657cc SHA256 cab47dece0d32599fcbe09063ad55b4527790c2a28825c246b3e4b76c18f03cf
DIST libreoffice-build-3.2.99.1.tar.gz 13215683 RMD160 13c3253aa9cce0eb33dc46a5acdcc3e63778ab9f SHA1 9c22674f72b76c93cf489505a9fdf9138da0969a SHA256 cd1340f98e099a944ba99a6eb8baa4819a4fa5b45c9b9f59fff1f9746197055d
DIST libreoffice-calc-3.2.99.1.tar.bz2 9386130 RMD160 f94382cd1a7fbcb68683041accd004c0a831ebf0 SHA1 18d1146e0a78e1d8276303b4def00714e3f93e47 SHA256 c24f663f57eb32f233313267f91b1bea70cad72b7d691473567d60e28f289da9
DIST libreoffice-components-3.2.99.1.tar.bz2 5087496 RMD160 fb6b0640b21c2f634db724bb918f14ab1db09fb7 SHA1 e9337b40965ca4b835ee4199f0e1f8fe7681c198 SHA256 09a6033e15988f6a78fc03189028fc1228edfb089f18bdd5ac37376083d99b71
DIST libreoffice-extensions-3.2.99.1.tar.bz2 4222229 RMD160 d99e567f56fc49d307d459e5abebea9417833ec0 SHA1 3b84214eafc53ae6b03103e5d9f80251c8c9a401 SHA256 8412b07e1694a9992a5262cf3299fbc7da1bdf856f9179d46dc970cb71039458
DIST libreoffice-extras-3.2.99.1.tar.bz2 46312670 RMD160 d245095e8d25933b42d456939e1efeb0b434aff9 SHA1 f481166ef05612a95dc2aa588f0f8cb4c9b169d0 SHA256 1089e5aec62e5dabe2bb986b5261b7f99c4c6a9a7aaecc6a669e7c543e6dae68
DIST libreoffice-filters-3.2.99.1.tar.bz2 11608404 RMD160 a8a72145fe2c340c3efb157504bbc1d6fff03b59 SHA1 e52bbed3ba3e0f1466ab4b359d7e9ad65ce23dec SHA256 3a8a1156a4ce91c4f72b5df843abc59025256cc7f925a9cc5bccc677b9734c60
DIST libreoffice-help-3.2.99.1.tar.bz2 1916317 RMD160 76ce9709cce8626da4c7862b7b4f2fa9a2f29589 SHA1 5a6d891ab3de4af49651c95f527895fb37324cb3 SHA256 2bdc06b5b85db1e1fedb93270dd4bd5f2ea7da2a97049e65da75104d07b80a65
DIST libreoffice-impress-3.2.99.1.tar.bz2 2569552 RMD160 cf5a25606bdb873d9a8f2eb2d5995b873e5256b8 SHA1 2b7c4db0bf713d0c7759099678ff48cd8f578a4b SHA256 5c1342b317291fd1e7d1870310ccdad065204568cea006b1156d11b95e771df8
DIST libreoffice-l10n-3.2.99.1.tar.bz2 78321565 RMD160 665162bdf3b321530edc3dbd5a4106d3e4dd66f4 SHA1 da32e11367a2b30f2eb3f25770a75b6b412fa26c SHA256 003ad9173d4551b6ae321e2c01c24dcbdafc11e974dc3faf527d49c9c034d40b
DIST libreoffice-libs-core-3.2.99.1.tar.bz2 17100616 RMD160 5e8cb10eb9b633077f0bd572ede8c1d878b6bd3c SHA1 88c28fdeaa3c989098815bc36d8f5f90d398fd5d SHA256 789cc1da153a7b958a28f5e849e27e551c05c5d7d7cddb48483b51906cd83c17
DIST libreoffice-libs-extern-3.2.99.1.tar.bz2 808309 RMD160 b8b4dba505315f9b2dc0af62a50b913cef9373f1 SHA1 d167125c1c40bff757375bb46def61a07d6eea03 SHA256 b7c61148689a1ce54f2bdaf7acbaa7efe80010070f443db0b713b850132c78aa
DIST libreoffice-libs-extern-sys-3.2.99.1.tar.bz2 38493824 RMD160 3de5ade9b4329b49d7af44d4f7e7674b01406430 SHA1 643237f89370ce59d5378ceff492c69bf0ce1e90 SHA256 1533dd49fd1f2623f8581f9ba256d0e85bf6dd9236c711435b786fd1916253dd
DIST libreoffice-libs-gui-3.2.99.1.tar.bz2 11396984 RMD160 89f071d17745b0fc8a5a65992582ecc05cbc6845 SHA1 07807d2bda6a056387b171ddf025a7cb7a22d7f3 SHA256 e20c603817ea01591d2423902af1aef39ab0ea14b36f640ae05cd1dcdd3e1378
DIST libreoffice-postprocess-3.2.99.1.tar.bz2 41381 RMD160 26f057a5c1ca966d4cdbd0ea9a8918a7d9ae4206 SHA1 b1a89e95774dd9a2993c218f6f2b893194ff2453 SHA256 4f0dd079db8f1cf9ae33aa55f5e460579f1f157b125edeee20891ffb36ced9fe
DIST libreoffice-sdk-3.2.99.1.tar.bz2 1706263 RMD160 45c74a6fc8681e8f134e14ea2563689f3c3386aa SHA1 665040404a7c81a6c7b7c74cc8aa2a1378b29d37 SHA256 6bdb46dd362535df6b053ed2a45852666fe0a8a0b9567562014f9922f616b315
DIST libreoffice-testing-3.2.99.1.tar.bz2 50788204 RMD160 e3b343321a54c46362dd4744f3fb31bdd5cadad3 SHA1 d8e25524224aeb78b21fbf098197d7af835d1422 SHA256 a564b5146521cd15a1cae53193393683b9b2111eb5e54abbaaf56e06793ba9a6
DIST libreoffice-ure-3.2.99.1.tar.bz2 6152768 RMD160 721ed9ccc594eb4c4421936c589b5c51bae4dc2e SHA1 ecc3a16c73a62900475a6b2afe306033d2354f9f SHA256 64a9930e226f2796a94c79baade88db3afc28aa845ccfc5d172208642e4cccbb
DIST libreoffice-writer-3.2.99.1.tar.bz2 6759647 RMD160 0b2671d17f0236dd1fad7b91eac526157db1fb5f SHA1 1ca543652935dbec9acc44a0dfe32cadd1ee0343 SHA256 9f7d3c62fb5b4dc358a486ba7c1c2550867129982b3bdbdd27f9e4c5b824b1ec
DIST libwps-0.1.2.tar.gz 413360 RMD160 a3f60fed70ab0c4f34091c10f4eb4a421cb87d44 SHA1 3da402f74a6296425e88d0ab1cf197a5927288d6 SHA256 e8f03fc83f7ddd3976adb61f693eaeebefee852655875816e5f945e0efabb2b1
DIST lp_solve_5.5.0.12_source.tar.gz 787446 RMD160 8cd5299543e07d2bf1819297fe0a18400b18d12b SHA1 ffa7e52c18ffacef7ed3dfe535f4221e853068df SHA256 bc26d07fe39ae50264e15ee54dbbcf4cb1fe6ecd2fef10142be5bdd38947f193
DIST mdds_0.3.0.tar.bz2 43041 RMD160 76d894e8f083d03ef1795e9c4c764c4b20c90a3a SHA1 3a1d839b9a36287074c3724fa16ac1e04d343fbe SHA256 4d28548468bb63edf630ebfc8c14f80531f12265f8fa5694c01b401594d01dff
DIST ooo_oxygen_images-2009-06-17.tar.gz 14296938 RMD160 355b7d43aff12578fc0af6ca6030301577477857 SHA1 c3dd261bfe366ac514a019b0fa829369b833c0c7 SHA256 3fcc0eb394ddfc43111ac27f35a7d966d4f775b0b46d6853c9b2b2612a940f4a
DIST scsolver.2008-10-30.tar.bz2 230572 RMD160 2176fd8207cce2e2db56c888849e766eedfb1a63 SHA1 7ad9c3396c3b1b9ac63274eb53818ba2d0a9f70c SHA256 865ac491bfbc7d4cc66b51fff78f3962a0a91efba1a8b5cc0bf5cf36be60e193
DIST unowinreg.dll 6144 RMD160 9e2a2789a96842a2aec747a62dee3db3e8370761 SHA1 712720da502d36175cd7aa05cb1862ee0330638c SHA256 f563e522922133db9340b0306711c2d8767cc3481dd9e7d9b0d059906d12653c
EBUILD libreoffice-3.2.99.1.ebuild 13779 RMD160 8084a74317d5575a7ecbb05970e4c076c6853733 SHA1 a72d62dec7e0b3b67bdff5f3700f1f41522df300 SHA256 90e4d1b6e6c08cd473a61d2b810e85356029176668d3be35ca4b9adfbdfd416f

View File

@ -0,0 +1,12 @@
--- sc/source/core/tool/makefile.mk-orig 2009-09-07 20:15:14.880679704 -0500
+++ sc/source/core/tool/makefile.mk 2009-09-07 20:14:38.941679215 -0500
@@ -132,7 +132,8 @@
$(SLO)$/prnsave.obj \
$(SLO)$/reftokenhelper.obj \
$(SLO)$/stringutil.obj \
- $(SLO)$/token.obj
+ $(SLO)$/token.obj \
+ $(SLO)$/detfunc.obj
# [kh] POWERPC compiler problem
.IF "$(OS)$(COM)$(CPUNAME)"=="LINUXGCCPOWERPC"

View File

@ -0,0 +1,17 @@
--- cppu/inc/uno/lbnames.h.old 2010-02-02 12:49:41.000000000 +0100
+++ cppu/inc/uno/lbnames.h 2010-03-05 17:13:22.000000000 +0100
@@ -62,12 +62,12 @@ provoking error here, because PP ignores
#error "Tested gcc 2 versions are 2.91 and 2.95. Patch uno/lbnames.h to try your gcc 2 version."
#elif (__GNUC__ == 3 && __GNUC_MINOR__ <= 4)
#define __CPPU_ENV gcc3
-#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 4)
+#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 5)
#define __CPPU_ENV gcc3
#elif (__GNUC__ == 3)
#error "Tested gcc 3 version is <= 3.4. Patch uno/lbnames.h to try your gcc 3 version."
#else
-#error "Supported gcc majors are 2 , 3 and 4 <= 4.4. Unsupported gcc major version."
+#error "Supported gcc majors are 2 , 3 and 4 <= 4.5. Unsupported gcc major version."
#endif /* defined (__GNUC__) */
#endif /* defined (_MSC_VER) */

View File

@ -0,0 +1,46 @@
diff -uNr libre.orig//configure.in libre/configure.in
--- libre.orig//configure.in 2010-09-29 18:48:36.000000000 +0200
+++ libre/configure.in 2010-09-29 18:54:56.000000000 +0200
@@ -1349,12 +1349,18 @@
done
fi
SUNTEMPLATES_LANG=
- # check whether the langs are requested at all
- for lang in $wanted_sun_templates ; do
- if test -n "`echo $with_lang | grep "$lang"`" ; then
- SUNTEMPLATES_LANG="$SUNTEMPLATES_LANG $lang"
- fi
- done
+
+ # --with-lang="" now used for en-US
+ if test "z$with_lang" = "z" ; then
+ SUNTEMPLATES_LANG="en-US"
+ else
+ # check whether the langs are requested at all
+ for lang in $wanted_sun_templates ; do
+ if test -n "`echo $with_lang | grep "$lang"`" ; then
+ SUNTEMPLATES_LANG="$SUNTEMPLATES_LANG $lang"
+ fi
+ done
+ fi
AC_MSG_RESULT([$SUNTEMPLATES_LANG])
fi
AC_SUBST(SUNTEMPLATES_LANG)
diff -uNr libre.orig//patches/dev300/apply libre/patches/dev300/apply
--- libre.orig//patches/dev300/apply 2010-09-29 18:48:37.000000000 +0200
+++ libre/patches/dev300/apply 2010-09-29 18:49:19.000000000 +0200
@@ -1019,14 +1019,10 @@
[ GentooOnly ]
SectionOwner => aprosky
-# Allow build to proceed with PaX enabled
-gentoo-pax-fix.diff, aprosky
# support server-only versions of 64bit JDKs
64bit-jdk-server-paths.diff, i#65974, hmth
# use IBM j9vm over IBM classic JVM
ibm-j9vm.diff, hmth
-# system db check
-system-db-check.diff, i#65979, hmth
# User ~/.ooo3 as user dir
scp2-user-config-ooo3.diff, pmladek
# default inc/lib

View File

@ -0,0 +1,11 @@
--- bin/package-ooo
+++ bin/package-ooo
@@ -33,6 +33,7 @@
{
cat <<EOT >$1
#!/bin/sh
+unset PYTHONPATH
$OOINSTBASE/program/soffice $2 "\$@"
EOT
chmod 755 $1

View File

@ -0,0 +1,25 @@
--- ucb/source/ucp/webdav/NeonSession.cxx
+++ ucb/source/ucp/webdav/NeonSession.cxx
@@ -257,9 +257,6 @@
// -------------------------------------------------------------------
extern "C" int NeonSession_NeonAuth( void * inUserData,
-#ifdef NE_FEATURE_SSPI
- const char * inAuthProtocol,
-#endif
const char * inRealm,
int attempt,
char * inoutUserName,
@@ -334,12 +331,6 @@
bool bCanUseSystemCreds = false;
-#ifdef NE_FEATURE_SSPI
- bCanUseSystemCreds = (attempt == 0) && // avoid endless loops
- ne_has_support( NE_FEATURE_SSPI ) && // Windows-only feature.
- ( ne_strcasecmp( inAuthProtocol, "NTLM" ) == 0 ) ||
- ( ne_strcasecmp( inAuthProtocol, "Negotiate" ) == 0 );
-#endif
// #i97003# (tkr): Ask XMasterPasswordHandling if we should store the
// credentials persistently and give this information to the auth listener

View File

@ -0,0 +1,12 @@
--- extensions/source/plugin/unx/npwrap.cxx 2010-02-22 02:31:31.000000000 +0300
+++ extensions/source/plugin/unx/npwrap.cxx 2010-02-22 02:32:04.000000000 +0300
@@ -485,7 +485,9 @@
medDebug( 1, "left plugin app main loop\n" );
+ #ifdef ENABLE_GTK
g_source_remove(xt_polling_timer_id);
+ #endif
pNP_Shutdown();
medDebug( 1, "NP_Shutdown done\n" );

View File

@ -0,0 +1,25 @@
--- bin/build-ooo.orig 2007-04-18 18:32:06.000000000 +0200
+++ bin/build-ooo 2007-04-18 18:32:45.000000000 +0200
@@ -21,9 +21,8 @@
echo "configuring ...";
autoconf || exit 1;
-echo "Env for configure:"
-set
-echo "Env for configure ends"
+echo "Log Env for configure to `pwd`/env.log"
+set > env.log
eval ./configure "$CONFIGURE_OPTIONS" "$PROPAGATED_ARGS" || exit 1;
@@ -88,8 +88,8 @@
# similar that gives child nmake's pain.
unset MAKEFLAGS
-echo "Env:"
-set
+echo "Log Env to `pwd`/env.log"
+set > env.log
# What extra localizations are avilable as $SRCDIR/GSI_*.sdf and are not
# already merged?

View File

@ -0,0 +1,10 @@
*** vcl/unx/kde4/KDEXLib.cxx_ 2010-02-21 22:34:18.917502324 +0200
--- vcl/unx/kde4/KDEXLib.cxx 2010-02-21 22:35:29.642770570 +0200
***************
*** 134,137 ****
--- 134,138 ----
KCmdLineArgs::init( m_nFakeCmdLineArgs, m_pAppCmdLineArgs, kAboutData );
+ KApplication::setGraphicsSystem( "native" );
m_pApplication = new VCLKDEApplication();
kapp->disableSessionManagement();

View File

@ -0,0 +1,421 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-3.2.1.ebuild,v 1.4 2010/09/17 10:49:59 scarabeus Exp $
WANT_AUTOMAKE="1.9"
EAPI="2"
KDE_REQUIRED="optional"
CMAKE_REQUIRED="never"
PYTHON_DEPEND="2"
PYTHON_USE_WITH="threads"
inherit autotools bash-completion check-reqs db-use eutils fdo-mime flag-o-matic java-pkg-opt-2 kde4-base multilib python toolchain-funcs
IUSE="binfilter junit cups dbus debug eds gnome gstreamer gtk kde ldap nsplugin odk opengl pam templates"
MY_PV=3.2.99.1
PATCHLEVEL=OOO320
SRC=libreoffice
MST=OOO320_m19
DEVPATH=http://download.documentfoundation.org/libreoffice/src/${SRC}
S=${WORKDIR}/libre
S_OLD=${WORKDIR}/libreoffice-build-${MY_PV}
CONFFILE=${S}/distro-configs/Gentoo.conf.in
BASIS=basis3.2
DESCRIPTION="libreoffice, a full office productivity suite."
SRC_URI="${DEVPATH}-artwork-${PV}.tar.bz2
${DEVPATH}-base-${PV}.tar.bz2
${DEVPATH}-bootstrap-${PV}.tar.bz2
${DEVPATH}-calc-${PV}.tar.bz2
${DEVPATH}-components-${PV}.tar.bz2
${DEVPATH}-extensions-${PV}.tar.bz2
${DEVPATH}-filters-${PV}.tar.bz2
${DEVPATH}-help-${PV}.tar.bz2
${DEVPATH}-impress-${PV}.tar.bz2
${DEVPATH}-l10n-${PV}.tar.bz2
${DEVPATH}-libs-core-${PV}.tar.bz2
${DEVPATH}-libs-extern-${PV}.tar.bz2
${DEVPATH}-libs-extern-sys-${PV}.tar.bz2
${DEVPATH}-libs-gui-${PV}.tar.bz2
${DEVPATH}-postprocess-${PV}.tar.bz2
${DEVPATH}-sdk-${PV}.tar.bz2
${DEVPATH}-testing-${PV}.tar.bz2
${DEVPATH}-ure-${PV}.tar.bz2
${DEVPATH}-writer-${PV}.tar.bz2
${DEVPATH}-extras-${PV}.tar.bz2
binfilter? ( ${DEVPATH}-extras-${PV}.tar.bz2 )
templates? ( http://extensions.services.openoffice.org/files/273/0/Sun_ODF_Template_Pack_en-US.oxt
http://extensions.services.openoffice.org/files/295/1/Sun_ODF_Template_Pack_de.oxt
http://extensions.services.openoffice.org/files/299/0/Sun_ODF_Template_Pack_it.oxt
http://extensions.services.openoffice.org/files/297/0/Sun_ODF_Template_Pack_fr.oxt
http://extensions.services.openoffice.org/files/301/1/Sun_ODF_Template_Pack_es.oxt
ftp://ftp.devall.hu/kami/go-oo//Sun_ODF_Template_Pack_hu.oxt )
${DEVPATH}-build-${MY_PV}.tar.gz
odk? ( java? ( http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll ) )
http://download.go-oo.org/SRC680/extras-3.tar.bz2
http://download.go-oo.org/SRC680/biblio.tar.bz2
http://download.go-oo.org/SRC680/lp_solve_5.5.0.12_source.tar.gz
http://download.go-oo.org/DEV300/scsolver.2008-10-30.tar.bz2
http://download.go-oo.org/DEV300/ooo_oxygen_images-2009-06-17.tar.gz
http://download.go-oo.org/SRC680/libwps-0.1.2.tar.gz
http://multidimalgorithm.googlecode.com/files/mdds_0.3.0.tar.bz2"
LANGS1="af ar as_IN be_BY bg bn br brx bs ca cs cy da de dgo dz el en_GB en_ZA eo es et eu fa fi fr ga gl gu he hi_IN hr hu id it ja ka kk km kn_IN ko kok ks ku lt mai mk ml_IN mn mni mr_IN nb ne nl nn nr ns oc or_IN pa_IN pl pt pt_BR ru rw sa_IN sat sd sh sk sl sr ss st sv sw_TZ ta ta_IN te_IN tg th ti_ER tn tr ts uk ur_IN uz ve vi xh zh_CN zh_TW zu"
LANGS="${LANGS1} en en_US"
for X in ${LANGS} ; do
IUSE="${IUSE} linguas_${X}"
done
# intersection of available linguas and app-dicts/myspell-* dictionaries
SPELL_DIRS="af bg ca cs cy da de el en eo es et fr ga gl he hr hu it ku lt mk nb nl nn pl pt ru sk sl sv tn zu"
SPELL_DIRS_DEPEND=""
for X in ${SPELL_DIRS} ; do
SPELL_DIRS_DEPEND="${SPELL_DIRS_DEPEND} linguas_${X}? ( app-dicts/myspell-${X} )"
done
HOMEPAGE="http://go-oo.org"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
COMMON_DEPEND="!app-office/libreoffice-bin
x11-libs/libXaw
x11-libs/libXinerama
x11-libs/libXrandr
>=dev-lang/perl-5.0
>=dev-libs/glib-2.18
dbus? ( >=dev-libs/dbus-glib-0.71 )
gnome? ( >=x11-libs/gtk+-2.10
>=gnome-base/gconf-2.0
>=gnome-base/gnome-vfs-2.6
>=x11-libs/cairo-1.0.2 )
gtk? ( >=x11-libs/gtk+-2.10
>=x11-libs/cairo-1.0.2 )
eds? ( >=gnome-extra/evolution-data-server-1.2 )
gstreamer? ( >=media-libs/gstreamer-0.10
>=media-libs/gst-plugins-base-0.10 )
java? ( >=dev-java/bsh-2.0_beta4
dev-java/lucene:2.3
dev-java/lucene-analyzers:2.3
dev-java/rhino:1.5 )
nsplugin? ( net-libs/xulrunner:1.9
>=dev-libs/nspr-4.6.6
>=dev-libs/nss-3.11-r1 )
opengl? ( virtual/opengl )
>=net-libs/neon-0.24.7
>=dev-libs/openssl-0.9.8g
>=media-libs/freetype-2.1.10-r2
>=media-libs/fontconfig-2.3.0
cups? ( net-print/cups )
media-libs/jpeg
media-libs/libpng
app-arch/zip
app-arch/unzip
>=app-text/hunspell-1.1.4-r1
dev-libs/expat
>=dev-libs/icu-4.0
>=sys-libs/db-4.3
>=app-text/libwpd-0.8.8
>=media-libs/vigra-1.4
>=app-text/poppler-0.12.3-r3[xpdf-headers]
>=media-libs/libwpg-0.1.3"
RDEPEND="java? ( >=virtual/jre-1.5 )
${SPELL_DIRS_DEPEND}
${COMMON_DEPEND}"
DEPEND="${COMMON_DEPEND}
x11-libs/libXrender
x11-libs/libXtst
x11-proto/printproto
x11-proto/xextproto
x11-proto/xproto
x11-proto/xineramaproto
>=sys-apps/findutils-4.1.20-r1
dev-perl/Archive-Zip
dev-util/pkgconfig
dev-util/intltool
>=dev-libs/boost-1.36
sys-devel/flex
sys-devel/bison
dev-libs/libxslt
>=dev-libs/libxml2-2.0
>=dev-util/gperf-3
>=net-misc/curl-7.12
sys-libs/zlib
sys-apps/coreutils
pam? ( sys-libs/pam
sys-apps/shadow[pam] )
java? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* )
junit? ( dev-java/junit:4 )
>=dev-java/ant-core-1.7 )
ldap? ( net-nds/openldap )"
PROVIDE="virtual/ooo"
pkg_setup() {
ewarn
ewarn " It is important to note that libreoffice is a very fragile "
ewarn " build when it comes to CFLAGS. A number of flags have already "
ewarn " been filtered out. If you experience difficulty merging this "
ewarn " package and use aggressive CFLAGS, lower the CFLAGS and try to "
ewarn " merge again. "
ewarn
ewarn " Also if you experience a build break, please make sure to retry "
ewarn " with MAKEOPTS="-j1" before filing a bug. "
ewarn
# Check if we have enough RAM and free diskspace to build this beast
CHECKREQS_MEMORY="512"
use debug && CHECKREQS_DISK_BUILD="12288" || CHECKREQS_DISK_BUILD="6144"
check_reqs
strip-linguas ${LANGS}
# en_US is built by default, upstream needs us to use --with-lang="" in this case though, so strip it out
export LINGUAS_TEMP=$(echo ${LINGUAS} | sed -e 's/\ben_US\b//g;s/en//g;s/_GB/en_GB/g;s/_ZA/en_ZA/g')
if [[ -z "${LINGUAS_TEMP}" ]] || [[ ${LINGUAS_TEMP} == " " ]]; then
export LINGUAS_OOO=""
else
# always build en-US as a fallback (needed for broken code / translations)
export LINGUAS_OOO="en-US ${LINGUAS_TEMP//_/-}"
fi
if use !java; then
ewarn " You are building with java-support disabled, this results in some "
ewarn " of the libreoffice functionality being disabled. "
ewarn " If something you need does not work for you, rebuild with "
ewarn " java in your USE-flags. "
ewarn
fi
if use !gtk && use !gnome; then
ewarn " If you want the libreoffice systray quickstarter to work "
ewarn " activate either the 'gtk' or 'gnome' use flags. "
ewarn
fi
if is-flagq -ffast-math ; then
eerror " You are using -ffast-math, which is known to cause problems. "
eerror " Please remove it from your CFLAGS, using this globally causes "
eerror " all sorts of problems. "
eerror " After that you will also have to - at least - rebuild python otherwise "
eerror " the libreoffice build will break. "
die
fi
java-pkg-opt-2_pkg_setup
# sys-libs/db version used
local db_ver=$(db_findver '>=sys-libs/db-4.3')
kde4-base_pkg_setup
python_set_active_version 2
python_pkg_setup
}
src_unpack() {
unpack libreoffice-build-${MY_PV}.tar.gz
}
src_prepare() {
# Hackish workaround for overlong path problem, see bug #130837
mv "${S_OLD}" "${S}" || die
#Some fixes for our patchset
cd "${S}"
epatch "${FILESDIR}/gentoo-${PV}.diff"
epatch "${FILESDIR}/gentoo-pythonpath.diff"
epatch "${FILESDIR}/ooo-env_log.diff"
cp -f "${FILESDIR}/qt-use-native-backend.diff" "${S}/patches/hotfixes" || die
#Use flag checks
if use java ; then
echo "--with-ant-home=${ANT_HOME}" >> ${CONFFILE}
echo "--with-jdk-home=$(java-config --jdk-home 2>/dev/null)" >> ${CONFFILE}
echo "--with-java-target-version=$(java-pkg_get-target)" >> ${CONFFILE}
echo "--with-jvm-path=/usr/$(get_libdir)/" >> ${CONFFILE}
echo "--with-system-beanshell" >> ${CONFFILE}
echo "--with-system-lucene" >> ${CONFFILE}
echo "--with-system-rhino" >> ${CONFFILE}
echo "--with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar)" >> ${CONFFILE}
echo "--with-lucene-core-jar=$(java-pkg_getjar lucene-2.3 lucene-core.jar)" >> ${CONFFILE}
echo "--with-lucene-analyzers-jar=$(java-pkg_getjar lucene-analyzers-2.3 lucene-analyzers.jar)" >> ${CONFFILE}
echo "--with-rhino-jar=$(java-pkg_getjar rhino-1.5 js.jar)" >> ${CONFFILE}
# junit:4
use junit && echo "--with-junit=$(java-pkg_getjar junit-4 junit.jar)" >> ${CONFFILE}
fi
# junit:4
use !junit && echo "--without-junit" >> ${CONFFILE}
echo $(use_enable nsplugin mozilla) >> ${CONFFILE}
echo $(use_with nsplugin system-mozilla libxul) >> ${CONFFILE}
echo $(use_enable binfilter) >> ${CONFFILE}
echo $(use_enable cups) >> ${CONFFILE}
echo $(use_enable dbus) >> ${CONFFILE}
echo $(use_enable eds evolution2) >> ${CONFFILE}
echo $(use_enable gnome gconf) >> ${CONFFILE}
echo $(use_enable gnome gnome-vfs) >> ${CONFFILE}
#gio support still gives crashes, see i#108993
echo "--disable-gio" >> ${CONFFILE}
echo $(use_enable gnome lockdown) >> ${CONFFILE}
echo $(use_enable gstreamer) >> ${CONFFILE}
echo $(use_enable gtk systray) >> ${CONFFILE}
echo $(use_enable ldap) >> ${CONFFILE}
echo $(use_enable opengl) >> ${CONFFILE}
echo $(use_with ldap openldap) >> ${CONFFILE}
echo $(use_enable debug crashdump) >> ${CONFFILE}
echo $(use_enable debug strip-solver) >> ${CONFFILE}
# Extension stuff
echo "--with-extension-integration" >> ${CONFFILE}
echo "--enable-minimizer" >> ${CONFFILE}
echo "--enable-pdfimport" >> ${CONFFILE}
echo "--enable-presenter-console" >> ${CONFFILE}
echo "--without-writer2latex" >> ${CONFFILE}
# Use splash screen without Sun logo
#echo "--with-intro-bitmaps=\\\"${S}/build/${MST}/ooo_custom_images/nologo/introabout/intro.png\\\"" >> ${CONFFILE}
# Upstream this, disabled for now #i108911
#echo "--with-system-redland" >> ${CONFFILE}
# needed for sun-templates patch
eautoreconf
}
src_configure() {
use kde && export KDE4DIR="${KDEDIR}"
use kde && export QT4LIB="/usr/$(get_libdir)/qt4"
# Use multiprocessing by default now, it gets tested by upstream
export JOBS=$(echo "${MAKEOPTS}" | sed -e "s/.*-j\([0-9]\+\).*/\1/")
# Compile problems with these ...
filter-flags "-funroll-loops"
filter-flags "-fprefetch-loop-arrays"
filter-flags "-fno-default-inline"
filter-flags "-ftracer"
filter-flags "-fforce-addr"
filter-flags "-O[s2-9]"
if [[ $(gcc-major-version) -lt 4 ]]; then
filter-flags "-fstack-protector"
filter-flags "-fstack-protector-all"
replace-flags "-fomit-frame-pointer" "-momit-leaf-frame-pointer"
fi
# Build with NVidia cards breaks otherwise
use opengl && append-flags "-DGL_GLEXT_PROTOTYPES"
# Now for our optimization flags ...
export ARCH_FLAGS="${CXXFLAGS}"
use debug || export LINKFLAGSOPTIMIZE="${LDFLAGS}"
# Make sure gnome-users get gtk-support
local GTKFLAG="--disable-gtk --disable-cairo --without-system-cairo"
{ use gtk || use gnome; } && GTKFLAG="--enable-gtk --enable-cairo --with-system-cairo"
cd "${S}"
./configure --with-distro="Gentoo" \
--with-arch="${ARCH}" \
--with-srcdir="${DISTDIR}" \
--with-lang="${LINGUAS_OOO}" \
--with-num-cpus="${JOBS}" \
--without-binsuffix \
--with-installed-ooo-dirname="libreoffice" \
--with-tag="${MST}" \
--with-drink="True Blood" \
--without-git \
--without-split \
${GTKFLAG} \
--disable-mono \
--disable-kde \
$(use_enable kde kde4) \
$(use_enable !debug strip) \
$(use_enable odk) \
$(use_enable pam) \
$(use_with java) \
$(use_with templates sun-templates) \
--disable-access \
--disable-post-install-scripts \
--enable-extensions \
--with-split \
--with-system-libwpd \
--with-system-libwpg \
--mandir=/usr/share/man \
--libdir=/usr/$(get_libdir) \
|| die "Configuration failed!"
}
src_compile() {
make || die "Build failed"
}
src_install() {
export PYTHONPATH=""
einfo "Preparing Installation"
make DESTDIR="${D}" install || die "Installation failed!"
# Fix the permissions for security reasons
chown -RP root:0 "${D}"
# record java libraries
if use java; then
java-pkg_regjar "${D}"/usr/$(get_libdir)/libreoffice/${BASIS}/program/classes/*.jar
java-pkg_regjar "${D}"/usr/$(get_libdir)/libreoffice/ure/share/java/*.jar
fi
# Upstream places the bash-completion module in /etc. Gentoo places them in
# /usr/share/bash-completion. bug 226061
dobashcompletion "${D}"/etc/bash_completion.d/ooffice.sh ooffice
rm -rf "${D}"/etc/bash_completion.d/ || die "rm failed"
}
pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
BASHCOMPLETION_NAME=ooffice && bash-completion_pkg_postinst
( [[ -x /sbin/chpax ]] || [[ -x /sbin/paxctl ]] ) && [[ -e /usr/$(get_libdir)/libreoffice/program/soffice.bin ]] && scanelf -Xzm /usr/$(get_libdir)/libreoffice/program/soffice.bin
# Add available & useful jars to libreoffice classpath
use java && /usr/$(get_libdir)/libreoffice/${BASIS}/program/java-set-classpath $(java-config --classpath=jdbc-mysql 2>/dev/null) >/dev/null
elog " Some aditional functionality can be installed via Extension Manager: "
elog " *) PDF Import "
elog " *) Presentation Console "
elog " *) Presentation Minimizer "
elog
elog " Please use the packages provided in "
elog " /usr/$(get_libdir)/libreoffice/share/extension/install/ "
elog " instead of those from the SUN extension site. "
elog
kde4-base_pkg_postinst
}

View File

@ -0,0 +1,34 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-synce/libopensync-plugin-synce-0.22-r1.ebuild,v 1.2 2009/08/06 15:17:48 mr_bones_ Exp $
inherit autotools
DESCRIPTION="OpenSync Synce Plugin"
HOMEPAGE="http://www.opensync.org/"
SRC_URI="http://www.opensync.org/download/releases/0.22/${P}.tar.bz2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="LGPL-2.1"
IUSE=""
DEPEND=">=app-pda/libopensync-${PV}
app-pda/synce-librra
dev-libs/libmimedir"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
#patch wall werror
epatch "${FILESDIR}/${P}-warning.patch"
eautoreconf
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README
}

View File

@ -0,0 +1,2 @@
DIST libopensync-plugin-tomboy-0.1.tar.bz2 29110 RMD160 7bbae40cbbeab82be54f3f217ea297e2685fe4eb SHA1 e36e4013a6af99f2b00ef1641e27be3314afcc91 SHA256 f42565e82d96185c5b1ee16e77a926510d5271afa71884da9ac15196204b802e
EBUILD libopensync-plugin-tomboy-0.1.ebuild 660 RMD160 2f353975d98fc8cc98145c4572178be4ec9d5ab0 SHA1 a4e78cce620eca3b183a9be0723bc5168f054c8f SHA256 63b242f2b3b5d1d6c6ed775f4cd470bf1c851656918893085682ea0a7f6d7292

View File

@ -0,0 +1,24 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-vformat/libopensync-plugin-vformat-0.39.ebuild,v 1.2 2009/11/16 01:45:09 mr_bones_ Exp $
EAPI="2"
inherit cmake-utils
DESCRIPTION="OpenSync tomboy Plugin"
HOMEPAGE="http://www.opensync.org"
SRC_URI="http://www.opensync.org/download/releases/0.38/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="test"
RDEPEND=">=app-pda/libopensync-${PV}
dev-libs/glib:2"
DEPEND="${RDEPEND}
test? ( dev-libs/check )"
# 0% tests passed, 4 tests failed out of 4
RESTRICT="test"

View File

@ -0,0 +1,46 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=1
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Java PDF Renderer"
HOMEPAGE="http://www.icepdf.org/"
SRC_URI="${PN}-${PV}-src.zip"
RESTRICT="fetch"
LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
COMMON_DEP="
"
RDEPEND=">=virtual/jre-1.4
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.4
app-arch/unzip
${COMMON_DEP}"
S=${WORKDIR}/${PN}-${PV}-src/icepdf
src_unpack() {
unpack ${A}
cd "${S}"
}
EANT_BUILD_TARGET="build.jars"
EANT_DOC_TARGET=""
src_install() {
die
java-pkg_dojar
use doc && java-pkg_dojavadoc
use source && java-pkg_dosrc
}

2
dev-java/ICEpdf/Manifest Normal file
View File

@ -0,0 +1,2 @@
DIST ICEpdf-4.1.0-src.zip 2387613 RMD160 7b233209f121eded71a1e0175659e13f6abef17e SHA1 09931f71c60d5950fc8dfadc5c8c1f0aa8554788 SHA256 b03bd7cd4bde411e74b6bc54f6984bac9a15d6429ef88c9c86c53206eea5d4e3
EBUILD ICEpdf-4.1.0.ebuild 713 RMD160 5ec6281f64545d72fbf946d55fa09f73b79484aa SHA1 370726c9900954d795fe4be053f7b77e36def0a4 SHA256 138e5cef3888373af641fa5aa47ce3d950a1bccc30cef2df34f09d71e1f90a0f

152
dev-libs/fribidi/ChangeLog Normal file
View File

@ -0,0 +1,152 @@
# ChangeLog for dev-libs/fribidi
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/fribidi/ChangeLog,v 1.39 2010/01/23 02:52:23 matsuu Exp $
*fribidi-0.19.2 (23 Jan 2010)
23 Jan 2010; MATSUU Takuto <matsuu@gentoo.org> -fribidi-0.10.4.ebuild,
+fribidi-0.19.2.ebuild:
Version bumped, bug #301107. Removed old version.
14 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
fribidi-0.19.1.ebuild:
Transfer Prefix keywords
12 Oct 2009; Raúl Porcel <armin76@gentoo.org> fribidi-0.10.4.ebuild,
fribidi-0.10.7.ebuild:
sh stable
23 Sep 2009; Patrick Lauer <patrick@gentoo.org> fribidi-0.10.4.ebuild:
Remove virtual/libc
05 Apr 2009; Peter Alfredsen <loki_val@gentoo.org> fribidi-0.10.4.ebuild,
fribidi-0.10.7.ebuild, fribidi-0.10.9.ebuild, fribidi-0.19.1.ebuild:
Fix keyword mixup.
05 Apr 2009; Raúl Porcel <armin76@gentoo.org> fribidi-0.10.4.ebuild,
fribidi-0.10.7.ebuild, fribidi-0.10.9.ebuild, fribidi-0.19.1.ebuild:
Add ~sh
*fribidi-0.19.1 (01 Jan 2009)
01 Jan 2009; MATSUU Takuto <matsuu@gentoo.org>
-files/fribidi-0.10.5-darwin.patch, -fribidi-0.10.5.ebuild,
+fribidi-0.19.1.ebuild:
Version bumped. Removed old version.
*fribidi-0.10.9 (11 Dec 2007)
11 Dec 2007; MATSUU Takuto <matsuu@gentoo.org> +fribidi-0.10.9.ebuild:
Version bumbed, bug 201969.
08 May 2007; Fabian Groffen <grobian@gentoo.org> fribidi-0.10.4.ebuild,
fribidi-0.10.5.ebuild, fribidi-0.10.7.ebuild:
Dropped ppc-macos keyword, see you in prefix
20 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> fribidi-0.10.7.ebuild:
Stable on Alpha.
15 Oct 2006; Bryan Østergaard <kloeri@gentoo.org> fribidi-0.10.7.ebuild:
Stable on ia64.
06 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org> fribidi-0.10.7.ebuild:
Stable on x86 wrt bug #131795.
01 Oct 2006; Tobias Scherbaum <dertobi123@gentoo.org>
fribidi-0.10.7.ebuild:
hppa stable, bug #131795
01 Oct 2006; Jason Wever <weeve@gentoo.org> fribidi-0.10.7.ebuild:
Stable on SPARC wrt bug #131795.
28 Sep 2006; Stephanie Lockwood-Childs <wormo@gentoo.org>
fribidi-0.10.7.ebuild:
stable on ppc (Bug #131795)
22 Sep 2006; <blubb@gentoo.org> fribidi-0.10.7.ebuild:
stable on amd64
22 Sep 2006; Fabian Groffen <grobian@gentoo.org> fribidi-0.10.7.ebuild:
Marked ppc-macos stable (bug #131795)
22 Sep 2006; Markus Rothe <corsair@gentoo.org> fribidi-0.10.7.ebuild:
Stable on ppc64; bug #131795
09 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> fribidi-0.10.7.ebuild:
Add ~x86-fbsd keyword.
*fribidi-0.10.7 (11 Feb 2006)
11 Feb 2006; MATSUU Takuto <matsuu@gentoo.org> +fribidi-0.10.7.ebuild:
Version bumped.
Removed darwin patch because it works on my ppc-macos without patch.
09 Oct 2005; Fabian Groffen <grobian@gentoo.org>
+files/fribidi-0.10.5-darwin.patch, fribidi-0.10.4.ebuild,
fribidi-0.10.5.ebuild:
- Removing conditional patching for ppc-macos
- Fixing patch for 0.10.5
- Fixing libtool/compilation for 0.10.5 on OSX
- Removing ANNOUNCE from doc on 0.10.5 as dodoc complains it cannot find it
*fribidi-0.10.5 (22 Sep 2005)
22 Sep 2005; MATSUU Takuto <matsuu@gentoo.org> +fribidi-0.10.5.ebuild:
Version bumped. Bug 104349.
08 Jul 2005; Hardave Riar <hardave@gentoo.org> fribidi-0.10.4.ebuild:
Stable on mips.
24 Mar 2005; Lina Pezzella <j4rg0n@gentoo.org> fribidi-0.10.4.ebuild:
Stable ppc-macos
12 Feb 2005; Lina Pezzella <j4rg0n@gentoo.org> fribidi-0.10.4.ebuild:
Unstable ppc-macos
18 Aug 2004; Hardave Riar <hardave@gentoo.org> fribidi-0.10.4.ebuild:
Added ~mips keyword
16 Jul 2004; Tom Gall <tgall@gentoo.org> fribidi-0.10.4.ebuild:
stable on ppc64
01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
fribidi-0.10.4.ebuild:
virtual/glibc -> virtual/libc
16 Feb 2004; Aron Griffis <agriffis@gentoo.org> fribidi-0.10.4.ebuild:
stable on alpha and ia64
07 Jan 2004; <gustavoz@gentoo.org> fribidi-0.10.4.ebuild:
marked stable on hppa
16 Nov 2003; Brad House <brad_mssw@gentoo.org> fribidi-0.10.4.ebuild:
mark stable on amd64
11 Oct 2003; Heinrich Wendel <lanius@gentoo.org> fribidi-0.10.4.ebuild:
bug #30272
21 Sep 2003; Todd Sunderlin <todd@gentoo.org> fribidi-0.10.4.ebuild:
marked stable on sparc
30 Aug 2003; Jason Wever <weeve@gentoo.org> fribidi-0.10.4.ebuild:
Added ~sparc to keywords.
*fribidi-0.10.4 (01 Apr 2003)
05 Jul 2003; Masatomo Nakano <nakano@gentoo.org> fribidi-0.10.4.ebuild:
Marked as stable(x86,ppc)
04 Jun 2003; Luca Barbato <lu_zero@gentoo.org> fribidi-0.10.4.ebuild :
Added ~ppc keyword
08 Apr 2003; Dan Armak <danarmak@gentoo.org> fribidi-0.10.4.ebuild:
At the same time I added this ebuild to dev-libs, foser added a very similar
one to app-text. We've discovered this now and will keep his ebuild (which is
better) in dev-libs (which is a more logical location). So, this is his
ebuild.
01 Apr 2003; danarmak <danarmak@gentoo.org> fribidi-0.10.4.ebuild:
fribidi is a library implementing the Unicode Bidirectional Algorithm
standard, used to output RTL text (fex. Hebrew and Arabic). gnome's pango
actually uses a customized copy of it. Original submission by Edy (bug #7856).

View File

@ -0,0 +1,5 @@
AUX fribidi-macos.patch 437 RMD160 f390024a41d7907d669d851ff7862e3f1bda3344 SHA1 598eb1b031d0167da52b0a25d54363ad61b3c338 SHA256 c707797eda69f8842eecf2722db59ece4c8ddd6730079f5db6c14c03065727c0
DIST fribidi-0.19.2.tar.gz 668933 RMD160 4fafb4b3140bbbcf4c2c58c714b02db2d71e5491 SHA1 3889469d96dbca3d8522231672e14cca77de4d5e SHA256 49cf91586e48b52fe25872ff66c1da0dff0daac2593f9f300e2af12f44f64177
EBUILD fribidi-0.19.2.ebuild 666 RMD160 47b958dd68bb4ca539c1c5fc1ce95af4bbe46bee SHA1 1c68174e11b91f5dac1c1ad2d46ece3cdd28d536 SHA256 ebe006742a5b39b32bb82b4a78dc86fb3042dd5bdadefe74da66b8b54c192cc8
MISC ChangeLog 5217 RMD160 33a3fd70af31dd3820a635d47cef8a58f3282da4 SHA1 c5accb1d7d4691fdff2a3a8c6ca8256e49ebf995 SHA256 427ed447c6deb3b3ad01da9a67388de6ca6c03c62a185f4830b518b871e03703
MISC metadata.xml 228 RMD160 d65a6255b8f07a80a55bbee3b75d4fbf409e7bbb SHA1 bba2378881d0c8c6134d8bd9b3b599f564e3b7ed SHA256 9247f2e9698ec5fdf342458b10c5a7e671c4e10b1551f09de2a9e31193532bdb

View File

@ -0,0 +1,11 @@
--- fribidi-0.10.4/configure.orig Sat Feb 12 20:27:25 2005
+++ fribidi-0.10.4/configure Sat Feb 12 20:28:08 2005
@@ -3539,7 +3539,7 @@
;;
darwin* | rhapsody*)
- allow_undefined_flag='-undefined suppress'
+ allow_undefined_flag=''
# FIXME: Relying on posixy $() will cause problems for
# cross-compilation, but unfortunately the echo tests do not
# yet detect zsh echo's removal of \ escapes.

View File

@ -0,0 +1,17 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/fribidi/fribidi-0.19.2.ebuild,v 1.1 2010/01/23 02:52:23 matsuu Exp $
DESCRIPTION="A free implementation of the unicode bidirectional algorithm"
HOMEPAGE="http://fribidi.org/"
SRC_URI="http://fribidi.org/download/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
IUSE=""
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS NEWS README ChangeLog THANKS TODO
}

View 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>matsuu@gentoo.org</email>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,134 @@
# ChangeLog for dev-python/gtkmozembed-python
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gtkmozembed-python/ChangeLog,v 1.28 2010/08/01 10:35:44 fauli Exp $
01 Aug 2010; Christian Faulhammer <fauli@gentoo.org>
gtkmozembed-python-2.25.3.ebuild:
x86 stable, bug 324077
31 Jul 2010; Pacho Ramos <pacho@gentoo.org>
gtkmozembed-python-2.25.3.ebuild:
amd64 stable, bug 324077
16 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
gtkmozembed-python-2.19.1-r12.ebuild:
ppc64 stable wrt #305287
11 Jul 2010; Pacho Ramos <pacho@gentoo.org>
gtkmozembed-python-2.19.1-r11.ebuild:
Drop hppa keyword per bug #324511.
*gtkmozembed-python-2.25.3 (14 Jun 2010)
14 Jun 2010; Pacho Ramos <pacho@gentoo.org>
+gtkmozembed-python-2.25.3.ebuild,
+files/gtkmozembed-python-2.25.3-xulrunner19.patch:
Version bump with lots of bugfixes over current stable.
02 Jun 2010; Gilles Dartiguelongue <eva@gentoo.org>
gtkmozembed-python-2.19.1-r11.ebuild,
gtkmozembed-python-2.19.1-r12.ebuild:
Update to use EAPI=2 due to eclass changes.
11 Apr 2010; <nixnut@gentoo.org> gtkmozembed-python-2.19.1-r12.ebuild:
ppc stable #305287
22 Mar 2010; Pacho Ramos <pacho@gentoo.org>
-gtkmozembed-python-2.19.1.ebuild:
Remove old gtkmozembed-python since it's no longer required by any package
on ~x86-fbsd, this also solves bug 300439
07 Mar 2010; Raúl Porcel <armin76@gentoo.org>
gtkmozembed-python-2.19.1-r12.ebuild:
alpha/ia64/sparc stable wrt #305287
07 Mar 2010; Pacho Ramos <pacho@gentoo.org>
gtkmozembed-python-2.19.1-r12.ebuild:
amd64 stable, bug 305287
24 Feb 2010; Christian Faulhammer <fauli@gentoo.org>
gtkmozembed-python-2.19.1-r12.ebuild:
stable x86, bug 305287
26 Dec 2009; Raúl Porcel <armin76@gentoo.org>
gtkmozembed-python-2.19.1-r11.ebuild:
sparc stable wrt #258040
*gtkmozembed-python-2.19.1-r12 (24 Dec 2009)
24 Dec 2009; Nirbheek Chauhan <nirbheek@gentoo.org>
+gtkmozembed-python-2.19.1-r12.ebuild,
+files/gtkmozembed-python-2.19.1-include-nspr.patch:
Add nspr includes, fixes bug 296924
25 Aug 2009; Alexis Ballier <aballier@gentoo.org>
gtkmozembed-python-2.19.1.ebuild:
keyword ~x86-fbsd
24 Aug 2009; Gilles Dartiguelongue <eva@gentoo.org>
gtkmozembed-python-2.19.1.ebuild, -gtkmozembed-python-2.19.1-r10.ebuild:
Clean up old revisions per bug #282294.
10 Apr 2009; Friedrich Oslage <bluebird@gentoo.org>
gtkmozembed-python-2.19.1-r11.ebuild:
Re-add ~sparc keyword, bug #253541
23 Mar 2009; Jeroen Roovers <jer@gentoo.org>
gtkmozembed-python-2.19.1-r11.ebuild:
Stable for HPPA (bug #258040).
17 Mar 2009; Raúl Porcel <armin76@gentoo.org>
gtkmozembed-python-2.19.1-r11.ebuild:
ia64/sparc stable wrt #258040
08 Mar 2009; Markus Meier <maekke@gentoo.org>
gtkmozembed-python-2.19.1-r11.ebuild:
amd64/x86 stable, bug #258040
05 Mar 2009; Brent Baude <ranger@gentoo.org>
gtkmozembed-python-2.19.1-r11.ebuild:
Marking gtkmozembed-python-2.19.1-r11 ppc stable for bug 258040
03 Mar 2009; Brent Baude <ranger@gentoo.org>
gtkmozembed-python-2.19.1-r11.ebuild:
Marking gtkmozembed-python-2.19.1-r11 ppc64 stable for bug 258040
14 Feb 2009; Tobias Klausmann <klausman@gentoo.org>
gtkmozembed-python-2.19.1-r11.ebuild:
Stable on alpha, bug #258040
06 Jan 2009; Jesus Rivero <neurogeek@gentoo.org>
gtkmozembed-python-2.19.1.ebuild, gtkmozembed-python-2.19.1-r10.ebuild,
gtkmozembed-python-2.19.1-r11.ebuild:
Updated DESCRIPTION var
04 Jan 2009; Raúl Porcel <armin76@gentoo.org>
gtkmozembed-python-2.19.1-r10.ebuild,
gtkmozembed-python-2.19.1-r11.ebuild:
Mark -sparc the revisions that use xulrunner-1.9, bug #253541
*gtkmozembed-python-2.19.1-r11 (14 Dec 2008)
14 Dec 2008; Gilles Dartiguelongue <eva@gentoo.org>
+files/gtkmozembed-python-2.19.1-libtool2.patch,
+files/gtkmozembed-python-2.19.1-xulrunner19.patch,
+gtkmozembed-python-2.19.1-r11.ebuild:
Actually build and install against xulrunner 1.9, close bug #249470.
19 Nov 2008; Daniel Gryniewicz <dang@gentoo.org>
gtkmozembed-python-2.19.1-r10.ebuild:
Fix configure option that I borked
*gtkmozembed-python-2.19.1-r10 (19 Nov 2008)
19 Nov 2008; Daniel Gryniewicz <dang@gentoo.org>
+gtkmozembed-python-2.19.1-r10.ebuild:
Add a version depending on xulrunner 1.9
*gtkmozembed-python-2.19.1 (16 Oct 2008)
16 Oct 2008; Gilles Dartiguelongue <eva@gentoo.org> +metadata.xml,
+gtkmozembed-python-2.19.1.ebuild:
Initial import of gnome-python-extras split ebuilds. This package installs
bindings for the gtkmozembed library.

View File

@ -0,0 +1,8 @@
AUX gtkmozembed-python-2.19.1-include-nspr.patch 1229 RMD160 0f61cc8cf238367eb9b0f9d73ba8b5a0b6ee6ba2 SHA1 198f4f15fa1f0fcff0c03cdea126299b21da1752 SHA256 faabdfefebc986ad88455ccd0b1a5e169bd5c2c88f60194ed59ee56fe30e4baa
AUX gtkmozembed-python-2.19.1-libtool2.patch 258 RMD160 fde8da7619505c900a4e6bda65c53ed513ede654 SHA1 4572d47c6249fa9625ff9ed9bd1fee03ccb94f92 SHA256 4fc38245da2ce74f6c89d78230dda5aadd8dd1fc1c20756d58ffd4b448bb1259
AUX gtkmozembed-python-2.19.1-xulrunner19.patch 7617 RMD160 abc760201ea7039f98fd6e2d45433580c314e66b SHA1 f777b30b1fbb0aece97e31f096fec3dc3f798e53 SHA256 45ce580e62b0c541adc1ff85c3359c22282a1ecaf2bb24187ce3de664ae6ad45
AUX gtkmozembed-python-2.25.3-xulrunner19.patch 8842 RMD160 3c069ada7bd2a87fe43a4ff5974ba37cc3794d88 SHA1 8773f776b93b08cfe8a988c981c99398d4c18443 SHA256 07da62cd2e6aa3a44249df3f74cc455c4943af17683d615f7808398f6625039f
DIST gnome-python-extras-2.25.3.tar.bz2 370489 RMD160 e09bc0152512e2caa61626a7dc788d7336f24e46 SHA1 e69e5288466c960ed6f985bb10c9969b21ed85a4 SHA256 ca346264e00e193f0866cabd8801d3b7ce70dae7b8b296e41e5b3a45c9b0275c
EBUILD gtkmozembed-python-2.25.3.ebuild 1152 RMD160 27cb7d63088c23ce7fa18577533f0e662cdef6a6 SHA1 7c263d1fe05230235006103fabd1a4bb5b789bca SHA256 48647c0ca567f3eb6e57019fcb7afbbb2c15d017b755d75bb57304ae59e41438
MISC ChangeLog 4632 RMD160 62bbb7f6db259ead628ddef8e99da09939c9a6f9 SHA1 d95e32eb4e50dd605c2ae25abf9e32241cabc5bb SHA256 11c05dd830e681f5b6c9935b25172a3e869e38adffcdd1bdd19efe9f1c7bdea8
MISC metadata.xml 178 RMD160 52828e1ca616ad731f2ab1ed2890d6d3a7cc8043 SHA1 a42d68a6c263ea8d8cbb678548e209aa9642a74e SHA256 aeea09173ed30175422e4f951e369e1882919be3d56e655468e5d4bffea0fc3c

View File

@ -0,0 +1,39 @@
Fix building with xulrunner-1.9.2 by including nspr CFLAGS as well
http://bugs.gentoo.org/296924
---
--- a/gtkmozembed/Makefile.am
+++ b/gtkmozembed/Makefile.am
@@ -1,7 +1,7 @@
# require automake-1.5
AUTOMAKE_OPTIONS = 1.5
-INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS) $(GTKMOZEMBED_CFLAGS)
+INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS) $(GTKMOZEMBED_CFLAGS) $(NSPR_CFLAGS)
defsdir = $(datadir)/pygtk/2.0/defs
defs_DATA = gtkmozembed.defs
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,7 @@
m4_define(gksu_required_version, 1.2.5)
m4_define(gksu2_required_version, 2.0.4)
m4_define(gksuui_required_version, 1.0.3)
+m4_define(nspr_required_version, 4.7.4)
AC_INIT(gnome-python-extras, gnome_python_extras_version,
[http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-python])
@@ -62,6 +63,11 @@
AM_PATH_PYTHON(2.3)
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
+dnl check for nspr
+AC_MSG_CHECKING(for system nspr >= nspr_required_version )
+PKG_CHECK_MODULES(NSPR, nspr >= nspr_required_version)
+AC_SUBST(NSPR_CFLAGS)
+
dnl check for pygtk
PKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= pygtk_required_version)
AC_SUBST(PYGTK_CFLAGS)

View File

@ -0,0 +1,11 @@
--- a/configure.ac 2008-07-01 14:01:35.000000000 +0200
+++ b/configure.ac 2008-07-01 14:02:08.000000000 +0200
@@ -43,6 +43,8 @@
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
+AC_PROG_CXX
+m4_ifdef([LT_OUTPUT],[LT_OUTPUT])
dnl check for python
AM_PATH_PYTHON(2.3)

View File

@ -0,0 +1,209 @@
---
Upstream: http://bugzilla.gnome.org/show_bug.cgi?id=532856
Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=223265
Ubuntu: http://patches.ubuntu.com/by-release/extracted/ubuntu/g/gnome-python-extras/2.19.1-0ubuntu13/02_xul19.dpatch
Ubuntu patch updated to apply on top of our "split gnome-python-extras" patch
diff -Nuar a/configure.ac b/configure.ac
--- a/configure.ac 2008-12-12 17:15:44.000000000 +0100
+++ b/configure.ac 2008-12-12 17:23:45.000000000 +0100
@@ -19,6 +19,7 @@
m4_define(mozilla_required_version, 1.2b)
m4_define(firefox_required_version, 1.0)
m4_define(xulrunner_required_version, 1.8)
+m4_define(xulrunner19_required_version, 1.9)
m4_define(libgda_required_version, 2.99.6)
m4_define(gksu_required_version, 1.2.5)
m4_define(gksu2_required_version, 2.0.4)
@@ -186,46 +187,80 @@
dnl should we build the gtkmozembed module?
AC_ARG_BINDING([gtkmozembed], [ON], [gtkmozembed])
AC_ARG_WITH(gtkmozembed, AS_HELP_STRING(
- [--with-gtkmozembed=mozilla|firefox|xulrunner],
+ [--with-gtkmozembed=mozilla|firefox|xulrunner|xulrunner-1.9],
[package that provides libgtkmozembed]),
[mozpackage=$withval], [mozpackage=any])
if "$build_gtkmozembed"; then
if test $mozpackage = any ; then
+PKG_CHECK_MODULES(GTKMOZEMBED, [libxul-embedding >= xulrunner19_required_version
+ gtk+-2.0 >= gtk_required_version],
+ [build_gtkmozembed=true; mozpackage=xulrunner-1.9; mozpkgconfig=libxul-embedding],
+ [
PKG_CHECK_MODULES(GTKMOZEMBED, [xulrunner-gtkmozembed >= xulrunner_required_version
gtk+-2.0 >= gtk_required_version],
- [build_gtkmozembed=true; mozpackage=xulrunner],
+ [build_gtkmozembed=true; mozpackage=xulrunner; mozpkgconfig=$mozpackage-gtkmozembed],
[
PKG_CHECK_MODULES(GTKMOZEMBED, [firefox-gtkmozembed >= firefox_required_version
gtk+-2.0 >= gtk_required_version],
- [build_gtkmozembed=true; mozpackage=firefox],
+ [build_gtkmozembed=true; mozpackage=firefox; mozpkgconfig=$mozpackage-gtkmozembed],
[
PKG_CHECK_MODULES(GTKMOZEMBED, [mozilla-gtkmozembed >= mozilla_required_version
gtk+-2.0 >= gtk_required_version],
- [build_gtkmozembed=true; mozpackage=mozilla],
+ [build_gtkmozembed=true; mozpackage=mozilla; mozpkgconfig=$mozpackage-gtkmozembed],
build_gtkmozembed=false)
])
])
+ ])
else
case $mozpackage in
- xulrunner) mozpackage_required_version=xulrunner_required_version ;;
- firefox) mozpackage_required_version=firefox_required_version ;;
- mozilla) mozpackage_required_version=mozilla_required_version ;;
- *) AC_MSG_ERROR([--with-gtkmozembed argument must be either 'mozilla', 'firefox', or 'xulrunner'])
+ xulrunner-1.9) mozpackage_required_version=xulrunner19_required_version ; mozpkgconfig=libxul-embedding ;;
+ xulrunner) mozpackage_required_version=xulrunner_required_version ; mozpkgconfig=$mozpackage-gtkmozembed ;;
+ firefox) mozpackage_required_version=firefox_required_version ; mozpkgconfig=$mozpackage-gtkmozembed ;;
+ mozilla) mozpackage_required_version=mozilla_required_version ; mozpkgconfig=$mozpackage-gtkmozembed ;;
+ *) AC_MSG_ERROR([--with-gtkmozembed argument must be either 'mozilla', 'firefox', 'xulrunner-1.9' or 'xulrunner'])
esac
-PKG_CHECK_MODULES(GTKMOZEMBED, [$mozpackage-gtkmozembed >= $mozpackage_required_version,
- gtk+-2.0 >= gtk_required_version],
+PKG_CHECK_MODULES(GTKMOZEMBED, [$mozpkgconfig >= $mozpackage_required_version,
+ gtk+-2.0 >= gtk_required_version],
build_gtkmozembed=true,
build_gtkmozembed=false)
fi # if mozpackage = any
+if test $mozpackage = xulrunner-1.9; then
+GTKMOZEMBED_CFLAGS="$GTKMOZEMBED_CFLAGS $(pkg-config --cflags --define-variable=includetype=unstable libxul-embedding)"
+GTKMOZEMBED_LIBS="$GTKMOZEMBED_LIBS $(pkg-config --libs libxul-embedding)"
+
+else
+
MOZILLA_HOME="`$PKG_CONFIG --variable=libdir $mozpackage-gtkmozembed`"
AC_SUBST(MOZILLA_HOME)
+fi
+
+AC_SUBST(GTKMOZEMBED_CFLAGS)
+AC_SUBST(GTKMOZEMBED_LIBS)
+AM_CONDITIONAL(BUILD_GTKMOZEMBED, $build_gtkmozembed)
+
+AC_LANG_PUSH(C++)
+_SAVE_CPPFLAGS=$CPPFLAGS
+_SAVE_CXXFLAGS=$CXXFLAGS
+CXXFLAGS=$GTKMOZEMBED_CFLAGS
+CPPFLAGS=
+AC_COMPILE_IFELSE([AC_LANG_SOURCE(
+[[#ifndef XPCOM_GLUE
+#error "no xpcom glue"
+#endif]])],
+[have_xpcom_glue=yes], [have_xpcom_glue=yes]
+)
+CPPFLAGS=$_SAVE_CPPFLAGS
+CXXFLAGS=$_SAVE_CXXFLAGS
+AC_LANG_POP(C++)
+
+AM_CONDITIONAL(HAVE_XPCOM_GLUE, [test $have_xpcom_glue=yes])
fi # if build_gtkmozembed
diff -Nuar a/gtkmozembed/gtkmozembedmodule.cpp b/gtkmozembed/gtkmozembedmodule.cpp
--- a/gtkmozembed/gtkmozembedmodule.cpp 1970-01-01 01:00:00.000000000 +0100
+++ b/gtkmozembed/gtkmozembedmodule.cpp 2008-12-12 17:19:32.000000000 +0100
@@ -0,0 +1,73 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+/* include this first, before NO_IMPORT_PYGOBJECT is defined */
+#include <pygobject.h>
+#include <pygtk/pygtk.h>
+
+#ifdef XPCOM_GLUE
+#include "gtkmozembed_glue.cpp"
+#endif
+
+G_BEGIN_DECLS
+void initgtkmozembed(void);
+void pygtkmozembed_add_constants(PyObject *module, const gchar *strip_prefix);
+void pygtkmozembed_register_classes (PyObject *d);
+G_END_DECLS
+
+extern PyMethodDef pygtkmozembed_functions[];
+
+void
+initgtkmozembed(void)
+{
+ PyObject *m, *d;
+ int argc = 0;
+
+ init_pygobject ();
+
+#ifdef XPCOM_GLUE
+ static const GREVersionRange greVersion = {
+ "1.9b", PR_TRUE,
+ "1.9.*", PR_TRUE
+ };
+ char xpcomLocation[4096];
+ nsresult rv = GRE_GetGREPathWithProperties(&greVersion, 1, nsnull, 0, xpcomLocation, 4096);
+ if (NS_FAILED(rv)) {
+ printf("failed 1\n");
+ return;
+ } else printf("location: %s \n", xpcomLocation);
+
+ // Startup the XPCOM Glue that links us up with XPCOM.
+ XPCOMGlueStartup(xpcomLocation);
+ if (NS_FAILED(rv)) {
+ printf("failed 2\n");
+ return;
+ }
+ printf("before 3\n");
+
+ rv = GTKEmbedGlueStartup();
+ if (NS_FAILED(rv)) {printf("location: %s \n", xpcomLocation);
+ printf("failed 3\n");
+ return;
+ }
+
+ //gtk_moz_embed_set_comp_path(xpcomLocation);
+
+ char *lastSlash = strrchr(xpcomLocation, '/');
+ if (lastSlash)
+ *lastSlash = '\0';
+
+ gtk_moz_embed_set_path(xpcomLocation);
+#endif
+
+ m = Py_InitModule ("gtkmozembed", pygtkmozembed_functions);
+ d = PyModule_GetDict (m);
+
+ pygtkmozembed_add_constants(m, "GTK_MOZ_EMBED_");
+ pygtkmozembed_register_classes (d);
+
+ if (PyErr_Occurred ()) {
+ Py_FatalError ("can't initialise module gtkmozembed");
+ }
+}
diff -Nuar a/gtkmozembed/Makefile.am b/gtkmozembed/Makefile.am
--- a/gtkmozembed/Makefile.am 2008-12-12 17:15:44.000000000 +0100
+++ b/gtkmozembed/Makefile.am 2008-12-12 17:19:32.000000000 +0100
@@ -13,9 +13,17 @@
pkgpyexec_LTLIBRARIES = gtkmozembed.la
gtkmozembed_la_LDFLAGS = -module -avoid-version \
-export-symbols-regex initgtkmozembed \
- -R$(MOZILLA_HOME)
+ $(NULL)
+
+# only use rpath for non-glue builds
+if HAVE_XPCOM_GLUE
+gtkmozembed_la_LDFLAGS += $(NULL)
+else
+gtkmozembed_la_LDFLAGS += -R$(MOZILLA_HOME)
+endif
+
gtkmozembed_la_LIBADD = $(GTKMOZEMBED_LIBS)
-gtkmozembed_la_SOURCES = gtkmozembedmodule.c
+gtkmozembed_la_SOURCES = gtkmozembedmodule.cpp
nodist_gtkmozembed_la_SOURCES = gtkmozembed.c
gtkmozembed.c: gtkmozembed.defs gtkmozembed.override
CLEANFILES = gtkmozembed.c

View File

@ -0,0 +1,225 @@
Index: gnome-python-extras-2.25.3/configure.ac
===================================================================
--- gnome-python-extras-2.25.3.orig/configure.ac 2009-02-15 23:20:23.000000000 +0100
+++ gnome-python-extras-2.25.3/configure.ac 2009-03-09 17:43:01.417674203 +0100
@@ -19,6 +19,7 @@ m4_define(gtkhtml2_required_version,
m4_define(mozilla_required_version, 1.2b)
m4_define(firefox_required_version, 1.0)
m4_define(xulrunner_required_version, 1.8)
+m4_define(xulrunner19_required_version, 1.9)
m4_define(libgda_required_version, 3.99.11)
m4_define(gksu_required_version, 1.2.5)
m4_define(gksu2_required_version, 2.0.4)
@@ -230,65 +231,88 @@ AM_CONDITIONAL(BUILD_EGG, $build_eggrece
dnl should we build the gtkmozembed module?
AC_ARG_BINDING([gtkmozembed], [ON], [gtkmozembed])
AC_ARG_WITH(gtkmozembed, AS_HELP_STRING(
- [--with-gtkmozembed=mozilla|firefox|xulrunner],
+ [--with-gtkmozembed=mozilla|firefox|xulrunner|xulrunner-1.9],
[package that provides libgtkmozembed]),
[mozpackage=$withval], [mozpackage=any])
if "$build_gtkmozembed"; then
if test $mozpackage = any ; then
+PKG_CHECK_MODULES(GTKMOZEMBED, [libxul-embedding >= xulrunner19_required_version
+ gtk+-2.0 >= gtk_required_version],
+ [build_gtkmozembed=true; mozpackage=xulrunner-1.9; mozpkgconfig=libxul-embedding],
+ [
PKG_CHECK_MODULES(GTKMOZEMBED, [xulrunner-gtkmozembed >= xulrunner_required_version
gtk+-2.0 >= gtk_required_version],
- [build_gtkmozembed=true; mozpackage=xulrunner],
+ [build_gtkmozembed=true; mozpackage=xulrunner; mozpkgconfig=$mozpackage-gtkmozembed],
[
PKG_CHECK_MODULES(GTKMOZEMBED, [firefox-gtkmozembed >= firefox_required_version
gtk+-2.0 >= gtk_required_version],
- [build_gtkmozembed=true; mozpackage=firefox],
+ [build_gtkmozembed=true; mozpackage=firefox; mozpkgconfig=$mozpackage-gtkmozembed],
[
PKG_CHECK_MODULES(GTKMOZEMBED, [mozilla-gtkmozembed >= mozilla_required_version
gtk+-2.0 >= gtk_required_version],
- [build_gtkmozembed=true; mozpackage=mozilla],
+ [build_gtkmozembed=true; mozpackage=mozilla; mozpkgconfig=$mozpackage-gtkmozembed],
build_gtkmozembed=false)
])
])
+ ])
else
+GTKMOZEMBED_CODEGEN_DEFINES=""
case $mozpackage in
- xulrunner) mozpackage_required_version=xulrunner_required_version ;;
- firefox) mozpackage_required_version=firefox_required_version ;;
- mozilla)
- mozpackage_required_version=mozilla_required_version
- AC_MSG_CHECKING([for extra gtkmozembed code generation flags])
- PKG_CHECK_MODULES(XUL19, mozilla-gtkmozembed >= 0.21 gtk+-2.0,
- GTKMOZEMBED_CODEGEN_DEFINES="-DHAVE_XUL19",
- GTKMOZEMBED_CODEGEN_DEFINES="")
- AC_MSG_RESULT([$GTKMOZEMBED_CODEGEN_DEFINES])
- ;;
- *) AC_MSG_ERROR([--with-gtkmozembed argument must be either 'mozilla', 'firefox', or 'xulrunner'])
+ xulrunner-1.9) mozpackage_required_version=xulrunner19_required_version ; mozpkgconfig=libxul-embedding ; GTKMOZEMBED_CODEGEN_DEFINES="-DHAVE_XUL19" ;;
+ xulrunner) mozpackage_required_version=xulrunner_required_version ; mozpkgconfig=$mozpackage-gtkmozembed ;;
+ firefox) mozpackage_required_version=firefox_required_version ; mozpkgconfig=$mozpackage-gtkmozembed ;;
+ mozilla) mozpackage_required_version=mozilla_required_version ; mozpkgconfig=$mozpackage-gtkmozembed ;;
+ *) AC_MSG_ERROR([--with-gtkmozembed argument must be either 'mozilla', 'firefox', 'xulrunner-1.9' or 'xulrunner'])
esac
AC_SUBST(GTKMOZEMBED_CODEGEN_DEFINES)
-PKG_CHECK_MODULES(GTKMOZEMBED, [$mozpackage-gtkmozembed >= $mozpackage_required_version,
- gtk+-2.0 >= gtk_required_version],
+PKG_CHECK_MODULES(GTKMOZEMBED, [$mozpkgconfig >= $mozpackage_required_version,
+ gtk+-2.0 >= gtk_required_version],
build_gtkmozembed=true,
build_gtkmozembed=false)
fi
AM_CONDITIONAL(BUILD_GTKMOZEMBED, $build_gtkmozembed)
-if test -n "$export_dynamic"; then
- GTKMOZEMBED_LIBS=`echo $GTKMOZEMBED_LIBS | sed -e "s/$export_dynamic//"`
-fi
-MOZILLA_HOME="`$PKG_CONFIG --variable=libdir $mozpackage-gtkmozembed`"
-if test -z "$MOZILLA_HOME"; then
- MOZILLA_HOME="`$PKG_CONFIG --variable=sdkdir $mozpackage-gtkmozembed`/lib"
-fi
-AC_SUBST(MOZILLA_HOME)
+if test $mozpackage = xulrunner-1.9; then
+ GTKMOZEMBED_CFLAGS="$(pkg-config --cflags --define-variable=includetype=unstable libxul-embedding gtk+-2.0)"
+else
+ MOZILLA_HOME="`$PKG_CONFIG --variable=libdir $mozpackage-gtkmozembed`"
+ if test -z "$MOZILLA_HOME"; then
+ MOZILLA_HOME="`$PKG_CONFIG --variable=sdkdir $mozpackage-gtkmozembed`/lib"
+ fi
+ AC_SUBST(MOZILLA_HOME)
+fi # $mozpackage = xulrunner-1.9
fi # if build_gtkmozembed
AM_CONDITIONAL(BUILD_GTKMOZEMBED, $build_gtkmozembed)
+
+AC_LANG_PUSH(C++)
+_SAVE_CPPFLAGS=$CPPFLAGS
+_SAVE_CXXFLAGS=$CXXFLAGS
+CXXFLAGS=$GTKMOZEMBED_CFLAGS
+CPPFLAGS=
+AC_COMPILE_IFELSE([AC_LANG_SOURCE(
+[[#ifndef XPCOM_GLUE
+#error "no xpcom glue"
+#endif]])],
+[have_xpcom_glue=yes], [have_xpcom_glue=yes]
+)
+CPPFLAGS=$_SAVE_CPPFLAGS
+CXXFLAGS=$_SAVE_CXXFLAGS
+AC_LANG_POP(C++)
+
+AM_CONDITIONAL(HAVE_XPCOM_GLUE, [test $have_xpcom_glue=yes])
+if test "$have_xpcom_glue" = "yes"; then
+ AC_DEFINE(HAVE_XPCOM_GLUE, 1,
+ [Define to 1 if libxpcomglue is being used.])
+fi
+
if test -n "$export_dynamic"; then
GTKMOZEMBED_LIBS=`echo $GTKMOZEMBED_LIBS | sed -e "s/$export_dynamic//"`
fi
Index: gnome-python-extras-2.25.3/gtkmozembed/Makefile.am
===================================================================
--- gnome-python-extras-2.25.3.orig/gtkmozembed/Makefile.am 2008-12-12 02:06:29.000000000 +0100
+++ gnome-python-extras-2.25.3/gtkmozembed/Makefile.am 2009-03-09 17:11:56.390812130 +0100
@@ -13,9 +13,15 @@ pkgpyexecdir = $(pyexecdir)/gtk-2.0
pkgpyexec_LTLIBRARIES = gtkmozembed.la
gtkmozembed_la_LDFLAGS = -module -avoid-version \
-export-symbols-regex initgtkmozembed \
- -R$(MOZILLA_HOME) -L$(MOZILLA_HOME)
+ $(NULL)
+
+# only use rpath for non-glue builds
+if !HAVE_XPCOM_GLUE
+ gtkmozembed_la_LDFLAGS + = -R$(MOZILLA_HOME) -L$(MOZILLA_HOME)
+endif
+
gtkmozembed_la_LIBADD = $(GTKMOZEMBED_LIBS)
-gtkmozembed_la_SOURCES = gtkmozembedmodule.c
+gtkmozembed_la_SOURCES = gtkmozembedmodule.cpp
nodist_gtkmozembed_la_SOURCES = gtkmozembed.c
gtkmozembed.c: gtkmozembed.defs gtkmozembed.override
CLEANFILES = gtkmozembed.c
Index: gnome-python-extras-2.25.3/gtkmozembed/gtkmozembedmodule.cpp
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ gnome-python-extras-2.25.3/gtkmozembed/gtkmozembedmodule.cpp 2009-03-09 16:47:51.857680474 +0100
@@ -0,0 +1,72 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+/* include this first, before NO_IMPORT_PYGOBJECT is defined */
+#include <pygobject.h>
+#include <pygtk/pygtk.h>
+
+#ifdef XPCOM_GLUE
+#include "gtkmozembed_glue.cpp"
+#endif
+
+G_BEGIN_DECLS
+void initgtkmozembed(void);
+void pygtkmozembed_add_constants(PyObject *module, const gchar *strip_prefix);
+void pygtkmozembed_register_classes (PyObject *d);
+G_END_DECLS
+
+extern PyMethodDef pygtkmozembed_functions[];
+
+void
+initgtkmozembed(void)
+{
+ PyObject *m, *d;
+ int argc = 0;
+
+ init_pygobject ();
+
+#ifdef XPCOM_GLUE
+ static const GREVersionRange greVersion = {
+ "1.9b", PR_TRUE,
+ "1.9.*", PR_TRUE
+ };
+ char xpcomLocation[4096];
+ nsresult rv = GRE_GetGREPathWithProperties(&greVersion, 1, nsnull, 0, xpcomLocation, 4096);
+ if (NS_FAILED(rv)) {
+ printf("GRE_GetGREPathWithProperties failed\n");
+ return;
+ }
+
+ // Startup the XPCOM Glue that links us up with XPCOM.
+ XPCOMGlueStartup(xpcomLocation);
+ if (NS_FAILED(rv)) {
+ printf("XPCOMGlueStartup failed\n");
+ return;
+ }
+
+ rv = GTKEmbedGlueStartup();
+ if (NS_FAILED(rv)) {printf("location: %s \n", xpcomLocation);
+ printf("GTKEmbedGlueStartup failed\n");
+ return;
+ }
+
+ //gtk_moz_embed_set_comp_path(xpcomLocation);
+
+ char *lastSlash = strrchr(xpcomLocation, '/');
+ if (lastSlash)
+ *lastSlash = '\0';
+
+ gtk_moz_embed_set_path(xpcomLocation);
+#endif
+
+ m = Py_InitModule ("gtkmozembed", pygtkmozembed_functions);
+ d = PyModule_GetDict (m);
+
+ pygtkmozembed_add_constants(m, "GTK_MOZ_EMBED_");
+ pygtkmozembed_register_classes (d);
+
+ if (PyErr_Occurred ()) {
+ Py_FatalError ("can't initialise module gtkmozembed");
+ }
+}

View File

@ -0,0 +1,41 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gtkmozembed-python/gtkmozembed-python-2.25.3.ebuild,v 1.3 2010/08/01 10:35:44 fauli Exp $
EAPI="2"
G_PY_PN="gnome-python-extras"
inherit confutils gnome-python-common
PVP="$(get_version_component_range 1-2)"
SRC_URI="mirror://gnome/sources/${G_PY_PN}/${PVP}/${G_PY_PN}-${PV}.tar.bz2"
DESCRIPTION="Python bindings for the GtkMozEmbed Gecko library"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
IUSE="doc"
RDEPEND=">=net-libs/xulrunner-1.9"
DEPEND="${RDEPEND}"
pkg_setup() {
gnome-python-common_pkg_setup
G2CONF="${G2CONF} --with-gtkmozembed=xulrunner-1.9"
}
src_prepare() {
# Accomodate new releases of libtool
epatch "${FILESDIR}/${PN}-2.19.1-libtool2.patch"
# Allow building with xulrunner 1.9, bug #
rm "${S}/gtkmozembed/gtkmozembedmodule.c"
epatch "${FILESDIR}/${P}-xulrunner19.patch"
# Fix building with xulrunner-1.9.2, bug 296924
epatch "${FILESDIR}/${PN}-2.19.1-include-nspr.patch"
eautoreconf
gnome-python-common_src_prepare
}

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
<herd>python</herd>
</pkgmetadata>

View File

@ -0,0 +1,3 @@
AUX startboomerang-qt.sh 102 RMD160 d16392c466734fd7edd079a792fd015bc73745ee SHA1 05d90c7732b7e924a922a8274d5079e839c20b3a SHA256 c30f056ddf5f4896b33bf37c42900ecdf3cb8ff2c6342631bc8405ac578e25d4
AUX startboomerang.sh 131 RMD160 c6e824c3a1e403e7053001ba79be687b269ff2d5 SHA1 9a6ef2aa6101ac077054d9e4dc3a172f9ca880f1 SHA256 6bf97ff1aad9a119dcb5b829dab42c316ff6bc44efe54fdb84b0c6e76d1502a7
EBUILD boomerang-9999.ebuild 5278 RMD160 32e2a78226402a0f869b8d533d3e7a0537e2c0d1 SHA1 846a4cbd02825611b5d85d9ab0d39c32d3e1a7df SHA256 4bdc2428d9419feaa044e0d43f6de4d03ee9e90e5a580694f86a0cf1c0d7d87e

View File

@ -0,0 +1,258 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: Exp $
ECVS_SERVER="boomerang.cvs.sourceforge.net:/cvsroot/boomerang"
ECVS_MODULE="boomerang"
ECVS_USER="anonymous"
ECVS_PASS=""
ECVS_CVS_OPTIONS="-dP"
inherit cvs eutils
S=${WORKDIR}/${ECVS_MODULE}
DESCRIPTION="A general, open source, retargetable decompiler of machine code programs - (sources from CVS)."
HOMEPAGE="http://boomerang.sourceforge.net"
SRC_URI=""
LICENSE="as-is"
SLOT="0"
KEYWORDS="-* ~x86 ~amd64"
IUSE="qt4 examples"
DEPEND="dev-libs/boehm-gc
dev-libs/expat
dev-util/cppunit
qt4? ( >=x11-libs/qt-gui-4.1.2 )"
pkg_setup() {
if built_with_use dev-libs/boehm-gc nocxx; then
eerror "We need dev-libs/boehm-gc without nocxx enabled"
einfo "Recompile dev-libs/boehm-gc with use=\"-nocxx\""
die "Need cxx-support in dev-libs/boehm-gc"
fi
ewarn "This is a LIVE CVS ebuild."
ewarn "That means there are NO promises it will work."
ewarn "If it fails to build, FIX THE CODE YOURSELF"
ewarn "before reporting any issues."
}
src_unpack() {
cvs_src_unpack
}
src_compile() {
econf || die "econf failed."
emake remote || die "emake remote failed"
emake || die "emake failed"
emake || die "emake failed"
if use qt4; then
cd qtgui2
qmake -project qtgui2-unx.pro
qmake qtgui2-unx.pro
emake || die "emake failed. try building without qt4 use flag."
fi
}
src_install() {
into /usr/local/boomerang
##bin
dodir ${DESTTREE}/bin
dobin boomerang
dosym bin/boomerang ${DESTTREE}/boomerang
##startscript for main binary
dobin ${FILESDIR}/startboomerang.sh
dosym ${DESTTREE}/bin/startboomerang.sh /usr/bin/boomerang
if use qt4; then
##qt binary
newbin qtgui2/qtgui2-unx boomerang-qt
dosym bin/boomerang-qt ${DESTTREE}/boomerang-qt
##startscript for qt binary
dobin ${FILESDIR}/startboomerang-qt.sh
dosym ${DESTTREE}/bin/startboomerang-qt.sh /usr/bin/boomerang-qt
##bmp images
insinto ${DESTTREE}
doins *.bmp
fi
##lib
dodir ${DESTTREE}/lib
dolib lib/*.so
dosym ${DESTTREE}/lib/libBinaryFile.so /usr/lib/libBinaryFile.so
##licence file
dodir ${DESTTREE}/licence
insinto ${DESTTREE}/licence
doins LICENSE.TERMS
##signatures
dodir ${DESTTREE}/signatures
insinto ${DESTTREE}/signatures
doins signatures/*.hs
doins signatures/*.h
##transformations
dodir ${DESTTREE}/transformations
insinto ${DESTTREE}/transformations
doins transformations/*.t
##frontend - ppc
dodir ${DESTTREE}/frontend/machine/ppc
insinto ${DESTTREE}/frontend/machine/ppc
doins frontend/machine/ppc/ppc.ssl
##frontend - hppa
dodir ${DESTTREE}/frontend/machine/hppa
insinto ${DESTTREE}/frontend/machine/hppa
doins frontend/machine/hppa/hppa.ssl
##frontend - st20
dodir ${DESTTREE}/frontend/machine/st20
insinto ${DESTTREE}/frontend/machine/st20
doins frontend/machine/st20/st20.ssl
##frontend - mc68k
dodir ${DESTTREE}/frontend/machine/mc68k
insinto ${DESTTREE}/frontend/machine/mc68k
doins frontend/machine/mc68k/mc68k.ssl
##frontend - sparc
dodir ${DESTTREE}/frontend/machine/sparc
insinto ${DESTTREE}/frontend/machine/sparc
doins frontend/machine/sparc/sparc.ssl
##frontend - pentium
dodir ${DESTTREE}/frontend/machine/pentium
insinto ${DESTTREE}/frontend/machine/pentium
doins frontend/machine/pentium/pentium.ssl
##examples, rm is used to exclude CVS folders. maybe there's a better way
if use examples; then
##examples - elf32-ppc
dodir ${DESTTREE}/test/elf32-ppc
insinto ${DESTTREE}/test/elf32-ppc
rm -rf test/elf32-ppc/CVS
doins test/elf32-ppc/*
##examples - hppa
dodir ${DESTTREE}/test/hppa
insinto ${DESTTREE}/test/hppa
rm -rf test/hppa/CVS
doins test/hppa/*
##examples - mc68328
dodir ${DESTTREE}/test/mc68328
insinto ${DESTTREE}/test/mc68328
rm -rf test/mc68328/CVS
doins test/mc68328/*
##examples - mips
dodir ${DESTTREE}/test/mips
insinto ${DESTTREE}/test/mips
rm -rf test/mips/CVS
doins test/mips/*
##examples - OSX
dodir ${DESTTREE}/test/OSX
insinto ${DESTTREE}/test/OSX
rm -rf test/OSX/CVS
doins test/OSX/*
##examples - pentium
dodir ${DESTTREE}/test/pentium
insinto ${DESTTREE}/test/pentium
rm -rf test/pentium/CVS
doins test/pentium/*
##examples - ppc
dodir ${DESTTREE}/test/ppc
insinto ${DESTTREE}/test/ppc
rm -rf test/ppc/CVS
doins test/ppc/*
##examples - source code of examples
dodir ${DESTTREE}/test/source
insinto ${DESTTREE}/test/source
rm -rf test/source/CVS
doins test/source/*
##examples - sparc
dodir ${DESTTREE}/test/sparc
insinto ${DESTTREE}/test/sparc
rm -rf test/sparc/CVS
doins test/sparc/*
##examples - windows
dodir ${DESTTREE}/test/windows
insinto ${DESTTREE}/test/windows
rm -rf test/windows/CVS
doins test/windows/*
fi
##end of src_install
}
pkg_postinst() {
einfo "You may now start boomerang by typing \"boomerang\"."
if use qt4; then
einfo "You also request the qt4-gui. You may start it by typing \"boomerang-qt\"."
fi
if use examples; then
einfo "Examples to test decompilation have been put into /usr/local/boomerang/test (including original source)"
fi
}

View File

@ -0,0 +1,7 @@
#!/bin/bash
cd /usr/local/boomerang
if [ "$*" = "" ]; then
./boomerang-qt
else
./boomerang-qt $*
fi

View File

@ -0,0 +1,8 @@
#!/bin/bash
workdir=`pwd`
cd /usr/local/boomerang
if [ "$*" = "" ]; then
./boomerang
else
./boomerang -o ${workdir}/output $*
fi

View File

@ -0,0 +1,4 @@
DIST cifs-utils-4.5.tar.bz2 321737 RMD160 48dcffd41b7a23b388e17992ccaf59d4ab97d1bb SHA1 5f19dd848d330e01ece18889f6d6b93927059296 SHA256 8287996c59609d3042691ae412d289995d63e7eaf561117f0b9a1ba421ecf25b
EBUILD cifs-utils-4.5.ebuild 1079 RMD160 50a3564f7876fce9f29d7bf8af66bf0d7a060485 SHA1 5b48629d04ce03c7925eac5d6bf3275fcd4a6187 SHA256 33a5247572ece8d2659f5a75abf4b49f977a80a78855c6649450d9087a0250ed
EBUILD cifs-utils-9999.ebuild 1079 RMD160 50a3564f7876fce9f29d7bf8af66bf0d7a060485 SHA1 5b48629d04ce03c7925eac5d6bf3275fcd4a6187 SHA256 33a5247572ece8d2659f5a75abf4b49f977a80a78855c6649450d9087a0250ed
MISC metadata.xml 789 RMD160 1e14745b4c08f0fa8d364170c2864151ae5e016a SHA1 3c978a97c021dc2aa896bebc4aa3432dbf6eb636 SHA256 fec8103fdaaa5f77bb4b644275a8e0e001573d8bc3fef56af4337c11b5c8a0b0

View File

@ -0,0 +1,51 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
inherit eutils confutils
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="git://git.samba.org/${PN}.git"
inherit git autotools
else
SRC_URI="ftp://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"
fi
DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems"
HOMEPAGE="http://www.samba.org/linux-cifs/cifs-utils/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ads +caps caps-ng"
DEPEND="!net-fs/mount-cifs
!net-fs/samba-client
!<net-fs/samba-3.6
ads? ( sys-libs/talloc virtual/krb5 sys-apps/keyutils )
caps? ( sys-libs/libcap )
caps-ng? ( sys-libs/libcap-ng )"
RDEPEND="${DEPEND}"
pkg_setup() {
confutils_use_conflict caps caps-ng
}
src_prepare() {
if [[ ${PV} == 9999 ]]; then
eautoreconf || die "eautoreconf failed"
fi
}
src_configure() {
econf \
$(use_enable ads cifsupcall) \
$(use_with caps libcap) \
$(use_with caps-ng libcap-ng)
}
src_install() {
emake install DESTDIR="${D}" || die "emake install failed"
}

View File

@ -0,0 +1,51 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
inherit eutils confutils
if [[ ${PV} == 9999 ]]; then
EGIT_REPO_URI="git://git.samba.org/${PN}.git"
inherit git autotools
else
SRC_URI="ftp://ftp.samba.org/pub/linux-cifs/${PN}/${P}.tar.bz2"
fi
DESCRIPTION="Tools for Managing Linux CIFS Client Filesystems"
HOMEPAGE="http://www.samba.org/linux-cifs/cifs-utils/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="ads +caps caps-ng"
DEPEND="!net-fs/mount-cifs
!net-fs/samba-client
!<net-fs/samba-3.6
ads? ( sys-libs/talloc virtual/krb5 sys-apps/keyutils )
caps? ( sys-libs/libcap )
caps-ng? ( sys-libs/libcap-ng )"
RDEPEND="${DEPEND}"
pkg_setup() {
confutils_use_conflict caps caps-ng
}
src_prepare() {
if [[ ${PV} == 9999 ]]; then
eautoreconf || die "eautoreconf failed"
fi
}
src_configure() {
econf \
$(use_enable ads cifsupcall) \
$(use_with caps libcap) \
$(use_with caps-ng libcap-ng)
}
src_install() {
emake install DESTDIR="${D}" || die "emake install failed"
}

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd></herd>
<longdescription lang="en">
The in-kernel CIFS filesystem is generally the preferred method for mounting
SMB/CIFS shares on Linux. More information on Linux CIFS is available at the
Linux CIFS VFS site.
Although not really part of Samba proper, these tools were originally part of
the Samba package. For several reasons, shipping these tools as part of Samba
was problematic and it was deemed better to split them off into their own
package.
</longdescription>
<use>
<flag name="ads">Enable Active Directory integration (cifs.upcall)</flag>
<flag name="caps-ng">Use Linux capabilities-ng library to control privilege</flag>
</use>
</pkgmetadata>

3
net-fs/samba/Manifest Normal file
View File

@ -0,0 +1,3 @@
AUX samba4.initd 634 RMD160 0d1028c3520102a7a2c4a7dd73723b66295db740 SHA1 cf2e0bcdb1783f1fb2ed256442f051b98ad70d64 SHA256 df553df5cfb8d8305566accd62bff23dac4772ad4a2eb7d3b1328a5651113cad
DIST samba-4.0.0alpha13.tar.gz 8681348 RMD160 522e1754044f0fb1141246c1a37f28f08567d069 SHA1 c6ff1eafba5869e9ea74f046668cf147ce834da8 SHA256 3cf571d6d32e07537f2b315f3976eb5e5ee563af17a12e406d6d3671fc59cf6c
EBUILD samba-4.0.0_alpha13.ebuild 4156 RMD160 d63bbf124c3fde8d264da490122a0826dda1aa13 SHA1 4bd67529b6094b91349e138614ba36075e5912c5 SHA256 619c7c38aa499083e3ee7ba06f681851b76a4456c1b8e8f3d4f3c998eaccda58

View File

@ -0,0 +1,31 @@
#!/sbin/runscript
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/samba4.initd,v 1.1 2010/02/28 16:03:04 patrick Exp $
opts="reload"
description="The samba daemon init script"
description_reload="Reloads the samba daemon"
depend() {
need net
}
start() {
ebegin "Starting samba"
start-stop-daemon --start --exec /usr/sbin/samba
eend $?
}
stop() {
ebegin "Stopping samba"
start-stop-daemon --stop --pidfile /var/run/samba/samba.pid
eend $?
}
reload() {
ebegin "Reloading samba"
killall -HUP samba
eend $?
}

View File

@ -0,0 +1,158 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-4.0.0_alpha11.ebuild,v 1.3 2010/02/28 16:03:03 patrick Exp $
EAPI="2"
inherit confutils
MY_PV="${PV/_alpha/alpha}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Samba Server component"
HOMEPAGE="http://www.samba.org/"
SRC_URI="mirror://samba/samba4/${MY_P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="caps debug dso gnutls +netapi sqlite threads +client +server +tools +python"
DEPEND="!net-fs/samba-libs
!net-fs/samba-server
!net-fs/samba-client
dev-libs/popt
sys-libs/readline
virtual/libiconv
caps? ( sys-libs/libcap )
gnutls? ( net-libs/gnutls )
sqlite? ( >=dev-db/sqlite-3 )
>=sys-libs/talloc-2.0.1
>=sys-libs/tdb-1.2.0
=sys-libs/tevent-0.9.8"
#=sys-libs/ldb-0.9.10 No release yet
# See source4/min_versions.m4 for the minimal versions
RDEPEND="${DEPEND}"
RESTRICT="mirror"
S="${WORKDIR}/${MY_P}/source4"
SBINPROGS=""
if use server ; then
SBINPROGS="${SBINPROGS} bin/samba"
fi
if use client ; then
SBINPROGS="${SBINPROGS} bin/mount.cifs bin/umount.cifs"
fi
BINPROGS=""
if use client ; then
BINPROGS="${BINPROGS} bin/smbclient bin/net bin/nmblookup bin/ntlm_auth"
fi
if use server ; then
BINPROGS="${BINPROGS} bin/testparm bin/smbtorture"
fi
if use tools ; then
# Should be in sys-libs/ldb, but there's no ldb release yet
BINPROGS="${BINPROGS} bin/ldbedit bin/ldbsearch bin/ldbadd bin/ldbdel bin/ldbmodify bin/ldbrename"
fi
pkg_setup() {
confutils_use_depend_all server python
}
src_configure() {
# Upstream refuses to make this configurable
use caps && export ac_cv_header_sys_capability_h=yes || export ac_cv_header_sys_capability_h=no
econf \
--sysconfdir=/etc \
--localstatedir=/var \
$(use_enable debug) \
--enable-developer \
$(use_enable dso) \
--disable-external-heimdal \
--enable-external-libtalloc \
--enable-external-libtdb \
--enable-external-libtevent \
--disable-external-libldb \
--enable-fhs \
--enable-largefile \
$(use_enable gnutls) \
$(use_enable netapi) \
--enable-socket-wrapper \
--enable-nss-wrapper \
--with-modulesdir=/usr/lib/samba/modules \
--with-privatedir=/var/lib/samba/private \
--with-ntp-signd-socket-dir=/var/run/samba \
--with-lockdir=/var/cache/samba \
--with-logfilebase=/var/log/samba \
--with-piddir=/var/run/samba \
--without-included-popt \
$(use_with sqlite sqlite3) \
$(use_with threads pthreads) \
--with-setproctitle \
--with-readline
}
src_compile() {
# compile libs
emake basics || die "emake basics failed"
emake libraries || die "emake libraries failed"
# compile python
if use python ; then
emake pythonmods || die "emake pythonmods failed"
fi
# compile binaries tools
emake ${BINPROGS} || die "emake BINPROGS failed"
emake ${SBINPROGS} || die "emake SBINPROGS failed"
}
src_install() {
# install libs
emake installlib DESTDIR="${D}" || die "emake installib failed"
emake installheader DESTDIR="${D}" || die "emake installheader failed"
emake installpc DESTDIR="${D}" || die "make installpc failed"
# compile python
if use python ; then
emake installpython DESTDIR="${D}" || die "emake installpython failed"
fi
# binaries
dosbin ${SBINPROGS} || die "installing SBINPROGS failed"
dobin ${BINPROGS} || die "installing BINPROGS failed"
# install server components
if use server ; then
# provision scripts
insinto /usr/share/${PN}
doins -r setup
exeinto /usr/share/${PN}/setup
doexe setup/{domainlevel,enableaccount,newuser,provision,pwsettings}
doexe setup/{setexpiry,setpassword,upgrade_from_s3}
# init script
newinitd "${FILESDIR}/samba4.initd" samba
fi
}
src_test() {
emake test DESTDIR="${D}" || die "Test failed"
}
pkg_postinst() {
# Optimize the python modules so they get properly removed
python_mod_optimize $(python_get_sitedir)/${PN}
# Warn that it's an alpha
ewarn "Samba 4 is an alpha and therefore not considered stable. It's only"
ewarn "meant to test and experiment and definitely not for production"
}
pkg_postrm() {
# Clean up the python modules
python_mod_cleanup
}

View File

@ -0,0 +1,18 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/virtual/acl/acl-0.ebuild,v 1.2 2009/12/29 01:57:38 abcd Exp $
MY_PV="${PV/_p*//}"
DESCRIPTION="Virtual for the split nx packages"
HOMEPAGE=""
SRC_URI=""
LICENSE=""
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux"
IUSE=""
DEPEND=""
RDEPEND=">=net-misc/nxproxy-${MY_PV}
>=net-misc/nx-X11-${MY_PV}"

View File

@ -0,0 +1,3 @@
AUX nxcompsh-3.2.0-gcc43.patch 823 RMD160 ec8d4bb40c0d10b6898e7dc9a0b77cc641587588 SHA1 cda1e79f97483c1d3b43fc1579b644bacfe88287 SHA256 9f1c2f6b808c4c22c9bf4a6d8e8c89b8d240d1c8d9be1918bea60aece87dc899
DIST nxcompsh-3.4.0-2.tar.gz 76941 RMD160 6fddf760f76a41d334f103cfd1802f143ba9ad80 SHA1 5bdea32174047ddf70e9cbb0f3c298d269c2bb8d SHA256 d6d29c59f070ea1ff65901a33e2013902abb3765dc6a8858f5bd6d09eccb6bf0
EBUILD nxcompsh-3.4.0_p2.ebuild 1113 RMD160 c4533d636a5c3ffa1cbc890acae640cf70f3e1f0 SHA1 f77efe56fd1b43ac947c1695cc7c4d7aee534e14 SHA256 e0a4f678e61343b90b099d820b4db24d7b6bba9d004fa0fcf09badd0fc875222

View File

@ -0,0 +1,43 @@
--- nxcompsh/Logger.cpp.orig 2008-07-21 17:53:09 +0400
+++ nxcompsh/Logger.cpp 2008-07-21 17:59:57 +0400
@@ -26,7 +26,9 @@
#include "Logger.h"
#include "Timestamp.h"
-#include <ctype.h>
+#include <cctype>
+
+using namespace std;
Logger logger;
--- nxcompsh/Logger.h.orig 2008-07-21 17:53:29 +0400
+++ nxcompsh/Logger.h 2008-07-21 18:01:53 +0400
@@ -18,7 +18,7 @@
#ifndef Logger_H
#define Logger_H
-#include <errno.h>
+#include <cerrno>
#include <stdarg.h>
//
--- nxcompsh/Misc.h.orig 2008-07-22 14:10:18 +0400
+++ nxcompsh/Misc.h 2008-07-22 14:12:38 +0400
@@ -18,10 +18,13 @@
#ifndef Misc_H
#define Misc_H
-#include <iostream.h>
+#include <iostream>
-#include <errno.h>
-#include <string.h>
+#include <cerrno>
+#include <cstring>
+#include <ios>
+
+using namespace std;
//
// This is MD5 length.

View File

@ -0,0 +1,50 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
MY_P=${P/_p/-}
MY_PV=${PV/_p*/}
inherit autotools eutils multilib
DESCRIPTION="NX compression technology core libraries"
HOMEPAGE="http://www.nomachine.com/developers.php"
SRC_URI="http://web04.nomachine.com/download/${MY_PV}/sources/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="x11-libs/libX11
>=media-libs/jpeg-6b-r4
>=media-libs/libpng-1.2.8
>=sys-libs/zlib-1.2.3
!<net-misc/nx-${MY_PV}
>=net-misc/nxcomp-${MY_PV}"
DEPEND="${RDEPEND}"
S=${WORKDIR}/nxcompsh
src_prepare() {
# Respect CFLAGS/CXXFLAGS
epatch "${FILESDIR}"/nxcompsh-3.2.0-gcc43.patch
# Use System nxcomp
#epatch "${FILESDIR}"/nxcompext-3.4.0-no-local-nxcomp.patch
# IOError
#epatch "${FILESDIR}"/nxcompext-3.4.0-NXlib-xgetioerror.patch
# Run autoreconf in all neeed folders
eautoreconf
}
src_install() {
# Install Libs
dolib libXcompsh.a
dolib.so libXcompsh.so*
# Install Header
insinto /usr/include/nx
doins Connector.h Dispatcher.h Event.h Listener.h
}

2
net-misc/opennx/Manifest Normal file
View File

@ -0,0 +1,2 @@
DIST opennx-0.16.tar.gz 1040560 RMD160 b95a983c28d1651d8cbe597c6aa8bb84be87fb36 SHA1 3f8d62c17f1651eff6ec9ca88721c9a95f443d54 SHA256 74fd6775b77dd5046d1ee6102abe8a855c5e04343269f5b587822598ec50eed9
EBUILD opennx-0.16.ebuild 976 RMD160 d221ab4b91da8ade3ee474fc7edeb8d257aadbea SHA1 cfd7b1bcc7f2e9c33c1d8a3f8b579123e294a979 SHA256 4ff8d6fafacc5a4be9f31c7e71139b6da6bad14872774838354557daf9be3d53

View File

@ -0,0 +1,44 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
WX_GTK_VER="2.8"
inherit eutils wxwidgets
DESCRIPTION="OpenNX is an OSS drop-in replacement for Nomachine's nxclient"
HOMEPAGE="http://sourceforge.net/projects/opennx/"
SRC_URI="mirror://sourceforge/opennx/opennx/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="x11-libs/wxGTK:2.8
dev-libs/opensc
net-print/cups
dev-libs/libusb
net-fs/samba[client]
net-misc/nx"
RDEPEND="${DEPEND}
!net-misc/nxclient"
PROVIDE="virtual/nxclient"
src_configure() {
need-wxwidgets gtk2
econf \
--with-wx-config="${WX_CONFIG}" || die "econf failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
# nxssh expects the client to be named nxclient so create a symlink
# to make this hardcoded app happy
dosym opennx /usr/bin/nxclient || die "failed creating symlink"
dodoc ChangeLog
}

3
sys-fs/spl/Manifest Normal file
View File

@ -0,0 +1,3 @@
AUX spl-0.4.9-kernel-2-6-33-1.patch 991 RMD160 33c75ce291cb2d786efb8ac98b3a76d344bf85fd SHA1 cb17f800c42b79d91b6ebc67516873369ca6c277 SHA256 e9b24c7885a395cef6f3e81eaa5b6513c371943143d5daf9bba0c7ea8db052f4
DIST spl-0.4.9.tar.gz 472894 RMD160 d8a0b3d915a034f18d1360f14eb2884946ec7782 SHA1 8a61565d0a1c54f7c74abe87b1741faf1e115b5e SHA256 119898acd3edc5ae276534592f5e0a172e1a38035ba738090196ed5c5d8bd34d
EBUILD spl-0.4.9.ebuild 2197 RMD160 735cac15309883d01d2becca9ad9de240893c82c SHA1 cf698124658e93042cb671be001c73a8270634fe SHA256 81bd0346582387a0c149806610d42cdf570a31687d1a56202efc8d90e667a44d

View File

@ -0,0 +1,25 @@
Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
Date: 2010-06-11
Initial Package Version: 0.4.9
Origin: me
Upstream Status: unknown
Description: make it build with 2.6.33 and greater
diff -Naur spl-0.4.9.orig/config/spl-build.m4 spl-0.4.9/config/spl-build.m4
--- spl-0.4.9.orig/config/spl-build.m4 2010-06-11 12:27:58.500095682 +0000
+++ spl-0.4.9/config/spl-build.m4 2010-06-11 12:28:38.221340815 +0000
@@ -160,6 +160,14 @@
echo "kernsrcver=UTS_RELEASE") |
cpp -I $kernelbuild/include |
grep "^kernsrcver=" | cut -d \" -f 2`
+
+ elif test -r $kernelbuild/include/generated/utsrelease.h &&
+ fgrep -q UTS_RELEASE $kernelbuild/include/generated/utsrelease.h; then
+
+ kernsrcver=`(echo "#include <generated/utsrelease.h>";
+ echo "kernsrcver=UTS_RELEASE") |
+ cpp -I $kernelbuild/include |
+ grep "^kernsrcver=" | cut -d \" -f 2`
fi
if test -z "$kernsrcver"; then

View File

@ -0,0 +1,89 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/fuse-2.7.4.ebuild,v 1.7 2009/05/18 14:08:43 jer Exp $
EAPI="2"
#WANT_AUTOCONF="2.5"
WANT_AUTOMAKE="1.11"
inherit linux-mod eutils autotools
MY_P=${P/_/-}
DESCRIPTION="The Solaris Porting Layer"
HOMEPAGE="http://wiki.github.com/behlendorf/spl/"
SRC_URI="http://github.com/downloads/behlendorf/spl/${MY_P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="kernel_linux"
S=${WORKDIR}/${MY_P}
pkg_setup() {
MODULE_NAMES="spl(fs/spl:${S}/module:${S}/module/spl) \
splat(fs/spl:${S}/module:${S}/module/splat)"
linux-mod_pkg_setup
# BUILD_PARAMS="majver=${KV_MAJOR}.${KV_MINOR} \
# fusemoduledir=\"${ROOT}\"/lib/modules/${KV_FULL/\ }/fs"
BUILD_TARGETS="all"
# ECONF_PARAMS="--with-kernel=${KV_DIR} --with-kernel-build=${KV_OUT_DIR}"
}
src_prepare() {
epatch "${FILESDIR}"/spl-0.4.9-kernel-2-6-33-1.patch
#AT_M4DIR="config" eautoreconf
sh autogen.sh
}
src_configure() {
econf \
--with-linux=${KERNEL_DIR} \
|| die "econf failed for fuse userland"
# cp module/Makefile module/Makefile.kl
# econf \
# --with-config=user \
# || die "econf failed for fuse userland"
}
src_compile() {
convert_to_m module/Makefile
# cp module/Makefile.kl module/Makefile
linux-mod_src_compile
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog Filesystems README \
README.NFS NEWS doc/how-fuse-works \
doc/kernel.txt FAQ
docinto example
dodoc example/*
if use kernel_linux ; then
linux-mod_src_install
newinitd ${FILESDIR}/fuse.init fuse
else
insinto /usr/include/fuse
doins include/fuse_kernel.h
newinitd ${FILESDIR}/fuse-fbsd.init fuse
fi
rm -rf "${D}/dev"
dodir /etc
cat > ${D}/etc/fuse.conf <<EOF
# Set the maximum number of FUSE mounts allowed to non-root users.
# The default is 1000.
#
#mount_max = 1000
# Allow non-root users to specify the 'allow_other' or 'allow_root'
# mount options.
#
#user_allow_other
EOF
}
pkg_postinst() {
use kernel_linux && linux-mod_pkg_postinst
}

3
sys-fs/zfs/Manifest Normal file
View File

@ -0,0 +1,3 @@
AUX zfs-0.4.9-kernel-2-6-33-1.patch 975 RMD160 f7df0e219912b8e8be0fdd3bea35386009721222 SHA1 e074bfb57f802ccde53e7e3827b3e4d340c89708 SHA256 79f5b8331606cb3693f39df69d7f29b59e0bd8a0fbac239e705b19dc69a2a1ba
DIST zfs-0.4.9.tar.gz 1581976 RMD160 9355ba1efe61cb4f4be50c4b1eebb28f8d60dfa4 SHA1 8b8f3540fdfa85dd9c5e3e6cf9dc80eced4606fe SHA256 4e301d1d6b124c8465807155c4c25011e80fdee2e10947ffc83d9e5394b261de
EBUILD zfs-0.4.9.ebuild 2252 RMD160 bc4ee734c15c10c86cf85df29a6debb201039902 SHA1 bae4b63a7586ea13d34493c4b72e8a54898cb03f SHA256 fb7d815eabb747a2b91f7b509fab1f667606b5aa12aa32689cc271b8611e438f

View File

@ -0,0 +1,25 @@
Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
Date: 2010-06-11
Initial Package Version: 0.4.9
Origin: me
Upstream Status: unknown
Description: make it build with 2.6.33 and greater
diff -Naur zfs-0.4.9.orig/config/kernel.m4 zfs-0.4.9/config/kernel.m4
--- zfs-0.4.9.orig/config/kernel.m4 2010-06-11 11:41:37.716096278 +0000
+++ zfs-0.4.9/config/kernel.m4 2010-06-11 11:42:59.524095064 +0000
@@ -129,6 +129,14 @@
echo "kernsrcver=UTS_RELEASE") |
cpp -I $kernelbuild/include |
grep "^kernsrcver=" | cut -d \" -f 2`
+
+ elif test -r $kernelbuild/include/generated/utsrelease.h &&
+ fgrep -q UTS_RELEASE $kernelbuild/include/generated/utsrelease.h; then
+
+ kernsrcver=`(echo "#include <generated/utsrelease.h>";
+ echo "kernsrcver=UTS_RELEASE") |
+ cpp -I $kernelbuild/include |
+ grep "^kernsrcver=" | cut -d \" -f 2`
fi
if test -z "$kernsrcver"; then

View File

@ -0,0 +1,90 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/fuse-2.7.4.ebuild,v 1.7 2009/05/18 14:08:43 jer Exp $
EAPI="2"
#WANT_AUTOCONF="2.5"
WANT_AUTOMAKE="1.11"
inherit linux-mod eutils autotools
MY_P=${P/_/-}
DESCRIPTION="Native ZFS for Linux"
HOMEPAGE="http://wiki.github.com/behlendorf/zfs/"
SRC_URI="http://github.com/downloads/behlendorf/zfs/${MY_P}.tar.gz"
LICENSE="CCDL"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="kernel_linux"
S=${WORKDIR}/${MY_P}
pkg_setup() {
MODULE_NAMES="avl(fs/zfs:${S}/module/avl) \
nvpair(fs/zfs:${S}/module/nvpair) \
unicode(fs/zfs:${S}/module/unicode) \
zcommon(fs/zfs:${S}/module/zcommon) \
zfs(fs/zfs:${S}/module/zfs) \
zpios(fs/zfs:${S}/module/zpios)"
linux-mod_pkg_setup
# BUILD_PARAMS="majver=${KV_MAJOR}.${KV_MINOR} \
# fusemoduledir=\"${ROOT}\"/lib/modules/${KV_FULL/\ }/fs"
BUILD_TARGETS="all"
# ECONF_PARAMS="--with-kernel=${KV_DIR} --with-kernel-build=${KV_OUT_DIR}"
}
src_prepare() {
epatch "${FILESDIR}"/zfs-0.4.9-kernel-2-6-33-1.patch
#AT_M4DIR="config" eautoreconf
sh autogen.sh
}
src_compile() {
econf \
--with-linux=${KERNEL_DIR} \
|| die "econf failed for fuse userland"
emake || die "emake failed"
# if use kernel_linux ; then
# cd "${S}"
# sed -i -e 's/.*depmod.*//g' kernel/Makefile.in
# convert_to_m kernel/Makefile.in
# linux-mod_src_compile
# fi
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog Filesystems README \
README.NFS NEWS doc/how-fuse-works \
doc/kernel.txt FAQ
docinto example
dodoc example/*
if use kernel_linux ; then
linux-mod_src_install
newinitd ${FILESDIR}/fuse.init fuse
else
insinto /usr/include/fuse
doins include/fuse_kernel.h
newinitd ${FILESDIR}/fuse-fbsd.init fuse
fi
rm -rf "${D}/dev"
dodir /etc
cat > ${D}/etc/fuse.conf <<EOF
# Set the maximum number of FUSE mounts allowed to non-root users.
# The default is 1000.
#
#mount_max = 1000
# Allow non-root users to specify the 'allow_other' or 'allow_root'
# mount options.
#
#user_allow_other
EOF
}
pkg_postinst() {
use kernel_linux && linux-mod_pkg_postinst
}

View File

@ -0,0 +1,42 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils autotools
DESCRIPTION="A download manager"
HOMEPAGE="http://prozilla.genesys.ro/"
SRC_URI="http://ftp.disconnected-by-peer.at/prozilla/${P}.tar.bz2
ftp://ftp.jpix.ad.jp/pub/FreeBSD/ports/distfiles/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc sparc x86"
IUSE="static nls pic"
RDEPEND="virtual/libc
>=sys-libs/ncurses-5.2"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
src_prepare() {
eautoreconf
}
src_configure() {
econf --enable-shared \
$(use_enable static) \
$(use_enable nls) \
$(use_with pic)
}
src_install () {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS CREDITS* ChangeLog docs/FAQ libprozilla/docs/HACKING NEWS README TODO
insinto /etc
newins "${FILESDIR}"/prozrc.sample prozilla.conf
rm -f "${D}"/usr/share/locale/locale.alias
}