git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@3022 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2011-11-06 07:06:59 +00:00
parent 097b58e4fb
commit 1a4a3c1a51
16 changed files with 44 additions and 1489 deletions

View File

@ -1,12 +0,0 @@
AUX 6.1.9.3-sparc.patch 1490 RMD160 fac1e9e3ac3344db332e68789f3222c13010f6e2 SHA1 09be6ad20c687553bab07bcf0a7ca533caa156f2 SHA256 1aab4538d893bd1a009a61add2c9cda5bffc82bf7d4853f1968e491bde84c7e7
AUX diff.patch 1998 RMD160 fb11c7df0c51c7aa6fdc7c862c9a4a20e6ddaa9f SHA1 98172bd0bea88ba202e42ddbeeaf0ea36a7cc10d SHA256 9ba2cc93f2a05888812ee7567ef80ab2328a735865eabcc3857cc6ac4e8c2275
AUX generate-cacerts.pl 11051 RMD160 9b874c62ffa0afe16353f1e7b32f124f1d31356f SHA1 65e55b84506ecf14711db0996eccf3cfba2fe9e3 SHA256 6ee6fb155e3fa85d0a7e9015b53ebd55948c6599d100fdb69b574b6d11f73433
AUX icedtea.env 1007 RMD160 be7110fe28b8fe108b2c1f091282f9cfae7a456b SHA1 126c17cf3d8893070178a9702fa6b44a42645f65 SHA256 bd7aec8e804cfc51b9056c5c4dead5b97d8a27950e117a2d711aed177c796506
DIST 13edc857b967.tar.gz 8401448 RMD160 3b0f967cebe2e564769ebbdc630c384458aa1f82 SHA1 9ca443bc4994b80535bbe94f0de426a87421d950 SHA256 c595349cb8e4778c9409c550ded749feb0bdd11b962be3e1449eeb53c12b8433
DIST e321b101a9ee.tar.bz2 2727158 RMD160 16cb5c6f58197dbfd690e578418fadf911935ed7 SHA1 b41d54057cd98bddb8adb6bd4c1e50b08eaef411 SHA256 46bc5b6212c199dc4a3dbebe6386fe15a8248625a5dffa17115aab394a298444
DIST icedtea6-1.9.3.tar.gz 6440451 RMD160 f0b9f11cfa001648af23965a2e036d9cce707d8e SHA1 265230be74f5ef6abb9506463f98ab631f731309 SHA256 c81577931def9d2a8bde494d489af47bfa1377d99731ff599a262b49850399fc
DIST jdk6-jaf-b20.zip 71243 RMD160 40b49d12c39b7010ee917eb671f3c38cd16f271c SHA1 69a54373e169bd7b04a45de6a310a199260424b9 SHA256 78c7b5c9d6271e88ee46abadd018a61f1e9645f8936cc8df1617e5f4f5074012
DIST jdk6-jaxp-b20.zip 5944804 RMD160 c02276a9363ec89414e5061b301ee25fca353291 SHA1 688531dfcd81ef704732ffef7d467045fd850544 SHA256 d097627d4059d488c5a09d4e33cec275a193d4d8bc0fea8ef4f1337170904156
DIST jdk6-jaxws-b20.zip 5513069 RMD160 47b2d4fe528d770391e8926299df45cc6f68e9b5 SHA1 08366a70c9e2baa516afc77bb69f9e108e906aa9 SHA256 0c460583898b968a58bf88eb53f90a0e34369e2562d65fb3a143512dfcaeb3eb
DIST openjdk-6-src-b20-21_jun_2010.tar.gz 45078703 RMD160 5248e9b3ed762829c33bf2ff7e3ca0cbf4bee5d2 SHA1 39fc162a740f16aa18afa855fea9d5daf8cf03d4 SHA256 fcf8f1d614e5965e90ef1b1a6d5eecc2bcc3078eaffbb62b83dfba52da62e54b
EBUILD icedtea-6.1.9.3.ebuild 10985 RMD160 b74d97884cc7fa455e9562e7a95f8934ea8f0a37 SHA1 478c55a8b36cca9edafa0f3b513d7d5447399fbe SHA256 537e01804c66fc8654b7d6948de01f9ed28dd38f3a3355a7427557e65c8fd197

View File

@ -1,29 +0,0 @@
diff -Nru icedtea6-1.9.3.old/Makefile.am icedtea6-1.9.3/Makefile.am
--- icedtea6-1.9.3.old/Makefile.am 2010-12-01 19:09:51.959606503 +0000
+++ icedtea6-1.9.3/Makefile.am 2010-12-07 12:51:29.306308677 +0000
@@ -317,7 +317,8 @@
patches/openjdk/6876282-bigdecimal_divide.patch \
patches/f14-fonts.patch \
patches/applet_hole.patch \
- patches/openjdk/7002666-eclipse_cdt_oops_crash.patch
+ patches/openjdk/7002666-eclipse_cdt_oops_crash.patch \
+ patches/g344659-sparc_fscanf_fix.patch
if WITH_ALT_HSBUILD
ICEDTEA_PATCHES += \
diff -Nru icedtea6-1.9.3.old/patches/g255873-sparc_fscanf_fix.patch icedtea6-1.9.3/patches/g255873-sparc_fscanf_fix.patch
--- icedtea6-1.9.3.old/patches/g344659-sparc_fscanf_fix.patch 1970-01-01 01:00:00.000000000 +0100
+++ icedtea6-1.9.3/patches/g344659-sparc_fscanf_fix.patch 2010-12-07 12:52:39.213034154 +0000
@@ -0,0 +1,12 @@
+diff -uNr openjdk.orig/hotspot/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp openjdk/hotspot/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp
+--- openjdk.orig/hotspot/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp 2010-06-21 22:12:15.000000000 +0100
++++ openjdk/hotspot/src/os_cpu/linux_sparc/vm/vm_version_linux_sparc.cpp 2010-11-29 20:15:36.179541001 +0000
+@@ -35,7 +35,7 @@
+ }
+
+ while (!feof(fp)) {
+- if (fscanf(fp, "cpu\t\t: %100[^\n]", &cpu) == 1) {
++ if (fscanf(fp, "cpu\t\t: %100[^\n]", &cpu[0]) == 1) {
+ if (strstr(cpu, "Niagara") != NULL) {
+ rv = true;
+ }

View File

@ -1,56 +0,0 @@
--- /usr/portage/dev-java/icedtea/icedtea-6.1.9.1.ebuild 2010-11-26 23:35:36.000000000 +0100
+++ icedtea-6.1.8.0.ebuild 2010-12-19 12:13:01.078894291 +0100
@@ -166,13 +166,14 @@
src_configure() {
local config procs rhino_jar
+ local openjdk_libdir=$(java-config -O|sed "s:/lib/:/$(get_libdir)/:g")
local vm=$(java-pkg_get-current-vm)
- local vmhome="/usr/lib/jvm/${vm}"
+ local vmhome="/usr/$(get_libdir)/jvm/${vm}"
# IcedTea6 can't be built using IcedTea7; its class files are too new
if [[ "${vm}" == "icedtea6" ]] || [[ "${vm}" == "icedtea6-bin" ]] ; then
# If we are upgrading icedtea, then we don't need to bootstrap.
- config="${config} --with-openjdk=$(java-config -O)"
+ config="${config} --with-openjdk=${openjdk_libdir}"
elif [[ "${vm}" == "gcj-jdk" || "${vm}" == "cacao" ]] ; then
# For other 1.5 JDKs e.g. GCJ, CACAO.
config="${config} --with-ecj-jar=/usr/share/eclipse-ecj/ecj.jar" \
@@ -239,18 +240,23 @@
# Paludis does not respect unset from src_configure
unset_vars
+
+ local arch=${ARCH}
+ ( [[ ${ABI} == x86 ]] || use x86 ) && arch=i586
emake -j 1 || die "make failed"
}
src_install() {
- local dest="${ROOT}usr/$(get_libdir)/icedtea${SLOT}"
+ local dest="/usr/$(get_libdir)/icedtea${SLOT}"
local ddest="${D}/${dest}"
dodir "${dest}" || die
+ local arch=${ARCH}
+ ( [[ ${ABI} == x86 ]] || use x86 ) && arch=i586
+
dodoc README NEWS AUTHORS THANKYOU || die
- dosym "${ROOT}usr/share/doc/${PF}" "${ROOT}usr/share/doc/${PN}${SLOT}"
- cd "${S}/openjdk.build/j2sdk-image" || die
+ cd "${S}/openjdk/build/linux-${arch}/j2sdk-image" || die
if use doc ; then
# java-pkg_dohtml needed for package-list #302654
@@ -277,8 +283,7 @@
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
if use nsplugin; then
- local arch=${ARCH};
- use x86 && arch=i386;
+ ( [[ ${ABI} == x86 ]] || use x86 ) && arch=i386;
install_mozilla_plugin "${dest}/jre/lib/${arch}/IcedTeaPlugin.so";
fi

View File

@ -1,358 +0,0 @@
#!/usr/bin/perl
# Copyright (C) 2007, 2008 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# generate-cacerts.pl generates a JKS keystore named 'cacerts' from
# OpenSSL's certificate bundle using OpenJDK's keytool.
# First extract each of OpenSSL's bundled certificates into its own
# aliased filename.
# Downloaded from http://cvs.fedoraproject.org/viewvc/rpms/ca-certificates/F-12/generate-cacerts.pl?revision=1.2
# Check and prevention of duplicate aliases added by Vlastimil Babka <caster@gentoo.org>
$file = $ARGV[1];
open(CERTS, $file);
@certs = <CERTS>;
close(CERTS);
$pem_file_count = 0;
$in_cert_block = 0;
$write_current_cert = 1;
foreach $cert (@certs)
{
if ($cert =~ /Issuer: /)
{
$_ = $cert;
if ($cert =~ /personal-freemail/)
{
$cert_alias = "thawtepersonalfreemailca";
}
elsif ($cert =~ /personal-basic/)
{
$cert_alias = "thawtepersonalbasicca";
}
elsif ($cert =~ /personal-premium/)
{
$cert_alias = "thawtepersonalpremiumca";
}
elsif ($cert =~ /server-certs/)
{
$cert_alias = "thawteserverca";
}
elsif ($cert =~ /premium-server/)
{
$cert_alias = "thawtepremiumserverca";
}
elsif ($cert =~ /Class 1 Public Primary Certification Authority$/)
{
$cert_alias = "verisignclass1ca";
}
elsif ($cert =~ /Class 1 Public Primary Certification Authority - G2/)
{
$cert_alias = "verisignclass1g2ca";
}
elsif ($cert =~
/VeriSign Class 1 Public Primary Certification Authority - G3/)
{
$cert_alias = "verisignclass1g3ca";
}
elsif ($cert =~ /Class 2 Public Primary Certification Authority$/)
{
$cert_alias = "verisignclass2ca";
}
elsif ($cert =~ /Class 2 Public Primary Certification Authority - G2/)
{
$cert_alias = "verisignclass2g2ca";
}
elsif ($cert =~
/VeriSign Class 2 Public Primary Certification Authority - G3/)
{
$cert_alias = "verisignclass2g3ca";
}
elsif ($cert =~ /Class 3 Public Primary Certification Authority$/)
{
$cert_alias = "verisignclass3ca";
}
# Version 1 of Class 3 Public Primary Certification Authority
# - G2 is added. Version 3 is excluded. See below.
elsif ($cert =~
/VeriSign Class 3 Public Primary Certification Authority - G3/)
{
$cert_alias = "verisignclass3g3ca";
}
elsif ($cert =~
/RSA Data Security.*Secure Server Certification Authority/)
{
$cert_alias = "verisignserverca";
}
elsif ($cert =~ /GTE CyberTrust Global Root/)
{
$cert_alias = "gtecybertrustglobalca";
}
elsif ($cert =~ /Baltimore CyberTrust Root/)
{
$cert_alias = "baltimorecybertrustca";
}
elsif ($cert =~ /www.entrust.net\/Client_CA_Info\/CPS/)
{
$cert_alias = "entrustclientca";
}
elsif ($cert =~ /www.entrust.net\/GCCA_CPS/)
{
$cert_alias = "entrustglobalclientca";
}
elsif ($cert =~ /www.entrust.net\/CPS_2048/)
{
$cert_alias = "entrust2048ca";
}
elsif ($cert =~ /www.entrust.net\/CPS /)
{
$cert_alias = "entrustsslca";
}
elsif ($cert =~ /www.entrust.net\/SSL_CPS/)
{
$cert_alias = "entrustgsslca";
}
elsif ($cert =~ /The Go Daddy Group/)
{
$cert_alias = "godaddyclass2ca";
}
elsif ($cert =~ /Starfield Class 2 Certification Authority/)
{
$cert_alias = "starfieldclass2ca";
}
elsif ($cert =~ /ValiCert Class 2 Policy Validation Authority/)
{
$cert_alias = "valicertclass2ca";
}
elsif ($cert =~ /GeoTrust Global CA$/)
{
$cert_alias = "geotrustglobalca";
}
elsif ($cert =~ /Equifax Secure Certificate Authority/)
{
$cert_alias = "equifaxsecureca";
}
elsif ($cert =~ /Equifax Secure eBusiness CA-1/)
{
$cert_alias = "equifaxsecureebusinessca1";
}
elsif ($cert =~ /Equifax Secure eBusiness CA-2/)
{
$cert_alias = "equifaxsecureebusinessca2";
}
elsif ($cert =~ /Equifax Secure Global eBusiness CA-1/)
{
$cert_alias = "equifaxsecureglobalebusinessca1";
}
elsif ($cert =~ /Sonera Class1 CA/)
{
$cert_alias = "soneraclass1ca";
}
elsif ($cert =~ /Sonera Class2 CA/)
{
$cert_alias = "soneraclass2ca";
}
elsif ($cert =~ /AAA Certificate Services/)
{
$cert_alias = "comodoaaaca";
}
elsif ($cert =~ /AddTrust Class 1 CA Root/)
{
$cert_alias = "addtrustclass1ca";
}
elsif ($cert =~ /AddTrust External CA Root/)
{
$cert_alias = "addtrustexternalca";
}
elsif ($cert =~ /AddTrust Qualified CA Root/)
{
$cert_alias = "addtrustqualifiedca";
}
elsif ($cert =~ /UTN-USERFirst-Hardware/)
{
$cert_alias = "utnuserfirsthardwareca";
}
elsif ($cert =~ /UTN-USERFirst-Client Authentication and Email/)
{
$cert_alias = "utnuserfirstclientauthemailca";
}
elsif ($cert =~ /UTN - DATACorp SGC/)
{
$cert_alias = "utndatacorpsgcca";
}
elsif ($cert =~ /UTN-USERFirst-Object/)
{
$cert_alias = "utnuserfirstobjectca";
}
elsif ($cert =~ /America Online Root Certification Authority 1/)
{
$cert_alias = "aolrootca1";
}
elsif ($cert =~ /DigiCert Assured ID Root CA/)
{
$cert_alias = "digicertassuredidrootca";
}
elsif ($cert =~ /DigiCert Global Root CA/)
{
$cert_alias = "digicertglobalrootca";
}
elsif ($cert =~ /DigiCert High Assurance EV Root CA/)
{
$cert_alias = "digicerthighassuranceevrootca";
}
elsif ($cert =~ /GlobalSign Root CA$/)
{
$cert_alias = "globalsignca";
}
elsif ($cert =~ /GlobalSign Root CA - R2/)
{
$cert_alias = "globalsignr2ca";
}
elsif ($cert =~ /Elektronik.*Kas.*2005/)
{
$cert_alias = "extra-elektronikkas2005";
}
elsif ($cert =~ /Elektronik/)
{
$cert_alias = "extra-elektronik2005";
}
# Mozilla does not provide these certificates:
# baltimorecodesigningca
# gtecybertrust5ca
# trustcenterclass2caii
# trustcenterclass4caii
# trustcenteruniversalcai
else
{
# Generate an alias using the OU and CN attributes of the
# Issuer field if both are present, otherwise use only the
# CN attribute. The Issuer field must have either the OU
# or the CN attribute.
$_ = $cert;
if ($cert =~ /OU=/)
{
s/Issuer:.*?OU=//;
# Remove other occurrences of OU=.
s/OU=.*CN=//;
# Remove CN= if there were not other occurrences of OU=.
s/CN=//;
s/\/emailAddress.*//;
s/Certificate Authority/ca/g;
s/Certification Authority/ca/g;
}
elsif ($cert =~ /CN=/)
{
s/Issuer:.*CN=//;
s/\/emailAddress.*//;
s/Certificate Authority/ca/g;
s/Certification Authority/ca/g;
}
s/\W//g;
tr/A-Z/a-z/;
$cert_alias = "extra-$_";
}
while (-e "$cert_alias.pem")
{
$cert_alias = "$cert_alias" . "_";
}
}
# When it attempts to parse:
#
# Class 3 Public Primary Certification Authority - G2, Version 3
#
# keytool says:
#
# #2: ObjectId: 1.3.6.1.5.5.7.1.1 Criticality=false
# Unparseable AuthorityInfoAccess extension due to
# java.io.IOException: Invalid encoding of URI
#
# If we do not exclude this file
# openjdk/jdk/test/lib/security/cacerts/VerifyCACerts.java fails
# on this cert, printing:
#
# Couldn't verify: java.security.SignatureException: Signature
# does not match.
#
elsif ($cert =~
/A6:0F:34:C8:62:6C:81:F6:8B:F7:7D:A9:F6:67:58:8A:90:3F:7D:36/)
{
$write_current_cert = 0;
$pem_file_count--;
}
elsif ($cert eq "-----BEGIN CERTIFICATE-----\n")
{
if ($in_cert_block != 0)
{
die "$file is malformed.";
}
$in_cert_block = 1;
if ($write_current_cert == 1)
{
$pem_file_count++;
if (-e "$cert_alias.pem")
{
print "$cert_alias";
die "already exists"
}
open(PEM, ">$cert_alias.pem");
print PEM $cert;
}
}
elsif ($cert eq "-----END CERTIFICATE-----\n")
{
$in_cert_block = 0;
if ($write_current_cert == 1)
{
print PEM $cert;
close(PEM);
}
$write_current_cert = 1
}
else
{
if ($in_cert_block == 1 && $write_current_cert == 1)
{
print PEM $cert;
}
}
}
# Check that the correct number of .pem files were produced.
@pem_files = <*.pem>;
if (@pem_files != $pem_file_count)
{
print "$pem_file_count";
die "Number of .pem files produced does not match".
" number of certs read from $file.";
}
# Now store each cert in the 'cacerts' file using keytool.
$certs_written_count = 0;
foreach $pem_file (@pem_files)
{
system "$ARGV[0] -noprompt -import".
" -alias `basename $pem_file .pem`".
" -keystore cacerts -storepass 'changeit' -file $pem_file";
unlink($pem_file);
$certs_written_count++;
}
# Check that the correct number of certs were added to the keystore.
if ($certs_written_count != $pem_file_count)
{
die "Number of certs added to keystore does not match".
" number of certs read from $file.";
}

View File

@ -1,18 +0,0 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/files/sun-jdk-1.6.env,v 1.3 2007/04/30 11:03:14 betelgeuse Exp $
VERSION="OpenJDK@SLOT@/IcedTea@SLOT@ @PV@"
JAVA_HOME=/usr/lib/icedtea@SLOT@
JDK_HOME=/usr/lib/icedtea@SLOT@
JAVAC=${JAVA_HOME}/bin/javac
PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin"
LDPATH="${JAVA_HOME}/jre/lib/@PLATFORM@/:${JAVA_HOME}/jre/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/jre/lib/@PLATFORM@/xawt/:${JAVA_HOME}/jre/lib/@PLATFORM@/server/"
MANPATH="/usr/lib/icedtea@SLOT@/man"
PROVIDES_TYPE="JDK JRE"
PROVIDES_VERSION="1.@SLOT@"
# Taken from sun.boot.class.path property
BOOTCLASSPATH="${JAVA_HOME}/jre/lib/resources.jar:${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/jsse.jar:${JAVA_HOME}/jre/lib/jce.jar:${JAVA_HOME}/jre/lib/charsets.jar"
GENERATION="2"
ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"

View File

@ -1,321 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
# *********************************************************
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-7.* AS WELL *
# *********************************************************
EAPI="2"
inherit pax-utils java-pkg-2 java-vm-2
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
SLOT="6"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
DESCRIPTION="A harness to build the OpenJDK using Free Software build tools and dependencies"
ICEDTEA_VER="1.8"
ICEDTEA_PKG=icedtea${SLOT}-${ICEDTEA_VER}
OPENJDK_BUILD="18"
OPENJDK_DATE="16_feb_2010"
OPENJDK_TARBALL="openjdk-6-src-b${OPENJDK_BUILD}-${OPENJDK_DATE}.tar.gz"
HOTSPOT_TARBALL="62926c7f67a3.tar.gz"
JAXP_TARBALL="jdk6-jaxp-2009_10_13.zip"
JAXWS_TARBALL="jdk6-jaxws-2009_10_27.zip"
JAF_TARBALL="jdk6-jaf-2009_10_27.zip"
CACAO_TARBALL="cacao-0.99.4.tar.gz"
SRC_URI="http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
http://download.java.net/openjdk/jdk6/promoted/b${OPENJDK_BUILD}/${OPENJDK_TARBALL}
http://hg.openjdk.java.net/hsx/hsx16/master/archive/${HOTSPOT_TARBALL}
https://jaxp.dev.java.net/files/documents/913/147329/${JAXP_TARBALL}
http://kenai.com/projects/jdk6-drops/downloads/download/${JAXWS_TARBALL}
http://kenai.com/projects/jdk6-drops/downloads/download/${JAF_TARBALL}
cacao? ( http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-0.99.4/${CACAO_TARBALL} )"
HOMEPAGE="http://icedtea.classpath.org"
S=${WORKDIR}/${ICEDTEA_PKG}
# Missing options:
# shark - still experimental, requires llvm which is not yet packaged
# visualvm - requries netbeans which would cause major bootstrap issues
IUSE="cacao debug doc examples +hs16 javascript nio2 nsplugin +nss pulseaudio systemtap +xrender zero"
# JTReg doesn't pass at present
RESTRICT="test"
RDEPEND=">=net-print/cups-1.2.12
>=x11-libs/libX11-1.1.3
>=media-libs/freetype-2.3.5
>=media-libs/alsa-lib-1.0
>=x11-libs/gtk+-2.8
>=x11-libs/libXinerama-1.0.2
>=x11-libs/libXp-1.0.0
>=x11-libs/libXi-1.1.3
>=x11-libs/libXau-1.0.3
>=x11-libs/libXdmcp-1.0.2
>=x11-libs/libXtst-1.0.3
>=media-libs/jpeg-6b
>=media-libs/libpng-1.2
>=media-libs/giflib-4.1.6
>=sys-libs/zlib-1.2.3
x11-proto/inputproto
x11-proto/xineramaproto
nsplugin? ( >=net-libs/xulrunner-1.9.1 )
pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
javascript? ( dev-java/rhino:1.6 )
zero? ( virtual/libffi )
xrender? ( >=x11-libs/libXrender-0.9.4 )
systemtap? ( >=dev-util/systemtap-1 )
!dev-java/icedtea6
nss? ( >=dev-libs/nss-3.12.5-r1 )"
# Additional dependencies for building:
# zip: extract OpenJDK tarball, and needed by configure
# xalan/xerces: automatic code generation (also needed for Ant 1.8.0 to work properly)
# ant, ecj, jdk: required to build Java code
# Only ant-core-1.7.1-r2 and later contain a version of Ant that
# properly respects environment variables, if the build
# sets some environment variables.
# ca-certificates, perl and openssl are used for the cacerts keystore generation
# xext headers have two variants depending on version - bug #288855
DEPEND="${RDEPEND}
|| (
( >=dev-java/gcj-jdk-4.3 =app-admin/eselect-ecj-0.5-r1 )
( >=dev-java/cacao-0.99.2 =app-admin/eselect-ecj-0.5-r1 )
dev-java/icedtea6-bin
dev-java/icedtea:${SLOT}
)
app-arch/zip
>=dev-java/xalan-2.7.0:0
>=dev-java/xerces-2.9.1:2
>=dev-java/ant-core-1.7.1-r2
app-misc/ca-certificates
dev-lang/perl
dev-libs/openssl
|| (
(
>=x11-libs/libXext-1.1.1
>=x11-proto/xextproto-7.1.1
x11-proto/xproto
)
<x11-libs/libXext-1.1.1
)
sys-apps/lsb-release"
# a bit of hack so the VM switching is triggered without causing dependency troubles
JAVA_PKG_NV_DEPEND=">=virtual/jdk-1.5"
JAVA_PKG_WANT_SOURCE="1.5"
JAVA_PKG_WANT_TARGET="1.5"
pkg_setup() {
# Shark support disabled for now - still experimental and needs sys-devel/llvm
# if use shark ; then
# if ( ! use x86 && ! use sparc && ! use ppc ) ; then
# eerror "The Shark JIT has known issues on 64-bit platforms. Please rebuild"
# errror "without the shark USE flag turned on."
# die "Rebuild without the shark USE flag on."
# fi
# if ( ! use zero ) ; then
# eerror "The use of the Shark JIT is only applicable when used with the zero assembler port.";
# die "Rebuild without the shark USE flag on or with the zero USE flag turned on."
# fi
# fi
# quite a hack since java-config does not provide a way for a package
# to limit supported VM's for building and their preferred order
if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
einfo "Honoring user-set JAVA_PKG_FORCE_VM"
elif has_version "dev-java/icedtea:${SLOT}"; then
JAVA_PKG_FORCE_VM="icedtea6"
elif has_version dev-java/icedtea6; then
JAVA_PKG_FORCE_VM="icedtea6"
elif has_version dev-java/icedtea6-bin; then
JAVA_PKG_FORCE_VM="icedtea6-bin"
elif has_version dev-java/gcj-jdk; then
JAVA_PKG_FORCE_VM="gcj-jdk"
elif has_version dev-java/cacao; then
JAVA_PKG_FORCE_VM="cacao"
else
JAVA_PKG_FORCE_VM=""
# don't die just yet if merging a binpkg - bug #258423
DIE_IF_NOT_BINPKG=true
fi
# if the previous failed, don't even run java eclasses pkg_setup
# as it might also die when no VM is present
if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
java-vm-2_pkg_setup
java-pkg-2_pkg_setup
fi
VMHANDLE="icedtea${SLOT}"
}
src_unpack() {
if [[ -n ${DIE_IF_NOT_BINPKG} ]]; then
die "Unable to find a supported VM for building"
fi
unpack ${ICEDTEA_PKG}.tar.gz
}
unset_vars() {
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
}
src_configure() {
local config procs rhino_jar
local openjdk_libdir=$(java-config -O|sed "s:/lib/:/$(get_libdir)/:g")
local vm=$(java-pkg_get-current-vm)
local vmhome="/usr/$(get_libdir)/jvm/${vm}"
# IcedTea6 can't be built using IcedTea7; its class files are too new
if [[ "${vm}" == "icedtea6" ]] || [[ "${vm}" == "icedtea6-bin" ]] ; then
# If we are upgrading icedtea, then we don't need to bootstrap.
config="${config} --with-openjdk=${openjdk_libdir}"
elif [[ "${vm}" == "gcj-jdk" || "${vm}" == "cacao" ]] ; then
# For other 1.5 JDKs e.g. GCJ, CACAO.
config="${config} --with-ecj-jar=/usr/share/eclipse-ecj/ecj.jar" \
config="${config} --with-gcj-home=${vmhome}"
else
eerror "IcedTea${SLOT} must be built with either a JDK based on GNU Classpath or an existing build of IcedTea${SLOT}."
die "Install a GNU Classpath JDK (gcj-jdk, cacao)"
fi
# OpenJDK-specific parallelism support.
procs=$(echo ${MAKEOPTS} | sed -r 's/.*-j\W*([0-9]+).*/\1/')
if [[ -n ${procs} ]] ; then
config="${config} --with-parallel-jobs=${procs}";
einfo "Configuring using --with-parallel-jobs=${procs}"
fi
if use_zero ; then
config="${config} --enable-zero"
else
config="${config} --disable-zero"
fi
if use javascript ; then
rhino_jar=$(java-pkg_getjar rhino:1.6 js.jar);
fi
if use hs16 ; then
config="${config} --with-hotspot-build=hs16"
fi
unset_vars
econf ${config} \
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
--with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \
--with-jaxp-drop-zip="${DISTDIR}/${JAXP_TARBALL}" \
--with-jaxws-drop-zip="${DISTDIR}/${JAXWS_TARBALL}" \
--with-jaf-drop-zip="${DISTDIR}/${JAF_TARBALL}" \
--with-cacao-src-zip="${DISTDIR}/${CACAO_TARBALL}" \
--with-java="${vmhome}/bin/java" \
--with-javac="${vmhome}/bin/javac" \
--with-javah="${vmhome}/bin/javah" \
--with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
$(use_enable !debug optimizations) \
$(use_enable doc docs) \
$(use_enable nsplugin plugin) \
$(use_with javascript rhino ${rhino_jar}) \
$(use_enable cacao) \
$(use_enable pulseaudio pulse-java) \
$(use_enable xrender) \
$(use_enable systemtap) \
$(use_enable nio2) \
$(use_enable nss) \
|| die "configure failed"
}
src_compile() {
# Newer versions of Gentoo's ant add
# an environment variable so it works properly...
export ANT_RESPECT_JAVA_HOME=TRUE
# ant -diagnostics in Ant 1.8.0 fails without these
# otherwise we try to load the least that's needed to avoid possible classpath collisions
export ANT_TASKS="xerces-2 xalan ant-nodeps"
# Paludis does not respect unset from src_configure
unset_vars
local arch=${ARCH}
( [[ ${ABI} == x86 ]] || use x86 ) && arch=i586
emake -j 1 || die "make failed"
}
src_install() {
local dest="/usr/$(get_libdir)/icedtea${SLOT}"
local ddest="${D}/${dest}"
dodir "${dest}" || die
local arch=${ARCH}
( [[ ${ABI} == x86 ]] || use x86 ) && arch=i586
dodoc README NEWS AUTHORS THANKYOU || die
cd "${S}/openjdk/build/linux-${arch}/j2sdk-image" || die
if use doc ; then
# java-pkg_dohtml needed for package-list #302654
java-pkg_dohtml -r ../docs/* || die "Failed to install documentation"
fi
# doins can't handle symlinks.
cp -vRP bin include jre lib man "${ddest}" || die "failed to copy"
# Set PaX markings on all JDK/JRE executables to allow code-generation on
# the heap by the JIT compiler.
pax-mark m $(list-paxables "${ddest}"{,/jre}/bin/*)
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README || die
if use examples; then
dodir "${dest}/share";
cp -vRP demo sample "${ddest}/share/" || die
fi
cp src.zip "${ddest}" || die
# Fix the permissions.
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
if use nsplugin; then
( [[ ${ABI} == x86 ]] || use x86 ) && arch=i386;
install_mozilla_plugin "${dest}/jre/lib/${arch}/IcedTeaPlugin.so";
fi
# We need to generate keystore - bug #273306
einfo "Generating cacerts file from certificates in /usr/share/ca-certificates/"
mkdir "${T}/certgen" && cd "${T}/certgen" || die
cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
for c in /usr/share/ca-certificates/*/*.crt; do
openssl x509 -text -in "${c}" >> all.crt || die
done
./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
cp -vRP cacerts "${ddest}/jre/lib/security/" || die
chmod 644 "${ddest}/jre/lib/security/cacerts" || die
cd "${S}" && rm -rf "${T}/certgen" || die
sed -e "s/@SLOT@/${SLOT}/g" \
-e "s/@PV@/${ICEDTEA_VER}/g" \
< "${FILESDIR}/icedtea.env" > "${T}/icedtea.env"
set_java_env "${T}/icedtea.env"
}
use_zero() {
use zero || ( ! use amd64 && ! use x86 && ! use sparc )
}
pkg_postinst() {
# Set as default VM if none exists
java-vm-2_pkg_postinst
if use nsplugin; then
elog "The icedtea${SLOT} browser plugin (NPPlugin) can be enabled using eselect java-nsplugin"
elog "Note that the plugin works only in browsers based on xulrunner-1.9.1 or later"
elog "such as Firefox 3.5+, Chromium and perhaps some others too."
fi
}

View File

@ -1,332 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
# *********************************************************
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-7.* AS WELL *
# *********************************************************
EAPI="2"
inherit autotools pax-utils java-pkg-2 java-vm-2 versionator
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
SLOT="6"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
DESCRIPTION="A harness to build the OpenJDK using Free Software build tools and dependencies"
ICEDTEA_VER="$(get_version_component_range 2-4)"
ICEDTEA_PKG=icedtea${SLOT}-${ICEDTEA_VER}
OPENJDK_BUILD="20"
OPENJDK_DATE="21_jun_2010"
OPENJDK_TARBALL="openjdk-6-src-b${OPENJDK_BUILD}-${OPENJDK_DATE}.tar.gz"
JAXP_TARBALL="jdk6-jaxp-b20.zip"
JAXWS_TARBALL="jdk6-jaxws-b20.zip"
JAF_TARBALL="jdk6-jaf-b20.zip"
HOTSPOT_TARBALL="13edc857b967.tar.gz"
CACAO_TARBALL="e321b101a9ee.tar.bz2"
SRC_URI="http://icedtea.classpath.org/download/source/${ICEDTEA_PKG}.tar.gz
http://download.java.net/openjdk/jdk6/promoted/b${OPENJDK_BUILD}/${OPENJDK_TARBALL}
http://icedtea.classpath.org/download/drops/${JAXWS_TARBALL}
http://icedtea.classpath.org/download/drops/${JAF_TARBALL}
http://icedtea.classpath.org/download/drops/${JAXP_TARBALL}
http://hg.openjdk.java.net/hsx/hsx19/master/archive/${HOTSPOT_TARBALL}
cacao? ( http://mips.complang.tuwien.ac.at/hg/cacao/archive/${CACAO_TARBALL} )"
HOMEPAGE="http://icedtea.classpath.org"
S=${WORKDIR}/${ICEDTEA_PKG}
# Missing options:
# shark - needs adding
IUSE="cacao debug doc examples +hs19 javascript nio2 +nsplugin +nss pulseaudio systemtap +webstart +xrender zero"
# JTReg doesn't pass at present
RESTRICT="test"
RDEPEND=">=net-print/cups-1.2.12
>=x11-libs/libX11-1.1.3
>=media-libs/freetype-2.3.5
>=media-libs/alsa-lib-1.0
>=x11-libs/gtk+-2.8
>=x11-libs/libXinerama-1.0.2
>=x11-libs/libXp-1.0.0
>=x11-libs/libXi-1.1.3
>=x11-libs/libXau-1.0.3
>=x11-libs/libXdmcp-1.0.2
>=x11-libs/libXtst-1.0.3
>=media-libs/jpeg-6b
>=media-libs/libpng-1.2
>=media-libs/giflib-4.1.6
>=sys-libs/zlib-1.2.3
x11-proto/inputproto
x11-proto/xineramaproto
nsplugin? ( >=net-libs/xulrunner-1.9.1 )
pulseaudio? ( >=media-sound/pulseaudio-0.9.11 )
javascript? ( dev-java/rhino:1.6 )
zero? ( virtual/libffi )
xrender? ( >=x11-libs/libXrender-0.9.4 )
systemtap? ( >=dev-util/systemtap-1 )
!dev-java/icedtea6
nss? ( >=dev-libs/nss-3.12.5-r1 )"
# Additional dependencies for building:
# zip: extract OpenJDK tarball, and needed by configure
# xalan/xerces: automatic code generation (also needed for Ant 1.8.0 to work properly)
# ant, ecj, jdk: required to build Java code
# Only ant-core-1.7.1-r2 and later contain a version of Ant that
# properly respects environment variables, if the build
# sets some environment variables.
# ca-certificates, perl and openssl are used for the cacerts keystore generation
# xext headers have two variants depending on version - bug #288855
DEPEND="${RDEPEND}
|| (
( >=dev-java/gcj-jdk-4.3 >=app-admin/eselect-ecj-0.5-r1 )
( >=dev-java/cacao-0.99.2 >=app-admin/eselect-ecj-0.5-r1 )
dev-java/icedtea6-bin
dev-java/icedtea:${SLOT}
)
app-arch/zip
>=dev-java/xalan-2.7.0:0
>=dev-java/xerces-2.9.1:2
>=dev-java/ant-core-1.7.1-r2
dev-java/ant-nodeps
app-misc/ca-certificates
dev-lang/perl
dev-libs/openssl
|| (
(
>=x11-libs/libXext-1.1.1
>=x11-proto/xextproto-7.1.1
x11-proto/xproto
)
<x11-libs/libXext-1.1.1
)
sys-apps/lsb-release"
# a bit of hack so the VM switching is triggered without causing dependency troubles
JAVA_PKG_NV_DEPEND=">=virtual/jdk-1.5"
JAVA_PKG_WANT_SOURCE="1.5"
JAVA_PKG_WANT_TARGET="1.5"
pkg_setup() {
# Shark support disabled for now - still experimental and needs sys-devel/llvm
# if use shark ; then
# if ( ! use x86 && ! use sparc && ! use ppc ) ; then
# eerror "The Shark JIT has known issues on 64-bit platforms. Please rebuild"
# errror "without the shark USE flag turned on."
# die "Rebuild without the shark USE flag on."
# fi
# if ( ! use zero ) ; then
# eerror "The use of the Shark JIT is only applicable when used with the zero assembler port.";
# die "Rebuild without the shark USE flag on or with the zero USE flag turned on."
# fi
# fi
if use nsplugin && ! use webstart ; then
eerror "WebStart is required if building the plugin."
die 'Re-try with USE="webstart"'
fi
# quite a hack since java-config does not provide a way for a package
# to limit supported VM's for building and their preferred order
if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
einfo "Honoring user-set JAVA_PKG_FORCE_VM"
elif has_version "dev-java/icedtea:${SLOT}"; then
JAVA_PKG_FORCE_VM="icedtea6"
elif has_version dev-java/icedtea6; then
JAVA_PKG_FORCE_VM="icedtea6"
elif has_version dev-java/icedtea6-bin; then
JAVA_PKG_FORCE_VM="icedtea6-bin"
elif has_version dev-java/gcj-jdk; then
JAVA_PKG_FORCE_VM="gcj-jdk"
elif has_version dev-java/cacao; then
JAVA_PKG_FORCE_VM="cacao"
else
JAVA_PKG_FORCE_VM=""
# don't die just yet if merging a binpkg - bug #258423
DIE_IF_NOT_BINPKG=true
fi
# if the previous failed, don't even run java eclasses pkg_setup
# as it might also die when no VM is present
if [[ -n "${JAVA_PKG_FORCE_VM}" ]]; then
einfo "Forced vm ${JAVA_PKG_FORCE_VM}"
java-vm-2_pkg_setup
java-pkg-2_pkg_setup
fi
VMHANDLE="icedtea${SLOT}"
}
src_unpack() {
if [[ -n ${DIE_IF_NOT_BINPKG} ]]; then
die "Unable to find a supported VM for building"
fi
unpack ${ICEDTEA_PKG}.tar.gz
}
unset_vars() {
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
}
src_prepare() {
epatch "${FILESDIR}/${PV}-sparc.patch"
eautoreconf
}
src_configure() {
local config procs rhino_jar
local openjdk_libdir=$(java-config -O|sed "s:/lib/:/$(get_libdir)/:g")
local vm=$(java-pkg_get-current-vm)
local vmhome="/usr/$(get_libdir)/jvm/${vm}"
# IcedTea6 can't be built using IcedTea7; its class files are too new
if [[ "${vm}" == "icedtea6" ]] || [[ "${vm}" == "icedtea6-bin" ]] ; then
# If we are upgrading icedtea, then we don't need to bootstrap.
config="${config} --with-openjdk=${openjdk_libdir}"
elif [[ "${vm}" == "gcj-jdk" || "${vm}" == "cacao" ]] ; then
# For other 1.5 JDKs e.g. GCJ, CACAO.
config="${config} --with-ecj-jar=/usr/share/eclipse-ecj/ecj.jar" \
config="${config} --with-gcj-home=${vmhome}"
else
eerror "IcedTea${SLOT} must be built with either a JDK based on GNU Classpath or an existing build of IcedTea${SLOT}."
die "Install a GNU Classpath JDK (gcj-jdk, cacao)"
fi
# OpenJDK-specific parallelism support.
procs=$(echo ${MAKEOPTS} | sed -r 's/.*-j\W*([0-9]+).*/\1/')
if [[ -n ${procs} ]] ; then
config="${config} --with-parallel-jobs=${procs}";
einfo "Configuring using --with-parallel-jobs=${procs}"
fi
if use_zero ; then
config="${config} --enable-zero"
else
config="${config} --disable-zero"
fi
if use javascript ; then
rhino_jar=$(java-pkg_getjar rhino:1.6 js.jar);
fi
if use hs19 ; then
config="${config} --with-hotspot-build=hs19"
fi
unset_vars
econf ${config} \
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_TARBALL}" \
--with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_TARBALL}" \
--with-jaxp-drop-zip="${DISTDIR}/${JAXP_TARBALL}" \
--with-jaxws-drop-zip="${DISTDIR}/${JAXWS_TARBALL}" \
--with-jaf-drop-zip="${DISTDIR}/${JAF_TARBALL}" \
--with-cacao-src-zip="${DISTDIR}/${CACAO_TARBALL}" \
--with-java="${vmhome}/bin/java" \
--with-javac="${vmhome}/bin/javac" \
--with-javah="${vmhome}/bin/javah" \
--with-abs-install-dir=/usr/$(get_libdir)/icedtea${SLOT} \
$(use_enable !debug optimizations) \
$(use_enable doc docs) \
$(use_enable nsplugin plugin) \
$(use_with javascript rhino ${rhino_jar}) \
$(use_enable cacao) \
$(use_enable pulseaudio pulse-java) \
$(use_enable xrender) \
$(use_enable systemtap) \
$(use_enable nio2) \
$(use_enable nss) \
$(use_enable webstart) \
|| die "configure failed"
}
src_compile() {
# Newer versions of Gentoo's ant add
# an environment variable so it works properly...
export ANT_RESPECT_JAVA_HOME=TRUE
# ant -diagnostics in Ant 1.8.0 fails without these
# otherwise we try to load the least that's needed to avoid possible classpath collisions
export ANT_TASKS="xerces-2 xalan ant-nodeps"
# Paludis does not respect unset from src_configure
unset_vars
local arch=${ARCH}
( [[ ${ABI} == x86 ]] || use x86 ) && arch=i586
emake -j 1 || die "make failed"
}
src_install() {
local dest="${ROOT}usr/$(get_libdir)/icedtea${SLOT}"
local ddest="${D}/${dest}"
dodir "${dest}" || die
local arch=${ARCH}
( [[ ${ABI} == x86 ]] || use x86 ) && arch=i586
dodoc README NEWS AUTHORS THANKYOU || die
dosym "${ROOT}usr/share/doc/${PF}" "${ROOT}usr/share/doc/${PN}${SLOT}"
cd "${S}/openjdk/build/linux-${arch}/j2sdk-image" || die
if use doc ; then
# java-pkg_dohtml needed for package-list #302654
java-pkg_dohtml -r ../docs/* || die "Failed to install documentation"
fi
# doins can't handle symlinks.
cp -vRP bin include jre lib man "${ddest}" || die "failed to copy"
# Set PaX markings on all JDK/JRE executables to allow code-generation on
# the heap by the JIT compiler.
pax-mark m $(list-paxables "${ddest}"{,/jre}/bin/*)
dodoc ASSEMBLY_EXCEPTION THIRD_PARTY_README || die
if use examples; then
dodir "${dest}/share";
cp -vRP demo sample "${ddest}/share/" || die
fi
cp src.zip "${ddest}" || die
# Fix the permissions.
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
if use nsplugin; then
( [[ ${ABI} == x86 ]] || use x86 ) && arch=i386;
install_mozilla_plugin "${dest}/jre/lib/${arch}/IcedTeaPlugin.so";
fi
# We need to generate keystore - bug #273306
einfo "Generating cacerts file from certificates in /usr/share/ca-certificates/"
mkdir "${T}/certgen" && cd "${T}/certgen" || die
cp "${FILESDIR}/generate-cacerts.pl" . && chmod +x generate-cacerts.pl || die
for c in /usr/share/ca-certificates/*/*.crt; do
openssl x509 -text -in "${c}" >> all.crt || die
done
./generate-cacerts.pl "${ddest}/bin/keytool" all.crt || die
cp -vRP cacerts "${ddest}/jre/lib/security/" || die
chmod 644 "${ddest}/jre/lib/security/cacerts" || die
sed -e "s/@SLOT@/${SLOT}/g" \
-e "s/@PV@/${ICEDTEA_VER}/g" \
< "${FILESDIR}/icedtea.env" > "${T}/icedtea.env"
set_java_env "${T}/icedtea.env"
}
use_zero() {
use zero || ( ! use amd64 && ! use x86 && ! use sparc )
}
pkg_postinst() {
# Set as default VM if none exists
java-vm-2_pkg_postinst
if use nsplugin; then
elog "The icedtea${SLOT} browser plugin (NPPlugin) can be enabled using eselect java-nsplugin"
elog "Note that the plugin works only in browsers based on xulrunner-1.9.1 or later"
elog "such as Firefox 3.5+, Chromium and perhaps some others too."
fi
}

View File

@ -1,7 +1,12 @@
# ChangeLog for dev-util/go-utils # ChangeLog for dev-util/go-utils
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
*go-utils-0.3.1 (02 Nov 2011)
02 Nov 2011; Mario Fetka <mario.fetka@gmail.com> +go-utils-0.3.1.ebuild:
Bump to repo-commit
08 Nov 2010; Mario Fetka <mario.fetka@gmail.com> go-utils-0.2.ebuild, 08 Nov 2010; Mario Fetka <mario.fetka@gmail.com> go-utils-0.2.ebuild,
go-utils-0.3.ebuild, metadata.xml: go-utils-0.3.ebuild, metadata.xml:
add correct dpendencies add correct dpendencies

View File

@ -1,6 +1,7 @@
DIST checkPatch 1545 RMD160 cc050c8e26a95081976c1275cfcbbe2ddcecc5e3 SHA1 c7a8006a5137ccbe05a22d6e921512d84613e9a7 SHA256 06e19e208b22f0c52e944f8d9341c4580f1c1340bf09852bf1639fe4c8cdabae DIST checkPatch 1545 RMD160 cc050c8e26a95081976c1275cfcbbe2ddcecc5e3 SHA1 c7a8006a5137ccbe05a22d6e921512d84613e9a7 SHA256 06e19e208b22f0c52e944f8d9341c4580f1c1340bf09852bf1639fe4c8cdabae
DIST checkdeps.rb 2125 RMD160 e15f49a5cd098dcd05e340b7acbbeb9a8cf92038 SHA1 29fb70411239798f8f474300e9b104405db7af77 SHA256 e66bcc7f8a20207ca1d3421a910d1346e4a1838804e5b53791e92eb447c2b69c DIST checkdeps.rb 2125 RMD160 e15f49a5cd098dcd05e340b7acbbeb9a8cf92038 SHA1 29fb70411239798f8f474300e9b104405db7af77 SHA256 e66bcc7f8a20207ca1d3421a910d1346e4a1838804e5b53791e92eb447c2b69c
DIST distclean-0.3.py 3149 RMD160 8d6778636984a9e5fb5706777285ccbf07ded049 SHA1 b56998e308d0857b6219743dd4960546a8ef258c SHA256 cd5402d58140464b5963e8ae3b118cede556e30e4ebaca714222909cf5fe9924 DIST distclean-0.3.py 3149 RMD160 8d6778636984a9e5fb5706777285ccbf07ded049 SHA1 b56998e308d0857b6219743dd4960546a8ef258c SHA256 cd5402d58140464b5963e8ae3b118cede556e30e4ebaca714222909cf5fe9924
DIST go-utils-0.3.1.tar.bz2 57305 RMD160 a48fa3c3b9bd8843834d60a84f0dff76e733e97a SHA1 28a1c621261b3128a8f982596186dae8064cb414 SHA256 cb838c22e623254ab7ad69c2df2198c24c06fbc736b270d440d5c78d54bddedf
DIST go-utils-0.3.tar.bz2 57091 RMD160 4603fce3c372311e2c079a7a171a8d3f0a869eef SHA1 a4ad9081a466b12d335db93901b595b493a6c30c SHA256 8878a303c8170ff3f70ca1d4cbf22f7a22a0480836628e0c249620a8018e13e1 DIST go-utils-0.3.tar.bz2 57091 RMD160 4603fce3c372311e2c079a7a171a8d3f0a869eef SHA1 a4ad9081a466b12d335db93901b595b493a6c30c SHA256 8878a303c8170ff3f70ca1d4cbf22f7a22a0480836628e0c249620a8018e13e1
DIST lfspatch 4716 RMD160 c40d4a8464b966fc14dec4875bcfe06e56229764 SHA1 71f0022d5da0d2cf47e2b375be3c6cbbe5e8afc1 SHA256 5c212fa2c691978c7d3fa535cb6eaf8de08c7995bb11d19173d36ec7bdcf3e0f DIST lfspatch 4716 RMD160 c40d4a8464b966fc14dec4875bcfe06e56229764 SHA1 71f0022d5da0d2cf47e2b375be3c6cbbe5e8afc1 SHA256 5c212fa2c691978c7d3fa535cb6eaf8de08c7995bb11d19173d36ec7bdcf3e0f
DIST oneelf.rb 357 RMD160 6240095402440cf7a59ea7f60254cf55cf89fa48 SHA1 139661360559025f0d60358099914be20c66aaf8 SHA256 adaef5f8d7547942ff16e6617b0b88d4d7338427c81bae8dde77ced7290e6253 DIST oneelf.rb 357 RMD160 6240095402440cf7a59ea7f60254cf55cf89fa48 SHA1 139661360559025f0d60358099914be20c66aaf8 SHA256 adaef5f8d7547942ff16e6617b0b88d4d7338427c81bae8dde77ced7290e6253
@ -9,6 +10,7 @@ DIST pkgutil.rb 1118 RMD160 97894755e27b1eab1839ccc8d4825689d701cb7a SHA1 89f88e
DIST redigest 105 RMD160 9fe396d5529e66449873557722175c3e1765fc13 SHA1 d3e2000ad7368985861ce91f91c7ca1baee751ae SHA256 a69d7411fc2d41b9003da9f4bac013618f1e719dbdc6ceec3a3b3b2f666b9df0 DIST redigest 105 RMD160 9fe396d5529e66449873557722175c3e1765fc13 SHA1 d3e2000ad7368985861ce91f91c7ca1baee751ae SHA256 a69d7411fc2d41b9003da9f4bac013618f1e719dbdc6ceec3a3b3b2f666b9df0
DIST series2epatch 2067 RMD160 ef9c77a60265f1585b411a57b6e7204ac9dcfc15 SHA1 4a8304c7b7922e118030f6595035a787d4abe57e SHA256 d61da2f63751e6f3734fe3e2da113eb7652b3940975a26f3be066966cc922cd1 DIST series2epatch 2067 RMD160 ef9c77a60265f1585b411a57b6e7204ac9dcfc15 SHA1 4a8304c7b7922e118030f6595035a787d4abe57e SHA256 d61da2f63751e6f3734fe3e2da113eb7652b3940975a26f3be066966cc922cd1
EBUILD go-utils-0.2.1.ebuild 2633 RMD160 4ae1ab169f86001b68b94a1eb5ba4cc818c7e7f2 SHA1 6cfc00e248f95386449cf6544e27ed1bfe48a838 SHA256 d67769c47a1f8d388151461a5268770d06899bf464c0cf7eb5cbfe556f5c5402 EBUILD go-utils-0.2.1.ebuild 2633 RMD160 4ae1ab169f86001b68b94a1eb5ba4cc818c7e7f2 SHA1 6cfc00e248f95386449cf6544e27ed1bfe48a838 SHA256 d67769c47a1f8d388151461a5268770d06899bf464c0cf7eb5cbfe556f5c5402
EBUILD go-utils-0.3.1.ebuild 630 RMD160 110c7a257f3b9dbe8b672206615deb46cd8af6ae SHA1 ce19e76fed7ad08d0e2a2388bfe6f1267203b03d SHA256 11e16a1f72468febc21dc07c6c19b9ab4b4749a391ba7133fb0936bbd3a7463f
EBUILD go-utils-0.3.ebuild 630 RMD160 6476d3facdf06af1e2a2d80b486c49bd162d456d SHA1 e5d782af4bb446d70d4c28e8259ebaf74f25d139 SHA256 17325fff14ee9324d03b5f8f2fc213dd3053aac39828e9bae8772d60cf0b087f EBUILD go-utils-0.3.ebuild 630 RMD160 6476d3facdf06af1e2a2d80b486c49bd162d456d SHA1 e5d782af4bb446d70d4c28e8259ebaf74f25d139 SHA256 17325fff14ee9324d03b5f8f2fc213dd3053aac39828e9bae8772d60cf0b087f
MISC ChangeLog 1384 RMD160 c8957b2629e0029c134f41f8cd09ea430ff4edd9 SHA1 1f537e200eab0708d981d01271a676b6289ed9d2 SHA256 b9bd4f644e6f9c53b79aaabc388c5d5b39aa0229773d4abca7109198d3d1e5b1 MISC ChangeLog 1513 RMD160 caf54cbe39bc0527436fcc80ba185debd9919d4c SHA1 369bd1880635e0d43a6dbbf8bbe11f8959238f0b SHA256 35502a7b8bcfd9047253b918df64f575b9c1a397e948a2faaa4f313717c50b99
MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2 MISC metadata.xml 226 RMD160 bebcbe7a5e3d2be83c25e006192f71ebf45abb14 SHA1 ec2b713fc2363b8c51e9c164d0802eeb59d9d296 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2

View File

@ -0,0 +1,31 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils
DESCRIPTION="geos_one loved tools"
HOMEPAGE="http://linamh.disconnected-by-peer.at"
SRC_URI="http://ftp.disconnected-by-peer.at/go/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2 GPL-3 BSD"
KEYWORDS="~amd64 ~arm ~x86"
RESTRICT="mirror"
IUSE=""
DEPEND=""
RDEPEND="app-portage/gentoolkit-dev
dev-vcs/subversion
sys-apps/portage
dev-lang/ruby
dev-lang/python
app-portage/portage-utils"
src_install() {
emake DESTDIR="${D}" install || die "install fail"
dodoc README LICENSES AUTHORS
}

View File

@ -1,6 +1,7 @@
AUX xine-lib-1.1.19-xvmc.patch 485 RMD160 781a7fbc5dcc9f3c25de83625509fcce3950cca8 SHA1 f78834833e3aeb05f555688ab657ae05cd0691c7 SHA256 6be3ceb8edd7626e93c617de3068374dd638e1445c7308d88b24614e9bbceaf0 AUX xine-lib-1.1.19-xvmc.patch 485 RMD160 781a7fbc5dcc9f3c25de83625509fcce3950cca8 SHA1 f78834833e3aeb05f555688ab657ae05cd0691c7 SHA256 6be3ceb8edd7626e93c617de3068374dd638e1445c7308d88b24614e9bbceaf0
AUX xine-lib-ffmpeg-0.8.patch 4768 RMD160 fb71fda4ebdf3801ea5e480a570fb949596f4a6b SHA1 6a01a90da0079465d3f39b8c48cc875ef32184df SHA256 4d4da84a644dbdc22de2c778edddf19ad56d5c2647f3dbc6a4fc1fbdb6774da1
DIST xine-lib-1.1.15-textrel-fix.patch 29373 RMD160 4702a26f42251614f5f6c99b4770f82da36577ae SHA1 e04d04dbd736fd17be8cf0583d47630850a89bf9 SHA256 1d6aa047cb0a13f248aea2e06e16b9758b9c39d8b7e42b32d0b52b424d26b33e DIST xine-lib-1.1.15-textrel-fix.patch 29373 RMD160 4702a26f42251614f5f6c99b4770f82da36577ae SHA1 e04d04dbd736fd17be8cf0583d47630850a89bf9 SHA256 1d6aa047cb0a13f248aea2e06e16b9758b9c39d8b7e42b32d0b52b424d26b33e
DIST xine-lib-1.1.19.tar.xz 5782580 RMD160 7b8c2a4e5bcd0984414360d8d589aa533a9040f3 SHA1 f65f762d2e16adf04b9d715c91ee0bc02c322a7d SHA256 f834f646880bb44186018d12280ac27c8314447de9335b6fe390157b26df9cd9 DIST xine-lib-1.1.19.tar.xz 5782580 RMD160 7b8c2a4e5bcd0984414360d8d589aa533a9040f3 SHA1 f65f762d2e16adf04b9d715c91ee0bc02c322a7d SHA256 f834f646880bb44186018d12280ac27c8314447de9335b6fe390157b26df9cd9
EBUILD xine-lib-1.1.19-r1.ebuild 5612 RMD160 c54b64eb5ada389a0684b2c7cff5a9cb353f3b63 SHA1 de550ab3c582cc673b392977a0eb054ace77cdcf SHA256 60896322e1581f33e78fed16fde596845821e9bdafdfd6fa38224aeabd37e3c5 EBUILD xine-lib-1.1.19-r1.ebuild 5656 RMD160 fc1de0bf387608f050ec2acc5c6a6a183ec3708f SHA1 d1ed0c60de50207147e97ff7a4920a1d652bb720 SHA256 7892e8fe1aca02f0edd4025df21464f4cf100f386c33ce453cee643aa1c8ab13
MISC ChangeLog 74433 RMD160 29aea8470dc81f1223f0666ca682cd2d985623ae SHA1 b091951fc0a78448dd86fb466baf04f1c3bb5c5d SHA256 7e25aaab047cb7a73d53ff1980995a48addfba84889aa49a3b83de8bcdb0fd26 MISC ChangeLog 74433 RMD160 29aea8470dc81f1223f0666ca682cd2d985623ae SHA1 b091951fc0a78448dd86fb466baf04f1c3bb5c5d SHA256 7e25aaab047cb7a73d53ff1980995a48addfba84889aa49a3b83de8bcdb0fd26
MISC metadata.xml 2913 RMD160 ea5722272700444f2ffe366feb88dfd0a18636df SHA1 97d2d10cc63bde0a4bfc46b9b8c4474ee0337b45 SHA256 4929566b88860ef0c53c15ed84ce5d8bbd36692461631fd3d4814dc9bc0807cf MISC metadata.xml 2913 RMD160 ea5722272700444f2ffe366feb88dfd0a18636df SHA1 97d2d10cc63bde0a4bfc46b9b8c4474ee0337b45 SHA256 4929566b88860ef0c53c15ed84ce5d8bbd36692461631fd3d4814dc9bc0807cf

View File

@ -90,7 +90,8 @@ DEPEND="${RDEPEND}
src_prepare() { src_prepare() {
epatch "${DISTDIR}"/${PN}-1.1.15-textrel-fix.patch \ epatch "${DISTDIR}"/${PN}-1.1.15-textrel-fix.patch \
"${FILESDIR}"/${P}-xvmc.patch "${FILESDIR}"/${P}-xvmc.patch \
"${FILESDIR}"/xine-lib-ffmpeg-0.8.patch
} }
src_configure() { src_configure() {

View File

@ -1,194 +0,0 @@
# ChangeLog for x11-misc/google-gadgets
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/ChangeLog,v 1.34 2010/11/08 04:29:18 jer Exp $
07 Nov 2010; Jeroen Roovers <jer@gentoo.org> google-gadgets-0.10.5.ebuild,
google-gadgets-0.11.1-r1.ebuild, google-gadgets-0.11.2.ebuild:
Remove HPPA keywording (bug #239441).
29 Oct 2010; Jeroen Roovers <jer@gentoo.org>
google-gadgets-0.11.1-r1.ebuild, google-gadgets-0.11.2.ebuild:
Marked ~hppa (bug #272194).
23 Feb 2010; Joseph Jezak <josejx@gentoo.org>
google-gadgets-0.11.2.ebuild:
Marked ~ppc64 for bug #272194.
*google-gadgets-0.11.2 (27 Jan 2010)
27 Jan 2010; Bernard Cafarelli <voyageur@gentoo.org>
+google-gadgets-0.11.2.ebuild:
Version bump, includes previous patches for gtk+-2.19 and xulrunner 1.9.2,
among other fixes
27 Jan 2010; Bernard Cafarelli <voyageur@gentoo.org>
google-gadgets-0.11.1-r1.ebuild,
+files/google-gadgets-0.11.1-xulrunner-1.9.2.patch:
Add upstream patch to fix compilation with xulrunner 1.9.2, bug #301908
23 Nov 2009; Mark Loeser <halcy0n@gentoo.org>
+google-gadgets-0.10.5.ebuild:
Adding back 0.10.5 as its the only version keyworded for hppa and ppc64
*google-gadgets-0.11.1-r1 (23 Nov 2009)
23 Nov 2009; Bernard Cafarelli <voyageur@gentoo.org>
-files/google-gadgets-0.10.0-xulrunner-1.9.patch,
-files/google-gadgets-0.10.4-gcc41.patch,
-files/google-gadgets-0.10.4-xulrunner-1.9.1.patch,
-google-gadgets-0.10.5.ebuild, -google-gadgets-0.11.0.ebuild,
-google-gadgets-0.11.1.ebuild, +google-gadgets-0.11.1-r1.ebuild:
Add gtk+-2.18 support, reported by Alexandre Rostovtsev
<tetromino@gmail.com> in bug #294124
*google-gadgets-0.11.1 (09 Sep 2009)
09 Sep 2009; Bernard Cafarelli <voyageur@gentoo.org>
-google-gadgets-0.10.3.ebuild, -google-gadgets-0.10.4.ebuild,
+google-gadgets-0.11.1.ebuild:
Version bump, bugfix release
02 Jun 2009; Bernard Cafarelli <voyageur@gentoo.org>
google-gadgets-0.11.0.ebuild:
Make xulrunner optional, now that there is a webkit backend
*google-gadgets-0.11.0 (01 Jun 2009)
01 Jun 2009; Bernard Cafarelli <voyageur@gentoo.org>
+google-gadgets-0.11.0.ebuild, metadata.xml:
Version bump, performance improvement, reduced memory consumption, new
backends for webkit-gtk and libsoup, and bugfixes. ~hppa and ~ppc64
keywords temporarly removed pending bug #272194
11 Apr 2009; Raúl Porcel <armin76@gentoo.org>
google-gadgets-0.10.5.ebuild:
Add ~alpha/~ia64 wrt #260777
11 Apr 2009; Jeroen Roovers <jer@gentoo.org> google-gadgets-0.10.5.ebuild:
Marked ~hppa (bug #260777).
16 Feb 2009; Bernard Cafarelli <voyageur@gentoo.org>
-google-gadgets-0.10.0-r2.ebuild, -google-gadgets-0.10.2-r2.ebuild,
google-gadgets-0.10.5.ebuild:
Ebuild cleanup by scarabeus, remove some old versions
05 Feb 2009; Brent Baude <ranger@gentoo.org> google-gadgets-0.10.5.ebuild:
marking google-gadgets-0.10.5 ~ppc for kde tree bustification/repair
05 Feb 2009; Brent Baude <ranger@gentoo.org> google-gadgets-0.10.5.ebuild:
google-gadgets-0.10.5 ~ppc64 for kde borkage
*google-gadgets-0.10.5 (08 Jan 2009)
08 Jan 2009; Bernard Cafarelli <voyageur@gentoo.org>
+google-gadgets-0.10.5.ebuild:
Version bump, mostly bugfixes and new about dialogs
30 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org>
+files/google-gadgets-0.10.4-xulrunner-1.9.1.patch,
google-gadgets-0.10.4.ebuild:
Get ready for xulrunner 1.9.1, patch spotted by loki_val
17 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org>
+files/google-gadgets-0.10.4-gcc41.patch, google-gadgets-0.10.3.ebuild,
google-gadgets-0.10.4.ebuild:
Fix compilation with gcc 4.1, clean warning on gcc version in 0.10.3
(works with gcc 4.1)
*google-gadgets-0.10.4 (16 Dec 2008)
16 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org>
+google-gadgets-0.10.4.ebuild:
Version bump, bugfixes and optimization, more gadgets supported including
the new youtube gadget. Also install ChangeLog
15 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org>
google-gadgets-0.10.3.ebuild:
Fix USE=-gtk compilation, add Gentoo oem branding, thanks Robert Piasek
<robert.piasek@member.fsf.org> and loki_val in bug #250599
*google-gadgets-0.10.3 (10 Dec 2008)
10 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org> metadata.xml,
+google-gadgets-0.10.3.ebuild:
Taking over maintainership, version bump and ebuild cleanups, bug #250508
26 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
google-gadgets-0.10.2-r2.ebuild:
!! instead of ! to block.
26 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
google-gadgets-0.10.2-r2.ebuild:
Add note about failure with <gcc-4.2
*google-gadgets-0.10.2-r2 (26 Sep 2008)
26 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
-google-gadgets-0.10.2.ebuild, -google-gadgets-0.10.2-r1.ebuild,
+google-gadgets-0.10.2-r2.ebuild:
Fix for 'undefined symbol: JS_SetOperationCallback', blocking
spidermonkey. Shifting to EAPI 2 and losing a lot of cruft. Fix sysdeps.h
being installed the wrong place, reported by Sput.
*google-gadgets-0.10.2-r1 (24 Sep 2008)
24 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
+google-gadgets-0.10.2-r1.ebuild:
Fix ggl crashing on startup.
http://code.google.com/p/google-gadgets-for-linux/issues/detail?id=220
*google-gadgets-0.10.2 (14 Sep 2008)
14 Sep 2008; Peter Alfredsen <loki_val@gentoo.org>
-google-gadgets-0.10.0-r1.ebuild, +google-gadgets-0.10.2.ebuild:
Bump for 0.10.2
24 Aug 2008; Peter Alfredsen <loki_val@gentoo.org>
google-gadgets-0.10.0-r1.ebuild, google-gadgets-0.10.0-r2.ebuild:
Remove ewarn about qt4, since qt-4.4.1 is now unmasked
*google-gadgets-0.10.0-r2 (20 Jul 2008)
20 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
+files/google-gadgets-0.10.0-xulrunner-1.9.patch,
-google-gadgets-0.10.0.ebuild, google-gadgets-0.10.0-r1.ebuild,
+google-gadgets-0.10.0-r2.ebuild:
Add fix to *really* build with xulrunner-1.9 plus fix ggl-gtk sometimes
not being able to quit.
*google-gadgets-0.10.0-r1 (16 Jul 2008)
16 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
+google-gadgets-0.10.0-r1.ebuild:
Bugfixes wrt bug 231990 (love to eva) and cleanup of ebuild.
*google-gadgets-0.10.0 (11 Jul 2008)
11 Jul 2008; Peter Alfredsen <loki_val@gentoo.org>
-files/google-gadgets-0.9.2-gcc43-test.patch,
-google-gadgets-0.9.2-r1.ebuild, -google-gadgets-0.9.3.ebuild,
+google-gadgets-0.10.0.ebuild:
Bump to 0.10.0, remove old.
*google-gadgets-0.9.3 (13 Jun 2008)
13 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+google-gadgets-0.9.3.ebuild:
Version bump
11 Jun 2008; <welp@gentoo.org> google-gadgets-0.9.2-r1.ebuild:
Keyword ~amd64
*google-gadgets-0.9.2-r1 (08 Jun 2008)
08 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+files/google-gadgets-0.9.2-gcc43-test.patch,
-google-gadgets-0.9.2.ebuild, +google-gadgets-0.9.2-r1.ebuild:
New ebuild with Desktop entries and fix for bug 225361.
*google-gadgets-0.9.2 (06 Jun 2008)
06 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> +metadata.xml,
+google-gadgets-0.9.2.ebuild:
Initial commit.

View File

@ -1,4 +0,0 @@
DIST google-gadgets-for-linux-0.11.2.tar.bz2 2539750 RMD160 6497189e64793d2cab16058b4baeb42f3198b97b SHA1 22716f5ae640c7f201012d9d75868137c23ebc79 SHA256 2f129ae6c294876b3bc29bdf66c0f02e2c1000f97aadb3540d296560a14f343f
EBUILD google-gadgets-0.11.2.ebuild 4559 RMD160 3a145b3f955b22c7ffb57bbd224b65546cc89cfb SHA1 de82962286373d8323ec7bf992d87227e070b1f1 SHA256 b3ef2084aa0979565018efc3aa59a22aaa22cf7d233d513624a67ed502e724dd
MISC ChangeLog 7156 RMD160 c399438960d82f5b8a36d4769a6e3fdad7e733d8 SHA1 9ca44e5829b37676f7ed4aad9a773dabe9f07cbe SHA256 1409f8542fb40dc672dc28eac0ae8e00bb6387efcec75c719824bd396940805d
MISC metadata.xml 486 RMD160 b08018667c1efbe528ecbbb88b4a0fe5932464f9 SHA1 6d0a5c446e901d47be27b4c707e986b8b8964c64 SHA256 200d5369ac38f83f0fe143ab1d87c734b88e52eb6eca146208fd21dec5776dda

View File

@ -1,148 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/google-gadgets/google-gadgets-0.11.2.ebuild,v 1.4 2010/11/08 04:29:18 jer Exp $
EAPI=2
inherit base autotools multilib eutils fdo-mime
MY_PN=${PN}-for-linux
MY_P=${MY_PN}-${PV}
DESCRIPTION="Cool gadgets from Google for your Desktop"
HOMEPAGE="http://code.google.com/p/google-gadgets-for-linux/"
SRC_URI="http://${MY_PN}.googlecode.com/files/${MY_P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
IUSE="+dbus debug +gtk +qt4 +gstreamer networkmanager soup startup-notification webkit +xulrunner"
# Weird things happen when we start mix-n-matching, so for the time being
# I've just locked the deps to the versions I had as of Summer 2008. With any
# luck, they'll be stable when we get to stabling this package.
RDEPEND="
>=dev-libs/libxml2-2.6.32
sys-libs/zlib
x11-libs/libX11
x11-libs/libXext
dbus? ( sys-apps/dbus )
gstreamer? (
>=media-libs/gstreamer-0.10.19
>=media-libs/gst-plugins-base-0.10.19
)
gtk? (
>=dev-libs/atk-1.22.0
gnome-base/librsvg
>=net-misc/curl-7.18.2
>=x11-libs/cairo-1.6.4
>=x11-libs/gtk+-2.12.10
>=x11-libs/pango-1.20.3
dbus? ( >=dev-libs/dbus-glib-0.74 )
)
networkmanager? ( net-misc/networkmanager )
qt4? (
>=x11-libs/qt-core-4.4.0
>=x11-libs/qt-opengl-4.4.0
>=x11-libs/qt-script-4.4.0
>=x11-libs/qt-webkit-4.4.0
>=x11-libs/qt-xmlpatterns-4.4.0
dbus? ( >=x11-libs/qt-dbus-4.4.0 )
)
soup? ( >=net-libs/libsoup-2.26 )
startup-notification? ( x11-libs/startup-notification )
webkit? ( >=net-libs/webkit-gtk-1.0.3 )
xulrunner? ( net-libs/xulrunner:1.9 )
"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.20
"
S="${WORKDIR}/${MY_P}"
RESTRICT="test"
pkg_setup() {
# If a non-google, non-qt4 and non-gtk host system for google-gadgets is ever developed,
# I'll consider changing the error below.
if ! use gtk && ! use qt4; then
eerror "You must choose which toolkit to build for. Either qt4 or gtk can be"
eerror "chosen. For qt4, see also above. To enable \$toolkit, do:"
eerror "echo \"${CATEGORY}/${PN} \$toolkit\" >> /etc/portage/package.use"
die "You need to choose a toolkit"
fi
if ! use gstreamer; then
ewarn "Disabling gstreamer disables the multimedia functions of ${PN}."
ewarn "This is not recommended. To enable gstreamer, do:"
ewarn "echo \"${CATEGORY}/${PN} gstreamer\" >> /etc/portage/package.use"
fi
}
src_prepare() {
sed -i -r \
-e '/^GGL_SYSDEPS_INCLUDE_DIR/ c\GGL_SYSDEPS_INCLUDE_DIR=$GGL_INCLUDE_DIR' \
configure.ac||die "404"
eautoreconf
}
src_configure() {
local myconf="--disable-dependency-tracking \
--disable-update-desktop-database \
--disable-update-mime-database \
--disable-werror \
--enable-libxml2-xml-parser \
--with-browser-plugins-dir=/usr/$(get_libdir)/nsbrowser/plugins \
--with-ssl-ca-file=/etc/ssl/certs/ca-certificates.crt \
--with-oem-brand=Gentoo \
$(use_enable debug) \
$(use_enable dbus libggadget-dbus) \
$(use_enable gstreamer gst-audio-framework) \
$(use_enable gstreamer gst-video-element) \
$(use_enable soup soup-xml-http-request) \
$(use_enable webkit webkit-script-runtime) \
$(use_enable webkit gtkwebkit-browser-element) \
$(use_enable gtk gtk-host) \
$(use_enable gtk libggadget-gtk ) \
$(use_enable gtk gtk-edit-element) \
$(use_enable gtk gtk-flash-element) \
$(use_enable gtk gtk-system-framework) \
$(use_enable gtk curl_xml_http_request) \
$(use_enable qt4 qt-host) \
$(use_enable qt4 libggadget-qt) \
$(use_enable qt4 qt-edit-framework) \
$(use_enable qt4 qt-system-framework) \
$(use_enable qt4 qtwebkit-browser-element) \
$(use_enable qt4 qt-xml-http-request) \
$(use_enable qt4 qt-script-runtime)"
if use xulrunner; then
myconf="${myconf} \
$(use_enable gtk gtkmoz-browser-element) \
--with-gtkmozembed=libxul \
--enable-smjs-script-runtime \
--with-smjs-cppflags=-I/usr/include/nspr \
--with-smjs-libdir=/usr/$(get_libdir)/xulrunner-1.9 \
--with-smjs-incdir=/usr/include/xulrunner-1.9/unstable"
else
myconf="${myconf} --disable-gtkmoz-browser-element --disable-smjs-script-runtime"
fi
econf ${myconf}
}
src_test() {
#If someone wants to guarantee that emake will not make
#tests fail promiscuosly, please do, otherwise we're using make.
make check &> "${WORKDIR}"/check
}
src_install() {
base_src_install
dodoc ChangeLog README
}
pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
}

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>voyageur@gentoo.org</email>
<name>Bernard Cafarelli</name>
</maintainer>
<use>
<flag name="soup">Enables XML HTTP request extension based on <pkg>net-libs/libsoup</pkg></flag>
<flag name="webkit">Enables browser element and script runtime based on <pkg>net-libs/webkit-gtk</pkg></flag>
</use>
</pkgmetadata>