Sync with portage [Fri May 2 23:36:39 MSK 2014].

mhiretskiy
root 10 years ago
parent cdf22ae4da
commit ce968b7214

@ -1,10 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r25.ebuild,v 1.1 2014/04/27 11:11:29 aidecoe Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r25.ebuild,v 1.2 2014/05/02 17:42:01 pacho Exp $
EAPI=5
inherit eutils autotools systemd
inherit eutils autotools readme.gentoo systemd
MY_P=${P/_beta/-beta}
DBV=20080531
@ -25,6 +24,19 @@ S="${WORKDIR}/${MY_P}"
DOCS=(README TODO ChangeLog)
DISABLE_AUTOFORMATTING="yes"
DOC_CONTENTS="In order to update your hddtemp database, run:
emerge --config =${CATEGORY}/${PF} or update-hddtemp.db (if USE
network-cron is enabled)
If your hard drive is not recognized by hddtemp, please consider
submitting your HDD info for inclusion into the Gentoo hddtemp
database by filing a bug at https://bugs.gentoo.org/
If hddtemp complains but finds your HDD temperature sensor, use the
--quiet option to suppress the warning.
"
src_prepare() {
epatch "${FILESDIR}"/${P}-satacmds.patch
epatch "${FILESDIR}"/${P}-byteswap.patch
@ -57,6 +69,8 @@ src_install() {
systemd_newunit "${FILESDIR}"/hddtemp.service-r1 "${PN}.service"
systemd_install_serviced "${FILESDIR}"/hddtemp.service.conf
readme.gentoo_create_doc
if use network-cron; then
dosbin "${FILESDIR}"/update-hddtemp.db
exeinto /etc/cron.monthly
@ -65,22 +79,6 @@ src_install() {
fi
}
pkg_postinst() {
elog "In order to update your hddtemp database, run:"
if use network-cron; then
elog " update-hddtemp.db"
else
elog " emerge --config =${CATEGORY}/${PF}"
fi
elog ""
elog "If your hard drive is not recognized by hddtemp, please consider"
elog "submitting your HDD info for inclusion into the Gentoo hddtemp"
elog "database by filing a bug at https://bugs.gentoo.org/"
echo
ewarn "If hddtemp complains but finds your HDD temperature sensor, use the"
ewarn "--quiet option to suppress the warning."
}
update_db() {
local src=$1
local dst=$2

@ -1,8 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r7.ebuild,v 1.9 2014/04/27 11:00:47 aidecoe Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r7.ebuild,v 1.10 2014/05/02 17:42:01 pacho Exp $
inherit eutils autotools systemd
EAPI=5
inherit eutils autotools readme.gentoo systemd
MY_P=${P/_beta/-beta}
DBV=20080531
@ -21,9 +22,19 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
src_unpack() {
unpack ${A}
cd "${S}"
DISABLE_AUTOFORMATTING="yes"
DOC_CONTENTS="In order to update your hddtemp database, run:
emerge --config =${CATEGORY}/${PF}
If your hard drive is not recognized by hddtemp, please consider
submitting your HDD info for inclusion into the Gentoo hddtemp
database by filing a bug at https://bugs.gentoo.org/
If hddtemp complains but finds your HDD temperature sensor, use the
--quiet option to suppress the warning.
"
src_prepare() {
epatch "${FILESDIR}"/${P}-satacmds.patch
epatch "${FILESDIR}"/${P}-byteswap.patch
epatch "${FILESDIR}"/${P}-execinfo.patch
@ -33,18 +44,17 @@ src_unpack() {
AT_M4DIR="m4" eautoreconf
}
src_compile() {
src_configure() {
local myconf
myconf="--with-db-path=/usr/share/hddtemp/hddtemp.db"
# disabling nls breaks compiling
use nls || myconf="--disable-nls ${myconf}"
econf ${myconf} || die
emake || die
econf ${myconf}
}
src_install() {
make DESTDIR="${D}" install || die
default
dodoc README TODO ChangeLog
insinto /usr/share/hddtemp
@ -56,18 +66,8 @@ src_install() {
newinitd "${FILESDIR}"/hddtemp-init hddtemp
systemd_newunit "${FILESDIR}"/hddtemp.service-r1 "${PN}.service"
systemd_install_serviced "${FILESDIR}"/hddtemp.service.conf
}
pkg_postinst() {
elog "In order to update your hddtemp database, run:"
elog " emerge --config =${CATEGORY}/${PF}"
elog ""
elog "If your hard drive is not recognized by hddtemp, please consider"
elog "submitting your HDD info for inclusion into the Gentoo hddtemp"
elog "database by filing a bug at https://bugs.gentoo.org/"
echo
ewarn "If hddtemp complains but finds your HDD temperature sensor, use the"
ewarn "--quiet option to suppress the warning."
readme.gentoo_create_doc
}
update_db() {

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/sysstat-10.2.1-r1.ebuild,v 1.1 2014/02/01 12:44:08 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/sysstat-10.2.1-r1.ebuild,v 1.2 2014/05/02 12:58:13 jer Exp $
EAPI=5
inherit eutils multilib systemd toolchain-funcs
@ -11,7 +11,7 @@ SRC_URI="${HOMEPAGE}${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha ~amd64 ~arm hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="cron debug +doc isag nls lm_sensors"
RDEPEND="

@ -1,6 +1,2 @@
DIST webmin-1.620-minimal.tar.gz 2440850 SHA256 51d75ce76a9038357dec4fbf74069aca1b003bb1e64c7339626cb28ce42fd834 SHA512 099c5197eba2ad205c4aad785fe21c4bc4994be1e70c75157dc0f59fb3292b912b16a0a81ef6e147eb9dd7506a445ab5e677935e1c13449599744d90b8d0d52f WHIRLPOOL d88fa9ccdefdf9d7f9d981225da4f47ef50f0cc976c9691ebae362f974942f26ffca6a43c5b0da50a18937c44a4c23b60228e2155611274aca78f6724db61614
DIST webmin-1.620.tar.gz 21646366 SHA256 3d36153406d8e5d3dcaeadba34dfb5cdbc4060b75c38339174ac97b2277f284b SHA512 18fcf5dcee161b71b927a7fb5acffe5c655376982989d4f92a08c296186b40b1c185bde83df2cc670eaf6efa8070d73fb39755f94309347e040e8e5edde12312 WHIRLPOOL 6cdcc8855998d1f1f2482d43765894584445bc1f75f2606e39ed7569522891af6ec2c260dcfb0a2a0350cff8a4b21964b3a91edceb49278963f2b71df1211633
DIST webmin-1.630-minimal.tar.gz 2444267 SHA256 3ba026301ba1cf03351ae93667d32efb20704a42f749c5107510b6fca0bb8e88 SHA512 34e61a1a90d6a446bc7cadf93fc0cab05bcc50d4deb92557e7b3322f10ccefd96299f23fbf7dff81c346c6dd24cba4ef6278d1077d4c247ef2ce8a3ab67ac243 WHIRLPOOL 06fe981b26eb960649fb87edf24dcbaf98a3937226cc1543ec2ed607b6ab86854a17a07d45ab0facc0cd5e78a569326a786011e61b46fb7103a5b4eacbe75f41
DIST webmin-1.630.tar.gz 21744645 SHA256 2ba5616a252d8108aab0573f615f7cc5c8c15b7df8c11bbcecf7acc23964432f SHA512 e4c373e545f4f9b5acd233576b094ceafff74dbc75702ee2d0d5a4b15fd4afa827f62b8d23500684e0c0ee97509e32ba9619f039f271d2bc8ddf47ca2e67c733 WHIRLPOOL f8cc2fde5cc7d24e16a573a864508779c8939149c97283402659cc7c48a6768f9c92ca36149490553952bfdc0e73d9e562d80f9a8f4986b13856b14c81061291
DIST webmin-1.660-minimal.tar.gz 2508867 SHA256 ec5dc4197e02b21f49a72e34bd64cc355a1e47d2f0e968d04eb756eba47d330a SHA512 6db99b4515365573ee15852a5b81002c8a3bc474f9ad991c10ccea1a8e2a16097519aaa97087ffce390414083e7903e67e3ec35c192a1de788f4018979885ed2 WHIRLPOOL 61df24953dda735a1e760a8d9997b741bdeb282832149a22cde03abde03ecc341e6c7e0f6f050ea66c68e0f732d7e2ab1db901f25186088713662c7ed515b1b4
DIST webmin-1.660.tar.gz 22198207 SHA256 21f6fa65aa8198f564199480ba48999eb10c5ac49f3adec01084f97a5a8d0b5b SHA512 b8544d5602c9734e17406fea315384fe996a0ccf43da8e1a2df4ed16bc7624ac59422d152678cfa473e255ce5570c7a0e2a69c9ef22d3938d916abb2889ebabb WHIRLPOOL 24972d32d0242703ab4c7455dd207ea7441bc10007268d9634da864e2954e34cbe126deeaf2ad58137dc302352459d0b9f8a30b57335ed1e9c9ce62dc73b4922
DIST webmin-1.680-minimal.tar.gz 2593231 SHA256 8152e56f9f880b1f719134a877b2bb2b022fccdd59a875aefbf6f24b0cb37230 SHA512 742238771bcff5342b2c651a015ba234d66035fdbab900963a9cf0832aa13ea299d565a6467a737e59b6b69b8a6a50fa8a5545f6cb615b0fcdcf0b2942eb5213 WHIRLPOOL 40d86669721e274cba6b80b70b1382c5c977abef23cfabb1005140910c8d982c6f00425cf9e9309452286ec74da40f16cefede8694930f24096449e4fea1e344
DIST webmin-1.680.tar.gz 22418010 SHA256 c6205b6a9dfa1aa7179591bb9a82a9f321e775ed08710da8877d01c5bf9b8078 SHA512 591ac89192c020a443af318a30664310d36d0b9880cd91ff5179bdb17fc01773abf3ae67a016e922fd4d319d311d16f9c9f79a9d07bd94018a38b0127549bc69 WHIRLPOOL 21729591197f971244f99a281da4a3f8af7c17673c1fd124cb9de2de28fd3e0e6688e38f782e735038f5735cbeac551ebab5eb7a417d7adc899794944490a54b

@ -1,269 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/webmin-1.630.ebuild,v 1.1 2013/05/16 19:33:31 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, ssl and dnssec-tools 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
>=net-dns/dnssec-tools-1.13
!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}
# Set the installation type/mode to Gentoo
echo "gentoo" > install-type
# 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', 'ssl_redirect' and 'no_sslcompression' for tightening security
export ssl=1
export ssl_redirect=1
export no_sslcompression=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,269 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/webmin-1.660.ebuild,v 1.1 2013/11/21 07:24:43 patrick 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, ssl and dnssec-tools 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
>=net-dns/dnssec-tools-1.13
!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}
# Set the installation type/mode to Gentoo
echo "gentoo" > install-type
# 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', 'ssl_redirect' and 'no_sslcompression' for tightening security
export ssl=1
export ssl_redirect=1
export no_sslcompression=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-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/webmin-1.620.ebuild,v 1.1 2013/02/06 20:13:50 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/webmin-1.680.ebuild,v 1.1 2014/05/01 16:30:09 hwoarang Exp $
EAPI="3"

@ -4,3 +4,4 @@ DIST dpkg_1.17.5.tar.xz 3839224 SHA256 b7c465006bb87725cf0fbcf61bd04d9c31384a4a6
DIST dpkg_1.17.6.tar.xz 3859780 SHA256 96f5cddffbd7557574a90a4b90cb5387c4cd5334011b90b38fe67ebfdf9eb464 SHA512 8b33c4956fb24b843941c13805e0991740467b37f27f88ba3231a3a43878602e2264d6672de93b1ef5caabb3307c6f893de53a144adbc66af9702b4898f0212f WHIRLPOOL 9952b383c7c00c0f5e9aa404b5f7f86e284b7f33d0ab750c6a1d85f00f2a7fa2e0aefb796d6c7ff14c3c8848f76467e5edfc101b41b40a7e16887b5045e18fcb
DIST dpkg_1.17.7.tar.xz 4038164 SHA256 c4f10ca274757476c438f17b1edf9f62510b0fbae4f13130f7a1d3980d4b90ee SHA512 404a3067da6ff143dcd1c58c7d5ea2eb590a76a73dc5a5c027f20bc1ca7705e41d16bda06fa69483a51e335538425fa33af24297eb522377e51522ee2b95df15 WHIRLPOOL e83f650692f34cb307e549ade6512c8182759e59e2580a586586bc41086f4263c3a2597c5c156ff96050ff0e99cdd95788dc5eabb7381540de18bcdaacfc1371
DIST dpkg_1.17.8.tar.xz 4044064 SHA256 d69ea0fa3209ce41f7d05b3414d6f7241d8cb66a73c7e15250dce7b2cbb07ede SHA512 7c094d69ad5d9a082d774ce6fee3d7ba9201180cde8476cd687690115d85d286229f3533dcbfc2a5b28a1e44b416ed4142b75842694eaee2091f4fa8a6d3da0a WHIRLPOOL b1a01d6d2ddd093ba9deddb35aa23a4598a47272a2fa70939dfc6f3aab068f3256ac305901f1dad4c02e94a5dd620db4781a611a77d6a9686c8df3bc9dac88df
DIST dpkg_1.17.9.tar.xz 4051292 SHA256 da58389a80a3515ea12aaf10c9e48f84ee6c08d2fe2c9e1450f4df49ffeeb6aa SHA512 6d0f463f8102bf77ea93b34fc80c073e1dfef980ba1afbecdfa0d1098945afdda2f59c11e87be7ea1410eee909ee3ebd0df47066eb54de27e3c49725fddc2bc3 WHIRLPOOL 041ee2738acf498c604d9d2f02d4aacbbdc83f61ce09dfc1df63c4566c0f14c93280fe01ed47ab1236c4cf97e17b49c1ffebc10324370cdd970f8aec6230161a

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.17.8.ebuild,v 1.2 2014/04/29 03:16:25 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.17.8.ebuild,v 1.4 2014/04/30 14:21:11 ago Exp $
EAPI=5
inherit eutils multilib autotools toolchain-funcs
@ -11,7 +11,7 @@ SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
IUSE="+bzip2 dselect +lzma nls test unicode +update-alternatives +zlib"
REQUIRED_USE="dselect? ( nls )"

@ -0,0 +1,96 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/dpkg/dpkg-1.17.9.ebuild,v 1.2 2014/04/30 15:00:19 jer Exp $
EAPI=5
inherit eutils multilib autotools toolchain-funcs
DESCRIPTION="Package maintenance system for Debian"
HOMEPAGE="http://packages.qa.debian.org/dpkg"
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris"
IUSE="+bzip2 dselect +lzma nls test unicode +update-alternatives +zlib"
REQUIRED_USE="dselect? ( nls )"
RDEPEND="
>=dev-lang/perl-5.6.0
dev-perl/TimeDate
>=sys-libs/ncurses-5.2-r7
lzma? ( app-arch/xz-utils )
zlib? ( >=sys-libs/zlib-1.1.4 )
bzip2? ( app-arch/bzip2 )
"
DEPEND="
${RDEPEND}
app-arch/xz-utils
sys-devel/flex
virtual/pkgconfig
nls? (
app-text/po4a
>=sys-devel/gettext-0.18.2
)
test? (
dev-perl/DateTime-Format-DateParse
dev-perl/IO-String
dev-perl/Test-Pod
virtual/perl-Test-Harness
)
"
DOCS=( ChangeLog THANKS TODO )
src_prepare() {
# do not expect Debian's gzip --rsyncable extension
epatch "${FILESDIR}"/${PN}-1.17.0-gzip-rsyncable.patch
epatch "${FILESDIR}"/${PN}-1.17.1-flags.patch
# Force the use of the running bash for get-version (this file is never
# installed, so no need to worry about hardcoding a temporary bash)
sed -i -e '1c\#!'"${BASH}" get-version || die
# this test depends on a Debian only gzip extension that adds --rsyncable
# which will therefore always fail on Gentoo. (bug #310847).
sed -i scripts/Makefile.am \
-e '/850_Dpkg_Compression.t/d' \
|| die "sed failed"
# test fails (bug #414095)
sed -i utils/Makefile.am \
-e '/^test_cases/d;/100_update_alternatives/d' || die
use nls && strip-linguas -i po
eautoreconf
}
src_configure() {
tc-export CC
econf \
$(use_enable dselect) \
$(use_enable nls) \
$(use_enable unicode) \
$(use_enable update-alternatives) \
$(use_with bzip2 bz2) \
$(use_with zlib) \
$(use_with lzma liblzma) \
--disable-compiler-warnings \
--disable-silent-rules \
--disable-start-stop-daemon \
--localstatedir="${EPREFIX}"/var \
--without-selinux
}
src_compile() {
emake AR=$(tc-getAR)
}
src_install() {
default
keepdir /usr/$(get_libdir)/db/methods/{mnt,floppy,disk}
keepdir /usr/$(get_libdir)/db/{alternatives,info,methods,parts,updates}
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/obnam/obnam-1.7.4.ebuild,v 1.1 2014/04/01 20:06:10 mschiff Exp $
# $Header: /var/cvsroot/gentoo-x86/app-backup/obnam/obnam-1.7.4.ebuild,v 1.2 2014/05/02 16:49:19 mschiff Exp $
EAPI=5
@ -22,6 +22,7 @@ IUSE=""
DEPEND="${PYTHON_DEPS}
dev-python/cliapp
dev-python/fuse-python
dev-python/larch
<dev-python/paramiko-1.13
dev-python/tracing

@ -1,2 +1,2 @@
DIST 134003-kencfs-1.2.tar.gz 79623 SHA256 0769d0e5500edbdd90886af4dc5e668c37aee0ba9c4e29e5202ce05169f10a42 SHA512 f94a90bd20475c913910dfcdb1b1d229bddb84dc0d478e04a35af3b0ad461bb29ec45ebea8c76a5899c131f80b16c7f0923da58dd2085b1da272bb6d29dbd203 WHIRLPOOL eeb9229eebf175259ee44c37204b17e1de37a291cbb27e52592bdc5a8394a6644f5a6d81b3ee462a50a33d9aa84faa6c01539de6a2b1d8e85e12fc8ca8d4b87d
DIST 134003-kencfs-1.3.0.tar.gz 129011 SHA256 e6afab21c9538b3cbaf67ba0893b741d5fd3c892e8acfea247af528a3e7584ae SHA512 8d1aa98883eb1b13e66861c72351962b7a1f8cb4a614f102c314902d8d8203419e4af22465aba0a3924e62cabc76510eb06d12263db3a09e1ebb08b8fa3ec476 WHIRLPOOL 22fe073a7065fdda569f9c9c3939779617ddb5972ecb5ef2b1458627fe1a38ad9cafa6c3e0615215f88f729e4940f71d7ac8576adf43fa9da36b2155dafc0e7b
DIST 134003-kencfs-1.3.1.tar.gz 132706 SHA256 0afc9f0c77c09e7716cd3cec1f1a30d56df9e7191ebdc7b2a5c941db87bf220e SHA512 0560a3c3abc315b32a1e129672a1161cac29d954f598c4a68868180087db6dd0013b136aaad2af0e478d4d61e69a83c1b89862b598ab99727a93b336a3638584 WHIRLPOOL 838582cb0916cbab2c7faea4d5a5c5e46e412edac6ee6c7cfe4b1c712f6c3c7ccfae559ad0f10ac6db67bf95a28a6052c947ed01ed2ac5322562a9ef9ac327f1

@ -1,12 +0,0 @@
diff -ruN kencfs-1.1.orig/kencfs.pro kencfs-1.1/kencfs.pro
--- kencfs-1.1.orig/kencfs.pro 2010-11-07 19:45:20.000000000 +0100
+++ kencfs-1.1/kencfs.pro 2011-09-25 17:14:51.000000000 +0200
@@ -22,7 +22,7 @@
fsdialog.ui \
configdialog.ui
OTHER_FILES +=
-LIBS += -lkdeui
+LIBS += -lkdeui -lkdecore -lQtNetwork
TRANSLATIONS = kencfs_it.ts
# install

@ -1,44 +0,0 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/kencfs/kencfs-1.2-r1.ebuild,v 1.2 2013/03/02 19:14:26 hwoarang Exp $
EAPI=5
LANGS="it"
inherit qt4-r2
DESCRIPTION="GUI frontend for encfs"
HOMEPAGE="http://kde-apps.org/content/show.php?content=134003"
SRC_URI="http://kde-apps.org/CONTENT/content-files/134003-${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="kde-base/kdelibs
dev-qt/qtcore:4
dev-qt/qtgui:4
"
RDEPEND="${DEPEND}
sys-fs/encfs
"
PATCHES=(
"${FILESDIR}/${PN}-1.1-underlinking.patch"
"${FILESDIR}/${P}-desktop.patch"
"${FILESDIR}/${P}-encfs5.patch"
"${FILESDIR}/${P}-gcc-4.7.patch"
)
src_prepare() {
qt4-r2_src_prepare
sed -i ${PN}.pro -e "/^doc.path =/s/${PN}-1.1/${PF}/" \
|| die "sed docdir failed"
if ! use linguas_it ; then
sed -i ${PN}.pro -e "s/*.qm//" \
|| die "sed TRANSLATIONS failed"
fi
}

@ -0,0 +1,40 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/kencfs/kencfs-1.3.1.ebuild,v 1.1 2014/05/01 16:17:12 kensington Exp $
EAPI=5
inherit qt4-r2
DESCRIPTION="GUI frontend for encfs"
HOMEPAGE="http://kde-apps.org/content/show.php?content=134003"
SRC_URI="http://kde-apps.org/CONTENT/content-files/134003-${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="
dev-qt/qtcore:4
dev-qt/qtgui:4
kde-base/kdelibs:4
"
RDEPEND="${DEPEND}
kde-base/kwalletd
sys-fs/encfs
"
PATCHES=(
"${FILESDIR}/${PN}-1.2-desktop.patch"
"${FILESDIR}/${PN}-1.2-encfs5.patch"
"${FILESDIR}/${PN}-1.2-gcc-4.7.patch"
"${FILESDIR}/${PN}-1.3.0-build-fix.patch"
)
src_prepare() {
qt4-r2_src_prepare
sed -i ${PN}.pro -e "/^doc.path =/s/${PN}-1.3/${PF}/" \
|| die "sed docdir failed"
}

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

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/zsh-lovers/zsh-lovers-0.9.0.ebuild,v 1.1 2014/04/03 16:39:48 radhermit Exp $
# $Header: /var/cvsroot/gentoo-x86/app-doc/zsh-lovers/zsh-lovers-0.9.0.ebuild,v 1.2 2014/05/02 12:55:21 jer Exp $
EAPI=5
@ -10,7 +10,7 @@ SRC_URI="http://deb.grml.org/pool/main/z/${PN}/${PN}_${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
DEPEND="app-text/asciidoc"

@ -1,2 +1,3 @@
DIST emacs-24.3.50_pre20140331.tar.xz 23995832 SHA256 566dad818e037920a46313b7408047ab68aaee5b25b2453cefae59c4a34252d8 SHA512 1cb120f57a91e4c108e89d1a60bdfc402512c7c94ed1d39b22baf891c4924427dbe77a4e84b1ebbf844c5b86ca23287073646cdb6ea2c8cb430333f474ca630f WHIRLPOOL a9c0c3a8b14c5e51c19df963111ce4e7c8e0dadebacd1000f1bc761a8ae7ca58e73adfde44068d3c7696fec33b13bad900d0c47767493f95c3fa4115e2cf3bef
DIST emacs-24.3.90.tar.xz 39407604 SHA256 f82ed8db1e225b760eba09ab37a5a908160e7e76158143bc0d0ac23fd0e6a30f SHA512 e80cddb621c2eb104f8fbd64ad1fe5b1f60717a5f5484f724fb7d39704a74ee6dfc353087afde72fd3d16f919c1e4ad014817c4368d8d51cef4ae3a4cc7e1341 WHIRLPOOL 73e94dfb44c18e97afcab07ba0845cfb699e13ae184513671c01974ed02438cbc097804e471f4ad07e20f0544f874b302c7174960bbf19d9c06d6a10a5657d79
DIST emacs-24.4.50_pre20140430.tar.xz 24016580 SHA256 e522b45f98ff2156696d6950eadf62d91096022b6ae16bd661652e5248fce64c SHA512 51eb12e9d6040aa7bd4377eb51c062c46df8756b97e54bd6f086a093ea4ee7a43ae62025866ee2c1a0b4c46feb7c9dd9719033a19126803f79ddeddf0ae150e5 WHIRLPOOL a1a747bee4bccbea114a7af9791b55dc6be1cfa452f7181b31a927c46d5bf07d8ebc3865cc3cf50c03869cacf0031d63d1dbf6bd6b6a3000c25eab40a59e3389

@ -0,0 +1,367 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.4.50_pre20140430.ebuild,v 1.1 2014/05/02 07:51:57 ulm Exp $
EAPI=5
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
if [[ ${PV##*.} = 9999 ]]; then
EBZR_PROJECT="emacs"
EBZR_BRANCH="trunk"
EBZR_REPO_URI="bzr://bzr.savannah.gnu.org/emacs/${EBZR_BRANCH}/"
# "Nosmart" is much faster for initial branching.
EBZR_INITIAL_URI="nosmart+${EBZR_REPO_URI}"
EBZR_UNPACK_DIR="${WORKDIR}/emacs"
EBZR_WORKDIR_CHECKOUT="t" #434746
inherit bzr
S="${EBZR_UNPACK_DIR}"
else
SRC_URI="http://dev.gentoo.org/~ulm/distfiles/emacs-${PV}.tar.xz
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
# FULL_VERSION keeps the full version number, which is needed in
# order to determine some path information correctly for copy/move
# operations later on
FULL_VERSION="${PV%%_*}"
#S="${WORKDIR}/emacs-${FULL_VERSION}"
S="${WORKDIR}/emacs"
fi
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
HOMEPAGE="http://www.gnu.org/software/emacs/"
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
SLOT="24"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="acl alsa aqua athena dbus games gconf gfile gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
REQUIRED_USE="?? ( aqua X )"
RDEPEND="sys-libs/ncurses
>=app-admin/eselect-emacs-1.16
>=app-emacs/emacs-common-gentoo-1.3-r3[games?,X?]
net-libs/liblockfile
acl? ( virtual/acl )
alsa? ( media-libs/alsa-lib )
dbus? ( sys-apps/dbus )
gfile? ( >=dev-libs/glib-2.28.6 )
gnutls? ( net-libs/gnutls )
gpm? ( sys-libs/gpm )
hesiod? ( net-dns/hesiod )
kerberos? ( virtual/krb5 )
libxml2? ( >=dev-libs/libxml2-2.2.0 )
selinux? ( sys-libs/libselinux )
zlib? ( sys-libs/zlib )
X? (
x11-libs/libXmu
x11-libs/libXt
x11-misc/xbitmaps
gconf? ( >=gnome-base/gconf-2.26.2 )
gsettings? ( >=dev-libs/glib-2.28.6 )
gif? ( media-libs/giflib )
jpeg? ( virtual/jpeg:0= )
png? ( >=media-libs/libpng-1.4:0= )
svg? ( >=gnome-base/librsvg-2.0 )
tiff? ( media-libs/tiff )
xpm? ( x11-libs/libXpm )
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
xft? (
media-libs/fontconfig
media-libs/freetype
x11-libs/libXft
m17n-lib? (
>=dev-libs/libotf-0.9.4
>=dev-libs/m17n-lib-1.5.1
)
)
gtk? (
gtk3? ( x11-libs/gtk+:3 )
!gtk3? ( x11-libs/gtk+:2 )
)
!gtk? (
motif? ( >=x11-libs/motif-2.3:0 )
!motif? (
Xaw3d? ( x11-libs/libXaw3d )
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
)
)
)"
DEPEND="${RDEPEND}
alsa? ( virtual/pkgconfig )
dbus? ( virtual/pkgconfig )
gfile? ( virtual/pkgconfig )
gnutls? ( virtual/pkgconfig )
libxml2? ( virtual/pkgconfig )
X? ( virtual/pkgconfig )
gzip-el? ( app-arch/gzip )
pax_kernel? (
sys-apps/attr
sys-apps/paxctl
)"
if [[ ${PV##*.} = 9999 ]]; then
DEPEND="${DEPEND}
sys-apps/texinfo"
fi
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
SITEFILE="20${PN}-${SLOT}-gentoo.el"
src_prepare() {
if [[ ${PV##*.} = 9999 ]]; then
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
configure.ac)
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
einfo "Emacs branch: ${EBZR_BRANCH}"
einfo "Revision: ${EBZR_REVISION:-${EBZR_REVNO}}"
einfo "Emacs version number: ${FULL_VERSION}"
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|| die "Upstream version number changed to ${FULL_VERSION}"
fi
epatch_user
# Fix filename reference in redirected man page
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|| die "unable to sed ctags.1"
AT_M4DIR=m4 eautoreconf
}
src_configure() {
strip-flags
if use sh; then
replace-flags "-O[1-9]" -O0 #262359
elif use ia64; then
replace-flags "-O[2-9]" -O1 #325373
else
replace-flags "-O[3-9]" -O2
fi
local myconf
if use alsa; then
use sound || ewarn \
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
myconf+=" --with-sound=alsa"
else
myconf+=" --with-sound=$(usex sound oss)"
fi
if use X; then
myconf+=" --with-x --without-ns"
myconf+=" $(use_with gconf)"
myconf+=" $(use_with gsettings)"
myconf+=" $(use_with toolkit-scroll-bars)"
myconf+=" $(use_with gif)"
myconf+=" $(use_with jpeg)"
myconf+=" $(use_with png)"
myconf+=" $(use_with svg rsvg)"
myconf+=" $(use_with tiff)"
myconf+=" $(use_with xpm)"
myconf+=" $(use_with imagemagick)"
if use xft; then
myconf+=" --with-xft"
myconf+=" $(use_with m17n-lib libotf)"
myconf+=" $(use_with m17n-lib m17n-flt)"
else
myconf+=" --without-xft"
myconf+=" --without-libotf --without-m17n-flt"
use m17n-lib && ewarn \
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
fi
local f
if use gtk; then
einfo "Configuring to build with GIMP Toolkit (GTK+)"
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
for f in motif Xaw3d athena; do
use ${f} && ewarn \
"USE flag \"${f}\" has no effect if \"gtk\" is set."
done
elif use motif; then
einfo "Configuring to build with Motif toolkit"
myconf+=" --with-x-toolkit=motif"
for f in Xaw3d athena; do
use ${f} && ewarn \
"USE flag \"${f}\" has no effect if \"motif\" is set."
done
elif use athena || use Xaw3d; then
einfo "Configuring to build with Athena/Lucid toolkit"
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
else
einfo "Configuring to build with no toolkit"
myconf+=" --with-x-toolkit=no"
fi
elif use aqua; then
einfo "Configuring to build with Nextstep (Cocoa) support"
myconf+=" --with-ns --disable-ns-self-contained"
myconf+=" --without-x"
else
myconf+=" --without-x --without-ns"
fi
# Save version information in the Emacs binary. It will be available
# in variable "system-configuration-options".
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
if [[ ${PV##*.} = 9999 ]]; then
myconf+=" EBZR_BRANCH=${EBZR_BRANCH} EBZR_REVNO=${EBZR_REVNO}"
fi
econf \
--program-suffix="-${EMACS_SUFFIX}" \
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
--with-gameuser="${GAMES_USER_DED:-games}" \
--without-compress-install \
--with-file-notification=$(usev gfile || usev inotify || echo no) \
$(use_enable acl) \
$(use_with dbus) \
$(use_with gnutls) \
$(use_with gpm) \
$(use_with hesiod) \
$(use_with kerberos) $(use_with kerberos kerberos5) \
$(use_with libxml2 xml2) \
$(use_with selinux) \
$(use_with wide-int) \
$(use_with zlib) \
${myconf}
}
src_compile() {
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
emake
}
src_install () {
emake DESTDIR="${D}" NO_BIN_LINK=t install
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|| die "moving emacs executable failed"
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|| die "moving emacs man page failed"
# move info dir to avoid collisions with the dir file generated by portage
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|| die "moving info dir failed"
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{applications,icons}
rm -rf "${ED}"/var
# remove unused <version>/site-lisp dir
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
if use gzip-el; then
# compress .el files when a corresponding .elc exists
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
assert "gzip .el failed"
fi
local cdir
if use source; then
cdir="/usr/share/emacs/${FULL_VERSION}/src"
insinto "${cdir}"
# This is not meant to install all the source -- just the
# C source you might find via find-function
doins src/*.{c,h,m}
elif has installsources ${FEATURES}; then
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
fi
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
X
;;; ${PN}-${SLOT} site-lisp configuration
X
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
Y (setq find-function-C-source-directory
Y "${EPREFIX}${cdir}")
X (let ((path (getenv "INFOPATH"))
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
X (and path
X ;; move Emacs Info dir before anything else in /usr/share/info
X (let* ((p (cons nil (split-string path ":" t))) (q p))
X (while (and (cdr q) (not (string-match re (cadr q))))
X (setq q (cdr q)))
X (setcdr q (cons dir (delete dir (cdr q))))
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
EOF
elisp-site-file-install "${T}/${SITEFILE}" || die
dodoc README BUGS
if use aqua; then
dodir /Applications/Gentoo
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
mv nextstep/Emacs.app \
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
fi
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
through the Emacs eselect module, which also redirects man and info
pages. Therefore, several Emacs versions can be installed at the
same time. \"man emacs.eselect\" for details.
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
strongly recommended that you use app-admin/emacs-updater to rebuild
all byte-compiled elisp files of the installed Emacs packages."
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
machine would satisfy basic Emacs requirements under X11.
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
for how to enable anti-aliased fonts."
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
it into /Applications by yourself."
readme.gentoo_create_doc
}
pkg_preinst() {
# move Info dir file to correct name
local infodir=/usr/share/info/${EMACS_SUFFIX} f
if [[ -f ${ED}${infodir}/dir.orig ]]; then
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
elif [[ -d "${ED}"${infodir} ]]; then
# this should not happen in EAPI 4
ewarn "Regenerating Info directory index in ${infodir} ..."
rm -f "${ED}"${infodir}/dir{,.*}
for f in "${ED}"${infodir}/*; do
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
install-info --info-dir="${ED}"${infodir} "${f}" \
|| die "install-info failed"
fi
done
fi
}
pkg_postinst() {
elisp-site-regen
local pvr
for pvr in ${REPLACING_VERSIONS}; do
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
done
readme.gentoo_print_elog
if use livecd; then
# force an update of the emacs symlink for the livecd/dvd,
# because some microemacs packages set it with USE=livecd
eselect emacs update
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
# refresh symlinks in case any installed files have changed
eselect emacs set ${EMACS_SUFFIX}
else
eselect emacs update ifunset
fi
}
pkg_postrm() {
elisp-site-regen
eselect emacs update ifunset
}

@ -5,4 +5,5 @@ DIST vim-patches-7.3.762.patch.bz2 1102824 SHA256 91dd83f66b1f362be987cff40c00c0
DIST vim-patches-7.4.155.patch.bz2 183677 SHA256 df57d372ace540809dde22ad649ee7f13c4a165770cef28bb76d8dc7aa630671 SHA512 0667810a1ae908f5739ab37b32688fff3d65c4f69e83d3f9d0364112e8e7f70c77eeae3d672725df25ad837a75e373619321c1f183e7ded67afad544fbdd7801 WHIRLPOOL 829ab6152daed43323af6537669d4c3d6367138d0858c746ba02a6fc15497ef7161c62ccbe9bac7526296f5adf52a4ba1fe86c3539dd559ddc5cb4f6e0f90cfe
DIST vim-patches-7.4.169.patch.bz2 220499 SHA256 faf5e06098d45b25cea6ddb9e4ef080ce4717f2c2148678ded4f715bcb9fd652 SHA512 1102d7f89ad0cdd81f4bfa03875d400be3b642565527c61e72583b85723ef5f25ed7d7bc0dd6b620d013f65f500add84b96db734f45c21369e22405f6f6a6f8d WHIRLPOOL 1e45b776f85c941b3b741018338ece2b299576e5261103bc381e9b1f1162652bd79f119e060710dbabf99e3bff0668de9485df38b57897f716bd52a2f1f3cb2f
DIST vim-patches-7.4.193.patch.bz2 252912 SHA256 9fbfa1758610a84315bb74c3e6d8224779fd5ef1fccb3acabc488d855966839a SHA512 d86d1bcc2dea13971772ff716dfd455c66d7e8df280c2a7293ec2d7baa10a0e184b4083044665db7b4a0a7c64bbcc0c3f20e43fd937dd712fb4cfd6ce9a0a5ab WHIRLPOOL 46203445b9d8b445f2be63262a60d7e48ddf922c5830326af84199760e8770b0b987974f4abb52d97099ddfabb6c0f93cb6647bfe5e0f94eed056bbb10aee3db
DIST vim-patches-7.4.273.patch.bz2 506378 SHA256 065447179d22602315e2965d135cf9f1db4394ff5655520719f6338ff29e89ca SHA512 029a5cef758e4b201eabbc82458f3e1c3674582715a8c78a7270f3ecd57980b1cef66a0152526fd3505685c27c07f6e6742da48da9ad9546e3cfc2a5e7c11164 WHIRLPOOL 305322e991e9640b80147dd5ceac9dd6dae93a07610f807bbf01c0fdf37cba67ea41a1b2720c8a43da0161c57e0a522086f135efc712fb0106497a21288a872a
DIST vim-patches-7.4.52.patch.bz2 14 SHA256 d3dda84eb03b9738d118eb2be78e246106900493c0ae07819ad60815134a8058 SHA512 6de201dfed1d45412509c65deb34690dc2d09c6aafccfe491fd2f440f92842b9c755b61dc7bcdd4cc0c9f18cf46c2b3a1241e99c4c2a33fff5555e7b2f0b6348 WHIRLPOOL 39fd27630df1bd07de69b6bae68be5028bbefbc8ffdac645d5e0527eb1ed9575d0aaf97b39d0d6c9b69401846fbf8aeb3383b14bafb4a7564a20e92182dbd4b0

@ -0,0 +1,399 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/gvim/gvim-7.4.273.ebuild,v 1.1 2014/05/01 09:07:12 radhermit Exp $
EAPI=5
VIM_VERSION="7.4"
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
PYTHON_REQ_USE=threads
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 prefix python-single-r1
if [[ ${PV} == 9999* ]] ; then
inherit mercurial
EHG_REPO_URI="https://vim.googlecode.com/hg/"
EHG_PROJECT="vim"
else
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
fi
DESCRIPTION="GUI version of the Vim text editor"
HOMEPAGE="http://www.vim.org/"
SLOT="0"
LICENSE="vim"
IUSE="acl aqua cscope debug gnome gtk lua luajit motif neXt netbeans nls perl python racket ruby selinux session tcl"
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
luajit? ( lua )
"
RDEPEND="
~app-editors/vim-core-${PV}
>=app-admin/eselect-vi-1.1
>=sys-libs/ncurses-5.2-r2
x11-libs/libXext
x11-libs/libXt
acl? ( kernel_linux? ( sys-apps/acl ) )
!aqua? (
gtk? (
>=x11-libs/gtk+-2.6:2
x11-libs/libXft
gnome? ( >=gnome-base/libgnomeui-2.6 )
)
!gtk? (
motif? ( >=x11-libs/motif-2.3:0 )
!motif? (
neXt? ( x11-libs/neXtaw )
!neXt? ( x11-libs/libXaw )
)
)
)
cscope? ( dev-util/cscope )
lua? (
luajit? ( dev-lang/luajit )
!luajit? ( dev-lang/lua[deprecated] )
)
nls? ( virtual/libintl )
perl? ( dev-lang/perl )
python? ( ${PYTHON_DEPS} )
racket? ( dev-scheme/racket )
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )
selinux? ( sys-libs/libselinux )
session? ( x11-libs/libSM )
tcl? ( dev-lang/tcl )
"
DEPEND="${RDEPEND}
>=app-admin/eselect-vi-1.1
dev-util/ctags
sys-devel/autoconf
virtual/pkgconfig
nls? ( sys-devel/gettext )
"
S=${WORKDIR}/vim${VIM_VERSION/.}
pkg_setup() {
# people with broken alphabets run into trouble. bug 82186.
unset LANG LC_ALL
export LC_COLLATE="C"
# Gnome sandbox silliness. bug #114475.
mkdir -p "${T}"/home
export HOME="${T}"/home
use python && python-single-r1_pkg_setup
}
src_prepare() {
if [[ ${PV} != 9999* ]] ; then
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
# Apply any patches available from vim.org for this version
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
fi
fi
# Fixup a script to use awk instead of nawk
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|| die "mve.awk sed failed"
# Read vimrc and gvimrc from /etc/vim
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
# Hopefully this pattern won't break for a while at least.
# This fixes bug 29398 (27 Sep 2003 agriffis)
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
"${S}"/runtime/doc/syntax.txt \
"${S}"/runtime/doc/tagsrch.txt \
"${S}"/runtime/doc/usr_29.txt \
"${S}"/runtime/menu.vim \
"${S}"/src/configure.in || die 'sed failed'
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
# this is NeXT, but it's actually just a file in dev-libs/9libs
# This fixes bug 43885 (20 Mar 2004 agriffis)
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
# correctly. To avoid some really entertaining error messages about stuff
# which isn't even in the source file being invalid, we'll do some trickery
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
# Try to avoid sandbox problems. Bug #114475.
if [[ -d "${S}"/src/po ]] ; then
sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
"${S}"/src/po/Makefile
fi
if version_is_at_least 7.3.122 ; then
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
fi
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
if version_is_at_least 7.3 ; then
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
fi
epatch_user
}
src_configure() {
local myconf
# Fix bug 37354: Disallow -funroll-all-loops on amd64
# Bug 57859 suggests that we want to do this for all archs
filter-flags -funroll-all-loops
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
# everyone since previous flag filtering bugs have turned out to affect
# multiple archs...
replace-flags -O3 -O2
# Fix bug 18245: Prevent "make" from the following chain:
# (1) Notice configure.in is newer than auto/configure
# (2) Rebuild auto/configure
# (3) Notice auto/configure is newer than auto/config.mk
# (4) Run ./configure (with wrong args) to remake auto/config.mk
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
rm -f src/auto/configure
emake -j1 -C src autoconf
# This should fix a sandbox violation (see bug 24447). The hvc
# things are for ppc64, see bug 86433.
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
[[ -e ${file} ]] && addwrite $file
done
use debug && append-flags "-DDEBUG"
myconf="--with-features=huge --disable-gpm --enable-multibyte"
myconf+=" $(use_enable acl)"
myconf+=" $(use_enable cscope)"
myconf+=" $(use_enable lua luainterp)"
myconf+=" $(use_with luajit)"
myconf+=" $(use_enable netbeans)"
myconf+=" $(use_enable nls)"
myconf+=" $(use_enable perl perlinterp)"
myconf+=" $(use_enable racket mzschemeinterp)"
myconf+=" $(use_enable ruby rubyinterp)"
myconf+=" $(use_enable selinux)"
myconf+=" $(use_enable session xsmp)"
myconf+=" $(use_enable tcl tclinterp)"
if use python ; then
if [[ ${EPYTHON} == python3* ]] ; then
myconf+=" --enable-python3interp"
export vi_cv_path_python3="${PYTHON}"
else
myconf+=" --enable-pythoninterp"
export vi_cv_path_python="${PYTHON}"
fi
else
myconf+=" --disable-pythoninterp --disable-python3interp"
fi
# --with-features=huge forces on cscope even if we --disable it. We need
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
if ! use cscope ; then
sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \
die "couldn't disable cscope"
fi
# gvim's GUI preference order is as follows:
# aqua CARBON (not tested)
# -aqua gtk gnome GNOME2
# -aqua gtk -gnome GTK2
# -aqua -gtk motif MOTIF
# -aqua -gtk -motif neXt NEXTAW
# -aqua -gtk -motif -neXt ATHENA
echo ; echo
if use aqua ; then
einfo "Building gvim with the Carbon GUI"
myconf+=" --enable-darwin --enable-gui=carbon"
elif use gtk ; then
myconf+=" --enable-gtk2-check"
if use gnome ; then
einfo "Building gvim with the Gnome 2 GUI"
myconf+=" --enable-gui=gnome2"
else
einfo "Building gvim with the gtk+-2 GUI"
myconf+=" --enable-gui=gtk2"
fi
elif use motif ; then
einfo "Building gvim with the MOTIF GUI"
myconf+=" --enable-gui=motif"
elif use neXt ; then
einfo "Building gvim with the neXtaw GUI"
myconf+=" --enable-gui=nextaw"
else
einfo "Building gvim with the Athena GUI"
myconf+=" --enable-gui=athena"
fi
echo ; echo
# Let Portage do the stripping. Some people like that.
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
# Keep Gentoo Prefix env contained within the EPREFIX
use prefix && myconf+=" --without-local-dir"
if [[ ${CHOST} == *-interix* ]]; then
# avoid finding of this function, to avoid having to patch either
# configure or the source, which would be much more hackish.
# after all vim does it right, only interix is badly broken (again)
export ac_cv_func_sigaction=no
fi
econf \
--with-modified-by=Gentoo-${PVR} \
--with-vim-name=gvim --with-x \
${myconf}
}
src_compile() {
# The following allows emake to be used
emake -j1 -C src auto/osdef.h objects
emake
}
src_test() {
echo
einfo "Starting vim tests. Several error messages will be shown"
einfo "while the tests run. This is normal behaviour and does not"
einfo "indicate a fault."
echo
ewarn "If the tests fail, your terminal may be left in a strange"
ewarn "state. Usually, running 'reset' will fix this."
echo
# Don't let vim talk to X
unset DISPLAY
# We've got to call make test from within testdir, since the Makefiles
# don't pass through our VIMPROG argument
cd "${S}"/src/testdir
# Test 49 won't work inside a portage environment
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
sed -i 's~test49.out~~g' Makefile
# We don't want to rebuild vim before running the tests
sed -i 's,: \$(VIMPROG),: ,' Makefile
# Make gvim not try to connect to X. See :help gui-x11-start
# in vim for how this evil trickery works.
ln -s "${S}"/src/gvim "${S}"/src/testvim
# Don't try to do the additional GUI test
emake -j1 VIMPROG=../testvim nongui
}
# Make convenience symlinks, hopefully without stepping on toes. Some
# of these links are "owned" by the vim ebuild when it is installed,
# but they might be good for gvim as well (see bug 45828)
update_vim_symlinks() {
has "${EAPI:-0}" 0 1 2 && use !prefix && EROOT="${ROOT}"
local f syms
syms="vimdiff rvim rview"
einfo "Calling eselect vi update..."
# Call this with --if-unset to respect user's choice (bug 187449)
eselect vi update --if-unset
# Make or remove convenience symlink, vim -> gvim
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
rm "${EROOT}"/usr/bin/vim
fi
# Make or remove convenience symlinks to vim
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
for f in ${syms}; do
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
done
else
for f in ${syms}; do
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
rm -f "${EROOT}"/usr/bin/${f}
fi
done
fi
# This will still break if you merge then remove the vi package,
# but there's only so much you can do, eh? Unfortunately we don't
# have triggers like are done in rpm-land.
}
src_install() {
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
dobin src/gvim
dosym gvim /usr/bin/gvimdiff
dosym gvim /usr/bin/evim
dosym gvim /usr/bin/eview
dosym gvim /usr/bin/gview
dosym gvim /usr/bin/rgvim
dosym gvim /usr/bin/rgview
dodir /usr/share/man/man1
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gvim.1
echo ".so vim.1" > "${ED}"/usr/share/man/man1/gview.1
echo ".so vimdiff.1" > "${ED}"/usr/share/man/man1/gvimdiff.1
insinto /etc/vim
newins "${FILESDIR}"/gvimrc-r1 gvimrc
eprefixify "${ED}"/etc/vim/gvimrc
newmenu "${FILESDIR}"/gvim.desktop-r2 gvim.desktop
doicon "${FILESDIR}"/gvim.xpm
# bash completion script, bug #79018.
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
# We shouldn't be installing the ex or view man page symlinks, as they
# are managed by eselect-vi
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
}
pkg_postinst() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
# Update fdo mime stuff, bug #78394
fdo-mime_mime_database_update
if [[ -z ${REPLACING_VERSIONS} ]] ; then
echo
elog "Vim 7 includes an integrated spell checker. You need to install"
elog "word list files before you can use it. There are ebuilds for"
elog "some of these named app-vim/vim-spell-*. If your language of"
elog "choice is not included, please consult vim-spell.eclass for"
elog "instructions on how to make a package."
echo
ewarn "Note that the English word lists are no longer installed by"
ewarn "default."
echo
fi
# Make convenience symlinks
update_vim_symlinks
}
pkg_postrm() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
# Update fdo mime stuff, bug #78394
fdo-mime_mime_database_update
# Make convenience symlinks
update_vim_symlinks
}

@ -1,2 +1,3 @@
DIST scite335.tgz 2099170 SHA256 5acd167046afe7dfa280c034ab9c7dc5d1be1d548e4999c2456fb2a61468fa89 SHA512 a8a976e58e8190d46162a6ef0834403702460c703bc5904fff95610a40014ed024307d6c0ae727e9bb71868fc4ef339878595e879fcfdec4076ea4e656d6b584 WHIRLPOOL fdd89b02fed78feb50e3ae885a8b918541d949625cee88318db7c066f3ad8f288ee8ae87c627d9eed8217a4a5628acd2ddd56b5421a2ac3b848999a148bae4bd
DIST scite339.tgz 2229269 SHA256 cd7bdfdf8cd870893375519405510417145ec0a9790ed7209f21d552d36c0775 SHA512 f64c044c62123c57f18de2e5e27733827118a442818ffc071d44f5a0cf191e7192c73c3cb3d872678b8fb2f1ed03f7f391d02583c2bb79b0cb6ebf0e2efa5824 WHIRLPOOL 30fc86dd1b6db97b83981adaf29c0e008fb84091891fd0b88d79456e1ff3753c5fe28d075561b08ebf3f306081cbeda6832065c48c934e71ff1cea26efc10bca
DIST scite341.tgz 2237159 SHA256 ab2940ba6ad3f1c7c33aea233dd5b44efc75319062fe0b3625db04c747bf3341 SHA512 66f19d2654f7ad40e8d237a05e7c393aafa3faf79d0125b6c7acadf4f701ef0ba2db31380c4c72640afc8cf2436f24cf17172d5f10fa552817fb3eff9c616aff WHIRLPOOL 90e2fc7da519dee62a3016ab9b5721406fd9fdee5d360b122d336eb560d87fae3e6464fdb2af498c9aa92661c37ad3acaab26955d716df203cfb541c3e15fc02

@ -0,0 +1,87 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/scite-3.4.1.ebuild,v 1.1 2014/05/01 20:24:54 swift Exp $
EAPI="4"
inherit toolchain-funcs eutils
MY_PV=${PV//./}
DESCRIPTION="A very powerful editor for programmers"
HOMEPAGE="http://www.scintilla.org/SciTE.html"
SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
LICENSE="HPND lua? ( MIT )"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux"
IUSE="lua"
RDEPEND="dev-libs/glib
x11-libs/cairo
x11-libs/gtk+:2
x11-libs/gdk-pixbuf
x11-libs/pango
lua? ( >=dev-lang/lua-5 )"
DEPEND="${RDEPEND}
virtual/pkgconfig
>=sys-apps/sed-4"
S="${WORKDIR}/${PN}/gtk"
src_prepare() {
cd "${WORKDIR}/scintilla/gtk"
sed -i makefile \
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
-e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \
-e "s#-Os##" \
|| die "error patching makefile"
cd "${WORKDIR}/scite/gtk"
sed -i makefile \
-e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
|| die "error patching makefile"
cd "${S}"
sed -i makefile \
-e 's#usr/local#usr#g' \
-e 's#/gnome/apps/Applications#/applications#' \
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
-e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \
-e 's#${D}##' \
-e 's#-g root#-g 0#' \
-e "s#-Os##" \
|| die "error patching makefile"
cd "${WORKDIR}"
epatch "${FILESDIR}/${PN}-3.0.1-no-lua.patch"
}
src_compile() {
emake -C ../../scintilla/gtk AR="$(tc-getAR)"
if use lua; then
emake
else
emake NO_LUA=1
fi
}
src_install() {
dodir /usr/bin
dodir /usr/share/{pixmaps,applications}
emake prefix="${ED}/usr" install
# we have to keep this because otherwise it'll break upgrading
mv "${ED}/usr/bin/SciTE" "${ED}/usr/bin/scite" || die
dosym /usr/bin/scite /usr/bin/SciTE
# replace .desktop file with our own working version
rm -f "${ED}/usr/share/applications/SciTE.desktop"
domenu "${FILESDIR}/scite.desktop"
doman ../doc/scite.1
dodoc ../README
}

@ -8,4 +8,5 @@ DIST vim-patches-7.3.762.patch.bz2 1102824 SHA256 91dd83f66b1f362be987cff40c00c0
DIST vim-patches-7.4.155.patch.bz2 183677 SHA256 df57d372ace540809dde22ad649ee7f13c4a165770cef28bb76d8dc7aa630671 SHA512 0667810a1ae908f5739ab37b32688fff3d65c4f69e83d3f9d0364112e8e7f70c77eeae3d672725df25ad837a75e373619321c1f183e7ded67afad544fbdd7801 WHIRLPOOL 829ab6152daed43323af6537669d4c3d6367138d0858c746ba02a6fc15497ef7161c62ccbe9bac7526296f5adf52a4ba1fe86c3539dd559ddc5cb4f6e0f90cfe
DIST vim-patches-7.4.169.patch.bz2 220499 SHA256 faf5e06098d45b25cea6ddb9e4ef080ce4717f2c2148678ded4f715bcb9fd652 SHA512 1102d7f89ad0cdd81f4bfa03875d400be3b642565527c61e72583b85723ef5f25ed7d7bc0dd6b620d013f65f500add84b96db734f45c21369e22405f6f6a6f8d WHIRLPOOL 1e45b776f85c941b3b741018338ece2b299576e5261103bc381e9b1f1162652bd79f119e060710dbabf99e3bff0668de9485df38b57897f716bd52a2f1f3cb2f
DIST vim-patches-7.4.193.patch.bz2 252912 SHA256 9fbfa1758610a84315bb74c3e6d8224779fd5ef1fccb3acabc488d855966839a SHA512 d86d1bcc2dea13971772ff716dfd455c66d7e8df280c2a7293ec2d7baa10a0e184b4083044665db7b4a0a7c64bbcc0c3f20e43fd937dd712fb4cfd6ce9a0a5ab WHIRLPOOL 46203445b9d8b445f2be63262a60d7e48ddf922c5830326af84199760e8770b0b987974f4abb52d97099ddfabb6c0f93cb6647bfe5e0f94eed056bbb10aee3db
DIST vim-patches-7.4.273.patch.bz2 506378 SHA256 065447179d22602315e2965d135cf9f1db4394ff5655520719f6338ff29e89ca SHA512 029a5cef758e4b201eabbc82458f3e1c3674582715a8c78a7270f3ecd57980b1cef66a0152526fd3505685c27c07f6e6742da48da9ad9546e3cfc2a5e7c11164 WHIRLPOOL 305322e991e9640b80147dd5ceac9dd6dae93a07610f807bbf01c0fdf37cba67ea41a1b2720c8a43da0161c57e0a522086f135efc712fb0106497a21288a872a
DIST vim-patches-7.4.52.patch.bz2 14 SHA256 d3dda84eb03b9738d118eb2be78e246106900493c0ae07819ad60815134a8058 SHA512 6de201dfed1d45412509c65deb34690dc2d09c6aafccfe491fd2f440f92842b9c755b61dc7bcdd4cc0c9f18cf46c2b3a1241e99c4c2a33fff5555e7b2f0b6348 WHIRLPOOL 39fd27630df1bd07de69b6bae68be5028bbefbc8ffdac645d5e0527eb1ed9575d0aaf97b39d0d6c9b69401846fbf8aeb3383b14bafb4a7564a20e92182dbd4b0

@ -0,0 +1,232 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-core/vim-core-7.4.273.ebuild,v 1.1 2014/05/01 08:59:27 radhermit Exp $
EAPI=5
VIM_VERSION="7.4"
inherit eutils vim-doc flag-o-matic versionator bash-completion-r1 prefix
if [[ ${PV} == 9999* ]] ; then
inherit mercurial
EHG_REPO_URI="https://vim.googlecode.com/hg/"
EHG_PROJECT="vim"
else
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${PN}-7.3-gentoo-patches-r4.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~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"
fi
DESCRIPTION="vim and gvim shared files"
HOMEPAGE="http://www.vim.org/"
SLOT="0"
LICENSE="vim"
IUSE="nls acl minimal"
DEPEND="sys-devel/autoconf"
PDEPEND="!minimal? ( app-vim/gentoo-syntax )"
S=${WORKDIR}/vim${VIM_VERSION/.}
pkg_setup() {
# people with broken alphabets run into trouble. bug 82186.
unset LANG LC_ALL
export LC_COLLATE="C"
# Gnome sandbox silliness. bug #114475.
mkdir -p "${T}"/home
export HOME="${T}"/home
}
src_prepare() {
if [[ ${PV} != 9999* ]] ; then
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
# Apply any patches available from vim.org for this version
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
fi
if [[ -d "${WORKDIR}"/gentoo/patches-core/ ]]; then
# Patches for vim-core only (runtime/*)
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/gentoo/patches-core/
fi
fi
# Fixup a script to use awk instead of nawk
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|| die "mve.awk sed failed"
# Read vimrc and gvimrc from /etc/vim
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
# Hopefully this pattern won't break for a while at least.
# This fixes bug 29398 (27 Sep 2003 agriffis)
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
"${S}"/runtime/doc/syntax.txt \
"${S}"/runtime/doc/tagsrch.txt \
"${S}"/runtime/doc/usr_29.txt \
"${S}"/runtime/menu.vim \
"${S}"/src/configure.in || die 'sed failed'
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
# this is NeXT, but it's actually just a file in dev-libs/9libs
# This fixes bug 43885 (20 Mar 2004 agriffis)
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
# correctly. To avoid some really entertaining error messages about stuff
# which isn't even in the source file being invalid, we'll do some trickery
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
# Try to avoid sandbox problems. Bug #114475.
if [[ -d "${S}"/src/po ]] ; then
sed -i -e \
'/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
"${S}"/src/po/Makefile
fi
if version_is_at_least 7.3.122 ; then
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
fi
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
if version_is_at_least 7.3 ; then
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
fi
epatch_user
}
src_configure() {
local myconf
# Fix bug 37354: Disallow -funroll-all-loops on amd64
# Bug 57859 suggests that we want to do this for all archs
filter-flags -funroll-all-loops
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
# everyone since previous flag filtering bugs have turned out to affect
# multiple archs...
replace-flags -O3 -O2
# Fix bug 18245: Prevent "make" from the following chain:
# (1) Notice configure.in is newer than auto/configure
# (2) Rebuild auto/configure
# (3) Notice auto/configure is newer than auto/config.mk
# (4) Run ./configure (with wrong args) to remake auto/config.mk
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
rm -f src/auto/configure
emake -j1 -C src autoconf
# This should fix a sandbox violation (see bug 24447). The hvc
# things are for ppc64, see bug 86433.
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
[[ -e ${file} ]] && addwrite $file
done
# Let Portage do the stripping. Some people like that.
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
# Keep Gentoo Prefix env contained within the EPREFIX
use prefix && myconf+=" --without-local-dir"
econf \
--with-modified-by=Gentoo-${PVR} \
--with-features=tiny \
--enable-gui=no \
--without-x \
--disable-darwin \
--disable-perlinterp \
--disable-pythoninterp \
--disable-rubyinterp \
--disable-gpm \
--disable-selinux \
$(use_enable nls) \
$(use_enable acl) \
${myconf}
}
src_compile() {
# The following allows emake to be used
emake -j1 -C src auto/osdef.h objects
emake tools
}
src_test() { :; }
src_install() {
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
dodir /usr/{bin,share/{man/man1,vim}}
cd src || die "cd src failed"
emake \
installruntime \
installmanlinks \
installmacros \
installtutor \
installtutorbin \
installtools \
install-languages \
install-icons \
DESTDIR="${D}" \
BINDIR="${EPREFIX}"/usr/bin \
MANDIR="${EPREFIX}"/usr/share/man \
DATADIR="${EPREFIX}"/usr/share
keepdir ${vimfiles}/keymap
# default vimrc is installed by vim-core since it applies to
# both vim and gvim
insinto /etc/vim/
newins "${FILESDIR}"/vimrc-r4 vimrc
eprefixify "${ED}"/etc/vim/vimrc
if use minimal ; then
# To save space, install only a subset of the files.
# Helps minimalize the livecd, bug 65144.
eshopts_push -s extglob
rm -fr "${ED}${vimfiles}"/{compiler,doc,ftplugin,indent}
rm -fr "${ED}${vimfiles}"/{macros,print,tools,tutor}
rm "${ED}"/usr/bin/vimtutor
local keep_colors="default"
ignore=$(rm -fr "${ED}${vimfiles}"/colors/!(${keep_colors}).vim )
local keep_syntax="conf|crontab|fstab|inittab|resolv|sshdconfig"
# tinkering with the next line might make bad things happen ...
keep_syntax="${keep_syntax}|syntax|nosyntax|synload"
ignore=$(rm -fr "${ED}${vimfiles}"/syntax/!(${keep_syntax}).vim )
eshopts_pop
fi
# These files might have slight security issues, so we won't
# install them. See bug #77841. We don't mind if these don't
# exist.
rm "${ED}${vimfiles}"/tools/{vimspell.sh,tcltags} 2>/dev/null
newbashcomp "${FILESDIR}"/xxd-completion xxd
# We shouldn't be installing the ex or view man page symlinks, as they
# are managed by eselect-vi
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
}
pkg_postinst() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
}
pkg_postrm() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
}

@ -5,4 +5,5 @@ DIST vim-patches-7.3.762.patch.bz2 1102824 SHA256 91dd83f66b1f362be987cff40c00c0
DIST vim-patches-7.4.155.patch.bz2 183677 SHA256 df57d372ace540809dde22ad649ee7f13c4a165770cef28bb76d8dc7aa630671 SHA512 0667810a1ae908f5739ab37b32688fff3d65c4f69e83d3f9d0364112e8e7f70c77eeae3d672725df25ad837a75e373619321c1f183e7ded67afad544fbdd7801 WHIRLPOOL 829ab6152daed43323af6537669d4c3d6367138d0858c746ba02a6fc15497ef7161c62ccbe9bac7526296f5adf52a4ba1fe86c3539dd559ddc5cb4f6e0f90cfe
DIST vim-patches-7.4.169.patch.bz2 220499 SHA256 faf5e06098d45b25cea6ddb9e4ef080ce4717f2c2148678ded4f715bcb9fd652 SHA512 1102d7f89ad0cdd81f4bfa03875d400be3b642565527c61e72583b85723ef5f25ed7d7bc0dd6b620d013f65f500add84b96db734f45c21369e22405f6f6a6f8d WHIRLPOOL 1e45b776f85c941b3b741018338ece2b299576e5261103bc381e9b1f1162652bd79f119e060710dbabf99e3bff0668de9485df38b57897f716bd52a2f1f3cb2f
DIST vim-patches-7.4.193.patch.bz2 252912 SHA256 9fbfa1758610a84315bb74c3e6d8224779fd5ef1fccb3acabc488d855966839a SHA512 d86d1bcc2dea13971772ff716dfd455c66d7e8df280c2a7293ec2d7baa10a0e184b4083044665db7b4a0a7c64bbcc0c3f20e43fd937dd712fb4cfd6ce9a0a5ab WHIRLPOOL 46203445b9d8b445f2be63262a60d7e48ddf922c5830326af84199760e8770b0b987974f4abb52d97099ddfabb6c0f93cb6647bfe5e0f94eed056bbb10aee3db
DIST vim-patches-7.4.273.patch.bz2 506378 SHA256 065447179d22602315e2965d135cf9f1db4394ff5655520719f6338ff29e89ca SHA512 029a5cef758e4b201eabbc82458f3e1c3674582715a8c78a7270f3ecd57980b1cef66a0152526fd3505685c27c07f6e6742da48da9ad9546e3cfc2a5e7c11164 WHIRLPOOL 305322e991e9640b80147dd5ceac9dd6dae93a07610f807bbf01c0fdf37cba67ea41a1b2720c8a43da0161c57e0a522086f135efc712fb0106497a21288a872a
DIST vim-patches-7.4.52.patch.bz2 14 SHA256 d3dda84eb03b9738d118eb2be78e246106900493c0ae07819ad60815134a8058 SHA512 6de201dfed1d45412509c65deb34690dc2d09c6aafccfe491fd2f440f92842b9c755b61dc7bcdd4cc0c9f18cf46c2b3a1241e99c4c2a33fff5555e7b2f0b6348 WHIRLPOOL 39fd27630df1bd07de69b6bae68be5028bbefbc8ffdac645d5e0527eb1ed9575d0aaf97b39d0d6c9b69401846fbf8aeb3383b14bafb4a7564a20e92182dbd4b0

@ -0,0 +1,370 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim/vim-7.4.273.ebuild,v 1.2 2014/05/01 09:06:06 radhermit Exp $
EAPI=5
VIM_VERSION="7.4"
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
PYTHON_REQ_USE=threads
inherit eutils vim-doc flag-o-matic fdo-mime versionator bash-completion-r1 python-single-r1
if [[ ${PV} == 9999* ]] ; then
inherit mercurial
EHG_REPO_URI="https://vim.googlecode.com/hg/"
EHG_PROJECT="vim"
else
VIM_ORG_PATCHES="vim-patches-${PV}.patch.bz2"
SRC_URI="ftp://ftp.vim.org/pub/vim/unix/vim-${VIM_VERSION}.tar.bz2
http://dev.gentoo.org/~radhermit/vim/${VIM_ORG_PATCHES}"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~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"
fi
DESCRIPTION="Vim, an improved vi-style text editor"
HOMEPAGE="http://www.vim.org/"
SLOT="0"
LICENSE="vim"
IUSE="X acl cscope debug gpm lua luajit minimal nls perl python racket ruby selinux tcl vim-pager"
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
luajit? ( lua )
"
RDEPEND="
>=app-admin/eselect-vi-1.1
>=sys-libs/ncurses-5.2-r2
nls? ( virtual/libintl )
acl? ( kernel_linux? ( sys-apps/acl ) )
cscope? ( dev-util/cscope )
gpm? ( >=sys-libs/gpm-1.19.3 )
lua? (
luajit? ( dev-lang/luajit )
!luajit? ( dev-lang/lua[deprecated] )
)
!minimal? (
~app-editors/vim-core-${PV}
dev-util/ctags
)
perl? ( dev-lang/perl )
python? ( ${PYTHON_DEPS} )
racket? ( dev-scheme/racket )
ruby? ( || ( dev-lang/ruby:2.1 dev-lang/ruby:2.0 dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )
selinux? ( sys-libs/libselinux )
tcl? ( dev-lang/tcl )
X? ( x11-libs/libXt )
"
DEPEND="${RDEPEND}
>=app-admin/eselect-vi-1.1
sys-devel/autoconf
>=sys-libs/ncurses-5.2-r2
nls? ( sys-devel/gettext )
"
S=${WORKDIR}/vim${VIM_VERSION/.}
pkg_setup() {
# people with broken alphabets run into trouble. bug 82186.
unset LANG LC_ALL
export LC_COLLATE="C"
# Gnome sandbox silliness. bug #114475.
mkdir -p "${T}"/home
export HOME="${T}"/home
use python && python-single-r1_pkg_setup
}
src_prepare() {
if [[ ${PV} != 9999* ]] ; then
if [[ -f "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2} ]] ; then
# Apply any patches available from vim.org for this version
epatch "${WORKDIR}"/${VIM_ORG_PATCHES%.bz2}
fi
fi
# Fixup a script to use awk instead of nawk
sed -i '1s|.*|#!'"${EPREFIX}"'/usr/bin/awk -f|' "${S}"/runtime/tools/mve.awk \
|| die "mve.awk sed failed"
# Read vimrc and gvimrc from /etc/vim
echo '#define SYS_VIMRC_FILE "'${EPREFIX}'/etc/vim/vimrc"' >> "${S}"/src/feature.h
echo '#define SYS_GVIMRC_FILE "'${EPREFIX}'/etc/vim/gvimrc"' >> "${S}"/src/feature.h
# Use exuberant ctags which installs as /usr/bin/exuberant-ctags.
# Hopefully this pattern won't break for a while at least.
# This fixes bug 29398 (27 Sep 2003 agriffis)
sed -i 's/\<ctags\("\| [-*.]\)/exuberant-&/g' \
"${S}"/runtime/doc/syntax.txt \
"${S}"/runtime/doc/tagsrch.txt \
"${S}"/runtime/doc/usr_29.txt \
"${S}"/runtime/menu.vim \
"${S}"/src/configure.in || die 'sed failed'
# Don't be fooled by /usr/include/libc.h. When found, vim thinks
# this is NeXT, but it's actually just a file in dev-libs/9libs
# This fixes bug 43885 (20 Mar 2004 agriffis)
sed -i 's/ libc\.h / /' "${S}"/src/configure.in || die 'sed failed'
# gcc on sparc32 has this, uhm, interesting problem with detecting EOF
# correctly. To avoid some really entertaining error messages about stuff
# which isn't even in the source file being invalid, we'll do some trickery
# to make the error never occur. bug 66162 (02 October 2004 ciaranm)
find "${S}" -name '*.c' | while read c ; do echo >> "$c" ; done
# conditionally make the manpager.sh script
if use vim-pager ; then
cat <<-END > "${S}"/runtime/macros/manpager.sh
#!/bin/sh
sed -e 's/\x1B\[[[:digit:]]\+m//g' | col -b | \\
vim \\
-c 'let no_plugin_maps = 1' \\
-c 'set nolist nomod ft=man' \\
-c 'let g:showmarks_enable=0' \\
-c 'runtime! macros/less.vim' -
END
fi
# Try to avoid sandbox problems. Bug #114475.
if [[ -d "${S}"/src/po ]] ; then
sed -i '/-S check.vim/s,..VIM.,ln -s $(VIM) testvim \; ./testvim -X,' \
"${S}"/src/po/Makefile
fi
if version_is_at_least 7.3.122 ; then
cp "${S}"/src/config.mk.dist "${S}"/src/auto/config.mk
fi
# Bug #378107 - Build properly with >=perl-core/ExtUtils-ParseXS-3.20.0
if version_is_at_least 7.3 ; then
sed -i "s:\\\$(PERLLIB)/ExtUtils/xsubpp:${EPREFIX}/usr/bin/xsubpp:" \
"${S}"/src/Makefile || die 'sed for ExtUtils-ParseXS failed'
fi
epatch_user
}
src_configure() {
local myconf
# Fix bug 37354: Disallow -funroll-all-loops on amd64
# Bug 57859 suggests that we want to do this for all archs
filter-flags -funroll-all-loops
# Fix bug 76331: -O3 causes problems, use -O2 instead. We'll do this for
# everyone since previous flag filtering bugs have turned out to affect
# multiple archs...
replace-flags -O3 -O2
# Fix bug 18245: Prevent "make" from the following chain:
# (1) Notice configure.in is newer than auto/configure
# (2) Rebuild auto/configure
# (3) Notice auto/configure is newer than auto/config.mk
# (4) Run ./configure (with wrong args) to remake auto/config.mk
sed -i 's/ auto.config.mk:/:/' src/Makefile || die "Makefile sed failed"
rm -f src/auto/configure
emake -j1 -C src autoconf
# This should fix a sandbox violation (see bug 24447). The hvc
# things are for ppc64, see bug 86433.
for file in /dev/pty/s* /dev/console /dev/hvc/* /dev/hvc* ; do
[[ -e ${file} ]] && addwrite $file
done
if use minimal ; then
myconf="--with-features=tiny \
--disable-nls \
--disable-multibyte \
--disable-acl \
--enable-gui=no \
--without-x \
--disable-darwin \
--disable-luainterp \
--disable-perlinterp \
--disable-pythoninterp \
--disable-mzschemeinterp \
--disable-rubyinterp \
--disable-selinux \
--disable-tclinterp \
--disable-gpm"
else
use debug && append-flags "-DDEBUG"
myconf="--with-features=huge --enable-multibyte"
myconf+=" $(use_enable acl)"
myconf+=" $(use_enable cscope)"
myconf+=" $(use_enable gpm)"
myconf+=" $(use_enable lua luainterp)"
myconf+=" $(use_with luajit)"
myconf+=" $(use_enable nls)"
myconf+=" $(use_enable perl perlinterp)"
myconf+=" $(use_enable racket mzschemeinterp)"
myconf+=" $(use_enable ruby rubyinterp)"
myconf+=" $(use_enable selinux)"
myconf+=" $(use_enable tcl tclinterp)"
if use python ; then
if [[ ${EPYTHON} == python3* ]] ; then
myconf+=" --enable-python3interp"
export vi_cv_path_python3="${PYTHON}"
else
myconf+=" --enable-pythoninterp"
export vi_cv_path_python="${PYTHON}"
fi
else
myconf+=" --disable-pythoninterp --disable-python3interp"
fi
# --with-features=huge forces on cscope even if we --disable it. We need
# to sed this out to avoid screwiness. (1 Sep 2004 ciaranm)
if ! use cscope ; then
sed -i '/# define FEAT_CSCOPE/d' src/feature.h || \
die "couldn't disable cscope"
fi
# don't test USE=X here ... see bug #19115
# but need to provide a way to link against X ... see bug #20093
myconf+=" --enable-gui=no --disable-darwin $(use_with X x)"
fi
# Let Portage do the stripping. Some people like that.
export ac_cv_prog_STRIP="$(type -P true ) faking strip"
# Keep Gentoo Prefix env contained within the EPREFIX
use prefix && myconf+=" --without-local-dir"
econf \
--with-modified-by=Gentoo-${PVR} \
${myconf}
}
src_compile() {
# The following allows emake to be used
emake -j1 -C src auto/osdef.h objects
emake
}
src_test() {
echo
einfo "Starting vim tests. Several error messages will be shown"
einfo "while the tests run. This is normal behaviour and does not"
einfo "indicate a fault."
echo
ewarn "If the tests fail, your terminal may be left in a strange"
ewarn "state. Usually, running 'reset' will fix this."
echo
# Don't let vim talk to X
unset DISPLAY
# We've got to call make test from within testdir, since the Makefiles
# don't pass through our VIMPROG argument
cd "${S}"/src/testdir
# Test 49 won't work inside a portage environment
einfo "Test 49 isn't sandbox-friendly, so it will be skipped."
sed -i 's~test49.out~~g' Makefile
# We don't want to rebuild vim before running the tests
sed -i 's,: \$(VIMPROG),: ,' Makefile
# Don't try to do the additional GUI test
emake -j1 VIMPROG=../vim nongui
}
# Make convenience symlinks, hopefully without stepping on toes. Some
# of these links are "owned" by the vim ebuild when it is installed,
# but they might be good for gvim as well (see bug 45828)
update_vim_symlinks() {
has "${EAPI:-0}" 0 1 2 && use !prefix && EROOT="${ROOT}"
local f syms
syms="vimdiff rvim rview"
einfo "Calling eselect vi update..."
# Call this with --if-unset to respect user's choice (bug 187449)
eselect vi update --if-unset
# Make or remove convenience symlink, vim -> gvim
if [[ -f "${EROOT}"/usr/bin/gvim ]]; then
ln -s gvim "${EROOT}"/usr/bin/vim 2>/dev/null
elif [[ -L "${EROOT}"/usr/bin/vim && ! -f "${EROOT}"/usr/bin/vim ]]; then
rm "${EROOT}"/usr/bin/vim
fi
# Make or remove convenience symlinks to vim
if [[ -f "${EROOT}"/usr/bin/vim ]]; then
for f in ${syms}; do
ln -s vim "${EROOT}"/usr/bin/${f} 2>/dev/null
done
else
for f in ${syms}; do
if [[ -L "${EROOT}"/usr/bin/${f} && ! -f "${EROOT}"/usr/bin/${f} ]]; then
rm -f "${EROOT}"/usr/bin/${f}
fi
done
fi
# This will still break if you merge then remove the vi package,
# but there's only so much you can do, eh? Unfortunately we don't
# have triggers like are done in rpm-land.
}
src_install() {
local vimfiles=/usr/share/vim/vim${VIM_VERSION/.}
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
# managed by eselect-vi
dobin src/vim
dosym vim /usr/bin/vimdiff
dosym vim /usr/bin/rvim
dosym vim /usr/bin/rview
if use vim-pager ; then
dosym ${vimfiles}/macros/less.sh /usr/bin/vimpager
dosym ${vimfiles}/macros/manpager.sh /usr/bin/vimmanpager
insinto ${vimfiles}/macros
doins runtime/macros/manpager.sh
fperms a+x ${vimfiles}/macros/manpager.sh
fi
newbashcomp "${FILESDIR}"/${PN}-completion ${PN}
# We shouldn't be installing the ex or view man page symlinks, as they
# are managed by eselect-vi
rm -f "${ED}"/usr/share/man/man1/{ex,view}.1
}
pkg_postinst() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
if [[ -z ${REPLACING_VERSIONS} ]] ; then
if use X ; then
echo
elog "The 'X' USE flag enables vim <-> X communication, like"
elog "updating the xterm titlebar. It does not install a GUI."
fi
echo
elog "To install a GUI version of vim, use the app-editors/gvim"
elog "package."
echo
elog "Vim 7 includes an integrated spell checker. You need to install"
elog "word list files before you can use it. There are ebuilds for"
elog "some of these named app-vim/vim-spell-*. If your language of"
elog "choice is not included, please consult vim-spell.eclass for"
elog "instructions on how to make a package."
echo
ewarn "Note that the English word lists are no longer installed by"
ewarn "default."
fi
# Make convenience symlinks
update_vim_symlinks
}
pkg_postrm() {
# Update documentation tags (from vim-doc.eclass)
update_vim_helptags
# Make convenience symlinks
update_vim_symlinks
}

@ -1 +0,0 @@
DIST delicious-el-0.3.tar.gz 44869 SHA256 62179b546fc3474e798bbc9dfb9d4e92dd80431586a3133a775be319f15bd968 SHA512 b2a0c7e95c265543c79260d12a7803f1e2eab94ff185c5ac04a4ed85addcdd43b8c1d1b00fc559d319df35423558af54ba6624782df98bddff11833783203617 WHIRLPOOL 15c22b454aa924e7b47f8be51233262ab0db4c16c69681f196036459de92354d4e09b2c853f20347ec6053afb3050f0c5ab7d432d0412c8c541ba8e130841ce9

@ -1,30 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/delicious/delicious-0.3-r1.ebuild,v 1.4 2009/05/05 07:53:01 fauli Exp $
NEED_EMACS=22
inherit elisp
DESCRIPTION="Emacs client API for del.icio.us"
HOMEPAGE="http://www.wjsullivan.net/delicious-el.html"
SRC_URI="http://www.wjsullivan.net/darcs/delicious-el/delicious-el-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="planner"
DEPEND="planner? ( app-emacs/planner )"
RDEPEND="${DEPEND}"
SITEFILE=50${PN}-gentoo.el
DOCS="README"
S="${WORKDIR}/${PN}-el"
src_compile() {
local FILES="delicioapi.el delicious.el"
use planner && FILES="${FILES} planner-delicious.el"
elisp-compile ${FILES} || die "elisp-compile failed"
}

@ -1,4 +0,0 @@
;;; delicious api site-lisp configuration
(add-to-list 'load-path "@SITELISP@")
(require 'delicious)

@ -1 +1,2 @@
DIST cloud-init-0.7.4.tar.gz 471807 SHA256 34152e0168c2ffc06284b4fe01ff43f856219228ddb995d5afe4f9a77420d779 SHA512 e2103c36c103fa341a86ce0bb16d48877a45a3b5c36fde336c734755235aefb1818a56e3b20fcf95a0b8a1bf1bd106cb80f65ceee3697eed512fee605e647109 WHIRLPOOL 1204df71492071c100eb73a2f7c427c58a0702d920fc36b255366f3ffcd5417769e9853e7d873d64c86f0dce71268539b5c587db534bb6b4f0f3b401bcf3e8be
DIST cloud-init-0.7.5.tar.gz 503717 SHA256 a92bb83809c139a7db378916414c18b0819e306852d6c60dd89388868857ed33 SHA512 79e1e4a9e1130a3a9deb0482278215baf5ed41e02beebed0a2c6fac4e215340a9537158bd259758a2e074f334c0c0b9e7b936c23eeb9c848c67f7e7835cf0f5d WHIRLPOOL 7d92a0e1b6a3faf550bc442b02c117280c47d160e7e318d9fb859d6d8b59a0ef947d057dfb615bd925420a25ca28852742ee87ffd6066664faf640ca53a13073

@ -0,0 +1,53 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/cloud-init/cloud-init-0.7.5.ebuild,v 1.2 2014/05/02 01:57:02 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1 eutils multilib
DESCRIPTION="Package provides configuration and customization of cloud instance."
HOMEPAGE="https://launchpad.net/cloud-init"
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="dev-python/cheetah[${PYTHON_USEDEP}]
>=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
dev-python/oauth[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
dev-python/configobj[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
virtual/python-argparse[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/jsonpatch[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( ${RDEPEND}
sys-apps/iproute2 )"
PATCHES=( "${FILESDIR}"/${P}-tests-exclude.patch )
python_prepare_all() {
# These tests are not broken but expect to locate an installed exe file
# other than where a gentoo system installs it; (/bin/ip sought in /sbin)
# See cloudinit/sources/DataSourceOpenNebula.py for possible patching
sed -e 's:test_hostname:_&:' \
-e 's:test_network_interfaces:_&:' \
-i tests/unittests/test_datasource/test_opennebula.py
distutils-r_python_prepare_all
}
python_test() {
emake test
}
python_install() {
distutils-r1_python_install
for svc in config final init init-local; do
newinitd "${FILESDIR}/cloud-${svc}.init" "cloud-${svc}"
done
}

@ -0,0 +1,12 @@
diff -ur cloud-init-0.7.5.orig/setup.py cloud-init-0.7.5/setup.py
--- setup.py 2014-04-02 02:26:07.000000000 +0800
+++ setup.py 2014-05-01 23:38:15.848225975 +0800
@@ -114,7 +114,7 @@
author='Scott Moser',
author_email='scott.moser@canonical.com',
url='http://launchpad.net/cloud-init/',
- packages=setuptools.find_packages(exclude=['tests']),
+ packages=setuptools.find_packages(exclude=['tests','tests.*']),
scripts=['bin/cloud-init',
'tools/cloud-init-per',
],

@ -0,0 +1,101 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-20140406-r3.ebuild,v 1.1 2014/05/02 16:15:36 mgorny Exp $
EAPI=5
inherit emul-linux-x86
LICENSE="Artistic GPL-1 GPL-2 GPL-3 BSD BSD-2 BZIP2 AFL-2.1 LGPL-2.1 BSD-4 MIT
public-domain LGPL-3 LGPL-2 GPL-2-with-exceptions MPL-1.1 OPENLDAP
Sleepycat UoI-NCSA ZLIB openafs-krb5-a HPND ISC RSA IJG libmng libtiff
openssl tcp_wrappers_license"
KEYWORDS="-* ~amd64"
IUSE="abi_x86_32"
SRC_URI="${SRC_URI} http://dev.gentoo.org/~pacho/emul/openssl-1.0.1g.tbz2"
DEPEND=""
RDEPEND="!<app-emulation/emul-linux-x86-medialibs-10.2
!abi_x86_32? (
!>=app-arch/xz-utils-5.0.5-r1[abi_x86_32(-)]
)
abi_x86_32? (
>=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]
>=app-arch/bzip2-1.0.6-r4[abi_x86_32(-)]
>=media-libs/libpng-1.5.16-r1:0[abi_x86_32(-)]
>=dev-libs/udis86-1.7-r2[abi_x86_32(-)]
>=virtual/libffi-3.0.13-r1[abi_x86_32(-)]
>=sys-devel/llvm-3.3-r1[abi_x86_32(-)]
>=media-libs/libpng-1.2.50-r1:1.2[abi_x86_32(-)]
virtual/jpeg:62[abi_x86_32(-)]
>=sys-libs/libraw1394-2.1.0-r1[abi_x86_32(-)]
>=sys-libs/libavc1394-0.5.4-r1[abi_x86_32(-)]
>=dev-libs/expat-2.1.0-r3[abi_x86_32(-)]
>=virtual/libusb-0-r1:0[abi_x86_32(-)]
>=virtual/libusb-1-r1:1[abi_x86_32(-)]
|| (
>=virtual/udev-206-r1[abi_x86_32(-)]
~virtual/udev-204[abi_x86_32(-)] )
>=media-libs/tiff-4.0.3-r5:0[abi_x86_32(-)]
>=sys-apps/attr-2.4.47-r1[abi_x86_32(-)]
>=dev-libs/glib-2.36.3-r2:2[abi_x86_32(-)]
>=media-libs/lcms-2.5-r1:2[abi_x86_32(-)]
>=app-text/libpaper-1.1.24-r2[abi_x86_32(-)]
>=media-libs/tiff-3.9.7-r1:3[abi_x86_32(-)]
|| (
>=dev-libs/elfutils-0.155-r1[abi_x86_32(-)]
>=dev-libs/libelf-0.8.13-r2[abi_x86_32(-)]
)
>=sys-libs/e2fsprogs-libs-1.42.7-r1[abi_x86_32(-)]
>=sys-libs/ncurses-5.9-r3[abi_x86_32(-)]
>=sys-libs/gpm-1.20.7-r2[abi_x86_32(-)]
>=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)]
>=dev-libs/libpcre-8.33-r1[abi_x86_32(-)]
>=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)]
>=sys-apps/tcp-wrappers-7.6.22-r1[abi_x86_32(-)]
>=sys-libs/gdbm-1.10-r1[abi_x86_32(-)]
>=dev-libs/json-c-0.11-r1[abi_x86_32(-)]
>=dev-libs/libxml2-2.9.1-r2[abi_x86_32(-)]
>=dev-libs/dbus-glib-0.100.2-r1[abi_x86_32(-)]
>=sys-libs/readline-6.2_p5-r1:0[abi_x86_32(-)]
>=sys-devel/gettext-0.18.3.2[abi_x86_32(-)]
>=dev-libs/libgpg-error-1.12-r1[abi_x86_32(-)]
>=dev-db/sqlite-3.8.3:3[abi_x86_32(-)]
>=dev-libs/nettle-2.7.1-r1[abi_x86_32(-)]
>=dev-libs/libtasn1-3.4-r1[abi_x86_32(-)]
dev-libs/libgcrypt:11[abi_x86_32(-)]
>=dev-libs/libgcrypt-1.6.1-r1:0[abi_x86_32(-)]
>=dev-libs/lzo-2.06-r1[abi_x86_32(-)]
>=dev-libs/libxslt-1.1.28-r2[abi_x86_32(-)]
>=sys-apps/file-5.18-r1[abi_x86_32(-)]
>=app-arch/xz-utils-5.0.5-r1[abi_x86_32(-)]
>=media-libs/giflib-4.2.3-r1[abi_x86_32(-)]
>=sys-libs/slang-2.2.4-r1[abi_x86_32(-)]
>=sys-apps/acl-2.2.52-r1[abi_x86_32(-)]
>=sys-apps/util-linux-2.24.1-r3[abi_x86_32(-)]
>=sys-devel/libtool-2.4.2-r1[abi_x86_32(-)]
>=virtual/acl-0-r2[abi_x86_32(-)]
)
>=sys-libs/glibc-2.15" # bug 340613
PYTHON_UPDATER_IGNORE="1"
src_prepare() {
export ALLOWED="(${S}/lib32/security/pam_filter/upperLOWER|${S}/etc/env.d|${S}/lib32/security/pam_ldap.so)"
emul-linux-x86_src_prepare
rm -rf "${S}/etc/env.d/binutils/" \
"${S}/usr/i686-pc-linux-gnu/lib" \
"${S}/usr/lib32/engines/" \
"${S}/usr/lib32/openldap/" || die
ln -s ../share/terminfo "${S}/usr/lib32/terminfo" || die
# Remove migrated stuff.
use abi_x86_32 && rm -f $(sed "${FILESDIR}/remove-native-${PVR}" -e '/^#/d')
}
src_install() {
emul-linux-x86_src_install
rm -rf "${ED}"/usr/include # needed for openssl tbz2
}

@ -0,0 +1,327 @@
lib32/libz.so.1
lib32/libz.so.1.2.8
usr/lib32/libz.so
usr/lib32/pkgconfig/zlib.pc
usr/lib32/libminizip.so
usr/lib32/libminizip.so.1
usr/lib32/libminizip.so.1.0.0
usr/lib32/pkgconfig/minizip.pc
lib32/libbz2.so.1
lib32/libbz2.so.1.0
lib32/libbz2.so.1.0.6
usr/lib32/libbz2.so
usr/lib32/libpng.so
usr/lib32/libpng16.so
usr/lib32/libpng16.so.16
usr/lib32/libpng16.so.16.8.0
usr/lib32/pkgconfig/libpng.pc
usr/lib32/pkgconfig/libpng16.pc
usr/lib32/libudis86.so
usr/lib32/libudis86.so.0
usr/lib32/libudis86.so.0.0.0
usr/lib32/libffi-3.0.13/include/ffi.h
usr/lib32/libffi-3.0.13/include/ffitarget.h
usr/lib32/libffi.so
usr/lib32/libffi.so.6
usr/lib32/libffi.so.6.0.1
usr/lib32/pkgconfig/libffi.pc
usr/lib32/LLVMHello.so
usr/lib32/libLLVM-3.3.so
usr/lib32/libLTO.so
usr/lib32/libprofile_rt.so
usr/lib32/libpng12.so.0
usr/lib32/libraw1394.so
usr/lib32/libraw1394.so.11
usr/lib32/libraw1394.so.11.1.0
usr/lib32/pkgconfig/libraw1394.pc
usr/lib32/libavc1394.so
usr/lib32/libavc1394.so.0
usr/lib32/libavc1394.so.0.3.0
usr/lib32/pkgconfig/libavc1394.pc
usr/lib32/librom1394.so
usr/lib32/librom1394.so.0
usr/lib32/librom1394.so.0.3.0
usr/lib32/libjpeg.so
usr/lib32/libturbojpeg.so
usr/lib32/libturbojpeg.so.0
usr/lib32/libturbojpeg.so.0.0.0
usr/lib32/libjpeg.so.62
usr/lib32/libexpat.so
usr/lib32/libexpat.so.1
usr/lib32/libexpat.so.1.6.0
usr/lib32/libexpatu.so
usr/lib32/libexpatu.so.1
usr/lib32/libexpatu.so.1.6.0
usr/lib32/libexpatw.so
usr/lib32/libexpatw.so.1
usr/lib32/libexpatw.so.1.6.0
usr/lib32/pkgconfig/expat.pc
usr/lib32/pkgconfig/expatu.pc
usr/lib32/pkgconfig/expatw.pc
lib32/libusb-0.1.so.4
lib32/libusb-0.1.so.4.4.4
usr/lib32/libusb-1.0.so
lib32/libusb-1.0.so.0
lib32/libusb-1.0.so.0.1.0
usr/lib32/libusb.so
usr/lib32/pkgconfig/libusb-1.0.pc
usr/lib32/pkgconfig/libusb.pc
lib32/libudev.so.1
lib32/libudev.so.1.4.0
usr/lib32/libudev.so
usr/lib32/pkgconfig/libudev.pc
usr/lib32/libjpeg.so.62.1.0
usr/lib32/libtiff.so
usr/lib32/libtiff.so.5
usr/lib32/libtiff.so.5.2.0
usr/lib32/libtiffxx.so
usr/lib32/libtiffxx.so.5
usr/lib32/libtiffxx.so.5.2.0
usr/lib32/pkgconfig/libtiff-4.pc
lib32/libattr.so.1
lib32/libattr.so.1.1.0
usr/lib32/libattr.so
usr/lib32/glib-2.0/include/glibconfig.h
usr/lib32/libglib-2.0.so
usr/lib32/libglib-2.0.so.0
usr/lib32/libglib-2.0.so.0.3800.2
usr/lib32/pkgconfig/glib-2.0.pc
usr/lib32/libgmodule-2.0.so
usr/lib32/libgmodule-2.0.so.0
usr/lib32/libgmodule-2.0.so.0.3800.2
usr/lib32/pkgconfig/gmodule-2.0.pc
usr/lib32/libgio-2.0.so
usr/lib32/libgio-2.0.so.0
usr/lib32/libgio-2.0.so.0.3800.2
usr/lib32/pkgconfig/gio-2.0.pc
usr/lib32/libgobject-2.0.so
usr/lib32/libgobject-2.0.so.0
usr/lib32/libgobject-2.0.so.0.3800.2
usr/lib32/pkgconfig/gobject-2.0.pc
usr/lib32/libgthread-2.0.so
usr/lib32/libgthread-2.0.so.0
usr/lib32/libgthread-2.0.so.0.3800.2
usr/lib32/pkgconfig/gthread-2.0.pc
usr/lib32/pkgconfig/gio-unix-2.0.pc
usr/lib32/pkgconfig/gmodule-export-2.0.pc
usr/lib32/pkgconfig/gmodule-no-export-2.0.pc
usr/lib32/liblcms2.so
usr/lib32/liblcms2.so.2
usr/lib32/liblcms2.so.2.0.5
usr/lib32/pkgconfig/lcms2.pc
usr/lib32/libpaper.so
usr/lib32/libpaper.so.1
usr/lib32/libpaper.so.1.1.2
usr/lib32/libtiff.so.3
usr/lib32/libtiff.so.4
usr/lib32/libtiffxx.so.3
usr/lib32/libtiffxx.so.4
usr/lib32/elfutils/libebl_aarch64-0.158.so
usr/lib32/elfutils/libebl_aarch64.so
usr/lib32/elfutils/libebl_alpha-0.158.so
usr/lib32/elfutils/libebl_alpha.so
usr/lib32/elfutils/libebl_arm-0.158.so
usr/lib32/elfutils/libebl_arm.so
usr/lib32/elfutils/libebl_i386-0.158.so
usr/lib32/elfutils/libebl_i386.so
usr/lib32/elfutils/libebl_ia64-0.158.so
usr/lib32/elfutils/libebl_ia64.so
usr/lib32/elfutils/libebl_ppc-0.158.so
usr/lib32/elfutils/libebl_ppc.so
usr/lib32/elfutils/libebl_ppc64-0.158.so
usr/lib32/elfutils/libebl_ppc64.so
usr/lib32/elfutils/libebl_s390-0.158.so
usr/lib32/elfutils/libebl_s390.so
usr/lib32/elfutils/libebl_sh-0.158.so
usr/lib32/elfutils/libebl_sh.so
usr/lib32/elfutils/libebl_sparc-0.158.so
usr/lib32/elfutils/libebl_sparc.so
usr/lib32/elfutils/libebl_tilegx-0.158.so
usr/lib32/elfutils/libebl_tilegx.so
usr/lib32/elfutils/libebl_x86_64-0.158.so
usr/lib32/elfutils/libebl_x86_64.so
usr/lib32/libelf-0.158.so
usr/lib32/libelf.so
usr/lib32/libelf.so.1
usr/lib32/libasm-0.158.so
usr/lib32/libasm.so
usr/lib32/libasm.so.1
usr/lib32/libdw-0.158.so
usr/lib32/libdw.so
usr/lib32/libdw.so.1
lib32/libss.so.2
lib32/libss.so.2.0
usr/lib32/libss.so
usr/lib32/pkgconfig/ss.pc
lib32/libcom_err.so.2
lib32/libcom_err.so.2.1
usr/lib32/libcom_err.so
usr/lib32/pkgconfig/com_err.pc
usr/lib32/libcurses.so
usr/lib32/libform.so
usr/lib32/libform.so.5
usr/lib32/libform.so.5.9
usr/lib32/libformw.so
usr/lib32/libformw.so.5
usr/lib32/libformw.so.5.9
usr/lib32/libmenu.so
usr/lib32/libmenu.so.5
usr/lib32/libmenu.so.5.9
usr/lib32/libmenuw.so
usr/lib32/libmenuw.so.5
usr/lib32/libmenuw.so.5.9
lib32/libncurses.so.5
lib32/libncurses.so.5.9
lib32/libncursesw.so.5
lib32/libncursesw.so.5.9
usr/lib32/libncurses.so
usr/lib32/libncursesw.so
usr/lib32/libpanel.so
usr/lib32/libpanel.so.5
usr/lib32/libpanel.so.5.9
usr/lib32/libpanelw.so
usr/lib32/libpanelw.so.5
usr/lib32/libpanelw.so.5.9
usr/lib32/pkgconfig/form.pc
usr/lib32/pkgconfig/formw.pc
usr/lib32/pkgconfig/ncurses++.pc
usr/lib32/pkgconfig/ncurses++w.pc
usr/lib32/pkgconfig/menuw.pc
usr/lib32/pkgconfig/menu.pc
usr/lib32/pkgconfig/ncurses.pc
usr/lib32/pkgconfig/ncursesw.pc
usr/lib32/pkgconfig/panel.pc
usr/lib32/pkgconfig/panelw.pc
usr/lib32/terminfo
lib32/libgpm.so.1
lib32/libgpm.so.1.20.0
usr/lib32/libgpm.so
usr/lib32/libgmp.so
usr/lib32/libgmp.so.10
usr/lib32/libgmp.so.10.1.2
usr/lib32/libgmpxx.so
usr/lib32/libgmpxx.so.4
usr/lib32/libgmpxx.so.4.3.2
lib32/libpcre.so.1
lib32/libpcre.so.1.2.1
usr/lib32/libpcre.so
usr/lib32/libpcrecpp.so
usr/lib32/libpcrecpp.so.0
usr/lib32/libpcrecpp.so.0.0.0
usr/lib32/libpcreposix.so
usr/lib32/libpcreposix.so.0
usr/lib32/libpcreposix.so.0.0.2
usr/lib32/pkgconfig/libpcre.pc
usr/lib32/pkgconfig/libpcrecpp.pc
usr/lib32/pkgconfig/libpcreposix.pc
usr/lib32/dbus-1.0/include/dbus/dbus-arch-deps.h
usr/lib32/libdbus-1.so
usr/lib32/libdbus-1.so.3
usr/lib32/libdbus-1.so.3.7.6
usr/lib32/pkgconfig/dbus-1.pc
lib32/libwrap.so.0
lib32/libwrap.so.0.7.6
usr/lib32/libwrap.so
usr/lib32/libgdbm.so
usr/lib32/libgdbm_compat.so
usr/lib32/libjson-c.so
usr/lib32/libjson-c.so.2
usr/lib32/libjson-c.so.2.0.1
usr/lib32/pkgconfig/json-c.pc
usr/lib32/libxml2.so
usr/lib32/libxml2.so.2
usr/lib32/libxml2.so.2.9.1
usr/lib32/pkgconfig/libxml-2.0.pc
usr/lib32/libdbus-glib-1.so
usr/lib32/libdbus-glib-1.so.2
usr/lib32/libdbus-glib-1.so.2.2.2
usr/lib32/pkgconfig/dbus-glib-1.pc
lib32/libreadline.so.6
lib32/libreadline.so.6.2
usr/lib32/libreadline.so
lib32/libhistory.so.6
lib32/libhistory.so.6.2
usr/lib32/libhistory.so
usr/lib32/libmng.so
usr/lib32/libasprintf.so
usr/lib32/libasprintf.so.0
usr/lib32/libasprintf.so.0.0.0
usr/lib32/libgpg-error.so
usr/lib32/libgpg-error.so.0
usr/lib32/libgpg-error.so.0.10.0
usr/lib32/libsqlite3.so
usr/lib32/libsqlite3.so.0
usr/lib32/libsqlite3.so.0.8.6
usr/lib32/pkgconfig/sqlite3.pc
usr/lib32/libnettle.so
usr/lib32/libnettle.so.4
usr/lib32/libnettle.so.4.7
usr/lib32/pkgconfig/nettle.pc
usr/lib32/libhogweed.so
usr/lib32/libhogweed.so.2
usr/lib32/libhogweed.so.2.5
usr/lib32/pkgconfig/hogweed.pc
usr/lib32/libtasn1.so
# Uncomment when gnutls is converted to multilib; bug #493166
# usr/lib32/libtasn1.so.3
# usr/lib32/libtasn1.so.3.2.0
usr/lib32/pkgconfig/libtasn1.pc
usr/lib32/libgcrypt.so
usr/lib32/libgcrypt.so.11
usr/lib32/libgcrypt.so.11.8.2
usr/lib32/liblzo2.so
usr/lib32/liblzo2.so.2
usr/lib32/liblzo2.so.2.0.0
usr/lib32/libxslt.so
usr/lib32/libxslt.so.1
usr/lib32/libxslt.so.1.1.28
usr/lib32/libexslt.so
usr/lib32/libexslt.so.0
usr/lib32/libexslt.so.0.8.17
usr/lib32/pkgconfig/libxslt.pc
usr/lib32/pkgconfig/libexslt.pc
usr/lib32/libmagic.so
usr/lib32/libmagic.so.1
usr/lib32/libmagic.so.1.0.0
lib32/liblzma.so.5
lib32/liblzma.so.5.0.5
usr/lib32/liblzma.so
usr/lib32/pkgconfig/liblzma.pc
usr/lib32/libgif.so
usr/lib32/libgif.so.4
usr/lib32/libslang.so
usr/lib32/libslang.so.2
usr/lib32/libslang.so.2.2.4
usr/lib32/pkgconfig/slang.pc
usr/lib32/slang/v2/modules/csv-module.so
usr/lib32/slang/v2/modules/fcntl-module.so
usr/lib32/slang/v2/modules/fork-module.so
usr/lib32/slang/v2/modules/iconv-module.so
usr/lib32/slang/v2/modules/pcre-module.so
usr/lib32/slang/v2/modules/png-module.so
usr/lib32/slang/v2/modules/rand-module.so
usr/lib32/slang/v2/modules/select-module.so
usr/lib32/slang/v2/modules/slsmg-module.so
usr/lib32/slang/v2/modules/socket-module.so
usr/lib32/slang/v2/modules/sysconf-module.so
usr/lib32/slang/v2/modules/termios-module.so
usr/lib32/slang/v2/modules/varray-module.so
usr/lib32/slang/v2/modules/zlib-module.so
lib32/libacl.so.1
lib32/libacl.so.1.1.0
lib32/libblkid.so.1
lib32/libblkid.so.1.1.0
lib32/libmount.so.1
lib32/libmount.so.1.1.0
lib32/libuuid.so.1
lib32/libuuid.so.1.3.0
usr/lib32/libacl.so
usr/lib32/libblkid.so
usr/lib32/libltdl.so
usr/lib32/libltdl.so.7
usr/lib32/libltdl.so.7.3.0
usr/lib32/libmount.so
usr/lib32/libuuid.so
usr/lib32/pkgconfig/blkid.pc
usr/lib32/pkgconfig/mount.pc
usr/lib32/pkgconfig/uuid.pc

@ -1 +1,3 @@
DIST appliance-1.20.0.tar.xz 53676256 SHA256 2ce9950c303b4e01b8d9d9e46248b4256a2a290dd44cc6c593cb1029a05272e8 SHA512 f4dcf6b33e2fe8620e343fd29e1b7340700fc8c654a4b2c4fbf122e6d5775a613b542d08f81aae750f973e593764da57cb3da331ae1922aea992392a2c404252 WHIRLPOOL 10a0685a98246b2701c17cae44e37ef7a6d6154489e62b634e00986b5380f72132d8be059cd516330f86478fffb38855b9792321fefd3e8fb9554c0806428314
DIST appliance-1.24.8.tar.xz 68687024 SHA256 dfd113257b8416a52211ccc250b190082831b688f6a4bbbe8d22f0ad0f4ff8ac SHA512 c20d7c40602409907654eafdbbeec752c146ca8f9b6e372911a282416de94aedf06ca97555b62da7fb07f65c5c005529fac7693c9ff7034835568bffefd47b7d WHIRLPOOL 9f9250ee09a2faeb99d0cdc688dde1de6bb094c127767ff608b1306425d9bf84d45d2430fc97e54d96ee6ff4cf1fe42213531022e3317eb28fa393ab41479017
DIST appliance-1.26.0.tar.xz 94753208 SHA256 446e8f0cfb24977843049984879d471760a1f56dd9f891f2a66c16827c7dfbcf SHA512 5d493ed6e8601dde8d5a45debfee71696b96a36d0f69d428388a6f2a2d49e12c0a66bcee210fe606fc9b2b41cb42d0d2a9f5d12425f2b234423194b2609f081f WHIRLPOOL 18cb09b44ce568e4270e574fffe7ffd935c4d64564abaae66c3d70202db9df75b013a0ed8add639ac13ea4ebd0ec9d74645a774d2e969686c8bc0d616587f625

@ -0,0 +1,32 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs-appliance/libguestfs-appliance-1.24.8.ebuild,v 1.1 2014/05/01 19:57:02 maksbotan Exp $
EAPI=5
CHECKREQS_DISK_USR=500M
CHECKREQS_DISK_BUILD=500M
inherit check-reqs
DESCRIPTION="VM appliance disk image used in libguestfs package"
HOMEPAGE="http://libguestfs.org/"
SRC_URI="http://libguestfs.org/download/binaries/appliance/appliance-${PV}.tar.xz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}"
src_install() {
insinto /usr/share/guestfs/
doins -r appliance/
newenvd "${FILESDIR}"/env.file 99"${PN}"
}

@ -0,0 +1,32 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs-appliance/libguestfs-appliance-1.26.0.ebuild,v 1.1 2014/05/01 19:57:02 maksbotan Exp $
EAPI=5
CHECKREQS_DISK_USR=500M
CHECKREQS_DISK_BUILD=500M
inherit check-reqs
DESCRIPTION="VM appliance disk image used in libguestfs package"
HOMEPAGE="http://libguestfs.org/"
SRC_URI="http://libguestfs.org/download/binaries/appliance/appliance-${PV}.tar.xz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}"
src_install() {
insinto /usr/share/guestfs/
doins -r appliance/
newenvd "${FILESDIR}"/env.file 99"${PN}"
}

@ -1 +1,2 @@
DIST libguestfs-1.24.0.tar.gz 11017148 SHA256 72771e793a4de53d1214ed9d000d93dd6b9958384fb354b917e2d3283d79f363 SHA512 e19a257ba049d038e322f6a53866b448262e48841abe54b8bd36dd94af894b8d4ef61fede6b35e085d81c702b00526d2ef1388b0a4170c780d5d7da2e0ae5ea2 WHIRLPOOL e80329e0b13ee25f7e40c6ae0500f50c9de242a0ea39f3c5f5b202ed121324de35d7dcf90498bd53025f485e615a536cc07f4e3f01a945017af532f218ae82c2
DIST libguestfs-1.26.1.tar.gz 11912359 SHA256 d047f951e79cc2f00b62a7e8d4e3acf18bb69c6be0a75884158923828b5264f6 SHA512 080a90d54b2063e2bf133c456a0624d63678cf7f80aa485dc5fd0c1d3577056c9fb894fd4fec67cbab29ac70f3b1c9ab070cf86ba5a09a8c8fc266f490c68809 WHIRLPOOL 54193361453d8d51da8070d0b4b5fe4e28fbf5e39aedbb3991c6f20876fed8a9f9c41218048dec697894d06d0edb29c887030edb38da899eb336278dd60ad974

@ -0,0 +1,10 @@
--- a/configure.ac 2014-01-24 19:04:05.633056872 +0100
+++ b/configure.ac 2014-01-24 19:04:34.685691757 +0100
@@ -24,6 +24,7 @@
AC_INIT([libguestfs],libguestfs_major.libguestfs_minor.libguestfs_release)
AC_CONFIG_AUX_DIR([build-aux])
+AM_GNU_GETTEXT_VERSION(0.18.3)
dnl Initialize automake. automake < 1.12 didn't have serial-tests and
dnl gives an error if it sees this, but for automake >= 1.13

@ -0,0 +1,15 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -482,6 +482,11 @@
DISTRO=UBUNTU
fi
fi
+
+if test -f /etc/gentoo-release; then
+ DISTRO=GENTOO
+fi
+
if test -f /etc/arch-release; then
DISTRO=ARCHLINUX
fi

@ -0,0 +1,16 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -1487,8 +1487,10 @@
dnl Replace libtool with a wrapper that clobbers dependency_libs in *.la files
dnl http://lists.fedoraproject.org/pipermail/devel/2010-November/146343.html
-LIBTOOL='bash $(top_srcdir)/libtool-kill-dependency_libs.sh $(top_builddir)/libtool'
-AC_SUBST([LIBTOOL])
+dnl LIBTOOL='bash $(top_srcdir)/libtool-kill-dependency_libs.sh $(top_builddir)/libtool'
+dnl AC_SUBST([LIBTOOL])
+LT_INIT
+
dnl Produce output files.
AC_CONFIG_HEADERS([config.h])

@ -0,0 +1,21 @@
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -1491,11 +1491,12 @@
])
# check for gtk-doc
-m4_ifdef([GTK_DOC_CHECK], [
- GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
-],[
- AM_CONDITIONAL([ENABLE_GTK_DOC], false)
-])
+#m4_ifdef([GTK_DOC_CHECK], [
+# GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
+#],[
+# AM_CONDITIONAL([ENABLE_GTK_DOC], false)
+#])
+GTK_DOC_CHECK([1.14],[--flavour no-tmpl])
dnl Library versioning.
MAX_PROC_NR=`cat $srcdir/src/MAX_PROC_NR`

@ -0,0 +1,13 @@
diff --git a/Makefile.am b/Makefile.am
--- a/Makefile.am
+++ b/Makefile.am
@@ -88,9 +88,6 @@
if HAVE_HASKELL
SUBDIRS += haskell
endif
-if HAVE_PHP
-SUBDIRS += php
-endif
if HAVE_ERLANG
SUBDIRS += erlang erlang/examples
endif

@ -0,0 +1,161 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libguestfs/libguestfs-1.26.1.ebuild,v 1.1 2014/05/01 19:23:28 maksbotan Exp $
EAPI="5"
WANT_LIBTOOL=latest
AUTOTOOLS_IN_SOURCE_BUILD=1
inherit autotools-utils autotools versionator eutils \
multilib linux-info perl-module base
MY_PV_1="$(get_version_component_range 1-2)"
MY_PV_2="$(get_version_component_range 2)"
[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
HOMEPAGE="http://libguestfs.org/"
SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0/${MY_PV_1}"
KEYWORDS="~amd64"
IUSE="erlang +fuse debug +ocaml doc +perl ruby static-libs
selinux systemtap introspection inspect-icons test lua"
# Failires - doc
# Failures - bash-completion, see GBZ #486306
COMMON_DEPEND="
sys-libs/ncurses
sys-devel/gettext
>=app-misc/hivex-1.3.1
dev-libs/libpcre
app-arch/cpio
dev-lang/perl
app-cdr/cdrkit
>=app-emulation/qemu-1.2.2[qemu_user_targets_x86_64,qemu_softmmu_targets_x86_64,tci,systemtap?,selinux?,filecaps]
sys-apps/fakeroot
sys-apps/file
app-emulation/libvirt
dev-libs/libxml2:2
>=sys-apps/fakechroot-2.8
>=app-admin/augeas-1.0.0
sys-fs/squashfs-tools
dev-libs/libconfig
dev-libs/libpcre
sys-libs/readline
>=sys-libs/db-4.6
perl? ( virtual/perl-ExtUtils-MakeMaker
>=dev-perl/Sys-Virt-0.2.4
virtual/perl-Getopt-Long
virtual/perl-Data-Dumper
dev-perl/libintl-perl
>=app-misc/hivex-1.3.1[perl?]
dev-perl/String-ShellQuote
)
fuse? ( sys-fs/fuse )
introspection? (
>=dev-libs/gobject-introspection-1.30.0
dev-libs/gjs
)
selinux? ( sys-libs/libselinux sys-libs/libsemanage )
systemtap? ( dev-util/systemtap )
ocaml? ( dev-lang/ocaml[ocamlopt]
dev-ml/findlib[ocamlopt]
dev-ml/ocaml-gettext
)
erlang? ( dev-lang/erlang )
inspect-icons? ( media-libs/netpbm
media-gfx/icoutils
)
virtual/acl
sys-libs/libcap
lua? ( dev-lang/lua )
"
DEPEND="${COMMON_DEPEND}
dev-util/gperf
doc? ( app-text/po4a )
ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
"
RDEPEND="${COMMON_DEPEND}
app-emulation/libguestfs-appliance
"
PATCHES=( "${FILESDIR}/${MY_PV_1}"/*.patch )
DOCS=( AUTHORS BUGS ChangeLog HACKING README TODO )
pkg_setup () {
CONFIG_CHECK="~KVM ~VIRTIO"
[ -n "${CONFIG_CHECK}" ] && check_extra_config;
}
src_prepare() {
base_src_prepare
eaclocal
eautomake
eautoconf
}
src_configure() {
# Disable feature test for kvm for more reason
# i.e: not loaded module in __build__ time,
# build server not supported kvm, etc. ...
#
# In fact, this feature is virtio support and requires
# configured kernel.
export vmchannel_test=no
local myeconfargs=(
$(use_enable test gcc-warnings)
--disable-appliance
--disable-daemon
--with-extra="-gentoo"
--with-readline
--disable-php
--disable-python
--without-java
$(use_enable perl)
$(use_enable fuse)
$(use_enable ocaml)
$(use_enable ruby)
--disable-haskell
$(use_enable introspection gobject)
$(use_enable erlang)
$(use_enable systemtap probes)
$(use_enable lua)
)
autotools-utils_src_configure
}
src_compile() {
autotools-utils_src_compile
}
src_test() {
autotools-utils_src_test
}
src_install() {
strip-linguas -i po
autotools-utils_src_install "LINGUAS=""${LINGUAS}"""
use perl && fixlocalpod
}
pkg_postinst() {
if ! use perl ; then
einfo "Perl based tools NOT build"
fi
if ! use ocaml ; then
einfo "Ocaml based tools ( sysprep , ... ) NOT installed"
fi
}

@ -1 +1,2 @@
DIST libvirt-glib-0.1.7.tar.gz 746318 SHA256 39652c07d95f980ff30b39e0fd072e768fb85d778d65432da24b17dee9d36429 SHA512 a6e296afbee64424009119036637fe96bbd703c9209e832fbf9fe1ad82054ce39017ce4e2e0b4d59559193dee2de50d72d171701eacfebd3baccb61ff3216662 WHIRLPOOL 76dd9b033981da1034ac7e4f706dcc5c97b361a2f37a6a6d36850f0035e0dd5a1d7e0ff60ed42d4b6e8737a12e25c47866b22054eb41dad85ff5b39d85b58a4c
DIST libvirt-glib-0.1.8.tar.gz 800459 SHA256 da0e45952dbe1d5d9fde4f845f3a10763e7fed0b1e45906a46fdb74b777aa751 SHA512 0e5a9b16c61a649d964312f9be97c1dfa5597192530e6645c8abdaf64547c8251fe0a66f3b1eebaf5361ec2cd69efe9b4824106e87180ec1a31d82a73c1240ed WHIRLPOOL 383055c5aae701ef94aba246a1a46b4a489fc80da635fa5a7d55b175dff878d9329455c71c5de3fc0dd15dca811e6e3e3575b7853dac340859fd7116a3c5d2d5

@ -0,0 +1,63 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt-glib/libvirt-glib-0.1.8.ebuild,v 1.1 2014/05/02 09:12:49 pacho Exp $
EAPI=5
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"
VALA_MIN_API_VERSION="0.14"
PYTHON_COMPAT=( python{2_6,2_7} )
inherit gnome2 python-single-r1 vala
DESCRIPTION="GLib and GObject mappings for libvirt"
HOMEPAGE="http://libvirt.org/git/?p=libvirt-glib.git"
SRC_URI="ftp://libvirt.org/libvirt/glib/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+introspection python +vala"
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
vala? ( introspection )
"
# https://bugzilla.redhat.com/show_bug.cgi?id=1093633
RESTRICT="test"
RDEPEND="
dev-libs/libxml2:2
>=app-emulation/libvirt-0.9.10:=
>=dev-libs/glib-2.38.0:2
introspection? ( >=dev-libs/gobject-introspection-0.10.8:= )
python? ( ${PYTHON_DEPS} )
"
DEPEND="${RDEPEND}
dev-util/gtk-doc-am
>=dev-util/intltool-0.35.0
virtual/pkgconfig
vala? ( $(vala_depend) )
"
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_configure() {
gnome2_src_configure \
--disable-test-coverage \
--disable-static \
$(use_enable introspection) \
$(use_enable vala) \
$(use_with python)
}
src_compile() {
# https://bugzilla.redhat.com/show_bug.cgi?id=1093631
if use vala; then
MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_compile
else
gnome2_src_compile
fi
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.2.1.ebuild,v 1.2 2014/04/28 20:43:11 jer Exp $
# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.2.1-r2.ebuild,v 1.1 2014/04/30 15:21:13 polynomial-c Exp $
EAPI=5
@ -39,10 +39,10 @@ src_prepare() {
# Fix manpage.
sed -i \
-e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
-e "s:/usr/local/screens:${EPREFIX}/run/screen:g" \
-e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \
-e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
-e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \
-e "s:/local/screens/S-:${EPREFIX}/run/screen/S-:g" \
-e "s:/local/screens/S-:${EPREFIX}/tmp/screen/S-:g" \
doc/screen.1 \
|| die "sed doc/screen.1 failed"
@ -59,7 +59,7 @@ src_configure() {
use debug && append-cppflags "-DDEBUG"
econf \
--with-socket-dir="${EPREFIX}/run/screen" \
--with-socket-dir="${EPREFIX}/tmp/screen" \
--with-sys-screenrc="${EPREFIX}/etc/screenrc" \
--with-pty-mode=0620 \
--with-pty-group=5 \
@ -92,7 +92,8 @@ src_install() {
fi
dodir /etc/tmpfiles.d
echo "d /run/screen ${tmpfiles_perms} root ${tmpfiles_group}" >"${ED}"/etc/tmpfiles.d/screen.conf
echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \
> "${ED}"/etc/tmpfiles.d/screen.conf
insinto /usr/share/screen
doins terminfo/{screencap,screeninfo.src}
@ -119,5 +120,18 @@ pkg_postinst() {
elog "applications. Please check /etc/screenrc for information on these changes."
fi
ewarn "This revision changes the screen socket location to /run/screen."
# add /var/run/screen in case it doesn't exist yet. This should solve
# problems like bug #508634 where tmpfiles.d isn't in effect.
local rundir="${EROOT%/}/tmp/screen"
if [[ ! -d ${rundir} ]] ; then
if use multiuser || use prefix ; then
tmpfiles_group="root"
else
tmpfiles_group="utmp"
fi
mkdir -m 0775 "${rundir}"
chgrp ${tmpfiles_group} "${rundir}"
fi
ewarn "This revision changes the screen socket location to ${rundir}"
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/dia/dia-0.97.3_pre20140417.ebuild,v 1.1 2014/04/17 07:49:39 pacho Exp $
# $Header: /var/cvsroot/gentoo-x86/app-office/dia/dia-0.97.3_pre20140417.ebuild,v 1.2 2014/05/02 13:03:06 jer Exp $
EAPI=5
GCONF_DEBUG=yes
@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-0.97.2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
# the doc USE flag doesn't seem to do anything without docbook2html
IUSE="cairo doc python"

@ -0,0 +1,71 @@
From 71f2aff7a56cef4e133abad3c2e447c76c5ee1fe Mon Sep 17 00:00:00 2001
From: Luboš Luňák <l.lunak@collabora.com>
Date: Tue, 25 Mar 2014 11:20:16 +0000
Subject: prevent KDE/Qt from interfering with the session manager
I occassionally get lockups in IceProcessMessages() called from QtCore,
I'm actually not exactly sure why, as theoretically two connections
from one app shouldn't be a problem, but since LO does its own
session handling, there's no need to the KDE/Qt code to be involved,
so prevent it from connecting to the session manager altogether.
Change-Id: Iebe20d4cb5403e5fea8bd5d8c1f69b62d1c2907b
---
diff --git a/vcl/unx/kde4/KDEXLib.cxx b/vcl/unx/kde4/KDEXLib.cxx
index 820d39a..e4900a7 100644
--- a/vcl/unx/kde4/KDEXLib.cxx
+++ b/vcl/unx/kde4/KDEXLib.cxx
@@ -166,8 +166,23 @@ void KDEXLib::Init()
KCmdLineArgs::init( m_nFakeCmdLineArgs, m_pAppCmdLineArgs, kAboutData );
+ // LO does its own session management, so prevent KDE/Qt from interfering
+ // (QApplication::disableSessionManagement(false) wouldn't quite do,
+ // since that still actually connects to the session manager, it just
+ // won't save the application data on session shutdown).
+ char* session_manager = NULL;
+ if( getenv( "SESSION_MANAGER" ) != NULL )
+ {
+ session_manager = strdup( getenv( "SESSION_MANAGER" ));
+ unsetenv( "SESSION_MANAGER" );
+ }
m_pApplication = new VCLKDEApplication();
- kapp->disableSessionManagement();
+ if( session_manager != NULL )
+ {
+ setenv( "SESSION_MANAGER", session_manager, 1 );
+ free( session_manager );
+ }
+
KApplication::setQuitOnLastWindowClosed(false);
#if KDE_HAVE_GLIB
diff --git a/vcl/unx/kde4/VCLKDEApplication.hxx b/vcl/unx/kde4/VCLKDEApplication.hxx
index 412ee34..4ce0b2c 100644
--- a/vcl/unx/kde4/VCLKDEApplication.hxx
+++ b/vcl/unx/kde4/VCLKDEApplication.hxx
@@ -21,22 +21,14 @@
#define Region QtXRegion
-#include <QSessionManager>
-
#include <kapplication.h>
#undef Region
-/* #i59042# override KApplications method for session management
- * since it will interfere badly with our own.
- */
class VCLKDEApplication : public KApplication
{
public:
VCLKDEApplication();
-
- virtual void commitData(QSessionManager&) {};
-
virtual bool x11EventFilter(XEvent* event);
};
--
cgit v0.9.0.2-2-gbebe

@ -0,0 +1,592 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-4.2.3.3-r1.ebuild,v 1.1 2014/05/02 16:07:05 dilfridge Exp $
EAPI=5
KDE_REQUIRED="optional"
QT_MINIMAL="4.7.4"
KDE_SCM="git"
CMAKE_REQUIRED="never"
PYTHON_COMPAT=( python2_7 python3_3 )
PYTHON_REQ_USE="threads,xml"
# experimental ; release ; old
# Usually the tarballs are moved a lot so this should make
# everyone happy.
DEV_URI="
http://dev-builds.libreoffice.org/pre-releases/src
http://download.documentfoundation.org/libreoffice/src/${PV:0:5}/
http://download.documentfoundation.org/libreoffice/old/${PV}/
"
EXT_URI="http://ooo.itc.hu/oxygenoffice/download/libreoffice"
ADDONS_URI="http://dev-www.libreoffice.org/src/"
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
# PATCHSET="${P}-patchset-01.tar.xz"
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-2"
inherit base autotools bash-completion-r1 check-reqs eutils java-pkg-opt-2 kde4-base pax-utils python-single-r1 multilib toolchain-funcs flag-o-matic nsplugins ${SCM_ECLASS}
unset SCM_ECLASS
DESCRIPTION="LibreOffice, a full office productivity suite."
HOMEPAGE="http://www.libreoffice.org"
SRC_URI="branding? ( http://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}"
# Split modules following git/tarballs
# Core MUST be first!
# Help is used for the image generator
MODULES="core help"
# Only release has the tarballs
if [[ ${PV} != *9999* ]]; then
for i in ${DEV_URI}; do
for mod in ${MODULES}; do
if [[ ${mod} == core ]]; then
SRC_URI+=" ${i}/${P}.tar.xz"
else
SRC_URI+=" ${i}/${PN}-${mod}-${PV}.tar.xz"
fi
done
unset mod
done
unset i
fi
unset DEV_URI
# Really required addons
# These are bundles that can't be removed for now due to huge patchsets.
# If you want them gone, patches are welcome.
ADDONS_SRC+=" ${ADDONS_URI}/d62650a6f908e85643e557a236ea989c-vigra1.6.0.tar.gz"
ADDONS_SRC+=" ${ADDONS_URI}/1f24ab1d39f4a51faf22244c94a6203f-xmlsec1-1.2.14.tar.gz" # modifies source code
ADDONS_SRC+=" java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
ADDONS_SRC+=" libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )" # no release for 8 years, should we package it?
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )" # Does not build with 1.6 rhino at all
ADDONS_SRC+=" libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )" # requirement of rhino
ADDONS_SRC+=" odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )" # not packageable
SRC_URI+=" ${ADDONS_SRC}"
unset ADDONS_URI
unset EXT_URI
unset ADDONS_SRC
IUSE="bluetooth +branding +cups dbus debug eds firebird gnome gstreamer +gtk
gtk3 jemalloc kde mysql odk opengl postgres telepathy test +vba vlc +webdav"
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
# Unpackaged separate extensions:
# diagram: lo has 0.9.5 upstream is weirdly patched 0.9.4 -> wtf?
# hunart: only on ooo extensions -> fubared download path somewhere on sf
# numbertext, typo, validator, watch-window: ^^
# oooblogger: no homepage or anything
# Extensions that need extra work:
for lo_xt in ${LO_EXTS}; do
IUSE+=" libreoffice_extensions_${lo_xt}"
done
unset lo_xt
LICENSE="|| ( LGPL-3 MPL-1.1 )"
SLOT="0"
[[ ${PV} == *9999* ]] || \
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
COMMON_DEPEND="
${PYTHON_DEPS}
app-arch/zip
app-arch/unzip
>=app-text/hunspell-1.3.2-r3
app-text/mythes
app-text/libabw
>=app-text/libexttextcat-3.2
app-text/libebook
app-text/libetonyek
app-text/liblangtag
app-text/libmspub
>=app-text/libmwaw-0.2
>=app-text/libodfgen-0.0.3
app-text/libwpd:0.9[tools]
app-text/libwpg:0.2
>=app-text/libwps-0.2.2
>=app-text/poppler-0.16:=[xpdf-headers(+),cxx]
>=dev-cpp/clucene-2.3.3.4-r2
dev-cpp/libcmis:0.4
dev-db/unixODBC
>=dev-libs/boost-1.46:=
dev-libs/expat
>=dev-libs/hyphen-2.7.1
>=dev-libs/icu-4.8.1.1:=
>=dev-libs/libatomic_ops-7.2d
=dev-libs/liborcus-0.5*:=
>=dev-libs/nspr-4.8.8
>=dev-libs/nss-3.12.9
>=dev-lang/perl-5.0
>=dev-libs/openssl-1.0.0d
>=dev-libs/redland-1.0.16[ssl]
media-gfx/graphite2
>=media-libs/fontconfig-2.8.0
media-libs/freetype:2
>=media-libs/harfbuzz-0.9.18:=[icu(+)]
media-libs/lcms:2
>=media-libs/libpng-1.4
>=media-libs/libcdr-0.0.5
media-libs/libfreehand
media-libs/libvisio
>=net-misc/curl-7.21.4
net-nds/openldap
sci-mathematics/lpsolve
virtual/jpeg:0
>=x11-libs/cairo-1.10.0[X]
x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXrender
bluetooth? ( net-wireless/bluez )
cups? ( net-print/cups )
dbus? ( >=dev-libs/dbus-glib-0.92 )
eds? ( gnome-extra/evolution-data-server )
firebird? ( >=dev-db/firebird-2.5 )
gnome? ( gnome-base/gconf:2 )
gtk? (
x11-libs/gdk-pixbuf[X]
>=x11-libs/gtk+-2.24:2
)
gtk3? ( >=x11-libs/gtk+-3.2:3 )
gstreamer? (
media-libs/gstreamer:1.0
media-libs/gst-plugins-base:1.0
)
jemalloc? ( dev-libs/jemalloc )
libreoffice_extensions_scripting-beanshell? ( >=dev-java/bsh-2.0_beta4 )
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
libreoffice_extensions_wiki-publisher? (
dev-java/commons-codec:0
dev-java/commons-httpclient:3
dev-java/commons-lang:2.1
dev-java/commons-logging:0
dev-java/tomcat-servlet-api:3.0
)
mysql? ( >=dev-db/mysql-connector-c++-1.1.0 )
opengl? (
virtual/glu
virtual/opengl
)
postgres? ( >=dev-db/postgresql-base-9.0[kerberos] )
telepathy? (
dev-libs/glib:2
>=net-libs/telepathy-glib-0.18.0
>=x11-libs/gtk+-2.24:2
)
webdav? ( net-libs/neon )
"
RDEPEND="${COMMON_DEPEND}
!app-office/libreoffice-bin
!app-office/libreoffice-bin-debug
!<app-office/openoffice-bin-3.4.0-r1
!app-office/openoffice
media-fonts/libertine-ttf
media-fonts/liberation-fonts
media-fonts/urw-fonts
java? ( >=virtual/jre-1.6 )
vlc? ( media-video/vlc )
"
if [[ ${PV} != *9999* ]]; then
PDEPEND="~app-office/libreoffice-l10n-${PV}"
else
# Translations are not reliable on live ebuilds
# rather force people to use english only.
PDEPEND="!app-office/libreoffice-l10n"
fi
# FIXME: cppunit should be moved to test conditional
# after everything upstream is under gbuild
# as dmake execute tests right away
DEPEND="${COMMON_DEPEND}
>=dev-libs/libxml2-2.7.8
dev-libs/libxslt
dev-perl/Archive-Zip
dev-util/cppunit
>=dev-util/gperf-3
dev-util/intltool
>=dev-util/mdds-0.10.2:=
virtual/pkgconfig
net-misc/npapi-sdk
>=sys-apps/findutils-4.4.2
sys-devel/bison
sys-apps/coreutils
sys-devel/flex
sys-devel/gettext
>=sys-devel/make-3.82
sys-devel/ucpp
sys-libs/zlib
x11-libs/libXt
x11-libs/libXtst
x11-proto/randrproto
x11-proto/xextproto
x11-proto/xineramaproto
x11-proto/xproto
java? (
>=virtual/jdk-1.6
>=dev-java/ant-core-1.7
)
odk? ( >=app-doc/doxygen-1.8.4 )
test? ( dev-util/cppunit )
"
PATCHES=(
# not upstreamable stuff
"${FILESDIR}/${PN}-3.7-system-pyuno.patch"
# staged for git master
"${FILESDIR}/${PN}-4.2.0.4-curl-config.patch"
# kde mutexes
"${FILESDIR}/${P}-kde4-startup.patch"
)
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
bluetooth? ( dbus )
gnome? ( gtk )
eds? ( gnome )
telepathy? ( gtk )
libreoffice_extensions_nlpsolver? ( java )
libreoffice_extensions_scripting-beanshell? ( java )
libreoffice_extensions_scripting-javascript? ( java )
libreoffice_extensions_wiki-publisher? ( java )
"
CHECKREQS_MEMORY="512M"
CHECKREQS_DISK_BUILD="6G"
pkg_pretend() {
local pgslot
if [[ ${MERGE_TYPE} != binary ]]; then
check-reqs_pkg_pretend
if [[ $(gcc-major-version) -lt 4 ]] || \
( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 6 ]] ) \
; then
eerror "Compilation with gcc older than 4.6 is not supported"
die "Too old gcc found."
fi
fi
# Ensure pg version but we have to be sure the pg is installed (first
# install on clean system)
if use postgres && has_version dev-db/postgresql-base; then
pgslot=$(postgresql-config show)
if [[ ${pgslot//.} < 90 ]] ; then
eerror "PostgreSQL slot must be set to 9.0 or higher."
eerror " postgresql-config set 9.0"
die "PostgreSQL slot is not set to 9.0 or higher."
fi
fi
}
pkg_setup() {
java-pkg-opt-2_pkg_setup
kde4-base_pkg_setup
python-single-r1_pkg_setup
[[ ${MERGE_TYPE} != binary ]] && check-reqs_pkg_setup
}
src_unpack() {
local mod mod2 dest tmplfile tmplname mypv
[[ -n ${PATCHSET} ]] && unpack ${PATCHSET}
use branding && unpack "${BRANDING}"
if [[ ${PV} != *9999* ]]; then
unpack "${P}.tar.xz"
for mod in ${MODULES}; do
[[ ${mod} == core ]] && continue
unpack "${PN}-${mod}-${PV}.tar.xz"
done
else
for mod in ${MODULES}; do
mypv=${PV/.9999}
[[ ${mypv} != ${PV} ]] && EGIT_BRANCH="${PN}-${mypv/./-}"
EGIT_PROJECT="${PN}/${mod}"
EGIT_SOURCEDIR="${WORKDIR}/${P}"
[[ ${mod} != core ]] && EGIT_SOURCEDIR="${WORKDIR}/${PN}-${mod}-${PV}"
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}/${mod}"
EGIT_NOUNPACK="true"
git-2_src_unpack
if [[ ${mod} != core ]]; then
mod2=${mod}
# mapping does not match on help
[[ ${mod} == help ]] && mod2="helpcontent2"
mkdir -p "${S}/${mod2}/" || die
mv -n "${WORKDIR}/${PN}-${mod}-${PV}"/* "${S}/${mod2}" || die
rm -rf "${WORKDIR}/${PN}-${mod}-${PV}"
fi
done
unset EGIT_PROJECT EGIT_SOURCEDIR EGIT_REPO_URI EGIT_BRANCH
fi
}
src_prepare() {
# optimization flags
export GMAKE_OPTIONS="${MAKEOPTS}"
# System python 2.7 enablement:
export PYTHON_CFLAGS=$(python_get_CFLAGS)
export PYTHON_LIBS=$(python_get_LIBS)
# patchset
if [[ -n ${PATCHSET} ]]; then
EPATCH_FORCE="yes" \
EPATCH_SOURCE="${WORKDIR}/${PATCHSET/.tar.xz/}" \
EPATCH_SUFFIX="patch" \
epatch
fi
base_src_prepare
AT_M4DIR="m4" eautoreconf
# hack in the autogen.sh
touch autogen.lastrun
# system pyuno mess
sed \
-e "s:%eprefix%:${EPREFIX}:g" \
-e "s:%libdir%:$(get_libdir):g" \
-i pyuno/source/module/uno.py \
-i scripting/source/pyprov/officehelper.py || die
# sed in the tests
sed -i \
-e 's#all : build unitcheck#all : build#g' \
solenv/gbuild/Module.mk || die
sed -i \
-e 's#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g' \
-e 's#Makefile.gbuild all slowcheck#Makefile.gbuild all#g' \
Makefile.in || die
if use branding; then
# hack...
mv -v "${WORKDIR}/branding-intro.png" "${S}/icon-themes/galaxy/brand/intro.png" || die
fi
}
src_configure() {
local java_opts
local internal_libs
local lo_ext
local ext_opts
local jbs=$(sed -ne 's/.*\(-j[[:space:]]*\|--jobs=\)\([[:digit:]]\+\).*/\2/;T;p' <<< "${MAKEOPTS}")
# recheck that there is some value in jobs
[[ -z ${jbs} ]] && jbs="1"
# sane: just sane.h header that is used for scan in writer, not
# linked or anything else, worthless to depend on
# vigra: just uses templates from there
# it is serious pain in the ass for packaging
# should be replaced by boost::gil if someone interested
internal_libs+="
--without-system-sane
--without-system-vigra
"
# libreoffice extensions handling
for lo_xt in ${LO_EXTS}; do
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt})"
else
ext_opts+=" $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt})"
fi
done
if use java; then
# hsqldb: system one is too new
java_opts="
--without-junit
--without-system-hsqldb
--with-ant-home="${ANT_HOME}"
--with-jdk-home=$(java-config --jdk-home 2>/dev/null)
--with-jvm-path="${EPREFIX}/usr/lib/"
"
use libreoffice_extensions_scripting-beanshell && \
java_opts+=" --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar)"
use libreoffice_extensions_scripting-javascript && \
java_opts+=" --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar)"
if use libreoffice_extensions_wiki-publisher; then
java_opts+="
--with-commons-codec-jar=$(java-pkg_getjar commons-codec commons-codec.jar)
--with-commons-httpclient-jar=$(java-pkg_getjar commons-httpclient-3 commons-httpclient.jar)
--with-commons-lang-jar=$(java-pkg_getjar commons-lang-2.1 commons-lang.jar)
--with-commons-logging-jar=$(java-pkg_getjar commons-logging commons-logging.jar)
--with-servlet-api-jar=$(java-pkg_getjar tomcat-servlet-api-3.0 servlet-api.jar)
"
fi
fi
# system headers/libs/...: enforce using system packages
# --enable-cairo: ensure that cairo is always required
# --enable-graphite: disabling causes build breakages
# --enable-*-link: link to the library rather than just dlopen on runtime
# --enable-release-build: build the libreoffice as release
# --disable-fetch-external: prevent dowloading during compile phase
# --disable-gnome-vfs: old gnome virtual fs support
# --disable-kdeab: kde3 adressbook
# --disable-kde: kde3 support
# --disable-systray: quickstarter does not actually work at all so do not
# promote it
# --enable-extension-integration: enable any extension integration support
# --without-{afms,fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
# --disable-report-builder: too much java packages pulled in without pkgs
econf \
--docdir="${EPREFIX}/usr/share/doc/${PF}/" \
--with-system-headers \
--with-system-libs \
--with-system-jars \
--with-system-dicts \
--enable-cairo-canvas \
--enable-graphite \
--enable-largefile \
--enable-mergelibs \
--enable-python=system \
--enable-randr \
--enable-randr-link \
--enable-release-build \
--disable-hardlink-deliver \
--disable-ccache \
--disable-crashdump \
--disable-dependency-tracking \
--disable-epm \
--disable-fetch-external \
--disable-gnome-vfs \
--disable-gstreamer-0-10 \
--disable-report-builder \
--disable-kdeab \
--disable-kde \
--disable-online-update \
--disable-systray \
--with-alloc=$(use jemalloc && echo "jemalloc" || echo "system") \
--with-build-version="Gentoo official package" \
--enable-extension-integration \
--with-external-dict-dir="${EPREFIX}/usr/share/myspell" \
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell" \
--with-external-thes-dir="${EPREFIX}/usr/share/myspell" \
--with-external-tar="${DISTDIR}" \
--with-lang="" \
--with-parallelism=${jbs} \
--with-system-ucpp \
--with-vendor="Gentoo Foundation" \
--with-x \
--without-afms \
--without-fonts \
--without-myspell-dicts \
--without-help \
--with-helppack-integration \
--without-sun-templates \
$(use_enable bluetooth sdremote-bluetooth) \
$(use_enable cups) \
$(use_enable debug) \
$(use_enable dbus) \
$(use_enable eds evolution2) \
$(use_enable firebird firebird-sdbc) \
$(use_enable gnome gconf) \
$(use_enable gnome gio) \
$(use_enable gnome lockdown) \
$(use_enable gstreamer) \
$(use_enable gtk) \
$(use_enable gtk3) \
$(use_enable kde kde4) \
$(use_enable mysql ext-mariadb-connector) \
$(use_enable odk) \
$(use_enable opengl) \
$(use_enable postgres postgresql-sdbc) \
$(use_enable telepathy) \
$(use_enable vba) \
$(use_enable vlc) \
$(use_enable webdav neon) \
$(use_with java) \
$(use_with mysql system-mysql-cppconn) \
$(use_with odk doxygen) \
${internal_libs} \
${java_opts} \
${ext_opts}
}
src_compile() {
# hack for offlinehelp, this needs fixing upstream at some point
# it is broken because we send --without-help
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
(
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk"
source "${T}/config_host.mk" 2&> /dev/null
local path="${WORKDIR}/helpcontent2/source/auxiliary/"
mkdir -p "${path}" || die
echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=icon-themes/galaxy/res/helpimg > \"${path}/helpimg.ilst\""
perl "${S}/helpcontent2/helpers/create_ilst.pl" \
-dir=icon-themes/galaxy/res/helpimg \
> "${path}/helpimg.ilst"
[[ -s "${path}/helpimg.ilst" ]] || ewarn "The help images list is empty, something is fishy, report a bug."
)
local target
use test && target="build" || target="build-nocheck"
# this is not a proper make script
make ${target} || die
}
src_test() {
make unitcheck || die
make slowcheck || die
}
src_install() {
# This is not Makefile so no buildserver
make DESTDIR="${D}" distro-pack-install -o build -o check || die
# Fix bash completion placement
newbashcomp "${ED}"/etc/bash_completion.d/libreoffice.sh ${PN}
rm -rf "${ED}"/etc/
if use branding; then
insinto /usr/$(get_libdir)/${PN}/program
newins "${WORKDIR}/branding-sofficerc" sofficerc
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN}
fi
# symlink the nsplugin to proper location
# use gtk && inst_plugin /usr/$(get_libdir)/libreoffice/program/libnpsoplugin.so
# Hack for offlinehelp, this needs fixing upstream at some point.
# It is broken because we send --without-help
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
insinto /usr/$(get_libdir)/libreoffice/help
doins xmlhelp/util/*.xsl
# Remove desktop files for support to old installs that can't parse mime
rm -rf "${ED}"/usr/share/mimelnk/
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
}
pkg_preinst() {
# Cache updates - all handled by kde eclass for all environments
kde4-base_pkg_preinst
}
pkg_postinst() {
kde4-base_pkg_postinst
use java || \
ewarn 'If you plan to use lbase application you should enable java or you will get various crashes.'
}
pkg_postrm() {
kde4-base_pkg_postrm
}

@ -1,4 +1,5 @@
DIST TeXmacs-1.0.7.2-src.tar.gz 4763348 SHA256 98ca44418f4d4644bdee03add2e2baf18f0839d4d8336189ff4a095329f7a2ba SHA512 e8ba14c8419de262c13e5eddc003ba0d341b4d570685526c73f0cf1bf437dcae86ac37952147b72b653eb66bcdd94f41eca9ff000f8f0fd80786ba13ee1b57fc WHIRLPOOL ca208be8c784e8a957421ce2b5db94958c38212c71ccb01d792ad9281bbabad3fd58a38e5ed48d8c2240a52e9c67b072080e277e631f210a1997ffd3f74bd8cc
DIST TeXmacs-1.0.7.20-src.tar.gz 18599912 SHA256 02828e5b8286db43a501c5924d5718f2c7702ac5fa0541d5b6ce8fda220fdef8 SHA512 bb5f8d47e37cb8228a7096176595d1243abe8c9935c33f2779e6a85d8903d8d28a425f56995a12621cdaa1c096732995a34437cc6501b8ffc71cc1f5758e9b66 WHIRLPOOL 0117f3bfa7d02b1ddd0113f17b12b255b13d33e2795efd966c56ce968a711a33c20dea275b4b91f2ae0b77acd9eb90bc0db02ffd7f3a39a7868c870841c3a1cb
DIST TeXmacs-1.0.7.21-src.tar.gz 18712991 SHA256 0c945611cd057c4af5f7c2232d19b8129caeef0289fa43a53bab1dabb2d603d2 SHA512 7a825297b84c34aa7b097026932a99bcaf7bdddeb44ad7d141cae1b03893e2472241f4cf73f3798dfebd9b226f94bc0ef665d5defb1b133d897e0ba3c8213fee WHIRLPOOL 8d12788ac4458e3b5085d1e11e3c5b1a92de1027fed3652bc232f395e2e77bddd141d4607690990c8a8ad29624f151557bcd9b20847b95d2c164e9772c103976
DIST TeXmacs-1.99.1-src.tar.gz 19048884 SHA256 7e8425d65b1a02f270eaa021389cb9c3f627c9064cc986bd1ec7f66e0681b2ac SHA512 4b599e020aafa5b0e832d5e4ca9d1fe2013f1880b32f4ddc63e42582ed553d1e6a8ac9a5b2189db040e7bbaef3faffae5c8f79da3657cb2356ba0700f85f7840 WHIRLPOOL 5457169699cbc4ccded02f0a3ee369910ade70f902f1a41d9c43349acb940022afdb08611681e0b20da66a09b507aaa648c147d4a57d9a7e8d12bb53795b7003
DIST TeXmacs-600dpi-fonts.tar.gz 2899193 SHA256 e8eeb3c97a1405fd037b0567f683a6d2225d47c7829893b9768bd6c1c707cc81 SHA512 b04a9661a9b59aec46279fd78121e56b24fc66df821f62baa09df179958d3260bde04fc17e9c1dbbe186dbc39f4580f34858c1ed2c7549c8249c42ac81b27d28 WHIRLPOOL 5a29ff42d89fd54150effe0ef0b395ee09d37c098725455e80608f60395fb736597c249e6b1b76e68d05e5cc2eec6b8d0567c6f54cbd37d76f1b419b0884323c

@ -8,5 +8,6 @@
</maintainer>
<use>
<flag name='netpbm'>Add support for <pkg>media-libs/netpbm</pkg></flag>
<flag name='pdf'>Add the experimental native pdf export</flag>
</use>
</pkgmetadata>

@ -0,0 +1,69 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/texmacs-1.99.1.ebuild,v 1.1 2014/05/01 12:37:09 grozin Exp $
EAPI=4
inherit autotools eutils fdo-mime gnome2-utils
MY_P=${P/tex/TeX}-src
DESCRIPTION="Wysiwyg text processor with high-quality maths"
HOMEPAGE="http://www.texmacs.org/"
SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/tmftp/source/${MY_P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
IUSE="imlib jpeg netpbm pdf qt4 svg spell"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux"
RDEPEND="dev-scheme/guile[deprecated]
virtual/latex-base
app-text/ghostscript-gpl
media-libs/freetype
x11-libs/libXext
x11-apps/xmodmap
qt4? ( dev-qt/qtgui:4 )
imlib? ( media-libs/imlib2 )
jpeg? ( || ( media-gfx/imagemagick media-gfx/jpeg2ps ) )
svg? ( || ( media-gfx/inkscape gnome-base/librsvg:2 ) )
netpbm? ( media-libs/netpbm )
spell? ( app-text/aspell )"
DEPEND="${RDEPEND}
x11-proto/xproto"
S="${WORKDIR}/${MY_P}"
src_prepare() {
# respect LDFLAGS, bug #338459
epatch "${FILESDIR}"/${PN}-plugins-1.patch
# dont update mime and desktop databases and icon cache
epatch "${FILESDIR}"/${PN}-updates.patch
eautoreconf
}
src_configure() {
econf --enable-optimize="${CXXFLAGS}" \
$(use_with imlib imlib2) \
$(use_enable qt4 qt) \
$(use_enable pdf pdf-renderer)
}
src_install() {
default
domenu "${FILESDIR}"/TeXmacs.desktop
}
pkg_postinst() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
}
pkg_postrm() {
fdo-mime_desktop_database_update
fdo-mime_mime_database_update
gnome2_icon_cache_update
}

@ -2,4 +2,4 @@ DIST calibre-1.2.0.tar.xz 29652528 SHA256 d27fdbe981620aa63f5c70909c63a3a7b747ce
DIST calibre-1.20.0.tar.xz 32430560 SHA256 475e09b1be4b9977240cbbe6743ab79da4b1f1afe3fe6015d212d868e8f2fac4 SHA512 84ac25080cf4948398b79f9a1af688cca9cf9a5a9200b2aad649f5fda1cd0556be4ade0c8b09ea6ffcc95654eac0aaaa5b8f8ed6ea9830174bc150e64de85e31 WHIRLPOOL 61b6ecde2e3f8679c1afea95dcd152a94ce03522c06dff34b406a5705f6255243f0565fbb5f9bef3ac96d7127190bd1b4363233fa24fafcd0412e061201f6fe8
DIST calibre-1.25.0.tar.xz 32683456 SHA256 cd95f64b721c6e7d0f392a7fce2c177bc8e1dec6a367891b3582e0b74b0e42f8 SHA512 fde5abbff3c4785160aa6286a8a50ae80ebf97a262b6902d6158648ba08c6d030e6031ced168131891d4cc7c291c74b6c3c7ce72be23c62c2dd783f47f0473b4 WHIRLPOOL f3cd373e8dbdfaff2d9e00cb7449916b0c6d2ae4530466ce1e98c8e5cb91e667db2a19952a11d5d35c044d6eb6804fc583d584753bec708560544e75c299aaf0
DIST calibre-1.29.0.tar.xz 33022868 SHA256 b9cc2081528b72d7082e15efbc75b4edccf3e504d30697886bf23da4fa834faa SHA512 17a1e83c610122ef1bd0e4e0162bd907eec17fe7b012fb5476d3eb3d7e65df6d7b3e609d4b32cd6489fcddbfc55ac521b0e5f88d7cc2b2ccbf5f566e53c2f126 WHIRLPOOL e4501c9ed09b27853158c7485304c30be3cf4e1223ed5950d6d2ad1fb193941ea9a4ba4e1c7b37efe8252439993d51d15efaeadb190e5a3f25fe36455ff7a33b
DIST calibre-1.33.0.tar.xz 33898440 SHA256 ee6d466b1e87e5a957138bb4dd27b44b957b617fb00dc3271d31fcfd3a8398e0 SHA512 63eca3e5f00f41b1bf9112cc075c7127567c7b2624ed1267e9315614adfcbc5d23199183541b7e29fc8c2659a36659f532e3d97bb14553547a1b8a0d2fa8c6a6 WHIRLPOOL 8f8eb4a065d1e2e22dc23e65be4832f28fef835567e8966b88eedc161093357bc75340eb48d56a1889c85299ef661838826b7e702264cbd5cdebfdf211e78ef6
DIST calibre-1.34.0.tar.xz 33948776 SHA256 c1dcde1da1dd0e3117f4ee44f15d2d59de7d96c595da2a028742692bd59a37e6 SHA512 2f205786d1b06da40d45ba297c26b96dc2db32dab421a957e14e68b597e07d80b30d5c33d19688a81e4b0bbe8c47d912052ab83ce3c19c82358557e303e1a23b WHIRLPOOL 9136d1a1969daddf4fa8ab1683e11f77655c347f8ed14d7c48757e9d0890f7650aef188a9d8671c49fef0cbb5e46980ffed060d5dd58b2fc5b13e53aa760426f

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-1.33.ebuild,v 1.1 2014/04/20 09:57:05 yngwin Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-1.34.ebuild,v 1.2 2014/05/01 16:14:31 axs Exp $
EAPI=5
@ -38,11 +38,11 @@ IUSE="+udisks"
COMMON_DEPEND="
>=app-text/podofo-0.8.2:=
>=app-text/poppler-0.12.3-r3:=[qt4,xpdf-headers(+)]
>=app-text/poppler-0.20.2:=[qt4,xpdf-headers(+)]
>=dev-lang/python-2.7.1:2.7[sqlite,ssl]
>=dev-libs/chmlib-0.40:=
>=dev-libs/icu-4.4:=
dev-python/apsw
>=dev-python/apsw-3.7.17
>=dev-python/beautifulsoup-3.0.5:python-2
dev-python/netifaces
dev-python/python-dateutil
@ -50,17 +50,17 @@ COMMON_DEPEND="
>=dev-python/cssselect-0.7.1
>=dev-python/cssutils-0.9.9
>=dev-python/dbus-python-0.82.2
>=dev-python/lxml-2.2.1
>=dev-python/lxml-3.2.1
>=dev-python/mechanize-0.1.11
>=dev-python/python-dateutil-1.4.1
>=dev-python/PyQt4-4.9.1[X,svg,webkit]
>=dev-python/PyQt4-4.9.6[X,svg,webkit]
dev-qt/qtdbus:4=
dev-qt/qtsvg:4=
media-fonts/liberation-fonts
>=media-gfx/imagemagick-6.5.9[jpeg,png]
>=media-libs/freetype-2:=
>=media-libs/libwmf-0.2.8
>=media-libs/libmtp-1.1.4:=
>=media-libs/libmtp-1.1.5:=
virtual/libusb:1=
virtual/python-imaging
>=x11-misc/xdg-utils-1.0.2-r2"
@ -104,9 +104,11 @@ src_prepare() {
# no_updates: do not annoy user with "new version is availible all the time
# disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
# C locale: if LC_ALL=C do not raise an exception when locale cannot be canonicalized
epatch \
"${FILESDIR}/${PN}-1.20-no_updates_dialog.patch" \
"${FILESDIR}/${PN}-disable_plugins.patch"
"${FILESDIR}/${P}-no_updates_dialog.patch" \
"${FILESDIR}/${PN}-disable_plugins.patch" \
"${FILESDIR}/${P}-C-locale.patch"
}
src_install() {

@ -0,0 +1,11 @@
--- a/src/calibre/spell/dictionary.py 2014-05-01 11:38:04.051290252 -0400
+++ b/src/calibre/spell/dictionary.py 2014-05-01 11:37:55.061290088 -0400
@@ -52,7 +52,7 @@
raw = raw or ''
parts = raw.replace('_', '-').split('-')
lc = canonicalize_lang(parts[0])
- if lc is None:
+ if lc is None and raw != 'C':
raise ValueError('Invalid language code: %r' % raw)
cc = None
if len(parts) > 1:

@ -0,0 +1,37 @@
--- a/src/calibre/gui2/main.py 2014-01-17 11:49:16.000000000 +0800
+++ b/src/calibre/gui2/main.py 2014-01-18 18:28:53.322911344 +0800
@@ -37,8 +37,9 @@
help=_('Start minimized to system tray.'))
parser.add_option('-v', '--verbose', default=0, action='count',
help=_('Ignored, do not use. Present only for legacy reasons'))
- parser.add_option('--no-update-check', default=False, action='store_true',
- help=_('Do not check for updates'))
+ parser.add_option('--update-check', dest='no_update_check', default=True,
+ action='store_false',
+ help=_('Check for updates'))
parser.add_option('--ignore-plugins', default=False, action='store_true',
help=_('Ignore custom plugins, useful if you installed a plugin'
' that is preventing calibre from starting'))
--- a/src/calibre/gui2/update.py 2014-04-24 22:02:21.000000000 -0400
+++ b/src/calibre/gui2/update.py 2014-05-01 12:02:27.631316967 -0400
@@ -139,6 +139,8 @@
self.update_checker.update_found.connect(self.update_found,
type=Qt.QueuedConnection)
self.update_checker.start()
+ else:
+ self.update_checker = None
def recalc_update_label(self, number_of_plugin_updates):
self.update_found('%s%s%d'%(self.last_newest_calibre_version, VSEP,
--- a/src/calibre/gui2/ui.py 2014-04-24 22:02:21.000000000 -0400
+++ b/src/calibre/gui2/ui.py 2014-05-01 11:53:58.371307671 -0400
@@ -858,7 +858,8 @@
if write_settings:
self.write_settings()
self.check_messages_timer.stop()
- self.update_checker.terminate()
+ if self.update_checker is not None:
+ self.update_checker.terminate()
self.listener.close()
self.job_manager.server.close()
self.job_manager.threaded_server.close()

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/mate-doc-utils/mate-doc-utils-1.6.2.ebuild,v 1.4 2014/03/10 23:00:16 tomwij Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/mate-doc-utils/mate-doc-utils-1.6.2.ebuild,v 1.5 2014/05/02 12:24:31 tomwij Exp $
EAPI="5"
@ -54,7 +54,7 @@ src_configure() {
}
src_compile() {
python_foreach_impl run_in_build_dir gnome2_src_compile
python_foreach_impl run_in_build_dir emake -j1
}
src_test() {

@ -1,2 +1,2 @@
DIST pdfminer-20110515.tar.gz 4068046 SHA256 114bddcc196b1ce893ab78815e3682ef7c56e9f5990e469dcc64cba93821b8ef SHA512 87e66c4a864259e7b75581ec95c5e1e9bfb79a4a126e7ec6e23c55d6954b0766f0aa874291c770089c7fb2b72d6c8c6bbc2e54612a30c90150437d5ce850c0e3 WHIRLPOOL 99e30cfe7dfe7bcebe8ec06afcc20e549a807166b10a744a90fd1ffd821d505b3820e243015aa540faab50a6f10988bdcadb97d33ff2ec4343ff596187386cb6
DIST pdfminer-20131113.tar.gz 4080763 SHA256 1016246265f9d48645229164ef44483e9b9a1b3e6902783782f9ae4e1024ea19 SHA512 be598f9ca5cb87fcde91190f72ee77209a6f8ca9db93588c914e6ec666b2a3cc69abedd92ca73a53e714c3660065b7f2c1e9c770e46c838f6d3d489dd637203e WHIRLPOOL 91980937f332332591d31241c558176dcd3cdc5da065fa9e748463d39f582facbef8e64c10155e691bdd938589c6616136c2cd63bf91ad1f54852e116edc5cee
DIST pdfminer-20140328.tar.gz 4081233 SHA256 ba187b93056586a14edd5e630cf63ae96b1cc84b611f55dcddbc997316d9f262 SHA512 8abb2328f7824ee980df0ce42d758c15534e97379ea9213b4aa1d29864d24d73c9e2d6020964e9ab734c0c6f7d1ae70bccbd6605168eaadf83923718a1f4849a WHIRLPOOL 0f1e5e10936d2a6f02872699812e4b8449875330f1dbb668a15c5a85c94d3cb2cf5cb471fb280159df20fa454344b1256469180cdfb5ec3091df07e49c283264

@ -1,13 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/pdfminer/pdfminer-20110515.ebuild,v 1.1 2011/06/20 12:41:04 hwoarang Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/pdfminer/pdfminer-20140328.ebuild,v 1.1 2014/05/01 10:43:05 idella4 Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
PYTHON_DEPEND="2"
EAPI=5
PYTHON_COMPAT=( python2_7 pypy )
inherit distutils
inherit distutils-r1
DESCRIPTION="Python tool for extracting information from PDF documents"
HOMEPAGE="http://www.unixuser.org/~euske/python/pdfminer/ http://pypi.python.org/pypi/pdfminer/"
@ -16,4 +14,14 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
IUSE="doc examples"
python_compile_all(){
use examples && emake -C samples all
}
python_install_all() {
use doc && local HTML_DOCS=( docs/. )
use examples && local EXAMPLES=( samples/. )
distutils-r1_python_install_all
}

@ -0,0 +1,22 @@
diff --git a/events.c b/events.c
index dbb46f0..f9990f9 100644
--- a/events.c
+++ b/events.c
@@ -5311,7 +5311,7 @@ xi2_emulate_action(struct xdvi_action *actp, struct xi2_valinfo *valinfo,
}
if (actp->proc == Act_wheel) {
-# if XAW
+# if !MOTIF
if (globals.widgets.y_bar != NULL)
XtCallCallbacks(globals.widgets.y_bar, XtNscrollProc,
cast_int_to_XtPointer(dist));
@@ -5322,7 +5322,7 @@ xi2_emulate_action(struct xdvi_action *actp, struct xi2_valinfo *valinfo,
# endif /* MOTIF */
}
else { /* Act_hwheel */
-# if XAW
+# if !MOTIF
if (globals.widgets.x_bar != NULL)
XtCallCallbacks(globals.widgets.x_bar, XtNscrollProc,
cast_int_to_XtPointer(dist));

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/xdvik-22.87.ebuild,v 1.1 2014/04/23 09:19:55 naota Exp $
# $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/xdvik-22.87.ebuild,v 1.2 2014/05/01 04:13:10 naota Exp $
EAPI=5
inherit eutils flag-o-matic elisp-common toolchain-funcs multilib
@ -37,6 +37,7 @@ S=${WORKDIR}/${P}/texk/xdvik
src_prepare() {
local i
epatch "${FILESDIR}"/${P}-xaw3d.patch
# Make sure system kpathsea headers are used
cd "${WORKDIR}/${P}/texk/kpathsea"
for i in *.h ; do echo "#include_next \"$i\"" > $i; done

@ -1,9 +1,11 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtest/gtest-1.7.0.ebuild,v 1.1 2013/11/06 09:57:53 tomka Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gtest/gtest-1.7.0.ebuild,v 1.2 2014/04/30 14:36:24 mgorny Exp $
EAPI="5"
AUTOTOOLS_AUTORECONF=1
AUTOTOOLS_IN_SOURCE_BUILD=1
# Python is required for tests and some build tasks.
PYTHON_COMPAT=( python{2_6,2_7} )
@ -26,37 +28,25 @@ PATCHES=(
"${FILESDIR}/configure-fix-pthread-linking.patch" #371647
)
AUTOTOOLS_AUTORECONF="1"
src_prepare() {
sed -i -e "s|/tmp|${T}|g" test/gtest-filepath_test.cc || die
sed -i -r \
-e '/^install-(data|exec)-local:/s|^.*$|&\ndisabled-&|' \
Makefile.am || die
autotools-multilib_src_prepare
multilib_copy_sources
}
src_configure() {
multilib_parallel_foreach_abi gtest_src_configure
multilib_src_install() {
default
multilib_is_native_abi && dobin scripts/gtest-config
}
src_install() {
autotools-multilib_src_install
multilib_for_best_abi gtest-config_install
multilib_src_install_all() {
prune_libtool_files --all
einstalldocs
if use examples ; then
insinto /usr/share/doc/${PF}/examples
doins samples/*.{cc,h}
fi
}
gtest_src_configure() {
ECONF_SOURCE="${BUILD_DIR}"
autotools-utils_src_configure
}
gtest-config_install() {
dobin "${BUILD_DIR}/scripts/gtest-config"
}

@ -1,3 +1,3 @@
DIST tbb41_20121003oss_src.tgz 2250789 SHA256 5383727b9582a54cf4c4adbf22186b70e8eba276fcd3be81d746a937c5b47afc SHA512 fada6e32a09be2a151746caf3a15729c9ec6043b17e2f0aeb1bd903542310cdc6fe9ad85017ff5b2cfb16ae955c81c8b39ad8cf97f871bfcbd19d4948ef1d821 WHIRLPOOL 6c2a094e1dc6efed7189903bf8a6bbb8688ab1b15134c9f3c09fd5ed6a72315140505f5df410c89b65cd160a896222d71e01b3bfcbcd933281fb18a69eaf33f1
DIST tbb42_20131003oss_src.tgz 2118935 SHA256 dca8af40bcd69e434620c5800a6f464c78ab410a75d02f40547e851cc4d1519a SHA512 0e7b8ae9bb3600e6f5eaf25997a07e106416afa336549b34a90e97534685127bee612f798511c6da7b08c0116056565fe7022c773ff8e3eb6d9c69ab4ceaeda5 WHIRLPOOL 48e4e6de170fce2e67ff51adae3fc6fa69edcd444b68dfcc2da335a70661c39069801d7f15f52efd9c5064cbc420ad0f13115dd4ffae9595ce50a8dab0c3186d
DIST tbb42_20131118oss_src.tgz 3134290 SHA256 d95b816ac1618f5047d9ac4db1709d1f8bbeafaed597ce1ee7862b9577680882 SHA512 1f3e2bd807b7fa0cf42c712353cc2a622ddad22fe64359e668480617831ac595a46fa8db86ecd0376989cb4928bb4febe4d11a0f27c26437c60ed0a61c451174 WHIRLPOOL 90cc7de2309588dc546c4380d26211edc118f7dd7f1d7e15dcb38facb2ca0da9020129f1c03e4110eeb9b5991203aa0da0ff1561ed9da7cedcc2298e1b2e2a50
DIST tbb42_20140122oss_src.tgz 3402631 SHA256 f1bd8d983f93a10e340ba63f3a479632ddca1562a5242814dd82a378d3233b75 SHA512 e4391666bdacd6990ed23cf3c8635b18f727e6e794cadba38c2bbe9113990b955f9f341316a541b4b1b5757ec9af9ac0926a56b4a2d9c2485e3b0a6c6aa888ca WHIRLPOOL 3e8f2a5493fd03702f892cf63f0d14a22467ac67c1c4b889e59ab1bb4fda56739c430934f4cfe6b5eeeca38affab32c850aa0f5dce3e587e978d64baebcd7203

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tbb/tbb-4.2.20131003.ebuild,v 1.1 2013/11/12 22:17:14 bicatali Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tbb/tbb-4.2.20140122.ebuild,v 1.1 2014/04/30 16:44:25 bicatali Exp $
EAPI=5
inherit eutils flag-o-matic multilib versionator toolchain-funcs

@ -1,10 +1,10 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/gnu-classpath-0.98-r3.ebuild,v 1.10 2014/04/27 14:18:30 tomwij Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-classpath/gnu-classpath-0.98-r3.ebuild,v 1.11 2014/04/30 21:38:15 tomwij Exp $
EAPI=4
inherit eutils java-pkg-2 base multilib
inherit eutils java-pkg-2 multilib
MY_P=${P/gnu-/}
DESCRIPTION="Free core class libraries for use with virtual machines and compilers for the Java language"

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jflex/jflex-1.5.1.ebuild,v 1.1 2014/04/17 22:20:12 tomwij Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-java/jflex/jflex-1.5.1.ebuild,v 1.2 2014/04/30 15:27:11 tomwij Exp $
EAPI="5"
@ -63,7 +63,7 @@ src_install() {
java-pkg_register-ant-task
if use doc ; then
dodoc doc/manual.pdf doc/manual.ps.gz src/changelog
dodoc doc/manual.pdf changelog.md
dohtml -r doc/*
java-pkg_dojavadoc target/site/apidocs
fi

@ -17,5 +17,5 @@ DIST perl-5.16.2-3.tar.bz2 18740 SHA256 830a6f444c2977c9dd8a0a4baa5be470b0019158
DIST perl-5.16.2.tar.bz2 13725101 SHA256 5ba91d9aa40220c615b644bb48fa5df7fbca4afb1c9e911bdc0ce2a93f072d7d SHA512 b2a0eac73ce57ca9b83622eaee64cdbfc69011ff4dc54d5e6193e9a218117f33963ac56a30fc2baa7a76504868bfa5f00dd5ba25ece1ac70fe3a7a454898764b WHIRLPOOL e634c29edb00676023e906d65a9ace8cbee6aed43c6551d119a0b59f4f1be15f2f9d8b1417cc22b3bae5a0f3706d1aecccd2815edc7f341a4301be969e024203
DIST perl-5.16.3-1.tar.bz2 16842 SHA256 e88c413f6491aaa76cfb730af5873d710906df84d486019ad34b8c976ed9279e SHA512 337fbe5b3f447d2bb7f1edb18df973efbf99582448bcc6d3099ec6a91a43071cbbde3419a642e69602d6526f0d2c83d1ce8c7315e51362937c76bf3dc93f3f84 WHIRLPOOL c5be2872341e2bffe4f83b3f77314ed60b078f0977b11aa89d24a25fffa5ad9a761945d6518872c92a156065b58a3c456b71f98a8939a9cfd748e3a2d98a2264
DIST perl-5.16.3.tar.bz2 13724906 SHA256 bb7bc735e6813b177dcfccd480defcde7eddefa173b5967eac11babd1bfa98e8 SHA512 c30cda0af9463942e40b5d70a95e69b0640bf0b79d9d9dfa1a61d9d8b9ee05f553fd240be4c8b3c60a1def66c80453e49e865c27d3dd0b686f5c004e1ff58d92 WHIRLPOOL 241141d9a04095abbc08f29853cc2a348b04550c7e9330c65a1aa111620b61166d2516a619a3afbf8b7bae4208bae7114bfff153c9303c00158a0153c3388526
DIST perl-5.18.2-1.tar.bz2 16256 SHA256 e797502e384969839fb8e918dc6cf3c497206d332cb25a0cc503aeef4c574b75 SHA512 d5cdb2db530bbc53448045161a6ca2ef8a73539b6611737282d5c6f8ac623e9c481a8be22da8eabefb2f8f2a934cf254b50468651c76a0a1196e69773271d48a WHIRLPOOL 9cce4dd310e041c41e91e9f2ea94a2275168edfb1752da5f929a07333107451fb87d3901012e4af863e839bf8bd170571ae2a60309f4210d87b463615db9febe
DIST perl-5.18.2-patches-2.tar.bz2 17153 SHA256 2d203611d9df9d63ed972a37db4927e5d04e80f1abd9724519ac9fc6600d7dbb SHA512 9efacaa44447dc605e69dd68886b41a263726158e98cdb9293678a77311eb197fbc86591db6209ad4614e8a8491758fa24f10c189e5a75dc8ec8c9a1335cafbc WHIRLPOOL 4d69c24e773b51a62e4a223a6846698b207a4ee71f16e58692634a750f25372e602c6902d3ec9859ec21fbf32acdef12817eb1ff285cdba37c404636ced16332
DIST perl-5.18.2.tar.bz2 14058513 SHA256 06a0cd490be36d829606aa41d8c9c4c72ae70542f8d4f23ec554335b3d9e2746 SHA512 7129f56b33724a49498af22977e9e995791c8de736b204124e21d170f1a7419e7b8c6dbc57d76216e4aebcb4b42e61c4075f96ebf06a13523287966222527535 WHIRLPOOL 2acee8f9d7ee5b9f265c6cee625d67efb9ddad7164787faa8cb50707cc53914fb78420e1450e85180fb093804ae84cb301dd274aa4412f4b899aacf1f15bd0cb

@ -0,0 +1,70 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_prepare-v50180002.eblit,v 1.1 2014/04/30 14:47:53 civil Exp $
src_prepare_update_patchlevel_h() {
# Copied and modified from debian:
# Copyright 2011 Niko Tyni
# This program is free software; you can redistribute it and/or modify
# it under the same terms as Perl itself.
local patchdir="${WORKDIR}/patches"
local prefix
[[ -f ${patchdir}/series ]] || return 0
while read patch
do
patchname=$(echo $patch | sed 's/\.diff$//')
< $patchdir/$patch sed -e '/^Subject:/ { N; s/\n / / }' | sed -n -e '
# massage the patch headers
s|^Bug: .*https\?://rt\.perl\.org/.*id=\(.*\).*|[perl #\1]|; tprepend;
s|^Bug: .*https\?://rt\.cpan\.org/.*id=\(.*\).*|[rt.cpan.org #\1]|; tprepend;
s|^Bug-Gentoo: ||; tprepend;
s/^\(Subject\|Description\): //; tappend;
s|^Origin: .*http://perl5\.git\.perl\.org/perl\.git/commit\(diff\)\?/\(.......\).*|[\2]|; tprepend;
# post-process at the end of input
$ { x;
# include the version number in the patchlevel.h description (if available)
s/List packaged patches/&'" for ${PF}(#${PATCH_VER})"'/;
# escape any backslashes and double quotes
s|\\|\\\\|g; s|"|\\"|g;
# add a prefix
s|^|\t,"'"$prefix$patchname"' - |;
# newlines away
s/\n/ /g; s/ */ /g;
# add a suffix
s/ *$/"/; p
};
# stop all processing
d;
# label: append to the hold space
:append H; d;
# label: prepend to the hold space
:prepend x; H; d;
'
done < "${WORKDIR}"/patches/series > "${S}"/patchlevel-gentoo.h
}
eblit-perl-src_prepare() {
local patch
EPATCH_OPTS+=" -p1"
einfo "Applying patches from ${MY_P}-patches-${PATCH_VER} ..."
while read patch ; do
EPATCH_SINGLE_MSG=" ${patch} ..."
epatch "${WORKDIR}"/patches/${patch}
done < "${WORKDIR}"/patches/series
src_prepare_update_patchlevel_h
# pod/perltoc.pod fails
# lib/ExtUtils/t/Embed.t fails
if ! tc-is-static-only ; then
ln -s ${LIBPERL} libperl$(get_libname ${SHORT_PV}) || die
ln -s ${LIBPERL} libperl$(get_libname ) || die
fi
}

@ -1,12 +1,12 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.18.2.ebuild,v 1.3 2014/03/11 17:01:15 civil Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.18.2.ebuild,v 1.4 2014/04/30 14:47:53 civil Exp $
EAPI=5
inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
PATCH_VER=1
PATCH_VER=2
PERL_OLDVERSEN="5.18.0 5.18.1"
MODULE_AUTHOR=RJBS
@ -20,8 +20,8 @@ DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
SRC_URI="
mirror://cpan/src/5.0/${MY_P}.tar.bz2
mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
http://dev.gentoo.org/~civil/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2
mirror://gentoo/${MY_P}-patches-${PATCH_VER}.tar.bz2
http://dev.gentoo.org/~civil/distfiles/${CATEGORY}/${PN}/${MY_P}-patches-${PATCH_VER}.tar.bz2
"
HOMEPAGE="http://www.perl.org/"

@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost-numpy/boost-numpy-0_pre20131206.ebuild,v 1.1 2013/12/06 13:06:15 heroxbd Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost-numpy/boost-numpy-0_pre20131206.ebuild,v 1.2 2014/05/01 10:33:41 mgorny Exp $
EAPI=5
inherit cmake-multilib
inherit cmake-utils
DESCRIPTION="Boost.Python interface for NumPy"
HOMEPAGE="https://github.com/ndarray/Boost.NumPy"
@ -27,7 +27,7 @@ DEPEND="${CDEPEND}"
RDEPEND="${CDEPEND}"
src_install() {
cmake-multilib_src_install
cmake-utils_src_install
use doc && dodoc -r libs/numpy/doc/*
use examples && dodoc -r libs/numpy/example

@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost-numpy/boost-numpy-9999.ebuild,v 1.1 2013/12/06 13:06:15 heroxbd Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost-numpy/boost-numpy-9999.ebuild,v 1.2 2014/05/01 10:33:41 mgorny Exp $
EAPI=5
inherit cmake-multilib
inherit cmake-utils
DESCRIPTION="Boost.Python interface for NumPy"
HOMEPAGE="https://github.com/ndarray/Boost.NumPy"
@ -27,7 +27,7 @@ DEPEND="${CDEPEND}"
RDEPEND="${CDEPEND}"
src_install() {
cmake-multilib_src_install
cmake-utils_src_install
use doc && dodoc -r libs/numpy/doc/*
use examples && dodoc -r libs/numpy/example

@ -1,8 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libconfig/libconfig-1.4.9-r1.ebuild,v 1.7 2013/05/25 08:02:25 ago Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libconfig/libconfig-1.4.9-r1.ebuild,v 1.8 2014/04/30 18:26:14 mgorny Exp $
EAPI=5
AUTOTOOLS_AUTORECONF="1"
inherit eutils autotools-multilib
DESCRIPTION="Libconfig is a simple library for manipulating structured configuration files"
@ -20,34 +22,28 @@ DEPEND="
PATCHES=( "${FILESDIR}/${P}-out-of-source-build.patch" )
AUTOTOOLS_AUTORECONF="1"
src_prepare() {
sed -i configure.ac -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die
autotools-multilib_src_prepare
}
src_configure() {
multilib_src_configure() {
local myeconfargs=(
$(use_enable cxx)
--disable-examples
)
autotools-multilib_src_configure
autotools-utils_src_configure
}
local_src_test() {
pushd "${BUILD_DIR}" > /dev/null || die
emake test || die "test failed"
popd > /dev/null || die
}
src_test() {
multilib_src_test() {
# It responds to check but that does not work as intended
multilib_foreach_abi local_src_test
emake test
}
src_install() {
autotools-multilib_src_install
multilib_src_install_all() {
einstalldocs
prune_libtool_files
if use examples; then
local dir
for dir in examples/c examples/c++; do

@ -1,3 +1,4 @@
DIST libe-0.4.0.tar.gz 386579 SHA256 3034ef9ea7f42f648e8f3d28e5f88ca58b0718e4fa8f4b9b534f0f00b660e013 SHA512 eb5fa494ea90fec3f3c807765c6e0ed5ccf3131f855bfc65420ad222167d5d016151f0296146585ccd7838b120b755cb47a4b7a65c73a3d14f01074dd77ed288 WHIRLPOOL 37add964cb0c9995305e5dd8adb281b3e33add4923c6c56d2841ad1c551d061eeca36caf2b8e5685929cfe49118a184e0a03c6b42cc2cf8c58d9b26bca06a560
DIST libe-0.4.1.tar.gz 386037 SHA256 fcadd9738bf77a0ff48cabf08ef527b804ec966f3f1048701b316507c0b7ddd7 SHA512 5b81e8dadc17257637be8713582268ecbb781d959a2c5348e9a6b913c5e88c2b7ffa0ca92baed13f02007f68f76015a0333affd3b523e688e045a1fabe6dd024 WHIRLPOOL 6096f8e0b8fd093e13e02334c47bfbed73dbfbb80f368c8baed73177a0162a656fa76b6bf4b91c0c911bcb187c8107a1160126ae7db9498743a886bc6a410205
DIST libe-0.5.0.tar.gz 387300 SHA256 2f74184a4a13a0e84b79ff63aac1812160c562142306da33f27c8e9a3bafb5df SHA512 0a1641b886b8fbaa9632e523ac1d7c429b5e2ca7ba3819fb25b2fb0fafcb908a317f61a7d277b23964fcec6102b2d5aef54692cd5577298d2ae3f322f650c4a4 WHIRLPOOL 1e981107e0ddc0ba8599e6d52552535777b4b293478cbd9ce717d05bf445033c90bcc1fa96fc841978bdc536e4edc5a49f43051cbb1f5c7d8d3a75cc43621e39
DIST libe-0.6.0.tar.gz 387558 SHA256 be842b6fdc62bc68c78e8a7904a10af14bbe49efb80d1ce3d12b396668275258 SHA512 58c494aa428f6fcf152da556d57f703c6c759c56a65d0c03b472a5687917a7cbfe2fef3560977de0751bac9ce159149c58f70dbda2c34d448e46980121950897 WHIRLPOOL 5bbdf51069f11ea429984e2ac7bc9d541058b2f55563870189e1f6c217d5bf0dca9deae7d97fa27321c6bcca6f3fa84d4a62f33e376536a8a8399097bfce74c6

@ -0,0 +1,27 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libe/libe-0.6.0.ebuild,v 1.1 2014/04/30 09:12:16 patrick Exp $
EAPI=4
inherit eutils
# bit messy at the moment, next release should fix it I hope
RESTRICT="test"
DESCRIPTION="Hyperdex libe support library"
HOMEPAGE="http://hyperdex.org"
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND=">=dev-libs/libpo6-0.5.0"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
sed -i -e 's/_strtoui64/strtoul/' e/convert.h || die
}

@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.6.1-r1.ebuild,v 1.2 2014/03/01 12:01:07 mgorny Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.6.1-r1.ebuild,v 1.3 2014/04/30 08:20:06 grobian Exp $
EAPI=5
AUTOTOOLS_AUTORECONF=1
@ -37,7 +37,7 @@ MULTILIB_CHOST_TOOLS=(
)
multilib_src_configure() {
if [[ ${CHOST} == *-solaris* ]] ; then
if [[ ${CHOST} == *86*-solaris* ]] ; then
# ASM code uses GNU ELF syntax, divide in particular, we need to
# allow this via ASFLAGS, since we don't have a flag-o-matic
# function for that, we'll have to abuse cflags for this

@ -0,0 +1,59 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/maloc/maloc-1.5-r1.ebuild,v 1.1 2014/05/01 12:22:13 jlec Exp $
EAPI=5
AUTOTOOLS_AUTORECONF=yes
inherit autotools-utils
DESCRIPTION="Minimal Abstraction Layer for Object-oriented C/C++ programs"
HOMEPAGE="http://www.fetk.org/codes/maloc/index.html"
SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
IUSE="doc mpi static-libs"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
sys-libs/readline
mpi? ( virtual/mpi )"
DEPEND="${RDEPEND}
doc? (
media-gfx/graphviz
app-doc/doxygen )"
S="${WORKDIR}/${PN}"
PATCHES=(
"${FILESDIR}"/1.4-mpi.patch
"${FILESDIR}"/1.4-asneeded.patch
"${FILESDIR}"/1.4-doc.patch
)
src_prepare() {
echo 'VPUBLIC int Vio_getc(Vio *thee){ ASC *asc; asc = thee->axdr; return asc->buf[asc->pos++]; }' >> src/vsys/vio.c || die
autotools-utils_src_prepare
}
src_configure() {
local myeconfargs
use mpi && export CC="mpicc"
use doc || myeconfargs+=( --with-doxygen= --with-dot= )
myeconfargs+=(
--docdir="${EPREFIX}"/usr/share/doc/${PF}
$(use_enable mpi)
--disable-triplet
)
autotools-utils_src_configure
}
src_install() {
autotools-utils_src_install
# install doc
dohtml doc/index.html
}

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

@ -1,2 +1,3 @@
DIST replicant-0.3.1.tar.gz 413031 SHA256 714d153084245af4987ab11df29fd615a137c36aff7c98e9f655933ea6d26998 SHA512 67cf56d19be209439b034844f65847bc58052d1871fad2c90f1191f6293b461fb313b9a0021737ed16f892ec06df464243ce24b905ca3469765d99c96831383b WHIRLPOOL 3e99aa9bda37d4ca624e25517512670b6ae4cdc965d084f83d1ef216c40cbc07ed7e3dc35b35a3894e59a83e395fbc6bce6b106560ed889b5106f531e599c838
DIST replicant-0.4.0.tar.gz 418441 SHA256 8e6d5d6eb270f09929df2148eb8857ddad373c3682e3144f87cf99fc2832ca8b SHA512 83ff77e7eadf9149bfb962374f8ff2734b824280cba76b8948af93a5fc5c538c172906975b0b5211a5fda01967f9640b9cdd99881db63b8c8430b14dd9375a6c WHIRLPOOL 04867cf5bbc777ff03845c7b053e3e270c8dd2c5944bfa4ebd04e9fc00f8012341767863e230edf5bbaa698d085c9f3e7a8b79c8a48fc074514a718c88695974
DIST replicant-0.5.0.tar.gz 418446 SHA256 92879df15b0472e2d926bab52863b86330ff074eeeed06ac6f10ec73cf565205 SHA512 4c6b79c79468fc5eac82e9e13ad53ac9dfa4b46ade405243dff9e92f4554d011d24c6255cd67175cb3b669813823873ddec7a4691db90587eecabd28e18e9756 WHIRLPOOL affceb2d7c0566b4ae6c90b449d523875fdb7b940558a802e8fca31ccadf253992cbc73cbf130145658e04158fd7f7743c086bad3054be0ce91303e4a311f286

@ -0,0 +1,22 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/replicant/replicant-0.5.0.ebuild,v 1.1 2014/04/30 09:28:39 patrick Exp $
EAPI=4
DESCRIPTION="Hyperdex replicant support library"
HOMEPAGE="http://hyperdex.org"
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=">=dev-libs/libpo6-0.4
>=dev-libs/libe-0.4
>=dev-libs/busybee-0.4
dev-libs/hyperleveldb
dev-cpp/glog
dev-cpp/sparsehash"
RDEPEND="${DEPEND}"

@ -11,3 +11,5 @@ DIST sbcl-1.1.16-source.tar.bz2 4241468 SHA256 dc3294f7fb8725bfd556456665ade9093
DIST sbcl-1.1.16-x86-64-linux-binary.tar.bz2 9215318 SHA256 4f250285394783b46954a4c6c29ab585022f4a8b29d04b5447d5dc574d4ffc7c SHA512 aa1a5fd51a12f2fa0b9ba5d50a78d54911c9a32d4e437ca7115a1d12451b39d132745f632fd91a615667df28dabfec54f04397137267db235c4c13ef089bae9b WHIRLPOOL 8cdc7cba9ce8e4098d37a744bd39c72847465aa0d1c679cb11116e264f01ef3395bb609d7eab5f8f0c3e2ef6b953833e7161284d8c5ed9a1350eea8ec6d005da
DIST sbcl-1.1.17-source.tar.bz2 4263128 SHA256 11895b41ce664bf128e1ad5c2e59a8f146681cf596c1b988b5458406fb440d75 SHA512 3de9c7ee7faae975790231f9c349ccc6573d4d962e3d7b8d5109c57437c2716b9848bfd20cd063a0ff374009df82d1d7d6d0d4dc526569abb45f471b75fc3f5a WHIRLPOOL 8d782c7b86482a84dafde236996ed100ceef245efbe3eac3295100b039f980670ee14a73c23fdb15878c7f1f2f90ef944918c2919440499d095d75de3c9b39c2
DIST sbcl-1.1.17-x86-64-linux-binary.tar.bz2 9192043 SHA256 0aecea084c885c2c8e52269dd866e6cd8eeb9c2a90debcc2fefa31f3e3807411 SHA512 b47eaf8ef2d351d23f7a04466bdfdd6d85113611cb468bcbce146457b0f10d7a54736dcce2c019a69a5ee69cc0b703468d07b70b7b5c96bceb57fa36840a3da2 WHIRLPOOL a23444dda1c3e233c77a8eaccd75753c419c9ba6e6d06849e7e89bcec8569e11096548f8050fc488b9efa16590f2637ca0dec4b22ab0ebcb7dd2ad2f73c5c2b6
DIST sbcl-1.1.18-source.tar.bz2 4272315 SHA256 933238392a2a3533b4088b86c4fbd0704a5573c1c66987a603eec4afa782c7d0 SHA512 48501a670c7e1ea9ab5a03514e8b49b93d1dcbdb7712da8b38496a2d51a604fe30e2785a5e5e8aa40032ede5ee11a75f63ae1919ccd7316089a74486177ad417 WHIRLPOOL a7285ee77753bc1f14755425e232e6ffcff159be883bad779585cb247ff47b904b4fcab99e8fc2e33644764c602409c6e9bbd28588d3d639431650ea9d31c5f5
DIST sbcl-1.1.18-x86-64-linux-binary.tar.bz2 9196684 SHA256 c945406f9421736982efc4eaaeb376b19331422f5b5a349382ed53c742d6cb0a SHA512 d63a33532ae6390c00d789c22c4a504b621e707b8aa5f72d12b497be8a590a75604a18f384fa2d27df3a4a0ef3ecd4c27e7bfc4f74fde3a014df1aad5dd8ff0c WHIRLPOOL 980726e0dd182c2b29c5ac4deab994d028e0003a3e2ac3e38a0c052f6607fc75f6b298fb60c99ff9f373c9ba1f243d6bd97de2cb765aad559867598affd510ab

@ -0,0 +1,207 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/sbcl/sbcl-1.1.18.ebuild,v 1.1 2014/04/30 15:25:21 grozin Exp $
EAPI=5
inherit multilib eutils flag-o-matic pax-utils
#same order as http://www.sbcl.org/platform-table.html
BV_X86=1.0.58
BV_AMD64=1.1.18
BV_PPC=1.0.28
BV_SPARC=1.0.28
BV_ALPHA=1.0.28
DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp."
HOMEPAGE="http://sbcl.sourceforge.net/"
SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="debug doc source +threads +unicode zlib"
CDEPEND=">=dev-lisp/asdf-2.33-r3:="
DEPEND="${CDEPEND}
doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )"
RDEPEND="${CDEPEND}
elibc_glibc? ( >=sys-libs/glibc-2.3 || ( <sys-libs/glibc-2.6[nptl] >=sys-libs/glibc-2.6 ) )"
# Disable warnings about executable stacks, as this won't be fixed soon by upstream
QA_EXECSTACK="usr/bin/sbcl"
CONFIG="${S}/customize-target-features.lisp"
ENVD="${T}/50sbcl"
# Prevent ASDF from using the system libraries
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
usep() {
use ${1} && echo "true" || echo "false"
}
sbcl_feature() {
echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
}
sbcl_apply_features() {
sed 's/^X//' > "${CONFIG}" <<-'EOF'
(lambda (list)
X (flet ((enable (x) (pushnew x list))
X (disable (x) (setf list (remove x list))))
EOF
if use x86 || use amd64; then
sbcl_feature "$(usep threads)" ":sb-thread"
fi
sbcl_feature "true" ":sb-ldb"
sbcl_feature "false" ":sb-test"
sbcl_feature "$(usep unicode)" ":sb-unicode"
sbcl_feature "$(usep zlib)" ":sb-core-compression"
sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
sed 's/^X//' >> "${CONFIG}" <<-'EOF'
X )
X list)
EOF
cat "${CONFIG}"
}
src_unpack() {
unpack ${A}
mv sbcl-*-linux sbcl-binary || die
cd "${S}"
}
src_prepare() {
epatch "${FILESDIR}"/gentoo-fix_install_man.patch
epatch "${FILESDIR}"/gentoo-fix_linux-os-c.patch
# bug #468482
epatch "${FILESDIR}"/concurrency-test.patch
# bug #486552
epatch "${FILESDIR}"/bsd-sockets-test.patch
# To make the hardened compiler NOT compile with -fPIE -pie
if gcc-specs-pie ; then
einfo "Disabling PIE..."
epatch "${FILESDIR}"/${PN}-1.1.17-gentoo-fix_nopie_for_hardened_toolchain.patch
fi
cp /usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
# Some shells(such as dash) don't have "time" as builtin
# and we don't want to DEPEND on sys-process/time
sed "s,^time ,," -i make.sh || die
sed "s,/lib,/$(get_libdir),g" -i install.sh || die
# #define SBCL_HOME ...
sed "s,/usr/local/lib,/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
find . -type f -name .cvsignore -delete
}
src_configure() {
# customizing SBCL version as per
# http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
# applying customizations
sbcl_apply_features
}
src_compile() {
local bindir="${WORKDIR}"/sbcl-binary
strip-unsupported-flags ; filter-flags -fomit-frame-pointer
if host-is-pax ; then
# To disable PaX on hardened systems
pax-mark -C "${bindir}"/src/runtime/sbcl
pax-mark -mr "${bindir}"/src/runtime/sbcl
# Hack to disable PaX on second GENESIS stage
sed -i -e '/load/!s/^echo \/\/doing warm.*$/&\npaxctl -C \.\/src\/runtime\/sbcl\npaxctl -mprexs \.\/src\/runtime\/sbcl/' \
"${S}"/make-target-2.sh || die "Cannot disable PaX on second GENESIS runtime"
fi
# clear the environment to get rid of non-ASCII strings, see bug 174702
# set HOME for paludis
env - HOME="${T}" \
CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
GNUMAKE=make ./make.sh \
"sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
|| die "make failed"
# need to set HOME because libpango(used by graphviz) complains about it
if use doc; then
env - HOME="${T}" \
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
make -C doc/manual info html || die "Cannot build manual"
env - HOME="${T}" \
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
make -C doc/internals info html || die "Cannot build internal docs"
fi
}
src_test() {
ewarn "Unfortunately, it is known that some tests fail eg."
ewarn "run-program.impure.lisp. This is an issue of the upstream's"
ewarn "development and not of Gentoo's side. Please, before filing"
ewarn "any bug(s) search for older submissions. Thank you."
time ( cd tests && sh run-tests.sh )
}
src_install() {
# install system-wide initfile
dodir /etc/
sed 's/^X//' > "${D}"/etc/sbclrc <<-EOF
;;; The following is required if you want source location functions to
;;; work in SLIME, for example.
X
(setf (logical-pathname-translations "SYS")
X '(("SYS:SRC;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/src/**/*.*")
X ("SYS:CONTRIB;**;*.*.*" #p"/usr/$(get_libdir)/sbcl/**/*.*")))
X
;;; Setup ASDF2
(load "/etc/common-lisp/gentoo-init.lisp")
EOF
# Install documentation
unset SBCL_HOME
INSTALL_ROOT="${D}/usr" LIB_DIR="/usr/$(get_libdir)" DOC_DIR="${D}/usr/share/doc/${PF}" \
sh install.sh || die "install.sh failed"
# rm empty directories lest paludis complain about this
find "${D}" -empty -type d -exec rmdir -v {} +
if use doc; then
dohtml -r doc/manual/
doinfo doc/manual/*.info*
dohtml -r doc/internals/sbcl-internals
doinfo doc/internals/sbcl-internals.info
docinto internals-notes && dodoc doc/internals-notes/*
else
rm -Rv "${D}/usr/share/doc/${PF}" || die
fi
dodoc BUGS CREDITS INSTALL NEWS OPTIMIZATIONS PRINCIPLES README TLA TODO
# install the SBCL source
if use source; then
./clean.sh
cp -av src "${D}/usr/$(get_libdir)/sbcl/" || die
fi
# necessary for running newly-saved images
echo "SBCL_HOME=/usr/$(get_libdir)/${PN}" > "${ENVD}"
echo "SBCL_SOURCE_ROOT=/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
doenvd "${ENVD}"
}

@ -1,22 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Class-Adapter/Class-Adapter-1.80.0.ebuild,v 1.1 2011/03/24 07:05:09 tove Exp $
EAPI=3
MODULE_AUTHOR=ADAMK
MODULE_VERSION=1.08
inherit perl-module
DESCRIPTION='Implementation of the "Adapter" Design Pattern'
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
>=virtual/perl-Scalar-List-Utils-1.10"
DEPEND="${RDEPEND}
test? ( virtual/perl-Test-Simple )"
SRC_TEST=do

@ -0,0 +1,26 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Finance-Quote/Finance-Quote-1.290.0.ebuild,v 1.1 2014/05/01 17:59:49 zlogene Exp $
EAPI=5
MODULE_AUTHOR=ECOCODE
MODULE_VERSION=1.29
inherit perl-module
DESCRIPTION="Get stock and mutual fund quotes from various exchanges"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
IUSE=""
DEPEND="
dev-perl/libwww-perl
dev-perl/HTML-Tree
dev-perl/HTML-TableExtract
dev-perl/Crypt-SSLeay
"
RDEPEND="${DEPEND}"
SRC_TEST="do"

@ -1 +1,2 @@
DIST Finance-Quote-1.18.tar.gz 147575 SHA256 4240faabe0646defd4ec76ca9e111977b9e8060eaec41adeb284eb422a428393 SHA512 7b5c910d7f424e9ab2b102dd1f7db20077e646512345f703b1ead235359d49d07a2a001aec9339cec35f7ab67c76bc8bfa572f2a5386878074c52ac952d39290 WHIRLPOOL 344407a5fa66068f6769147dfad2428d201c364588be6b5603ca3c61a78f8d3799899f39bb7edfdb8b7c506293eabd41985d3b7170f4f7afbce5d66eed00283f
DIST Finance-Quote-1.29.tar.gz 252210 SHA256 0e7098ac5ca38bb2d0a801e8e08d94cbbd86d91eddb9d16a1498c3d523e4a867 SHA512 7d39cf3eee3f44a52c39181fe7353fb98818a8ba5c19a49dc5728aaac53b6285d2829119cfcc80cbc33324e166d38c0b6b3d00639993d2bf8a92ae84d2f62f8c WHIRLPOOL 746d46e58b1e25c9d017388b7835e828078cab876e916c0e6375be22bc86b747a3d00621e49ad931ffa548be7b368c561186017e4a22bc73fc9d6cb61ee6030e

@ -1,25 +0,0 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/HTTP-Cookies/HTTP-Cookies-6.0.0.ebuild,v 1.15 2011/12/18 21:29:55 halcy0n Exp $
EAPI=3
MODULE_AUTHOR=GAAS
MODULE_VERSION=6.00
inherit perl-module
DESCRIPTION="Storage of cookies"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="
!<dev-perl/libwww-perl-6
>=dev-perl/HTTP-Date-6.0.0
virtual/perl-Time-Local
>=dev-perl/HTTP-Message-6.0.0
"
DEPEND="${RDEPEND}"
SRC_TEST=online

@ -1,2 +1 @@
DIST HTTP-Cookies-6.00.tar.gz 18718 SHA256 30b5741894696493748336226b91e1a6bda66480f5fa758f5ce10b21f360a81c SHA512 6399383e61a2fbad1dd130e67f51be32c118ed104065c109cde1e1262aed986fe3790231937dbdee861755bb58d365bc6f1dec316750f02700fce5014d1a1753 WHIRLPOOL 669dba994fefb6069a25dd2574d66f4555bb599e0c69edc8a9a412d8180befc2826c24b91700494d3ec2a69784b3a4ac7c10ee1a6b47666b253169236cce0699
DIST HTTP-Cookies-6.01.tar.gz 18751 SHA256 f5d3ade383ce6389d80cb0d0356b643af80435bb036afd8edce335215ec5eb20 SHA512 64058cc23275c13533b1688068e7ecc6297ac696f3812c6d5c732185130d68ed6be0be6f4b604ef023a2b02bbb80a7f5bdb774335784be40261329a588cf5247 WHIRLPOOL ff722ea444c3d3a16e2f35a0901a2fcd84572b39ed87e4c182f8b7048fb8b151dc6afd12e0a407f39c7d7c84faf429154e0edb76ec5712c6c1742ad7576a0beb

@ -1,18 +0,0 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/IO-Multiplex/IO-Multiplex-1.09.ebuild,v 1.9 2008/03/28 08:33:46 jer Exp $
inherit perl-module
DESCRIPTION="Manage IO on many file handles "
HOMEPAGE="http://search.cpan.org/~bbb/"
SRC_URI="mirror://cpan/authors/id/B/BB/BBB/${P}.tar.gz"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""
SRC_TEST="do"
DEPEND="dev-lang/perl"

@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/IO-Multiplex/IO-Multiplex-1.130.0.ebuild,v 1.6 2012/02/02 20:54:31 ranger Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/IO-Multiplex/IO-Multiplex-1.130.0.ebuild,v 1.7 2014/05/01 12:13:57 zlogene Exp $
EAPI=4
@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Manage IO on many file handles "
SLOT="0"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ~ppc64 sparc x86 ~x86-fbsd"
KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""
SRC_TEST="do"

@ -1,2 +1 @@
DIST IO-Multiplex-1.09.tar.gz 14666 SHA256 23d3b386d262fecf6116d645d8035cccfe0c4ac6d7071fdc49f210f4fb21ecf0 SHA512 16500582380ca17e640a4cf7ce80d8cb3867ef90070bd7c5bdad65a2ff437dfa22502f37b3b827fd16bc81defb4ac8ac848b33b8afd807833c68e69cf015a814 WHIRLPOOL 1d20f75537293ffec0d564b5fa8a080b48a16deba05896ffe2667de7ea92c9db633dd9a79e9c97c0a1fe7c06505b6ecf425381ea72c175f62f07d7ebcb46517b
DIST IO-Multiplex-1.13.tar.gz 16244 SHA256 2053c4617cc1f78cc82ec5dc9362091aaa17a68b203ea9bebdf27b46cbc55171 SHA512 ac98033161e65d76338e3acd312595426fab07df9ed8486ffdbc6cd166ea616cafe41fac2a36f5704eccf2a9f2f463e1cfe1ca2623d47f76f0c7d070faddef11 WHIRLPOOL d4364c27ffef1298b967d7308160104e8f48b86323afe24609f162e76a0a206c93417433e9feba4aefe1ad945d4d08901955da68e1a28ea482b3d1662149a451

@ -1,2 +1,3 @@
DIST Math-BigInt-GMP-1.24.tar.gz 43131 SHA256 3f00fb0191b4343745b99f104a50f50a49fa7424fe70cc002f000465161a8eb4 SHA512 be327d0e05bdf0a989661003762703161bdbd9af5e4f27adaf149779a281e435baec0db589a8e57ccb05f125232c542b3d1e7e72d793fbc645d66e119069cd70 WHIRLPOOL d71d7d8197b999156037ca8e6ac4728a44d315df9e40a12d526b9a08a2818a44910d5d43ae5fd57b8178f8e76d51159b4a19acba9facc837a45e827e90728974
DIST Math-BigInt-GMP-1.37.tar.gz 54520 SHA256 3134f1aef29a78f2014866facf8a91bea0f09b0b41c9954388d5ff4428930fc2 SHA512 fd1022af38837ee403ce7cea368331c69dc5aa63cef0a425f1d25b27668c82e8f007ebc62971db995aaf3cde9ea24a2c75680abead8704d793cccf5af4231bce WHIRLPOOL 12a15818e8054fbb47e7723b5fde95308943d4a5bf87f4ec71300338a6bf75d8c0718ce67506f8d4dcd4b16ceea4cec36ef9ed553562a10f1403b22ec0b1efe5
DIST Math-BigInt-GMP-1.38.tar.gz 55585 SHA256 1ad0cac911a08f150c5e5a8286aec20de21c863bd27b8f002456cff11e086f15 SHA512 e33abe8c3b939e559be4e3ec61ce77a6fb3da6451ea88cb22fd4785cfebc816024e957ad02e81b43ee982346e0e444630ee5d93a87a02182a765374d1a694222 WHIRLPOOL 15c9d6fedd1f14401171b66a6094ef092ebf7ba991bbf82827da1d8973beed37adae4d0ba85e2aed0db9f5ec6f4bc4e12c1ed143645492ccf2b13b551e3f9922

@ -0,0 +1,21 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Math-BigInt-GMP/Math-BigInt-GMP-1.380.0.ebuild,v 1.1 2014/05/01 17:50:23 zlogene Exp $
EAPI=5
MODULE_AUTHOR=PJACKLAM
MODULE_VERSION=1.38
inherit perl-module
DESCRIPTION="Use the GMP library for Math::BigInt routines"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
IUSE=""
RDEPEND=">=virtual/perl-Math-BigInt-1.997.0
>=dev-libs/gmp-4.0.0"
DEPEND="${RDEPEND}"
SRC_TEST="do"

@ -1 +1,2 @@
DIST OpenGL-0.66.tar.gz 611606 SHA256 8837bf244d41e415e9ef05bece8fb60861293389d96a4115f0a64929650627df SHA512 5ab52ab70a5288b48ffcee36d153e93bfb72b02296a950c6c86afb303224bd7ec87342cf065fceeda36bf875767618bd5dcf62455368625e14d6e1acebbf1707 WHIRLPOOL 5827abf6aa4659c356ddb9e7ec865ed8c183d337aa4a732be87c5022f1d8a84895f7310d41d06811512a440c0a81908f89a322c5411471906a061785bedeb593
DIST OpenGL-0.6703.tar.gz 671629 SHA256 62f8cdf019fbdb6d095bc5f31382d123bceb9aabbba5788ecf416282de47534c SHA512 f1902bfe8e6e1f2309b878f68e08cf8f53d2f20287f99f8a8773647d737f559fbf17ad68cb52371af09e2ac030685b1625ce4c0033ec7e6fb5f322e5980e6713 WHIRLPOOL 98d6274a8fa975fd2c31858cf06b1bf5605690217218577c531f68c355affd175663ea8bbc00bb5cd7d0a6951dc0a94d1349535590e421431ab89b41d14fe4b9

@ -0,0 +1,36 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/OpenGL/OpenGL-0.670.3.ebuild,v 1.1 2014/04/30 19:35:06 bicatali Exp $
EAPI=5
MODULE_AUTHOR="CHM"
MODULE_VERSION=0.6703
inherit perl-module eutils
DESCRIPTION="Perl interface providing graphics display using OpenGL"
LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND="
media-libs/freeglut:0=
x11-libs/libICE:0=
x11-libs/libXext:0=
x11-libs/libXi:0=
x11-libs/libXmu:0="
DEPEND="${RDEPEND}"
mydoc="Release_Notes"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.66-no-display.patch
}
src_compile() {
sed -i -e 's/PERL_DL_NONLAZY=1//' Makefile || die
perl-module_src_compile
}

@ -0,0 +1,17 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Scalar-Properties/Scalar-Properties-1.100.860-r1.ebuild,v 1.1 2014/05/01 17:46:14 zlogene Exp $
EAPI=5
MODULE_AUTHOR=MARCEL
MODULE_VERSION=1.100860
inherit perl-module
DESCRIPTION="run-time properties on scalar variables"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE=""
SRC_TEST="do"

@ -1 +1,2 @@
DIST Text-Quoted-2.06.tar.gz 21198 SHA256 05384b89e359cd1fc3ac6a632b5b5ddc0662d15627f75138d5910c5edbba7a51 SHA512 bf7d6202561b53dd7a0df871d413b6fd6214111836bf02373990f80db2a6a1ff16b8ccdc777fdc8bd75ca5dcd9699f96acf15d23288e9a146c2c6491e6f93b25 WHIRLPOOL 756c35e8b008ce20f2768f7ae176fa1551d814cd6c189ff527172c4bd8a601058fa6af9f8ce3d4a26163fb41c5da5ea96c6acf85e7c43865b0751dbce7f5a517
DIST Text-Quoted-2.08.tar.gz 25365 SHA256 faf0b6fa314c31b264bc1d8d6523ed32a098040fdc513075ccaecbab0526cfdb SHA512 bbe48bf580e6628008728cbff5d6eba8f47664bde71920ff3cb55e45992cb8500730c5228726451e2bee1b6028fd56401e51e80ea73cd9b1f1386211dfce6fde WHIRLPOOL b9b69dbae0ec0f7f58fd8e447152ed62ff01b30fd059aa5e974b21b506693d1e28932ae7bbd5eead7b795fec0d74892c307f14bd31f6e61b490d1e31b524b758

@ -0,0 +1,20 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Text-Quoted/Text-Quoted-2.80.0.ebuild,v 1.1 2014/05/01 18:12:54 zlogene Exp $
EAPI=5
MODULE_AUTHOR=TSIBLEY
MODULE_VERSION=2.08
inherit perl-module
DESCRIPTION="Extract the structure of a quoted mail message"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
IUSE=""
RDEPEND="dev-perl/text-autoformat"
DEPEND="${RDEPEND}"
SRC_TEST="do"

@ -1,21 +0,0 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-Grove/XML-Grove-0.46_alpha-r1.ebuild,v 1.15 2007/07/10 23:33:28 mr_bones_ Exp $
inherit perl-module
MY_P="${P/_/}"
S=${WORKDIR}/${MY_P}
DESCRIPTION="A Perl module providing a simple API to parsed XML instances"
HOMEPAGE="http://cpan.org/modules/by-module/XML/${MY_P}.readme"
SRC_URI="mirror://cpan/authors/id/K/KM/KMACLEOD/${MY_P}.tar.gz"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="x86 amd64 ppc sparc alpha ia64"
IUSE=""
DEPEND=">=dev-perl/libxml-perl-0.07-r1
dev-lang/perl"
RDEPEND="${DEPEND}"

@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-Grove/XML-Grove-0.46_alpha-r2.ebuild,v 1.1 2013/08/27 11:36:57 idella4 Exp $
# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-Grove/XML-Grove-0.46_alpha-r2.ebuild,v 1.2 2014/04/30 20:06:47 zlogene Exp $
EAPI=5
@ -15,7 +15,7 @@ SRC_URI="mirror://cpan/authors/id/K/KM/KMACLEOD/${MY_P}.tar.gz"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
KEYWORDS="alpha amd64 ia64 ppc sparc x86"
IUSE=""
DEPEND=">=dev-perl/libxml-perl-0.07-r1"

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

Loading…
Cancel
Save