Sync with portage [Fri Oct 26 09:37:04 MSK 2012].

mhiretskiy
root 12 years ago
parent cdc601d606
commit abf9eded5d

@ -1,10 +1,2 @@
DIST webmin-1.560-minimal.tar.gz 1856121 SHA256 9957928222547a62a05d6c03b6c571e91c53a5ee55552b0960af431d5e8a6df7 SHA512 21430c9898608dd318c1d1e4fa6e06c05c348b490224188005a946a30319cf7ae49a8657063ddc91a18a23e85dd5337d908ca6db4da719e37ebe5174764a313c WHIRLPOOL 9801a78554de597b2a01555945e87afe6c8e2a23a968ae7c9f7dbda7cd1b2c30222ccec4c3e328cc65483ed5a0552776271299ec58f97c55988a251dfcef66b3
DIST webmin-1.560.tar.gz 15152937 SHA256 4370abe32f04012328e2afa93e1c00fd1353963a34d8f644604f9e36d00b6e55 SHA512 3209c8c4f91cefa8fab000b105dfacf2696eb2ccecadd8227e56aef16932c8298752bb566a963e463c95358ce9c27e40d8342be30ff2cea0fc2840add83dfc7c WHIRLPOOL 0088a1415c3023c742a88a7af0e44f20f2d51ae1db3b9989b2f2424f43f3117f77664d62e284710065b0d1dc3f82185f722baa6542e40859fa508a47522ff4da
DIST webmin-1.570-minimal.tar.gz 1873041 SHA256 898c03f136ddc63f6486f287ec38bf2ce8773109e80d1e8a6566fa11381d855e SHA512 7d4313cbaae2bcc1708381963c1a3e3d9e22bffc2e4ca6cb13bd5599bd111fe5f70b7d272e936450ea64bef07c5e478e6e55913a76eb81527f55a82c583d93e7 WHIRLPOOL cb81dfa18fc6c626ea2090b0fdf5bef9eb6cd64074e1305c6defeeedc3e2e661d17b463ce7069cb0c6a63f79f2436815f4aa847f7be1c328c47de0e88c365887
DIST webmin-1.570.tar.gz 15200156 SHA256 3b8ad51dee0e61e330c8137b3d8cff91a00cf31d710b68e272fe02db25baaf54 SHA512 83cdcbbd2fdc85b26b62e654c0533fc9c41c002bb7e9fa381628245909941cc44ee6975db0ab7c1e71f28f30f134ab20e5f3fcb42a94b58fd7b8385eef32bc02 WHIRLPOOL 6c1802f2d66904de0e583b5e53b0936d52ebba66606bdf2650e5f91e74ef55eec2724bf6fea7e493d08880670235acbf138b95d27ffb1a966a0b38e8c7ef907a
DIST webmin-1.580-minimal.tar.gz 2039422 SHA256 efac413918559d097e82d7f376b741d13d0bb147864c3d8075de1e24d17c3195 SHA512 3dc3fc0b487396148594f9f3208514ad60d845c01e9c4e3274f00dec68ff1eaf869385015cf0fd8c382c2044ee9137600d96fe4bee8333c92ed18b8cce0b7823 WHIRLPOOL 20ce0b341c13645fc5638e719a619b42ab110ba269e3185d1da72ffa1c88c6b1f6bbdfa6497c87dec59524bf576b8fceb6950113eb17bc01ee8f760b6c27f137
DIST webmin-1.580.tar.gz 16081299 SHA256 4f767c7e66defb4d1f102692a70752c558c8bf289e4e9980d82b1af86bd764e4 SHA512 5412a27555af84a24ddc8651e6f3107846519f4e9ddccfd3eac4f42fee7e09b955254f272d50a26bf3c55760c8db9fbf100874ab22c08b222d4e8dfd9dbab8ba WHIRLPOOL 5994559c6eb07c6f812c90906565c081d70adc09e2a4d33009548e8831c30677ba46065c306e2aa2a27e0bcb281e57c4acc478114b401caedf87962403004e6e
DIST webmin-1.590-minimal.tar.gz 2412046 SHA256 b1f358d81a01e6041596250ad0a6bc078eac3e489c434127540dcca284fd539b SHA512 8b1c1d57356abdd41d602471a593e81639739ef6c11225fc6f127ee2d32caf786c1398965c85da40044c07c6ef91b39c0ac9d7246c1d80f0114d2e4295a4dce5 WHIRLPOOL 4099db5771318e5ecc87e3fff75c69c0b77622d4f7a2d6a25118855e552c64c4a5378abc9a0ebdaca0c7e7fc9a438d5d60cfdd1e87d0bfc2ca5670fc32312bf7
DIST webmin-1.590.tar.gz 18976739 SHA256 07b06612a8bc864388d86b55ec9a9adba0fa71ec60cc66d87c0e58280264182d SHA512 f803e8cf17fba7c2b97983b70778e603e855c349ffd50e1e5873dc3bc12a31538f282e531e65f3bf176da620b6d052fd8b6b1a988e59812a34b80e5e092d40dd WHIRLPOOL 72be2393dea4a9bc1abea5e55bf7a2fd0eb164aedb11db0c288f020204b3a6aedc4a3145125a0313f15de0503cd8cdd59194ff5bea8cd146fa1be8d15d35caa1
DIST webmin-1.600-minimal.tar.gz 2432340 SHA256 6ffbd63da362638784b2b45ca2f3b46e89b78a868b8d0eb1c73499bcdb90207f SHA512 8fb4cbed2dcc85a0542ee5035637fe05abf45a90e53600112d31353725aef026f513063ea44341639d4d820e0f9336c58b955d490558927b999013b476710268 WHIRLPOOL 5c231e4cc28a985235b8eb8c62ec69e94e03797d9bb818e506c9f112bb1f7c8ff59dc28d10c43019b06f5ad214f30d05ccc967261274bc62a385ddea348ffff3
DIST webmin-1.600.tar.gz 21397348 SHA256 a45ddad342e9a3b9263f45749ec1d440e0702645c6297310701e988f5f1c74a9 SHA512 bd73ba2ed6df9ed7c6e336ea07571ca17f552f1d41ffda2f78ea00f43e31e4652a9afc8877addc5cd2bdcfebae1d787294601f17cfc43db78c3682a6200fe0d6 WHIRLPOOL f27abf2ec43a9cc6f04ea4ab019628a83e3f305ebfa27a435787167289c92a4f4a0cf9464e7cdd18e37b59846fb10e8dd64dd46f318c3421369dd51e0b95c391

@ -1,264 +0,0 @@
# 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.560-r1.ebuild,v 1.3 2012/07/22 19:47:28 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 GPL-2"
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,264 +0,0 @@
# 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.570-r1.ebuild,v 1.3 2012/07/22 19:47:28 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 GPL-2"
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,264 +0,0 @@
# 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.580.ebuild,v 1.4 2012/07/22 19:47:28 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 GPL-2"
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,264 +0,0 @@
# 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.4 2012/07/22 19:47:28 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 GPL-2"
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,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/gnomebaker/gnomebaker-0.6.4-r1.ebuild,v 1.6 2012/05/03 07:51:48 jdhore Exp $
# $Header: /var/cvsroot/gentoo-x86/app-cdr/gnomebaker/gnomebaker-0.6.4-r1.ebuild,v 1.7 2012/10/25 18:28:40 eva Exp $
EAPI=4
GCONF_DEBUG=no
@ -19,28 +19,26 @@ COMMON_DEPEND="app-cdr/cdrdao
dev-libs/libxml2
>=gnome-base/libglade-2
>=gnome-base/libgnomeui-2
=media-libs/gstreamer-0.10*
>=media-libs/gstreamer-0.10:0.10
virtual/cdrtools
x11-libs/cairo
x11-libs/gtk+:2
dvdr? ( app-cdr/dvd+rw-tools )
libnotify? ( x11-libs/libnotify )"
RDEPEND="${COMMON_DEPEND}
=media-libs/gst-plugins-good-0.10*
flac? ( =media-plugins/gst-plugins-flac-0.10* )
mp3? ( =media-plugins/gst-plugins-mad-0.10* )
vorbis? ( =media-plugins/gst-plugins-vorbis-0.10* )"
>=media-libs/gst-plugins-good-0.10:0.10
flac? ( >=media-plugins/gst-plugins-flac-0.10:0.10 )
mp3? ( >=media-plugins/gst-plugins-mad-0.10:0.10 )
vorbis? ( >=media-plugins/gst-plugins-vorbis-0.10:0.10 )"
DEPEND="${COMMON_DEPEND}
app-text/rarian
dev-util/intltool
virtual/pkgconfig
sys-devel/gettext"
pkg_setup() {
src_prepare() {
G2CONF="$(use_enable libnotify)"
}
src_prepare() {
epatch \
"${FILESDIR}"/${P}-libnotify-0.7.patch \
"${FILESDIR}"/${P}-ldadd.patch \

@ -1,58 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/gnomebaker/gnomebaker-0.6.4.ebuild,v 1.9 2012/05/03 07:51:48 jdhore Exp $
EAPI=3
GCONF_DEBUG=no
inherit eutils gnome2
DESCRIPTION="GnomeBaker is a GTK2/Gnome cd burning application."
HOMEPAGE="http://sourceforge.net/projects/gnomebaker"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ia64 ppc ppc64 sparc x86"
IUSE="dvdr flac libnotify mp3 vorbis"
RDEPEND=">=x11-libs/gtk+-2.8:2
>=gnome-base/libgnomeui-2.8.1
>=dev-libs/libxml2-2.4:2
>=gnome-base/libglade-2.4.2:2.0
>=media-libs/gstreamer-0.10:0.10
x11-libs/cairo
app-cdr/cdrdao
virtual/cdrtools
dvdr? ( app-cdr/dvd+rw-tools )
flac? ( >=media-plugins/gst-plugins-flac-0.10:0.10
media-libs/gst-plugins-good:0.10 )
libnotify? ( x11-libs/libnotify )
mp3? ( >=media-plugins/gst-plugins-mad-0.10:0.10
media-libs/gst-plugins-good:0.10 )
vorbis? ( >=media-plugins/gst-plugins-vorbis-0.10:0.10
>=media-libs/libogg-1.1.2
media-libs/gst-plugins-good:0.10 )"
DEPEND="${RDEPEND}
app-text/rarian
dev-util/intltool
virtual/pkgconfig
sys-devel/gettext"
pkg_setup() {
G2CONF="${G2CONF}
--disable-dependency-tracking
$(use_enable libnotify)"
}
src_prepare() {
epatch "${FILESDIR}"/${P}-libnotify-0.7.patch
gnome2_src_prepare
}
src_install() {
gnome2_src_install \
gnomebakerdocdir=/usr/share/doc/${P} \
docdir=/usr/share/gnome/help/${PN}/C \
gnomemenudir=/usr/share/applications
rm -rf "${D}"/usr/share/doc/${P}/*.make "${D}"/var
}

@ -1,3 +1,2 @@
DIST openscap-0.8.0.tar.gz 4473555 SHA256 9755ad0ff58354fc50436ee88d605cc7d5e7f06816ff8c972db1272c44d2bc33 SHA512 f0fd5f042ad8fc595ec7835efd9ec2f66c44615d53faa986eb5320d4bc7701323b4fec3840c15a52603c105aeac091912ab42ee6f2270c033e90584b7abd6afd WHIRLPOOL 45d8f741068e1f0a435559dea9f0e341639d5ed2a1a199dce6aadaa5c964f1e327baa6a83fda0843329e38f23e583a9d003686bd6dcd1d94fa47423ebfb8de56
DIST openscap-0.8.2.tar.gz 4524453 SHA256 fe7d6b3f20c08feef5c70ff3a02b752b593a8d8a3b3d1302d8e31fe0c29cce11 SHA512 a7bf55014095f0e5d2168905518c592ba3eb91783db89ab74eec7a9c29a17bcb8071c41cb9256d9c449b8a10aebaa57173ef3f9ed37ebe24ecf84edb85da5790 WHIRLPOOL 1fb157676c71c4db7af030746605c6181b16a17cbbbdd2e9d0ada99fc9bffc5570c9f488570c47780928906484d68723446056e68e032181dee18a655eb4e510
DIST openscap-0.8.3.tar.gz 6420923 SHA256 e00b9ee6741b7ae01f46172c2ed560b38107a1fffdda5bc7c32be4f4a15ef5e4 SHA512 b1fe3577e18d9ee8da0ce39f15c7f1e0ade507da1893aaa71093af1214be119b72c5a16f0f3e81b0ed91fde1ffbfdd53c9252d096ca45a356cb63f9fa8d31427 WHIRLPOOL 59a48c872ca047396f911a96efb2b559ac35055d46c61a78b3170c390c4959f9276cc9545fd4b94e0c29bbab545e702f0cbd93600d36d0765749a66bceaba86e
DIST openscap-0.9.1.tar.gz 10744598 SHA256 4601ffd6c1b5d0e9025e49db194f2e7f7d7fef1826981bb212ef543c28e94fe6 SHA512 0ead581b8801b3cd1a0af20d746a766d8c56f58013be49c390df152001bb721a81445d5e683fac50c19071340ab78ff068161bff7d76d67e15e62dfdc50d88aa WHIRLPOOL 966c6604591dfb3d10eaad793c2348b5a4ae0a813fdcdfdf8ebf22f9cb471181bfcd3e0455acda16fe6d358c704067e92584a054fe88b1a8fd2743614af8428a

@ -4,7 +4,7 @@
#!/usr/bin/env bash
-TMP_P=(`LD_PRELOAD= ps -A -o pid -o ppid -o comm | awk '$1 != 2 && $2 != 2 {print $3}' | \
+TMP_P=(`LD_PRELOAD= ps -A -o pid -o ppid -o comm | grep -iE '^[a-z0-9A-Z \-]*$' | awk '$1 != 2 && $2 != 2 {print $3}' | \
+TMP_P=(`LD_PRELOAD= ps -A -o pid -o ppid -o comm | grep -iE '^[a-z0-9A-Z \-]*$' |grep -vE 'cron|grep' | awk '$1 != 2 && $2 != 2 {print $3}' | \
sed -n '2,30p'`)
COUNTER=1

@ -5,12 +5,7 @@
<maintainer>
<email>corentin.labbe@geomatys.fr</email>
<name>LABBE Corentin (Montjoie)</name>
<description>Maintainer.</description>
</maintainer>
<maintainer>
<email>hwoarang@gentoo.org</email>
<name>Markos Chandras</name>
<description>Proxy maintainer.</description>
<description>Maintainer</description>
</maintainer>
<use>
<flag name="nss">Prefer NSS over libgcrypt as the crypto engine</flag>

@ -1,84 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/openscap-0.8.0.ebuild,v 1.2 2011/12/28 14:01:19 swift Exp $
EAPI=3
PYTHON_DEPEND="2"
inherit eutils multilib python bash-completion-r1
DESCRIPTION="Framework which enables integration with the Security Content Automation Protocol (SCAP)"
HOMEPAGE="http://www.open-scap.org/"
SRC_URI="http://www.open-scap.org/download/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="bash-completion doc nss perl python rpm sql"
RESTRICT="test"
RDEPEND="!nss? ( dev-libs/libgcrypt )
nss? ( dev-libs/nss )
rpm? ( >=app-arch/rpm-4.9 )
sql? ( dev-db/opendbx )
dev-libs/libpcre
dev-libs/libxml2
dev-libs/libxslt
net-misc/curl"
DEPEND="${RDEPEND}
perl? ( dev-lang/swig )
python? ( dev-lang/swig )"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
sed -i 's/uname -p/uname -m/' tests/probes/uname/test_probes_uname.xml.sh || die
sed -i 's,/etc/rc.d/init.d,/etc/init.d,' src/OVAL/probes/unix/runlevel.c || die
if ! use rpm ; then
sed -i 's,probe_rpminfo_req_deps_ok=yes,probe_rpminfo_req_deps_ok=no,' configure || die
sed -i 's,probe_rpminfo_opt_deps_ok=yes,probe_rpminfo_opt_deps_ok=no,' configure || die
sed -i 's,probe_rpmverify_req_deps_ok=yes,probe_rpmverify_req_deps_ok=no,' configure || die
sed -i 's,probe_rpmverify_opt_deps_ok=yes,probe_rpmverify_opt_deps_ok=no,' configure || die
sed -i 's,^probe_rpm.*_deps_missing=,&disabled by USE flag,' configure || die
fi
}
src_configure() {
local myconf
if use python || use perl ; then
myconf+=" --enable-bindings"
else
myconf+=" --disable-bindings"
fi
if use nss ; then
myconf+=" --with-crypto=nss3"
else
myconf+=" --with-crypto=gcrypt"
fi
econf ${myconf}
}
src_install() {
emake install DESTDIR="${D}" || die
find "${D}" -name '*.la' -delete || die
sed -i 's/^Description/&:/' "${D}"/usr/$(get_libdir)/pkgconfig/libopenscap.pc || die
#--enable-bindings enable all bindings, clean unwanted bindings
if use python && ! use perl ; then
rm -rf "${D}"/usr/$(get_libdir)/perl5 || die
fi
if ! use python && use perl ; then
rm -rf "${D}"/$(python_get_sitedir) || die
fi
if use doc ; then
dohtml -r docs/html/* || die
dodoc docs/examples/* || die
fi
if use bash-completion ; then
dobashcomp "${D}"/etc/bash_completion.d/oscap
fi
rm -rf "${D}"/etc/bash_completion.d || die
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/openscap-0.8.2.ebuild,v 1.1 2012/05/22 20:51:55 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/openscap-0.9.1.ebuild,v 1.1 2012/10/25 17:16:04 hwoarang Exp $
EAPI=3
@ -31,6 +31,7 @@ DEPEND="${RDEPEND}
python? ( dev-lang/swig )
test? (
app-arch/unzip
dev-perl/XML-XPath
net-misc/ipcalc
sys-apps/grep )"
@ -41,18 +42,25 @@ pkg_setup() {
src_prepare() {
sed -i 's/uname -p/uname -m/' tests/probes/uname/test_probes_uname.xml.sh || die
sed -i 's,/etc/rc.d/init.d,/etc/init.d,' src/OVAL/probes/unix/runlevel.c || die
#problem sent upstream https://fedorahosted.org/openscap/ticket/45
sed -i 's,unzip,\$1,' tests/test_common.sh || die
#problem sent upstream https://fedorahosted.org/openscap/ticket/46
epatch ${FILESDIR}/test_probes_interface.patch || die
# runlevel isnt supported on gentoo
#probe runlevel for non-centos/redhat/fedora is not implemted
sed -i 's,.*runlevel_test,#&,' tests/mitre/test_mitre.sh || die
sed -i 's,probecheck "runlevel,probecheck "runlevellllll,' tests/probes/runlevel/test_probes_runlevel.sh || die
#According to comment of theses tests, we must modify it. For the moment disable it
sed -i 's,.*linux-def_inetlisteningservers_test,#&,' tests/mitre/test_mitre.sh || die
sed -i 's,.*ind-def_environmentvariable_test,#&,' tests/mitre/test_mitre.sh || die
#This test fail when testing process with [] in names https://fedorahosted.org/openscap/ticket/47
epatch ${FILESDIR}/test_probes_process.patch || die
epatch "${FILESDIR}"/test_probes_process.patch || die
# theses tests are hardcoded for checking hald process...,
# but no good solution for the moment, disabling them with a fake echo
# because encased in a if then
# sed -i 's,ha.d,/sbin/udevd --daemon,g' tests/mitre/unix-def_process_test.xml || die
# sed -i 's,ha.d,/sbin/udevd --daemon,g' tests/mitre/unix-def_process58_test.xml || die
sed -i 's,.*process_test.*,echo "",' tests/mitre/test_mitre.sh || die
sed -i 's,.*process58_test.*,echo "",' tests/mitre/test_mitre.sh || die
if ! use rpm ; then
sed -i 's,probe_rpminfo_req_deps_ok=yes,probe_rpminfo_req_deps_ok=no,' configure || die
@ -64,6 +72,8 @@ src_prepare() {
fi
if ! use selinux ; then
sed -i 's,.*selinux.*,#&,' tests/mitre/test_mitre.sh || die
#process58 need selinux
sed -i 's,.*process58,#&,' tests/mitre/test_mitre.sh || die
fi
}

@ -0,0 +1,76 @@
From d2a4e30fdb92aeaf476dcaaf2b5d6f8275d6af70 Mon Sep 17 00:00:00 2001
From: Peter Wu <lekensteyn@gmail.com>
Date: Tue, 4 Sep 2012 19:40:08 +0200
Subject: [PATCH] Do not crash on missing/invalid DISPLAY envvar.
- Check whether the passed DISPLAY environment variable contains ":".
- Fallback to "-display" parameter passed to QApplication.
---
src/CMakeLists.txt | 2 ++
src/qibusbus.cpp | 23 ++++++++++++++++-------
2 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2ad5588..8866ac0 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -92,9 +92,11 @@ set_target_properties(
target_link_libraries(
ibus-qt
debug ${QT_QTCORE_LIBRARY_DEBUG}
+ debug ${QT_QTGUI_LIBRARY_DEBUG}
debug ${QT_QTDBUS_LIBRARY_DEBUG}
debug ${QT_QTXML_LIBRARY_DEBUG}
optimized ${QT_QTCORE_LIBRARY_RELEASE}
+ optimized ${QT_QTGUI_LIBRARY_RELEASE}
optimized ${QT_QTDBUS_LIBRARY_RELEASE}
optimized ${QT_QTXML_LIBRARY_RELEASE}
${DBUS_LIBRARIES}
diff --git a/src/qibusbus.cpp b/src/qibusbus.cpp
index 6a45d65..ed8248a 100644
--- a/src/qibusbus.cpp
+++ b/src/qibusbus.cpp
@@ -12,7 +12,8 @@
#include "qibusbus.h"
#include "qibusibusproxy.h"
#include "qibusdbusproxy.h"
-
+#include <X11/Xlib.h>
+#include <QX11Info>
namespace IBus {
/**
@@ -121,15 +122,23 @@
Bus::getSocketPath (void)
{
QString display = getenv ("DISPLAY");
- QStringList strs = display.split(":");
QString hostname = "unix";
QString display_number = "0";
+ /* fallback when -display is passed to QApplication with no DISPLAY env */
+ if (display == NULL) {
+ Display * dpy = QX11Info::display();
+ if (dpy)
+ display = XDisplayString(dpy);
+ }
+ if (display != NULL && display.contains(':')) {
+ QStringList strs = display.split(":");
- if (!strs[0].isEmpty())
- hostname = strs[0];
- strs = strs[1].split(".");
- if (!strs[0].isEmpty())
- display_number = strs[0];
+ if (!strs[0].isEmpty())
+ hostname = strs[0];
+ strs = strs[1].split(".");
+ if (!strs[0].isEmpty())
+ display_number = strs[0];
+ }
QString path =
QDir::homePath() +
--
1.7.10

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-qt/ibus-qt-1.3.1.ebuild,v 1.4 2012/05/03 19:24:31 jdhore Exp $
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-qt/ibus-qt-1.3.1.ebuild,v 1.5 2012/10/25 15:50:17 naota Exp $
EAPI="2"
inherit cmake-utils eutils multilib
@ -33,7 +33,8 @@ DOCS="AUTHORS README TODO"
mycmakeargs="-DLIBDIR=$(get_libdir) -DDOCDIR=/usr/share/doc/${PF} all"
src_prepare() {
epatch "${FILESDIR}/${PN}-1.2.0.20091217-doc.patch"
epatch "${FILESDIR}/${PN}-1.2.0.20091217-doc.patch" \
"${FILESDIR}"/${PN}-1.3.1-display-unset.patch
}
src_compile() {

@ -1,4 +1,3 @@
DIST tracker-0.10.35.tar.xz 5754872 SHA256 5f6a32d0b2b0036f4aec74a6d36d889e33ea038a1530161ca4eb9a549cc87fe3 SHA512 9645c6ff6686a94f7ce9a0e7b29b5b8d5300ba1a1706e41ab3ca97bba891855bba9ce3213435373c52fb6821dc21be0816608c0f6796cb984f090c2b35e0b59c WHIRLPOOL 9cfd6d8446c7880499948cd663017161b879b0accd3de31dd3aecf87394315af4cd28d74865dafa67674ffa07cccb7fc1fe95350a36612560f8ef5e7214415dc
DIST tracker-0.12.10.tar.xz 6220648 SHA256 42722831fdde63cfa07e4f0bb75805425c09b1f1801d3d5280de8be37a357b69 SHA512 53b50847229190e9510e4fc37deadf94f6a478c32b7548a457fe6597433bf7ac9f5bc2470641fe4b665b92c989b1d5b6e9917f7e1903b93c32830f0b2efa8f6f WHIRLPOOL 707b290232a9c3b0b7825628c32130b77afd24915bc18eb77c517b6775d58379f94f4f8efb52bd53637fb66374f426f7a01c47986e951123ff0ff8af874fd870
DIST tracker-0.14.2.tar.xz 5985464 SHA256 9b59330aa2e9e09feee587ded895e9247f71fc25f46b023d616d9969314bc7f1 SHA512 204749a915e6e9af7057a0de7f8b5c317a56899dd5a9ca05c029ab1a3b47c42e54b3a86eb53c31fa21ad50abebed2b3a4e99008aac6cc23cb3bc9f7faa6504ff WHIRLPOOL 431a2b06e6906269795fd05e10bac912ffcc8d1ee0e5c394e178c5c12197ed6a05ec6ba939cf21946be0a17b84717405ad8b8be3d052b3f82c4d58999308cb07
DIST tracker-0.14.3.tar.xz 6120108 SHA256 7c1ecf3705ecbd2a0278d04277cd1bd8c89d5838913de922fef32321ce67abe4 SHA512 c4c30ffc7879069c5487773e7a905b2b4bff811160318f0c46550ef27fa70b23d481234e62059900f8101e2ce19b3c52ee08f65020d98168c0ec31ca263c8663 WHIRLPOOL e8bf48887c0a6cb43accf399b14d6b6e8221bf261c035572791ef56ff8782d57f675e18b60bc9411f201c0311ab58503f5154fe296235cd262e63b9d338580ad

@ -13,8 +13,6 @@
<flag name="flickr">Build flickr data miner</flag>
<flag name="gsf">Enable <pkg>gnome-extra/libgsf</pkg> based data extractor and
for ODT.</flag>
<flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
for introspection</flag>
<flag name="iptc">Enable extraction of IPTC data from pictures</flag>
<flag name="iso">Enable extraction of metadata from ISO disk images</flag>
<flag name="laptop">Make tracker power management aware</flag>
@ -23,8 +21,6 @@
<pkg>gnome-base/nautilus</pkg> by providing entries in its context menu
</flag>
<flag name="playlist">Add support for playlists</flag>
<flag name="strigi">Add support for <pkg>app-misc/strigi</pkg> search
engine.</flag>
<flag name="thunderbird">Install email data miner plugin for
<pkg>mail-client/thunderbird</pkg> and
<pkg>mail-client/thunderbird-bin</pkg></flag>

@ -1,205 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.10.35.ebuild,v 1.4 2012/09/28 04:27:43 tetromino Exp $
EAPI="3"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
GNOME_TARBALL_SUFFIX="xz"
PYTHON_DEPEND="2:2.6"
inherit eutils gnome2 linux-info python virtualx
DESCRIPTION="A tagging metadata database, search tool and indexer"
HOMEPAGE="http://projects.gnome.org/tracker/"
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# USE="doc" is managed by eclass.
IUSE="applet doc eds exif flac flickr gif gnome-keyring gsf gstreamer gtk +introspection iptc +jpeg laptop mp3 nautilus networkmanager pdf playlist qt4 rss strigi test +tiff upnp +vorbis xine +xml xmp"
# Test suite highly disfunctional, loops forever
# putting aside for now
RESTRICT="test"
# vala is built with debug by default (see VALAFLAGS)
RDEPEND="
>=app-i18n/enca-1.9
>=dev-db/sqlite-3.7[threadsafe]
>=dev-libs/dbus-glib-0.82-r1
>=dev-libs/glib-2.28:2
>=dev-libs/icu-4
|| (
>=media-gfx/imagemagick-5.2.1[png,jpeg=]
media-gfx/graphicsmagick[imagemagick,png,jpeg=] )
>=media-libs/libpng-1.2
>=x11-libs/pango-1
sys-apps/util-linux
applet? (
>=gnome-base/gnome-panel-2.91
>=x11-libs/gtk+-3:3 )
eds? (
>=mail-client/evolution-2.32
>=gnome-extra/evolution-data-server-2.32
<mail-client/evolution-3
<gnome-extra/evolution-data-server-3 )
exif? ( >=media-libs/libexif-0.6 )
flac? ( >=media-libs/flac-1.2.1 )
flickr? ( net-libs/rest:0.7 )
gif? ( media-libs/giflib )
gnome-keyring? ( >=gnome-base/gnome-keyring-2.26 )
gsf? (
app-text/odt2txt
>=gnome-extra/libgsf-1.13 )
gstreamer? (
>=media-libs/gstreamer-0.10.31:0.10
upnp? ( >=media-libs/gupnp-dlna-0.5 ) )
!gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) )
gtk? (
>=dev-libs/libgee-0.3:0
>=x11-libs/gtk+-2.18:2 )
introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
iptc? ( media-libs/libiptcdata )
jpeg? ( virtual/jpeg:0 )
laptop? ( >=sys-power/upower-0.9 )
mp3? (
>=media-libs/taglib-1.6
gtk? ( x11-libs/gdk-pixbuf:2 )
qt4? ( >=x11-libs/qt-gui-4.7.1:4 ) )
nautilus? (
>=gnome-base/nautilus-2
<gnome-base/nautilus-2.90
>=x11-libs/gtk+-2.18:2 )
networkmanager? ( >=net-misc/networkmanager-0.8 )
pdf? (
>=x11-libs/cairo-1
>=app-text/poppler-0.16[cairo,utils]
>=x11-libs/gtk+-2.12:2 )
playlist? ( dev-libs/totem-pl-parser )
rss? ( net-libs/libgrss )
strigi? ( >=app-misc/strigi-0.7 )
tiff? ( media-libs/tiff )
vorbis? ( >=media-libs/libvorbis-0.22 )
xine? ( >=media-libs/xine-lib-1 )
xml? ( >=dev-libs/libxml2-2.6 )
xmp? ( >=media-libs/exempi-2.1 )"
DEPEND="${RDEPEND}
>=dev-util/intltool-0.40
>=sys-devel/gettext-0.17
virtual/pkgconfig
applet? ( >=dev-lang/vala-0.12:0.12 )
gtk? (
app-office/dia
>=dev-lang/vala-0.12:0.12
>=dev-libs/libgee-0.3 )
doc? (
>=dev-util/gtk-doc-1.8
media-gfx/graphviz )
test? (
>=dev-libs/dbus-glib-0.82-r1
>=sys-apps/dbus-1.3.1[X] )
"
function inotify_enabled() {
if linux_config_exists; then
if ! linux_chkconfig_present INOTIFY_USER; then
ewarn "You should enable the INOTIFY support in your kernel."
ewarn "Check the 'Inotify support for userland' under the 'File systems'"
ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
die 'missing CONFIG_INOTIFY'
fi
else
einfo "Could not check for INOTIFY support in your kernel."
fi
}
pkg_setup() {
linux-info_pkg_setup
inotify_enabled
if use gstreamer ; then
G2CONF="${G2CONF} --enable-generic-media-extractor=gstreamer"
if use upnp; then
G2CONF="${G2CONF} --with-gstreamer-backend=gupnp-dlna"
else
G2CONF="${G2CONF} --with-gstreamer-backend=discoverer"
fi
elif use xine ; then
G2CONF="${G2CONF} --enable-generic-media-extractor=xine"
else
G2CONF="${G2CONF} --enable-generic-media-extractor=external"
fi
if use applet || use gtk; then
G2CONF="${G2CONF} VALAC=$(type -P valac-0.12)"
fi
if use mp3 && (use gtk || use qt4); then
G2CONF="${G2CONF} $(use_enable !qt4 gdkpixbuf) $(use_enable qt4 qt)"
fi
# unicode-support: libunistring, libicu or glib ?
G2CONF="${G2CONF}
--disable-hal
--enable-tracker-fts
--with-enca
--with-unicode-support=libicu
--enable-guarantee-metadata
$(use_enable applet tracker-search-bar)
$(use_enable eds miner-evolution)
$(use_enable exif libexif)
$(use_enable flac libflac)
$(use_enable flickr miner-flickr)
$(use_enable gnome-keyring)
$(use_enable gsf libgsf)
$(use_enable gtk tracker-explorer)
$(use_enable gtk tracker-preferences)
$(use_enable gtk tracker-needle)
$(use_enable introspection)
$(use_enable iptc libiptcdata)
$(use_enable jpeg libjpeg)
$(use_enable laptop upower)
$(use_enable mp3 taglib)
$(use_enable nautilus nautilus-extension)
$(use_enable networkmanager network-manager)
$(use_enable pdf poppler)
$(use_enable playlist)
$(use_enable rss miner-rss)
$(use_enable strigi libstreamanalyzer)
$(use_enable test functional-tests)
$(use_enable test unit-tests)
$(use_enable tiff libtiff)
$(use_enable vorbis libvorbis)
$(use_enable xml libxml2)
$(use_enable xmp exempi)"
DOCS="AUTHORS ChangeLog NEWS README"
python_set_active_version 2
}
src_prepare() {
# Fix build failures with USE=strigi
epatch "${FILESDIR}/${PN}-0.8.0-strigi.patch"
# Fix functional tests scripts
find "${S}" -name "*.pyc" -delete
python_convert_shebangs 2 "${S}"/tests/tracker-writeback/*.py
python_convert_shebangs 2 "${S}"/tests/functional-tests/*.py
python_convert_shebangs 2 "${S}"/utils/data-generators/cc/{*.py,generate}
python_convert_shebangs 2 "${S}"/utils/gtk-sparql/*.py
python_convert_shebangs 2 "${S}"/examples/rss-reader/*.py
# FIXME: report broken tests
sed -e '/\/libtracker-miner\/tracker-password-provider\/setting/,+1 s:^\(.*\)$:/*\1*/:' \
-e '/\/libtracker-miner\/tracker-password-provider\/getting/,+1 s:^\(.*\)$:/*\1*/:' \
-i tests/libtracker-miner/tracker-password-provider-test.c || die
}
src_test() {
unset DBUS_SESSION_BUS_ADDRESS
Xemake check XDG_DATA_HOME="${T}" XDG_CONFIG_HOME="${T}" || die "tests failed"
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.12.10-r1.ebuild,v 1.2 2012/09/28 04:27:43 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.12.10-r1.ebuild,v 1.3 2012/10/25 18:40:42 eva Exp $
EAPI="4"
GCONF_DEBUG="no"
@ -60,7 +60,7 @@ RDEPEND="
gstreamer? (
>=media-libs/gstreamer-0.10.31:0.10
upnp? ( >=media-libs/gupnp-dlna-0.5 )
!upnp? ( >=media-libs/gst-plugins-base-0.10.31 ) )
!upnp? ( >=media-libs/gst-plugins-base-0.10.31:0.10 ) )
!gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) )
gtk? (
>=dev-libs/libgee-0.3:0

@ -1,265 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.12.10.ebuild,v 1.4 2012/09/28 04:27:43 tetromino Exp $
EAPI="4"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
PYTHON_DEPEND="2:2.6"
inherit eutils gnome2 linux-info multilib python versionator
DESCRIPTION="A tagging metadata database, search tool and indexer"
HOMEPAGE="http://projects.gnome.org/tracker/"
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# USE="doc" is managed by eclass.
IUSE="applet doc eds elibc_glibc exif firefox-bookmarks flac flickr gif gnome-keyring gsf gstreamer gtk iptc +jpeg laptop mp3 nautilus networkmanager pdf playlist rss test thunderbird +tiff upnp +vorbis xine +xml xmp" # qt4 strigi
# Test suite highly disfunctional, loops forever
# putting aside for now
RESTRICT="test"
# vala is built with debug by default (see VALAFLAGS)
# According to NEWS, introspection is non-optional
# glibc-2.12 needed for SCHED_IDLE (see bug #385003)
RDEPEND="
>=app-i18n/enca-1.9
>=dev-db/sqlite-3.7[threadsafe]
>=dev-libs/glib-2.28:2
>=dev-libs/gobject-introspection-0.9.5
>=dev-libs/icu-4
|| (
>=media-gfx/imagemagick-5.2.1[png,jpeg=]
media-gfx/graphicsmagick[imagemagick,png,jpeg=] )
>=media-libs/libpng-1.2
>=x11-libs/pango-1
sys-apps/util-linux
applet? (
>=gnome-base/gnome-panel-2.91.6
>=x11-libs/gdk-pixbuf-2.12:2
>=x11-libs/gtk+-3.0:3 )
eds? (
>=mail-client/evolution-2.91.90
>=gnome-extra/evolution-data-server-2.91.90
<mail-client/evolution-3.5.3
<gnome-extra/evolution-data-server-3.5.3 )
elibc_glibc? ( >=sys-libs/glibc-2.12 )
exif? ( >=media-libs/libexif-0.6 )
firefox-bookmarks? ( || (
>=www-client/firefox-4.0
>=www-client/firefox-bin-4.0 ) )
flac? ( >=media-libs/flac-1.2.1 )
flickr? ( net-libs/rest:0.7 )
gif? ( media-libs/giflib )
gnome-keyring? ( >=gnome-base/gnome-keyring-2.26 )
gsf? ( >=gnome-extra/libgsf-1.13 )
gstreamer? (
>=media-libs/gstreamer-0.10.31:0.10
upnp? ( >=media-libs/gupnp-dlna-0.5 )
!upnp? ( >=media-libs/gst-plugins-base-0.10.31 ) )
!gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) )
gtk? (
>=dev-libs/libgee-0.3:0
>=x11-libs/gtk+-3.0.0:3 )
iptc? ( media-libs/libiptcdata )
jpeg? ( virtual/jpeg:0 )
laptop? ( >=sys-power/upower-0.9 )
mp3? (
>=media-libs/taglib-1.6
gtk? ( x11-libs/gdk-pixbuf:2 ) )
networkmanager? ( >=net-misc/networkmanager-0.8 )
pdf? (
>=x11-libs/cairo-1
>=app-text/poppler-0.16[cairo,utils]
>=x11-libs/gtk+-2.12:2 )
playlist? ( dev-libs/totem-pl-parser )
rss? ( net-libs/libgrss )
thunderbird? ( || (
>=mail-client/thunderbird-5.0
>=mail-client/thunderbird-bin-5.0 ) )
tiff? ( media-libs/tiff )
vorbis? ( >=media-libs/libvorbis-0.22 )
xine? ( >=media-libs/xine-lib-1 )
xml? ( >=dev-libs/libxml2-2.6 )
xmp? ( >=media-libs/exempi-2.1 )"
# strigi? ( >=app-misc/strigi-0.7 )
# mp3? ( qt4? ( >=x11-libs/qt-gui-4.7.1:4 ) )
DEPEND="${RDEPEND}
>=dev-util/intltool-0.40
>=sys-devel/gettext-0.17
virtual/pkgconfig
applet? ( >=dev-lang/vala-0.12:0.12 )
gtk? (
>=dev-lang/vala-0.12:0.12
>=dev-libs/libgee-0.3 )
doc? (
app-office/dia
>=dev-util/gtk-doc-1.8
media-gfx/graphviz )
test? (
>=dev-libs/dbus-glib-0.82-r1
>=sys-apps/dbus-1.3.1[X] )
"
# strigi? ( >=dev-lang/vala-0.12:0.12 )
PDEPEND="nautilus? ( >=gnome-extra/nautilus-tracker-tags-0.12.7 )"
function inotify_enabled() {
if linux_config_exists; then
if ! linux_chkconfig_present INOTIFY_USER; then
ewarn "You should enable the INOTIFY support in your kernel."
ewarn "Check the 'Inotify support for userland' under the 'File systems'"
ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
die 'missing CONFIG_INOTIFY'
fi
else
einfo "Could not check for INOTIFY support in your kernel."
fi
}
pkg_setup() {
linux-info_pkg_setup
inotify_enabled
if use gstreamer ; then
G2CONF="${G2CONF} --enable-generic-media-extractor=gstreamer"
if use upnp; then
G2CONF="${G2CONF} --with-gstreamer-backend=gupnp-dlna"
else
G2CONF="${G2CONF} --with-gstreamer-backend=discoverer"
fi
elif use xine ; then
G2CONF="${G2CONF} --enable-generic-media-extractor=xine"
else
G2CONF="${G2CONF} --enable-generic-media-extractor=external"
fi
# if use applet || use gtk || use strigi; then
if use applet || use gtk; then
G2CONF="${G2CONF} VALAC=$(type -P valac-0.12)"
fi
# if use mp3 && (use gtk || use qt4); then
if use mp3 && use gtk; then
#G2CONF="${G2CONF} $(use_enable !qt4 gdkpixbuf) $(use_enable qt4 qt)"
G2CONF="${G2CONF} --enable-gdkpixbuf"
fi
# unicode-support: libunistring, libicu or glib ?
# According to NEWS, introspection is required
# FIXME: disabling streamanalyzer for now since tracker-sparql-builder.h
# is not being generated
# XXX: disabling qt since tracker-albumart-qt is unstable; bug #385345
# nautilus extension is in a separate package, nautilus-tracker-tags
G2CONF="${G2CONF}
--disable-hal
--disable-libcue
--enable-tracker-fts
--with-enca
--with-unicode-support=libicu
--enable-guarantee-metadata
--enable-introspection
--disable-libstreamanalyzer
--disable-qt
--disable-nautilus-extension
$(use_enable applet tracker-search-bar)
$(use_enable eds miner-evolution)
$(use_enable exif libexif)
$(use_enable firefox-bookmarks miner-firefox)
$(use_with firefox-bookmarks firefox-plugin-dir ${EPREFIX}/usr/$(get_libdir)/firefox/extensions)
FIREFOX=${S}/firefox-version.sh
$(use_enable flac libflac)
$(use_enable flickr miner-flickr)
$(use_enable gnome-keyring)
$(use_enable gsf libgsf)
$(use_enable gtk tracker-explorer)
$(use_enable gtk tracker-preferences)
$(use_enable gtk tracker-needle)
$(use_enable iptc libiptcdata)
$(use_enable jpeg libjpeg)
$(use_enable laptop upower)
$(use_enable mp3 taglib)
$(use_enable networkmanager network-manager)
$(use_enable pdf poppler)
$(use_enable playlist)
$(use_enable rss miner-rss)
$(use_enable test functional-tests)
$(use_enable test unit-tests)
$(use_enable thunderbird miner-thunderbird)
$(use_with thunderbird thunderbird-plugin-dir ${EPREFIX}/usr/$(get_libdir)/thunderbird/extensions)
THUNDERBIRD=${S}/thunderbird-version.sh
$(use_enable tiff libtiff)
$(use_enable vorbis libvorbis)
$(use_enable xml libxml2)
$(use_enable xmp exempi)"
# $(use_enable strigi libstreamanalyzer)
DOCS="AUTHORS ChangeLog NEWS README"
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
# Fix build failures with USE=strigi
epatch "${FILESDIR}/${PN}-0.12.3-strigi.patch"
# Fix functional tests scripts
find "${S}" -name "*.pyc" -delete
python_convert_shebangs -r 2 tests utils examples
# Don't run 'firefox --version' or 'thunderbird --version'; it results in
# access violations on some setups (bug #385347, #385495).
create_version_script "www-client/firefox" "Mozilla Firefox" firefox-version.sh
create_version_script "mail-client/thunderbird" "Mozilla Thunderbird" thunderbird-version.sh
# FIXME: report broken tests
sed -e '/\/libtracker-miner\/tracker-password-provider\/setting/,+1 s:^\(.*\)$:/*\1*/:' \
-e '/\/libtracker-miner\/tracker-password-provider\/getting/,+1 s:^\(.*\)$:/*\1*/:' \
-i tests/libtracker-miner/tracker-password-provider-test.c || die
gnome2_src_prepare
}
src_test() {
unset DBUS_SESSION_BUS_ADDRESS
Xemake check XDG_DATA_HOME="${T}" XDG_CONFIG_HOME="${T}"
}
src_install() {
gnome2_src_install
# Manually symlink extensions for {firefox,thunderbird}-bin
if use firefox-bookmarks; then
dosym /usr/share/xul-ext/trackerfox \
/usr/$(get_libdir)/firefox-bin/extensions/trackerfox@bustany.org
fi
if use thunderbird; then
dosym /usr/share/xul-ext/trackerbird \
/usr/$(get_libdir)/thunderbird-bin/extensions/trackerbird@bustany.org
fi
}
create_version_script() {
# Create script $3 that prints "$2 MAX(VERSION($1), VERSION($1-bin))"
local v=$(best_version ${1})
v=${v#${1}-}
local vbin=$(best_version ${1}-bin)
vbin=${vbin#${1}-bin-}
if [[ -z ${v} ]]; then
v=${vbin}
else
version_compare ${v} ${vbin}
[[ $? -eq 1 ]] && v=${vbin}
fi
echo -e "#!/bin/sh\necho $2 $v" > "$3" || die
chmod +x "$3" || die
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.14.2-r1.ebuild,v 1.3 2012/09/28 04:27:43 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.14.2-r1.ebuild,v 1.4 2012/10/25 18:40:42 eva Exp $
EAPI="4"
GCONF_DEBUG="no"
@ -71,7 +71,7 @@ RDEPEND="
gstreamer? (
>=media-libs/gstreamer-0.10.31:0.10
upnp? ( >=media-libs/gupnp-dlna-0.5 )
!upnp? ( >=media-libs/gst-plugins-base-0.10.31 ) )
!upnp? ( >=media-libs/gst-plugins-base-0.10.31:0.10 ) )
!gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) )
gtk? (
>=dev-libs/libgee-0.3:0

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.14.3.ebuild,v 1.1 2012/10/25 07:56:27 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.14.3.ebuild,v 1.2 2012/10/25 18:40:42 eva Exp $
EAPI="4"
GCONF_DEBUG="no"
@ -71,7 +71,7 @@ RDEPEND="
gstreamer? (
>=media-libs/gstreamer-0.10.31:0.10
upnp? ( >=media-libs/gupnp-dlna-0.5 )
!upnp? ( >=media-libs/gst-plugins-base-0.10.31 ) )
!upnp? ( >=media-libs/gst-plugins-base-0.10.31:0.10 ) )
!gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) )
gtk? (
>=dev-libs/libgee-0.3:0

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/workrave/workrave-1.9.4-r1.ebuild,v 1.4 2012/10/16 04:04:17 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/workrave/workrave-1.9.4-r1.ebuild,v 1.5 2012/10/25 18:42:54 eva Exp $
EAPI="4"
GCONF_DEBUG="yes"
@ -32,8 +32,8 @@ RDEPEND=">=dev-libs/glib-2.10:2
>=gnome-base/libbonobo-2
>=gnome-base/orbit-2.8.3 )
gstreamer? (
>=media-libs/gstreamer-0.10
>=media-libs/gst-plugins-base-0.10 )
>=media-libs/gstreamer-0.10:0.10
>=media-libs/gst-plugins-base-0.10:0.10 )
pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )
x11-libs/libSM
x11-libs/libX11

@ -1,76 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/workrave/workrave-1.9.4.ebuild,v 1.5 2012/05/03 19:41:34 jdhore Exp $
EAPI="3"
GCONF_DEBUG="yes"
PYTHON_DEPEND="2:2.5"
inherit eutils gnome2 python
DESCRIPTION="Helpful utility to attack Repetitive Strain Injury (RSI)"
HOMEPAGE="http://www.workrave.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="dbus doc distribution gnome gstreamer nls pulseaudio test xml"
RDEPEND=">=dev-libs/glib-2.10:2
>=gnome-base/gconf-2
>=x11-libs/gtk+-2.8:2
>=dev-cpp/gtkmm-2.10:2.4
>=dev-cpp/glibmm-2.10:2
>=dev-libs/libsigc++-2:2
dbus? (
>=sys-apps/dbus-1.2
dev-libs/dbus-glib )
distribution? ( >=net-libs/gnet-2 )
gnome? (
|| ( gnome-base/gnome-panel[bonobo] <gnome-base/gnome-panel-2.32 )
>=gnome-base/libbonobo-2
>=gnome-base/orbit-2.8.3 )
gstreamer? (
>=media-libs/gstreamer-0.10
>=media-libs/gst-plugins-base-0.10 )
pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )
xml? ( dev-libs/gdome2 )
x11-libs/libSM
x11-libs/libX11
x11-libs/libXtst
x11-libs/libXt
x11-libs/libXmu"
DEPEND="${RDEPEND}
x11-proto/xproto
x11-proto/inputproto
x11-proto/recordproto
dev-python/cheetah
virtual/pkgconfig
doc? (
app-text/docbook-sgml-utils
app-text/xmlto )
nls? ( sys-devel/gettext )"
pkg_setup() {
DOCS="AUTHORS NEWS README TODO"
G2CONF="${G2CONF}
--without-arts
--disable-kde
--enable-gconf
--disable-x11-monitoring-fallback
--disable-gnome3
--disable-experimental
$(use_enable dbus)
$(use_enable doc manual)
$(use_enable distribution)
$(use_enable gnome)
$(use_enable gstreamer)
$(use_enable nls)
$(use_enable pulseaudio pulse)
$(use_enable test tests)
$(use_enable xml)"
python_set_active_version 2
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/euses/euses-2.5.9.ebuild,v 1.6 2012/09/29 16:50:01 armin76 Exp $
# $Header: /var/cvsroot/gentoo-x86/app-portage/euses/euses-2.5.9.ebuild,v 1.7 2012/10/25 19:58:33 ken69267 Exp $
EAPI=4
@ -10,7 +10,7 @@ SRC_URI="http://www.xs4all.nl/~rooversj/gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha ~amd64 arm hppa ppc ~ppc64 sparc x86 ~x86-fbsd"
KEYWORDS="alpha amd64 arm hppa ppc ~ppc64 sparc x86 ~x86-fbsd"
IUSE=""
S=${WORKDIR}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.1.ebuild,v 1.4 2012/10/20 17:52:25 zmedico Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.1.ebuild,v 1.5 2012/10/25 18:54:47 zmedico Exp $
EAPI=4
PYTHON_DEPEND=2:2.7
@ -47,7 +47,7 @@ COMMON_DEPEND="
>=x11-misc/xdg-utils-1.0.2-r2"
RDEPEND="${COMMON_DEPEND}
udisks? ( sys-fs/udisks:0 )"
udisks? ( sys-fs/udisks )"
DEPEND="${COMMON_DEPEND}
>=dev-python/setuptools-0.6_rc5"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.2.ebuild,v 1.3 2012/10/20 17:52:25 zmedico Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.2.ebuild,v 1.4 2012/10/25 18:54:47 zmedico Exp $
EAPI=4
PYTHON_DEPEND=2:2.7
@ -47,7 +47,7 @@ COMMON_DEPEND="
>=x11-misc/xdg-utils-1.0.2-r2"
RDEPEND="${COMMON_DEPEND}
udisks? ( sys-fs/udisks:0 )"
udisks? ( sys-fs/udisks )"
DEPEND="${COMMON_DEPEND}
>=dev-python/setuptools-0.6_rc5"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.3.ebuild,v 1.2 2012/10/20 17:52:25 zmedico Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.3.ebuild,v 1.3 2012/10/25 18:54:47 zmedico Exp $
EAPI=4
PYTHON_DEPEND=2:2.7
@ -47,7 +47,7 @@ COMMON_DEPEND="
>=x11-misc/xdg-utils-1.0.2-r2"
RDEPEND="${COMMON_DEPEND}
udisks? ( sys-fs/udisks:0 )"
udisks? ( sys-fs/udisks )"
DEPEND="${COMMON_DEPEND}
>=dev-python/setuptools-0.6_rc5"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.20.4.ebuild,v 1.4 2012/10/24 09:55:13 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.20.4.ebuild,v 1.5 2012/10/25 16:50:46 jer Exp $
EAPI=4
@ -11,7 +11,7 @@ HOMEPAGE="http://poppler.freedesktop.org/"
SRC_URI="http://poppler.freedesktop.org/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT="0"
IUSE="cairo cjk curl cxx debug doc +introspection jpeg jpeg2k +lcms png qt4 tiff +utils"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-3.01.ebuild,v 1.4 2012/10/18 18:57:57 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-3.01.ebuild,v 1.5 2012/10/26 01:22:49 blueness Exp $
EAPI=4
@ -62,7 +62,7 @@ SRC_URI="${URI_PREFIX}/${P}.tar.gz
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="doc examples jpeg png tiff -webp +scrollview linguas_ar linguas_bg linguas_ca linguas_chr linguas_cs linguas_de linguas_da linguas_el linguas_es linguas_fi linguas_fr linguas_he linguas_hi linguas_hu linguas_id linguas_it linguas_jp linguas_ko linguas_lt linguas_lv linguas_nl linguas_no linguas_pl linguas_pt linguas_ro linguas_ru linguas_sk linguas_sl linguas_sr linguas_sv linguas_th linguas_tl linguas_tr linguas_uk linguas_vi linguas_zh_CN linguas_zh_TW osd"

@ -13,3 +13,4 @@ DIST boost_1_47_0.tar.bz2 45952657 SHA256 815a5d9faac4dbd523fbcf3fe1065e443c0bbf
DIST boost_1_48_0.tar.bz2 48236989 SHA256 1bf254b2d69393ccd57a3cdd30a2f80318a005de8883a0792ed2f5e2598e5ada SHA512 f8188d65a47f1f6b34d154eb84ec3afb4ce8730fac0adc2bce629db4eb6994bb1192330b8e18a4d3509ff533a6f2bd91f59f4cb5d5c82b0453a99b2289c754e1 WHIRLPOOL a74ecca3fb611ebe7b3627aefe6a651ba2da8a8095ee1fa6e49b57fe6510cd947d81e5aea7ebb7523667a33aa9aa2783e182e39fc5f79f2bddc5faec80cff0e2
DIST boost_1_49_0.tar.bz2 48499961 SHA256 dd748a7f5507a7e7af74f452e1c52a64e651ed1f7263fce438a06641d2180d3c SHA512 9f6198270659df112a57731afe31cbf1012d103ba36ed82f6c3f1bdc0185ddb89dcc42c5dfb9ee3f95973d52999aad6c7509dc61125420d45146e39ebf20219d WHIRLPOOL c049b4212307b0208d0b37ac870a7cfb8562d2b685ce505e1971af7bc68ae9746b06ea80ddc52599ed4cbd6dc3305b5f8051cd771387412aaa1d2f8e939a48ba
DIST boost_1_50_0.tar.bz2 50786885 SHA256 c9ace2b8c81fa6703d1d17c7e478de3bc51101c5adbdeb3f6cb72cf3045a8529 SHA512 5909a2eca520a28af31de6a36c51f57b11fddcc0a51493a1e500ade00d9c4e78175c4892c04857ee385f3874f96e561b74b6427e1a155102e926421067d889fe WHIRLPOOL f5f5d9bc2e321da270dbaab04e0ec898240010720e77b362fac7266896a67b1eaa2e71a1d0e948057f55578dca5998e4faf8dc300e2c92608ee06316092bd08c
DIST boost_1_51_0.tar.bz2 50811407 SHA256 fb2d2335a29ee7fe040a197292bfce982af84a645c81688a915c84c925b69696 SHA512 43a45ff34879328c57e1694e199b895d7535df7cdf78b127ec2649841ac5973f2dddbc0b00a1ed71f2347def6d44f1d8cc5c0deea120f60f53714ebe28046478 WHIRLPOOL 2cfe8ff8b1b812f1a2d02cad25a06fe2a824ef319d95e113fc307d432ff54f2367ac86d922517ce63fce2335b14a9d86ec0c9858b10466b4bf76d28c1ceca828

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.48.0-r2.ebuild,v 1.8 2012/08/04 13:39:55 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.48.0-r2.ebuild,v 1.9 2012/10/25 22:04:33 floppym Exp $
EAPI="4"
PYTHON_DEPEND="python? *"
@ -612,4 +612,14 @@ pkg_postinst() {
elog "No active boost version found. Calling eselect to select one..."
eselect boost update || ewarn "eselect boost update failed."
fi
if use python; then
python_mod_optimize boost_${MAJOR_PV}
fi
}
pkg_postrm() {
if use python; then
python_mod_cleanup boost_${MAJOR_PV}
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.49.0-r1.ebuild,v 1.8 2012/10/21 09:08:50 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.49.0-r1.ebuild,v 1.9 2012/10/25 22:04:33 floppym Exp $
EAPI="4"
PYTHON_DEPEND="python? *"
@ -610,4 +610,14 @@ pkg_postinst() {
elog "No active boost version found. Calling eselect to select one..."
eselect boost update || ewarn "eselect boost update failed."
fi
if use python; then
python_mod_optimize boost_${MAJOR_PV}
fi
}
pkg_postrm() {
if use python; then
python_mod_cleanup boost_${MAJOR_PV}
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.50.0-r2.ebuild,v 1.2 2012/08/27 08:11:30 dev-zero Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.50.0-r2.ebuild,v 1.3 2012/10/25 22:04:33 floppym Exp $
EAPI="4"
PYTHON_DEPEND="python? *"
@ -569,7 +569,7 @@ pkg_postinst() {
popd 1>/dev/null
local python_module python_module_dir
for python_module in mpi.py mpi_debug.py ; do
for python_module in mpi.py ; do
for python_module_dir in "${ROOT}"usr/$(get_libdir)/python*/site-packages ; do
if [[ -e "${python_module_dir}/${python_module}" ]] ; then
rm "${python_module_dir}/${python_module}" || die -q "Unable to remove \"${python_module_dir}/${python_module}\""
@ -577,7 +577,7 @@ pkg_postinst() {
done
done
# Deprecated code for older versions of Boost.
# Deprecated code for Boost <1.48.
local mod="mpi.so"
for moddir in "${ROOT}"/usr/$(get_libdir)/python*/site-packages ; do
if [ -L "${moddir}/${mod}" ] ; then
@ -592,4 +592,30 @@ pkg_postinst() {
else
[[ -e "${ROOT}/etc/eselect/boost/active" ]] && die -q "\"${ROOT}/etc/eselect/boost/active\" exists and isn't a symlink"
fi
if use python; then
if use mpi; then
create_mpi.py() {
echo "from boost_${MAJOR_PV}.mpi import *" > "${EROOT}$(python_get_sitedir -b)/mpi.py"
}
python_execute_function -q create_mpi.py
fi
python_mod_optimize boost_${MAJOR_PV} $(use mpi && echo mpi.py)
fi
}
pkg_postrm() {
if use python; then
if use mpi; then
delete_mpi.py() {
if [[ "$(<"${EROOT}$(python_get_sitedir -b)/mpi.py")" == "from boost_${MAJOR_PV}.mpi import *" ]]; then
rm -f "${EROOT}$(python_get_sitedir -b)/mpi.py"
fi
}
python_execute_function -q delete_mpi.py
fi
python_mod_cleanup boost_${MAJOR_PV} $(use mpi && echo mpi.py)
fi
}

@ -0,0 +1,621 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.51.0.ebuild,v 1.1 2012/10/25 22:28:45 floppym Exp $
EAPI="5"
PYTHON_DEPEND="python? *"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="*-jython *-pypy-*"
inherit check-reqs flag-o-matic multilib multiprocessing python toolchain-funcs versionator
MY_P=${PN}_$(replace_all_version_separators _)
DESCRIPTION="Boost Libraries for C++"
HOMEPAGE="http://www.boost.org/"
SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
LICENSE="Boost-1.0"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="debug doc icu mpi python static-libs test tools"
RDEPEND="icu? ( >=dev-libs/icu-3.6:= )
!icu? ( virtual/libiconv )
mpi? ( || ( sys-cluster/openmpi[cxx] sys-cluster/mpich2[cxx,threads] ) )
sys-libs/zlib
!!<=dev-libs/boost-1.35.0-r2"
DEPEND="${RDEPEND}
dev-util/boost-build:${SLOT}"
S=${WORKDIR}/${MY_P}
MAJOR_PV=$(replace_all_version_separators _ ${SLOT})
BJAM="b2-${MAJOR_PV}"
create_user-config.jam() {
local compiler compiler_version compiler_executable
if [[ ${CHOST} == *-darwin* ]]; then
compiler="darwin"
compiler_version="$(gcc-fullversion)"
compiler_executable="$(tc-getCXX)"
else
compiler="gcc"
compiler_version="$(gcc-version)"
compiler_executable="$(tc-getCXX)"
fi
local mpi_configuration python_configuration
if use mpi; then
mpi_configuration="using mpi ;"
fi
if use python; then
python_configuration="using python : $(python_get_version) : /usr : $(python_get_includedir) : /usr/$(get_libdir) ;"
fi
cat > user-config.jam << __EOF__
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
${mpi_configuration}
${python_configuration}
__EOF__
}
pkg_pretend() {
if use test; then
CHECKREQS_DISK_BUILD="15G" check-reqs_pkg_pretend
ewarn "The tests may take several hours on a recent machine"
ewarn "but they will not fail (unless something weird happens ;-)"
ewarn "This is because the tests depend on the used compiler version"
ewarn "and the platform and upstream says that this is normal."
ewarn "If you are interested in the results, please take a look at the"
ewarn "generated results page:"
ewarn " ${ROOT}usr/share/doc/${PF}/status/cs-$(uname).html"
fi
}
pkg_setup() {
if use python; then
python_pkg_setup
fi
if use debug; then
ewarn "The debug USE flag means that a second set of the boost libraries"
ewarn "will be built containing debug symbols. But even though the optimization flags"
ewarn "you might have set are not stripped, there will be a performance"
ewarn "penalty and linking other packages against the debug version"
ewarn "of boost is _not_ recommended."
fi
}
src_prepare() {
epatch \
"${FILESDIR}/${PN}-1.48.0-mpi_python3.patch" \
"${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch" \
"${FILESDIR}/${PN}-1.51.0-support_dots_in_python-buildid.patch" \
"${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch" \
"${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch" \
"${FILESDIR}/${PN}-1.48.0-python_linking.patch" \
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch" \
"${FILESDIR}/remove-toolset-1.48.0.patch"
}
src_configure() {
OPTIONS=""
if [[ ${CHOST} == *-darwin* ]]; then
# We need to add the prefix, and in two cases this exceeds, so prepare
# for the largest possible space allocation.
append-ldflags -Wl,-headerpad_max_install_names
fi
# bug 298489
if use ppc || use ppc64; then
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
fi
use icu && OPTIONS+=" -sICU_PATH=/usr"
use icu || OPTIONS+=" --disable-icu boost.locale.icu=off"
use mpi || OPTIONS+=" --without-mpi"
use python || OPTIONS+=" --without-python"
# https://svn.boost.org/trac/boost/attachment/ticket/2597/add-disable-long-double.patch
if use sparc || { use mips && [[ ${ABI} = "o32" ]]; } || use hppa || use arm || use x86-fbsd || use sh; then
OPTIONS+=" --disable-long-double"
fi
OPTIONS+=" pch=off --boost-build=/usr/share/boost-build-${MAJOR_PV} --prefix=\"${D}usr\" --layout=versioned"
if use static-libs; then
LINK_OPTS="link=shared,static"
LIBRARY_TARGETS="*.a *$(get_libname)"
else
LINK_OPTS="link=shared"
# There is no dynamically linked version of libboost_test_exec_monitor and libboost_exception.
LIBRARY_TARGETS="libboost_test_exec_monitor*.a libboost_exception*.a *$(get_libname)"
fi
}
src_compile() {
export BOOST_ROOT="${S}"
PYTHON_DIRS=""
MPI_PYTHON_MODULE=""
NUMJOBS="-j$(makeopts_jobs)"
building() {
create_user-config.jam
einfo "Using the following command to build:"
einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} $(use python && echo --python-buildid=${PYTHON_ABI})"
${BJAM} ${NUMJOBS} -q -d+2 \
gentoorelease \
--user-config=user-config.jam \
${OPTIONS} threading=single,multi ${LINK_OPTS} \
$(use python && echo --python-buildid=${PYTHON_ABI}) \
|| die "Building of Boost libraries failed"
# ... and do the whole thing one more time to get the debug libs
if use debug; then
einfo "Using the following command to build:"
einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoodebug --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} --buildid=debug $(use python && echo --python-buildid=${PYTHON_ABI})"
${BJAM} ${NUMJOBS} -q -d+2 \
gentoodebug \
--user-config=user-config.jam \
${OPTIONS} threading=single,multi ${LINK_OPTS} \
--buildid=debug \
$(use python && echo --python-buildid=${PYTHON_ABI}) \
|| die "Building of Boost debug libraries failed"
fi
if use python; then
if [[ -z "${PYTHON_DIRS}" ]]; then
PYTHON_DIRS="$(find bin.v2/libs -name python | sort)"
else
if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then
die "Inconsistent structure of build directories"
fi
fi
local dir
for dir in ${PYTHON_DIRS}; do
mv ${dir} ${dir}-${PYTHON_ABI} || die "Renaming of '${dir}' to '${dir}-${PYTHON_ABI}' failed"
done
if use mpi; then
if [[ -z "${MPI_PYTHON_MODULE}" ]]; then
MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoorelease -name mpi.so)"
if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then
die "Multiple mpi.so files found"
fi
else
if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoorelease -name mpi.so)" ]]; then
die "Inconsistent structure of build directories"
fi
fi
mv stage/lib/mpi.so stage/lib/mpi.so-${PYTHON_ABI} || die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${PYTHON_ABI}' failed"
fi
fi
}
if use python; then
python_execute_function building
else
building
fi
if use tools; then
pushd tools > /dev/null || die
einfo "Using the following command to build the tools:"
einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease --user-config=../user-config.jam ${OPTIONS}"
${BJAM} ${NUMJOBS} -q -d+2\
gentoorelease \
--user-config=../user-config.jam \
${OPTIONS} \
|| die "Building of Boost tools failed"
popd > /dev/null || die
fi
}
src_install () {
installation() {
create_user-config.jam
if use python; then
local dir
for dir in ${PYTHON_DIRS}; do
cp -pr ${dir}-${PYTHON_ABI} ${dir} || die "Copying of '${dir}-${PYTHON_ABI}' to '${dir}' failed"
done
if use mpi; then
cp -p stage/lib/mpi.so-${PYTHON_ABI} "${MPI_PYTHON_MODULE}" || die "Copying of 'stage/lib/mpi.so-${PYTHON_ABI}' to '${MPI_PYTHON_MODULE}' failed"
cp -p stage/lib/mpi.so-${PYTHON_ABI} stage/lib/mpi.so || die "Copying of 'stage/lib/mpi.so-${PYTHON_ABI}' to 'stage/lib/mpi.so' failed"
fi
fi
einfo "Using the following command to install:"
einfo "${BJAM} -q -d+2 gentoorelease --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} --includedir=\"${D}usr/include\" --libdir=\"${D}usr/$(get_libdir)\" $(use python && echo --python-buildid=${PYTHON_ABI}) install"
${BJAM} -q -d+2 \
gentoorelease \
--user-config=user-config.jam \
${OPTIONS} threading=single,multi ${LINK_OPTS} \
--includedir="${D}usr/include" \
--libdir="${D}usr/$(get_libdir)" \
$(use python && echo --python-buildid=${PYTHON_ABI}) \
install || die "Installation of Boost libraries failed"
if use debug; then
einfo "Using the following command to install:"
einfo "${BJAM} -q -d+2 gentoodebug --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} --includedir=\"${D}usr/include\" --libdir=\"${D}usr/$(get_libdir)\" --buildid=debug $(use python && echo --python-buildid=${PYTHON_ABI})"
${BJAM} -q -d+2 \
gentoodebug \
--user-config=user-config.jam \
${OPTIONS} threading=single,multi ${LINK_OPTS} \
--includedir="${D}usr/include" \
--libdir="${D}usr/$(get_libdir)" \
--buildid=debug \
$(use python && echo --python-buildid=${PYTHON_ABI}) \
install || die "Installation of Boost debug libraries failed"
fi
if use python; then
rm -r ${PYTHON_DIRS} || die
# Move mpi.so Python module to Python site-packages directory and make sure it is slotted.
if use mpi; then
mkdir -p "${D}$(python_get_sitedir)/boost_${MAJOR_PV}" || die
mv "${D}usr/$(get_libdir)/mpi.so" "${D}$(python_get_sitedir)/boost_${MAJOR_PV}" || die
cat << EOF > "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/__init__.py" || die
import sys
if sys.platform.startswith('linux'):
import DLFCN
flags = sys.getdlopenflags()
sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
from . import mpi
sys.setdlopenflags(flags)
del DLFCN, flags
else:
from . import mpi
del sys
EOF
fi
fi
}
if use python; then
python_execute_function installation
else
installation
fi
use python || rm -rf "${D}usr/include/boost-${MAJOR_PV}/boost"/python* || die
if use doc; then
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
dohtml \
-A pdf,txt,cpp,hpp \
*.{htm,html,png,css} \
-r doc
dohtml \
-A pdf,txt \
-r tools
insinto /usr/share/doc/${PF}/html
doins -r libs
doins -r more
# To avoid broken links
insinto /usr/share/doc/${PF}/html
doins LICENSE_1_0.txt
dosym /usr/include/boost-${MAJOR_PV}/boost /usr/share/doc/${PF}/html/boost
fi
pushd "${D}usr/$(get_libdir)" > /dev/null || die
# Remove (unversioned) symlinks
# And check for what we remove to catch bugs
# got a better idea how to do it? tell me!
local f
for f in $(ls -1 ${LIBRARY_TARGETS} | grep -v "${MAJOR_PV}"); do
if [[ ! -h "${f}" ]]; then
eerror "Tried to remove '${f}' which is a regular file instead of a symlink"
die "Slotting/naming of the libraries broken!"
fi
rm "${f}" || die
done
# The threading libs obviously always gets the "-mt" (multithreading) tag
# some packages seem to have a problem with it. Creating symlinks...
if use static-libs; then
THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}.a libboost_thread-mt-${MAJOR_PV}$(get_libname)"
else
THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}$(get_libname)"
fi
local lib
for lib in ${THREAD_LIBS}; do
dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})"
done
# The same goes for the mpi libs
if use mpi; then
if use static-libs; then
MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}.a libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
else
MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
fi
local lib
for lib in ${MPI_LIBS}; do
dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})"
done
fi
if use debug; then
if use static-libs; then
THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname) libboost_thread-mt-${MAJOR_PV}-debug.a"
else
THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname)"
fi
local lib
for lib in ${THREAD_DEBUG_LIBS}; do
dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})"
done
if use mpi; then
if use static-libs; then
MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug.a libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
else
MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
fi
local lib
for lib in ${MPI_DEBUG_LIBS}; do
dosym ${lib} "/usr/$(get_libdir)/$(sed -e 's/-mt//' <<< ${lib})"
done
fi
fi
# Create a subdirectory with completely unversioned symlinks
dodir /usr/$(get_libdir)/boost-${MAJOR_PV}
local f
for f in $(ls -1 ${LIBRARY_TARGETS} | grep -v debug); do
dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}/${f/-${MAJOR_PV}}
done
if use debug; then
dodir /usr/$(get_libdir)/boost-${MAJOR_PV}-debug
local f
for f in $(ls -1 ${LIBRARY_TARGETS} | grep debug); do
dosym ../${f} /usr/$(get_libdir)/boost-${MAJOR_PV}-debug/${f/-${MAJOR_PV}-debug}
done
fi
popd > /dev/null || die
if use tools; then
pushd dist/bin > /dev/null || die
# Append version postfix to binaries for slotting
local b
for b in *; do
newbin "${b}" "${b}-${MAJOR_PV}"
done
popd > /dev/null || die
pushd dist > /dev/null || die
insinto /usr/share
doins -r share/boostbook
# Append version postfix for slotting
mv "${D}usr/share/boostbook" "${D}usr/share/boostbook-${MAJOR_PV}" || die
popd > /dev/null || die
fi
pushd status > /dev/null || die
if [[ -f regress.log ]]; then
docinto status
dohtml *.html ../boost.png
dodoc regress.log
fi
popd > /dev/null || die
# boost's build system truely sucks for not having a destdir. Because for
# this reason we are forced to build with a prefix that includes the
# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
# DESTROOT instread of the actual EPREFIX. There is no way out of here
# but to do it the dirty way of manually setting the right install_names.
if [[ ${CHOST} == *-darwin* ]]; then
einfo "Working around completely broken build-system(tm)"
local d
for d in "${ED}"usr/lib/*.dylib; do
if [[ -f ${d} ]]; then
# fix the "soname"
ebegin " correcting install_name of ${d#${ED}}"
install_name_tool -id "/${d#${D}}" "${d}"
eend $?
# fix references to other libs
refs=$(otool -XL "${d}" | \
sed -e '1d' -e 's/^\t//' | \
grep "^libboost_" | \
cut -f1 -d' ')
local r
for r in ${refs}; do
ebegin " correcting reference to ${r}"
install_name_tool -change \
"${r}" \
"${EPREFIX}/usr/lib/${r}" \
"${d}"
eend $?
done
fi
done
fi
}
src_test() {
testing() {
if use python; then
local dir
for dir in ${PYTHON_DIRS}; do
cp -pr ${dir}-${PYTHON_ABI} ${dir} || die "Copying of '${dir}-${PYTHON_ABI}' to '${dir}' failed"
done
if use mpi; then
cp -p stage/lib/mpi.so-${PYTHON_ABI} "${MPI_PYTHON_MODULE}" || die "Copying of 'stage/lib/mpi.so-${PYTHON_ABI}' to '${MPI_PYTHON_MODULE}' failed"
cp -p stage/lib/mpi.so-${PYTHON_ABI} stage/lib/mpi.so || die "Copying of 'stage/lib/mpi.so-${PYTHON_ABI}' to 'stage/lib/mpi.so' failed"
fi
fi
pushd tools/regression/build > /dev/null || die
einfo "Using the following command to build test helpers:"
einfo "${BJAM} -q -d+2 gentoorelease --user-config=../../../user-config.jam ${OPTIONS} process_jam_log compiler_status"
${BJAM} -q -d+2 \
gentoorelease \
--user-config=../../../user-config.jam \
${OPTIONS} \
process_jam_log compiler_status \
|| die "Building of regression test helpers failed"
popd > /dev/null || die
pushd status > /dev/null || die
# Some of the test-checks seem to rely on regexps
export LC_ALL="C"
# The following is largely taken from tools/regression/run_tests.sh,
# but adapted to our needs.
# Run the tests & write them into a file for postprocessing
einfo "Using the following command to test:"
einfo "${BJAM} --user-config=../user-config.jam ${OPTIONS} --dump-tests"
${BJAM} \
--user-config=../user-config.jam \
${OPTIONS} \
--dump-tests 2>&1 | tee regress.log || die
# Postprocessing
cat regress.log | "$(find ../tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease -name process_jam_log)" --v2
if test $? != 0; then
die "Postprocessing the build log failed"
fi
cat > comment.html <<- __EOF__
<p>Tests are run on a <a href="http://www.gentoo.org">Gentoo</a> system.</p>
__EOF__
# Generate the build log html summary page
"$(find ../tools/regression/build/bin/gcc-$(gcc-version)/gentoorelease -name compiler_status)" --v2 \
--comment comment.html "${S}" \
cs-$(uname).html cs-$(uname)-links.html
if test $? != 0; then
die "Generating the build log html summary page failed"
fi
# And do some cosmetic fixes :)
sed -i -e 's|http://www.boost.org/boost.png|boost.png|' *.html || die
popd > /dev/null || die
if use python; then
rm -r ${PYTHON_DIRS} || die
fi
}
if use python; then
python_execute_function -f -q testing
else
testing
fi
}
pkg_postinst() {
# mostly copy/paste from eselect-boost
_boost_tools="bcp bjam compiler_status inspect library_status process_jam_log quickbook wave"
# ... meaning: <none> and -debug:
_suffices="|-debug"
einfo "Removing symlinks from old version"
local link
for link in "${ROOT}/usr/include/boost" "${ROOT}/usr/share/boostbook" ; do
if [[ -L "${link}" ]] ; then
rm "${link}" || die -q "Couldn't remove \"${link}\" symlink"
else
[[ -e "${link}" ]] && die -q "\"${link}\" exists and isn't a symlink"
fi
done
pushd "${ROOT}/usr/$(get_libdir)" 1>/dev/null
local lib
for lib in libboost_*.{a,so} ; do
[[ -L "${lib}" && "${lib}" != libboost_*[[:digit:]]_[[:digit:]][[:digit:]]@(${_suffices}).@(a|so) ]] || continue
rm "${lib}" || die -q "Unable to remove \"/usr/$(get_libdir)/${lib}\" symlink"
done
popd 1>/dev/null
pushd "${ROOT}"/usr/bin 1>/dev/null
local tool
for tool in ${_boost_tools} ; do
[[ -L "${tool}" ]] && ( rm "${tool}" || die -q "Unable to remove \"/usr/bin/${tool}\" symlink" )
done
popd 1>/dev/null
local python_module python_module_dir
for python_module in mpi.py ; do
for python_module_dir in "${ROOT}"usr/$(get_libdir)/python*/site-packages ; do
if [[ -e "${python_module_dir}/${python_module}" ]] ; then
rm "${python_module_dir}/${python_module}" || die -q "Unable to remove \"${python_module_dir}/${python_module}\""
fi
done
done
# Deprecated code for Boost <1.48.
local mod="mpi.so"
for moddir in "${ROOT}"/usr/$(get_libdir)/python*/site-packages ; do
if [ -L "${moddir}/${mod}" ] ; then
rm "${moddir}/${mod}" || die -q "Unable to remove \"${moddir}/${mod}\" symlink"
else
[[ -e "${moddir}/${mod}" ]] && die -q "\"${moddir}/${mod}\" exists and isn't a symlink"
fi
done
if [ -L "${ROOT}/etc/eselect/boost/active" ] ; then
rm "${ROOT}/etc/eselect/boost/active" || die -q "Unable to remove \"${ROOT}/etc/eselect/boost/active\" symlink"
else
[[ -e "${ROOT}/etc/eselect/boost/active" ]] && die -q "\"${ROOT}/etc/eselect/boost/active\" exists and isn't a symlink"
fi
if use python; then
if use mpi; then
create_mpi.py() {
echo "from boost_${MAJOR_PV}.mpi import *" > "${EROOT}$(python_get_sitedir -b)/mpi.py"
}
python_execute_function -q create_mpi.py
fi
python_mod_optimize boost_${MAJOR_PV} $(use mpi && echo mpi.py)
fi
}
pkg_postrm() {
if use python; then
if use mpi; then
delete_mpi.py() {
if [[ "$(<"${EROOT}$(python_get_sitedir -b)/mpi.py")" == "from boost_${MAJOR_PV}.mpi import *" ]]; then
rm -f "${EROOT}$(python_get_sitedir -b)/mpi.py"
fi
}
python_execute_function -q delete_mpi.py
fi
python_mod_cleanup boost_${MAJOR_PV} $(use mpi && echo mpi.py)
fi
}

@ -0,0 +1,69 @@
https://svn.boost.org/trac/boost/ticket/6286
--- boostcpp.jam
+++ boostcpp.jam
@@ -99,13 +99,6 @@
BUILD_ID = [ regex.replace $(build-id) "[*\\/:.\"\' ]" _ ] ;
}
-# Python build id (for Python libraries only).
-python-id = [ option.get "python-buildid" ] ;
-if $(python-id)
-{
- PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ;
-}
-
################################################################################
#
--- libs/mpi/build/Jamfile.v2
+++ libs/mpi/build/Jamfile.v2
@@ -8,6 +8,8 @@
# Authors: Douglas Gregor
# Andrew Lumsdaine
+import option ;
+import regex ;
import mpi ;
import indirect ;
import python ;
@@ -24,6 +26,13 @@
<tag>@$(__name__).tag
;
+# Python build id (for Python libraries only).
+python-id = [ option.get "python-buildid" ] ;
+if $(python-id)
+{
+ PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ;
+}
+
rule tag ( name : type ? : property-set )
{
local result = $(name) ;
--- libs/python/build/Jamfile.v2
+++ libs/python/build/Jamfile.v2
@@ -2,6 +2,8 @@
# Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+import option ;
+import regex ;
import os ;
import indirect ;
import modules ;
@@ -30,6 +32,14 @@
;
}
+# Python build id (for Python libraries only).
+python-id = [ option.get "python-buildid" ] ;
+if $(python-id)
+{
+ PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ;
+}
+
+
rule find-py3-version
{
local versions = [ feature.values python ] ;

@ -0,0 +1,22 @@
--- libs/mpi/build/Jamfile.v2
+++ libs/mpi/build/Jamfile.v2
@@ -30,7 +30,7 @@
python-id = [ option.get "python-buildid" ] ;
if $(python-id)
{
- PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ;
+ PYTHON_ID = [ regex.replace $(python-id) [*\\/:\"\'] _ ] ;
}
rule tag ( name : type ? : property-set )
--- libs/python/build/Jamfile.v2
+++ libs/python/build/Jamfile.v2
@@ -36,7 +36,7 @@
python-id = [ option.get "python-buildid" ] ;
if $(python-id)
{
- PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ;
+ PYTHON_ID = [ regex.replace $(python-id) [*\\/:\"\'] _ ] ;
}

@ -1,2 +1,4 @@
DIST icu4c-49_1_2-docs.zip 4245617 SHA256 50fcc81a797b20ebaf12167479f24eac323bad21d012ca366701f62eccdabb94 SHA512 84ddc1e4cc3e4617e6a93c6ada3e7e5fa470fb34fed3ca4e3c57a741bbdd279d402d3fd313543230f2c73c3197300311eafd2d91c207ff64d3eca9833907a32b WHIRLPOOL 44fde7cfc560bb29e16f32ab4ca300c87469747719ba5a0e0622ed5eb64911e5f5969328a9cef71f0c4aee455093233d0a5c0f8719559d705c2698de2f457662
DIST icu4c-49_1_2-src.tgz 19010646 SHA256 cce83cc88a2ff79d65c05426facbf30530bbe13a1cfda04b3ab81b55414cf5a3 SHA512 83997878222ada25be281c35b766906a9997da350068d4f7400874ea37133baeef0e8277dc117219c37ab486b643125b4b73ace956507d2237c1c9002173a140 WHIRLPOOL 68ff12ab0b3b5e471ced5d07c7170494e24526591587669b86a2a732ce3d0dda4abd74e2dcfdc3dd2e66a30b28d897836a6b0c1f1148101e1b51ffc87a87f080
DIST icu4c-50_rc-docs.zip 6125408 SHA256 7e09e7481bfb12e3a84ebf4bf46afad986f8fae49cdef79deb5ae95fdc458800 SHA512 c367921082346812c0cae94d2f805e83814d68ee46256e736d5225ea5c71e1625b15f4b25064482750b2432d591123439c0ca00e929f5dae1895ba971db45d0e WHIRLPOOL 50ee21358efc355269abd9d173e0c9b203e4a33174e9a6956c3121128a12113bf09aba832c756f2c4c011e517fb3ce31563996a9286306bbcac87f4936cfafe7
DIST icu4c-50_rc-src.tgz 19637660 SHA256 1336b0da4e862fc9b5d40c93c1a9be61aff635d9b743b5138176619409e6bb0b SHA512 be6dd349134a13848e4ff005c045db456a365212c558f38e0f371aa376e69f1044ff010308923c9542ec2ba3edba5521907e2a0dbb9e53f65d4dbe340aa2a019 WHIRLPOOL e71f3d8da84ff8b0d31df6b3b11cb065e366e9a4b8387411c75d4114c31533682867811b178c19c78c2670818b733db9489aff43ee4b377031aca6687a26359a

@ -0,0 +1,98 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/icu/icu-50_rc.ebuild,v 1.1 2012/10/25 18:53:59 floppym Exp $
EAPI="5"
inherit eutils versionator
MAJOR_VERSION="$(get_version_component_range 1)"
if [[ "${PV}" =~ ^[[:digit:]]+_rc[[:digit:]]*$ ]]; then
MINOR_VERSION="1"
else
MINOR_VERSION="$(get_version_component_range 2)"
fi
DESCRIPTION="International Components for Unicode"
HOMEPAGE="http://www.icu-project.org/"
BASE_URI="http://download.icu-project.org/files/icu4c/${PV/_/}"
SRC_ARCHIVE="icu4c-${PV//./_}-src.tgz"
DOCS_ARCHIVE="icu4c-${PV//./_}-docs.zip"
SRC_URI="${BASE_URI}/${SRC_ARCHIVE}
doc? ( ${BASE_URI}/${DOCS_ARCHIVE} )"
LICENSE="BSD"
SLOT="0/50"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="debug doc examples static-libs"
DEPEND="doc? ( app-arch/unzip )"
RDEPEND=""
S="${WORKDIR}/${PN}/source"
QA_DT_NEEDED="/usr/lib.*/libicudata\.so\.${MAJOR_VERSION}\.${MINOR_VERSION}.*"
QA_FLAGS_IGNORED="/usr/lib.*/libicudata\.so\.${MAJOR_VERSION}\.${MINOR_VERSION}.*"
src_unpack() {
unpack "${SRC_ARCHIVE}"
if use doc; then
mkdir docs
pushd docs > /dev/null
unpack "${DOCS_ARCHIVE}"
popd > /dev/null
fi
}
src_prepare() {
# Do not hardcode flags into icu-config.
# https://ssl.icu-project.org/trac/ticket/6102
local variable
for variable in CFLAGS CPPFLAGS CXXFLAGS FFLAGS LDFLAGS; do
sed -i -e "/^${variable} =.*/s:@${variable}@::" config/Makefile.inc.in || die "sed failed"
done
sed -e "s/#define U_DISABLE_RENAMING 0/#define U_DISABLE_RENAMING 1/" -i common/unicode/uconfig.h
epatch "${FILESDIR}/${PN}-4.8.1-fix_binformat_fonts.patch"
epatch "${FILESDIR}/${PN}-4.8.1.1-fix_ltr.patch"
}
src_configure() {
econf \
--disable-renaming \
$(use_enable debug) \
$(use_enable examples samples) \
$(use_enable static-libs static)
}
src_compile() {
emake VERBOSE="1"
}
src_test() {
# INTLTEST_OPTS: intltest options
# -e: Exhaustive testing
# -l: Reporting of memory leaks
# -v: Increased verbosity
# IOTEST_OPTS: iotest options
# -e: Exhaustive testing
# -v: Increased verbosity
# CINTLTST_OPTS: cintltst options
# -e: Exhaustive testing
# -v: Increased verbosity
emake -j1 VERBOSE="1" check
}
src_install() {
emake DESTDIR="${D}" VERBOSE="1" install
dohtml ../readme.html
dodoc ../unicode-license.txt
if use doc; then
insinto /usr/share/doc/${PF}/html/api
doins -r "${WORKDIR}/docs/"*
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/keybinder/keybinder-0.3.0-r200.ebuild,v 1.4 2012/10/16 21:52:25 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/keybinder/keybinder-0.3.0-r200.ebuild,v 1.5 2012/10/26 02:16:43 blueness Exp $
EAPI=4
@ -14,7 +14,7 @@ SRC_URI="http://kaizer.se/publicfiles/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
KEYWORDS="amd64 ~arm ~mips x86"
IUSE="+introspection lua python"
RDEPEND=">=x11-libs/gtk+-2.20:2

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.14.ebuild,v 1.1 2012/10/22 11:24:32 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.14.ebuild,v 1.2 2012/10/26 02:18:02 blueness Exp $
EAPI=4
inherit eutils multilib
@ -13,7 +13,7 @@ SRC_URI="
"
LICENSE="LGPL-2.1"
SLOT="3"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
IUSE="doc static-libs utils"
DEPEND="

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunique/libunique-1.1.6-r1.ebuild,v 1.9 2012/05/21 18:46:59 tetromino Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunique/libunique-1.1.6-r1.ebuild,v 1.10 2012/10/26 02:14:55 blueness Exp $
EAPI="4"
GNOME2_LA_PUNT="yes"
@ -13,7 +13,7 @@ HOMEPAGE="http://live.gnome.org/LibUnique"
LICENSE="LGPL-2.1"
SLOT="1"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
IUSE="dbus doc +introspection"
RDEPEND=">=dev-libs/glib-2.12:2

@ -1 +1 @@
DIST gst-python-0.10.22.tar.bz2 632651 RMD160 6c4e43c5464297e0d45aa89f3cb82ed424caa283 SHA1 7012445d921ae1b325c162500750c9b0e777201f SHA256 8f26f519a5bccd770864317e098e5e307fc5ad1201eb96329634b6508b253178
DIST gst-python-0.10.22.tar.bz2 632651 SHA256 8f26f519a5bccd770864317e098e5e307fc5ad1201eb96329634b6508b253178

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/gst-python-0.10.22.ebuild,v 1.11 2012/09/20 04:57:08 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/gst-python-0.10.22.ebuild,v 1.12 2012/10/25 18:46:23 eva Exp $
EAPI=4
@ -22,8 +22,8 @@ IUSE="examples test"
RDEPEND="dev-libs/libxml2
>=dev-python/pygobject-2.28:2
>=media-libs/gstreamer-0.10.32
>=media-libs/gst-plugins-base-0.10.32"
>=media-libs/gstreamer-0.10.32:0.10
>=media-libs/gst-plugins-base-0.10.32:0.10"
DEPEND="${RDEPEND}
virtual/pkgconfig
test? (

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gettext/ruby-gettext-2.2.1.ebuild,v 1.2 2012/08/14 00:48:44 flameeyes Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gettext/ruby-gettext-2.2.1.ebuild,v 1.3 2012/10/25 21:08:53 blueness Exp $
EAPI=4
@ -22,7 +22,7 @@ inherit ruby-fakegem
DESCRIPTION="Ruby GetText Package is Native Language Support Library and Tools modeled after GNU gettext package"
HOMEPAGE="http://www.yotabanana.com/hiki/ruby-gettext.html"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-macos"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-macos"
IUSE="doc test"
SLOT="0"
LICENSE="Ruby"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/yard-0.8.2.1.ebuild,v 1.2 2012/08/13 23:09:54 flameeyes Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/yard/yard-0.8.2.1.ebuild,v 1.3 2012/10/25 21:09:49 blueness Exp $
EAPI=4
@ -25,7 +25,7 @@ RUBY_S="lsegal-yard-*"
LICENSE="as-is" # truly
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RUBY_PATCHES=( ${P}-test-failures.patch )

@ -11,3 +11,4 @@ DIST boost_1_47_0.tar.bz2 45952657 SHA256 815a5d9faac4dbd523fbcf3fe1065e443c0bbf
DIST boost_1_48_0.tar.bz2 48236989 SHA256 1bf254b2d69393ccd57a3cdd30a2f80318a005de8883a0792ed2f5e2598e5ada SHA512 f8188d65a47f1f6b34d154eb84ec3afb4ce8730fac0adc2bce629db4eb6994bb1192330b8e18a4d3509ff533a6f2bd91f59f4cb5d5c82b0453a99b2289c754e1 WHIRLPOOL a74ecca3fb611ebe7b3627aefe6a651ba2da8a8095ee1fa6e49b57fe6510cd947d81e5aea7ebb7523667a33aa9aa2783e182e39fc5f79f2bddc5faec80cff0e2
DIST boost_1_49_0.tar.bz2 48499961 SHA256 dd748a7f5507a7e7af74f452e1c52a64e651ed1f7263fce438a06641d2180d3c SHA512 9f6198270659df112a57731afe31cbf1012d103ba36ed82f6c3f1bdc0185ddb89dcc42c5dfb9ee3f95973d52999aad6c7509dc61125420d45146e39ebf20219d WHIRLPOOL c049b4212307b0208d0b37ac870a7cfb8562d2b685ce505e1971af7bc68ae9746b06ea80ddc52599ed4cbd6dc3305b5f8051cd771387412aaa1d2f8e939a48ba
DIST boost_1_50_0.tar.bz2 50786885 SHA256 c9ace2b8c81fa6703d1d17c7e478de3bc51101c5adbdeb3f6cb72cf3045a8529 SHA512 5909a2eca520a28af31de6a36c51f57b11fddcc0a51493a1e500ade00d9c4e78175c4892c04857ee385f3874f96e561b74b6427e1a155102e926421067d889fe WHIRLPOOL f5f5d9bc2e321da270dbaab04e0ec898240010720e77b362fac7266896a67b1eaa2e71a1d0e948057f55578dca5998e4faf8dc300e2c92608ee06316092bd08c
DIST boost_1_51_0.tar.bz2 50811407 SHA256 fb2d2335a29ee7fe040a197292bfce982af84a645c81688a915c84c925b69696 SHA512 43a45ff34879328c57e1694e199b895d7535df7cdf78b127ec2649841ac5973f2dddbc0b00a1ed71f2347def6d44f1d8cc5c0deea120f60f53714ebe28046478 WHIRLPOOL 2cfe8ff8b1b812f1a2d02cad25a06fe2a824ef319d95e113fc307d432ff54f2367ac86d922517ce63fce2335b14a9d86ec0c9858b10466b4bf76d28c1ceca828

@ -0,0 +1,139 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.51.0.ebuild,v 1.1 2012/10/25 21:55:36 floppym Exp $
EAPI="5"
PYTHON_DEPEND="python? 2"
inherit eutils flag-o-matic python toolchain-funcs versionator
MY_PV=$(replace_all_version_separators _)
MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))"
DESCRIPTION="A system for large project software construction, which is simple to use and powerful."
HOMEPAGE="http://www.boost.org/doc/tools/build/index.html"
SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2"
LICENSE="Boost-1.0"
SLOT="$(get_version_component_range 1-2)"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="examples python test"
RDEPEND="!<dev-libs/boost-1.34.0
!<=dev-util/boost-build-1.35.0-r1"
DEPEND="${RDEPEND}
test? ( =dev-lang/python-2*
sys-apps/diffutils )"
S="${WORKDIR}/boost_${MY_PV}/tools/build/v2"
pkg_setup() {
if use python; then
python_set_active_version 2
python_pkg_setup
fi
}
src_unpack() {
tar xjpf "${DISTDIR}/${A}" ./boost_${MY_PV}/tools/build/v2 || die "unpacking tar failed"
}
src_prepare() {
epatch \
"${FILESDIR}/${PN}-1.48.0-support_dots_in_python-buildid.patch" \
"${FILESDIR}/${PN}-1.48.0-disable_python_rpath.patch" \
"${FILESDIR}/${PN}-1.50.0-respect-c_ld-flags.patch" \
"${FILESDIR}/${PN}-1.50.0-fix-test.patch"
# Remove stripping option
cd "${S}/engine"
sed -i -e 's|-s\b||' \
build.jam || die "sed failed"
# Force regeneration
rm jambase.c || die
# This patch allows us to fully control optimization
# and stripping flags when bjam is used as build-system
# We simply extend the optimization and debug-symbols feature
# with empty dummies called 'none'
cd "${S}"
sed -i \
-e 's/\(off speed space\)/\1 none/' \
-e 's/\(debug-symbols : on off\)/\1 none/' \
tools/builtin.jam || die "sed failed"
}
src_configure() {
# For slotting
sed -i \
-e "s|/usr/share/boost-build|/usr/share/boost-build-${MAJOR_PV}|" \
engine/Jambase || die "sed failed"
if use python; then
# replace versions by user-selected one (TODO: fix this when slot-op
# deps are available to always match the best version available)
sed -i \
-e "s|2.7 2.6 2.5 2.4 2.3 2.2|${PYTHON_ABI}|" \
engine/build.jam || die "sed failed"
fi
}
src_compile() {
cd engine
local toolset
if [[ ${CHOST} == *-darwin* ]]; then
toolset=darwin
else
# Using boost's generic toolset here, which respects CC and CFLAGS
toolset=cc
fi
CC=$(tc-getCC) ./build.sh ${toolset} -d+2 $(use_with python python /usr) || die "building bjam failed"
}
src_install() {
newbin engine/bin.*/bjam bjam-${MAJOR_PV}
newbin engine/bin.*/b2 b2-${MAJOR_PV}
insinto /usr/share/boost-build-${MAJOR_PV}
doins -r "${FILESDIR}/site-config.jam" \
boost-build.jam bootstrap.jam build-system.jam user-config.jam *.py \
build kernel options tools util
rm "${D}/usr/share/boost-build-${MAJOR_PV}/build/project.ann.py" || die "removing faulty python file failed"
if ! use python; then
find "${D}/usr/share/boost-build-${MAJOR_PV}" -iname "*.py" -delete || die "removing experimental python files failed"
fi
dodoc changes.txt hacking.txt release_procedure.txt \
notes/build_dir_option.txt notes/relative_source_paths.txt
if use examples; then
insinto /usr/share/doc/${PF}
doins -r example
fi
}
src_test() {
cd test
export TMP="${T}"
DO_DIFF="${PREFIX}/usr/bin/diff" $(PYTHON -2) test_all.py
if [[ -s test_results.txt ]]; then
eerror "At least one test failed: $(<test_results.txt)"
die "tests failed"
fi
}
pkg_postinst() {
use python && python_mod_optimize /usr/share/boost-build-${MAJOR_PV}
}
pkg_postrm() {
use python && python_mod_cleanup /usr/share/boost-build-${MAJOR_PV}
}

@ -1,7 +1,3 @@
DIST subversion-1.6.17.tar.bz2 5504298 SHA256 d629c657e171616d30cc0cbddf1011a065770813bfc32f78c6940d09ca868124 SHA512 ec034b979f127e9338664a4ca0061c252f6fab7c094eee58eddaa175543456c1e1e1211a123f1e4ea1417f5f6c5c9b87abfb9d4039eb14f31cac38185934eb97 WHIRLPOOL 0d1d664c9410576c68bc10d772136193f6474947bacf10788636fdbd516e637df13d8ad70bab7c7e122713e747f8d494c0c54eca7da9d4ca518613d51331553b
DIST subversion-1.7.0.tar.bz2 5953297 SHA256 64fd5f263a80e609717a3ca42f1f2625606a5c4a40a85716f82c866033780978 SHA512 19d46306db509774a2bd15190b82c14ce9d0eff07df724cf761986582b05d2d02fbf86c1f527a50f8a8e332a27c11ef3f9f9bb5e5d422b144275b4ff9b40f265 WHIRLPOOL f0ba8f2f049194abf0e1d536eb185b0dc467f69c72def99a6783f7f18ca827335627b0fdc7cc1fbe57ab7a67d89b825c11c9a9626a5808a116af4ffa3a73699b
DIST subversion-1.7.1.tar.bz2 5973480 SHA256 d34bde626fac1aa553f5c9aeedf961999a77cc31540ace18da5aeacdd03d6608 SHA512 2918b8844da54a14f71294d4482e629d996431bc14ae92dfee9c172d7ed5a46186b5e93cca5e6b835709c28a033f17cd189c6304784b7f858cd3042091368d90 WHIRLPOOL b5df7fc85c436de33b3e9093694f9a37e046c6d517f2678828b72a81f88a4905bfa2bbccff6fca4bd06b5fb26cff523a987a87d0dc32bb8aa1dd80d7d853ae49
DIST subversion-1.7.2.tar.bz2 5944987 SHA256 7eb3e1ae2b0385e1cc20ca9e1839e0ef0ac98a7455dc52ba4cdf567547bfc517 SHA512 87bbc21af68ec98e15142511ababc7b28e427450803c47c4a191e0f1de9f2ebf6e94e4063bf91df23ae30b6aecac28d64fa18793027f6d928e19f10ba91d2785 WHIRLPOOL 9d34f171eea8af2481bbc3516c6e0ff97238385cd86d75edb5fc8e602ddb5da3c14b45c29ac57a32ba3800a70dfc689e27c423a9d470134b02eed846ce530e6a
DIST subversion-1.7.4.tar.bz2 5978020 SHA256 c4c736f5d94a93b5862d1d2452353146c8aeaae33ccec67649bba91f91ad506f SHA512 fd99a089bb2673f61686199446f6df0795b45be101a7e823ec481597ff5c17c11843c9e36deb5e178712a96291b146efaa3111eb59097146f5fae38d20de77ba WHIRLPOOL aa80f7bf327dd869dbd87dbce3a6a12fb462c687f01155c98f91058c33c2b5a74d5e0ae3a6f4c72d305a20cd2f0d0922213565be3400282e4fb1124977efcdfb
DIST subversion-1.7.5.tar.bz2 6002955 SHA256 cb23ccd08b0c1f0c66fdcda773265e404d95f378493ba64b49dbaaf54ae44aec SHA512 8447e0b9c4b0647480e55b0d8c09cf2940bf3d3ecda6cae28717423086a8334d36ce62ef066f8c1d918e85395287fed0a3e38d6c128a6d48559bac2cd95e85d4 WHIRLPOOL 5fba33c8a7171d2c6b0aaf1416934c598a5ee46e20b00bb4b0d832d6e08d6a0f85ade4752ece29b1fb51539317790f4f3a7bd381382ed1d0fa79179441dd4613
DIST subversion-1.7.6.tar.bz2 6006767 SHA256 d1a4f13c5c992a1527a2aeac262c6f54e073963ce1d13abfabb2a90980fa7d05 SHA512 bced624139b3a284918edce59419a9933080ecfd861e8eaf3a7abc56c72c1e9b50d8ff3fc6185783d5b537c5be87c1e328ad42288bc063103b456c3d376c42ce WHIRLPOOL 7425ad97d27cb127a6e45845ccc419d5f9bc61101c6d675565f08af96bb8f27ea06ecd1116f214f23e8465529aa17aee53c33319b618ac12e4e912e707bce2a8
DIST subversion-1.7.7.tar.bz2 6023686 SHA256 fc85a9341d1dc275b279e470776014b02328a028e48a7ac7868ac07d4a40a321 SHA512 0ce0a22e05c76132d9a1650cee3d7fdf6eb7606eb7197ee604e48129e6e3ba7ebc910d71c756ef2aced7100c8cd9a7d1dc3da8744315be0a8c506fdafa8ada19 WHIRLPOOL d0c82ab9abd8e95cbd5a5cf0d082a5b1eda7451bfaa5754d33a10279d94548f8c1457b3089c4bbb3347569b96be293e04371c05965ab2019aa38084831bc111d

@ -1,437 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.7.0.ebuild,v 1.5 2012/07/20 16:19:07 kensington Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
WANT_AUTOMAKE="none"
MY_P="${P/_/-}"
inherit autotools base bash-completion db-use depend.apache elisp-common flag-o-matic java-pkg-opt-2 libtool multilib perl-module python user
DESCRIPTION="Advanced version control system"
HOMEPAGE="http://subversion.apache.org/"
SRC_URI="http://www.apache.org/dist/${PN}/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="Subversion"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="apache2 berkdb ctypes-python debug doc +dso extras gnome-keyring java kde nls perl python ruby sasl vim-syntax +webdav-neon webdav-serf"
CDEPEND=">=dev-db/sqlite-3.4
>=dev-libs/apr-1.3:1
>=dev-libs/apr-util-1.3:1
dev-libs/expat
sys-libs/zlib
berkdb? ( >=sys-libs/db-4.0.14 )
ctypes-python? ( =dev-lang/python-2* )
gnome-keyring? ( dev-libs/glib:2 sys-apps/dbus gnome-base/gnome-keyring )
kde? ( sys-apps/dbus x11-libs/qt-core:4 x11-libs/qt-dbus:4 x11-libs/qt-gui:4 >=kde-base/kdelibs-4:4 )
perl? ( dev-lang/perl )
python? ( =dev-lang/python-2* )
ruby? ( >=dev-lang/ruby-1.8.2 )
sasl? ( dev-libs/cyrus-sasl )
webdav-neon? ( >=net-libs/neon-0.28 )
webdav-serf? ( >=net-libs/serf-0.3.0 )"
RDEPEND="${CDEPEND}
apache2? ( www-servers/apache[apache2_modules_dav] )
java? ( >=virtual/jre-1.5 )
kde? ( kde-base/kwalletd )
nls? ( virtual/libintl )
perl? ( dev-perl/URI )"
DEPEND="${CDEPEND}
!!<sys-apps/sandbox-1.6
ctypes-python? ( dev-python/ctypesgen )
doc? ( app-doc/doxygen )
gnome-keyring? ( virtual/pkgconfig )
java? ( >=virtual/jdk-1.5 )
kde? ( virtual/pkgconfig )
nls? ( sys-devel/gettext )
webdav-neon? ( virtual/pkgconfig )"
PATCHES=(
"${FILESDIR}/${PN}-1.5.4-interix.patch"
"${FILESDIR}/${PN}-1.5.6-aix-dso.patch"
"${FILESDIR}/${PN}-1.6.3-hpux-dso.patch"
)
want_apache
pkg_setup() {
if use berkdb; then
local apu_bdb_version="$(${EPREFIX}/usr/bin/apu-1-config --includes \
| grep -Eoe '-I${EPREFIX}/usr/include/db[[:digit:]]\.[[:digit:]]' \
| sed 's:.*b::')"
einfo
if [[ -z "${SVN_BDB_VERSION}" ]]; then
if [[ -n "${apu_bdb_version}" ]]; then
SVN_BDB_VERSION="${apu_bdb_version}"
einfo "Matching db version to apr-util"
else
SVN_BDB_VERSION="$(db_ver_to_slot "$(db_findver sys-libs/db 2>/dev/null)")"
einfo "SVN_BDB_VERSION variable isn't set. You can set it to enforce using of specific version of Berkeley DB."
fi
fi
einfo "Using: Berkeley DB ${SVN_BDB_VERSION}"
einfo
if [[ -n "${apu_bdb_version}" && "${SVN_BDB_VERSION}" != "${apu_bdb_version}" ]]; then
eerror "APR-Util is linked against Berkeley DB ${apu_bdb_version}, but you are trying"
eerror "to build Subversion with support for Berkeley DB ${SVN_BDB_VERSION}."
eerror "Rebuild dev-libs/apr-util or set SVN_BDB_VERSION=\"${apu_bdb_version}\"."
eerror "Aborting to avoid possible run-time crashes."
die "Berkeley DB version mismatch"
fi
fi
depend.apache_pkg_setup
java-pkg-opt-2_pkg_setup
if use ctypes-python || use python; then
python_pkg_setup
fi
if ! use webdav-neon && ! use webdav-serf; then
ewarn "WebDAV support is disabled. You need WebDAV to"
ewarn "access repositories through the HTTP protocol."
ewarn "Consider enabling one of the following USE-flags:"
ewarn " webdav-neon webdav-serf"
echo -ne "\a"
fi
if use debug; then
append-cppflags -DSVN_DEBUG -DAP_DEBUG
fi
# Allow for custom repository locations.
SVN_REPOS_LOC="${SVN_REPOS_LOC:-${EPREFIX}/var/svn}"
}
src_prepare() {
base_src_prepare
fperms +x build/transform_libtool_scripts.sh
sed -i \
-e "s/\(BUILD_RULES=.*\) bdb-test\(.*\)/\1\2/g" \
-e "s/\(BUILD_RULES=.*\) test\(.*\)/\1\2/g" configure.ac
sed -e "/SWIG_PY_INCLUDES=/s/\$ac_cv_python_includes/\\\\\$(PYTHON_INCLUDES)/" -i build/ac-macros/swig.m4 || die "sed failed"
# this bites us in particular on Solaris
sed -i -e '1c\#!/usr/bin/env sh' build/transform_libtool_scripts.sh || \
die "/bin/sh is not POSIX shell!"
eautoconf
elibtoolize
sed -e "s/libsvn_swig_py-1\.la/libsvn_swig_py-\$(PYTHON_VERSION)-1.la/" -i build-outputs.mk || die "sed failed"
}
src_configure() {
local myconf
if use python || use perl || use ruby; then
myconf+=" --with-swig"
else
myconf+=" --without-swig"
fi
if use java; then
myconf+=" --without-junit"
fi
if use kde || use nls; then
myconf+=" --enable-nls"
else
myconf+=" --disable-nls"
fi
case ${CHOST} in
*-solaris*)
# -lintl isn't added for some reason (makes Neon check fail)
use nls && append-libs -lintl
;;
*-aix*)
# avoid recording immediate path to sharedlibs into executables
append-ldflags -Wl,-bnoipath
;;
*-interix*)
# loader crashes on the LD_PRELOADs...
myconf="${myconf} --disable-local-library-preloading"
;;
esac
econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
$(use_with apache2 apxs "${APXS}") \
$(use_with berkdb berkeley-db "db.h:${EPREFIX}/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \
$(use_with ctypes-python ctypesgen "${EPREFIX}/usr") \
$(use_enable dso runtime-module-search) \
$(use_with gnome-keyring) \
$(use_enable java javahl) \
$(use_with java jdk "${JAVA_HOME}") \
$(use_with kde kwallet) \
$(use_with sasl) \
$(use_with webdav-neon neon) \
$(use_with webdav-serf serf "${EPREFIX}/usr") \
${myconf} \
--with-apr="${EPREFIX}/usr/bin/apr-1-config" \
--with-apr-util="${EPREFIX}/usr/bin/apu-1-config" \
--disable-experimental-libtool \
--without-jikes \
--enable-local-library-preloading \
--disable-mod-activation \
--disable-neon-version-check \
--disable-static \
--with-sqlite="${EPREFIX}/usr"
}
src_compile() {
emake local-all || die "Building of core of Subversion failed"
if use ctypes-python; then
python_copy_sources subversion/bindings/ctypes-python
rm -fr subversion/bindings/ctypes-python
ctypes_python_bindings_building() {
rm -f subversion/bindings/ctypes-python
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
emake ctypes-python
}
python_execute_function \
--action-message 'Building of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Building of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
ctypes_python_bindings_building
fi
if use python; then
python_copy_sources subversion/bindings/swig/python
rm -fr subversion/bindings/swig/python
swig_python_bindings_building() {
rm -f subversion/bindings/swig/python
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
emake \
PYTHON_INCLUDES="-I${EPREFIX}$(python_get_includedir)" \
PYTHON_VERSION="$(python_get_version)" \
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
swig-py
}
python_execute_function \
--action-message 'Building of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Building of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
swig_python_bindings_building
fi
if use perl; then
emake swig-pl || die "Building of Subversion SWIG Perl bindings failed"
fi
if use ruby; then
emake swig-rb || die "Building of Subversion SWIG Ruby bindings failed"
fi
if use java; then
emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl || die "Building of Subversion JavaHL library failed"
fi
if use extras; then
emake tools || die "Building of tools failed"
fi
if use doc; then
doxygen doc/doxygen.conf || die "Building of Subversion HTML documentation failed"
if use java; then
emake doc-javahl || die "Building of Subversion JavaHL library HTML documentation failed"
fi
fi
}
src_install() {
emake -j1 DESTDIR="${D}" local-install || die "Installation of core of Subversion failed"
if use ctypes-python; then
ctypes_python_bindings_installation() {
rm -f subversion/bindings/ctypes-python
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
emake DESTDIR="${D}" install-ctypes-python
}
python_execute_function \
--action-message 'Installation of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Installation of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
ctypes_python_bindings_installation
fi
if use python; then
swig_python_bindings_installation() {
rm -f subversion/bindings/swig/python
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
emake \
DESTDIR="${D}" \
PYTHON_VERSION="$(python_get_version)" \
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
install-swig-py
}
python_execute_function \
--action-message 'Installation of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Installation of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
swig_python_bindings_installation
fi
if use ctypes-python || use python; then
python_clean_installation_image -q
fi
if use perl; then
emake DESTDIR="${D}" INSTALLDIRS="vendor" install-swig-pl || die "Installation of Subversion SWIG Perl bindings failed"
fixlocalpod
find "${ED}" "(" -name .packlist -o -name "*.bs" ")" -print0 | xargs -0 rm -fr
fi
if use ruby; then
emake DESTDIR="${D}" install-swig-rb || die "Installation of Subversion SWIG Ruby bindings failed"
fi
if use java; then
emake DESTDIR="${D}" install-javahl || die "Installation of Subversion JavaHL library failed"
java-pkg_regso "${ED}"usr/$(get_libdir)/libsvnjavahl*.so
java-pkg_dojar "${ED}"usr/$(get_libdir)/svn-javahl/svn-javahl.jar
rm -fr "${ED}"usr/$(get_libdir)/svn-javahl/*.jar
fi
# Install Apache module configuration.
if use apache2; then
keepdir "${APACHE_MODULES_CONFDIR}"
insinto "${APACHE_MODULES_CONFDIR}"
doins "${FILESDIR}/47_mod_dav_svn.conf"
fi
# Install Bash Completion, bug 43179.
dobashcompletion tools/client-side/bash_completion subversion
rm -f tools/client-side/bash_completion
# Install hot backup script, bug 54304.
newbin tools/backup/hot-backup.py svn-hot-backup
rm -fr tools/backup
# Install svnserve init-script and xinet.d snippet, bug 43245.
newinitd "${FILESDIR}"/svnserve.initd2 svnserve
newconfd "${FILESDIR}"/svnserve.confd svnserve
insinto /etc/xinetd.d
newins "${FILESDIR}"/svnserve.xinetd svnserve
# Install documentation.
dodoc CHANGES COMMITTERS README
dodoc tools/xslt/svnindex.{css,xsl}
rm -fr tools/xslt
# Install extra files.
if use extras; then
cat << EOF > 80subversion-extras
PATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
ROOTPATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
EOF
doenvd 80subversion-extras
emake DESTDIR="${D}" toolsdir="/usr/$(get_libdir)/subversion/bin" install-tools || die "Installation of tools failed"
find tools "(" -name "*.bat" -o -name "*.in" -o -name ".libs" ")" -print0 | xargs -0 rm -fr
rm -fr tools/client-side/svnmucc
rm -fr tools/server-side/{svn-populate-node-origins-index,svnauthz-validate}*
rm -fr tools/{buildbot,dev,diff,po}
insinto /usr/share/${PN}
doins -r tools
fi
if use doc; then
dohtml -r doc/doxygen/html/* || die "Installation of Subversion HTML documentation failed"
dodoc notes/*
if use java; then
java-pkg_dojavadoc doc/javadoc
fi
fi
find "${D}" '(' -name '*.la' ')' -print0 | xargs -0 rm -f
}
pkg_preinst() {
# Compare versions of Berkeley DB, bug 122877.
if use berkdb && [[ -f "${EROOT}usr/bin/svn" ]]; then
OLD_BDB_VERSION="$(scanelf -nq "${EROOT}usr/$(get_libdir)/libsvn_subr-1.so.0" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
NEW_BDB_VERSION="$(scanelf -nq "${ED}usr/$(get_libdir)/libsvn_subr-1.so.0" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
if [[ "${OLD_BDB_VERSION}" != "${NEW_BDB_VERSION}" ]]; then
CHANGED_BDB_VERSION="1"
fi
fi
}
pkg_postinst() {
use perl && perl-module_pkg_postinst
if use ctypes-python; then
python_mod_optimize csvn
fi
if use python; then
python_mod_optimize libsvn svn
fi
if [[ -n "${CHANGED_BDB_VERSION}" ]]; then
ewarn "You upgraded from an older version of Berkeley DB and may experience"
ewarn "problems with your repository. Run the following commands as root to fix it:"
ewarn " db4_recover -h ${SVN_REPOS_LOC}/repos"
ewarn " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
fi
ewarn "If you run subversion as a daemon, you will need to restart it to avoid module mismatches."
}
pkg_postrm() {
use perl && perl-module_pkg_postrm
if use ctypes-python; then
python_mod_cleanup csvn
fi
if use python; then
python_mod_cleanup libsvn svn
fi
}
pkg_config() {
# Remember: Don't use ${EROOT}${SVN_REPOS_LOC} since ${SVN_REPOS_LOC}
# already has EPREFIX in it
einfo "Initializing the database in ${ROOT}${SVN_REPOS_LOC}..."
if [[ -e "${ROOT}${SVN_REPOS_LOC}/repos" ]]; then
echo "A Subversion repository already exists and I will not overwrite it."
echo "Delete \"${ROOT}${SVN_REPOS_LOC}/repos\" first if you're sure you want to have a clean version."
else
mkdir -p "${ROOT}${SVN_REPOS_LOC}/conf"
einfo "Populating repository directory..."
# Create initial repository.
"${EROOT}usr/bin/svnadmin" create "${ROOT}${SVN_REPOS_LOC}/repos"
einfo "Setting repository permissions..."
SVNSERVE_USER="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_USER}")"
SVNSERVE_GROUP="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_GROUP}")"
if use apache2; then
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="apache"
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="apache"
else
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="svn"
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="svnusers"
enewgroup "${SVNSERVE_GROUP}"
enewuser "${SVNSERVE_USER}" -1 -1 "${SVN_REPOS_LOC}" "${SVNSERVE_GROUP}"
fi
chown -Rf "${SVNSERVE_USER}:${SVNSERVE_GROUP}" "${ROOT}${SVN_REPOS_LOC}/repos"
chmod -Rf go-rwx "${ROOT}${SVN_REPOS_LOC}/conf"
chmod -Rf o-rwx "${ROOT}${SVN_REPOS_LOC}/repos"
fi
}

@ -1,437 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.7.1.ebuild,v 1.6 2012/07/20 16:19:07 kensington Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
WANT_AUTOMAKE="none"
MY_P="${P/_/-}"
inherit autotools base bash-completion db-use depend.apache elisp-common flag-o-matic java-pkg-opt-2 libtool multilib perl-module python user
DESCRIPTION="Advanced version control system"
HOMEPAGE="http://subversion.apache.org/"
SRC_URI="http://www.apache.org/dist/${PN}/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="Subversion"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="apache2 berkdb ctypes-python debug doc +dso extras gnome-keyring java kde nls perl python ruby sasl vim-syntax +webdav-neon webdav-serf"
CDEPEND=">=dev-db/sqlite-3.4
>=dev-libs/apr-1.3:1
>=dev-libs/apr-util-1.3:1
dev-libs/expat
sys-libs/zlib
berkdb? ( >=sys-libs/db-4.0.14 )
ctypes-python? ( =dev-lang/python-2* )
gnome-keyring? ( dev-libs/glib:2 sys-apps/dbus gnome-base/gnome-keyring )
kde? ( sys-apps/dbus x11-libs/qt-core:4 x11-libs/qt-dbus:4 x11-libs/qt-gui:4 >=kde-base/kdelibs-4:4 )
perl? ( dev-lang/perl )
python? ( =dev-lang/python-2* )
ruby? ( >=dev-lang/ruby-1.8.2 )
sasl? ( dev-libs/cyrus-sasl )
webdav-neon? ( >=net-libs/neon-0.28 )
webdav-serf? ( >=net-libs/serf-0.3.0 )"
RDEPEND="${CDEPEND}
apache2? ( www-servers/apache[apache2_modules_dav] )
java? ( >=virtual/jre-1.5 )
kde? ( kde-base/kwalletd )
nls? ( virtual/libintl )
perl? ( dev-perl/URI )"
DEPEND="${CDEPEND}
!!<sys-apps/sandbox-1.6
ctypes-python? ( dev-python/ctypesgen )
doc? ( app-doc/doxygen )
gnome-keyring? ( virtual/pkgconfig )
java? ( >=virtual/jdk-1.5 )
kde? ( virtual/pkgconfig )
nls? ( sys-devel/gettext )
webdav-neon? ( virtual/pkgconfig )"
PATCHES=(
"${FILESDIR}/${PN}-1.5.4-interix.patch"
"${FILESDIR}/${PN}-1.5.6-aix-dso.patch"
"${FILESDIR}/${PN}-1.6.3-hpux-dso.patch"
)
want_apache
pkg_setup() {
if use berkdb; then
local apu_bdb_version="$(${EPREFIX}/usr/bin/apu-1-config --includes \
| grep -Eoe '-I${EPREFIX}/usr/include/db[[:digit:]]\.[[:digit:]]' \
| sed 's:.*b::')"
einfo
if [[ -z "${SVN_BDB_VERSION}" ]]; then
if [[ -n "${apu_bdb_version}" ]]; then
SVN_BDB_VERSION="${apu_bdb_version}"
einfo "Matching db version to apr-util"
else
SVN_BDB_VERSION="$(db_ver_to_slot "$(db_findver sys-libs/db 2>/dev/null)")"
einfo "SVN_BDB_VERSION variable isn't set. You can set it to enforce using of specific version of Berkeley DB."
fi
fi
einfo "Using: Berkeley DB ${SVN_BDB_VERSION}"
einfo
if [[ -n "${apu_bdb_version}" && "${SVN_BDB_VERSION}" != "${apu_bdb_version}" ]]; then
eerror "APR-Util is linked against Berkeley DB ${apu_bdb_version}, but you are trying"
eerror "to build Subversion with support for Berkeley DB ${SVN_BDB_VERSION}."
eerror "Rebuild dev-libs/apr-util or set SVN_BDB_VERSION=\"${apu_bdb_version}\"."
eerror "Aborting to avoid possible run-time crashes."
die "Berkeley DB version mismatch"
fi
fi
depend.apache_pkg_setup
java-pkg-opt-2_pkg_setup
if use ctypes-python || use python; then
python_pkg_setup
fi
if ! use webdav-neon && ! use webdav-serf; then
ewarn "WebDAV support is disabled. You need WebDAV to"
ewarn "access repositories through the HTTP protocol."
ewarn "Consider enabling one of the following USE-flags:"
ewarn " webdav-neon webdav-serf"
echo -ne "\a"
fi
if use debug; then
append-cppflags -DSVN_DEBUG -DAP_DEBUG
fi
# Allow for custom repository locations.
SVN_REPOS_LOC="${SVN_REPOS_LOC:-${EPREFIX}/var/svn}"
}
src_prepare() {
base_src_prepare
fperms +x build/transform_libtool_scripts.sh
sed -i \
-e "s/\(BUILD_RULES=.*\) bdb-test\(.*\)/\1\2/g" \
-e "s/\(BUILD_RULES=.*\) test\(.*\)/\1\2/g" configure.ac
sed -e "/SWIG_PY_INCLUDES=/s/\$ac_cv_python_includes/\\\\\$(PYTHON_INCLUDES)/" -i build/ac-macros/swig.m4 || die "sed failed"
# this bites us in particular on Solaris
sed -i -e '1c\#!/usr/bin/env sh' build/transform_libtool_scripts.sh || \
die "/bin/sh is not POSIX shell!"
eautoconf
elibtoolize
sed -e "s/libsvn_swig_py-1\.la/libsvn_swig_py-\$(PYTHON_VERSION)-1.la/" -i build-outputs.mk || die "sed failed"
}
src_configure() {
local myconf
if use python || use perl || use ruby; then
myconf+=" --with-swig"
else
myconf+=" --without-swig"
fi
if use java; then
myconf+=" --without-junit"
fi
if use kde || use nls; then
myconf+=" --enable-nls"
else
myconf+=" --disable-nls"
fi
case ${CHOST} in
*-solaris*)
# -lintl isn't added for some reason (makes Neon check fail)
use nls && append-libs -lintl
;;
*-aix*)
# avoid recording immediate path to sharedlibs into executables
append-ldflags -Wl,-bnoipath
;;
*-interix*)
# loader crashes on the LD_PRELOADs...
myconf="${myconf} --disable-local-library-preloading"
;;
esac
econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
$(use_with apache2 apxs "${APXS}") \
$(use_with berkdb berkeley-db "db.h:${EPREFIX}/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \
$(use_with ctypes-python ctypesgen "${EPREFIX}/usr") \
$(use_enable dso runtime-module-search) \
$(use_with gnome-keyring) \
$(use_enable java javahl) \
$(use_with java jdk "${JAVA_HOME}") \
$(use_with kde kwallet) \
$(use_with sasl) \
$(use_with webdav-neon neon) \
$(use_with webdav-serf serf "${EPREFIX}/usr") \
${myconf} \
--with-apr="${EPREFIX}/usr/bin/apr-1-config" \
--with-apr-util="${EPREFIX}/usr/bin/apu-1-config" \
--disable-experimental-libtool \
--without-jikes \
--enable-local-library-preloading \
--disable-mod-activation \
--disable-neon-version-check \
--disable-static \
--with-sqlite="${EPREFIX}/usr"
}
src_compile() {
emake local-all || die "Building of core of Subversion failed"
if use ctypes-python; then
python_copy_sources subversion/bindings/ctypes-python
rm -fr subversion/bindings/ctypes-python
ctypes_python_bindings_building() {
rm -f subversion/bindings/ctypes-python
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
emake ctypes-python
}
python_execute_function \
--action-message 'Building of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Building of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
ctypes_python_bindings_building
fi
if use python; then
python_copy_sources subversion/bindings/swig/python
rm -fr subversion/bindings/swig/python
swig_python_bindings_building() {
rm -f subversion/bindings/swig/python
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
emake \
PYTHON_INCLUDES="-I${EPREFIX}$(python_get_includedir)" \
PYTHON_VERSION="$(python_get_version)" \
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
swig-py
}
python_execute_function \
--action-message 'Building of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Building of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
swig_python_bindings_building
fi
if use perl; then
emake swig-pl || die "Building of Subversion SWIG Perl bindings failed"
fi
if use ruby; then
emake swig-rb || die "Building of Subversion SWIG Ruby bindings failed"
fi
if use java; then
emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl || die "Building of Subversion JavaHL library failed"
fi
if use extras; then
emake tools || die "Building of tools failed"
fi
if use doc; then
doxygen doc/doxygen.conf || die "Building of Subversion HTML documentation failed"
if use java; then
emake doc-javahl || die "Building of Subversion JavaHL library HTML documentation failed"
fi
fi
}
src_install() {
emake -j1 DESTDIR="${D}" local-install || die "Installation of core of Subversion failed"
if use ctypes-python; then
ctypes_python_bindings_installation() {
rm -f subversion/bindings/ctypes-python
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
emake DESTDIR="${D}" install-ctypes-python
}
python_execute_function \
--action-message 'Installation of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Installation of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
ctypes_python_bindings_installation
fi
if use python; then
swig_python_bindings_installation() {
rm -f subversion/bindings/swig/python
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
emake \
DESTDIR="${D}" \
PYTHON_VERSION="$(python_get_version)" \
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
install-swig-py
}
python_execute_function \
--action-message 'Installation of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Installation of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
swig_python_bindings_installation
fi
if use ctypes-python || use python; then
python_clean_installation_image -q
fi
if use perl; then
emake DESTDIR="${D}" INSTALLDIRS="vendor" install-swig-pl || die "Installation of Subversion SWIG Perl bindings failed"
fixlocalpod
find "${ED}" "(" -name .packlist -o -name "*.bs" ")" -print0 | xargs -0 rm -fr
fi
if use ruby; then
emake DESTDIR="${D}" install-swig-rb || die "Installation of Subversion SWIG Ruby bindings failed"
fi
if use java; then
emake DESTDIR="${D}" install-javahl || die "Installation of Subversion JavaHL library failed"
java-pkg_regso "${ED}"usr/$(get_libdir)/libsvnjavahl*$(get_libname)
java-pkg_dojar "${ED}"usr/$(get_libdir)/svn-javahl/svn-javahl.jar
rm -fr "${ED}"usr/$(get_libdir)/svn-javahl/*.jar
fi
# Install Apache module configuration.
if use apache2; then
keepdir "${APACHE_MODULES_CONFDIR}"
insinto "${APACHE_MODULES_CONFDIR}"
doins "${FILESDIR}/47_mod_dav_svn.conf"
fi
# Install Bash Completion, bug 43179.
dobashcompletion tools/client-side/bash_completion subversion
rm -f tools/client-side/bash_completion
# Install hot backup script, bug 54304.
newbin tools/backup/hot-backup.py svn-hot-backup
rm -fr tools/backup
# Install svnserve init-script and xinet.d snippet, bug 43245.
newinitd "${FILESDIR}"/svnserve.initd2 svnserve
newconfd "${FILESDIR}"/svnserve.confd svnserve
insinto /etc/xinetd.d
newins "${FILESDIR}"/svnserve.xinetd svnserve
# Install documentation.
dodoc CHANGES COMMITTERS README
dodoc tools/xslt/svnindex.{css,xsl}
rm -fr tools/xslt
# Install extra files.
if use extras; then
cat << EOF > 80subversion-extras
PATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
ROOTPATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
EOF
doenvd 80subversion-extras
emake DESTDIR="${D}" toolsdir="/usr/$(get_libdir)/subversion/bin" install-tools || die "Installation of tools failed"
find tools "(" -name "*.bat" -o -name "*.in" -o -name ".libs" ")" -print0 | xargs -0 rm -fr
rm -fr tools/client-side/svnmucc
rm -fr tools/server-side/{svn-populate-node-origins-index,svnauthz-validate}*
rm -fr tools/{buildbot,dev,diff,po}
insinto /usr/share/${PN}
doins -r tools
fi
if use doc; then
dohtml -r doc/doxygen/html/* || die "Installation of Subversion HTML documentation failed"
dodoc notes/*
if use java; then
java-pkg_dojavadoc doc/javadoc
fi
fi
find "${D}" '(' -name '*.la' ')' -print0 | xargs -0 rm -f
}
pkg_preinst() {
# Compare versions of Berkeley DB, bug 122877.
if use berkdb && [[ -f "${EROOT}usr/bin/svn" ]]; then
OLD_BDB_VERSION="$(scanelf -nq "${EROOT}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
NEW_BDB_VERSION="$(scanelf -nq "${ED}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
if [[ "${OLD_BDB_VERSION}" != "${NEW_BDB_VERSION}" ]]; then
CHANGED_BDB_VERSION="1"
fi
fi
}
pkg_postinst() {
use perl && perl-module_pkg_postinst
if use ctypes-python; then
python_mod_optimize csvn
fi
if use python; then
python_mod_optimize libsvn svn
fi
if [[ -n "${CHANGED_BDB_VERSION}" ]]; then
ewarn "You upgraded from an older version of Berkeley DB and may experience"
ewarn "problems with your repository. Run the following commands as root to fix it:"
ewarn " db4_recover -h ${SVN_REPOS_LOC}/repos"
ewarn " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
fi
ewarn "If you run subversion as a daemon, you will need to restart it to avoid module mismatches."
}
pkg_postrm() {
use perl && perl-module_pkg_postrm
if use ctypes-python; then
python_mod_cleanup csvn
fi
if use python; then
python_mod_cleanup libsvn svn
fi
}
pkg_config() {
# Remember: Don't use ${EROOT}${SVN_REPOS_LOC} since ${SVN_REPOS_LOC}
# already has EPREFIX in it
einfo "Initializing the database in ${ROOT}${SVN_REPOS_LOC}..."
if [[ -e "${ROOT}${SVN_REPOS_LOC}/repos" ]]; then
echo "A Subversion repository already exists and I will not overwrite it."
echo "Delete \"${ROOT}${SVN_REPOS_LOC}/repos\" first if you're sure you want to have a clean version."
else
mkdir -p "${ROOT}${SVN_REPOS_LOC}/conf"
einfo "Populating repository directory..."
# Create initial repository.
"${EROOT}usr/bin/svnadmin" create "${ROOT}${SVN_REPOS_LOC}/repos"
einfo "Setting repository permissions..."
SVNSERVE_USER="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_USER}")"
SVNSERVE_GROUP="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_GROUP}")"
if use apache2; then
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="apache"
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="apache"
else
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="svn"
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="svnusers"
enewgroup "${SVNSERVE_GROUP}"
enewuser "${SVNSERVE_USER}" -1 -1 "${SVN_REPOS_LOC}" "${SVNSERVE_GROUP}"
fi
chown -Rf "${SVNSERVE_USER}:${SVNSERVE_GROUP}" "${ROOT}${SVN_REPOS_LOC}/repos"
chmod -Rf go-rwx "${ROOT}${SVN_REPOS_LOC}/conf"
chmod -Rf o-rwx "${ROOT}${SVN_REPOS_LOC}/repos"
fi
}

@ -1,438 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.7.2.ebuild,v 1.6 2012/07/20 16:19:07 kensington Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
WANT_AUTOMAKE="none"
MY_P="${P/_/-}"
inherit autotools base bash-completion-r1 db-use depend.apache elisp-common flag-o-matic java-pkg-opt-2 libtool multilib perl-module python user
DESCRIPTION="Advanced version control system"
HOMEPAGE="http://subversion.apache.org/"
SRC_URI="http://www.apache.org/dist/${PN}/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="Subversion"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="apache2 berkdb ctypes-python debug doc +dso extras gnome-keyring java kde nls perl python ruby sasl vim-syntax +webdav-neon webdav-serf"
CDEPEND=">=dev-db/sqlite-3.4
>=dev-libs/apr-1.3:1
>=dev-libs/apr-util-1.3:1
dev-libs/expat
sys-libs/zlib
berkdb? ( >=sys-libs/db-4.0.14 )
ctypes-python? ( =dev-lang/python-2* )
gnome-keyring? ( dev-libs/glib:2 sys-apps/dbus gnome-base/gnome-keyring )
kde? ( sys-apps/dbus x11-libs/qt-core:4 x11-libs/qt-dbus:4 x11-libs/qt-gui:4 >=kde-base/kdelibs-4:4 )
perl? ( dev-lang/perl )
python? ( =dev-lang/python-2* )
ruby? ( >=dev-lang/ruby-1.8.2 )
sasl? ( dev-libs/cyrus-sasl )
webdav-neon? ( >=net-libs/neon-0.28 )
webdav-serf? ( >=net-libs/serf-0.3.0 )"
RDEPEND="${CDEPEND}
apache2? ( www-servers/apache[apache2_modules_dav] )
java? ( >=virtual/jre-1.5 )
kde? ( kde-base/kwalletd )
nls? ( virtual/libintl )
perl? ( dev-perl/URI )"
DEPEND="${CDEPEND}
!!<sys-apps/sandbox-1.6
ctypes-python? ( dev-python/ctypesgen )
doc? ( app-doc/doxygen )
gnome-keyring? ( virtual/pkgconfig )
java? ( >=virtual/jdk-1.5 )
kde? ( virtual/pkgconfig )
nls? ( sys-devel/gettext )
webdav-neon? ( virtual/pkgconfig )"
PATCHES=(
"${FILESDIR}/${PN}-1.5.4-interix.patch"
"${FILESDIR}/${PN}-1.5.6-aix-dso.patch"
"${FILESDIR}/${PN}-1.6.3-hpux-dso.patch"
)
want_apache
pkg_setup() {
if use berkdb; then
local apu_bdb_version="$(${EPREFIX}/usr/bin/apu-1-config --includes \
| grep -Eoe '-I${EPREFIX}/usr/include/db[[:digit:]]\.[[:digit:]]' \
| sed 's:.*b::')"
einfo
if [[ -z "${SVN_BDB_VERSION}" ]]; then
if [[ -n "${apu_bdb_version}" ]]; then
SVN_BDB_VERSION="${apu_bdb_version}"
einfo "Matching db version to apr-util"
else
SVN_BDB_VERSION="$(db_ver_to_slot "$(db_findver sys-libs/db 2>/dev/null)")"
einfo "SVN_BDB_VERSION variable isn't set. You can set it to enforce using of specific version of Berkeley DB."
fi
fi
einfo "Using: Berkeley DB ${SVN_BDB_VERSION}"
einfo
if [[ -n "${apu_bdb_version}" && "${SVN_BDB_VERSION}" != "${apu_bdb_version}" ]]; then
eerror "APR-Util is linked against Berkeley DB ${apu_bdb_version}, but you are trying"
eerror "to build Subversion with support for Berkeley DB ${SVN_BDB_VERSION}."
eerror "Rebuild dev-libs/apr-util or set SVN_BDB_VERSION=\"${apu_bdb_version}\"."
eerror "Aborting to avoid possible run-time crashes."
die "Berkeley DB version mismatch"
fi
fi
depend.apache_pkg_setup
java-pkg-opt-2_pkg_setup
if use ctypes-python || use python; then
python_pkg_setup
fi
if ! use webdav-neon && ! use webdav-serf; then
ewarn "WebDAV support is disabled. You need WebDAV to"
ewarn "access repositories through the HTTP protocol."
ewarn "Consider enabling one of the following USE-flags:"
ewarn " webdav-neon webdav-serf"
echo -ne "\a"
fi
if use debug; then
append-cppflags -DSVN_DEBUG -DAP_DEBUG
fi
# Allow for custom repository locations.
SVN_REPOS_LOC="${SVN_REPOS_LOC:-${EPREFIX}/var/svn}"
}
src_prepare() {
base_src_prepare
fperms +x build/transform_libtool_scripts.sh
sed -i \
-e "s/\(BUILD_RULES=.*\) bdb-test\(.*\)/\1\2/g" \
-e "s/\(BUILD_RULES=.*\) test\(.*\)/\1\2/g" configure.ac
sed -e "/SWIG_PY_INCLUDES=/s/\$ac_cv_python_includes/\\\\\$(PYTHON_INCLUDES)/" -i build/ac-macros/swig.m4 || die "sed failed"
# this bites us in particular on Solaris
sed -i -e '1c\#!/usr/bin/env sh' build/transform_libtool_scripts.sh || \
die "/bin/sh is not POSIX shell!"
eautoconf
elibtoolize
sed -e "s/libsvn_swig_py-1\.la/libsvn_swig_py-\$(PYTHON_VERSION)-1.la/" -i build-outputs.mk || die "sed failed"
}
src_configure() {
local myconf
if use python || use perl || use ruby; then
myconf+=" --with-swig"
else
myconf+=" --without-swig"
fi
if use java; then
myconf+=" --without-junit"
fi
if use kde || use nls; then
myconf+=" --enable-nls"
else
myconf+=" --disable-nls"
fi
case ${CHOST} in
*-aix*)
# avoid recording immediate path to sharedlibs into executables
append-ldflags -Wl,-bnoipath
;;
*-interix*)
# loader crashes on the LD_PRELOADs...
myconf="${myconf} --disable-local-library-preloading"
;;
esac
econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
$(use_with apache2 apxs "${APXS}") \
$(use_with berkdb berkeley-db "db.h:${EPREFIX}/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \
$(use_with ctypes-python ctypesgen "${EPREFIX}/usr") \
$(use_enable dso runtime-module-search) \
$(use_with gnome-keyring) \
$(use_enable java javahl) \
$(use_with java jdk "${JAVA_HOME}") \
$(use_with kde kwallet) \
$(use_with sasl) \
$(use_with webdav-neon neon) \
$(use_with webdav-serf serf "${EPREFIX}/usr") \
${myconf} \
--with-apr="${EPREFIX}/usr/bin/apr-1-config" \
--with-apr-util="${EPREFIX}/usr/bin/apu-1-config" \
--disable-experimental-libtool \
--without-jikes \
--enable-local-library-preloading \
--disable-mod-activation \
--disable-neon-version-check \
--disable-static \
--with-sqlite="${EPREFIX}/usr"
}
src_compile() {
emake local-all || die "Building of core of Subversion failed"
if use ctypes-python; then
python_copy_sources subversion/bindings/ctypes-python
rm -fr subversion/bindings/ctypes-python
ctypes_python_bindings_building() {
rm -f subversion/bindings/ctypes-python
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
emake ctypes-python
}
python_execute_function \
--action-message 'Building of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Building of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
ctypes_python_bindings_building
fi
if use python; then
python_copy_sources subversion/bindings/swig/python
rm -fr subversion/bindings/swig/python
swig_python_bindings_building() {
rm -f subversion/bindings/swig/python
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
emake \
PYTHON_INCLUDES="-I${EPREFIX}$(python_get_includedir)" \
PYTHON_VERSION="$(python_get_version)" \
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
swig-py
}
python_execute_function \
--action-message 'Building of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Building of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
swig_python_bindings_building
fi
if use perl; then
emake swig-pl || die "Building of Subversion SWIG Perl bindings failed"
fi
if use ruby; then
emake swig-rb || die "Building of Subversion SWIG Ruby bindings failed"
fi
if use java; then
emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl || die "Building of Subversion JavaHL library failed"
fi
if use extras; then
emake tools || die "Building of tools failed"
fi
if use doc; then
doxygen doc/doxygen.conf || die "Building of Subversion HTML documentation failed"
if use java; then
emake doc-javahl || die "Building of Subversion JavaHL library HTML documentation failed"
fi
fi
}
src_install() {
emake -j1 DESTDIR="${D}" local-install || die "Installation of core of Subversion failed"
if use ctypes-python; then
ctypes_python_bindings_installation() {
rm -f subversion/bindings/ctypes-python
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
emake DESTDIR="${D}" install-ctypes-python
}
python_execute_function \
--action-message 'Installation of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Installation of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
ctypes_python_bindings_installation
fi
if use python; then
swig_python_bindings_installation() {
rm -f subversion/bindings/swig/python
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
emake \
DESTDIR="${D}" \
PYTHON_VERSION="$(python_get_version)" \
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
install-swig-py
}
python_execute_function \
--action-message 'Installation of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Installation of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
swig_python_bindings_installation
fi
if use ctypes-python || use python; then
python_clean_installation_image -q
fi
if use perl; then
emake DESTDIR="${D}" INSTALLDIRS="vendor" install-swig-pl || die "Installation of Subversion SWIG Perl bindings failed"
fixlocalpod
find "${ED}" "(" -name .packlist -o -name "*.bs" ")" -print0 | xargs -0 rm -fr
fi
if use ruby; then
emake DESTDIR="${D}" install-swig-rb || die "Installation of Subversion SWIG Ruby bindings failed"
fi
if use java; then
emake DESTDIR="${D}" install-javahl || die "Installation of Subversion JavaHL library failed"
java-pkg_regso "${ED}"usr/$(get_libdir)/libsvnjavahl*$(get_libname)
java-pkg_dojar "${ED}"usr/$(get_libdir)/svn-javahl/svn-javahl.jar
rm -fr "${ED}"usr/$(get_libdir)/svn-javahl/*.jar
fi
# Install Apache module configuration.
if use apache2; then
keepdir "${APACHE_MODULES_CONFDIR}"
insinto "${APACHE_MODULES_CONFDIR}"
doins "${FILESDIR}/47_mod_dav_svn.conf"
fi
# Install Bash Completion, bug 43179.
newbashcomp tools/client-side/bash_completion subversion
rm -f tools/client-side/bash_completion
# Install hot backup script, bug 54304.
newbin tools/backup/hot-backup.py svn-hot-backup
rm -fr tools/backup
# Install svnserve init-script and xinet.d snippet, bug 43245.
newinitd "${FILESDIR}"/svnserve.initd2 svnserve
newconfd "${FILESDIR}"/svnserve.confd svnserve
insinto /etc/xinetd.d
newins "${FILESDIR}"/svnserve.xinetd svnserve
#adjust default user and group with disabled apache2 USE flag, bug 381385
use apache2 || sed -e "s\USER:-apache\USER:-svn\g" \
-e "s\GROUP:-apache\GROUP:-svnusers\g" \
-i "${D}"etc/init.d/svnserve
# Install documentation.
dodoc CHANGES COMMITTERS README
dodoc tools/xslt/svnindex.{css,xsl}
rm -fr tools/xslt
# Install extra files.
if use extras; then
cat << EOF > 80subversion-extras
PATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
ROOTPATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
EOF
doenvd 80subversion-extras
emake DESTDIR="${D}" toolsdir="/usr/$(get_libdir)/subversion/bin" install-tools || die "Installation of tools failed"
find tools "(" -name "*.bat" -o -name "*.in" -o -name ".libs" ")" -print0 | xargs -0 rm -fr
rm -fr tools/client-side/svnmucc
rm -fr tools/server-side/{svn-populate-node-origins-index,svnauthz-validate}*
rm -fr tools/{buildbot,dev,diff,po}
insinto /usr/share/${PN}
doins -r tools
fi
if use doc; then
dohtml -r doc/doxygen/html/* || die "Installation of Subversion HTML documentation failed"
dodoc notes/*
if use java; then
java-pkg_dojavadoc doc/javadoc
fi
fi
find "${D}" '(' -name '*.la' ')' -print0 | xargs -0 rm -f
}
pkg_preinst() {
# Compare versions of Berkeley DB, bug 122877.
if use berkdb && [[ -f "${EROOT}usr/bin/svn" ]]; then
OLD_BDB_VERSION="$(scanelf -nq "${EROOT}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
NEW_BDB_VERSION="$(scanelf -nq "${ED}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
if [[ "${OLD_BDB_VERSION}" != "${NEW_BDB_VERSION}" ]]; then
CHANGED_BDB_VERSION="1"
fi
fi
}
pkg_postinst() {
use perl && perl-module_pkg_postinst
if use ctypes-python; then
python_mod_optimize csvn
fi
if use python; then
python_mod_optimize libsvn svn
fi
if [[ -n "${CHANGED_BDB_VERSION}" ]]; then
ewarn "You upgraded from an older version of Berkeley DB and may experience"
ewarn "problems with your repository. Run the following commands as root to fix it:"
ewarn " db4_recover -h ${SVN_REPOS_LOC}/repos"
ewarn " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
fi
ewarn "If you run subversion as a daemon, you will need to restart it to avoid module mismatches."
}
pkg_postrm() {
use perl && perl-module_pkg_postrm
if use ctypes-python; then
python_mod_cleanup csvn
fi
if use python; then
python_mod_cleanup libsvn svn
fi
}
pkg_config() {
# Remember: Don't use ${EROOT}${SVN_REPOS_LOC} since ${SVN_REPOS_LOC}
# already has EPREFIX in it
einfo "Initializing the database in ${ROOT}${SVN_REPOS_LOC}..."
if [[ -e "${ROOT}${SVN_REPOS_LOC}/repos" ]]; then
echo "A Subversion repository already exists and I will not overwrite it."
echo "Delete \"${ROOT}${SVN_REPOS_LOC}/repos\" first if you're sure you want to have a clean version."
else
mkdir -p "${ROOT}${SVN_REPOS_LOC}/conf"
einfo "Populating repository directory..."
# Create initial repository.
"${EROOT}usr/bin/svnadmin" create "${ROOT}${SVN_REPOS_LOC}/repos"
einfo "Setting repository permissions..."
SVNSERVE_USER="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_USER}")"
SVNSERVE_GROUP="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_GROUP}")"
if use apache2; then
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="apache"
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="apache"
else
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="svn"
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="svnusers"
enewgroup "${SVNSERVE_GROUP}"
enewuser "${SVNSERVE_USER}" -1 -1 "${SVN_REPOS_LOC}" "${SVNSERVE_GROUP}"
fi
chown -Rf "${SVNSERVE_USER}:${SVNSERVE_GROUP}" "${ROOT}${SVN_REPOS_LOC}/repos"
chmod -Rf go-rwx "${ROOT}${SVN_REPOS_LOC}/conf"
chmod -Rf o-rwx "${ROOT}${SVN_REPOS_LOC}/repos"
fi
}

@ -1,451 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.7.4.ebuild,v 1.6 2012/07/20 16:19:07 kensington Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
WANT_AUTOMAKE="none"
MY_P="${P/_/-}"
inherit autotools bash-completion-r1 db-use depend.apache elisp-common flag-o-matic java-pkg-opt-2 libtool multilib perl-module python eutils
DESCRIPTION="Advanced version control system"
HOMEPAGE="http://subversion.apache.org/"
SRC_URI="http://www.apache.org/dist/${PN}/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="Subversion"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="apache2 berkdb ctypes-python debug doc +dso extras gnome-keyring java kde nls perl python ruby sasl vim-syntax +webdav-neon webdav-serf"
CDEPEND=">=dev-db/sqlite-3.4
>=dev-libs/apr-1.3:1
>=dev-libs/apr-util-1.3:1
dev-libs/expat
sys-libs/zlib
berkdb? ( >=sys-libs/db-4.0.14 )
ctypes-python? ( =dev-lang/python-2* )
gnome-keyring? ( dev-libs/glib:2 sys-apps/dbus gnome-base/gnome-keyring )
kde? ( sys-apps/dbus x11-libs/qt-core:4 x11-libs/qt-dbus:4 x11-libs/qt-gui:4 >=kde-base/kdelibs-4:4 )
perl? ( dev-lang/perl )
python? ( =dev-lang/python-2* )
ruby? ( >=dev-lang/ruby-1.8.2:1.8 )
sasl? ( dev-libs/cyrus-sasl )
webdav-neon? ( >=net-libs/neon-0.28 )
webdav-serf? ( >=net-libs/serf-0.3.0 )"
RDEPEND="${CDEPEND}
apache2? ( www-servers/apache[apache2_modules_dav] )
java? ( >=virtual/jre-1.5 )
kde? ( kde-base/kwalletd )
nls? ( virtual/libintl )
perl? ( dev-perl/URI )"
DEPEND="${CDEPEND}
!!<sys-apps/sandbox-1.6
ctypes-python? ( dev-python/ctypesgen )
doc? ( app-doc/doxygen )
gnome-keyring? ( virtual/pkgconfig )
java? ( >=virtual/jdk-1.5 )
kde? ( virtual/pkgconfig )
nls? ( sys-devel/gettext )
webdav-neon? ( virtual/pkgconfig )"
want_apache
pkg_setup() {
if use berkdb; then
local apu_bdb_version="$(${EPREFIX}/usr/bin/apu-1-config --includes \
| grep -Eoe '-I${EPREFIX}/usr/include/db[[:digit:]]\.[[:digit:]]' \
| sed 's:.*b::')"
einfo
if [[ -z "${SVN_BDB_VERSION}" ]]; then
if [[ -n "${apu_bdb_version}" ]]; then
SVN_BDB_VERSION="${apu_bdb_version}"
einfo "Matching db version to apr-util"
else
SVN_BDB_VERSION="$(db_ver_to_slot "$(db_findver sys-libs/db 2>/dev/null)")"
einfo "SVN_BDB_VERSION variable isn't set. You can set it to enforce using of specific version of Berkeley DB."
fi
fi
einfo "Using: Berkeley DB ${SVN_BDB_VERSION}"
einfo
if [[ -n "${apu_bdb_version}" && "${SVN_BDB_VERSION}" != "${apu_bdb_version}" ]]; then
eerror "APR-Util is linked against Berkeley DB ${apu_bdb_version}, but you are trying"
eerror "to build Subversion with support for Berkeley DB ${SVN_BDB_VERSION}."
eerror "Rebuild dev-libs/apr-util or set SVN_BDB_VERSION=\"${apu_bdb_version}\"."
eerror "Aborting to avoid possible run-time crashes."
die "Berkeley DB version mismatch"
fi
fi
depend.apache_pkg_setup
java-pkg-opt-2_pkg_setup
if use ctypes-python || use python; then
python_pkg_setup
fi
if ! use webdav-neon && ! use webdav-serf; then
ewarn "WebDAV support is disabled. You need WebDAV to"
ewarn "access repositories through the HTTP protocol."
ewarn "Consider enabling one of the following USE-flags:"
ewarn " webdav-neon webdav-serf"
echo -ne "\a"
fi
if use debug; then
append-cppflags -DSVN_DEBUG -DAP_DEBUG
fi
# Allow for custom repository locations.
SVN_REPOS_LOC="${SVN_REPOS_LOC:-${EPREFIX}/var/svn}"
}
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.5.4-interix.patch \
"${FILESDIR}"/${PN}-1.5.6-aix-dso.patch \
"${FILESDIR}"/${PN}-1.6.3-hpux-dso.patch \
"${FILESDIR}"/${PN}-fix-parallel-build-support-for-perl-bindings.patch
fperms +x build/transform_libtool_scripts.sh
sed -i \
-e "s/\(BUILD_RULES=.*\) bdb-test\(.*\)/\1\2/g" \
-e "s/\(BUILD_RULES=.*\) test\(.*\)/\1\2/g" configure.ac
sed -e "/SWIG_PY_INCLUDES=/s/\$ac_cv_python_includes/\\\\\$(PYTHON_INCLUDES)/" -i build/ac-macros/swig.m4 || die "sed failed"
# this bites us in particular on Solaris
sed -i -e '1c\#!/usr/bin/env sh' build/transform_libtool_scripts.sh || \
die "/bin/sh is not POSIX shell!"
eautoconf
elibtoolize
sed -e "s/libsvn_swig_py-1\.la/libsvn_swig_py-\$(PYTHON_VERSION)-1.la/" -i build-outputs.mk || die "sed failed"
}
src_configure() {
local myconf
if use python || use perl || use ruby; then
myconf+=" --with-swig"
else
myconf+=" --without-swig"
fi
if use java; then
myconf+=" --without-junit"
fi
if use kde || use nls; then
myconf+=" --enable-nls"
else
myconf+=" --disable-nls"
fi
case ${CHOST} in
*-aix*)
# avoid recording immediate path to sharedlibs into executables
append-ldflags -Wl,-bnoipath
;;
*-interix*)
# loader crashes on the LD_PRELOADs...
myconf+=" --disable-local-library-preloading"
;;
esac
#workaround for bug 387057
has_version =dev-vcs/subversion-1.6* && myconf+=" --disable-disallowing-of-undefined-references"
#force ruby-1.8 for bug 399105
ac_cv_path_RUBY="${EPREFIX}"/usr/bin/ruby18 ac_cv_path_RDOC="${EPREFIX}"/usr/bin/rdoc18 \
econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
$(use_with apache2 apxs "${APXS}") \
$(use_with berkdb berkeley-db "db.h:${EPREFIX}/usr/include/db${SVN_BDB_VERSION}::db-${SVN_BDB_VERSION}") \
$(use_with ctypes-python ctypesgen "${EPREFIX}/usr") \
$(use_enable dso runtime-module-search) \
$(use_with gnome-keyring) \
$(use_enable java javahl) \
$(use_with java jdk "${JAVA_HOME}") \
$(use_with kde kwallet) \
$(use_with sasl) \
$(use_with webdav-neon neon) \
$(use_with webdav-serf serf "${EPREFIX}/usr") \
${myconf} \
--with-apr="${EPREFIX}/usr/bin/apr-1-config" \
--with-apr-util="${EPREFIX}/usr/bin/apu-1-config" \
--disable-experimental-libtool \
--without-jikes \
--enable-local-library-preloading \
--disable-mod-activation \
--disable-neon-version-check \
--disable-static \
--with-sqlite="${EPREFIX}/usr"
}
src_compile() {
emake local-all || die "Building of core of Subversion failed"
if use ctypes-python; then
python_copy_sources subversion/bindings/ctypes-python
rm -fr subversion/bindings/ctypes-python
ctypes_python_bindings_building() {
rm -f subversion/bindings/ctypes-python
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
emake ctypes-python
}
python_execute_function \
--action-message 'Building of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Building of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
ctypes_python_bindings_building
fi
if use python; then
python_copy_sources subversion/bindings/swig/python
rm -fr subversion/bindings/swig/python
swig_python_bindings_building() {
rm -f subversion/bindings/swig/python
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
emake \
PYTHON_INCLUDES="-I${EPREFIX}$(python_get_includedir)" \
PYTHON_VERSION="$(python_get_version)" \
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
swig-py
}
python_execute_function \
--action-message 'Building of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Building of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
swig_python_bindings_building
fi
if use perl; then
emake swig-pl || die "Building of Subversion SWIG Perl bindings failed"
fi
if use ruby; then
emake swig-rb || die "Building of Subversion SWIG Ruby bindings failed"
fi
if use java; then
emake -j1 JAVAC_FLAGS="$(java-pkg_javac-args) -encoding iso8859-1" javahl || die "Building of Subversion JavaHL library failed"
fi
if use extras; then
emake tools || die "Building of tools failed"
fi
if use doc; then
doxygen doc/doxygen.conf || die "Building of Subversion HTML documentation failed"
if use java; then
emake doc-javahl || die "Building of Subversion JavaHL library HTML documentation failed"
fi
fi
}
src_install() {
emake -j1 DESTDIR="${D}" local-install || die "Installation of core of Subversion failed"
if use ctypes-python; then
ctypes_python_bindings_installation() {
rm -f subversion/bindings/ctypes-python
ln -s ctypes-python-${PYTHON_ABI} subversion/bindings/ctypes-python
emake DESTDIR="${D}" install-ctypes-python
}
python_execute_function \
--action-message 'Installation of Subversion Ctypes Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Installation of Subversion Ctypes Python bindings failed with $(python_get_implementation) $(python_get_version)' \
ctypes_python_bindings_installation
fi
if use python; then
swig_python_bindings_installation() {
rm -f subversion/bindings/swig/python
ln -s python-${PYTHON_ABI} subversion/bindings/swig/python
emake \
DESTDIR="${D}" \
PYTHON_VERSION="$(python_get_version)" \
swig_pydir="${EPREFIX}$(python_get_sitedir)/libsvn" \
swig_pydir_extra="${EPREFIX}$(python_get_sitedir)/svn" \
install-swig-py
}
python_execute_function \
--action-message 'Installation of Subversion SWIG Python bindings with $(python_get_implementation) $(python_get_version)' \
--failure-message 'Installation of Subversion SWIG Python bindings failed with $(python_get_implementation) $(python_get_version)' \
swig_python_bindings_installation
fi
if use ctypes-python || use python; then
python_clean_installation_image -q
fi
if use perl; then
emake DESTDIR="${D}" INSTALLDIRS="vendor" install-swig-pl || die "Installation of Subversion SWIG Perl bindings failed"
fixlocalpod
find "${ED}" "(" -name .packlist -o -name "*.bs" ")" -print0 | xargs -0 rm -fr
fi
if use ruby; then
emake DESTDIR="${D}" install-swig-rb || die "Installation of Subversion SWIG Ruby bindings failed"
fi
if use java; then
emake DESTDIR="${D}" install-javahl || die "Installation of Subversion JavaHL library failed"
java-pkg_regso "${ED}"usr/$(get_libdir)/libsvnjavahl*$(get_libname)
java-pkg_dojar "${ED}"usr/$(get_libdir)/svn-javahl/svn-javahl.jar
rm -fr "${ED}"usr/$(get_libdir)/svn-javahl/*.jar
fi
# Install Apache module configuration.
if use apache2; then
keepdir "${APACHE_MODULES_CONFDIR}"
insinto "${APACHE_MODULES_CONFDIR}"
doins "${FILESDIR}/47_mod_dav_svn.conf"
fi
# Install Bash Completion, bug 43179.
newbashcomp tools/client-side/bash_completion subversion
rm -f tools/client-side/bash_completion
# Install hot backup script, bug 54304.
newbin tools/backup/hot-backup.py svn-hot-backup
rm -fr tools/backup
# Install svnserve init-script and xinet.d snippet, bug 43245.
newinitd "${FILESDIR}"/svnserve.initd2 svnserve
newconfd "${FILESDIR}"/svnserve.confd svnserve
insinto /etc/xinetd.d
newins "${FILESDIR}"/svnserve.xinetd svnserve
#adjust default user and group with disabled apache2 USE flag, bug 381385
use apache2 || sed -e "s\USER:-apache\USER:-svn\g" \
-e "s\GROUP:-apache\GROUP:-svnusers\g" \
-i "${ED}"etc/init.d/svnserve || die
use apache2 || sed -e "0,/apache/s//svn/" \
-e "s:apache:svnusers:" \
-i "${ED}"etc/xinetd.d/svnserve || die
# Install documentation.
dodoc CHANGES COMMITTERS README
dodoc tools/xslt/svnindex.{css,xsl}
rm -fr tools/xslt
# Install extra files.
if use extras; then
cat << EOF > 80subversion-extras
PATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
ROOTPATH="${EPREFIX}/usr/$(get_libdir)/subversion/bin"
EOF
doenvd 80subversion-extras
emake DESTDIR="${D}" toolsdir="/usr/$(get_libdir)/subversion/bin" install-tools || die "Installation of tools failed"
find tools "(" -name "*.bat" -o -name "*.in" -o -name ".libs" ")" -print0 | xargs -0 rm -fr
rm -fr tools/client-side/svnmucc
rm -fr tools/server-side/{svn-populate-node-origins-index,svnauthz-validate}*
rm -fr tools/{buildbot,dev,diff,po}
insinto /usr/share/${PN}
doins -r tools
fi
if use doc; then
dohtml -r doc/doxygen/html/* || die "Installation of Subversion HTML documentation failed"
dodoc notes/*
if use java; then
java-pkg_dojavadoc doc/javadoc
fi
fi
find "${ED}" '(' -name '*.la' ')' -print0 | xargs -0 rm -f
cd "${ED}"usr/share/locale
for i in * ; do
[[ $i == *$LINGUAS* ]] || { rm -r $i || die ; }
done
}
pkg_preinst() {
# Compare versions of Berkeley DB, bug 122877.
if use berkdb && [[ -f "${EROOT}usr/bin/svn" ]]; then
OLD_BDB_VERSION="$(scanelf -nq "${EROOT}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
NEW_BDB_VERSION="$(scanelf -nq "${ED}usr/$(get_libdir)/libsvn_subr-1$(get_libname 0)" | grep -Eo "libdb-[[:digit:]]+\.[[:digit:]]+" | sed -e "s/libdb-\(.*\)/\1/")"
if [[ "${OLD_BDB_VERSION}" != "${NEW_BDB_VERSION}" ]]; then
CHANGED_BDB_VERSION="1"
fi
fi
}
pkg_postinst() {
use perl && perl-module_pkg_postinst
if use ctypes-python; then
python_mod_optimize csvn
fi
if use python; then
python_mod_optimize libsvn svn
fi
if [[ -n "${CHANGED_BDB_VERSION}" ]]; then
ewarn "You upgraded from an older version of Berkeley DB and may experience"
ewarn "problems with your repository. Run the following commands as root to fix it:"
ewarn " db4_recover -h ${SVN_REPOS_LOC}/repos"
ewarn " chown -Rf apache:apache ${SVN_REPOS_LOC}/repos"
fi
ewarn "If you run subversion as a daemon, you will need to restart it to avoid module mismatches."
}
pkg_postrm() {
use perl && perl-module_pkg_postrm
if use ctypes-python; then
python_mod_cleanup csvn
fi
if use python; then
python_mod_cleanup libsvn svn
fi
}
pkg_config() {
# Remember: Don't use ${EROOT}${SVN_REPOS_LOC} since ${SVN_REPOS_LOC}
# already has EPREFIX in it
einfo "Initializing the database in ${SVN_REPOS_LOC}..."
if [[ -e "${SVN_REPOS_LOC}/repos" ]]; then
echo "A Subversion repository already exists and I will not overwrite it."
echo "Delete \"${SVN_REPOS_LOC}/repos\" first if you're sure you want to have a clean version."
else
mkdir -p "${SVN_REPOS_LOC}/conf"
einfo "Populating repository directory..."
# Create initial repository.
"${EROOT}usr/bin/svnadmin" create "${SVN_REPOS_LOC}/repos"
einfo "Setting repository permissions..."
SVNSERVE_USER="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_USER}")"
SVNSERVE_GROUP="$(. "${EROOT}etc/conf.d/svnserve"; echo "${SVNSERVE_GROUP}")"
if use apache2; then
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="apache"
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="apache"
else
[[ -z "${SVNSERVE_USER}" ]] && SVNSERVE_USER="svn"
[[ -z "${SVNSERVE_GROUP}" ]] && SVNSERVE_GROUP="svnusers"
fi
chmod -Rf go-rwx "${SVN_REPOS_LOC}/conf"
chmod -Rf o-rwx "${SVN_REPOS_LOC}/repos"
echo "Please create \"${SVNSERVE_GROUP}\" group if it does not exist yet."
echo "Afterwards please create \"${SVNSERVE_USER}\" user with homedir \"${SVN_REPOS_LOC}\""
echo "and as part of the \"${SVNSERVE_GROUP}\" group if it does not exist yet."
echo "Finally, execute \"chown -Rf ${SVNSERVE_USER}:${SVNSERVE_GROUP} ${SVN_REPOS_LOC}/repos\""
echo "to finish the configuration."
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.7.6.ebuild,v 1.4 2012/09/03 19:25:39 grobian Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.7.6.ebuild,v 1.5 2012/10/25 17:04:23 tommy Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
@ -363,8 +363,6 @@ EOF
if use doc; then
dohtml -r doc/doxygen/html/* || die "Installation of Subversion HTML documentation failed"
dodoc notes/*
if use java; then
java-pkg_dojavadoc doc/javadoc
fi

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.7.5.ebuild,v 1.2 2012/07/20 16:19:07 kensington Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/subversion/subversion-1.7.7.ebuild,v 1.1 2012/10/25 17:07:41 tommy Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
@ -12,10 +12,10 @@ inherit autotools bash-completion-r1 db-use depend.apache elisp-common flag-o-ma
DESCRIPTION="Advanced version control system"
HOMEPAGE="http://subversion.apache.org/"
SRC_URI="http://www.apache.org/dist/${PN}/${MY_P}.tar.bz2"
SRC_URI="mirror://apache/${PN}/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="Subversion"
LICENSE="Subversion GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="apache2 berkdb ctypes-python debug doc +dso extras gnome-keyring java kde nls perl python ruby sasl vim-syntax +webdav-neon webdav-serf"
@ -108,7 +108,8 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-1.5.4-interix.patch \
"${FILESDIR}"/${PN}-1.5.6-aix-dso.patch \
"${FILESDIR}"/${PN}-1.6.3-hpux-dso.patch \
"${FILESDIR}"/${PN}-fix-parallel-build-support-for-perl-bindings.patch
"${FILESDIR}"/${PN}-fix-parallel-build-support-for-perl-bindings.patch \
"${FILESDIR}"/${PN}-1.7.6-kwallet.patch
fperms +x build/transform_libtool_scripts.sh
@ -156,11 +157,20 @@ src_configure() {
# loader crashes on the LD_PRELOADs...
myconf+=" --disable-local-library-preloading"
;;
*-solaris*)
# need -lintl to link
use nls && append-libs intl
;;
esac
#workaround for bug 387057
has_version =dev-vcs/subversion-1.6* && myconf+=" --disable-disallowing-of-undefined-references"
#version 1.7.7 again tries to link against the older installed version and fails, when trying to
#compile for x86 on amd64, so workaround this issue again
#check newer versions, if this is still/again needed
myconf+=" --disable-disallowing-of-undefined-references"
#force ruby-1.8 for bug 399105
ac_cv_path_RUBY="${EPREFIX}"/usr/bin/ruby18 ac_cv_path_RDOC="${EPREFIX}"/usr/bin/rdoc18 \
econf --libdir="${EPREFIX}/usr/$(get_libdir)" \
@ -183,8 +193,7 @@ src_configure() {
--enable-local-library-preloading \
--disable-mod-activation \
--disable-neon-version-check \
--disable-static \
--with-sqlite="${EPREFIX}/usr"
--disable-static
}
src_compile() {
@ -351,14 +360,13 @@ EOF
rm -fr tools/{buildbot,dev,diff,po}
insinto /usr/share/${PN}
python_convert_shebangs -r 2 tools
doins -r tools
fi
if use doc; then
dohtml -r doc/doxygen/html/* || die "Installation of Subversion HTML documentation failed"
dodoc notes/*
if use java; then
java-pkg_dojavadoc doc/javadoc
fi

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.5 2012/10/23 20:58:05 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.7 2012/10/25 17:42:39 mgorny Exp $
# @ECLASS: distutils-r1
# @MAINTAINER:
@ -256,12 +256,12 @@ distutils-r1_python_install_all() {
local impl EPYTHON PYTHON
for impl in "${PYTHON_COMPAT[@]}"; do
if use "python_targets_${impl}"; then
_python_set_PYTHON "${impl}"
python_export "${impl}" EPYTHON
break
fi
done
for f in "${D}"/{bin,sbin,usr/bin,usr/sbin}/*-"${EPYTHON}"; do
for f in "${D}"/{bin,sbin,usr/bin,usr/sbin,games/bin}/*-"${EPYTHON}"; do
if [[ -x ${f} ]]; then
debug-print "${FUNCNAME}: found executable at ${f#${D}/}"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v 1.3 2012/10/23 20:58:05 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v 1.5 2012/10/25 16:47:30 mgorny Exp $
# @ECLASS: python-r1
# @MAINTAINER:
@ -61,6 +61,11 @@ _PYTHON_ALL_IMPLS=(
# @CODE
# PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
# @CODE
#
# Please note that you can also use bash brace expansion if you like:
# @CODE
# PYTHON_COMPAT=( python{2_5,2_6,2_7} )
# @CODE
if ! declare -p PYTHON_COMPAT &>/dev/null; then
PYTHON_COMPAT=( "${_PYTHON_ALL_IMPLS[@]}" )
fi
@ -154,32 +159,98 @@ _python_set_globals() {
}
_python_set_globals
# @FUNCTION: _python_set_PYTHON
# @USAGE: <impl>
# @INTERNAL
# @ECLASS-VARIABLE: BUILD_DIR
# @DESCRIPTION:
# Get the Python executable name for the given implementation and set it
# as ${PYTHON} & ${EPYTHON}. Please note that EPYTHON will contain
# the 'basename' while PYTHON will contain the full path.
_python_set_PYTHON() {
# The current build directory. In global scope, it is supposed to
# contain an initial build directory; if unset, it defaults to ${S}.
#
# In functions run by python_foreach_impl(), the BUILD_DIR is locally
# set to an implementation-specific build directory. That path is
# created through appending a hyphen and the implementation name
# to the final component of the initial BUILD_DIR.
#
# Example value:
# @CODE
# ${WORKDIR}/foo-1.3-python2_6
# @CODE
# @ECLASS-VARIABLE: PYTHON
# @DESCRIPTION:
# The absolute path to the current Python interpreter.
#
# Set and exported only in commands run by python_foreach_impl().
#
# Example value:
# @CODE
# /usr/bin/python2.6
# @CODE
# @ECLASS-VARIABLE: EPYTHON
# @DESCRIPTION:
# The executable name of the current Python interpreter.
#
# This variable is used consistently with python.eclass.
#
# Set and exported only in commands run by python_foreach_impl().
#
# Example value:
# @CODE
# python2.6
# @CODE
# @FUNCTION: python_export
# @USAGE: [<impl>] <variables>...
# @DESCRIPTION:
# Set and export the Python implementation-relevant variables passed
# as parameters.
#
# The optional first parameter may specify the requested Python
# implementation (either as PYTHON_TARGETS value, e.g. python2_7,
# or an EPYTHON one, e.g. python2.7). If no implementation passed,
# the current one will be obtained from ${EPYTHON}.
#
# The variables which can be exported are: PYTHON, EPYTHON. They are
# described more completely in the eclass variable documentation.
python_export() {
debug-print-function ${FUNCNAME} "${@}"
local impl=${1/_/.}
local impl var
case "${impl}" in
case "${1}" in
python*|jython*)
EPYTHON=${impl}
impl=${1/_/.}
shift
;;
pypy-c*)
impl=${1}
shift
;;
pypy*)
EPYTHON=pypy-c${impl#pypy}
local v=${1#pypy}
impl=pypy-c${v/_/.}
shift
;;
*)
die "Invalid argument to _python_set_PYTHON: ${1}"
impl=${EPYTHON}
[[ ${impl} ]] || die "python_export: no impl nor EPYTHON"
;;
esac
PYTHON=${EPREFIX}/usr/bin/${EPYTHON}
debug-print "${FUNCNAME}: implementation: ${impl}"
debug-print "${FUNCNAME}: ${impl} -> ${PYTHON}"
for var; do
case "${var}" in
EPYTHON)
export EPYTHON=${impl}
debug-print "${FUNCNAME}: EPYTHON = ${EPYTHON}"
;;
PYTHON)
export PYTHON=${EPREFIX}/usr/bin/${impl}
debug-print "${FUNCNAME}: PYTHON = ${PYTHON}"
;;
*)
die "python_export: unknown variable ${var}"
esac
done
}
# @ECLASS-VARIABLE: BUILD_DIR
@ -275,7 +346,7 @@ python_foreach_impl() {
if has "${impl}" "${PYTHON_COMPAT[@]}" && use "python_targets_${impl}"
then
local EPYTHON PYTHON
_python_set_PYTHON "${impl}"
python_export "${impl}" EPYTHON PYTHON
local BUILD_DIR=${bdir%%/}-${impl}
export EPYTHON PYTHON

@ -1,2 +1 @@
DIST byzanz-0.2.2.tar.bz2 369472 RMD160 4b1a19b6af83a373ea32f7f7f436b18d880cd1ae SHA1 fd0264c98fbb52323c630835da7b79d4f569743d SHA256 4d3cdea39e536341f0a083ce003c404496131705ba5ced394d683c00e7fa144c
DIST byzanz-0.2.3.tar.bz2 377610 RMD160 613a1992ee8105d3f103b28e0767068575d2613d SHA1 9fd1b8798364291c82457c2ad0e571f888ad2ac6 SHA256 688505712c961a3ce3812188cb490e6f3bd1a60bb4528bbdcb7ffcf976424d66
DIST byzanz-0.2.3.tar.bz2 377610 SHA256 688505712c961a3ce3812188cb490e6f3bd1a60bb4528bbdcb7ffcf976424d66

@ -1,31 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/byzanz/byzanz-0.2.2.ebuild,v 1.5 2012/05/05 07:00:22 jdhore Exp $
EAPI=2
GCONF_DEBUG=no
inherit gnome2
DESCRIPTION="Screencasting program that saves casts as GIF files"
HOMEPAGE="http://people.freedesktop.org/~company/byzanz/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND=">=x11-libs/libXdamage-1.0
>=dev-libs/glib-2.16:2
>=x11-libs/gtk+-2.17.10:2
>=gnome-base/gconf-2.10
|| ( gnome-base/gnome-panel[bonobo] <gnome-base/gnome-panel-2.32 )
>=media-libs/gst-plugins-base-0.10.24
>=x11-libs/cairo-1.8.10"
DEPEND="${RDEPEND}
virtual/pkgconfig
dev-util/intltool
>=x11-proto/damageproto-1.0"
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/byzanz/byzanz-0.2.3.ebuild,v 1.4 2012/05/05 07:00:22 jdhore Exp $
# $Header: /var/cvsroot/gentoo-x86/media-gfx/byzanz/byzanz-0.2.3.ebuild,v 1.5 2012/10/25 20:21:51 eva Exp $
EAPI="2"
GCONF_DEBUG="no"
@ -20,10 +20,10 @@ RDEPEND=">=x11-libs/libXdamage-1.0
>=x11-libs/gtk+-2.17.10:2
>=gnome-base/gconf-2.10
|| ( gnome-base/gnome-panel[bonobo] <gnome-base/gnome-panel-2.32 )
>=media-libs/gst-plugins-base-0.10.24
media-libs/gst-plugins-good
media-plugins/gst-plugins-theora
media-plugins/gst-plugins-vp8
>=media-libs/gst-plugins-base-0.10.24:0.10
media-libs/gst-plugins-good:0.10
media-plugins/gst-plugins-theora:0.10
media-plugins/gst-plugins-vp8:0.10
>=x11-libs/cairo-1.8.10"
DEPEND="${RDEPEND}
virtual/pkgconfig

@ -1,3 +1,3 @@
DIST gthumb-2.14.3.tar.xz 5719232 SHA256 17d7279494354086b672a732dbe4ff832fbfdc91a50eaafb5655e9c37faedf56
DIST gthumb-2.14.4.tar.xz 5721384 SHA256 1561ca52f9b60fbcd0e8fc976de8b30f0447019c698bfe1051d421935b5a51b5 SHA512 0423b5beb2a317f7e585c1f8bb32d3873accd61e9ff5e7356b3dc968b39d2613d2d97eeb4fdb39220094f67dfccbfb5d30f2fa4d5d5720056de86181453076c9 WHIRLPOOL c2ba8ac2011423305af6ba488fb31688f6f9e32d3f0fc673ce7d0bc9d0d87d79ebd084c1d34a7c82e0930f96a7a4de302bbe2fbe1a3d861df617e0b4451bf3a0
DIST gthumb-3.0.0.tar.xz 5781108 SHA256 5b6116a69897ee9aeba8db3d1ac800e9a62308738367533268acea40519f58b4
DIST gthumb-3.0.0.tar.xz 5781108 SHA256 5b6116a69897ee9aeba8db3d1ac800e9a62308738367533268acea40519f58b4 SHA512 2fdd65fc4172c6ff0a51dd33a149ed98c9e451f3e6870d5bcc9c1282aa56ca7e782ca5100c27e0997b009f128a7a8aa1081ee6d196deb5447b36cced572a9a79 WHIRLPOOL c47e1eeb3afd99dde19f4446b019a53c6abafb93879ffd1d0f67f496d58fdb71128fa8034265fcabff8bb2750c854b6e0af181e2eee218e9d8cb71e4c493448e
DIST gthumb-3.0.2.tar.xz 5803480 SHA256 eeccb23103b00e82941ba78023fa784228aab644bcffffc6ccef77dc47aad557 SHA512 00a9ebfcedb8905ed2c05132eed70644ddfe239da9055d377652fd8f9e4fd84e1ffb1f7e33d3fb46b166e31120c128f09f17edd6c02000f96cc9958623c21c43 WHIRLPOOL 48a1e80cf6c03f8e8aed9f0507983ae1ae22e96c003da7382fe7d065ca5108ce9f1daa279e3f6317a27e31f271335f71e97d9f4bb75ea2c7b3d10ff3230dd573

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gthumb/gthumb-2.14.4.ebuild,v 1.5 2012/10/16 04:38:05 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gthumb/gthumb-2.14.4.ebuild,v 1.6 2012/10/25 20:24:33 eva Exp $
EAPI="4"
GCONF_DEBUG="yes"
@ -31,8 +31,8 @@ RDEPEND=">=dev-libs/glib-2.28.0:2
exif? ( >=media-gfx/exiv2-0.18 )
gnome-keyring? ( >=gnome-base/gnome-keyring-2.28 )
gstreamer? (
>=media-libs/gstreamer-0.10
>=media-libs/gst-plugins-base-0.10 )
media-libs/gstreamer:0.10
media-libs/gst-plugins-base:0.10 )
http? (
>=net-libs/libsoup-2.26:2.4
>=net-libs/libsoup-gnome-2.26:2.4 )

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gthumb/gthumb-3.0.0.ebuild,v 1.4 2012/08/21 04:34:30 ottxor Exp $
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gthumb/gthumb-3.0.0.ebuild,v 1.5 2012/10/25 20:24:33 eva Exp $
EAPI="4"
GCONF_DEBUG="yes"
@ -27,8 +27,8 @@ COMMON_DEPEND=">=dev-libs/glib-2.28.0:2
exif? ( >=media-gfx/exiv2-0.21 )
gnome-keyring? ( >=gnome-base/gnome-keyring-3.2.0 )
gstreamer? (
>=media-libs/gstreamer-0.10
>=media-libs/gst-plugins-base-0.10 )
media-libs/gstreamer:0.10
media-libs/gst-plugins-base:0.10 )
http? (
>=net-libs/libsoup-2.36:2.4
>=net-libs/libsoup-gnome-2.36:2.4 )

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gthumb/gthumb-2.14.3.ebuild,v 1.6 2012/05/24 13:58:42 ssuominen Exp $
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gthumb/gthumb-3.0.2.ebuild,v 1.1 2012/10/25 20:24:33 eva Exp $
EAPI="4"
GCONF_DEBUG="yes"
@ -13,55 +13,55 @@ HOMEPAGE="https://live.gnome.org/gthumb"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE="cdr exif gnome-keyring gstreamer http jpeg raw slideshow tiff test"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="cdr exif gnome-keyring gstreamer http jpeg raw slideshow svg tiff test"
# We can't link against libbrasero-burn3
RDEPEND=">=dev-libs/glib-2.28.0:2
>=x11-libs/gtk+-2.24.0:2
>=gnome-base/gconf-2.6
>=dev-libs/libunique-1.1.2:1
COMMON_DEPEND="
>=dev-libs/glib-2.28:2
>=x11-libs/gtk+-3.2:3
media-libs/libpng:0
sys-libs/zlib
x11-libs/libICE
x11-libs/libSM
cdr? ( >=app-cdr/brasero-2.28
<app-cdr/brasero-2.90 )
exif? ( >=media-gfx/exiv2-0.18 )
gnome-keyring? ( >=gnome-base/gnome-keyring-2.28 )
cdr? ( >=app-cdr/brasero-3.2 )
exif? ( >=media-gfx/exiv2-0.21 )
gnome-keyring? ( >=gnome-base/gnome-keyring-3.2 )
gstreamer? (
>=media-libs/gstreamer-0.10
>=media-libs/gst-plugins-base-0.10 )
>=media-libs/gstreamer-0.10:0.10
>=media-libs/gst-plugins-base-0.10:0.10 )
http? (
>=net-libs/libsoup-2.26:2.4
>=net-libs/libsoup-gnome-2.26:2.4 )
>=net-libs/libsoup-2.36:2.4
>=net-libs/libsoup-gnome-2.36:2.4 )
jpeg? ( virtual/jpeg:0 )
slideshow? (
>=media-libs/clutter-1:1.0
>=media-libs/clutter-gtk-0.10:0.10 )
>=media-libs/clutter-gtk-1:1.0 )
svg? ( >=gnome-base/librsvg-2.34 )
tiff? ( media-libs/tiff )
raw? ( >=media-libs/libopenraw-0.0.8 )
!raw? ( media-gfx/dcraw )"
DEPEND="${RDEPEND}
virtual/pkgconfig
RDEPEND="${COMMON_DEPEND}
>=gnome-base/gsettings-desktop-schemas-0.1.4"
DEPEND="${COMMON_DEPEND}
app-text/gnome-doc-utils
app-text/scrollkeeper
>=dev-util/intltool-0.35
app-text/gnome-doc-utils
sys-devel/bison
sys-devel/flex
virtual/pkgconfig
test? ( ~app-text/docbook-xml-dtd-4.1.2 )"
# eautoreconf needs:
# gnome-base/gnome-common
pkg_setup() {
# Upstream says in configure help that libchamplain support crashes
# frequently
src_prepare() {
# Upstream says in configure help that libchamplain support
# crashes frequently
G2CONF="${G2CONF}
--disable-static
--disable-libchamplain
--enable-unique
--disable-gnome-3
--with-smclient=xsmp
$(use_enable cdr libbrasero)
$(use_enable exif exiv2)
$(use_enable gstreamer)
@ -70,17 +70,14 @@ pkg_setup() {
$(use_enable jpeg)
$(use_enable raw libopenraw)
$(use_enable slideshow clutter)
$(use_enable svg librsvg)
$(use_enable test test-suite)
$(use_enable tiff)"
DOCS="AUTHORS ChangeLog NEWS README"
}
src_prepare() {
gnome2_src_prepare
# Remove unwanted CFLAGS added with USE=debug
sed -e 's/CFLAGS="$CFLAGS -g -O0 -DDEBUG"//' -i configure.ac -i configure || die
sed -e 's/CFLAGS="$CFLAGS -g -O0 -DDEBUG"//' \
-i configure.ac -i configure || die
# GSeal doesn't get disabled with --disable-gseal
sed -e 's/-DGSEAL_ENABLE//g' -i configure.ac -i configure || die
gnome2_src_prepare
}

@ -1,5 +1,2 @@
DIST clutter-gst-1.0.0.tar.bz2 414768 SHA256 ae6ec048b570157130e9f9069f2495caf0da9eefa8d7f3b1789f3346fb16f696
DIST clutter-gst-1.4.4.tar.xz 337000 SHA256 9fdcf8d8531d4d78342e7ac901d1768c7a8f78124f74dd6be8e51961169b8fb5 SHA512 f6d86bf1c6fded5900cbfe4841fca5c33506c35e354945e28ac513419955e1e2657fc58c6f1efd033bd616e5c546c9de4037c29e5be9304be3555d0bf9e8e704 WHIRLPOOL c4daafa7e7bcacd8b69b28d7c82baca3b035567f635eb107d2079def8c2637b3c66472dd30efbb036a95635b7d0319b742116407c6751331f09710a213740480
DIST clutter-gst-1.4.6.tar.xz 338608 SHA256 5368ded143b2f73c3128315dab7b45c5dd8d681341cbae8f83664d2f9bbba3c3 SHA512 3bc7d3a18af57accde26ad51162a751157dbff706127acd1d2b1075e6d6bb58cdde76e92ed4ad86df0090bcccbeae1243d66810efc8dcd5f2834639a86871669 WHIRLPOOL 5a4c793d55c1ea0c88a829b27e2588b6ec72bb9d41cc10368acef1bbb38b43bcb56b19ca032428e5439bc2f77bfdd6de1d31b694ec9aa777a9c38a4ff23e8e06
DIST clutter-gst-1.5.6.tar.xz 349328 SHA256 f12b59d5a548abe38c63750ae2e6cb909afd90cfdcc06d2c4288097f962b08bc SHA512 0eabb307f2a3975ffd97970c2e4afa31af3cd2728b248f12af4a5cbfcaf310c3f11a5cd1cab7c88e8f3060ea3fefed121c22afc4c946e9318e4ecf5c3d776f03 WHIRLPOOL 783a31718cf398aaafd1d52a67e4efcea0691ed0a77369307f84d96a2d18333eb4277d2883f681a92eafaee20b1492ead51417b7679e468070215d096057cb1b
DIST clutter-gst-1.6.0.tar.xz 349332 SHA256 abc879cdd562f1640a825131405f4327a427bfe65b805ebc25d0c78909c8c622 SHA512 5641326567aea1d5c19f84768a94ee329412e6d4958a980de8ec835ce6eb80794ea5b23cd16f041f3dca3d3fe9f2cf371cedffb16b0522aaa124ca1e50552d97 WHIRLPOOL c79d7ae5e39c5d9b05ff38ba329f428f08c8e44f9f439ef5e5e4a1da6cf72d851c6d6cbb11718eabfd2bb2b04312b6fcba85c3b927d641b914d7d26437a901a2

@ -1,32 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter-gst/clutter-gst-1.0.0.ebuild,v 1.4 2011/04/05 05:39:19 ulm Exp $
EAPI="2"
# inherit clutter after gnome2 so that defaults aren't overriden
inherit gnome2 clutter
DESCRIPTION="GStreamer Integration library for Clutter"
SLOT="1.0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc examples +introspection"
RDEPEND="
>=dev-libs/glib-2.20
media-libs/clutter:1.0[introspection?]
media-libs/gstreamer:0.10[introspection?]
media-libs/gst-plugins-base:0.10[introspection?]
introspection? ( >=dev-libs/gobject-introspection-0.6.8 )"
DEPEND="${RDEPEND}
dev-lang/python"
DOCS="AUTHORS ChangeLog NEWS README"
EXAMPLES="examples/{*.c,*.png,README}"
pkg_setup() {
# XXX: debug default is "minimum" in even releases; "yes" in odd releases
G2CONF="${G2CONF}
$(use_enable introspection)"
}

@ -1,44 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter-gst/clutter-gst-1.4.4.ebuild,v 1.3 2012/01/14 16:38:31 maekke Exp $
EAPI="4"
GCONF_DEBUG="yes"
CLUTTER_LA_PUNT="yes"
# inherit clutter after gnome2 so that defaults aren't overriden
# inherit gnome.org in the end so we use gnome mirrors and get the xz tarball
# no PYTHON_DEPEND, python2 is just a build-time dependency
inherit python gnome2 clutter gnome.org
DESCRIPTION="GStreamer Integration library for Clutter"
SLOT="1.0"
KEYWORDS="amd64 x86"
IUSE="doc examples +introspection"
RDEPEND="
>=dev-libs/glib-2.20:2
>=media-libs/clutter-1.4.0:1.0[introspection?]
>=media-libs/gstreamer-0.10.26:0.10[introspection?]
media-libs/gst-plugins-base:0.10[introspection?]
introspection? ( >=dev-libs/gobject-introspection-0.6.8 )"
DEPEND="${RDEPEND}
=dev-lang/python-2*
doc? ( >=dev-util/gtk-doc-1.8 )"
pkg_setup() {
DOCS="AUTHORS NEWS README"
EXAMPLES="examples/{*.c,*.png,README}"
G2CONF="${G2CONF}
$(use_enable introspection)"
python_set_active_version 2
python_pkg_setup
}
src_compile() {
# Clutter tries to access dri without userpriv, upstream bug #661873
# Massive failure of a hack, see bug 360219, bug 360073, bug 363917
DISPLAY="999invalid" emake
}

@ -1,58 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter-gst/clutter-gst-1.5.6.ebuild,v 1.1 2012/05/26 08:40:53 tetromino Exp $
EAPI="4"
GCONF_DEBUG="yes"
CLUTTER_LA_PUNT="yes"
# inherit clutter after gnome2 so that defaults aren't overriden
# inherit gnome.org in the end so we use gnome mirrors and get the xz tarball
# no PYTHON_DEPEND, python2 is just a build-time dependency
inherit python gnome2 clutter gnome.org
DESCRIPTION="GStreamer Integration library for Clutter"
SLOT="1.0"
KEYWORDS="~alpha ~amd64 ~x86"
IUSE="doc examples +introspection"
# FIXME: Support for gstreamer-basevideo-0.10 (HW decoder support) is automagic
RDEPEND="
>=dev-libs/glib-2.20:2
>=media-libs/clutter-1.6.0:1.0[introspection?]
>=media-libs/cogl-1.8:1.0[introspection?]
>=media-libs/gstreamer-0.10.26:0.10[introspection?]
>=media-libs/gst-plugins-bad-0.10.22
media-libs/gst-plugins-base:0.10[introspection?]
introspection? ( >=dev-libs/gobject-introspection-0.6.8 )"
DEPEND="${RDEPEND}
=dev-lang/python-2*
virtual/pkgconfig
doc? ( >=dev-util/gtk-doc-1.8 )"
# eautoreconf does *not* need gtk-doc-am, see build/autotools/ directory
pkg_setup() {
DOCS="AUTHORS NEWS README"
EXAMPLES="examples/{*.c,*.png,README}"
G2CONF="${G2CONF}
--disable-maintainer-flags
$(use_enable introspection)"
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
# bug #401383, https://bugzilla.gnome.org/show_bug.cgi?id=669054
# FIXME: is this still needed? I don't think so, but not sure. ~nirbheek
#eautoreconf
gnome2_src_prepare
}
src_compile() {
# Clutter tries to access dri without userpriv, upstream bug #661873
# Massive failure of a hack, see bug 360219, bug 360073, bug 363917
DISPLAY="999invalid" emake
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter-gst/clutter-gst-1.6.0.ebuild,v 1.3 2012/09/23 05:19:13 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter-gst/clutter-gst-1.6.0.ebuild,v 1.4 2012/10/25 20:26:29 eva Exp $
EAPI="4"
GCONF_DEBUG="yes"
@ -23,7 +23,7 @@ RDEPEND="
>=media-libs/clutter-1.6.0:1.0[introspection?]
>=media-libs/cogl-1.8:1.0[introspection?]
>=media-libs/gstreamer-0.10.26:0.10[introspection?]
>=media-libs/gst-plugins-bad-0.10.22
>=media-libs/gst-plugins-bad-0.10.22:0.10
media-libs/gst-plugins-base:0.10[introspection?]
introspection? ( >=dev-libs/gobject-introspection-0.6.8 )"
DEPEND="${RDEPEND}

@ -1,5 +1,2 @@
DIST gnonlin-0.10.13.tar.bz2 420004 RMD160 8ce0f0cec6a290f155d13b3b80aa2007b992ecc3 SHA1 d28e375ee1516825e6b4de1c434db2d8e728fb91 SHA256 8d382de2dffd4b29aaa7d22e02eba8731a3d392096e037fbcedf4f6c3eea65f0
DIST gnonlin-0.10.15.tar.bz2 419881 RMD160 7444999d0397955d58f9272ced305f09056ba699 SHA1 743f306ba55093ec2dcca5eb21b8fded5e6ac99f SHA256 60bb6c9d325f70a0a454af1a2b7c0f35137afd0261acc6bb2abfa9fbf788e0fb
DIST gnonlin-0.10.16.tar.bz2 452179 RMD160 4e1a3fa022babafe02742521d6a94a4763eb6f7b SHA1 df82026e478633ef42a1018762ae8416adcb8960 SHA256 0d32028d449c304bc8d467d02c053c64988b2fc5bbeb020c13361f9d7206bbf5
DIST gnonlin-0.10.17.tar.bz2 468711 RMD160 784809028a59f05bba59835fa3b2ff112d9e565d SHA1 5d3fb27b2590b5a5b8c35e459db6d4cfe489ee15 SHA256 e4a2dd8af1c0c97f2f63e918a25c26e871c896e88b7ee85948509f68f29e8935
DIST gnonlin-0.10.9.tar.bz2 366567 RMD160 25d6a9b98517a98075b7fbeed9036a2d00ab5408 SHA1 44981f5b7cd8221c67eeee65a3ddce6df810572d SHA256 99633d7ddb2c261030eb82567ff7f39ca75c94110cbfc6fe384889b23f2d1dae
DIST gnonlin-0.10.17.tar.bz2 468711 SHA256 e4a2dd8af1c0c97f2f63e918a25c26e871c896e88b7ee85948509f68f29e8935 SHA512 e7e7c7999a1886641cf327ad75ba63171c2f9e74fe7a18c4e7c0a5ca69ea3926d4de21f92b01c7896591d2fb48a5c040be2fe05d4d8d43237948c9fe8e4d0f74 WHIRLPOOL a959d5779a5c4f9ee5ca7e608ae3b15c0a89e5c6f3691666370db01e4992c9e8c225d1a9d2e6334b4f157ae365583bfab86cff97d731319f5952817f5a6623c3
DIST gnonlin-0.10.9.tar.bz2 366567 SHA256 99633d7ddb2c261030eb82567ff7f39ca75c94110cbfc6fe384889b23f2d1dae

@ -1,22 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/gnonlin/gnonlin-0.10.13.ebuild,v 1.2 2012/05/05 08:02:25 jdhore Exp $
DESCRIPTION="Gnonlin is a set of GStreamer elements to ease the creation of non-linear multimedia editors."
HOMEPAGE="http://gnonlin.sourceforge.net"
SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0.10"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=media-libs/gstreamer-0.10.9
>=media-libs/gst-plugins-base-0.10.9"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README RELEASE
}

@ -1,41 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/gnonlin/gnonlin-0.10.15.ebuild,v 1.3 2012/05/05 08:02:25 jdhore Exp $
DESCRIPTION="Gnonlin is a set of GStreamer elements to ease the creation of non-linear multimedia editors."
HOMEPAGE="http://gnonlin.sourceforge.net"
SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0.10"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND=">=media-libs/gstreamer-0.10.13
>=media-libs/gst-plugins-base-0.10.13"
DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( || (
>=dev-util/gtk-doc-am-1.13
>=dev-util/gtk-doc-1.3 ) )
test? ( dev-libs/check )"
src_configure() {
econf \
$(use_enable doc gtk-doc) \
$(use_enable doc docbook)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README RELEASE
# For some reason, make install doesn't do this
if use doc; then
local htmldir="/usr/share/gtk-doc/html"
cd "${S}/docs/libs/html"
gtkdoc-rebase --html-dir=${htmldir} || die "gtkdoc-rebase failed"
insinto "${htmldir}/gnonlin"
doins "${S}"/docs/libs/html/* || die "doins docs failed"
fi
}

@ -1,41 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/gnonlin/gnonlin-0.10.16.ebuild,v 1.2 2012/05/05 08:02:25 jdhore Exp $
DESCRIPTION="Gnonlin is a set of GStreamer elements to ease the creation of non-linear multimedia editors."
HOMEPAGE="http://gnonlin.sourceforge.net"
SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2"
SLOT="0.10"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND=">=media-libs/gstreamer-0.10.30
>=media-libs/gst-plugins-base-0.10.13"
DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( || (
>=dev-util/gtk-doc-am-1.13
>=dev-util/gtk-doc-1.3 ) )
test? ( dev-libs/check )"
src_configure() {
econf \
$(use_enable doc gtk-doc) \
$(use_enable doc docbook)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README RELEASE
# For some reason, make install doesn't do this
if use doc; then
local htmldir="/usr/share/gtk-doc/html"
cd "${S}/docs/libs/html"
gtkdoc-rebase --html-dir=${htmldir} || die "gtkdoc-rebase failed"
insinto "${htmldir}/gnonlin"
doins "${S}"/docs/libs/html/* || die "doins docs failed"
fi
}

@ -1,6 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/gnonlin/gnonlin-0.10.17.ebuild,v 1.2 2012/05/05 08:02:25 jdhore Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/gnonlin/gnonlin-0.10.17.ebuild,v 1.3 2012/10/25 20:29:37 eva Exp $
EAPI="4"
DESCRIPTION="Gnonlin is a set of GStreamer elements to ease the creation of non-linear multimedia editors."
HOMEPAGE="http://gnonlin.sourceforge.net"
@ -11,8 +13,8 @@ SLOT="0.10"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND=">=media-libs/gstreamer-0.10.30
>=media-libs/gst-plugins-base-0.10.30"
RDEPEND=">=media-libs/gstreamer-0.10.30:0.10
>=media-libs/gst-plugins-base-0.10.30:0.10"
DEPEND="${RDEPEND}
virtual/pkgconfig
doc? ( || (

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/leptonica-1.68.ebuild,v 1.3 2012/10/18 18:55:57 maekke Exp $
# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/leptonica-1.68.ebuild,v 1.4 2012/10/26 01:21:46 blueness Exp $
EAPI=4
@ -12,7 +12,7 @@ SRC_URI="http://www.leptonica.com/source/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
IUSE="gif jpeg png tiff webp utils zlib static-libs"
DEPEND="gif? ( media-libs/giflib )

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/rhythmbox-equalizer/rhythmbox-equalizer-0.1.ebuild,v 1.2 2012/02/05 01:46:54 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/media-plugins/rhythmbox-equalizer/rhythmbox-equalizer-0.1.ebuild,v 1.3 2012/10/25 20:33:24 eva Exp $
EAPI=3
@ -25,7 +25,7 @@ RDEPEND="${DEPEND}
x11-libs/gtk+:2
>=dev-python/pygtk-2.8:2
gnome-base/libglade:2.0
>=media-libs/gst-plugins-base-0.10.29
>=media-libs/gst-plugins-base-0.10.29:0.10
>=media-sound/rhythmbox-0.12.8[python]"
S="${WORKDIR}/${MY_P}"

@ -1,2 +1,2 @@
DIST jokosher-0.11.1.tar.gz 1223108 RMD160 022037b134152bab3f21fc41ec8cc49009a962d0 SHA1 383eeb63d8d4df33e6d56efb3a4871d0a6526a51 SHA256 852bf371c9aaad779d3ee04fcac207c3980a24d3ce243561953b50bff63a5cd0
DIST jokosher-0.11.5.tar.gz 1265726 RMD160 8231dbae76adb2606edb3afe557f12cb2e01b0e0 SHA1 018c365b8c8a4e112cf01962882fcbb1f3b1784a SHA256 489e0d06c28c3a11b817e7d6e49573ad4942a9cd426ad62dbbf94f3cca03dedb
DIST jokosher-0.11.1.tar.gz 1223108 SHA256 852bf371c9aaad779d3ee04fcac207c3980a24d3ce243561953b50bff63a5cd0
DIST jokosher-0.11.5.tar.gz 1265726 SHA256 489e0d06c28c3a11b817e7d6e49573ad4942a9cd426ad62dbbf94f3cca03dedb

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/jokosher/jokosher-0.11.1.ebuild,v 1.5 2011/03/11 18:51:48 arfrever Exp $
# $Header: /var/cvsroot/gentoo-x86/media-sound/jokosher/jokosher-0.11.1.ebuild,v 1.6 2012/10/25 20:36:08 eva Exp $
EAPI="3"
PYTHON_DEPEND="2"
@ -19,20 +19,20 @@ IUSE="gnome"
# NOTE: setuptools are a runtime requirement as the app
# loads its extensions via pkg_resources
RDEPEND="dev-python/dbus-python
>=dev-python/gst-python-0.10.8
>=dev-python/gst-python-0.10.8:0.10
dev-python/pycairo
>=dev-python/pygtk-2.10
gnome-base/librsvg
>=media-libs/gnonlin-0.10.9
>=media-libs/gst-plugins-good-0.10.6
>=media-libs/gst-plugins-bad-0.10.5
>=media-plugins/gst-plugins-alsa-0.10.14
>=media-plugins/gst-plugins-flac-0.10.6
gnome? ( >=media-plugins/gst-plugins-gnomevfs-0.10.14 )
>=media-plugins/gst-plugins-lame-0.10.6
>=media-plugins/gst-plugins-ogg-0.10.14
>=media-plugins/gst-plugins-vorbis-0.10.14
>=media-plugins/gst-plugins-ladspa-0.10.5
>=media-libs/gnonlin-0.10.9:0.10
>=media-libs/gst-plugins-good-0.10.6:0.10
>=media-libs/gst-plugins-bad-0.10.5:0.10
>=media-plugins/gst-plugins-alsa-0.10.14:0.10
>=media-plugins/gst-plugins-flac-0.10.6:0.10
gnome? ( >=media-plugins/gst-plugins-gnomevfs-0.10.14:0.10 )
>=media-plugins/gst-plugins-lame-0.10.6:0.10
>=media-plugins/gst-plugins-ogg-0.10.14:0.10
>=media-plugins/gst-plugins-vorbis-0.10.14:0.10
>=media-plugins/gst-plugins-ladspa-0.10.5:0.10
x11-themes/hicolor-icon-theme
dev-python/setuptools
dev-python/pyxdg"

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/jokosher/jokosher-0.11.5.ebuild,v 1.1 2011/05/09 18:45:26 angelos Exp $
# $Header: /var/cvsroot/gentoo-x86/media-sound/jokosher/jokosher-0.11.5.ebuild,v 1.2 2012/10/25 20:36:08 eva Exp $
EAPI="3"
PYTHON_DEPEND="2"
@ -19,20 +19,20 @@ IUSE="gnome"
# NOTE: setuptools are a runtime requirement as the app
# loads its extensions via pkg_resources
RDEPEND="dev-python/dbus-python
>=dev-python/gst-python-0.10.8
>=dev-python/gst-python-0.10.8:0.10
dev-python/pycairo
>=dev-python/pygtk-2.10
gnome-base/librsvg
>=media-libs/gnonlin-0.10.9
>=media-libs/gst-plugins-good-0.10.6
>=media-libs/gst-plugins-bad-0.10.5
>=media-plugins/gst-plugins-alsa-0.10.14
>=media-plugins/gst-plugins-flac-0.10.6
gnome? ( >=media-plugins/gst-plugins-gnomevfs-0.10.14 )
>=media-plugins/gst-plugins-lame-0.10.6
>=media-plugins/gst-plugins-ogg-0.10.14
>=media-plugins/gst-plugins-vorbis-0.10.14
>=media-plugins/gst-plugins-ladspa-0.10.5
>=media-libs/gnonlin-0.10.9:0.10
>=media-libs/gst-plugins-good-0.10.6:0.10
>=media-libs/gst-plugins-bad-0.10.5:0.10
>=media-plugins/gst-plugins-alsa-0.10.14:0.10
>=media-plugins/gst-plugins-flac-0.10.6:0.10
gnome? ( >=media-plugins/gst-plugins-gnomevfs-0.10.14:0.10 )
>=media-plugins/gst-plugins-lame-0.10.6:0.10
>=media-plugins/gst-plugins-ogg-0.10.14:0.10
>=media-plugins/gst-plugins-vorbis-0.10.14:0.10
>=media-plugins/gst-plugins-ladspa-0.10.5:0.10
x11-themes/hicolor-icon-theme
dev-python/setuptools
dev-python/pyxdg"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/rgain/rgain-1.0.1.ebuild,v 1.3 2012/05/30 15:57:52 xarthisius Exp $
# $Header: /var/cvsroot/gentoo-x86/media-sound/rgain/rgain-1.0.1.ebuild,v 1.4 2012/10/25 20:37:48 eva Exp $
EAPI=4
@ -21,4 +21,4 @@ IUSE=""
DEPEND=""
RDEPEND="media-libs/mutagen
dev-python/gst-python"
dev-python/gst-python:0.10"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/rgain/rgain-1.0.2.ebuild,v 1.2 2012/09/05 16:48:21 sochotnicky Exp $
# $Header: /var/cvsroot/gentoo-x86/media-sound/rgain/rgain-1.0.2.ebuild,v 1.3 2012/10/25 20:37:48 eva Exp $
EAPI=4
@ -21,8 +21,8 @@ IUSE=""
DEPEND=">=dev-python/docutils-0.9"
RDEPEND="media-libs/mutagen
dev-python/gst-python
media-libs/gst-plugins-good"
dev-python/gst-python:0.10
media-libs/gst-plugins-good:0.10"
src_install() {
distutils_src_install

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/aravis/aravis-0.1.14.ebuild,v 1.1 2012/06/20 16:36:14 flameeyes Exp $
# $Header: /var/cvsroot/gentoo-x86/media-video/aravis/aravis-0.1.14.ebuild,v 1.2 2012/10/25 20:40:12 eva Exp $
EAPI=4
@ -23,16 +23,16 @@ SLOT="0"
IUSE="X gstreamer"
GST_DEPEND="media-libs/gstreamer
media-libs/gst-plugins-base"
GST_DEPEND="media-libs/gstreamer:0.10
media-libs/gst-plugins-base:0.10"
RDEPEND=">=dev-libs/glib-2.22
dev-libs/libxml2
X? (
>=x11-libs/gtk+-2.12:2
${GST_DEPEND}
media-libs/gst-plugins-base
media-plugins/gst-plugins-xvideo
media-libs/gst-plugins-base:0.10
media-plugins/gst-plugins-xvideo:0.10
)
gstreamer? ( ${GST_DEPEND} )"
DEPEND="${RDEPEND}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/aravis/aravis-0.1.15.ebuild,v 1.1 2012/08/28 00:05:32 flameeyes Exp $
# $Header: /var/cvsroot/gentoo-x86/media-video/aravis/aravis-0.1.15.ebuild,v 1.2 2012/10/25 20:40:12 eva Exp $
EAPI=4
@ -23,16 +23,16 @@ SLOT="0"
IUSE="X gstreamer"
GST_DEPEND="media-libs/gstreamer
media-libs/gst-plugins-base"
GST_DEPEND="media-libs/gstreamer:0.10
media-libs/gst-plugins-base:0.10"
RDEPEND=">=dev-libs/glib-2.22
dev-libs/libxml2
X? (
>=x11-libs/gtk+-2.12:2
${GST_DEPEND}
media-libs/gst-plugins-base
media-plugins/gst-plugins-xvideo
media-libs/gst-plugins-base:0.10
media-plugins/gst-plugins-xvideo:0.10
)
gstreamer? ( ${GST_DEPEND} )"
DEPEND="${RDEPEND}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/aravis/aravis-9999.ebuild,v 1.4 2012/06/09 23:35:14 zmedico Exp $
# $Header: /var/cvsroot/gentoo-x86/media-video/aravis/aravis-9999.ebuild,v 1.5 2012/10/25 20:40:12 eva Exp $
EAPI=4
@ -23,16 +23,16 @@ SLOT="0"
IUSE="X gstreamer"
GST_DEPEND="media-libs/gstreamer
media-libs/gst-plugins-base"
GST_DEPEND="media-libs/gstreamer:0.10
media-libs/gst-plugins-base:0.10"
RDEPEND=">=dev-libs/glib-2.22
dev-libs/libxml2
X? (
>=x11-libs/gtk+-2.12:2
${GST_DEPEND}
media-libs/gst-plugins-base
media-plugins/gst-plugins-xvideo
media-libs/gst-plugins-base:0.10
media-plugins/gst-plugins-xvideo:0.10
)
gstreamer? ( ${GST_DEPEND} )"
DEPEND="${RDEPEND}

@ -1 +1 @@
DIST arista-0.9.5.tar.gz 307390 RMD160 c7943f732bda0d9aebf3e7fe58eaac69f50d6b35 SHA1 e5356a1729b8fdb7965f745f4f5b3c4dd484c3f6 SHA256 2d9b7d664225c9f4f9e2d7c365d40ed4673f87a673373cfb5612e4abe6285bd7
DIST arista-0.9.5.tar.gz 307390 SHA256 2d9b7d664225c9f4f9e2d7c365d40ed4673f87a673373cfb5612e4abe6285bd7

@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/arista/arista-0.9.5.ebuild,v 1.6 2011/04/11 02:55:41 tomka Exp $
# $Header: /var/cvsroot/gentoo-x86/media-video/arista/arista-0.9.5.ebuild,v 1.7 2012/10/25 20:41:13 eva Exp $
EAPI="3"
PYTHON_DEPEND="2"
@ -33,7 +33,7 @@ RDEPEND=">=x11-libs/gtk+-2.16:2
dev-python/gst-python:0.10
media-libs/gst-plugins-base:0.10
media-libs/gst-plugins-good:0.10
media-libs/gst-plugins-bad
media-libs/gst-plugins-bad:0.10
media-plugins/gst-plugins-meta:0.10
media-plugins/gst-plugins-ffmpeg:0.10
nautilus? ( dev-python/nautilus-python )

@ -1,4 +1,3 @@
DIST cheese-2.32.0.tar.bz2 5303805 SHA256 8debc47113d9889247f411d256a8eca0d8da49e5ab5909c200923945b8d5e087 SHA512 c7332d436776698034013758d044f6f87e9eddd8e9bc5df90db323f61a680ff98fb4bc8c7375a2f10c74bb6961099035771a3282731b9f11b0369f5fc3b7c700 WHIRLPOOL e9a9d25c2d72b74d5f28d9eb1ceb38d34e765256e7db4df6cf1964dd9bb5111135b25aa31823e60ac14a070de5cd0e7e98136e3267ed92193ffdeb954d3e52b8
DIST cheese-3.2.2.tar.xz 3486624 SHA256 8f050b03365310d739c54e48c8c62f8e2d6d9a028fed3eb3c8da4c7654a9009a
DIST cheese-3.4.1.tar.xz 3702172 SHA256 b7a07c45217bdea6b9bc3ad56c19b5b7de4ddf939074efe94add7afb66a26dd0
DIST cheese-3.4.2.tar.xz 3702892 SHA256 730083e1fb7da1fc8c38978cbb957ff2128d6f132132b3863bd60c0963a120e0
DIST cheese-3.4.2.tar.xz 3702892 SHA256 730083e1fb7da1fc8c38978cbb957ff2128d6f132132b3863bd60c0963a120e0 SHA512 15c9148d9b2c1f9c5216332857342bf986b0f6582811def6cc35799ad836fbb5734ab45f0598c0e8042e7a1fa2bb3e0b522efd1dd1f4076618ca377692e361c0 WHIRLPOOL 002d4af931a1e66285df45f3e948c1e51368e35e8ef0d4541c45dc2585c91dcb45741ea47903f93ac379a8e0faa0b2a9c0db4d8f1ab956ee9a96fc3497007cc4

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/cheese/cheese-3.2.2.ebuild,v 1.4 2012/07/09 14:54:12 ranger Exp $
# $Header: /var/cvsroot/gentoo-x86/media-video/cheese/cheese-3.2.2.ebuild,v 1.5 2012/10/25 20:48:15 eva Exp $
EAPI="4"
GNOME2_LA_PUNT="yes"
@ -41,16 +41,16 @@ COMMON_DEPEND="
introspection? ( >=dev-libs/gobject-introspection-0.6.7 )"
RDEPEND="${COMMON_DEPEND}
>=media-libs/gst-plugins-bad-0.10.19
>=media-libs/gst-plugins-good-0.10.16
media-plugins/gst-plugins-jpeg
>=media-plugins/gst-plugins-ogg-0.10.20
>=media-plugins/gst-plugins-pango-0.10.20
>=media-plugins/gst-plugins-theora-0.10.20
>=media-plugins/gst-plugins-v4l2-0.10
>=media-plugins/gst-plugins-vorbis-0.10.20
|| ( >=media-plugins/gst-plugins-x-0.10
>=media-plugins/gst-plugins-xvideo-0.10 )"
>=media-libs/gst-plugins-bad-0.10.19:0.10
>=media-libs/gst-plugins-good-0.10.16:0.10
media-plugins/gst-plugins-jpeg:0.10
>=media-plugins/gst-plugins-ogg-0.10.20:0.10
>=media-plugins/gst-plugins-pango-0.10.20:0.10
>=media-plugins/gst-plugins-theora-0.10.20:0.10
media-plugins/gst-plugins-v4l2:0.10
>=media-plugins/gst-plugins-vorbis-0.10.20:0.10
|| ( media-plugins/gst-plugins-x:0.10
media-plugins/gst-plugins-xvideo:0.10 )"
DEPEND="${COMMON_DEPEND}
>=dev-lang/vala-0.13.2:0.14
>=app-text/gnome-doc-utils-0.20

@ -1,96 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/cheese/cheese-3.4.1.ebuild,v 1.1 2012/05/13 23:39:43 tetromino Exp $
EAPI="4"
GNOME2_LA_PUNT="yes"
inherit gnome2 virtualx
DESCRIPTION="A cheesy program to take pictures and videos from your webcam"
HOMEPAGE="http://www.gnome.org/projects/cheese/"
LICENSE="GPL-2"
SLOT="0"
IUSE="doc +introspection sendto test"
KEYWORDS="~amd64 ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.28.0:2
>=dev-libs/libgee-0.6.3:0
>=x11-libs/gtk+-2.99.4:3[introspection?]
>=x11-libs/cairo-1.10
>=x11-libs/pango-1.28.0
>=sys-fs/udev-171[gudev]
>=gnome-base/gnome-desktop-2.91.6:3
>=gnome-base/librsvg-2.32.0:2
>=media-libs/libcanberra-0.26[gtk3]
>=media-libs/clutter-1.6.1:1.0[introspection?]
>=media-libs/clutter-gtk-0.91.8:1.0
>=media-libs/clutter-gst-1.0.0:1.0
media-video/gnome-video-effects
x11-libs/gdk-pixbuf:2[jpeg,introspection?]
x11-libs/mx
x11-libs/libX11
x11-libs/libXtst
>=media-libs/gstreamer-0.10.32:0.10[introspection?]
>=media-libs/gst-plugins-base-0.10.32:0.10[introspection?]
introspection? ( >=dev-libs/gobject-introspection-0.6.7 )"
RDEPEND="${COMMON_DEPEND}
>=media-libs/gst-plugins-bad-0.10.19
>=media-libs/gst-plugins-good-0.10.16:0.10
>=media-plugins/gst-plugins-ogg-0.10.20:0.10
>=media-plugins/gst-plugins-pango-0.10.20:0.10
>=media-plugins/gst-plugins-theora-0.10.20:0.10
>=media-plugins/gst-plugins-vorbis-0.10.20:0.10
media-plugins/gst-plugins-jpeg:0.10
media-plugins/gst-plugins-v4l2:0.10
media-plugins/gst-plugins-vp8:0.10
|| ( media-plugins/gst-plugins-x:0.10
media-plugins/gst-plugins-xvideo:0.10 )
sendto? ( >=gnome-extra/nautilus-sendto-2.91 )"
DEPEND="${COMMON_DEPEND}
>=dev-lang/vala-0.13.2:0.14
>=dev-util/intltool-0.40
virtual/pkgconfig
app-text/docbook-xml-dtd:4.3
dev-libs/libxml2:2
dev-util/itstool
x11-proto/xf86vidmodeproto
doc? ( >=dev-util/gtk-doc-1.14 )
test? ( dev-libs/glib:2[utils] )"
pkg_setup() {
G2CONF="${G2CONF}
VALAC=$(type -p valac-0.14)
$(use_enable introspection)
--disable-lcov
--disable-static"
DOCS="AUTHORS ChangeLog NEWS README"
}
src_configure() {
# Work around sandbox violations when FEATURES=-userpriv caused by
# gst-inspect-0.10 (bug #410061)
unset DISPLAY
gnome2_src_configure
}
src_compile() {
# Clutter-related sandbox violations when USE="doc introspection" and
# FEATURES="-userpriv" (see bug #385917).
unset DISPLAY
gnome2_src_compile
}
src_test() {
Xemake check
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/cheese/cheese-3.4.2.ebuild,v 1.3 2012/09/23 06:16:00 blueness Exp $
# $Header: /var/cvsroot/gentoo-x86/media-video/cheese/cheese-3.4.2.ebuild,v 1.4 2012/10/25 20:48:15 eva Exp $
EAPI="4"
GNOME2_LA_PUNT="yes"
@ -40,7 +40,7 @@ COMMON_DEPEND="
introspection? ( >=dev-libs/gobject-introspection-0.6.7 )"
RDEPEND="${COMMON_DEPEND}
>=media-libs/gst-plugins-bad-0.10.19
>=media-libs/gst-plugins-bad-0.10.19:0.10
>=media-libs/gst-plugins-good-0.10.16:0.10
>=media-plugins/gst-plugins-ogg-0.10.20:0.10
>=media-plugins/gst-plugins-pango-0.10.20:0.10

@ -1 +1 @@
DIST istanbul-0.2.2.tar.bz2 349075 RMD160 79ece5e4f2f9dd673fce5d326ad3b4009e54ccfe SHA1 f9649990429ef4fb083057685fec723c466ee4b0 SHA256 3baa2462ecf1b13d0d95cd035fe0f0fc0fcc3df8cb04a3b7f237e90e9a40acd5
DIST istanbul-0.2.2.tar.bz2 349075 SHA256 3baa2462ecf1b13d0d95cd035fe0f0fc0fcc3df8cb04a3b7f237e90e9a40acd5

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/istanbul/istanbul-0.2.2.ebuild,v 1.9 2012/05/05 08:58:54 jdhore Exp $
# $Header: /var/cvsroot/gentoo-x86/media-video/istanbul/istanbul-0.2.2.ebuild,v 1.10 2012/10/25 20:50:59 eva Exp $
EAPI="3"
GCONF_DEBUG="no"
@ -17,14 +17,14 @@ SLOT=0
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=media-libs/gst-plugins-base-0.10.8
RDEPEND=">=media-libs/gst-plugins-base-0.10.8:0.10
>=dev-python/pygtk-2.6
>=gnome-base/gconf-2.0
>=dev-python/gst-python-0.10.0
=media-plugins/gst-plugins-ogg-0.10*
=media-plugins/gst-plugins-theora-0.10*
>=gnome-base/gconf-2
dev-python/gst-python:0.10
media-plugins/gst-plugins-ogg:0.10
media-plugins/gst-plugins-theora:0.10
>=media-libs/libtheora-1.0_alpha6[encode]
=media-plugins/gst-plugins-gconf-0.10*
media-plugins/gst-plugins-gconf:0.10
dev-python/python-xlib
>=dev-python/egg-python-2.11.3

@ -1,3 +1 @@
DIST pitivi-0.13.5.tar.bz2 726821 SHA256 f3ea98f40941a6c8c85ab636baacc62514d1ffc2dda487c51cb019026677bf8d
DIST pitivi-0.14.0.tar.bz2 1606223 SHA256 d5ab54c1c4c7c1431fc3da67e977a9d94eb0828246ec2bb4e420de49cf5df629
DIST pitivi-0.14.1.tar.bz2 1597657 SHA256 0abf7206c84cd1b6e24170a5100c7b69234291ac2fa3b79a6bf73ea586156f0b SHA512 ed58ac434fb3e60847054435395de8687b50ed99cc175ed3eccccb6a83e727cf41b753656e45fd455af1393d43be812c7c95358d7156b34e4a4125f201940202 WHIRLPOOL c49d7b50245f05e14d6c1cf1847b72db407d8d0cff78ce0f084d0a4e5e83af4fd0105a9d8eda3e5d15b27e535705fa924be197d51ac740e6dc7595679e32f17f

@ -1,87 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/pitivi/pitivi-0.13.5.ebuild,v 1.4 2012/02/05 01:50:23 floppym Exp $
EAPI="3"
GCONF_DEBUG="no"
PYTHON_DEPEND="2:2.5"
inherit gnome2 python eutils virtualx multilib
DESCRIPTION="A non-linear video editor using the GStreamer multimedia framework"
HOMEPAGE="http://www.pitivi.org"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
>=dev-python/pygtk-2.14:2
dev-python/dbus-python
>=dev-python/gconf-python-2.12
dev-python/pycairo
dev-python/pygoocanvas
net-zope/zope-interface
gnome-base/librsvg
>=media-libs/gstreamer-0.10.28
>=dev-python/gst-python-0.10.19
>=media-libs/gnonlin-0.10.16
>=media-libs/gst-plugins-base-0.10
>=media-libs/gst-plugins-good-0.10
>=media-plugins/gst-plugins-ffmpeg-0.10
>=media-plugins/gst-plugins-xvideo-0.10
>=media-plugins/gst-plugins-libpng-0.10"
DEPEND="${RDEPEND}
dev-python/setuptools
>=dev-util/intltool-0.35.5"
pkg_setup() {
DOCS="AUTHORS ChangeLog NEWS RELEASE"
python_set_active_version 2
}
src_prepare() {
gnome2_src_prepare
epatch "${FILESDIR}/${P}-work-with-old-good.patch"
# disable pyc compiling
mv py-compile py-compile.orig
ln -s $(type -P true) py-compile
}
src_configure() {
addpredict $(unset HOME; echo ~)/.gconf
addpredict $(unset HOME; echo ~)/.gconfd
addpredict $(unset HOME; echo ~)/.gstreamer-0.10
gnome2_src_configure
}
src_test() {
export XDG_CONFIG_HOME="${WORKDIR}/.config"
export XDG_DATA_HOME="${WORKDIR}/.local"
# Force Xvfb to be used
unset DISPLAY
unset DBUS_SESSION_BUS_ADDRESS
# pitivi/configure.py checks this in get_pixmap_dir()
mkdir "${S}/.git"
Xemake check || die "tests failed"
}
src_install() {
gnome2_src_install
python_convert_shebangs -r 2 "${D}"
}
pkg_postinst() {
gnome2_pkg_postinst
python_mod_optimize "/usr/$(get_libdir)/${PN}/python/${PN}"
}
pkg_postrm() {
gnome2_pkg_postrm
python_mod_cleanup "/usr/$(get_libdir)/${PN}/python/${PN}"
}

@ -1,92 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/pitivi/pitivi-0.14.0.ebuild,v 1.3 2012/02/05 01:50:23 floppym Exp $
EAPI="3"
GCONF_DEBUG="no"
PYTHON_DEPEND="2:2.5"
inherit gnome2 python eutils virtualx multilib
DESCRIPTION="A non-linear video editor using the GStreamer multimedia framework"
HOMEPAGE="http://www.pitivi.org"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="v4l"
# gst-plugins-good-0.10.24 needed for prefer-passthrough property
# gst-plugins-base-0.10.31 needed for add-borders property, and decodebin2
COMMON_DEPEND="
>=dev-python/pygtk-2.18:2
dev-python/pycairo
>=media-libs/gstreamer-0.10.28:0.10
>=dev-python/gst-python-0.10.19
>=media-libs/gnonlin-0.10.16"
RDEPEND="${COMMON_DEPEND}
dev-python/dbus-python
>=dev-python/gconf-python-2.12
dev-python/pygoocanvas
dev-python/pyxdg
net-zope/zope-interface
gnome-base/librsvg
>=media-libs/gst-plugins-base-0.10.31:0.10
>=media-libs/gst-plugins-good-0.10.24:0.10
>=media-plugins/gst-plugins-ffmpeg-0.10:0.10
>=media-plugins/gst-plugins-xvideo-0.10.31:0.10
>=media-plugins/gst-plugins-libpng-0.10.24:0.10
v4l? ( media-plugins/gst-plugins-v4l2:0.10 )"
DEPEND="${RDEPEND}
dev-python/setuptools
sys-devel/gettext
>=dev-util/intltool-0.35.5"
pkg_setup() {
DOCS="AUTHORS ChangeLog NEWS RELEASE"
python_set_active_version 2
}
src_prepare() {
gnome2_src_prepare
# disable pyc compiling
mv py-compile py-compile.orig
ln -s $(type -P true) py-compile
}
src_configure() {
addpredict $(unset HOME; echo ~)/.gconf
addpredict $(unset HOME; echo ~)/.gconfd
addpredict $(unset HOME; echo ~)/.gstreamer-0.10
gnome2_src_configure
}
src_test() {
export XDG_CONFIG_HOME="${WORKDIR}/.config"
export XDG_DATA_HOME="${WORKDIR}/.local"
# Force Xvfb to be used
unset DISPLAY
unset DBUS_SESSION_BUS_ADDRESS
export PITIVI_TOP_LEVEL_DIR="${S}"
Xemake check || die "tests failed"
}
src_install() {
gnome2_src_install
python_convert_shebangs -r 2 "${D}"
}
pkg_postinst() {
gnome2_pkg_postinst
python_mod_optimize "/usr/$(get_libdir)/${PN}/python/${PN}"
}
pkg_postrm() {
gnome2_pkg_postrm
python_mod_cleanup "/usr/$(get_libdir)/${PN}/python/${PN}"
}

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/pitivi/pitivi-0.14.1.ebuild,v 1.2 2012/02/05 01:50:23 floppym Exp $
# $Header: /var/cvsroot/gentoo-x86/media-video/pitivi/pitivi-0.14.1.ebuild,v 1.3 2012/10/25 20:53:48 eva Exp $
EAPI="3"
GCONF_DEBUG="no"
@ -26,8 +26,8 @@ COMMON_DEPEND="
dev-python/pycairo
>=media-libs/gstreamer-0.10.28:0.10
>=dev-python/gst-python-0.10.19
>=media-libs/gnonlin-0.10.16"
>=dev-python/gst-python-0.10.19:0.10
>=media-libs/gnonlin-0.10.16:0.10"
RDEPEND="${COMMON_DEPEND}
dev-python/dbus-python
>=dev-python/gconf-python-2.12
@ -55,10 +55,7 @@ pkg_setup() {
src_prepare() {
gnome2_src_prepare
# disable pyc compiling
mv py-compile py-compile.orig
ln -s $(type -P true) py-compile
python_clean_py-compile_files
}
src_configure() {

@ -1 +1 @@
Thu, 25 Oct 2012 15:37:00 +0000
Fri, 26 Oct 2012 04:37:00 +0000

@ -1 +1 @@
Thu, 25 Oct 2012 15:37:01 +0000
Fri, 26 Oct 2012 04:37:00 +0000

@ -10,5 +10,5 @@ RDEPEND=kernel_linux? ( dev-python/pymountboot[python_targets_python2_6?,python_
REQUIRED_USE=|| ( python_targets_python2_6 python_targets_python2_7 python_targets_python3_1 python_targets_python3_2 )
SLOT=0
SRC_URI=mirror://bitbucket/mgorny/eclean-kernel/downloads/eclean-kernel-0.3.1.tar.bz2
_eclasses_=distutils-r1 449ae0120ad3f638a91c5490dffecbda eutils d40dc948067bd3db1c8ebf7d51897313 multilib 9aa8a023e062fca0ba79362d9d0cc488 python-r1 9232c62ecbc513e92cf4639892b59f72 toolchain-funcs 134429b842a6c67254bfd76a8753e4d4 user d0a4d0735a6c0183d707ca919bd72f28
_eclasses_=distutils-r1 99b8d0e7fe4f7d688ba3f5ee484534c3 eutils d40dc948067bd3db1c8ebf7d51897313 multilib 9aa8a023e062fca0ba79362d9d0cc488 python-r1 c4897b2d15eb8f9ffa04264122d27fd2 toolchain-funcs 134429b842a6c67254bfd76a8753e4d4 user d0a4d0735a6c0183d707ca919bd72f28
_md5_=32f4630c60dcd15a14cbf0e85da122b4

@ -1,13 +0,0 @@
DEFINED_PHASES=config install postinst postrm preinst prepare prerm
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 ) ssl? ( dev-libs/openssl )
DESCRIPTION=A web-based Unix systems administration interface
EAPI=3
HOMEPAGE=http://www.webmin.com/
IUSE=minimal +ssl mysql postgres ldap ssl
KEYWORDS=~amd64 ~x86
LICENSE=BSD GPL-2
RDEPEND=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 )
SLOT=0
SRC_URI=minimal? ( mirror://sourceforge/webadmin/webmin-1.560-minimal.tar.gz ) !minimal? ( mirror://sourceforge/webadmin/webmin-1.560.tar.gz )
_eclasses_=eutils d40dc948067bd3db1c8ebf7d51897313 flag-o-matic 2c938a1fe61ea9899a2b97ea1e065f5f multilib 9aa8a023e062fca0ba79362d9d0cc488 pam 5c1a9ef4892062f9ec25c8ef7c1f1e52 ssl-cert 7f678cd359743d336ecf3a6cc4ce1521 toolchain-funcs 134429b842a6c67254bfd76a8753e4d4 user d0a4d0735a6c0183d707ca919bd72f28
_md5_=d98886766d7e74bc8e6dcf086a667870

@ -1,13 +0,0 @@
DEFINED_PHASES=config install postinst postrm preinst prepare prerm
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 ) ssl? ( dev-libs/openssl )
DESCRIPTION=A web-based Unix systems administration interface
EAPI=3
HOMEPAGE=http://www.webmin.com/
IUSE=minimal +ssl mysql postgres ldap ssl
KEYWORDS=~amd64 ~x86
LICENSE=BSD GPL-2
RDEPEND=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 )
SLOT=0
SRC_URI=minimal? ( mirror://sourceforge/webadmin/webmin-1.570-minimal.tar.gz ) !minimal? ( mirror://sourceforge/webadmin/webmin-1.570.tar.gz )
_eclasses_=eutils d40dc948067bd3db1c8ebf7d51897313 flag-o-matic 2c938a1fe61ea9899a2b97ea1e065f5f multilib 9aa8a023e062fca0ba79362d9d0cc488 pam 5c1a9ef4892062f9ec25c8ef7c1f1e52 ssl-cert 7f678cd359743d336ecf3a6cc4ce1521 toolchain-funcs 134429b842a6c67254bfd76a8753e4d4 user d0a4d0735a6c0183d707ca919bd72f28
_md5_=d990249c5b7c6dceef8a62a954b14e13

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save