parent
e6272e074c
commit
65bfa15a2b
@ -1,3 +1,4 @@
|
||||
DIST eselect-php-0.6.2.bz2 1454 SHA256 c4eecb73aaf50538a8eaf8afb0d52b3666b45ef19e5f26f7998682bac56566c4 SHA512 cb2639ddf97c77336195db57a9a5021200693ee4f1382d7ed6cda22a27f5b0f76be88abf376e13245a72223c12065d019e0537494f934f9cbe40e0fdcbfe2b22 WHIRLPOOL 523f3a0c30705599ee91c5ce0a691c140226a18c0a1ba73df4a0f9835a92644748a0f0ed73f1ea101de65cf270947f054a8feeb3c36609f644f8682d611aaa11
|
||||
DIST eselect-php-0.6.4.bz2 1533 SHA256 6481f82c89ffe15ede967ffa8b895496ad23ac638931ee58108e91a4badbeef1 SHA512 aaea307e3e3f8e85a92847b2ef4ce2f7ccacd18219d34c6b3c3af974741e72174134db4debce334bd44f342b56dc443a4692273881afb228af0b75b13b34f712 WHIRLPOOL 25da6ba132f0ed6cccc5c24371ba4a8949ea607b30b5e965353884474a1b0e1550601469af3411794d33dd99c443e0918905f86593d9d60ceded73583be46286
|
||||
DIST eselect-php-0.6.6.bz2 1837 SHA256 7324d92086dad38942dfc053f2775af6f41f3e2f9d19472a7569e4f58aae0f86 SHA512 ba7cc1fc4183a401e2d344348f6a624f0fe947200c0ff69f9ac948b6ff56fa476a3beb9b4cc19f70ec15c4856897a9cf69c7b69d1909321287c071171c59009f WHIRLPOOL dde3be270f42775feec923c5094da68d897c961498a4c94de825954809eeb390ef2766e0e8c910560c9db4289a0144830c6ba401608b2d9536e8bd0b30418243
|
||||
DIST eselect-php-0.6.7.bz2 1840 SHA256 59cd22ee84c7754bcb416d841302e13d0367bc4d282bd3174590165070c473fa SHA512 4a37f031a20967c2d32972647b3594ec8239e55909cb2e131d63b6421665b003d6d6a512b0ed33c36a51e431cf6bc40061bb003fc8a79801799396835816b511 WHIRLPOOL efa64529bd24a3f565c084c3108a7093fa973f974a66697ff71acf7e3f97915d0918ead7e4ea5f071d845c3784edc1f97ed3225c0ad94486393b6abe24c4532a
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-php/eselect-php-0.6.7.ebuild,v 1.1 2012/07/09 18:43:48 olemarkus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="PHP eselect module"
|
||||
HOMEPAGE="http://www.gentoo.org"
|
||||
SRC_URI="http://olemarkus.org/~olemarkus/gentoo/eselect-php-${PV}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=app-admin/eselect-1.2.4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
mv eselect-php-${PV} php.eselect
|
||||
insinto /usr/share/eselect/modules/
|
||||
doins php.eselect
|
||||
}
|
@ -1,140 +0,0 @@
|
||||
#!/usr/bin/php
|
||||
<?php
|
||||
// Copyright (C) 2005 Claus Lund, clauslund@gmail.com
|
||||
|
||||
echo "\nStarting logrotate\n";
|
||||
echo date("Y-m-d H:i:s\n");
|
||||
|
||||
$APP_ROOT = '/data/www/localhost/htdocs/phpsyslogng';
|
||||
|
||||
include_once "$APP_ROOT/includes/common_funcs.php";
|
||||
include_once "$APP_ROOT/config/config.php";
|
||||
|
||||
$dbLink = db_connect_syslog(DBADMIN, DBADMINPW);
|
||||
|
||||
echo "Dropping temp".DEFAULTLOGTABLE." if it exists ... ";
|
||||
// Drop temp table if it exists
|
||||
$query = "DROP TABLE IF EXISTS temp".DEFAULTLOGTABLE;
|
||||
perform_query($query, $dbLink);
|
||||
echo "ok.\n";
|
||||
|
||||
echo "Creating ".DEFAULTLOGTABLE." ... ";
|
||||
// Create new table
|
||||
$query = "SHOW CREATE TABLE ".DEFAULTLOGTABLE;
|
||||
$result = perform_query($query, $dbLink);
|
||||
echo "ok.\n";
|
||||
|
||||
$row = mysql_fetch_array($result);
|
||||
$createQuery = $row[1];
|
||||
$search = "CREATE TABLE `".DEFAULTLOGTABLE."`";
|
||||
$replace = "CREATE TABLE `temp".DEFAULTLOGTABLE."`";
|
||||
$createQuery = str_replace($search, $replace, $createQuery);
|
||||
perform_query($createQuery, $dbLink);
|
||||
|
||||
$today = date("Ymd");
|
||||
|
||||
// Drop the merge table
|
||||
if(defined('MERGELOGTABLE') && MERGELOGTABLE)
|
||||
{
|
||||
$query = "FLUSH TABLES";
|
||||
perform_query($query, $dbLink);
|
||||
|
||||
echo "Dropping ".MERGELOGTABLE." if it exists ... ";
|
||||
$query = "DROP TABLE IF EXISTS ".MERGELOGTABLE;
|
||||
perform_query($query, $dbLink);
|
||||
echo "ok.\n";
|
||||
}
|
||||
|
||||
// Rename the two tables
|
||||
echo "Renaming ".DEFAULTLOGTABLE." to ".DEFAULTLOGTABLE.$today." and temp".DEFAULTLOGTABLE." to ".DEFAULTLOGTABLE." ... ";
|
||||
$query = "RENAME TABLE ".DBNAME.".".DEFAULTLOGTABLE." TO ".DBNAME.".".DEFAULTLOGTABLE.$today.", ".DBNAME.".temp".DEFAULTLOGTABLE." TO ".DBNAME.".".DEFAULTLOGTABLE;
|
||||
perform_query($query, $dbLink);
|
||||
echo "ok.\n";
|
||||
|
||||
echo "\nLog rotate ended successfully.\n";
|
||||
echo "Now optimizing old logs.\n";
|
||||
$query = "OPTIMIZE TABLE ".DBNAME.".".DEFAULTLOGTABLE.$today;
|
||||
perform_query($query, $dbLink);
|
||||
|
||||
// Re-create the merge table
|
||||
if(defined('MERGELOGTABLE') || defined('LOGROTATERETENTION'))
|
||||
{
|
||||
echo "Getting list of log tables.\n";
|
||||
$logTableArray = get_logtables($dbLink);
|
||||
}
|
||||
|
||||
if(defined('LOGROTATERETENTION') && LOGROTATERETENTION)
|
||||
{
|
||||
echo "Retention is in use, searching for tables to drop:";
|
||||
foreach($logTableArray as $value)
|
||||
{
|
||||
if(preg_match("/[0-9]+$/", $value))
|
||||
{
|
||||
// determine is datestamp is old enough
|
||||
$tableDate = strrev(substr(strrev($value), 0, 8));
|
||||
$cutoffDate = date("Ymd", mktime(0, 0, 0, date("m"), date("d")-LOGROTATERETENTION, date("Y")));
|
||||
|
||||
// printf(" [cutoffDate: %s tableDate %s] ", $cutoffDate, (intval($cutoffDate) > intval($tableDate)) ? ">":"<=", $tableDate);
|
||||
|
||||
if(intval($cutoffDate) > intval($tableDate))
|
||||
{
|
||||
$query = "DROP TABLE ".$value;
|
||||
perform_query($query, $dbLink);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(defined('MERGELOGTABLE') && MERGELOGTABLE)
|
||||
{
|
||||
echo "Creating merge table:\n";
|
||||
$query = "SHOW CREATE TABLE ".DEFAULTLOGTABLE;
|
||||
|
||||
$result = perform_query($query, $dbLink);
|
||||
$row = mysql_fetch_array($result);
|
||||
$createQuery = $row[1];
|
||||
|
||||
$oldStr = "CREATE TABLE `".DEFAULTLOGTABLE."`";
|
||||
$newStr = "CREATE TABLE `".MERGELOGTABLE."`";
|
||||
$createQuery = str_replace($oldStr, $newStr, $createQuery);
|
||||
|
||||
$oldStr = "ENGINE=MyISAM";
|
||||
$newStr = "ENGINE=MRG_MyISAM";
|
||||
$createQuery = str_replace($oldStr, $newStr, $createQuery);
|
||||
$oldStr = "TYPE=MyISAM";
|
||||
$newStr = "ENGINE=MRG_MyISAM";
|
||||
$createQuery = str_replace($oldStr, $newStr, $createQuery);
|
||||
|
||||
$createQuery = str_replace('PRIMARY KEY', 'INDEX', $createQuery);
|
||||
|
||||
// Re-create the merge table data (after some stuff has been dropped above by cutoffDate
|
||||
if(defined('MERGELOGTABLE') || defined('LOGROTATERETENTION'))
|
||||
{
|
||||
echo "Getting list of log tables.\n";
|
||||
$logTableArray = get_logtables($dbLink);
|
||||
}
|
||||
|
||||
$unionStr = " UNION=(";
|
||||
foreach($logTableArray as $value)
|
||||
{
|
||||
$unionStr = $unionStr.$value.", ";
|
||||
}
|
||||
$unionStr = rtrim($unionStr, ", ");
|
||||
$unionStr = $unionStr.")";
|
||||
|
||||
$createQuery = $createQuery.$unionStr;
|
||||
|
||||
$flushQuery = "FLUSH TABLES";
|
||||
perform_query($flushQuery, $dbLink);
|
||||
|
||||
perform_query($createQuery, $dbLink);
|
||||
|
||||
$flushQuery = "FLUSH TABLES";
|
||||
perform_query($flushQuery, $dbLink);
|
||||
|
||||
echo "ok,\n";
|
||||
}
|
||||
|
||||
echo "\n".date("Y-m-d H:i:s")."\n";
|
||||
echo "All done!\n";
|
||||
?>
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/phpsyslogng/phpsyslogng-2.8-r1.ebuild,v 1.4 2009/04/15 07:46:17 hoffie Exp $
|
||||
|
||||
inherit webapp
|
||||
|
||||
DESCRIPTION="php-syslog-ng is a log monitor designed to easily manage logs from many hosts."
|
||||
HOMEPAGE="http://www.phpwizardry.com/php-syslog-ng.php"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
SRC_URI="http://www.phpwizardry.com/php-syslog-ng/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~ppc64 ~x86"
|
||||
IUSE="mysql"
|
||||
|
||||
RDEPEND="virtual/httpd-php
|
||||
mysql? ( >=virtual/mysql-4.1 )"
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc README CHANGELOG
|
||||
rm LICENSE README CHANGELOG
|
||||
dodoc scripts/*
|
||||
|
||||
cp -r . "${D}${MY_HTDOCSDIR}"
|
||||
cp "${FILESDIR}"/logrotate.php "${D}${MY_HTDOCSDIR}"/scripts
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/config/config.php
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
|
||||
|
||||
webapp_src_install
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/phpsyslogng/phpsyslogng-2.8.ebuild,v 1.4 2009/04/15 07:46:17 hoffie Exp $
|
||||
|
||||
inherit webapp
|
||||
|
||||
DESCRIPTION="php-syslog-ng is a log monitor designed to easily manage logs from many hosts."
|
||||
HOMEPAGE="http://www.phpwizardry.com/php-syslog-ng.php"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
SRC_URI="http://www.phpwizardry.com/php-syslog-ng/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~x86"
|
||||
IUSE="mysql"
|
||||
|
||||
RDEPEND="virtual/httpd-php
|
||||
mysql? ( >=virtual/mysql-4.1 )"
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc README CHANGELOG
|
||||
rm LICENSE README CHANGELOG
|
||||
dodoc scripts/*
|
||||
|
||||
cp -r . "${D}${MY_HTDOCSDIR}"
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/config/config.php
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
|
||||
|
||||
webapp_src_install
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/phpsyslogng/phpsyslogng-2.9.8f.ebuild,v 1.2 2009/03/22 17:52:22 maekke Exp $
|
||||
|
||||
inherit webapp
|
||||
|
||||
DESCRIPTION="php-syslog-ng is a log monitor designed to easily manage logs from many hosts."
|
||||
HOMEPAGE="http://php-syslog-ng.googlecode.com/"
|
||||
SRC_URI="http://php-syslog-ng.googlecode.com/files/php-syslog-ng-${PV}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="mysql"
|
||||
|
||||
RDEPEND="virtual/httpd-php
|
||||
mysql? ( >=virtual/mysql-4.1 )"
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc php-syslog-ng/html/README php-syslog-ng/html/CHANGELOG \
|
||||
php-syslog-ng/html/INSTALL-STEPS \
|
||||
php-syslog-ng/html/TROUBLESHOOTING-INSTALL
|
||||
rm php-syslog-ng/html/LICENSE php-syslog-ng/html/README \
|
||||
php-syslog-ng/html/CHANGELOG php-syslog-ng/html/INSTALL-STEPS \
|
||||
php-syslog-ng/html/TROUBLESHOOTING-INSTALL
|
||||
dodoc php-syslog-ng/scripts/*
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r ./php-syslog-ng/html/{.htaccess,*}
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}/config/config.php"
|
||||
|
||||
webapp_serverowned -R "${MY_HTDOCSDIR}/config/"
|
||||
webapp_serverowned -R "${MY_HTDOCSDIR}/jpcache/"
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
|
||||
|
||||
webapp_src_install
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/phpsyslogng/phpsyslogng-2.9.8m.ebuild,v 1.1 2009/04/15 07:46:17 hoffie Exp $
|
||||
|
||||
inherit webapp
|
||||
|
||||
DESCRIPTION="php-syslog-ng is a log monitor designed to easily manage logs from many hosts."
|
||||
HOMEPAGE="http://php-syslog-ng.googlecode.com/"
|
||||
SRC_URI="http://php-syslog-ng.googlecode.com/files/php-syslog-ng-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="mysql"
|
||||
|
||||
RDEPEND="virtual/httpd-php
|
||||
mysql? ( >=virtual/mysql-4.1 )"
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc php-syslog-ng/html/README php-syslog-ng/html/CHANGELOG \
|
||||
php-syslog-ng/html/INSTALL-STEPS \
|
||||
php-syslog-ng/html/TROUBLESHOOTING-INSTALL
|
||||
rm php-syslog-ng/html/LICENSE php-syslog-ng/html/README \
|
||||
php-syslog-ng/html/CHANGELOG php-syslog-ng/html/INSTALL-STEPS \
|
||||
php-syslog-ng/html/TROUBLESHOOTING-INSTALL
|
||||
dodoc php-syslog-ng/scripts/*
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r ./php-syslog-ng/html/{.htaccess,*}
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}/config/config.php"
|
||||
|
||||
webapp_serverowned -R "${MY_HTDOCSDIR}/config/"
|
||||
webapp_serverowned -R "${MY_HTDOCSDIR}/jpcache/"
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
|
||||
|
||||
webapp_src_install
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST sysrqd-12.tar.gz 4555 SHA256 216ae638280d4357ddc3e397d6191f2ca3343419a5754931a0109a0b3e35aa40 SHA512 f1b1aaa02805a83750378a06857b11b6a97ae153b820a10ac125859c845bd64095ddf84339cd1e06840106c3ee745c67d09f97cac7c893c7dcaa507a6a4aad50 WHIRLPOOL b221c4ef040731a2fecf2e9466f972c4dda84fb72025820cf9b04975e11e25addab56e3c671a69bbccb9ec41104e51bf8b9dd24155d74b44452ee10a37e644bf
|
||||
DIST sysrqd-14.tar.gz 4759 SHA256 aa938dc663b73fb28d165c8145f51b6c2412ccb202e641548452c9583d593428 SHA512 efad48be3974923ec14d0958e788115c9273bc29b4f03853e6e087f6af872299ea57d42f885be19ff4eeaffa577ecf1c53ea2adb2f84e1487bb2511597b89cb2 WHIRLPOOL 3d13a15d1722b388e853227baa6fb21eee5adda680ade409f633aa8bfab58cb5252bccb091d2e5c913613751c6cb9991b74ba65e8f27d8bfe49a3c5cf745f1c0
|
||||
DIST sysrqd-9.tar.gz 4188 SHA256 836723b6001a33e3b5684dca20ba7734732c337d21ba3b6a481a0304642e81e4 SHA512 ece01ce4dac206f41fff510ac6cb5368910a3db17fa8d8fe6a04f3ba57966205cfbb4d08f1322a48d77aef0c165218d616d767a84cf59fc9b7da1c09b9ca0ce7 WHIRLPOOL 2747ac871162db112d60338395846b647e2e01ab03281cf7418d61f8b6fcd79ecd1766c1b874546d451653e4b61eb99b3a08e567946ba977288e62080a544623
|
||||
DIST sysrqd-14.tar.gz 4759 RMD160 10135f460eb04ede4b147517692d0d3330d8e78d SHA1 49de3043304aab5ca80abed01681073176ef6855 SHA256 aa938dc663b73fb28d165c8145f51b6c2412ccb202e641548452c9583d593428
|
||||
|
@ -1,13 +0,0 @@
|
||||
--- sysrqd.c.orig 2009-11-05 14:58:21.644471772 +0100
|
||||
+++ sysrqd.c 2009-11-05 14:58:43.276472005 +0100
|
||||
@@ -40,8 +40,8 @@
|
||||
#define BIND_MAX_LEN 16
|
||||
#define PROMPT "sysrq> "
|
||||
#define SYSRQ_TRIGGER_PATH "/proc/sysrq-trigger"
|
||||
-#define AUTH_FILE "/etc/sysrqd.secret"
|
||||
-#define BINDIP_FILE "/etc/sysrqd.bind"
|
||||
+#define AUTH_FILE "/etc/sysrqd/sysrqd.secret"
|
||||
+#define BINDIP_FILE "/etc/sysrqd/sysrqd.bind"
|
||||
#define PID_FILE "/var/run/sysrqd.pid"
|
||||
#define SYSRQD_PRIO -19
|
||||
#define SYSRQD_LISTEN_PORT 4094
|
@ -1,14 +0,0 @@
|
||||
diff -urN sysrqd-9.orig/sysrqd.h sysrqd-9/sysrqd.h
|
||||
--- sysrqd-9.orig/sysrqd.h 2007-01-19 15:33:26.000000000 +0100
|
||||
+++ sysrqd-9/sysrqd.h 2007-03-05 21:22:44.000000000 +0100
|
||||
@@ -4,8 +4,8 @@
|
||||
#define BIND_MAX_LEN 16
|
||||
#define PROMPT "sysrq> "
|
||||
#define SYSRQ_TRIGGER_PATH "/proc/sysrq-trigger"
|
||||
-#define AUTH_FILE "/etc/sysrqd.secret"
|
||||
-#define BINDIP_FILE "/etc/sysrqd.bind"
|
||||
+#define AUTH_FILE "/etc/sysrqd/sysrqd.secret"
|
||||
+#define BINDIP_FILE "/etc/sysrqd/sysrqd.bind"
|
||||
#define PID_FILE "/var/run/sysrqd.pid"
|
||||
#define SYSRQD_PRIO -19
|
||||
#define SYSRQD_LISTEN_PORT 4094
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sysrqd/sysrqd-12.ebuild,v 1.1 2009/11/16 10:00:26 wschlich Exp $
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
IUSE=""
|
||||
DESCRIPTION="daemon providing access to the kernel sysrq functions via network"
|
||||
HOMEPAGE="http://julien.danjou.info/sysrqd.html"
|
||||
SRC_URI="http://julien.danjou.info/${PN}/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${P}-config.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
$(tc-getCC) ${CFLAGS} -o sysrqd sysrqd.c
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
dosbin sysrqd
|
||||
newinitd "${FILESDIR}/sysrqd.init" sysrqd
|
||||
|
||||
local bindip='127.0.0.1' secret
|
||||
declare -i secret
|
||||
let secret=${RANDOM}*${RANDOM}*${RANDOM}*${RANDOM}
|
||||
echo ${bindip} > sysrqd.bind
|
||||
echo ${secret} > sysrqd.secret
|
||||
|
||||
diropts -m 0700 -o root -g root
|
||||
dodir /etc/sysrqd
|
||||
insinto /etc/sysrqd
|
||||
insopts -m 0600 -o root -g root
|
||||
doins sysrqd.bind
|
||||
doins sysrqd.secret
|
||||
|
||||
dodoc README ChangeLog
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Be sure to change the initial secret in /etc/sysrqd/sysrqd.secret !"
|
||||
elog "As a security precaution, sysrqd is configured to only listen on"
|
||||
elog "127.0.0.1 by default. Change the content of /etc/sysrqd/sysrqd.bind"
|
||||
elog "to an IPv4 address you want it to listen on or remove the file"
|
||||
elog "to make it listen on any IP address (0.0.0.0)."
|
||||
elog
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sysrqd/sysrqd-9.ebuild,v 1.4 2009/10/28 04:18:05 robbat2 Exp $
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
IUSE=""
|
||||
DESCRIPTION="daemon providing access to the kernel sysrq functions via network"
|
||||
HOMEPAGE="http://julien.danjou.info/sysrqd.html"
|
||||
SRC_URI="http://julien.danjou.info/${PN}/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
DEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${P}-config.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
$(tc-getCC) ${CFLAGS} -o sysrqd sysrqd.c
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
dosbin sysrqd
|
||||
newinitd "${FILESDIR}/sysrqd.init sysrqd"
|
||||
|
||||
local bindip='127.0.0.1' secret
|
||||
declare -i secret
|
||||
let secret=${RANDOM}*${RANDOM}*${RANDOM}*${RANDOM}
|
||||
echo ${bindip} > sysrqd.bind
|
||||
echo ${secret} > sysrqd.secret
|
||||
|
||||
diropts -m 0700 -o root -g root
|
||||
dodir /etc/sysrqd
|
||||
insinto /etc/sysrqd
|
||||
insopts -m 0600 -o root -g root
|
||||
doins sysrqd.bind
|
||||
doins sysrqd.secret
|
||||
|
||||
dodoc README ChangeLog
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Be sure to change the initial secret in /etc/sysrqd/sysrqd.secret !"
|
||||
elog "As a security precaution, sysrqd is configured to only listen on"
|
||||
elog "127.0.0.1 by default. Change the content of /etc/sysrqd/sysrqd.bind"
|
||||
elog "to an IPv4 address you want it to listen on or remove the file"
|
||||
elog "to make it listen on any IP address (0.0.0.0)."
|
||||
elog
|
||||
}
|
@ -0,0 +1,265 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/webmin-1.590.ebuild,v 1.1 2012/07/09 18:12:47 hwoarang Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils pam ssl-cert
|
||||
|
||||
DESCRIPTION="A web-based Unix systems administration interface"
|
||||
HOMEPAGE="http://www.webmin.com/"
|
||||
SRC_URI="minimal? ( mirror://sourceforge/webadmin/${P}-minimal.tar.gz )
|
||||
!minimal? ( mirror://sourceforge/webadmin/${P}.tar.gz )"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# NOTE: The ssl flag auto added by ssl-cert eclass is not used actually
|
||||
# because openssl is forced by dev-perl/Net-SSLeay
|
||||
IUSE="minimal +ssl mysql postgres ldap"
|
||||
|
||||
# All the required perl modules can be found easily using (in Webmin's root src dir):
|
||||
# find . -name cpan_modules.pl -exec grep "::" {} \;
|
||||
# NOTE: If Webmin doesn't find the required perl modules, it offers(runtime) the user
|
||||
# to install them using the in-built cpan module, and this will mess up perl on the system
|
||||
# That's why some modules are forced without a use flag
|
||||
# NOTE: pam and ssl deps are forced for security and Gentoo compliance installation reasons
|
||||
DEPEND="virtual/perl-Sys-Syslog
|
||||
virtual/perl-Time-HiRes
|
||||
virtual/perl-Time-Local
|
||||
dev-perl/Authen-Libwrap
|
||||
dev-perl/IO-Tty
|
||||
dev-perl/MD5
|
||||
dev-perl/Net-SSLeay
|
||||
dev-perl/Authen-PAM
|
||||
dev-perl/Sys-Hostname-Long
|
||||
!minimal? (
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
ldap? ( dev-perl/perl-ldap )
|
||||
dev-perl/XML-Generator
|
||||
dev-perl/XML-Parser
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
local perl="$( which perl )"
|
||||
|
||||
# Remove the unnecessary and incompatible files
|
||||
rm -rf acl/Authen-SolarisRBAC-0.1*
|
||||
if ! use minimal ; then
|
||||
rm -rf {format,{bsd,hpux,sgi}exports,zones,rbac}
|
||||
rm -f mount/{free,net,open}bsd-mounts*
|
||||
rm -f mount/macos-mounts*
|
||||
fi
|
||||
|
||||
# For security reasons remove the SSL certificate that comes with Webmin
|
||||
# We will create our own later
|
||||
rm -f miniserv.pem
|
||||
|
||||
# Remove the Webmin setup scripts to avoid Webmin in runtime to mess up config
|
||||
# We will use our own later
|
||||
rm -f setup.{sh,pl}
|
||||
|
||||
# Fix the permissions of the install files
|
||||
chmod -R og-w "${S}"
|
||||
|
||||
# Since we should not modify any files after install
|
||||
# we set the perl path in all cgi and pl files here using Webmin's routines
|
||||
# The pl file is Prefix safe and works only on provided input, no other filesystem files
|
||||
ebegin "Fixing perl path in source files"
|
||||
(find "${S}" -name '*.cgi' -print ; find "${S}" -name '*.pl' -print) | $perl "${S}"/perlpath.pl $perl -
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Create config dir and keep
|
||||
diropts -m0755
|
||||
dodir /etc/webmin
|
||||
keepdir /etc/webmin
|
||||
|
||||
# Create install dir
|
||||
# Third party modules installed through Webmin go here too, so keep
|
||||
dodir /usr/libexec/webmin
|
||||
keepdir /usr/libexec/webmin
|
||||
|
||||
# Copy our own setup script to installation folder
|
||||
insinto /usr/libexec/webmin
|
||||
newins "${FILESDIR}"/gentoo-setup gentoo-setup.sh
|
||||
fperms 0744 /usr/libexec/webmin/gentoo-setup.sh
|
||||
|
||||
# This is here if we ever want in future ebuilds to add some specific
|
||||
# config values in the /etc/webmin/miniserv.conf
|
||||
# The format of this file should be the same as the one of miniserv.conf:
|
||||
# var=value
|
||||
#
|
||||
# Uncomment it if you use such file. Before that check if upstream
|
||||
# has this file in root dir too.
|
||||
#newins "${FILESDIR}/miniserv-conf" miniserv-conf
|
||||
|
||||
# Create the log dir and keep
|
||||
diropts -m0700
|
||||
dodir /var/log/webmin
|
||||
keepdir /var/log/webmin
|
||||
|
||||
# Create the init.d file and put the neccessary variables there
|
||||
newinitd "${FILESDIR}"/init.d.webmin webmin
|
||||
sed -i \
|
||||
-e "s:%exe%:${EROOT}usr/libexec/webmin/miniserv.pl:" \
|
||||
-e "s:%pid%:${EROOT}var/run/webmin.pid:" \
|
||||
-e "s:%conf%:${EROOT}etc/webmin/miniserv.conf:" \
|
||||
-e "s:%perllib%:${EROOT}usr/libexec/webmin:" \
|
||||
"${ED}etc/init.d/webmin" \
|
||||
|| die "Failed to patch the webmin init file"
|
||||
|
||||
# Setup pam
|
||||
pamd_mimic system-auth webmin auth account session
|
||||
|
||||
# Copy files to installation folder
|
||||
ebegin "Copying install files to destination"
|
||||
cp -pPR "${S}"/* "${ED}usr/libexec/webmin"
|
||||
eend $?
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# First stop service if running so Webmin to not messup our config
|
||||
ebegin "Stopping any running Webmin instance prior merging"
|
||||
rc-service --ifexists -- webmin --ifstarted stop
|
||||
eend $?
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Run pkg_config phase first - non interactively
|
||||
export INTERACTIVE="no"
|
||||
pkg_config
|
||||
# Every next time pkg_config should be interactive
|
||||
INTERACTIVE="yes"
|
||||
|
||||
ewarn
|
||||
ewarn "Bare in mind that not all Webmin modules are Gentoo tweaked and may have some issues."
|
||||
ewarn "Always be careful when using modules that modify init entries, do update of webmin, install CPAN modules etc."
|
||||
ewarn "To avoid problems, please before using any module, look at its configuration options first."
|
||||
ewarn "(Usually there is a link at top in the right pane of Webmin for configuring the module.)"
|
||||
ewarn
|
||||
elog "- To make Webmin start at boot time, run: 'rc-update add webmin default'"
|
||||
elog "- The default URL to connect to Webmin is: https://localhost:10000"
|
||||
elog "- The default user that can login is: root"
|
||||
elog "- To reconfigure Webmin in case of problems run 'emerge --config app-admin/webmin'"
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# First stop service if running - we do not want Webmin to mess up config
|
||||
ebegin "Stopping any running Webmin instance prior unmerging"
|
||||
rc-service --ifexists -- webmin --ifstarted stop
|
||||
eend $?
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
ewarn
|
||||
ewarn "You have uninstalled Webmin, so have in mind that all cron jobs scheduled"
|
||||
ewarn "by Webmin for its own modules, are left active and they will fail when Webmin is missing."
|
||||
ewarn "To fix this just disable them if you intend to use Webmin again,"
|
||||
ewarn "OR delete them if not."
|
||||
ewarn
|
||||
}
|
||||
|
||||
pkg_config(){
|
||||
# First stop service if running
|
||||
ebegin "Stopping any running Webmin instance"
|
||||
rc-service --ifexists -- webmin --ifstarted stop
|
||||
eend $?
|
||||
|
||||
# Next set the default reset variable to 'none'
|
||||
# reset/_reset can be:
|
||||
# 'none' - does not reset anything, just upgrades if a conf is present
|
||||
# OR installs new conf if a conf is missing
|
||||
# 'soft' - deletes only $config_dir/config file and thus resetting most
|
||||
# conf values to their defaults. Keeps the specific Webmin cron jobs
|
||||
# 'hard' - deletes all files in $config_dir (keeping the .keep_* Gentoo file)
|
||||
# and thus resetting all Webmin. Deletes the specific Webmin cron jobs too.
|
||||
local _reset="none"
|
||||
|
||||
|
||||
# If in interactive mode ask user what should we do
|
||||
if [[ "${INTERACTIVE}" = "yes" ]]; then
|
||||
einfo
|
||||
einfo "Please enter the number of the action you would like to perform?"
|
||||
einfo
|
||||
einfo "1. Update configuration"
|
||||
einfo " (keeps old config options and adds the new ones)"
|
||||
einfo "2. Soft reset configuration"
|
||||
einfo " (keeps some old config options, the other options are set to default)"
|
||||
ewarn " All Webmin users will be reset"
|
||||
einfo "3. Hard reset configuration"
|
||||
einfo " (all options including module options are set to default)"
|
||||
ewarn " You will lose all Webmin configuration options you have done till now"
|
||||
einfo "4. Exit this configuration utility (default)"
|
||||
while [ "$correct" != "true" ] ; do
|
||||
read answer
|
||||
if [[ "$answer" = "1" ]] ; then
|
||||
_reset="none"
|
||||
correct="true"
|
||||
elif [[ "$answer" = "2" ]] ; then
|
||||
_reset="soft"
|
||||
correct="true"
|
||||
elif [[ "$answer" = "3" ]] ; then
|
||||
_reset="hard"
|
||||
correct="true"
|
||||
elif [ "$answer" = "4" -o "$answer" = "" ] ; then
|
||||
die "User aborted configuration."
|
||||
else
|
||||
echo "Answer not recognized. Enter a number from 1 to 4"
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ "$_reset" = "hard" ]]; then
|
||||
while [ "$sure" != "true" ] ; do
|
||||
ewarn "You will lose all Webmin configuration options you have done till now."
|
||||
ewarn "Are you sure you want to do this? (y/n)"
|
||||
read answer
|
||||
if [[ $answer =~ ^[Yy]([Ee][Ss])?$ ]] ; then
|
||||
sure="true"
|
||||
elif [[ $answer =~ ^[Nn]([Oo])?$ ]] ; then
|
||||
die "User aborted configuration."
|
||||
else
|
||||
echo "Answer not recognized. Enter 'y' or 'n'"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
export reset=$_reset
|
||||
|
||||
# Create ssl certificate for Webmin if there is not one in the proper place
|
||||
if [[ ! -e "${EROOT}etc/ssl/webmin/server.pem" ]]; then
|
||||
SSL_ORGANIZATION="${SSL_ORGANIZATION:-Webmin Server}"
|
||||
SSL_COMMONNAME="${SSL_COMMONNAME:-*}"
|
||||
install_cert "${EROOT}/etc/ssl/webmin/server"
|
||||
fi
|
||||
|
||||
# Ensure all paths passed to the setup script use EROOT
|
||||
export wadir="${EROOT}usr/libexec/webmin"
|
||||
export config_dir="${EROOT}etc/webmin"
|
||||
export var_dir="${EROOT}var/log/webmin"
|
||||
export tempdir="${T}"
|
||||
export pidfile="${EROOT}var/run/webmin.pid"
|
||||
export perl="$( which perl )"
|
||||
export os_type='gentoo-linux'
|
||||
export os_version='*'
|
||||
export real_os_type='Gentoo Linux'
|
||||
export real_os_version='Any version'
|
||||
# Forcing 'ssl' and 'ssl_redirect' for tightening security
|
||||
export ssl=1
|
||||
export ssl_redirect=1
|
||||
export keyfile="${EROOT}etc/ssl/webmin/server.pem"
|
||||
export port=10000
|
||||
|
||||
export atboot=0
|
||||
|
||||
einfo "Executing Webmin's configure script"
|
||||
$wadir/gentoo-setup.sh
|
||||
|
||||
einfo "Configuration of Webmin done"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST deja-dup-22.1.tar.xz 777248 SHA256 44cb8fcd45799a369c8da2717792a87e3e183eeca1b07fa8f2aac8664f00ca5e SHA512 52d99c3ee66beca49a5c43bd7026b03347f8311e74c32ff2d98a1594dd0cf4b5cea8011a7e6561e54ae04b6e812149dc6c29982a15db3078cdef548b44e9cb31 WHIRLPOOL a57aebb975c9a5cc05e6f1a390cc910e328f01fae9f18d91d76b4d8cb274036d759ecd8aadee2309b23378622f439ef2b5ddc5629e5b42b1174f55d59feff9bf
|
||||
DIST deja-dup-23.2.tar.xz 823548 SHA256 64831f407bd102c13939d84600ab427c58f4d0ea1d9ecf2098979ad3eb7a6f2c SHA512 658c70a6248f206b99ed04b59075617ccb9691cbab3b118e68648c17d12732e3e88bd3a954c5c0dad9f08746af43f6cd2289875d65223f2dcb681f07289e7b42 WHIRLPOOL 6d72cdab99824952782fa0a9e17dd0367d3d590e99563ed29c9e8195db684fef61b4cc26d4a5e857b16d61b81ae3edcd27ff869f2af98723b30343e09ecf568e
|
||||
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/deja-dup/deja-dup-23.2.ebuild,v 1.1 2012/07/09 18:12:31 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="Simple backup tool using duplicity back-end"
|
||||
HOMEPAGE="https://launchpad.net/deja-dup/"
|
||||
SRC_URI="http://launchpad.net/${PN}/24/${PV}/+download/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nautilus"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/libpeas
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
|
||||
app-backup/duplicity
|
||||
dev-libs/dbus-glib
|
||||
gnome-base/gnome-keyring
|
||||
|
||||
nautilus? ( gnome-base/nautilus )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gvfs[fuse]"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/yelp-tools
|
||||
dev-lang/vala:0.16
|
||||
dev-perl/Locale-gettext
|
||||
virtual/pkgconfig
|
||||
dev-util/intltool
|
||||
sys-devel/gettext"
|
||||
|
||||
src_prepare() {
|
||||
DOCS="NEWS AUTHORS"
|
||||
G2CONF="${G2CONF}
|
||||
$(use_with nautilus)
|
||||
--without-ccpanel
|
||||
--without-unity
|
||||
--disable-schemas-compile
|
||||
--disable-static"
|
||||
export VALAC=$(type -p valac-0.16)
|
||||
|
||||
epatch "${FILESDIR}"/${P}-add-missing-include.patch
|
||||
gnome2_src_prepare
|
||||
AT_NOELIBTOOLIZE=yes eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
domenu data/deja-dup.desktop
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
diff -udr a/deja-dup/Makefile.am b/deja-dup/Makefile.am
|
||||
--- a/deja-dup/Makefile.am 2012-06-05 22:01:48.000000000 +0200
|
||||
+++ b/deja-dup/Makefile.am 2012-06-10 21:19:50.888004476 +0200
|
||||
@@ -55,6 +55,7 @@
|
||||
$(UNITY_VALAFLAGS) \
|
||||
--pkg @GTK_MODULE@ \
|
||||
--pkg gio-2.0 \
|
||||
+ --pkg gio-unix-2.0 \
|
||||
--pkg gnome-keyring-1 \
|
||||
--pkg libpeas-1.0 \
|
||||
--pkg libnotify \
|
@ -0,0 +1,13 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=425252
|
||||
Index: qwriter-0.1.9-src/qtsingleapplication-2.6-opensource/linux/src/qtlocalpeer.cpp
|
||||
===================================================================
|
||||
--- qwriter-0.1.9-src.orig/qtsingleapplication-2.6-opensource/linux/src/qtlocalpeer.cpp
|
||||
+++ qwriter-0.1.9-src/qtsingleapplication-2.6-opensource/linux/src/qtlocalpeer.cpp
|
||||
@@ -56,6 +56,7 @@ typedef BOOL(WINAPI*PProcessIdToSessionI
|
||||
static PProcessIdToSessionId pProcessIdToSessionId = 0;
|
||||
#endif
|
||||
#if defined(Q_OS_UNIX)
|
||||
+#include <unistd.h>
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
@ -0,0 +1,10 @@
|
||||
--- src/device.cpp
|
||||
+++ src/device.cpp
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
extern "C" {
|
||||
#include <gnokii.h>
|
||||
+#include <unistd.h>
|
||||
}
|
||||
|
||||
#include "device.h"
|
@ -0,0 +1,18 @@
|
||||
commit 9b6f96a38b8c84cb87bb07165b503acbe5ea81ff
|
||||
Author: Christoph Feck <christoph@maxiom.de>
|
||||
Date: Fri Mar 23 23:05:19 2012 +0100
|
||||
|
||||
Fix includes
|
||||
|
||||
diff --git a/kmymoney/mymoney/storage/mymoneydatabasemgrtest.cpp b/kmymoney/mymoney/storage/mymoneydatabasemgrtest.cpp
|
||||
index ff217e3..d31bb02 100644
|
||||
--- a/kmymoney/mymoney/storage/mymoneydatabasemgrtest.cpp
|
||||
+++ b/kmymoney/mymoney/storage/mymoneydatabasemgrtest.cpp
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include "mymoneydatabasemgrtest.h"
|
||||
#include <pwd.h>
|
||||
+#include <unistd.h>
|
||||
#include <iostream>
|
||||
|
||||
#include <QtTest/QtTest>
|
@ -1,2 +1,3 @@
|
||||
DIST eix-0.23.10.tar.xz 438336 SHA256 6525b65de08dc3c5946f008b57c8027e5725d2bbc0bf5b980afda65ea207b356 SHA512 ab84fdbf1ec671c02c5d5ef9e4d70f9d76035fe7e537a4afa78231321a1f3721561eec9b32d96153b045ea59917a214dbad79933b930c46b9ac1843acbe3c4fd WHIRLPOOL 13e009d6c2114e8d8e0dbb1151f96a7cd0fab40e1a59ce46cb03fbd68602129fd151917f2abe2d860082b8e9cb852136bca6c04709be8546251df9414c030f0d
|
||||
DIST eix-0.25.5.tar.xz 487608 SHA256 bc0ff803063e7a20ad6cd24763808f5a2b95600bf2b6525fff402e4e430606c6 SHA512 3a7898c5f320bfd52e606eb732701301c96bd63fb143c4a195343efdf4abb354fd6b20cdfa6d0a72fcb39b60bfe6f7a4fe7135c908b5464952f01f965820a7a0 WHIRLPOOL dd9d5a996506b2575754969117fce09539ecba41e925f17c330aa5ff22dd6e12d1908104000d9ce109151d8caf214c9eec46b85292456d7526ecbc4d98b91db4
|
||||
DIST eix-0.26.0.tar.xz 494140 SHA256 46dd45581b8ca5973d06d97aa6051691201b676cb5fc3b78074c73eda865aeb7 SHA512 0eca282cd0b29526c9c58bbb8b873622f0fb064bfecb232a0fd498aed29d12ca7ba5417d7dafe1135de02ed5da611b8391c124d13981a01602f71146bfc555a1 WHIRLPOOL f0ee0fcf7a330100c244dd2c440eecad4f29d7040794b5c15bffd6231ec80e1c09e68e8a0735fc9f3c094660037d3bd868e5085f7ac9fe5ea206244a3f24247b
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.26.0.ebuild,v 1.1 2012/07/09 14:06:47 darkside Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit multilib bash-completion-r1
|
||||
|
||||
DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays, version changes, and more"
|
||||
HOMEPAGE="http://eix.berlios.de"
|
||||
SRC_URI="mirror://berlios/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~m68k ~mips ~s390 ~sh ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE="clang debug +dep doc nls optimization security strong-optimization sqlite tools zsh-completion"
|
||||
|
||||
RDEPEND="app-shells/push
|
||||
sqlite? ( >=dev-db/sqlite-3 )
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
clang? ( sys-devel/clang )
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
if has_version "<${CATEGORY}/${PN}-0.25.3"; then
|
||||
local eixcache="${EROOT}"/var/cache/${PN}
|
||||
[[ -f ${eixcache} ]] && rm -f "${eixcache}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with sqlite) $(use_with doc extra-doc) \
|
||||
$(use_with zsh-completion) \
|
||||
$(use_enable nls) $(use_enable tools separate-tools) \
|
||||
$(use_enable security) $(use_enable optimization) \
|
||||
$(use_enable strong-optimization) $(use_enable debug debugging) \
|
||||
$(use_with prefix always-accept-keywords) \
|
||||
$(use_with dep dep-default) \
|
||||
$(use_with clang nongnu-cxx clang++) \
|
||||
--with-ebuild-sh-default="/usr/$(get_libdir)/portage/bin/ebuild.sh" \
|
||||
--with-portage-rootpath="${ROOTPATH}" \
|
||||
--with-eprefix-default="${EPREFIX}" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp bash/eix
|
||||
keepdir "/var/cache/${PN}"
|
||||
fowners portage:portage "/var/cache/${PN}"
|
||||
fperms 775 "/var/cache/${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# fowners in src_install doesn't work for owner/group portage:
|
||||
# merging changes this owner/group back to root.
|
||||
use prefix || chown portage:portage "${EROOT}var/cache/${PN}"
|
||||
local obs="${EROOT}var/cache/eix.previous"
|
||||
! test -f "${obs}" || ewarn "Found obsolete ${obs}, please remove it"
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST lcdf-typetools-2.85.tar.gz 569184 SHA256 5e279a7cd65842309c580130f6c31494d4685c5948132a19b8db81d2ef6781e4 SHA512 a15406ff993439a4979dc19b7dfa1a756d8f11e41c2d14e8f202332ec520d4e7e16e3ae55c15ee84f422aa1dffb3936b2e162ebfd429a3ee59ea9356b09546bb WHIRLPOOL 572f7b2440d1c704deeeb080d2fd3638457abe44a9136afefb4b67575ab489a461a81797724fe634ce522e719f9650cfdc9772dcc7d3ac4305deb1586d6cfa31
|
||||
DIST lcdf-typetools-2.91.tar.gz 614362 SHA256 5b8fd4bec23c6e584c2d5289ff5b84c859f5b9836aac9704da8b33eec6a35aa1 SHA512 764030c95309ee1b746c373ce6b673738ce8f54c9258591470b3d096e18e7677d37afa223ceaf01d618884fffbaf3cb46dc0dfe109bc6bc93f002bd30b1dba13 WHIRLPOOL 472eaa7c60cb8c5426d1c8b9cde520b669afea42c2f25d741e406bf9d81915a312a8d4148ab4956fb1eac1c7a2996e717bff5af266c4ef126e3866b6e1ca94f7
|
||||
DIST lcdf-typetools-2.92.tar.gz 588653 SHA256 a7a9eeab572f4f392870f6e70e291235af18633b30ac179342efb5e99b426860 SHA512 b8d8812d09375fc6879ac523cd48c4f18f08af0dfbac6c5e920c1bf53a8d5c4ce187f7dba0001995f62ded3e41129d82302465dcd23bcf432bb66b976de0ab76 WHIRLPOOL eb0688160b4aff434cb8fee2190d3970598a46efd23d158aa123ded05cb9d2d0bcc420ce5f9b58e164b8abcaab58ed74ac46cc8ff6bae67f3b3fe18bdd6e9deb
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/lcdf-typetools/lcdf-typetools-2.85.ebuild,v 1.7 2011/01/23 11:57:39 xarthisius Exp $
|
||||
|
||||
DESCRIPTION="Font utilities for eg manipulating OTF"
|
||||
SRC_URI="http://www.lcdf.org/type/${P}.tar.gz"
|
||||
HOMEPAGE="http://www.lcdf.org/type/#typetools"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE="kpathsea"
|
||||
|
||||
DEPEND="kpathsea? ( virtual/tex-base )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
econf $(use_with kpathsea) || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc NEWS README ONEWS
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST t1utils-1.36.tar.gz 164812 SHA256 9fd5338f5fef7a1d82a449b1bc9ce9570ba2aac11e858af312e93e37d18034f3 SHA512 78b0d8a8add382be48b738226e3a41442332f086e36e315d0394ba3f6d9ba9f45f49c577c03f432a962204ecbfd92f0ec3969c2e1efb2e3775d210c89dc5df70 WHIRLPOOL 82a3812606b32c9fc6bdb49f81fbbc20e187ad5d1982a923ff6dafcddad17c8f53c1dbae2f20b58c231c99a648513d6ed844411c71665087dc06ecaaeddb033f
|
||||
DIST t1utils-1.37.tar.gz 169956 SHA256 42bdce77aaf12b33ca6d193e01a2d2c0012f755435a6d25921f94733ee61cec3 SHA512 72b6eec7669be078f11927f0d8061fe9956f9a37c159cedb95344abedb7c79687c774916024f3eec2279d1b4e6d1430c78a8c8e2c95c563cb1df316d0c863a9f WHIRLPOOL bc49f264b4ff789a0c0521fafecee4735e9240e7cfca37a2289e09660c87ebaf6de3fa92921d3671494edfe6ee18ecec307fb0c7c66822c1205dec49a1689cda
|
||||
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/t1utils/t1utils-1.36.ebuild,v 1.9 2011/06/13 20:55:04 mattst88 Exp $
|
||||
|
||||
IUSE=""
|
||||
|
||||
DESCRIPTION="Type 1 Font utilities"
|
||||
SRC_URI="http://www.lcdf.org/type/${P}.tar.gz"
|
||||
HOMEPAGE="http://www.lcdf.org/type/#t1utils"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
!<media-libs/freetype-1.4_pre20080316"
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc NEWS README
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
--- simgear-2.4.0/simgear/structure/Singleton.hxx
|
||||
+++ simgear-2.4.0/simgear/structure/Singleton.hxx
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef SIMGEAR_SINGLETON_HXX
|
||||
#define SIMGEAR_SINGLETON_HXX 1
|
||||
|
||||
-#include <boost/pool/detail/singleton.hpp>
|
||||
+#include "boost/thread/detail/singleton.hpp"
|
||||
|
||||
#include <osg/Referenced>
|
||||
#include <osg/ref_ptr>
|
||||
@@ -22,7 +22,7 @@
|
||||
static Class* instance()
|
||||
{
|
||||
Class& singleton
|
||||
- = boost::details::pool::singleton_default<Class>::instance();
|
||||
+ = boost::detail::thread::singleton<Class>::instance();
|
||||
return &singleton;
|
||||
}
|
||||
};
|
||||
@@ -38,7 +38,7 @@
|
||||
static RefClass* instance()
|
||||
{
|
||||
SingletonRefPtr& singleton
|
||||
- = boost::details::pool::singleton_default<SingletonRefPtr>::instance();
|
||||
+ = boost::detail::thread::singleton<SingletonRefPtr>::instance();
|
||||
return singleton.ptr.get();
|
||||
}
|
||||
private:
|
@ -1,34 +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/glassfish-persistence/glassfish-persistence-1.0.ebuild,v 1.5 2007/08/19 20:04:22 wltjr Exp $
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Glassfish implementation of persistence API"
|
||||
HOMEPAGE="https://glassfish.dev.java.net/"
|
||||
SRC_URI="http://download.java.net/javaee5/fcs_branch/promoted/source/glassfish-9_0-b48-src.zip"
|
||||
|
||||
LICENSE="CDDL"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip"
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
MODULE="persistence-api"
|
||||
S="${WORKDIR}/glassfish"
|
||||
|
||||
src_compile() {
|
||||
cd ${S}/${MODULE}
|
||||
eant all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd ${WORKDIR}/publish/glassfish
|
||||
java-pkg_newjar lib/javaee.jar
|
||||
|
||||
dodir /usr/share/${PN}/lib/schemas
|
||||
cp lib/schemas/*.xsd ${D}/usr/share/${PN}/lib/schemas
|
||||
}
|
@ -0,0 +1,243 @@
|
||||
--- make_linux.mak- 2012-07-02 00:49:48.729100052 +0000
|
||||
+++ make_linux.mak 2012-07-02 00:53:16.753499389 +0000
|
||||
@@ -66,7 +66,7 @@
|
||||
# Uncomment for Native Stats tool
|
||||
#NATIVE_STATS = -DNATIVE_STATS
|
||||
|
||||
-MOZILLACFLAGS = -O \
|
||||
+MOZILLACFLAGS = $(CXXFLAGS) \
|
||||
-DSWT_VERSION=$(SWT_VERSION) \
|
||||
$(NATIVE_STATS) \
|
||||
-DMOZILLA_STRICT_API=1 \
|
||||
@@ -106,7 +106,7 @@
|
||||
WEBKIT_OBJECTS = swt.o webkit.o webkit_structs.o webkit_stats.o
|
||||
GLX_OBJECTS = swt.o glx.o glx_structs.o glx_stats.o
|
||||
|
||||
-CFLAGS = -O -Wall \
|
||||
+CFLAGS += \
|
||||
-DSWT_VERSION=$(SWT_VERSION) \
|
||||
$(NATIVE_STATS) \
|
||||
-DLINUX -DGTK \
|
||||
@@ -130,13 +130,13 @@
|
||||
make_swt: $(SWT_LIB) $(SWTPI_LIB)
|
||||
|
||||
$(SWT_LIB): $(SWT_OBJECTS)
|
||||
- $(CC) $(LFLAGS) -o $(SWT_LIB) $(SWT_OBJECTS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(SWT_LIB) $(SWT_OBJECTS)
|
||||
|
||||
callback.o: callback.c callback.h
|
||||
$(CC) $(CFLAGS) -DUSE_ASSEMBLER -c callback.c
|
||||
|
||||
$(SWTPI_LIB): $(SWTPI_OBJECTS)
|
||||
- $(CC) $(LFLAGS) -o $(SWTPI_LIB) $(SWTPI_OBJECTS) $(GTKLIBS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(SWTPI_LIB) $(SWTPI_OBJECTS) $(GTKLIBS)
|
||||
|
||||
swt.o: swt.c swt.h
|
||||
$(CC) $(CFLAGS) -c swt.c
|
||||
@@ -155,7 +155,7 @@
|
||||
make_cairo: $(CAIRO_LIB)
|
||||
|
||||
$(CAIRO_LIB): $(CAIRO_OBJECTS)
|
||||
- $(CC) $(LFLAGS) -o $(CAIRO_LIB) $(CAIRO_OBJECTS) $(CAIROLIBS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(CAIRO_LIB) $(CAIRO_OBJECTS) $(CAIROLIBS)
|
||||
|
||||
cairo.o: cairo.c cairo.h swt.h
|
||||
$(CC) $(CFLAGS) $(CAIROCFLAGS) -c cairo.c
|
||||
@@ -171,7 +171,7 @@
|
||||
make_cde: $(CDE_LIB)
|
||||
|
||||
$(CDE_LIB): $(CDE_OBJECTS)
|
||||
- $(CC) $(LFLAGS) -o $(CDE_LIB) $(CDE_OBJECTS) $(CDE_LIBS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(CDE_LIB) $(CDE_OBJECTS) $(CDE_LIBS)
|
||||
|
||||
#
|
||||
# AWT lib
|
||||
@@ -179,7 +179,7 @@
|
||||
make_awt:$(AWT_LIB)
|
||||
|
||||
$(AWT_LIB): $(AWT_OBJECTS)
|
||||
- $(CC) $(AWT_LFLAGS) -o $(AWT_LIB) $(AWT_OBJECTS) $(AWT_LIBS)
|
||||
+ $(CC) $(LDFLAGS) $(AWT_LFLAGS) -o $(AWT_LIB) $(AWT_OBJECTS) $(AWT_LIBS)
|
||||
|
||||
#
|
||||
# Atk lib
|
||||
@@ -187,7 +187,7 @@
|
||||
make_atk: $(ATK_LIB)
|
||||
|
||||
$(ATK_LIB): $(ATK_OBJECTS)
|
||||
- $(CC) $(LFLAGS) -o $(ATK_LIB) $(ATK_OBJECTS) $(ATKLIBS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(ATK_LIB) $(ATK_OBJECTS) $(ATKLIBS)
|
||||
|
||||
atk.o: atk.c atk.h
|
||||
$(CC) $(CFLAGS) $(ATKCFLAGS) -c atk.c
|
||||
@@ -204,7 +204,7 @@
|
||||
make_gnome: $(GNOME_LIB)
|
||||
|
||||
$(GNOME_LIB): $(GNOME_OBJECTS)
|
||||
- $(CC) $(LFLAGS) -o $(GNOME_LIB) $(GNOME_OBJECTS) $(GNOMELIBS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(GNOME_LIB) $(GNOME_OBJECTS) $(GNOMELIBS)
|
||||
|
||||
gnome.o: gnome.c
|
||||
$(CC) $(CFLAGS) $(GNOMECFLAGS) -c gnome.c
|
||||
@@ -221,7 +221,7 @@
|
||||
make_mozilla:$(MOZILLA_LIB)
|
||||
|
||||
$(MOZILLA_LIB): $(MOZILLA_OBJECTS)
|
||||
- $(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALFLAGS) ${MOZILLA_LIBS}
|
||||
+ $(CXX) $(LDFLAGS) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALFLAGS) ${MOZILLA_LIBS}
|
||||
|
||||
xpcom.o: xpcom.cpp
|
||||
$(CXX) $(MOZILLACFLAGS) $(MOZILLAEXCLUDES) ${MOZILLA_INCLUDES} -c xpcom.cpp
|
||||
@@ -242,7 +242,7 @@
|
||||
|
||||
$(XULRUNNER_LIB): $(XULRUNNER_OBJECTS)
|
||||
echo -e "#include<stdlib.h>\nsize_t je_malloc_usable_size_in_advance(size_t n) {\nreturn n;\n}" | gcc --shared -xc - -o libswt-xulrunner-fix.so
|
||||
- $(CXX) -o $(XULRUNNER_LIB) $(XULRUNNER_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS}
|
||||
+ $(CXX) $(LDFLAGS) -o $(XULRUNNER_LIB) $(XULRUNNER_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS}
|
||||
|
||||
xpcomxul.o: xpcom.cpp
|
||||
$(CXX) -o xpcomxul.o $(MOZILLACFLAGS) $(XULRUNNEREXCLUDES) ${XULRUNNER_INCLUDES} -c xpcom.cpp
|
||||
@@ -262,7 +262,7 @@
|
||||
make_xpcominit:$(XPCOMINIT_LIB)
|
||||
|
||||
$(XPCOMINIT_LIB): $(XPCOMINIT_OBJECTS)
|
||||
- $(CXX) -o $(XPCOMINIT_LIB) $(XPCOMINIT_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS}
|
||||
+ $(CXX) $(LDFLAGS) -o $(XPCOMINIT_LIB) $(XPCOMINIT_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS}
|
||||
|
||||
xpcominit.o: xpcominit.cpp
|
||||
$(CXX) $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcominit.cpp
|
||||
@@ -279,7 +279,7 @@
|
||||
make_webkit: $(WEBKIT_LIB)
|
||||
|
||||
$(WEBKIT_LIB): $(WEBKIT_OBJECTS)
|
||||
- $(CC) $(LFLAGS) -o $(WEBKIT_LIB) $(WEBKIT_OBJECTS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(WEBKIT_LIB) $(WEBKIT_OBJECTS)
|
||||
|
||||
webkit.o: webkitgtk.c
|
||||
$(CC) $(CFLAGS) $(WEBKITCFLAGS) -c webkitgtk.c -o webkit.o
|
||||
@@ -296,7 +296,7 @@
|
||||
make_glx: $(GLX_LIB)
|
||||
|
||||
$(GLX_LIB): $(GLX_OBJECTS)
|
||||
- $(CC) $(LFLAGS) -o $(GLX_LIB) $(GLX_OBJECTS) $(GLXLIBS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(GLX_LIB) $(GLX_OBJECTS) $(GLXLIBS)
|
||||
|
||||
glx.o: glx.c
|
||||
$(CC) $(CFLAGS) $(GLXCFLAGS) -c glx.c
|
||||
--- make_freebsd.mak- 2012-07-02 00:53:28.553351871 +0000
|
||||
+++ make_freebsd.mak 2012-07-02 00:55:37.369741444 +0000
|
||||
@@ -64,7 +64,7 @@
|
||||
# Uncomment for Native Stats tool
|
||||
#NATIVE_STATS = -DNATIVE_STATS
|
||||
|
||||
-MOZILLACFLAGS = -O \
|
||||
+MOZILLACFLAGS += \
|
||||
-DSWT_VERSION=$(SWT_VERSION) \
|
||||
$(NATIVE_STATS) \
|
||||
-DMOZILLA_STRICT_API=1 \
|
||||
@@ -91,7 +91,7 @@
|
||||
XPCOMINIT_OBJECTS = swt.o xpcominit.o xpcominit_structs.o xpcominit_stats.o
|
||||
GLX_OBJECTS = swt.o glx.o glx_structs.o glx_stats.o
|
||||
|
||||
-CFLAGS = -O -Wall \
|
||||
+CFLAGS += \
|
||||
-DSWT_VERSION=$(SWT_VERSION) \
|
||||
$(NATIVE_STATS) \
|
||||
-DFREEBSD -DGTK \
|
||||
@@ -115,13 +115,13 @@
|
||||
make_swt: $(SWT_LIB) $(SWTPI_LIB)
|
||||
|
||||
$(SWT_LIB): $(SWT_OBJECTS)
|
||||
- $(CC) $(LFLAGS) -o $(SWT_LIB) $(SWT_OBJECTS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(SWT_LIB) $(SWT_OBJECTS)
|
||||
|
||||
callback.o: callback.c callback.h
|
||||
$(CC) $(CFLAGS) -DUSE_ASSEMBLER -c callback.c
|
||||
|
||||
$(SWTPI_LIB): $(SWTPI_OBJECTS)
|
||||
- $(CC) $(LFLAGS) -o $(SWTPI_LIB) $(SWTPI_OBJECTS) $(GTKLIBS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(SWTPI_LIB) $(SWTPI_OBJECTS) $(GTKLIBS)
|
||||
|
||||
swt.o: swt.c swt.h
|
||||
$(CC) $(CFLAGS) -c swt.c
|
||||
@@ -140,7 +140,7 @@
|
||||
make_cairo: $(CAIRO_LIB)
|
||||
|
||||
$(CAIRO_LIB): $(CAIRO_OBJECTS)
|
||||
- $(CC) $(LFLAGS) -o $(CAIRO_LIB) $(CAIRO_OBJECTS) $(CAIROLIBS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(CAIRO_LIB) $(CAIRO_OBJECTS) $(CAIROLIBS)
|
||||
|
||||
cairo.o: cairo.c cairo.h swt.h
|
||||
$(CC) $(CFLAGS) $(CAIROCFLAGS) -c cairo.c
|
||||
@@ -156,7 +156,7 @@
|
||||
make_cde: $(CDE_LIB)
|
||||
|
||||
$(CDE_LIB): $(CDE_OBJECTS)
|
||||
- $(CC) $(LFLAGS) -o $(CDE_LIB) $(CDE_OBJECTS) $(CDE_LIBS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(CDE_LIB) $(CDE_OBJECTS) $(CDE_LIBS)
|
||||
|
||||
#
|
||||
# AWT lib
|
||||
@@ -164,7 +164,7 @@
|
||||
make_awt:$(AWT_LIB)
|
||||
|
||||
$(AWT_LIB): $(AWT_OBJECTS)
|
||||
- $(CC) $(AWT_LFLAGS) -o $(AWT_LIB) $(AWT_OBJECTS) $(AWT_LIBS)
|
||||
+ $(CC) $(LDFLAGS) $(AWT_LFLAGS) -o $(AWT_LIB) $(AWT_OBJECTS) $(AWT_LIBS)
|
||||
|
||||
#
|
||||
# Atk lib
|
||||
@@ -172,7 +172,7 @@
|
||||
make_atk: $(ATK_LIB)
|
||||
|
||||
$(ATK_LIB): $(ATK_OBJECTS)
|
||||
- $(CC) $(LFLAGS) -o $(ATK_LIB) $(ATK_OBJECTS) $(ATKLIBS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(ATK_LIB) $(ATK_OBJECTS) $(ATKLIBS)
|
||||
|
||||
atk.o: atk.c atk.h
|
||||
$(CC) $(CFLAGS) $(ATKCFLAGS) -c atk.c
|
||||
@@ -189,7 +189,7 @@
|
||||
make_gnome: $(GNOME_LIB)
|
||||
|
||||
$(GNOME_LIB): $(GNOME_OBJECTS)
|
||||
- $(CC) $(LFLAGS) -o $(GNOME_LIB) $(GNOME_OBJECTS) $(GNOMELIBS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(GNOME_LIB) $(GNOME_OBJECTS) $(GNOMELIBS)
|
||||
|
||||
gnome.o: gnome.c
|
||||
$(CC) $(CFLAGS) $(GNOMECFLAGS) -c gnome.c
|
||||
@@ -206,7 +206,7 @@
|
||||
make_mozilla:$(MOZILLA_LIB)
|
||||
|
||||
$(MOZILLA_LIB): $(MOZILLA_OBJECTS)
|
||||
- $(CXX) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALFLAGS) ${MOZILLA_LIBS}
|
||||
+ $(CXX) $(LDFLAGS) -o $(MOZILLA_LIB) $(MOZILLA_OBJECTS) $(MOZILLALFLAGS) ${MOZILLA_LIBS}
|
||||
|
||||
xpcom.o: xpcom.cpp
|
||||
$(CXX) $(MOZILLACFLAGS) ${MOZILLA_INCLUDES} -c xpcom.cpp
|
||||
@@ -226,7 +226,7 @@
|
||||
make_xulrunner:$(XULRUNNER_LIB)
|
||||
|
||||
$(XULRUNNER_LIB): $(XULRUNNER_OBJECTS)
|
||||
- $(CXX) -o $(XULRUNNER_LIB) $(XULRUNNER_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS}
|
||||
+ $(CXX) $(LDFLAGS) -o $(XULRUNNER_LIB) $(XULRUNNER_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS}
|
||||
|
||||
xpcomxul.o: xpcom.cpp
|
||||
$(CXX) -o xpcomxul.o $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcom.cpp
|
||||
@@ -252,7 +252,7 @@
|
||||
make_xpcominit:$(XPCOMINIT_LIB)
|
||||
|
||||
$(XPCOMINIT_LIB): $(XPCOMINIT_OBJECTS)
|
||||
- $(CXX) -o $(XPCOMINIT_LIB) $(XPCOMINIT_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS}
|
||||
+ $(CXX) $(LDFLAGS) -o $(XPCOMINIT_LIB) $(XPCOMINIT_OBJECTS) $(MOZILLALFLAGS) ${XULRUNNER_LIBS}
|
||||
|
||||
xpcominit.o: xpcominit.cpp
|
||||
$(CXX) $(MOZILLACFLAGS) ${XULRUNNER_INCLUDES} -c xpcominit.cpp
|
||||
@@ -269,7 +269,7 @@
|
||||
make_glx: $(GLX_LIB)
|
||||
|
||||
$(GLX_LIB): $(GLX_OBJECTS)
|
||||
- $(CC) $(LFLAGS) -o $(GLX_LIB) $(GLX_OBJECTS) $(GLXLIBS)
|
||||
+ $(CC) $(LDFLAGS) $(LFLAGS) -o $(GLX_LIB) $(GLX_OBJECTS) $(GLXLIBS)
|
||||
|
||||
glx.o: glx.c
|
||||
$(CC) $(CFLAGS) $(GLXCFLAGS) -c glx.c
|
@ -0,0 +1,16 @@
|
||||
Manifest-Version: 1.0
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-Vendor: %providerName
|
||||
Bundle-Localization: plugin
|
||||
Fragment-Host: org.eclipse.swt; bundle-version=4.2.0
|
||||
Bundle-SymbolicName: org.eclipse.swt.gtk.linux.SWT_ARCH; singleton:=true
|
||||
Bundle-Version: 4.2
|
||||
Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=SWT_ARCH))
|
||||
Export-Package: org.eclipse.swt.internal.accessibility.gtk; x-internal:=true,
|
||||
org.eclipse.swt.internal.cairo; x-internal:=true,
|
||||
org.eclipse.swt.internal.cde; x-internal:=true,
|
||||
org.eclipse.swt.internal.gnome; x-internal:=true,
|
||||
org.eclipse.swt.internal.gtk; x-internal:=true,
|
||||
org.eclipse.swt.internal.opengl.glx; x-internal:=true
|
||||
org.eclipse.swt.internal.webkit; x-internal:=true
|
@ -0,0 +1,171 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/swt-4.2.ebuild,v 1.1 2012/07/09 18:33:43 sera Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 toolchain-funcs java-osgi
|
||||
|
||||
MY_PV="${PV/_rc/RC}"
|
||||
MY_DMF="http://download.eclipse.org/eclipse/downloads/drops4/R-${MY_PV}-201206081400"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="GTK based SWT Library"
|
||||
HOMEPAGE="http://www.eclipse.org/"
|
||||
SRC_URI="
|
||||
amd64? ( ${MY_DMF}/${MY_P}-gtk-linux-x86_64.zip )
|
||||
ppc? ( ${MY_DMF}/${MY_P}-gtk-linux-x86.zip )
|
||||
ppc64? ( ${MY_DMF}/${MY_P}-gtk-linux-ppc64.zip )
|
||||
x86? ( ${MY_DMF}/${MY_P}-gtk-linux-x86.zip )
|
||||
x86-fbsd? ( ${MY_DMF}/${MY_P}-gtk-linux-x86.zip )"
|
||||
|
||||
LICENSE="CPL-1.0 LGPL-2.1 MPL-1.1"
|
||||
SLOT="4.2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="cairo gnome opengl webkit"
|
||||
|
||||
COMMON_DEP="
|
||||
>=dev-libs/atk-1.10.2
|
||||
>=dev-libs/glib-2.6
|
||||
>=x11-libs/gtk+-2.6.8:2
|
||||
x11-libs/libXtst
|
||||
cairo? ( >=x11-libs/cairo-1.4.14 )
|
||||
gnome? (
|
||||
=gnome-base/gnome-vfs-2*
|
||||
=gnome-base/libgnome-2*
|
||||
=gnome-base/libgnomeui-2*
|
||||
)
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
webkit? ( >=net-libs/webkit-gtk-1.2:2 )"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.4
|
||||
app-arch/unzip
|
||||
virtual/pkgconfig
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
>=x11-libs/libXtst-1.1.0
|
||||
x11-proto/inputproto"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.4"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
# JNI libraries don't need SONAME, bug #253756
|
||||
QA_SONAME="usr/$(get_libdir)/libswt-.*.so"
|
||||
|
||||
src_unpack() {
|
||||
local DISTFILE=${A}
|
||||
unzip -jq "${DISTDIR}"/${DISTFILE} "*src.zip" || die "Unable to extract distfile"
|
||||
unpack "./src.zip"
|
||||
|
||||
# Cleanup the redirtied directory structure
|
||||
rm -rf about_files/ || die
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# Replace the build.xml to allow compilation without Eclipse tasks
|
||||
cp "${FILESDIR}/build.xml" "${S}/build.xml" || die "Unable to update build.xml"
|
||||
mkdir "${S}/src" && mv "${S}/org" "${S}/src" || die "Unable to restructure SWT sources"
|
||||
|
||||
# Fix Makefiles to respect flags and work with --as-needed
|
||||
epatch "${FILESDIR}"/${P}-as-needed-and-flag-fixes.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Drop jikes support as it seems to be unfriendly with SWT
|
||||
java-pkg_filter-compiler jikes
|
||||
|
||||
local AWT_ARCH
|
||||
local JAWTSO="libjawt.so"
|
||||
if [[ $(tc-arch) == 'x86' ]] ; then
|
||||
AWT_ARCH="i386"
|
||||
elif [[ $(tc-arch) == 'ppc' ]] ; then
|
||||
AWT_ARCH="ppc"
|
||||
elif [[ $(tc-arch) == 'ppc64' ]] ; then
|
||||
AWT_ARCH="ppc64"
|
||||
else
|
||||
AWT_ARCH="amd64"
|
||||
fi
|
||||
if [[ -f "${JAVA_HOME}/jre/lib/${AWT_ARCH}/${JAWTSO}" ]]; then
|
||||
export AWT_LIB_PATH="${JAVA_HOME}/jre/lib/${AWT_ARCH}"
|
||||
elif [[ -f "${JAVA_HOME}/jre/bin/${JAWTSO}" ]]; then
|
||||
export AWT_LIB_PATH="${JAVA_HOME}/jre/bin"
|
||||
elif [[ -f "${JAVA_HOME}/$(get_libdir)/${JAWTSO}" ]] ; then
|
||||
export AWT_LIB_PATH="${JAVA_HOME}/$(get_libdir)"
|
||||
else
|
||||
eerror "${JAWTSO} not found in the JDK being used for compilation!"
|
||||
die "cannot build AWT library"
|
||||
fi
|
||||
|
||||
# Fix the pointer size for AMD64
|
||||
[[ ${ARCH} == "amd64" || ${ARCH} == "ppc64" ]] && export SWT_PTR_CFLAGS=-DJNI64
|
||||
|
||||
local platform="linux"
|
||||
|
||||
use elibc_FreeBSD && platform="freebsd"
|
||||
|
||||
local make="emake -f make_${platform}.mak NO_STRIP=y CC=$(tc-getCC) CXX=$(tc-getCXX)"
|
||||
|
||||
einfo "Building AWT library"
|
||||
${make} make_awt
|
||||
|
||||
einfo "Building SWT library"
|
||||
${make} make_swt
|
||||
|
||||
einfo "Building JAVA-AT-SPI bridge"
|
||||
${make} make_atk
|
||||
|
||||
if use gnome ; then
|
||||
einfo "Building GNOME VFS support"
|
||||
${make} make_gnome
|
||||
fi
|
||||
|
||||
if use cairo ; then
|
||||
einfo "Building CAIRO support"
|
||||
${make} make_cairo
|
||||
fi
|
||||
|
||||
if use opengl ; then
|
||||
einfo "Building OpenGL component"
|
||||
${make} make_glx
|
||||
fi
|
||||
|
||||
if use webkit ; then
|
||||
einfo "Building the WebKitGTK+ component"
|
||||
|
||||
${make} make_webkit
|
||||
fi
|
||||
|
||||
einfo "Building JNI libraries"
|
||||
eant compile
|
||||
|
||||
einfo "Copying missing files"
|
||||
cp -i "${S}/version.txt" "${S}/build/version.txt"
|
||||
cp -i "${S}/src/org/eclipse/swt/internal/SWTMessages.properties" \
|
||||
"${S}/build/org/eclipse/swt/internal/" || die
|
||||
|
||||
einfo "Packing JNI libraries"
|
||||
eant jar
|
||||
}
|
||||
|
||||
src_install() {
|
||||
swtArch=${ARCH}
|
||||
use amd64 && swtArch=x86_64
|
||||
use x86-fbsd && swtArch=x86
|
||||
|
||||
sed "s/SWT_ARCH/${swtArch}/" "${FILESDIR}/${PN}-${SLOT}-manifest" > "MANIFEST_TMP.MF" || die
|
||||
use cairo || sed -i -e "/ org.eclipse.swt.internal.cairo; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
use gnome || sed -i -e "/ org.eclipse.swt.internal.gnome; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
use opengl || sed -i -e "/ org.eclipse.swt.internal.opengl.glx; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
use webkit || sed -i -e "/ org.eclipse.swt.internal.webkit; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
java-osgi_newjar-fromfile "swt.jar" "MANIFEST_TMP.MF" "Standard Widget Toolkit for GTK 2.0"
|
||||
|
||||
java-pkg_sointo /usr/$(get_libdir)
|
||||
java-pkg_doso *.so
|
||||
|
||||
dohtml about.html || die
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST PyQt-x11-gpl-4.8.1.tar.gz 9409175 SHA256 1feab80dc82dcd451233edeb1cde9cc75fa38b6e8f47780ec6dc317ebe0cf370 SHA512 c0a09e07d3b51427129e2dde5d67e5194c1ee185136b2c8955a5be8186ac16fb05432a458a3027c1580aa4d789e4af70634f704c38e6374eaaa9a31c66461a11 WHIRLPOOL 956a80aba186c8c19dc774472fa08f8faf93fd7cb325060e12e8e5d77648457282c9bdc8e035cf7c77a67302d63626c719f3888a14e9ff1be1c697724ffb0de5
|
||||
DIST PyQt-x11-gpl-4.8.4.tar.gz 9799081 SHA256 fcfa3ecc0b4fad6d93227751b36a6f81ea104ee19dd26905f52de59f060b3e98 SHA512 036e23ff126980f97fd939de9f064056ef0e0e8fbf2cc0a1968fc9cde8c0b09fd531b412d0de362d3fcae7aee828e1cc5347300a35b45cff9c6eda6fed2ef46f WHIRLPOOL c2a993fe0203e63e134fb2ddd405817913055a43e23a1a8eca6fd52445e85d2002453d0f4093b6ed5c453be6864aa68a4051fccf3936e757a16b6ef5892c5b51
|
||||
DIST PyQt-x11-gpl-4.9.1.tar.gz 9742132 SHA256 f283557f2190ffc00d72fe8451ac15536cab777c36a9b573031328f401629bb1 SHA512 3e3042138a204faa83628f4595f78ce3a07f69a54c4141ec9f2165a9fc94f4c30f1ad4c650ebf682e31e4589e0a9973871fbbf9944ce7ee6509bb394327a47d9 WHIRLPOOL bb9d455b74f0be80066bc4f6c02e52bcfd3b0d1181ebf668d1c97d08eeb5dcd9c15ac2be19cda09af9d404b22050982c65d4d54ae1bc61771c655fcb6a5172b8
|
||||
DIST PyQt-x11-gpl-4.9.4.tar.gz 9801300 SHA256 29416e9b2dd394d39c3034e103717a40b9090ec05f457600a4d62b6f29b27e48 SHA512 719abd2dc5504c9fdab3151d9649915d80d4b9e59f4f122127c7d9c5938cb4116ba993d7ff1a8468d098bb76d49c7f36aa5f13b30f44fedc38192e89e751e1f3 WHIRLPOOL 294a6d77ecf6540561795219ea02d687d906fd635b1de0c8d78cc60ddf51bf870f819127f58c9bb406edb942a3c8caaf4d581045920b99ecd4b9bb831d16d214
|
||||
|
@ -1,172 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.8.1.ebuild,v 1.21 2012/06/14 07:22:35 yngwin Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="*"
|
||||
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython *-pypy-*"
|
||||
|
||||
inherit eutils python qt4-r2 toolchain-funcs
|
||||
|
||||
MY_P="PyQt-x11-gpl-${PV/_pre/-snapshot-}"
|
||||
|
||||
# Minimal supported version of Qt.
|
||||
QT_VER="4.6.2"
|
||||
|
||||
DESCRIPTION="Python bindings for the Qt toolkit"
|
||||
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/ http://pypi.python.org/pypi/PyQt"
|
||||
SRC_URI="http://www.riverbankcomputing.com/static/Downloads/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="X assistant +dbus debug doc examples kde multimedia opengl phonon sql svg webkit xmlpatterns"
|
||||
|
||||
DEPEND="<dev-python/sip-4.13
|
||||
>=x11-libs/qt-core-${QT_VER}:4
|
||||
>=x11-libs/qt-script-${QT_VER}:4
|
||||
>=x11-libs/qt-test-${QT_VER}:4
|
||||
X? ( >=x11-libs/qt-gui-${QT_VER}:4[dbus?] )
|
||||
assistant? ( >=x11-libs/qt-assistant-${QT_VER}:4 )
|
||||
dbus? (
|
||||
>=dev-python/dbus-python-0.80
|
||||
>=x11-libs/qt-dbus-${QT_VER}:4
|
||||
)
|
||||
multimedia? ( >=x11-libs/qt-multimedia-${QT_VER}:4 )
|
||||
opengl? ( >=x11-libs/qt-opengl-${QT_VER}:4 || ( >=x11-libs/qt-opengl-4.7.0:4[-egl] <x11-libs/qt-opengl-4.7.0:4 ) )
|
||||
phonon? (
|
||||
!kde? ( || ( >=x11-libs/qt-phonon-${QT_VER}:4 media-libs/phonon ) )
|
||||
kde? ( media-libs/phonon )
|
||||
)
|
||||
sql? ( >=x11-libs/qt-sql-${QT_VER}:4 )
|
||||
svg? ( >=x11-libs/qt-svg-${QT_VER}:4 )
|
||||
webkit? ( >=x11-libs/qt-webkit-${QT_VER}:4 )
|
||||
xmlpatterns? ( >=x11-libs/qt-xmlpatterns-${QT_VER}:4 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.6.1-configure-multilib.patch"
|
||||
"${FILESDIR}/${PN}-4.7.2-configure.py.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
if ! use dbus; then
|
||||
sed -e "s/^\([[:blank:]]\+\)check_dbus()/\1pass/" -i configure.py || die "sed configure.py failed"
|
||||
fi
|
||||
|
||||
# Support qreal for arm architecture (bug #322349).
|
||||
use arm && epatch "${FILESDIR}/${PN}-4.7.3-qreal_float_support.patch"
|
||||
|
||||
qt4-r2_src_prepare
|
||||
|
||||
# Use proper include directory.
|
||||
sed -e "s:/usr/include:${EPREFIX}/usr/include:g" -i configure.py || die "sed configure.py failed"
|
||||
|
||||
python_copy_sources
|
||||
|
||||
preparation() {
|
||||
if [[ "$(python_get_version --major)" == "3" ]]; then
|
||||
rm -fr pyuic/uic/port_v2
|
||||
else
|
||||
rm -fr pyuic/uic/port_v3
|
||||
fi
|
||||
}
|
||||
python_execute_function -s preparation
|
||||
}
|
||||
|
||||
pyqt4_use_enable() {
|
||||
use $1 && echo "--enable=${2:-$1}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local myconf=("$(PYTHON)"
|
||||
configure.py
|
||||
--confirm-license
|
||||
--bindir="${EPREFIX}/usr/bin"
|
||||
--destdir="${EPREFIX}$(python_get_sitedir)"
|
||||
--sipdir="${EPREFIX}/usr/share/sip"
|
||||
--qsci-api
|
||||
$(use debug && echo --debug)
|
||||
--enable=QtCore
|
||||
--enable=QtNetwork
|
||||
--enable=QtScript
|
||||
--enable=QtTest
|
||||
--enable=QtXml
|
||||
$(pyqt4_use_enable X QtGui)
|
||||
$(pyqt4_use_enable X QtDesigner)
|
||||
$(pyqt4_use_enable X QtScriptTools)
|
||||
# QtAssistant module is not available with Qt >=4.7.0.
|
||||
$(pyqt4_use_enable assistant QtAssistant)
|
||||
$(pyqt4_use_enable assistant QtHelp)
|
||||
$(pyqt4_use_enable multimedia QtMultimedia)
|
||||
$(pyqt4_use_enable opengl QtOpenGL)
|
||||
$(pyqt4_use_enable phonon)
|
||||
$(pyqt4_use_enable sql QtSql)
|
||||
$(pyqt4_use_enable svg QtSvg)
|
||||
$(pyqt4_use_enable webkit QtWebKit)
|
||||
$(pyqt4_use_enable xmlpatterns QtXmlPatterns)
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
LINK="$(tc-getCXX)"
|
||||
LINK_SHLIB="$(tc-getCXX)"
|
||||
CFLAGS="${CFLAGS}"
|
||||
CXXFLAGS="${CXXFLAGS}"
|
||||
LFLAGS="${LDFLAGS}")
|
||||
echo "${myconf[@]}"
|
||||
"${myconf[@]}" || return 1
|
||||
|
||||
local mod
|
||||
for mod in QtCore $(use X && echo QtDesigner QtGui); do
|
||||
# Run eqmake4 inside the qpy subdirectories to avoid stripping and many other QA issues.
|
||||
pushd qpy/${mod} > /dev/null || return 1
|
||||
eqmake4 $(ls w_qpy*.pro)
|
||||
popd > /dev/null || return 1
|
||||
|
||||
# Fix insecure runpaths.
|
||||
sed -e "/^LFLAGS/s:-Wl,-rpath,${BUILDDIR}/qpy/${mod}::" -i ${mod}/Makefile || die "Fixing of rpaths failed"
|
||||
done
|
||||
|
||||
# Fix pre-stripping of libpythonplugin.so
|
||||
if use X; then
|
||||
cd "${BUILDDIR}/designer"
|
||||
eqmake4 python.pro
|
||||
fi
|
||||
}
|
||||
python_execute_function -s configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
# INSTALL_ROOT is needed for the QtDesigner module, other Makefiles use DESTDIR.
|
||||
emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
|
||||
}
|
||||
python_execute_function -s installation
|
||||
|
||||
dodoc doc/pyqt4ref.txt NEWS THANKS || die "dodoc failed"
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/* || die "dohtml failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples || die "doins failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize PyQt4
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup PyQt4
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
--- PyQt-x11-gpl-4.6.1~orig/configure.py 2009-11-04 22:28:05.000000000 +0100
|
||||
+++ PyQt-x11-gpl-4.6.1/configure.py 2009-11-04 23:10:01.000000000 +0100
|
||||
@@ -854,8 +854,8 @@
|
||||
# version.
|
||||
link = "-framework Python"
|
||||
elif ("--enable-shared" in ducfg.get("CONFIG_ARGS", "") and
|
||||
- glob.glob("%s/lib/libpython%d.%d*" % (ducfg["exec_prefix"], py_major, py_minor))):
|
||||
- lib_dir_flag = quote("-L%s/lib" % ducfg["exec_prefix"])
|
||||
+ glob.glob("%s/libpython%d.%d*" % (ducfg["LIBDIR"], py_major, py_minor))):
|
||||
+ lib_dir_flag = quote("-L%s" % ducfg["LIBDIR"])
|
||||
link = "%s -lpython%d.%d" % (lib_dir_flag, py_major, py_minor)
|
||||
else:
|
||||
sipconfig.inform("Qt Designer plugin disabled because Python library is static")
|
@ -1,2 +1,2 @@
|
||||
DIST OOSuite-0.37.zip 472085 SHA256 8a98e6039202c1d25f2282053ad6e00a65750804fc8b567cad1e91177d771d85 SHA512 226cbe740c24e9a738016c8ce21f351444c6a10178ae4a955d6cc4ed2c30c709f9794a91689504645aa253b8954b31379d337bae8344f6f7da9aebf4401005a4 WHIRLPOOL 84f74f63fe288185169dacc335716ba43be07fa72fc984e81f8c5919f9077e16cd5c645812b93bd4aad3f4b86de8a7990aac0c6eec524422aa97143f072ad256
|
||||
DIST OOSuite-0.38.zip 503698 SHA256 faf93377d18f853435ee4fbddc47005e191b439c48d304a52ce713bc412512ae SHA512 00688044cc2de9c4acc968795bf74d5bb02faa79f1252c39827ba3197fefc3168eb9c5cda5691a74d3d8ea42b48c3eedfbfaf7e912a8b277d23a6dae30ece090 WHIRLPOOL 508a90c45d4cd2d5bfe3ddaf30d207ca2f69c6440b2647d560506d54995f8b0b46f87acf044e44b6c6496ed595e96111c7444fd1ffd99b26a57489b176ea9cbc
|
||||
DIST OOSuite-0.39.zip 526483 SHA256 eccf83ef0dcd6b5bc784fa858b09688239cd7a87ceec2e476284853667274482 SHA512 d47bbab643daa265a1098123c77c1357132bf084d30679112ea2cc6d9b3cc5013d7dad6056d4eb38206adad9143e9707564d3590a78ba9462a11fe7cd72c88fe WHIRLPOOL 2e5ea3cb91c19145eafb5867f59f62d5f64c7f080c659d1996b1c40e388321ff9780aa9f8f9a957dbdffb15f5605e0a5bfc62b630f5590a2ebbd3a105236ae39
|
||||
|
@ -1,72 +0,0 @@
|
||||
diff -Nur PythonPackages.orig/FuncDesigner/FuncDesigner/__init__.py PythonPackages/FuncDesigner/FuncDesigner/__init__.py
|
||||
--- PythonPackages.orig/FuncDesigner/FuncDesigner/__init__.py 2011-12-15 15:43:56.000000000 +0000
|
||||
+++ PythonPackages/FuncDesigner/FuncDesigner/__init__.py 2012-01-07 16:26:48.000000000 +0000
|
||||
@@ -15,31 +15,3 @@
|
||||
from interpolate import scipy_UnivariateSpline as interpolator
|
||||
from integrate import integrator
|
||||
__version__ = '0.37'
|
||||
-
|
||||
-isE = False
|
||||
-try:
|
||||
- import enthought
|
||||
- isE = True
|
||||
-except ImportError:
|
||||
- pass
|
||||
-try:
|
||||
- import envisage
|
||||
- import mayavi
|
||||
- isE = True
|
||||
-except ImportError:
|
||||
- pass
|
||||
-try:
|
||||
- import xy
|
||||
- isE = False
|
||||
-except ImportError:
|
||||
- pass
|
||||
-
|
||||
-if isE:
|
||||
- s = """
|
||||
- Seems like you are using OpenOpt from
|
||||
- commercial Enthought Python Distribution;
|
||||
- consider using free GPL-licensed alternatives
|
||||
- PythonXY (http://www.pythonxy.com) or
|
||||
- Sage (http://sagemath.org) instead.
|
||||
- """
|
||||
- print(s)
|
||||
diff -Nur PythonPackages.orig/OpenOpt/openopt/__init__.py PythonPackages/OpenOpt/openopt/__init__.py
|
||||
--- PythonPackages.orig/OpenOpt/openopt/__init__.py 2011-10-23 19:17:28.000000000 +0100
|
||||
+++ PythonPackages/OpenOpt/openopt/__init__.py 2012-01-07 16:26:19.000000000 +0000
|
||||
@@ -19,33 +19,6 @@
|
||||
from mfa import MFA
|
||||
|
||||
|
||||
-isE = False
|
||||
-try:
|
||||
- import enthought
|
||||
- isE = True
|
||||
-except ImportError:
|
||||
- pass
|
||||
-try:
|
||||
- import envisage
|
||||
- import mayavi
|
||||
- isE = True
|
||||
-except ImportError:
|
||||
- pass
|
||||
-try:
|
||||
- import xy
|
||||
- isE = False
|
||||
-except ImportError:
|
||||
- pass
|
||||
-
|
||||
-if isE:
|
||||
- s = """
|
||||
- Seems like you are using OpenOpt from
|
||||
- commercial Enthought Python Distribution;
|
||||
- consider using free GPL-licensed alternatives
|
||||
- PythonXY (http://www.pythonxy.com) or
|
||||
- Sage (http://sagemath.org) instead.
|
||||
- """
|
||||
- print(s)
|
||||
|
||||
|
||||
#__all__ = filter(lambda s:not s.startswith('_'),dir())
|
@ -1,4 +1,3 @@
|
||||
DIST QScintilla-gpl-2.4.5.tar.gz 2372380 SHA256 cd73960e3c93e84b013cd5ec350f4a2810e3b95d9506083acf3608f7ccf43c09 SHA512 c69bb5451a30ef0fb7deefbd805fbc2e199ca524023d840846772d4a18898cc903a742adf0fa5fe17d57e8659fef441f3b61f1c7645e67da999cc247be98ea36 WHIRLPOOL 1f5e9e13c3f6334baa7c3747eb74c2a5f564449bf61e25a88d613c6057c591d9ae7dd8f139dd1457e349fad20db6288f7cddf51bc3dbf8803f46096460454464
|
||||
DIST QScintilla-gpl-2.5.1.tar.gz 2638790 SHA256 982a3ea9cd42cd2bad65cd88c2cbf47c55397983ab11a7101215bca466ff9ac4 SHA512 97ed3c387e6a4495a586e921db40502a9b2949672097efb51531c06046e2e0ee88a5adc198b90752acb356ec7bdff75a75a6cddfdbc1dc304a3b880ee3c4e14f WHIRLPOOL 00368e369385e998c337d3b3c6f1f7b8c6a9469aa21eda4259140a8079f2d7d05af6b013fc9248cc60d177512dbac28ac1b9d2fdc06889309adad2a3b7c653be
|
||||
DIST QScintilla-gpl-2.6.1.tar.gz 2657005 SHA256 34b7052b820dfedd4af897d6865d94e81a7aeb7f037f70f5516e9b0ea88afb63 SHA512 fb13ca5dab822db4676c9e992c8a1a9091c6f151f6e96a7d991e60145d0b7ea8dd63b6e50c1238d8699b91c856d20adf94486152a22371b1b2a6353a0aa19bbd WHIRLPOOL 442ce92d74de40a6ee247d31077df0e215d700bc3a784de8c5461ddfe79e3f031ad732bf6da508d3fe161a98063a06dd2fe36a787bbdc0f50eb83aa553853eb5
|
||||
DIST QScintilla-gpl-2.6.2.tar.gz 2662469 SHA256 fac245ecfa11676b0003ef605489f87332c2efe039a4111821aec61bb936c264 SHA512 5d92c70182817f34141c4166a41807a3ef506c38cc2cd3c83d140eeca329e4aa6f1fa379bb9422da95d65a3385eefc27b0948b342af89c93eeca49f233a63a81 WHIRLPOOL 9c2676e61c2706cc0d57fe7ba0fc00cd45f5a12646c8ffe9fbcd197b204cbbadbdc42a93781d07dbd7b198bbbb45584d74b6752173d150096ce900ef0de222cd
|
||||
|
@ -1,22 +0,0 @@
|
||||
--- Python/configure.py.orig 2009-05-13 23:54:57.000000000 +0200
|
||||
+++ Python/configure.py 2009-05-13 23:56:26.000000000 +0200
|
||||
@@ -276,7 +276,8 @@
|
||||
installs=installs,
|
||||
static=opts.static,
|
||||
debug=opts.debug,
|
||||
- universal=pyqt.universal
|
||||
+ universal=pyqt.universal,
|
||||
+ strip=0
|
||||
)
|
||||
else:
|
||||
makefile = Makefile(
|
||||
@@ -285,7 +286,8 @@
|
||||
install_dir=opts.qscimoddir,
|
||||
installs=installs,
|
||||
static=opts.static,
|
||||
- debug=opts.debug
|
||||
+ debug=opts.debug,
|
||||
+ strip=0
|
||||
)
|
||||
|
||||
if qsci_define:
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/qscintilla-python/qscintilla-python-2.4.5.ebuild,v 1.12 2012/06/14 07:17:42 yngwin Exp $
|
||||
|
||||
EAPI="2"
|
||||
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
|
||||
|
||||
inherit eutils python toolchain-funcs
|
||||
|
||||
MY_P="QScintilla-gpl-${PV/_pre/-snapshot-}"
|
||||
|
||||
DESCRIPTION="Python bindings for Qscintilla"
|
||||
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/qscintilla/intro"
|
||||
SRC_URI="http://www.riverbankcomputing.co.uk/static/Downloads/QScintilla2/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~ia64 ppc ppc64 sparc x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND=">=dev-python/sip-4.10
|
||||
>=dev-python/PyQt4-4.7[X]
|
||||
~x11-libs/qscintilla-${PV}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/Python"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.4-nostrip.patch
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local myconf="$(PYTHON) configure.py -p 4
|
||||
--destdir=$(python_get_sitedir)/PyQt4
|
||||
$(use debug && echo '--debug')"
|
||||
echo ${myconf}
|
||||
${myconf}
|
||||
}
|
||||
python_execute_function -s configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
building() {
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINK="$(tc-getCXX)"
|
||||
}
|
||||
python_execute_function -s building
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST sip-4.11.2.tar.gz 665000 SHA256 ced00216488aa4dd0728d706a551c36c694a26c95e85103ccc21913a8090373c SHA512 2a5c5164b259e731f4ed44b42c3c9d1aa36baa78842d35491dabda29f286ebf86b842a4f7256cc71560bab6fc2e934ac1a8a21caa93bb4ff898a9f8190f96653 WHIRLPOOL 1ca8d5625e7a1d4f1f22ad8c883c5db978a904cf494cba8b0633696510d720a70579685a6c3af5b3e3a2384ca9f58273bf73653727cd4d4ad3e4b9040c0f5f57
|
||||
DIST sip-4.12.3.tar.gz 725415 SHA256 b452c822a4c05c5c69257143847503cfdca5a943ba5c23fc0714a2e240c0b77e SHA512 2bb03d3d1a136dc7e8df95f7dc25dbbf997b658118d20ffd5878c7e712f429fc97066822087adab06e621f2e3a0e8eadb94aaa9afaa8d0d35c6dd8d603475e00 WHIRLPOOL 82570e687ff2da36eaec31b06f9fe537e879fec77190290ac6f8107b977870648413055a72071270ca0e6e5f8e6a68c373fb37759049f0f1db1445cd57b824aa
|
||||
DIST sip-4.13.2.tar.gz 733120 SHA256 4bc3f5353c75918e1c8499ec1474e7b3392c30513ea6d7a6334f88b88271eebf SHA512 bf5a64822f50f2f93ea80eac2208d36ec81b10dc321deef1c075766f6fbde5cd68ce6420bf019fcbff1610014853fbfa102f7dc022402cb430ce47344c636458 WHIRLPOOL 41ab77a493950840568bfab4781ca09e71eb1a64f1ec8fecf9d1d13e66db58df812631c8992b44c33193d1b40c102b19ac78d0b7b6deeb0ffdf64dd2fed9ac0e
|
||||
DIST sip-4.13.3.tar.gz 734458 SHA256 ec295f71ef339c5b98db5650865f2c6c1200c4085b7a3f33f284111e1f534ac1 SHA512 2e27bfbb79285e420c8989f620dca52b7bf5f0c70377c4e50def20f3440bae60c5a4cd12d03ec40f1270ddcce4f2137b3b1accd6f6646292855c8b344afd9059 WHIRLPOOL 3304b0865f3cc7f015b719a083d6632efeafa7b9233a5138397c222ef01f1a2ed74f2e793b193b8576571f0af1b549111a964ee21106d3b1818eba696943ae1a
|
||||
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.11.2.ebuild,v 1.10 2012/02/20 10:13:40 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="*"
|
||||
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
|
||||
|
||||
inherit eutils python toolchain-funcs
|
||||
|
||||
MY_P="${P/_pre/-snapshot-}"
|
||||
|
||||
DESCRIPTION="Python extension module generator for C and C++ libraries"
|
||||
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro http://pypi.python.org/pypi/SIP"
|
||||
SRC_URI="http://www.riverbankcomputing.com/static/Downloads/${PN}${PV%%.*}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 sip )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="debug doc"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-4.9.3-darwin.patch"
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local myconf=("$(PYTHON)"
|
||||
configure.py
|
||||
--bindir="${EPREFIX}/usr/bin"
|
||||
--incdir="${EPREFIX}$(python_get_includedir)"
|
||||
--destdir="${EPREFIX}$(python_get_sitedir)"
|
||||
--sipdir="${EPREFIX}/usr/share/sip"
|
||||
$(use debug && echo --debug)
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
LINK="$(tc-getCXX)"
|
||||
LINK_SHLIB="$(tc-getCXX)"
|
||||
CFLAGS="${CFLAGS}"
|
||||
CXXFLAGS="${CXXFLAGS}"
|
||||
LFLAGS="${LDFLAGS}"
|
||||
STRIP=":")
|
||||
echo "${myconf[@]}"
|
||||
"${myconf[@]}"
|
||||
}
|
||||
python_execute_function -s configuration
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_src_install
|
||||
|
||||
dodoc NEWS || die "dodoc failed"
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/html/* || die "dohtml failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize sipconfig.py sipdistutils.py
|
||||
|
||||
ewarn "When updating dev-python/sip, you usually need to rebuild packages, which depend on dev-python/sip,"
|
||||
ewarn "such as dev-python/PyQt4 and dev-python/qscintilla-python. If you have app-portage/gentoolkit"
|
||||
ewarn "installed, you can find these packages with \`equery d dev-python/sip dev-python/PyQt4\`."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup sipconfig.py sipdistutils.py
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=416545
|
||||
build with poppler-0.20 by Rafał Mużyło
|
||||
|
||||
--- source/texk/web2c/luatexdir/lua/lepdflib.cc 2012-05-18 16:23:53.000000000 +0200
|
||||
+++ source/texk/web2c/luatexdir/lua/lepdflib.cc 2012-05-18 17:43:12.959843483 +0200
|
||||
@@ -151,7 +151,7 @@ static int l_new_Annot(lua_State * L)
|
||||
pdfdoc_changed_error(L);
|
||||
uout = new_Annot_userdata(L);
|
||||
uout->d =
|
||||
- new Annot((XRef *) uxref->d, (Dict *) udict->d, (Catalog *) ucatalog->d,
|
||||
+ new Annot(udict->pd->doc, (Dict *) udict->d,
|
||||
(Object *) uref->d);
|
||||
uout->atype = ALLOC_LEPDF;
|
||||
uout->pc = uxref->pc;
|
||||
@@ -173,7 +173,7 @@ static int l_new_Annots(lua_State * L)
|
||||
pdfdoc_changed_error(L);
|
||||
uout = new_Annots_userdata(L);
|
||||
uout->d =
|
||||
- new Annots((XRef *) uxref->d, (Catalog *) ucatalog->d,
|
||||
+ new Annots(uannotsobj->pd->doc,
|
||||
(Object *) uannotsobj->d);
|
||||
uout->atype = ALLOC_LEPDF;
|
||||
uout->pc = uxref->pc;
|
||||
@@ -363,7 +363,7 @@ static int m_##type##__tostring(lua_Stat
|
||||
// Annot
|
||||
|
||||
m_poppler_get_BOOL(Annot, isOk);
|
||||
-m_poppler_get_OBJECT(Annot, getAppearance);
|
||||
+m_poppler_get_OBJECT(Annot, getAppearanceResDict);
|
||||
m_poppler_get_poppler(Annot, AnnotBorder, getBorder);
|
||||
|
||||
static int m_Annot_match(lua_State * L)
|
||||
@@ -398,7 +398,7 @@ static int m_Annot__gc(lua_State * L)
|
||||
|
||||
static const struct luaL_Reg Annot_m[] = {
|
||||
{"isOk", m_Annot_isOk},
|
||||
- {"getAppearance", m_Annot_getAppearance},
|
||||
+ {"getAppearanceResDict", m_Annot_getAppearanceResDict},
|
||||
{"getBorder", m_Annot_getBorder},
|
||||
{"match", m_Annot_match},
|
||||
{"__tostring", m_Annot__tostring},
|
||||
@@ -1249,7 +1249,7 @@ static int m_Object_getType(lua_State *
|
||||
|
||||
static int m_Object_getTypeName(lua_State * L)
|
||||
{
|
||||
- char *s;
|
||||
+ const char *s;
|
||||
udstruct *uin;
|
||||
uin = (udstruct *) luaL_checkudata(L, 1, M_Object);
|
||||
if (uin->pd != NULL && uin->pd->pc != uin->pc)
|
||||
@@ -1936,7 +1936,7 @@ static int m_Page_getLinks(lua_State * L
|
||||
if ((uin->pd != NULL && uin->pd->pc != uin->pc)
|
||||
|| (ucat->pd != NULL && ucat->pd->pc != ucat->pd->pc))
|
||||
pdfdoc_changed_error(L);
|
||||
- links = ((Page *) uin->d)->getLinks((Catalog *) ucat->d);
|
||||
+ links = ((Page *) uin->d)->getLinks();
|
||||
if (links != NULL) {
|
||||
uout = new_Links_userdata(L);
|
||||
uout->d = links;
|
||||
@@ -2531,7 +2531,6 @@ m_poppler_get_INT(XRef, getNumObjects);
|
||||
m_poppler_get_INT(XRef, getRootNum);
|
||||
m_poppler_get_INT(XRef, getRootGen);
|
||||
// getStreamEnd
|
||||
-m_poppler_get_INT(XRef, getSize);
|
||||
// getEntry
|
||||
m_poppler_get_poppler(XRef, Object, getTrailerDict);
|
||||
|
||||
@@ -2558,7 +2557,6 @@ static const struct luaL_Reg XRef_m[] =
|
||||
{"getRootNum", m_XRef_getRootNum},
|
||||
{"getRootGen", m_XRef_getRootGen},
|
||||
//
|
||||
- {"getSize", m_XRef_getSize},
|
||||
{"getTrailerDict", m_XRef_getTrailerDict},
|
||||
{"__tostring", m_XRef__tostring},
|
||||
{NULL, NULL} // sentinel
|
@ -1,3 +1,3 @@
|
||||
DIST kdelibs-4.7.4.tar.bz2 12084560 RMD160 5666cacb69ebdbd2d0e9ce9300f35ecf6d6ba48c SHA1 78b25e93a8c70ccc1e0f117cce960fe4e1deb8d8 SHA256 fe1d41ecce95d9ef67a9b81cee55afe5ac98aa937e2c2356bd69f9bb31a2af39
|
||||
DIST kdelibs-4.8.3.tar.xz 12208780 RMD160 3a17967b49ae2077baa45609e0f5bc39aab64564 SHA1 50633efa4ea2a133e51bf55286ff754c46f2eae2 SHA256 ce3756788dd1b2cf0b8160d1dba870a92b421c81236dff923171d429c4728b58
|
||||
DIST kdelibs-4.8.4.tar.xz 12182912 RMD160 dba94c16eb0df9d6a4fccefc8097f39f4b63e9ec SHA1 35cd199a30d84eb37b2b213fed5ee3adf810ea49 SHA256 25ac8781b66ee16d551363a9a41f33e672dcbd7905c091f2c2730c569b9a20f3
|
||||
DIST kdelibs-4.7.4.tar.bz2 12084560 SHA256 fe1d41ecce95d9ef67a9b81cee55afe5ac98aa937e2c2356bd69f9bb31a2af39
|
||||
DIST kdelibs-4.8.3.tar.xz 12208780 SHA256 ce3756788dd1b2cf0b8160d1dba870a92b421c81236dff923171d429c4728b58
|
||||
DIST kdelibs-4.8.4.tar.xz 12182912 SHA256 25ac8781b66ee16d551363a9a41f33e672dcbd7905c091f2c2730c569b9a20f3
|
||||
|
@ -1,315 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-4.8.4.ebuild,v 1.2 2012/06/30 12:16:48 aballier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
CPPUNIT_REQUIRED="optional"
|
||||
DECLARATIVE_REQUIRED="always"
|
||||
OPENGL_REQUIRED="optional"
|
||||
inherit kde4-base fdo-mime multilib toolchain-funcs flag-o-matic
|
||||
|
||||
# The "master" branch is out of date, so use KDE/4.8 per upstream's
|
||||
# recommendation.
|
||||
EGIT_BRANCH="KDE/4.8"
|
||||
|
||||
DESCRIPTION="KDE libraries needed by all KDE programs."
|
||||
HOMEPAGE="http://www.kde.org/"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE="3dnow acl alsa altivec +bzip2 debug doc fam +handbook jpeg2k kerberos lzma
|
||||
mmx nls openexr +policykit semantic-desktop spell sse sse2 ssl +udev +udisks
|
||||
+upower upnp zeroconf"
|
||||
|
||||
REQUIRED_USE="
|
||||
udisks? ( udev )
|
||||
upower? ( udev )
|
||||
"
|
||||
|
||||
# needs the kate regression testsuite from svn
|
||||
RESTRICT="test"
|
||||
|
||||
COMMONDEPEND="
|
||||
app-crypt/qca:2
|
||||
>=app-misc/strigi-0.7.7
|
||||
app-text/docbook-xml-dtd:4.2
|
||||
app-text/docbook-xsl-stylesheets
|
||||
>=dev-libs/libattica-0.1.90
|
||||
>=dev-libs/libdbusmenu-qt-0.3.2
|
||||
dev-libs/libpcre[unicode]
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
media-libs/giflib
|
||||
>=media-libs/libpng-1.4
|
||||
>=media-libs/phonon-4.4.3
|
||||
sys-libs/zlib
|
||||
virtual/jpeg
|
||||
>=x11-misc/shared-mime-info-0.60
|
||||
acl? ( virtual/acl )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
!aqua? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXft
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
!kernel_SunOS? ( || ( sys-libs/libutempter >=sys-freebsd/freebsd-lib-9.0 ) )
|
||||
)
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
fam? ( virtual/fam )
|
||||
jpeg2k? ( media-libs/jasper )
|
||||
kerberos? ( virtual/krb5 )
|
||||
openexr? (
|
||||
media-libs/openexr
|
||||
media-libs/ilmbase
|
||||
)
|
||||
policykit? ( >=sys-auth/polkit-qt-0.103.0 )
|
||||
semantic-desktop? (
|
||||
>=dev-libs/shared-desktop-ontologies-0.8.1
|
||||
>=dev-libs/soprano-2.7.6[dbus,raptor,redland]
|
||||
)
|
||||
spell? ( app-text/enchant )
|
||||
ssl? ( dev-libs/openssl )
|
||||
udev? ( sys-fs/udev )
|
||||
upnp? ( media-libs/herqq )
|
||||
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
|
||||
"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
nls? ( virtual/libintl )
|
||||
"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
!x11-libs/qt-phonon
|
||||
>=app-crypt/gnupg-2.0.11
|
||||
app-misc/ca-certificates
|
||||
$(add_kdebase_dep kde-env)
|
||||
!aqua? (
|
||||
x11-apps/iceauth
|
||||
x11-apps/rgb
|
||||
>=x11-misc/xdg-utils-1.0.2-r3
|
||||
udisks? ( sys-fs/udisks:0 )
|
||||
upower? ( sys-power/upower )
|
||||
)
|
||||
"
|
||||
PDEPEND="
|
||||
$(add_kdebase_dep katepart)
|
||||
|| ( ( $(add_kdebase_dep kfmclient) ) x11-misc/xdg-utils )
|
||||
handbook? ( $(add_kdebase_dep khelpcenter) )
|
||||
policykit? (
|
||||
>=kde-misc/polkit-kde-kcmodules-0.98_pre20101127
|
||||
>=sys-auth/polkit-kde-agent-0.99
|
||||
)
|
||||
semantic-desktop? ( $(add_kdebase_dep nepomuk) )
|
||||
"
|
||||
|
||||
# Force the upgrade of plasma-workspace to a version that explicitly depends on kactivities
|
||||
add_blocker plasma-workspace 4.7.1
|
||||
|
||||
# file collision, bug 394991
|
||||
add_blocker kcontrol 4.4.50
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/dist/01_gentoo_set_xdg_menu_prefix-1.patch"
|
||||
"${FILESDIR}/dist/02_gentoo_append_xdg_config_dirs-1.patch"
|
||||
"${FILESDIR}/${PN}-4.7.96-mimetypes.patch"
|
||||
"${FILESDIR}/${PN}-4.4.90-xslt.patch"
|
||||
"${FILESDIR}/${PN}-4.6.3-no_suid_kdeinit.patch"
|
||||
"${FILESDIR}/${PN}-4.8.1-norpath.patch"
|
||||
"${FILESDIR}/${PN}-4.8.2-calculator_key.patch"
|
||||
"${FILESDIR}/${PN}-4.8.4-bytecode.patch"
|
||||
"${FILESDIR}/${PN}-4.8.4-sopranorevert1.patch"
|
||||
"${FILESDIR}/${PN}-4.8.4-sopranorevert2.patch"
|
||||
"${FILESDIR}/${PN}-4.8.4-power.patch"
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
[[ $(gcc-major-version) -lt 4 ]] || \
|
||||
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 3 ]] ) \
|
||||
&& die "Sorry, but gcc-4.3 and earlier won't work for KDE SC 4.6 (see bug #354837)."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
kde4-base_src_prepare
|
||||
use arm && epatch "${FILESDIR}/${PN}-4.6.2-armlinking.patch"
|
||||
|
||||
# Rename applications.menu (needs 01_gentoo_set_xdg_menu_prefix-1.patch to work)
|
||||
sed -e 's|FILES[[:space:]]applications.menu|FILES applications.menu RENAME kde-4-applications.menu|g' \
|
||||
-i kded/CMakeLists.txt || die "Sed on CMakeLists.txt for applications.menu failed."
|
||||
|
||||
if use aqua; then
|
||||
sed -i -e \
|
||||
"s:BUNDLE_INSTALL_DIR \"/Applications:BUNDLE_INSTALL_DIR \"${EPREFIX}/${APP_BUNDLE_DIR}:g" \
|
||||
cmake/modules/FindKDE4Internal.cmake || die "failed to sed FindKDE4Internal.cmake"
|
||||
|
||||
#if [[ ${CHOST} == *-darwin8 ]]; then
|
||||
sed -i -e \
|
||||
"s:set(_add_executable_param MACOSX_BUNDLE):remove(_add_executable_param MACOSX_BUNDLE):g" \
|
||||
cmake/modules/KDE4Macros.cmake || die "failed to sed KDE4Macros.cmake"
|
||||
#fi
|
||||
|
||||
# solid/solid/backends/iokit doesn't properly link, so disable it.
|
||||
sed -e "s|\(APPLE\)|(FALSE)|g" -i solid/solid/CMakeLists.txt \
|
||||
|| die "disabling solid/solid/backends/iokit failed"
|
||||
sed -e "s|m_backend = .*Backends::IOKit.*;|m_backend = 0;|g" -i solid/solid/managerbase.cpp \
|
||||
|| die "disabling solid/solid/backends/iokit failed"
|
||||
|
||||
# There's no fdatasync on OSX and the check fails to detect that.
|
||||
sed -e "/HAVE_FDATASYNC/ d" -i config.h.cmake \
|
||||
|| die "disabling fdatasync failed"
|
||||
|
||||
# Fix nameser include to nameser8_compat
|
||||
sed -e "s|nameser8_compat.h|nameser_compat.h|g" -i kio/misc/kpac/discovery.cpp \
|
||||
|| die "fixing nameser include failed"
|
||||
append-flags -DHAVE_ARPA_NAMESER8_COMPAT_H=1
|
||||
|
||||
# Try to fix kkeyserver_mac
|
||||
epatch "${FILESDIR}"/${PN}-4.3.80-kdeui_util_kkeyserver_mac.patch
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
epatch "${FILESDIR}/kdelibs-4.3.2-solaris-ksyscoca.patch"
|
||||
# getgrouplist not in solaris libc
|
||||
epatch "${FILESDIR}/kdelibs-4.3.2-solaris-getgrouplist.patch"
|
||||
# solaris has no d_type element in dir_ent
|
||||
epatch "${FILESDIR}/kdelibs-4.3.2-solaris-fileunix.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use zeroconf; then
|
||||
if has_version net-dns/avahi; then
|
||||
mycmakeargs=(-DWITH_Avahi=ON -DWITH_DNSSD=OFF)
|
||||
else
|
||||
die "USE=\"zeroconf\" enabled but net-dns/avahi wasn't found."
|
||||
fi
|
||||
else
|
||||
mycmakeargs=(-DWITH_Avahi=OFF -DWITH_DNSSD=OFF)
|
||||
fi
|
||||
mycmakeargs+=(
|
||||
-DWITH_HSPELL=OFF
|
||||
-DWITH_ASPELL=OFF
|
||||
-DKDE_DEFAULT_HOME=.kde4
|
||||
-DKAUTH_BACKEND=POLKITQT-1
|
||||
-DBUILD_libkactivities=OFF
|
||||
$(cmake-utils_use_build handbook doc)
|
||||
$(cmake-utils_use_has 3dnow X86_3DNOW)
|
||||
$(cmake-utils_use_has altivec PPC_ALTIVEC)
|
||||
$(cmake-utils_use_has mmx X86_MMX)
|
||||
$(cmake-utils_use_has sse X86_SSE)
|
||||
$(cmake-utils_use_has sse2 X86_SSE2)
|
||||
$(cmake-utils_use_with acl)
|
||||
$(cmake-utils_use_with alsa)
|
||||
$(cmake-utils_use_with bzip2 BZip2)
|
||||
$(cmake-utils_use_with fam)
|
||||
$(cmake-utils_use_with jpeg2k Jasper)
|
||||
$(cmake-utils_use_with kerberos GSSAPI)
|
||||
$(cmake-utils_use_with lzma LibLZMA)
|
||||
$(cmake-utils_use_with nls Libintl)
|
||||
$(cmake-utils_use_with openexr OpenEXR)
|
||||
$(cmake-utils_use_with opengl OpenGL)
|
||||
$(cmake-utils_use_with policykit PolkitQt-1)
|
||||
$(cmake-utils_use_with semantic-desktop Soprano)
|
||||
$(cmake-utils_use_with semantic-desktop SharedDesktopOntologies)
|
||||
$(cmake-utils_use_with spell ENCHANT)
|
||||
$(cmake-utils_use_with ssl OpenSSL)
|
||||
$(cmake-utils_use_with udev UDev)
|
||||
$(cmake-utils_use_with upnp HUpnp)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
kde4-base_src_compile
|
||||
|
||||
# The building of apidox is not managed anymore by the build system
|
||||
if use doc; then
|
||||
einfo "Building API documentation"
|
||||
cd "${S}"/doc/api/
|
||||
./doxygen.sh "${S}" || die "APIDOX generation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
kde4-base_src_install
|
||||
|
||||
# use system certificates
|
||||
rm -f "${ED}"/usr/share/apps/kssl/ca-bundle.crt || die
|
||||
dosym /etc/ssl/certs/ca-certificates.crt /usr/share/apps/kssl/ca-bundle.crt
|
||||
|
||||
if use doc; then
|
||||
einfo "Installing API documentation. This could take a bit of time."
|
||||
cd "${S}"/doc/api/
|
||||
docinto /HTML/en/kdelibs-apidox
|
||||
dohtml -r ${P}-apidocs/*
|
||||
fi
|
||||
|
||||
if use aqua; then
|
||||
einfo "fixing ${PN} plugins"
|
||||
|
||||
local _PV=${PV:0:3}.0
|
||||
local _dir=${EPREFIX}/usr/$(get_libdir)/kde4/plugins/script
|
||||
|
||||
install_name_tool -id \
|
||||
"${_dir}/libkrossqtsplugin.${_PV}.dylib" \
|
||||
"${D}/${_dir}/libkrossqtsplugin.${_PV}.dylib" \
|
||||
|| die "failed fixing libkrossqtsplugin.${_PV}.dylib"
|
||||
|
||||
einfo "fixing ${PN} cmake detection files"
|
||||
#sed -i -e \
|
||||
# "s:if (HAVE_XKB):if (HAVE_XKB AND NOT APPLE):g" \
|
||||
echo -e "set(XKB_FOUND FALSE)\nset(HAVE_XKB FALSE)" > \
|
||||
"${ED}"/usr/share/apps/cmake/modules/FindXKB.cmake \
|
||||
|| die "failed fixing FindXKB.cmake"
|
||||
fi
|
||||
|
||||
einfo Installing environment file.
|
||||
# Since 44qt4 is sourced earlier QT_PLUGIN_PATH is defined.
|
||||
echo "COLON_SEPARATED=QT_PLUGIN_PATH" > "${T}/77kde"
|
||||
echo "QT_PLUGIN_PATH=${EPREFIX}/usr/$(get_libdir)/kde4/plugins" >> "${T}/77kde"
|
||||
doenvd "${T}/77kde"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
if use zeroconf; then
|
||||
echo
|
||||
elog "To make zeroconf support available in KDE make sure that the 'mdnsd' daemon"
|
||||
elog "is running."
|
||||
echo
|
||||
einfo "If you also want to use zeroconf for hostname resolution, emerge sys-auth/nss-mdns"
|
||||
einfo "and enable multicast dns lookups by editing the 'hosts:' line in /etc/nsswitch.conf"
|
||||
einfo "to include 'mdns', e.g.:"
|
||||
einfo " hosts: files mdns dns"
|
||||
echo
|
||||
fi
|
||||
|
||||
elog "Your homedir is set to \${HOME}/.kde4"
|
||||
echo
|
||||
|
||||
kde4-base_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# Remove ksycoca4 global database
|
||||
rm -f "${EROOT}${PREFIX}"/share/kde4/services/ksycoca4
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_mime_database_update
|
||||
|
||||
kde4-base_pkg_postrm
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue