parent
46053e686f
commit
dbcc674d43
@ -0,0 +1,472 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/amanda/amanda-3.3.5.ebuild,v 1.1 2014/06/23 15:49:43 robbat2 Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils perl-module user systemd
|
||||
|
||||
DESCRIPTION="The Advanced Maryland Automatic Network Disk Archiver"
|
||||
HOMEPAGE="http://www.amanda.org/"
|
||||
SRC_URI="mirror://sourceforge/amanda/${P}.tar.gz"
|
||||
LICENSE="HPND BSD BSD-2 GPL-2+ GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
RDEPEND="sys-libs/readline
|
||||
virtual/awk
|
||||
app-arch/tar
|
||||
>=dev-lang/perl-5.6
|
||||
app-arch/dump
|
||||
net-misc/openssh
|
||||
>=dev-libs/glib-2.26.0
|
||||
nls? ( virtual/libintl )
|
||||
s3? ( >=net-misc/curl-7.10.0 )
|
||||
!s3? ( curl? ( >=net-misc/curl-7.10.0 ) )
|
||||
samba? ( net-fs/samba )
|
||||
kerberos? ( app-crypt/mit-krb5 )
|
||||
xfs? ( sys-fs/xfsdump )
|
||||
readline? ( sys-libs/readline )
|
||||
!minimal? (
|
||||
dev-perl/XML-Simple
|
||||
virtual/mailx
|
||||
app-arch/mt-st
|
||||
sys-block/mtx
|
||||
gnuplot? ( sci-visualization/gnuplot )
|
||||
app-crypt/aespipe
|
||||
app-crypt/gnupg
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
>=app-text/docbook-xsl-stylesheets-1.72.0
|
||||
app-text/docbook-xml-dtd
|
||||
dev-libs/libxslt
|
||||
"
|
||||
|
||||
IUSE="curl gnuplot ipv6 kerberos minimal nls readline s3 samba systemd xfs"
|
||||
|
||||
MYFILESDIR="${T}/files"
|
||||
ENVDIR="/etc/env.d"
|
||||
ENVDFILE="97amanda"
|
||||
TMPENVFILE="${T}/${ENVDFILE}"
|
||||
|
||||
# This is a complete list of Amanda settings that the ebuild takes from the
|
||||
# build environment. This allows users to alter the behavior of the package as
|
||||
# upstream intended, but keeping with Gentoo style. We store a copy of them in
|
||||
# /etc/env.d/97amanda during the install, so that they are preserved for future
|
||||
# installed. This variable name must not start with AMANDA_, as we do not want
|
||||
# it captured into the env file.
|
||||
ENV_SETTINGS_AMANDA="
|
||||
AMANDA_GROUP_GID AMANDA_GROUP_NAME
|
||||
AMANDA_USER_NAME AMANDA_USER_UID AMANDA_USER_SH AMANDA_USER_HOMEDIR AMANDA_USER_GROUPS
|
||||
AMANDA_SERVER AMANDA_SERVER_TAPE AMANDA_SERVER_INDEX
|
||||
AMANDA_TAR_LISTDIR AMANDA_TAR
|
||||
AMANDA_PORTS_UDP AMANDA_PORTS_TCP AMANDA_PORTS_BOTH AMANDA_PORTS
|
||||
AMANDA_CONFIG_NAME AMANDA_TMPDIR"
|
||||
|
||||
amanda_variable_setup() {
|
||||
|
||||
# Setting vars
|
||||
local currentamanda
|
||||
|
||||
# Grab the current settings
|
||||
currentamanda="$(set | egrep "^AMANDA_" | grep -v '^AMANDA_ENV_SETTINGS' | xargs)"
|
||||
|
||||
# First we set the defaults
|
||||
[ -z "${AMANDA_GROUP_GID}" ] && AMANDA_GROUP_GID=87
|
||||
[ -z "${AMANDA_GROUP_NAME}" ] && AMANDA_GROUP_NAME=amanda
|
||||
[ -z "${AMANDA_USER_NAME}" ] && AMANDA_USER_NAME=amanda
|
||||
[ -z "${AMANDA_USER_UID}" ] && AMANDA_USER_UID=87
|
||||
[ -z "${AMANDA_USER_SH}" ] && AMANDA_USER_SH=/bin/bash
|
||||
[ -z "${AMANDA_USER_HOMEDIR}" ] && AMANDA_USER_HOMEDIR=/var/spool/amanda
|
||||
[ -z "${AMANDA_USER_GROUPS}" ] && AMANDA_USER_GROUPS="${AMANDA_GROUP_NAME}"
|
||||
|
||||
# This installs Amanda, with the server. However, it could be a client,
|
||||
# just specify an alternate server name in AMANDA_SERVER.
|
||||
[ -z "${AMANDA_SERVER}" ] && AMANDA_SERVER="${HOSTNAME}"
|
||||
[ -z "${AMANDA_SERVER_TAPE}" ] && AMANDA_SERVER_TAPE="${AMANDA_SERVER}"
|
||||
[ -z "${AMANDA_SERVER_INDEX}" ] && AMANDA_SERVER_INDEX="${AMANDA_SERVER}"
|
||||
[ -z "${AMANDA_TAR_LISTDIR}" ] && AMANDA_TAR_LISTDIR=${AMANDA_USER_HOMEDIR}/tar-lists
|
||||
[ -z "${AMANDA_CONFIG_NAME}" ] && AMANDA_CONFIG_NAME=DailySet1
|
||||
[ -z "${AMANDA_TMPDIR}" ] && AMANDA_TMPDIR=/var/tmp/amanda
|
||||
[ -z "${AMANDA_DBGDIR}" ] && AMANDA_DBGDIR="$AMANDA_TMPDIR"
|
||||
# These are left empty by default
|
||||
[ -z "${AMANDA_PORTS_UDP}" ] && AMANDA_PORTS_UDP=
|
||||
[ -z "${AMANDA_PORTS_TCP}" ] && AMANDA_PORTS_TCP=
|
||||
[ -z "${AMANDA_PORTS_BOTH}" ] && AMANDA_PORTS_BOTH=
|
||||
[ -z "${AMANDA_PORTS}" ] && AMANDA_PORTS=
|
||||
|
||||
# What tar to use
|
||||
[ -z "${AMANDA_TAR}" ] && AMANDA_TAR=/bin/tar
|
||||
|
||||
# Now pull in the old stuff
|
||||
if [ -f "${ROOT}${ENVDIR}/${ENVDFILE}" ]; then
|
||||
# We don't just source it as we don't want everything in there.
|
||||
eval $(egrep "^AMANDA_" "${ROOT}${ENVDIR}/${ENVDFILE}" | grep -v '^AMANDA_ENV_SETTINGS')
|
||||
fi
|
||||
|
||||
# Re-apply the new settings if any
|
||||
[ -n "${currentamanda}" ] && eval `echo "${currentamanda}"`
|
||||
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
amanda_variable_setup
|
||||
|
||||
# If USE=minimal, give out a warning, if AMANDA_SERVER is not set to
|
||||
# another host than HOSTNAME.
|
||||
if use minimal && [ "${AMANDA_SERVER}" = "${HOSTNAME}" ] ; then
|
||||
elog "You are installing a client-only version of Amanda."
|
||||
elog "You should set the variable \$AMANDA_SERVER to point at your"
|
||||
elog "Amanda-tape-server, otherwise you will have to specify its name"
|
||||
elog "when using amrecover on the client."
|
||||
elog "For example: Use something like"
|
||||
elog "AMANDA_SERVER=\"myserver\" emerge amanda"
|
||||
elog
|
||||
fi
|
||||
|
||||
enewgroup "${AMANDA_GROUP_NAME}" "${AMANDA_GROUP_GID}"
|
||||
enewuser "${AMANDA_USER_NAME}" "${AMANDA_USER_UID}" "${AMANDA_USER_SH}" "${AMANDA_USER_HOMEDIR}" "${AMANDA_USER_GROUPS}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# we do not want the perl src_unpack
|
||||
default_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
|
||||
# gentoo bug #331111
|
||||
sed -i '/^check-local: check-perl$/d' "${S}"/config/automake/scripts.am
|
||||
sed -i '/^check-local:/s,syntax-check,,g' "${S}"/perl/Makefile.am
|
||||
|
||||
# bug with glibc-2.16.0
|
||||
sed -i -e '/gets is a security/d' "${S}"/gnulib/stdio.in.h
|
||||
|
||||
eautoreconf
|
||||
|
||||
# places for us to work in
|
||||
mkdir -p "${MYFILESDIR}"
|
||||
# Now we store the settings we just created
|
||||
set | egrep "^AMANDA_" | grep -v '^AMANDA_ENV_SETTINGS' > "${TMPENVFILE}"
|
||||
|
||||
# Prepare our custom files
|
||||
einfo "Building custom configuration files"
|
||||
local i # our iterator
|
||||
local sedexpr # var for sed expr
|
||||
sedexpr=''
|
||||
for i in ${ENV_SETTINGS_AMANDA} ; do
|
||||
local val
|
||||
eval "val=\"\${${i}}\""
|
||||
sedexpr="${sedexpr}s|__${i}__|${val}|g;"
|
||||
done
|
||||
|
||||
# now apply the sed expr
|
||||
for i in "${FILESDIR}"/amanda-* ; do
|
||||
sed -re "${sedexpr}" <"${i}" >"${MYFILESDIR}/`basename ${i}`"
|
||||
done
|
||||
|
||||
(
|
||||
cat "${MYFILESDIR}"/amanda-amandahosts-client-2.5.1_p3-r1
|
||||
use minimal || cat "${MYFILESDIR}"/amanda-amandahosts-server-2.5.1_p3-r1
|
||||
) > "${T}"/amandahosts
|
||||
|
||||
if ! use minimal; then
|
||||
sed -i -e 's:^\(my $amandahomedir\)=.*:\1 = $localstatedir;:' \
|
||||
server-src/am{addclient,serverconfig}.pl || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# fix bug #36316
|
||||
addpredict /var/cache/samba/gencache.tdb
|
||||
# fix bug #376169
|
||||
addpredict /run/blkid
|
||||
addpredict /etc/blkid.tab
|
||||
|
||||
[ ! -f "${TMPENVFILE}" ] && die "Variable setting file (${TMPENVFILE}) should exist!"
|
||||
source "${TMPENVFILE}"
|
||||
local myconf
|
||||
|
||||
einfo "Using ${AMANDA_SERVER_TAPE} for tape server."
|
||||
myconf="${myconf} --with-tape-server=${AMANDA_SERVER_TAPE}"
|
||||
einfo "Using ${AMANDA_SERVER_INDEX} for index server."
|
||||
myconf="${myconf} --with-index-server=${AMANDA_SERVER_INDEX}"
|
||||
einfo "Using ${AMANDA_USER_NAME} for amanda user."
|
||||
myconf="${myconf} --with-user=${AMANDA_USER_NAME}"
|
||||
einfo "Using ${AMANDA_GROUP_NAME} for amanda group."
|
||||
myconf="${myconf} --with-group=${AMANDA_GROUP_NAME}"
|
||||
einfo "Using ${AMANDA_TAR} as Tar implementation."
|
||||
myconf="${myconf} --with-gnutar=${AMANDA_TAR}"
|
||||
einfo "Using ${AMANDA_TAR_LISTDIR} as tar listdir."
|
||||
myconf="${myconf} --with-gnutar-listdir=${AMANDA_TAR_LISTDIR}"
|
||||
einfo "Using ${AMANDA_CONFIG_NAME} as default config name."
|
||||
myconf="${myconf} --with-config=${AMANDA_CONFIG_NAME}"
|
||||
einfo "Using ${AMANDA_TMPDIR} as Amanda temporary directory."
|
||||
myconf="${myconf} --with-tmpdir=${AMANDA_TMPDIR}"
|
||||
|
||||
if [ -n "${AMANDA_PORTS_UDP}" ] && [ -n "${AMANDA_PORTS_TCP}" ] && [ -z "${AMANDA_PORTS_BOTH}" ] ; then
|
||||
eerror "If you want _both_ UDP and TCP ports, please use only the"
|
||||
eerror "AMANDA_PORTS environment variable for identical ports, or set"
|
||||
eerror "AMANDA_PORTS_BOTH."
|
||||
die "Bad port setup!"
|
||||
fi
|
||||
if [ -n "${AMANDA_PORTS_UDP}" ]; then
|
||||
einfo "Using UDP ports ${AMANDA_PORTS_UDP/,/-}"
|
||||
myconf="${myconf} --with-udpportrange=${AMANDA_PORTS_UDP}"
|
||||
fi
|
||||
if [ -n "${AMANDA_PORTS_TCP}" ]; then
|
||||
einfo "Using TCP ports ${AMANDA_PORTS_TCP/,/-}"
|
||||
myconf="${myconf} --with-tcpportrange=${AMANDA_PORTS_TCP}"
|
||||
fi
|
||||
if [ -n "${AMANDA_PORTS}" ]; then
|
||||
einfo "Using ports ${AMANDA_PORTS/,/-}"
|
||||
myconf="${myconf} --with-portrange=${AMANDA_PORTS}"
|
||||
fi
|
||||
|
||||
# Extras
|
||||
# Speed option
|
||||
myconf="${myconf} --with-buffered-dump"
|
||||
# "debugging" in the configuration is NOT debug in the conventional sense.
|
||||
# It is actually just useful output in the application, and should remain
|
||||
# enabled. There are some cases of breakage with MTX tape changers as of
|
||||
# 2.5.1p2 that it exposes when turned off as well.
|
||||
myconf="${myconf} --with-debugging"
|
||||
# Where to put our files
|
||||
myconf="${myconf} --localstatedir=${AMANDA_USER_HOMEDIR}"
|
||||
|
||||
# Samba support
|
||||
myconf="${myconf} `use_with samba smbclient /usr/bin/smbclient`"
|
||||
|
||||
# Support for BSD, SSH, BSDUDP, BSDTCP security methods all compiled in by
|
||||
# default
|
||||
myconf="${myconf} --with-bsd-security"
|
||||
myconf="${myconf} --with-ssh-security"
|
||||
myconf="${myconf} --with-bsdudp-security"
|
||||
myconf="${myconf} --with-bsdtcp-security"
|
||||
|
||||
# kerberos-security mechanism version 5
|
||||
myconf="${myconf} `use_with kerberos krb5-security`"
|
||||
|
||||
# Amazon S3 support
|
||||
myconf="${myconf} `use_enable s3 s3-device`"
|
||||
|
||||
# libcurl is required for S3 but otherwise optional
|
||||
if ! use s3; then
|
||||
myconf="${myconf} $(use_with curl libcurl)"
|
||||
fi
|
||||
|
||||
# Client only, as requested in bug #127725
|
||||
if use minimal ; then
|
||||
myconf="${myconf} --without-server"
|
||||
else
|
||||
# amplot
|
||||
myconf="${myconf} $(use_with gnuplot)"
|
||||
fi
|
||||
|
||||
# IPv6 fun.
|
||||
myconf="${myconf} `use_with ipv6`"
|
||||
# This is to prevent the IPv6-is-working test
|
||||
# As the test fails on binpkg build hosts with no IPv6.
|
||||
use ipv6 && export amanda_cv_working_ipv6=yes
|
||||
|
||||
# I18N
|
||||
myconf="${myconf} `use_enable nls`"
|
||||
|
||||
# Bug #296634: Perl location
|
||||
perlinfo
|
||||
myconf="${myconf} --with-amperldir=${VENDOR_LIB}"
|
||||
|
||||
# Bug 296633: --disable-syntax-checks
|
||||
# Some tests are not safe for production systems
|
||||
myconf="${myconf} --disable-syntax-checks"
|
||||
|
||||
# build manpages
|
||||
myconf="${myconf} --enable-manpage-build"
|
||||
|
||||
# bug #483120
|
||||
tc-export AR
|
||||
|
||||
econf \
|
||||
$(use_with readline) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Again, do not want the perl-module src_compile
|
||||
default_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
[ ! -f "${TMPENVFILE}" ] && die "Variable setting file (${TMPENVFILE}) should exist!"
|
||||
source ${TMPENVFILE}
|
||||
|
||||
einfo "Doing stock install"
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
# Build the envdir file
|
||||
# Don't forget this..
|
||||
einfo "Building environment file"
|
||||
(
|
||||
echo "# These settings are what was present in the environment when this"
|
||||
echo "# Amanda was compiled. Changing anything below this comment will"
|
||||
echo "# have no effect on your application, but it merely exists to"
|
||||
echo "# preserve them for your next emerge of Amanda"
|
||||
cat "${TMPENVFILE}" | sed "s,=\$,='',g"
|
||||
) >> "${MYFILESDIR}/${ENVDFILE}"
|
||||
|
||||
# Env.d
|
||||
einfo "Installing environment config file"
|
||||
doenvd "${MYFILESDIR}/${ENVDFILE}"
|
||||
|
||||
# Lock down next section (up until docs).
|
||||
insopts -m0640
|
||||
# Installing Amanda Xinetd Services Definition
|
||||
einfo "Installing xinetd service file"
|
||||
insinto /etc/xinetd.d
|
||||
if use minimal ; then
|
||||
newins "${MYFILESDIR}"/amanda-xinetd-2.6.1_p1-client amanda
|
||||
else
|
||||
newins "${MYFILESDIR}"/amanda-xinetd-2.6.1_p1-server amanda
|
||||
fi
|
||||
|
||||
if ! use minimal; then
|
||||
einfo "Installing Sample Daily Cron Job for Amanda"
|
||||
insinto /etc/cron.daily
|
||||
newins "${MYFILESDIR}/amanda-cron" amanda
|
||||
fi
|
||||
|
||||
einfo "Installing systemd service and socket files for Amanda"
|
||||
systemd_dounit "${FILESDIR}"/amanda.socket || die
|
||||
systemd_newunit "${FILESDIR}"/amanda.service-r1 'amanda@.service' || die
|
||||
|
||||
insinto /etc/amanda
|
||||
einfo "Installing .amandahosts File for ${AMANDA_USER_NAME} user"
|
||||
doins "${T}/amandahosts"
|
||||
fperms 600 /etc/amanda/amandahosts
|
||||
|
||||
dosym /etc/amanda/amandahosts "${AMANDA_USER_HOMEDIR}/.amandahosts"
|
||||
insinto "${AMANDA_USER_HOMEDIR}"
|
||||
einfo "Installing .profile for ${AMANDA_USER_NAME} user"
|
||||
newins "${MYFILESDIR}/amanda-profile" .profile
|
||||
|
||||
insinto /etc/amanda
|
||||
doins "${S}/example/amanda-client.conf"
|
||||
if ! use minimal ; then
|
||||
insinto "/etc/amanda/${AMANDA_CONFIG_NAME}"
|
||||
doins "${S}/example/amanda.conf"
|
||||
doins "${S}/example/disklist"
|
||||
keepdir "${AMANDA_USER_HOMEDIR}/${AMANDA_CONFIG_NAME}/index"
|
||||
fi
|
||||
|
||||
keepdir "${AMANDA_TAR_LISTDIR}"
|
||||
keepdir "${AMANDA_USER_HOMEDIR}/amanda"
|
||||
keepdir "${AMANDA_TMPDIR}/dumps"
|
||||
# Just make sure it exists for XFS to work...
|
||||
use xfs && keepdir /var/xfsdump/inventory
|
||||
|
||||
local i
|
||||
for i in "${AMANDA_USER_HOMEDIR}" "${AMANDA_TAR_LISTDIR}" \
|
||||
"${AMANDA_TMPDIR}" /etc/amanda; do
|
||||
einfo "Securing directory (${i})"
|
||||
fowners -R ${AMANDA_USER_NAME}:${AMANDA_GROUP_NAME} ${i}
|
||||
done
|
||||
# Do NOT use -R
|
||||
fperms 0700 \
|
||||
"${AMANDA_USER_HOMEDIR}" "${AMANDA_TAR_LISTDIR}" \
|
||||
"${AMANDA_TMPDIR}" "${AMANDA_TMPDIR}/dumps" \
|
||||
"${AMANDA_USER_HOMEDIR}/amanda" \
|
||||
/etc/amanda
|
||||
|
||||
if ! use minimal ; then
|
||||
fperms 0700 \
|
||||
"${AMANDA_USER_HOMEDIR}/${AMANDA_CONFIG_NAME}" \
|
||||
/etc/amanda/${AMANDA_CONFIG_NAME}
|
||||
fi
|
||||
|
||||
einfo "Setting setuid permissions"
|
||||
amanda_permissions_fix "${D}"
|
||||
|
||||
# Relax permissions again
|
||||
insopts -m0644
|
||||
|
||||
# docs
|
||||
einfo "Installing documentation"
|
||||
dodoc AUTHORS ChangeLog DEVELOPING NEWS README ReleaseNotes UPGRADING
|
||||
# our inetd sample
|
||||
einfo "Installing standard inetd sample"
|
||||
newdoc "${MYFILESDIR}/amanda-inetd.amanda.sample-2.6.0_p2-r2" amanda-inetd.amanda.sample
|
||||
# Amanda example configs
|
||||
einfo "Installing example configurations"
|
||||
rm "${D}"/usr/share/amanda/{COPYRIGHT,ChangeLog,NEWS,ReleaseNotes}
|
||||
mv "${D}/usr/share/amanda/example" "${D}/usr/share/doc/${PF}/"
|
||||
docinto example1
|
||||
newdoc "${FILESDIR}/example_amanda.conf" amanda.conf
|
||||
newdoc "${FILESDIR}/example_disklist-2.5.1_p3-r1" disklist
|
||||
newdoc "${FILESDIR}/example_global.conf" global.conf
|
||||
|
||||
einfo "Cleaning up dud .la files"
|
||||
perlinfo
|
||||
find "${D}"/"${VENDOR_LIB}" -name '*.la' -print0 |xargs -0 rm -f
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
[ ! -f "${TMPENVFILE}" -a "$MERGE_TYPE" == "binary" ] && \
|
||||
TMPENVFILE="${ROOT}${ENVDIR}/${ENVDFILE}"
|
||||
[ ! -f "${TMPENVFILE}" ] && die "Variable setting file (${TMPENVFILE}) should exist!"
|
||||
source "${TMPENVFILE}"
|
||||
|
||||
# Migration of amandates from /etc to $localstatedir/amanda
|
||||
if [ -f "${ROOT}/etc/amandates" -a \
|
||||
! -f "${ROOT}/${AMANDA_USER_HOMEDIR}/amanda/amandates" ]; then
|
||||
einfo "Migrating amandates from /etc/ to ${AMANDA_USER_HOMEDIR}/amanda"
|
||||
einfo "A backup is also placed at /etc/amandates.orig"
|
||||
cp -dp "${ROOT}/etc/amandates" "${ROOT}/etc/amandates.orig"
|
||||
mkdir -p "${ROOT}/${AMANDA_USER_HOMEDIR}/amanda/"
|
||||
cp -dp "${ROOT}/etc/amandates" "${ROOT}/${AMANDA_USER_HOMEDIR}/amanda/amandates"
|
||||
fi
|
||||
if [ -f "${ROOT}/etc/amandates" ]; then
|
||||
einfo "If you have migrated safely, please delete /etc/amandates"
|
||||
fi
|
||||
|
||||
einfo "Checking setuid permissions"
|
||||
amanda_permissions_fix "${ROOT}"
|
||||
|
||||
elog "You should configure Amanda in /etc/amanda now."
|
||||
elog
|
||||
elog "If you use xinetd, Don't forget to check /etc/xinetd.d/amanda"
|
||||
elog "and restart xinetd afterwards!"
|
||||
elog
|
||||
elog "Otherwise, please look at /usr/share/doc/${PF}/inetd.amanda.sample"
|
||||
elog "as an example of how to configure your inetd."
|
||||
elog
|
||||
elog "NOTICE: If you need raw access to partitions you need to add the"
|
||||
elog "amanda user to the 'disk' group."
|
||||
elog
|
||||
elog "NOTICE: If you have a tape changer, you need to add the amanda user"
|
||||
elog "to the 'tape' group."
|
||||
elog
|
||||
elog "If you use localhost in your disklist your restores may break."
|
||||
elog "You should replace it with the actual hostname!"
|
||||
elog "Please also see the syntax changes to amandahosts."
|
||||
elog
|
||||
elog "Please note that this package no longer explicitly depends on"
|
||||
elog "virtual/inetd, as it supports modes where an inetd is not needed"
|
||||
elog "(see bug #506028 for details)."
|
||||
|
||||
}
|
||||
|
||||
# We have had reports of amanda file permissions getting screwed up.
|
||||
# Losing setuid, becoming too lax etc.
|
||||
# ONLY root and users in the amanda group should be able to run these binaries!
|
||||
amanda_permissions_fix() {
|
||||
local root="$1"
|
||||
[ -z "${root}" ] && die "Failed to pass root argument to amanda_permissions_fix!"
|
||||
local le="/usr/libexec/amanda"
|
||||
for i in /usr/sbin/amcheck "${le}"/calcsize "${le}"/killpgrp \
|
||||
"${le}"/rundump "${le}"/runtar "${le}"/dumper \
|
||||
"${le}"/planner ; do
|
||||
chown root:${AMANDA_GROUP_NAME} "${root}"/${i}
|
||||
chmod u=srwx,g=rx,o= "${root}"/${i}
|
||||
done
|
||||
}
|
@ -0,0 +1,124 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.4.17.ebuild,v 1.1 2014/06/23 17:50:24 alonbl Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs
|
||||
|
||||
ECCVER="0.2.0"
|
||||
ECCVER_GNUPG="1.4.9"
|
||||
ECC_PATCH="${PN}-${ECCVER_GNUPG}-ecc${ECCVER}.diff"
|
||||
MY_P=${P/_/}
|
||||
|
||||
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE="bzip2 curl ldap mta nls readline selinux smartcard static usb zlib linguas_ru"
|
||||
|
||||
COMMON_DEPEND="
|
||||
ldap? ( net-nds/openldap )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
zlib? ( sys-libs/zlib )
|
||||
curl? ( net-misc/curl )
|
||||
mta? ( virtual/mta )
|
||||
readline? ( sys-libs/readline )
|
||||
smartcard? ( =virtual/libusb-0* )
|
||||
usb? ( =virtual/libusb-0* )"
|
||||
|
||||
RDEPEND="!static? ( ${COMMON_DEPEND} )
|
||||
selinux? ( sec-policy/selinux-gpg )
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-lang/perl
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
# Install RU man page in right location
|
||||
sed -e "/^man_MANS =/s/ gpg\.ru\.1//" -i doc/Makefile.in || die "sed doc/Makefile.in failed"
|
||||
|
||||
# bug#469388
|
||||
sed -i -e 's/--batch --dearmor/--homedir . --batch --dearmor/' checks/Makefile.in
|
||||
|
||||
# Fix PIC definitions
|
||||
sed -i -e 's:PIC:__PIC__:' mpi/i386/mpih-{add,sub}1.S intl/relocatable.c \
|
||||
|| die "sed PIC failed"
|
||||
sed -i -e 's:if PIC:ifdef __PIC__:' mpi/sparc32v8/mpih-mul{1,2}.S || \
|
||||
die "sed PIC failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Certain sparc32 machines seem to have trouble building correctly with
|
||||
# -mcpu enabled. While this is not a gnupg problem, it is a temporary
|
||||
# fix until the gcc problem can be tracked down.
|
||||
if [ "${ARCH}" == "sparc" ] && [ "${PROFILE_ARCH}" == "sparc" ]; then
|
||||
filter-flags -mcpu=supersparc -mcpu=v8 -mcpu=v7
|
||||
fi
|
||||
|
||||
# 'USE=static' support was requested in #29299
|
||||
use static && append-ldflags -static
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable ldap) \
|
||||
$(use_enable mta mailto) \
|
||||
--enable-hkp \
|
||||
--enable-finger \
|
||||
$(use_with !zlib included-zlib) \
|
||||
$(use_with curl libcurl /usr) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable smartcard card-support) \
|
||||
$(use_enable selinux selinux-support) \
|
||||
--without-capabilities \
|
||||
$(use_with readline) \
|
||||
$(use_with usb libusb /usr) \
|
||||
--enable-static-rnd=linux \
|
||||
--libexecdir="${EPREFIX}/usr/libexec" \
|
||||
--enable-noexecstack \
|
||||
CC_FOR_BUILD=$(tc-getBUILD_CC) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# keep the documentation in /usr/share/doc/...
|
||||
rm -rf "${ED}usr/share/gnupg/FAQ" "${ED}usr/share/gnupg/faq.html" || die
|
||||
|
||||
dodoc AUTHORS BUGS ChangeLog NEWS PROJECTS README THANKS \
|
||||
TODO VERSION doc/{FAQ,HACKING,DETAILS,OpenPGP}
|
||||
|
||||
exeinto /usr/libexec/gnupg
|
||||
doexe tools/make-dns-cert
|
||||
|
||||
# install RU documentation in right location
|
||||
if use linguas_ru; then
|
||||
cp doc/gpg.ru.1 "${T}/gpg.1" || die
|
||||
doman -i18n=ru "${T}/gpg.1"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "If you are using a non-Linux system, or a kernel older than 2.6.9,"
|
||||
ewarn "you MUST make the gpg binary setuid."
|
||||
echo
|
||||
# if use !bindist && use ecc; then
|
||||
# ewarn
|
||||
# ewarn "The elliptical curves patch is experimental"
|
||||
# ewarn "Further info available at http://alumnes.eps.udl.es/%7Ed4372211/index.en.html"
|
||||
# fi
|
||||
elog
|
||||
elog "See http://www.gentoo.org/doc/en/gnupg-user.xml for documentation on gnupg"
|
||||
elog
|
||||
elog "If you wish to view images emerge:"
|
||||
elog "media-gfx/xloadimage, media-gfx/xli or any other viewer"
|
||||
elog "Remember to use photo-viewer option in configuration file to activate the right viewer"
|
||||
}
|
@ -1,29 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA256
|
||||
|
||||
AUX free42-1.4.75-fix-alsa.patch 13100 SHA256 b7ad77392fcdca38454a5ce78a92dee82ab2a0d4e0c1f0c4d300e973b8f7b297 SHA512 2a3bfdbceaa571880430d8c2682dbda22e9f0fd0acc6bc46cdac985ba0417be149afc8bd5aec0d0cd7d67d8db0e1449ac8429f31ba659f33dff2c6a5b981b5e0 WHIRLPOOL a1e7f12c586b775e9f2de4951b5f36d4cb3a5590bc3b0e5621d0f47940421d256b2f583521c51af29776668b8ba5d6f588fcd19db1d67a5a268b754c5d529fe9
|
||||
AUX free42-1.4.77-fix-alsa.patch 12854 SHA256 d67a3a158db61dac3b6c3d9505f73eee2aeb8ebf8f2b3e7ad11611bf7eb39cd5 SHA512 af56b6bc0609f46814c57bf6e7eece2eca27a553efd30677c4a4220cae5106a535ff3043f6832d141ba4dc7ba26ce3484e169bffba1f9dccce3b148f7cd25857 WHIRLPOOL 0982edfbd52a72b2ab28346e228935567fe17581cace05dec69ec55cfa946e8e3f334488e6f40605d4f066796b28e1d5bdfc5b18e5a36b55ce58fa66e4ad8738
|
||||
AUX free42-1.4.77-fix-makefile.patch 1108 SHA256 3be0e051d28718cf209e7c0eb3660cd62e1817e16c39d27d6ae4e30108fe04ba SHA512 293b236bb8e9325f28564c1b4cd23882ab211c58e88cfc2574d7f9d885033e2acf1e15a7d789434435270fef6826c7f198667ddd3572d2edce81fdcb2f4bdd8a WHIRLPOOL 466d8eafc00622b178cef0f27855b6ecc9e8567becda35997c8b82b48c7777e8ff2378160ea1f4e21e130ca50d17f9d6b71dbe0dd20b971505d2597b36d801ee
|
||||
DIST free42-1.4.75.tgz 6535975 SHA256 a7df69c83ef26bbacdc2c9f912639b9f84f181fea5626a5f12efdefa58185675 SHA512 c075057b6c10b3091845c0448a4ec7fa591b81471b636accad82e662d0706c922496acc54048b781ed748e998c9f1138b614ddef477a78fab778ff01addf89b9 WHIRLPOOL cde04bbbb2ea467a3819729782c5df0580dc48fa7557f2a5f23233df6e38814008f05abef89a3afe336ea60c208de923edaa30bfb41717f213e2eb264464ec2b
|
||||
AUX free42-1.4.77-fix-makefile.patch 1122 SHA256 6af946956c01f659bedfe1cda8d4f39fd920825b058c84d31c34db154a88ad46 SHA512 5de42ca34e255aff7179b34bd545b2bf5d32c9d62489cd652573488897990778a89608a831e994e9a552d14ba2498870331e5e06345ab4c3863de7fd416dba8b WHIRLPOOL c8a142ae068a299c470f7041e501ecae63a520267e4dec68f8a97e1c1e5aeba7c5f2cdcf244e3cde3cd79b93ae09c958bc27e1893281049dc03a48535d64e978
|
||||
AUX free42-1.5.3a-fix-makefile.patch 1045 SHA256 4cf95a73f6dd315912920bcee9c8199428bf45ee6bd352dc6803993e1f30fdfb SHA512 379bff28a6982d7fa2baed339f780b19c12b11b547a3b84b8a9b03c08df1b16061b28b340737f207b628f8b3b071eb2971d5daa2588f581073e081f7fe731382 WHIRLPOOL e14ab479ef46d9fb72d587458a2c9bdd11c03d9aec4a2b875768deae47085e046ed30c3c37bb4353856f0eabf86c1e2c6e7807d8afcc93705865cd446e68b892
|
||||
DIST free42-1.4.77.tgz 1096936 SHA256 b500b90eeee486af297a0b04a4ee611d36a41f99f5a5b71ed2d98ce9831addc5 SHA512 ab2ed1703ce5210c904bd5eda8c416a30588a80b18648fadb16c01ef7c5487a71851cf238e0130402d2536a3068d6ee3eb585e60d99479ca0e1ca5a8ea968651 WHIRLPOOL 2bfd040c82d59a5af0b2391d81756332d9f606d7200239d3d4e06d4e2e8b09b1480b1f76facdafb26056151ac0c654d93068c60071760fc69f72efea03f58659
|
||||
EBUILD free42-1.4.75.ebuild 1250 SHA256 5f1032e47856339309e6e8173567b1c97a6548ccad588d3cd7c19401a5b350fb SHA512 24b1f1cad22d9b7c87313c39ce028f292adfa48a65eeef11cdf5e986cd8825186317e912ffdfe5a0d0c65034fbf9bee4bc32582cc10046af9eb64ea0b80c9c1d WHIRLPOOL af19f9365a6767c0d7dfd610c81e8bb0add1f822e22210ba04190d3f5705ac7342cbb180956a61001fa57b5c81daa10b85455626db8e85a18149db0c874f3509
|
||||
EBUILD free42-1.4.77.ebuild 1078 SHA256 5f156c4856bbffa0fddbb35e74090debb8d25f48887c59861bcf4f7f7bddc2de SHA512 d2c56470f18fa70c7c80453a587a0faf36d215d327f04efeaf06fe02768d90ae317f62f1818393c00b1c8b1a8a10cae096f771891f3ae1a79f7eadb1d5c6587c WHIRLPOOL 4df656205f34a699676c8f32176db5dd5e978195e80ccf04cadd2f96e3149290d8f244e29124b47e8a979c1abc75a34f55aa8127e13692a48b21f81fd73d04bf
|
||||
MISC ChangeLog 2485 SHA256 37ff51c1337d99988bc5d30ee6c61699107faab639e77e19689e10f7be1eb65b SHA512 1ba0c3131863ed9b8f0da5515520f075a3732a6fcfa753eb91140cad578947e2c7f89c1fd9b252d1e5506e1c950b7afd44333c47210b4a8dc229831816f5a239 WHIRLPOOL b64d35551d19ac6fe02147fba715802f6a4e0be7617e86eb9d388d9e5ff0d6028db89f0c46c710d2cec8cf3ada93a7506a427effdbddc05b6e3250412ca57846
|
||||
DIST free42-1.5.3a.tgz 8150063 SHA256 3212a32fc7958ed2d53452adf2301c4747b4774154a4ecaceb478b67d31bfce6 SHA512 61f07f8899aac7619d5d9bbeca224f3e06feb9b548adacebf207e1e1e139fd5b4f30f7c11ca5956bb2f71221ea46c15028d6116d67b9130204288cda603b1c5c WHIRLPOOL 45310aa0b16680f5569fc90b65b21264d7b0e2d8fafab0935fb8e6e2170f4a30080eb9eb6f9561e853dca290a49f8668007d005c5cdafd61d1dc5436506abfab
|
||||
EBUILD free42-1.4.77.ebuild 1081 SHA256 17a03739d1e2f57d840041350bc5855cd3367d81fbcfc9c63e3527537ca901c2 SHA512 db3316cb5914598433ffedcf20ff954a7b0217a30e2636cfc837aa650e7a1201806802b56992a7e5d2bb5f920afa0b6c50d742581eb47aafe900823c91fabc4f WHIRLPOOL a1320c17f230086d0f0a501417a14a351071667401221575c0a941456017869d8675b474ed0a8bfae52a010110972059d53a39294586314478be777ce41c5bbb
|
||||
EBUILD free42-1.5.3a.ebuild 1037 SHA256 2bbf1ec956a8e186dfe7d32603fef879e152e2ce4094f0db3c781d3383c94ba6 SHA512 b812f1f814e7e58f1f07a8b336bdf9af359d8c13c5d2712797b14211d8440e01b06b44bb20d3e9e7756b88bf2db53f9a7e9d07d3eabfb30299d38b54f56043ba WHIRLPOOL 3264f20fcb3adf7f7fd8b2f1e81f3be2bcd1990642c5150c6cf21bc731895b6517a8d144d50de1d137ff1c33bf8f4c690cca886f279add93c6610493f5b17716
|
||||
MISC ChangeLog 2901 SHA256 fd8df7a1d627ad4d865242cd513b195505dd7f04defc1991f4fb482defbf0112 SHA512 df1fcfd1e57981571bf62a023e42aca7cb30db6bd237d51597fbcdf130c3b1d11e1b7ef249f403a41bff62324c421bfeb3826e4231a413cdb5e103ff9ea5baa8 WHIRLPOOL f387ffea840b9be7bd0cf9fdbcb7967174260f21287707733528dc0b59ad9cc946fbc25ab0a8d2e5dd7c18911af663a8255bbdd45ade1332ab70fa50d8ffa975
|
||||
MISC metadata.xml 540 SHA256 1dfb1cbb7947a8e42c92ccfed144fd5bf71d34d31bed4cc7de3b7b940f0b7192 SHA512 e6b1c3521732649216949ee826b69abc66a9b7b87242e4a908211678dd5828e84f92f4a4af2ecbe4b75ecd7e483da18bea484fd555215c8a37c11ef04df8236c WHIRLPOOL f8bd8cc0dbbb19b13e62217c513509771b3245c6b49d592d6cf26da1f25b71cdb62f8a0563c94d365f83aa79c80e1de306b1e18f19c5c603de389a20ffe7a802
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCgAGBQJRK02EAAoJELp701BxlEWfIeMP/2lO3aBNEysF9aBPz4zA/APG
|
||||
O0Hl5Zm75SkNv2m70MmpXmW9tWDb+Ffc84e6KBqJ/7tNBWlf9Ah0gV9doyedK/Mo
|
||||
Bu0Op8MV/9JjjR4o0U5ZbBOghUAvOtZtMG2ivvjSojFxjCpLioWCfRcS8Vw+Izzg
|
||||
dV+j4o+po2amEC9Wcw3vqI50B2XS61zvlChAZLCuMRBmUS650yQxE+zHsUeOU6/4
|
||||
cqiPALBBUhmWx8TVX+fWPBdb+cplLXjLd8XFO7dl9mYM8vzGXa0FyoS9f9Tv7kB+
|
||||
Y2z/A6vTFblo03lYheS1zHiegZXlvgLIs+N61XRWnNO/vn/B/g5ZoD2b5rHSklAo
|
||||
6pefS1//V7QgBGOnMjSoMH5sxOFpnXiSAT1eUS7XMQkApxMAJAz1fqD09uXT0wJg
|
||||
S0Ij7q9GaaNZsxnAGAZYegwlP3S84L9fVNW5H5xVcz/Q2woRuOkdf3n447vFMkL1
|
||||
VALnV1q1MnJiViXB+zRhuFFFaTt0x81aeUT/qko0wKURMc+IN2S+dPoWxZmRe756
|
||||
jKSEQk0MY15ati9p3SHOeGw8UrdsysEYrKuqu1Eog4HgOPq+ou/vbL5Qd/jevvlH
|
||||
rtEF8Dlks8X4UfZfaay4ZGNjmTt4LxH4iVKAWwD3MUj9+CBrUc/HcmqWEU0xewz1
|
||||
5cjmfV0GhnfIf/GXnXyL
|
||||
=5o8I
|
||||
iQEcBAEBCAAGBQJTqTtQAAoJEA2sAkrWKOU2oQoH/3vIA1UbJU/Xl414ksKxMbg9
|
||||
3LTBBoo/BsmkztHBJ1sS2mymPsDbdy+qgjG8yp8inIpn4/lHkg9gDYx+aT40TBHs
|
||||
3cJ9e913EN9JPN9Vg/Kc1Dwfrlne9xm/4je1cgNuPHwD9aQljNCu/EUrB80vF+JF
|
||||
zksp7gFNW1FqAWZD8T3I8KR7GhxeSPjoC0gA2wItG/K7Lmwj0fpK5873M22a1Bll
|
||||
/UqFoWYwKPpXINCu2FJiFuEAIogHbHzvxI7LD3rLMcHdWGn27hQzAv9W2q5BZGB4
|
||||
X8dpmXllGqVM6frnFl5QPeX7eII4LTKOaRKeILwFwMW3MLVr0g7RsN69YjOoZC4=
|
||||
=gD0k
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,187 +0,0 @@
|
||||
diff -Nur a/gtk/audio_alsa.cc b/gtk/audio_alsa.cc
|
||||
--- a/gtk/audio_alsa.cc 2012-10-27 21:14:48.000000000 +0200
|
||||
+++ b/gtk/audio_alsa.cc 2012-11-13 22:11:41.489906248 +0100
|
||||
@@ -23,39 +23,94 @@
|
||||
#include <sys/time.h>
|
||||
#include <pthread.h>
|
||||
#include <dlfcn.h>
|
||||
+#include <math.h>
|
||||
|
||||
// We want to be able to run even if libasound is not present, so we have to
|
||||
// link it manually using dlopen() and dlsym(). These are the functions we are
|
||||
// going to need; the pointer names are the same as the actual function names
|
||||
// in libasound, with _dl_ prefixed.
|
||||
static int libasound_state = 0; // 0=closed, 1=open, 2=missing
|
||||
-static int (*_dl_snd_pcm_close)(snd_pcm_t *pcm);
|
||||
-static int (*_dl_snd_pcm_format_big_endian)(snd_pcm_format_t format);
|
||||
-static int (*_dl_snd_pcm_format_physical_width)(snd_pcm_format_t format);
|
||||
-static int (*_dl_snd_pcm_format_unsigned)(snd_pcm_format_t format);
|
||||
-static int (*_dl_snd_pcm_format_width)(snd_pcm_format_t format);
|
||||
-static int (*_dl_snd_pcm_hw_params)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
|
||||
-static int (*_dl_snd_pcm_hw_params_malloc)(snd_pcm_hw_params_t **ptr);
|
||||
-static void (*_dl_snd_pcm_hw_params_free)(snd_pcm_hw_params_t *obj);
|
||||
-static int (*_dl_snd_pcm_hw_params_any)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
|
||||
-static int (*_dl_snd_pcm_hw_params_get_buffer_size)(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val);
|
||||
-static int (*_dl_snd_pcm_hw_params_set_access)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t _access);
|
||||
-static int (*_dl_snd_pcm_hw_params_set_buffer_size_near)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val);
|
||||
-static int (*_dl_snd_pcm_hw_params_set_channels)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val);
|
||||
-static int (*_dl_snd_pcm_hw_params_set_format)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t val);
|
||||
-static int (*_dl_snd_pcm_hw_params_set_rate_near)(snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir);
|
||||
-static int (*_dl_snd_pcm_open)(snd_pcm_t **pcm, const char *name, snd_pcm_stream_t stream, int mode);
|
||||
-static int (*_dl_snd_pcm_prepare)(snd_pcm_t *pcm);
|
||||
-static int (*_dl_snd_pcm_resume)(snd_pcm_t *pcm);
|
||||
-static int (*_dl_snd_pcm_sw_params)(snd_pcm_t *pcm, snd_pcm_sw_params_t *params);
|
||||
-static int (*_dl_snd_pcm_sw_params_malloc)(snd_pcm_sw_params_t **ptr);
|
||||
-static void (*_dl_snd_pcm_sw_params_free)(snd_pcm_sw_params_t *obj);
|
||||
-static int (*_dl_snd_pcm_sw_params_current)(snd_pcm_t *pcm, snd_pcm_sw_params_t *params);
|
||||
-static int (*_dl_snd_pcm_sw_params_get_boundary)(const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val);
|
||||
-static int (*_dl_snd_pcm_sw_params_set_silence_size)(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val);
|
||||
-static int (*_dl_snd_pcm_sw_params_set_silence_threshold)(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val);
|
||||
-static snd_pcm_sframes_t (*_dl_snd_pcm_writei)(snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size);
|
||||
-static const char *(*_dl_snd_strerror)(int errnum);
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_close) (snd_pcm_t *pcm);
|
||||
+dyn_snd_pcm_close * _dl_snd_pcm_close = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_format_big_endian) (snd_pcm_format_t format);
|
||||
+dyn_snd_pcm_format_big_endian * _dl_snd_pcm_format_big_endian = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_format_physical_width) (snd_pcm_format_t format);
|
||||
+dyn_snd_pcm_format_physical_width * _dl_snd_pcm_format_physical_width = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_format_unsigned) (snd_pcm_format_t format);
|
||||
+dyn_snd_pcm_format_unsigned * _dl_snd_pcm_format_unsigned = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_format_width) (snd_pcm_format_t format);
|
||||
+dyn_snd_pcm_format_width * _dl_snd_pcm_format_width = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_hw_params) (snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
|
||||
+dyn_snd_pcm_hw_params * _dl_snd_pcm_hw_params = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_hw_params_malloc) (snd_pcm_hw_params_t **ptr);
|
||||
+dyn_snd_pcm_hw_params_malloc * _dl_snd_pcm_hw_params_malloc = NULL;
|
||||
+
|
||||
+typedef void (dyn_snd_pcm_hw_params_free) (snd_pcm_hw_params_t *obj);
|
||||
+dyn_snd_pcm_hw_params_free * _dl_snd_pcm_hw_params_free = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_hw_params_any) (snd_pcm_t *pcm, snd_pcm_hw_params_t *params);
|
||||
+dyn_snd_pcm_hw_params_any * _dl_snd_pcm_hw_params_any = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_hw_params_get_buffer_size) (const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val);
|
||||
+dyn_snd_pcm_hw_params_get_buffer_size * _dl_snd_pcm_hw_params_get_buffer_size = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_hw_params_set_access) (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_access_t _access);
|
||||
+dyn_snd_pcm_hw_params_set_access * _dl_snd_pcm_hw_params_set_access = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_hw_params_set_buffer_size_near) (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_uframes_t *val);
|
||||
+dyn_snd_pcm_hw_params_set_buffer_size_near * _dl_snd_pcm_hw_params_set_buffer_size_near = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_hw_params_set_channels) (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int val);
|
||||
+dyn_snd_pcm_hw_params_set_channels * _dl_snd_pcm_hw_params_set_channels = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_hw_params_set_format) (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, snd_pcm_format_t val);
|
||||
+dyn_snd_pcm_hw_params_set_format * _dl_snd_pcm_hw_params_set_format = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_hw_params_set_rate_near) (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir);
|
||||
+dyn_snd_pcm_hw_params_set_rate_near * _dl_snd_pcm_hw_params_set_rate_near = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_open) (snd_pcm_t **pcm, const char *name, snd_pcm_stream_t stream, int mode);
|
||||
+dyn_snd_pcm_open * _dl_snd_pcm_open = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_prepare) (snd_pcm_t *pcm);
|
||||
+dyn_snd_pcm_prepare * _dl_snd_pcm_prepare = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_resume) (snd_pcm_t *pcm);
|
||||
+dyn_snd_pcm_resume * _dl_snd_pcm_resume = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_sw_params) (snd_pcm_t *pcm, snd_pcm_sw_params_t *params);
|
||||
+dyn_snd_pcm_sw_params * _dl_snd_pcm_sw_params = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_sw_params_malloc) (snd_pcm_sw_params_t **ptr);
|
||||
+dyn_snd_pcm_sw_params_malloc * _dl_snd_pcm_sw_params_malloc = NULL;
|
||||
+
|
||||
+typedef void (dyn_snd_pcm_sw_params_free) (snd_pcm_sw_params_t *obj);
|
||||
+dyn_snd_pcm_sw_params_free * _dl_snd_pcm_sw_params_free = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_sw_params_current) (snd_pcm_t *pcm, snd_pcm_sw_params_t *params);
|
||||
+dyn_snd_pcm_sw_params_current * _dl_snd_pcm_sw_params_current = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_sw_params_get_boundary) (const snd_pcm_sw_params_t *params, snd_pcm_uframes_t *val);
|
||||
+dyn_snd_pcm_sw_params_get_boundary * _dl_snd_pcm_sw_params_get_boundary = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_sw_params_set_silence_size) (snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val);
|
||||
+dyn_snd_pcm_sw_params_set_silence_size * _dl_snd_pcm_sw_params_set_silence_size = NULL;
|
||||
+
|
||||
+typedef int (dyn_snd_pcm_sw_params_set_silence_threshold) (snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_uframes_t val);
|
||||
+dyn_snd_pcm_sw_params_set_silence_threshold * _dl_snd_pcm_sw_params_set_silence_threshold = NULL;
|
||||
+
|
||||
+typedef snd_pcm_sframes_t (dyn_snd_pcm_writei) (snd_pcm_t *pcm, const void *buffer, snd_pcm_uframes_t size);
|
||||
+dyn_snd_pcm_writei * _dl_snd_pcm_writei = NULL;
|
||||
+
|
||||
+typedef const char * (dyn_snd_strerror) (int errnum);
|
||||
+dyn_snd_strerror * _dl_snd_strerror = NULL;
|
||||
|
||||
#define TDIFF(begin,end) (((double)(end.tv_sec - begin.tv_sec)*1000.0) + ((end.tv_usec - begin.tv_usec)/1000.0))
|
||||
|
||||
@@ -169,33 +224,34 @@
|
||||
fprintf(stderr, "Could not open " ALSALIB "\nusing gdk_beep() for BEEP and TONE.\n");
|
||||
return false;
|
||||
}
|
||||
- *((void **) &_dl_snd_pcm_close) = dlsym(lib, "snd_pcm_close");
|
||||
- *((void **) &_dl_snd_pcm_format_big_endian) = dlsym(lib, "snd_pcm_format_big_endian");
|
||||
- *((void **) &_dl_snd_pcm_format_physical_width) = dlsym(lib, "snd_pcm_format_physical_width");
|
||||
- *((void **) &_dl_snd_pcm_format_unsigned) = dlsym(lib, "snd_pcm_format_unsigned");
|
||||
- *((void **) &_dl_snd_pcm_format_width) = dlsym(lib, "snd_pcm_format_width");
|
||||
- *((void **) &_dl_snd_pcm_hw_params) = dlsym(lib, "snd_pcm_hw_params");
|
||||
- *((void **) &_dl_snd_pcm_hw_params_malloc) = dlsym(lib, "snd_pcm_hw_params_malloc");
|
||||
- *((void **) &_dl_snd_pcm_hw_params_free) = dlsym(lib, "snd_pcm_hw_params_free");
|
||||
- *((void **) &_dl_snd_pcm_hw_params_any) = dlsym(lib, "snd_pcm_hw_params_any");
|
||||
- *((void **) &_dl_snd_pcm_hw_params_get_buffer_size) = dlsym(lib, "snd_pcm_hw_params_get_buffer_size");
|
||||
- *((void **) &_dl_snd_pcm_hw_params_set_access) = dlsym(lib, "snd_pcm_hw_params_set_access");
|
||||
- *((void **) &_dl_snd_pcm_hw_params_set_buffer_size_near) = dlsym(lib, "snd_pcm_hw_params_set_buffer_size_near");
|
||||
- *((void **) &_dl_snd_pcm_hw_params_set_channels) = dlsym(lib, "snd_pcm_hw_params_set_channels");
|
||||
- *((void **) &_dl_snd_pcm_hw_params_set_format) = dlsym(lib, "snd_pcm_hw_params_set_format");
|
||||
- *((void **) &_dl_snd_pcm_hw_params_set_rate_near) = dlsym(lib, "snd_pcm_hw_params_set_rate_near");
|
||||
- *((void **) &_dl_snd_pcm_open) = dlsym(lib, "snd_pcm_open");
|
||||
- *((void **) &_dl_snd_pcm_prepare) = dlsym(lib, "snd_pcm_prepare");
|
||||
- *((void **) &_dl_snd_pcm_resume) = dlsym(lib, "snd_pcm_resume");
|
||||
- *((void **) &_dl_snd_pcm_sw_params) = dlsym(lib, "snd_pcm_sw_params");
|
||||
- *((void **) &_dl_snd_pcm_sw_params_malloc) = dlsym(lib, "snd_pcm_sw_params_malloc");
|
||||
- *((void **) &_dl_snd_pcm_sw_params_free) = dlsym(lib, "snd_pcm_sw_params_free");
|
||||
- *((void **) &_dl_snd_pcm_sw_params_current) = dlsym(lib, "snd_pcm_sw_params_current");
|
||||
- *((void **) &_dl_snd_pcm_sw_params_get_boundary) = dlsym(lib, "snd_pcm_sw_params_get_boundary");
|
||||
- *((void **) &_dl_snd_pcm_sw_params_set_silence_size) = dlsym(lib, "snd_pcm_sw_params_set_silence_size");
|
||||
- *((void **) &_dl_snd_pcm_sw_params_set_silence_threshold) = dlsym(lib, "snd_pcm_sw_params_set_silence_threshold");
|
||||
- *((void **) &_dl_snd_pcm_writei) = dlsym(lib, "snd_pcm_writei");
|
||||
- *((void **) &_dl_snd_strerror) = dlsym(lib, "snd_strerror");
|
||||
+ _dl_snd_pcm_close = (dyn_snd_pcm_close *) dlsym(lib, "snd_pcm_close");
|
||||
+ _dl_snd_pcm_format_big_endian = (dyn_snd_pcm_format_big_endian *) dlsym(lib, "snd_pcm_format_big_endian");
|
||||
+ _dl_snd_pcm_format_physical_width = (dyn_snd_pcm_format_physical_width *) dlsym(lib, "snd_pcm_format_physical_width");
|
||||
+ _dl_snd_pcm_format_unsigned = (dyn_snd_pcm_format_unsigned *) dlsym(lib, "snd_pcm_format_unsigned");
|
||||
+ _dl_snd_pcm_format_width = (dyn_snd_pcm_format_width *) dlsym(lib, "snd_pcm_format_width");
|
||||
+ _dl_snd_pcm_hw_params = (dyn_snd_pcm_hw_params *) dlsym(lib, "snd_pcm_hw_params");
|
||||
+ _dl_snd_pcm_hw_params_malloc = (dyn_snd_pcm_hw_params_malloc *) dlsym(lib, "snd_pcm_hw_params_malloc");
|
||||
+ _dl_snd_pcm_hw_params_free = (dyn_snd_pcm_hw_params_free *) dlsym(lib, "snd_pcm_hw_params_free");
|
||||
+ _dl_snd_pcm_hw_params_any = (dyn_snd_pcm_hw_params_any *) dlsym(lib, "snd_pcm_hw_params_any");
|
||||
+ _dl_snd_pcm_hw_params_get_buffer_size = (dyn_snd_pcm_hw_params_get_buffer_size *) dlsym(lib, "snd_pcm_hw_params_get_buffer_size");
|
||||
+ _dl_snd_pcm_hw_params_set_access = (dyn_snd_pcm_hw_params_set_access *) dlsym(lib, "snd_pcm_hw_params_set_access");
|
||||
+ _dl_snd_pcm_hw_params_set_buffer_size_near = (dyn_snd_pcm_hw_params_set_buffer_size_near *) dlsym(lib, "snd_pcm_hw_params_set_buffer_size_near");
|
||||
+ _dl_snd_pcm_hw_params_set_channels = (dyn_snd_pcm_hw_params_set_channels *) dlsym(lib, "snd_pcm_hw_params_set_channels");
|
||||
+ _dl_snd_pcm_hw_params_set_format = (dyn_snd_pcm_hw_params_set_format *) dlsym(lib, "snd_pcm_hw_params_set_format");
|
||||
+ _dl_snd_pcm_hw_params_set_rate_near = (dyn_snd_pcm_hw_params_set_rate_near *) dlsym(lib, "snd_pcm_hw_params_set_rate_near");
|
||||
+ _dl_snd_pcm_open = (dyn_snd_pcm_open *) dlsym(lib, "snd_pcm_open");
|
||||
+ _dl_snd_pcm_prepare = (dyn_snd_pcm_prepare *) dlsym(lib, "snd_pcm_prepare");
|
||||
+ _dl_snd_pcm_resume = (dyn_snd_pcm_resume *) dlsym(lib, "snd_pcm_resume");
|
||||
+ _dl_snd_pcm_sw_params = (dyn_snd_pcm_sw_params *) dlsym(lib, "snd_pcm_sw_params");
|
||||
+ _dl_snd_pcm_sw_params_malloc = (dyn_snd_pcm_sw_params_malloc *) dlsym(lib, "snd_pcm_sw_params_malloc");
|
||||
+ _dl_snd_pcm_sw_params_free = (dyn_snd_pcm_sw_params_free *) dlsym(lib, "snd_pcm_sw_params_free");
|
||||
+ _dl_snd_pcm_sw_params_current = (dyn_snd_pcm_sw_params_current *) dlsym(lib, "snd_pcm_sw_params_current");
|
||||
+ _dl_snd_pcm_sw_params_get_boundary = (dyn_snd_pcm_sw_params_get_boundary *) dlsym(lib, "snd_pcm_sw_params_get_boundary");
|
||||
+ _dl_snd_pcm_sw_params_set_silence_size = (dyn_snd_pcm_sw_params_set_silence_size *) dlsym(lib, "snd_pcm_sw_params_set_silence_size");
|
||||
+ _dl_snd_pcm_sw_params_set_silence_threshold = (dyn_snd_pcm_sw_params_set_silence_threshold *) dlsym(lib, "snd_pcm_sw_params_set_silence_threshold");
|
||||
+ _dl_snd_pcm_writei = (dyn_snd_pcm_writei *) dlsym(lib, "snd_pcm_writei");
|
||||
+ _dl_snd_strerror = (dyn_snd_strerror *) dlsym(lib, "snd_strerror");
|
||||
+
|
||||
if (dlerror() == NULL)
|
||||
return true;
|
||||
fprintf(stderr, "Could not load all required symbols from " ALSALIB "\nusing gdk_beep() for BEEP and TONE.\n");
|
@ -0,0 +1,30 @@
|
||||
diff -Nuar a/gtk/Makefile b/gtk/Makefile
|
||||
--- a/gtk/Makefile 2014-06-21 19:46:55.000000000 +0200
|
||||
+++ b/gtk/Makefile 2014-06-24 00:03:38.719906032 +0200
|
||||
@@ -19,7 +19,6 @@
|
||||
-Wall \
|
||||
-Wno-parentheses \
|
||||
-Wno-write-strings \
|
||||
- -g \
|
||||
-I/usr/X11R6/include \
|
||||
-fno-exceptions \
|
||||
-fno-rtti \
|
||||
@@ -30,14 +29,11 @@
|
||||
-DDECIMAL_GLOBAL_ROUNDING_ACCESS_FUNCTIONS=1 \
|
||||
-DDECIMAL_GLOBAL_EXCEPTION_FLAGS=1 \
|
||||
-DDECIMAL_GLOBAL_EXCEPTION_FLAGS_ACCESS_FUNCTIONS=1 \
|
||||
- -D_WCHAR_T_DEFINED
|
||||
+ -D_WCHAR_T_DEFINED \
|
||||
+ ${CXXFLAGS}
|
||||
|
||||
-LDFLAGS = -L/usr/X11R6/lib
|
||||
-LIBS := gcc111libbid-$(shell uname -m).a -lXmu $(shell pkg-config --libs gtk+-2.0)
|
||||
-
|
||||
-ifeq "$(shell uname -s)" "Linux"
|
||||
-LDFLAGS += -Wl,--hash-style=both
|
||||
-endif
|
||||
+LDFLAGS := -L/usr/X11R6/lib ${LDFLAGS}
|
||||
+LIBS := gcc111libbid-$(shell uname -m).a -lXmu -lX11 -ldl -lpthread $(shell pkg-config --libs gtk+-2.0)
|
||||
|
||||
SRCS = shell_main.cc shell_skin.cc skins.cc keymap.cc shell_loadimage.cc \
|
||||
shell_spool.cc core_main.cc core_commands1.cc core_commands2.cc \
|
@ -1,102 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/pommed-1.21-r1.ebuild,v 1.7 2012/09/05 07:13:42 jlec Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Manage special features such as screen and keyboard backlight on Apple MacBook Pro/PowerBook"
|
||||
HOMEPAGE="http://technologeek.org/projects/pommed/index.html"
|
||||
ALIOTH_NUMBER="2499"
|
||||
SRC_URI="http://alioth.debian.org/frs/download.php/${ALIOTH_NUMBER}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="gtk X"
|
||||
|
||||
COMMON_DEPEND="media-libs/alsa-lib
|
||||
x86? ( sys-apps/pciutils )
|
||||
amd64? ( sys-apps/pciutils )
|
||||
dev-libs/confuse
|
||||
>=sys-apps/dbus-1.1
|
||||
dev-libs/dbus-glib
|
||||
sys-libs/zlib
|
||||
media-libs/audiofile
|
||||
gtk? ( x11-libs/gtk+:2
|
||||
gnome-base/libglade:2.0 )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXpm )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
media-sound/alsa-utils
|
||||
virtual/eject"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${P}-r1.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/pommed
|
||||
emake CC="$(tc-getCC)" OFLIB=1 || die "emake pommed failed"
|
||||
|
||||
if use gtk; then
|
||||
cd "${S}"/gpomme
|
||||
local POFILES=""
|
||||
for LANG in ${LINGUAS}; do
|
||||
if [ -f po/${LANG}.po ]; then
|
||||
POFILES="${POFILES} po/${LANG}.po"
|
||||
fi
|
||||
done
|
||||
emake CC="$(tc-getCC)" POFILES="${POFILES}" || die "emake gpomme failed"
|
||||
fi
|
||||
if use X; then
|
||||
cd "${S}"/wmpomme
|
||||
emake CC="$(tc-getCC)" || die "emake wmpomme failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc
|
||||
if use x86 || use amd64; then
|
||||
newins pommed.conf.mactel pommed.conf
|
||||
elif use ppc; then
|
||||
newins pommed.conf.pmac pommed.conf
|
||||
fi
|
||||
|
||||
insinto /etc/dbus-1/system.d
|
||||
newins dbus-policy.conf pommed.conf
|
||||
|
||||
insinto /usr/share/pommed
|
||||
doins pommed/data/*.wav
|
||||
|
||||
dobin pommed/pommed
|
||||
|
||||
newinitd "${FILESDIR}"/pommed.rc pommed
|
||||
|
||||
dodoc AUTHORS ChangeLog README TODO
|
||||
|
||||
if use gtk ; then
|
||||
dobin gpomme/gpomme
|
||||
for LANG in ${LINGUAS}; do
|
||||
if [ -f gpomme/po/${LANG}.mo ]; then
|
||||
einfo "Installing lang ${LANG}"
|
||||
insinto /usr/share/locale/${LANG}/LC_MESSAGES/
|
||||
doins gpomme/po/${LANG}.mo
|
||||
fi
|
||||
done
|
||||
|
||||
domenu gpomme/gpomme.desktop gpomme/gpomme-c.desktop
|
||||
insinto /usr/share/gpomme/
|
||||
doins -r gpomme/themes
|
||||
doins gpomme/gpomme.glade
|
||||
fi
|
||||
|
||||
if use X ; then
|
||||
dobin wmpomme/wmpomme
|
||||
fi
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/pommed-1.30.ebuild,v 1.8 2012/09/05 07:13:42 jlec Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils toolchain-funcs linux-info
|
||||
|
||||
DESCRIPTION="Manage special features such as screen and keyboard backlight on Apple MacBook Pro/PowerBook"
|
||||
HOMEPAGE="http://technologeek.org/projects/pommed/index.html"
|
||||
ALIOTH_NUMBER="3159"
|
||||
SRC_URI="http://alioth.debian.org/frs/download.php/${ALIOTH_NUMBER}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="gtk X"
|
||||
|
||||
COMMON_DEPEND="media-libs/alsa-lib
|
||||
x86? ( sys-apps/pciutils )
|
||||
amd64? ( sys-apps/pciutils )
|
||||
dev-libs/confuse
|
||||
>=sys-apps/dbus-1.1
|
||||
dev-libs/dbus-glib
|
||||
sys-libs/zlib
|
||||
media-libs/audiofile
|
||||
gtk? ( x11-libs/gtk+:2
|
||||
gnome-base/libglade:2.0 )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXpm )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
media-sound/alsa-utils
|
||||
virtual/eject"
|
||||
|
||||
pkg_setup() {
|
||||
if ! use ppc; then
|
||||
linux-info_pkg_setup
|
||||
|
||||
CONFIG_CHECK="~DMIID"
|
||||
check_extra_config
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${P}.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/pommed
|
||||
emake CC="$(tc-getCC)" OFLIB=1 || die "emake pommed failed"
|
||||
|
||||
if use gtk; then
|
||||
cd "${S}"/gpomme
|
||||
local POFILES=""
|
||||
for LANG in ${LINGUAS}; do
|
||||
if [ -f po/${LANG}.po ]; then
|
||||
POFILES="${POFILES} po/${LANG}.po"
|
||||
fi
|
||||
done
|
||||
emake CC="$(tc-getCC)" POFILES="${POFILES}" || die "emake gpomme failed"
|
||||
fi
|
||||
if use X; then
|
||||
cd "${S}"/wmpomme
|
||||
emake CC="$(tc-getCC)" || die "emake wmpomme failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc
|
||||
if use x86 || use amd64; then
|
||||
newins pommed.conf.mactel pommed.conf
|
||||
elif use ppc; then
|
||||
newins pommed.conf.pmac pommed.conf
|
||||
fi
|
||||
|
||||
insinto /etc/dbus-1/system.d
|
||||
newins dbus-policy.conf pommed.conf
|
||||
|
||||
insinto /usr/share/pommed
|
||||
doins pommed/data/*.wav
|
||||
|
||||
dobin pommed/pommed
|
||||
|
||||
newinitd "${FILESDIR}"/pommed.rc pommed
|
||||
|
||||
dodoc AUTHORS ChangeLog README TODO
|
||||
|
||||
if use gtk ; then
|
||||
dobin gpomme/gpomme
|
||||
for LANG in ${LINGUAS}; do
|
||||
if [ -f gpomme/po/${LANG}.mo ]; then
|
||||
einfo "Installing lang ${LANG}"
|
||||
insinto /usr/share/locale/${LANG}/LC_MESSAGES/
|
||||
doins gpomme/po/${LANG}.mo
|
||||
fi
|
||||
done
|
||||
|
||||
domenu gpomme/gpomme.desktop gpomme/gpomme-c.desktop
|
||||
insinto /usr/share/gpomme/
|
||||
doins -r gpomme/themes
|
||||
doins gpomme/gpomme.glade
|
||||
fi
|
||||
|
||||
if use X ; then
|
||||
dobin wmpomme/wmpomme
|
||||
fi
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/pommed-1.31.ebuild,v 1.8 2012/09/05 07:13:42 jlec Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils toolchain-funcs linux-info
|
||||
|
||||
DESCRIPTION="Manage special features such as screen and keyboard backlight on Apple MacBook Pro/PowerBook"
|
||||
HOMEPAGE="http://technologeek.org/projects/pommed/index.html"
|
||||
ALIOTH_NUMBER="3202"
|
||||
SRC_URI="http://alioth.debian.org/frs/download.php/${ALIOTH_NUMBER}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="gtk X"
|
||||
|
||||
COMMON_DEPEND="media-libs/alsa-lib
|
||||
x86? ( sys-apps/pciutils )
|
||||
amd64? ( sys-apps/pciutils )
|
||||
dev-libs/confuse
|
||||
>=sys-apps/dbus-1.1
|
||||
dev-libs/dbus-glib
|
||||
sys-libs/zlib
|
||||
media-libs/audiofile
|
||||
gtk? ( x11-libs/gtk+:2
|
||||
gnome-base/libglade:2.0 )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXpm )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
media-sound/alsa-utils
|
||||
virtual/eject"
|
||||
|
||||
pkg_setup() {
|
||||
if ! use ppc; then
|
||||
linux-info_pkg_setup
|
||||
|
||||
CONFIG_CHECK="~DMIID"
|
||||
check_extra_config
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${P}.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/pommed
|
||||
emake CC="$(tc-getCC)" OFLIB=1 || die "emake pommed failed"
|
||||
|
||||
if use gtk; then
|
||||
cd "${S}"/gpomme
|
||||
local POFILES=""
|
||||
for LANG in ${LINGUAS}; do
|
||||
if [ -f po/${LANG}.po ]; then
|
||||
POFILES="${POFILES} po/${LANG}.po"
|
||||
fi
|
||||
done
|
||||
emake CC="$(tc-getCC)" POFILES="${POFILES}" || die "emake gpomme failed"
|
||||
fi
|
||||
if use X; then
|
||||
cd "${S}"/wmpomme
|
||||
emake CC="$(tc-getCC)" || die "emake wmpomme failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc
|
||||
if use x86 || use amd64; then
|
||||
newins pommed.conf.mactel pommed.conf
|
||||
elif use ppc; then
|
||||
newins pommed.conf.pmac pommed.conf
|
||||
fi
|
||||
|
||||
insinto /etc/dbus-1/system.d
|
||||
newins dbus-policy.conf pommed.conf
|
||||
|
||||
insinto /usr/share/pommed
|
||||
doins pommed/data/*.wav
|
||||
|
||||
dobin pommed/pommed
|
||||
|
||||
newinitd "${FILESDIR}"/pommed.rc pommed
|
||||
|
||||
dodoc AUTHORS ChangeLog README TODO
|
||||
|
||||
if use gtk ; then
|
||||
dobin gpomme/gpomme
|
||||
for LANG in ${LINGUAS}; do
|
||||
if [ -f gpomme/po/${LANG}.mo ]; then
|
||||
einfo "Installing lang ${LANG}"
|
||||
insinto /usr/share/locale/${LANG}/LC_MESSAGES/
|
||||
doins gpomme/po/${LANG}.mo
|
||||
fi
|
||||
done
|
||||
|
||||
domenu gpomme/gpomme.desktop gpomme/gpomme-c.desktop
|
||||
insinto /usr/share/gpomme/
|
||||
doins -r gpomme/themes
|
||||
doins gpomme/gpomme.glade
|
||||
fi
|
||||
|
||||
if use X ; then
|
||||
dobin wmpomme/wmpomme
|
||||
fi
|
||||
}
|
@ -1,110 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/pommed/pommed-1.39.ebuild,v 1.7 2012/09/09 16:23:29 josejx Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils toolchain-funcs linux-info
|
||||
|
||||
DESCRIPTION="Manage special features such as screen and keyboard backlight on Apple MacBook Pro/PowerBook"
|
||||
HOMEPAGE="http://technologeek.org/projects/pommed/index.html"
|
||||
ALIOTH_NUMBER="3583"
|
||||
SRC_URI="http://alioth.debian.org/frs/download.php/${ALIOTH_NUMBER}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="gtk X"
|
||||
|
||||
COMMON_DEPEND="media-libs/alsa-lib
|
||||
x86? ( sys-apps/pciutils )
|
||||
amd64? ( sys-apps/pciutils )
|
||||
dev-libs/confuse
|
||||
>=sys-apps/dbus-1.1
|
||||
dev-libs/dbus-glib
|
||||
sys-libs/zlib
|
||||
media-libs/audiofile
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
X? ( x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXpm )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
media-sound/alsa-utils
|
||||
virtual/eject"
|
||||
|
||||
pkg_setup() {
|
||||
if ! use ppc; then
|
||||
linux-info_pkg_setup
|
||||
|
||||
CONFIG_CHECK="~DMIID"
|
||||
check_extra_config
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${P}.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/pommed
|
||||
emake CC="$(tc-getCC)" OFLIB=1 || die "emake pommed failed"
|
||||
|
||||
if use gtk; then
|
||||
cd "${S}"/gpomme
|
||||
local POFILES=""
|
||||
for LANG in ${LINGUAS}; do
|
||||
if [ -f po/${LANG}.po ]; then
|
||||
POFILES="${POFILES} po/${LANG}.po"
|
||||
fi
|
||||
done
|
||||
emake CC="$(tc-getCC)" POFILES="${POFILES}" || die "emake gpomme failed"
|
||||
fi
|
||||
if use X; then
|
||||
cd "${S}"/wmpomme
|
||||
emake CC="$(tc-getCC)" || die "emake wmpomme failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc
|
||||
if use x86 || use amd64; then
|
||||
newins pommed.conf.mactel pommed.conf
|
||||
elif use ppc; then
|
||||
newins pommed.conf.pmac pommed.conf
|
||||
fi
|
||||
|
||||
insinto /etc/dbus-1/system.d
|
||||
newins dbus-policy.conf pommed.conf
|
||||
|
||||
insinto /usr/share/pommed
|
||||
doins pommed/data/*.wav
|
||||
|
||||
dobin pommed/pommed
|
||||
|
||||
newinitd "${FILESDIR}"/pommed.rc pommed
|
||||
|
||||
dodoc AUTHORS ChangeLog README TODO
|
||||
|
||||
if use gtk ; then
|
||||
dobin gpomme/gpomme
|
||||
for LANG in ${LINGUAS}; do
|
||||
if [ -f gpomme/po/${LANG}.mo ]; then
|
||||
einfo "Installing lang ${LANG}"
|
||||
insinto /usr/share/locale/${LANG}/LC_MESSAGES/
|
||||
doins gpomme/po/${LANG}.mo
|
||||
fi
|
||||
done
|
||||
|
||||
domenu gpomme/gpomme.desktop gpomme/gpomme-c.desktop
|
||||
insinto /usr/share/gpomme/
|
||||
doins -r gpomme/themes
|
||||
fi
|
||||
|
||||
if use X ; then
|
||||
dobin wmpomme/wmpomme
|
||||
fi
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/evemu/evemu-1.2.0.ebuild,v 1.1 2013/12/22 11:10:12 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||
|
||||
inherit autotools-utils python-single-r1
|
||||
|
||||
DESCRIPTION="Tools and bindings for kernel input event device emulation, data capture, and replay"
|
||||
HOMEPAGE="http://www.freedesktop.org/wiki/Evemu/"
|
||||
SRC_URI="http://www.freedesktop.org/software/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-3 GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="python static-libs"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="python? ( ${PYTHON_DEPS} )"
|
||||
DEPEND="app-arch/xz-utils
|
||||
${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
if ! use python ; then
|
||||
sed '/SUBDIRS/s/python//' -i Makefile.am || die
|
||||
autotools-utils_src_prepare
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use python ; then
|
||||
if [[ ! ${EUID} -eq 0 ]] || has sandbox $FEATURES || has usersandbox $FEATURES ; then
|
||||
ewarn "Tests require userpriv, sandbox, and usersandbox to be disabled in FEATURES."
|
||||
else
|
||||
emake check
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,6 +1,20 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST libgit2-glib-0.0.12.tar.xz 396768 SHA256 193125b314f588894b769058be28101fb0b2bec345520ca6398ee4e8b7319762 SHA512 b3299a20a1a24243604f33dff1e9df0ac0c244049d99e6ec29e9ae405e4370ff229b4b8186593347515930fd483a2b78dcb041d33749076f9dc9778d3674da06 WHIRLPOOL 41adce53f6b08172bcb9940f21141665fbcde04962ede9f68f1797cceeca8c68f156c5668d5a84f392a92ef57f2bc45a9e8b706cd2df98ec0e352ec66463b9cd
|
||||
DIST libgit2-glib-0.0.14.tar.xz 396284 SHA256 474d0327d6052662a364b3c0c2068bdab2168c58d00757aed3f9f87ffd580afc SHA512 7d651f048db2741c7d6899946c7346ee42bd1c639fedc979c27afec0bcc9804636a7e7fa9b9f42e32455ecef2840314eaf339ed7d874f062c4483e9e8397d12c WHIRLPOOL b139b08b4d2c862fe83a5fcdee6fa9fd14628ee2b972dee10bd80981a1645e044bf749c817956bdfa2627508321f7d9c70a1d5356390679a3048ad8a2e46aaec
|
||||
EBUILD libgit2-glib-0.0.12.ebuild 833 SHA256 517362eb2f8df0d23ee1bbaf14c766338dbbedfced55bf27d55fce28367112bb SHA512 a765ef7b142c09e01ecc371cdc367866acfdbe39949261e9ccc7a7c1d1f2e43e5ae9583177dcdfe8be1eb3133c72fa7df2e298dc5a5ed536d62c12917d144298 WHIRLPOOL 4bd685010c76059f3339b31081ebdf82ad00b457d877f9f75c7e577d3961def2702994ba086b6026ef7ce5e1faf967a15fe6ccd139831b6619996fa36922efff
|
||||
EBUILD libgit2-glib-0.0.14.ebuild 838 SHA256 17e0007aa7727664679ee5bfd406912952ca23f11406a2de2ad2078b22233392 SHA512 3195c80dfab16e8a89f9121af1c43370681a2ef31a83c7b685765ec82926cb1a4026bab2f4dd0f242fb8ef3a4d7adc6c9ee0656dae0c10b03f4d651ffeb94b05 WHIRLPOOL b3a219da891091dc68f5336be969ed2ce2449f44e89f104854a448a63943846b0fd2bc944e6b800cefb712d850350152d7425e6736b3612f61bb2e7ee8f044af
|
||||
MISC ChangeLog 2357 SHA256 74627d29b50ee5364720a6e6a0c82ec56d851dd5acdd800824d27e5d0cf9502c SHA512 fa41708bde1c83dc325c0640cc0fb6533739154708c5ac06b10afda3e314fe27a516fb6dd393d6e151430affec4f7cc5899fddab8751bfa7fb03554aabb062f1 WHIRLPOOL 97eb09e1fbdf9cce6cb2a2328f005e033c8cde1a0753623112ab2d18d2294ae264a83080ea0cf6c20c74f4864715d6ddd0b385f5c5fc281ff795e37cc3470899
|
||||
DIST libgit2-glib-0.0.16.tar.xz 396212 SHA256 36fa374e2c01b42aab885c91f9a0da184a21fa06c9e3a273a3d4f593c083627e SHA512 1fcdec0dea0a5ba580e49ebc9805765adbeb827292f9a2686f8289dc98604a332bb4e553f4c74927020352f15eb3e0589c211c4b96d524167dc447268a382194 WHIRLPOOL 236286633c9aec5bcaeaa762e07ea4615081fb610dcf712bea48943aa34cd17ba371c5ec77cf3906ca16c83efe1d710feec486c7fc7c4743a82d1128fd21437e
|
||||
EBUILD libgit2-glib-0.0.12.ebuild 863 SHA256 35143d3e6719eed86636684716f70007d27a4eaf2797ad74da79423a09036394 SHA512 5c2be2b60e88faf91511b0d2933a237a04eb09654e0885fb6e538ed58edf217ce62e696524a3ac0eaeb574e4e39906a7e576b1eb6fa7cfe84729567690810bf5 WHIRLPOOL 4887eb0dc7a45cb90548a55bc1e4c02569046577ca35667fcea3f67b1ed11974f1f365b4ea565f2d40c5dcf979aa07b7c788768c6144e19495d293d7f3fde8ba
|
||||
EBUILD libgit2-glib-0.0.16.ebuild 845 SHA256 e673c1e2d9013430235942d416a1a298dd2d047f5f6c964597a1ee4bcd44805a SHA512 72f87baa163a8bac7c14d2bb90ce99b287ee639d4ba89af1b8dcd8683b9186999fef644350ac6f7c43d411d1a67aefabbd5e3c295073215917015f05105734ac WHIRLPOOL aa19c863f873919d0a0d2f1cfa5d34ac5b538259458f3dd14406a5918d27825d091c0a40b6176bbdcda9295c14844bbbd5c5c36ba48f8c3e8ac0ede9865a7571
|
||||
MISC ChangeLog 2636 SHA256 df585f3445e5fcdb2427b9f6d0fb22b72fbb92bc0048cdbe6e66d80cc1c94e82 SHA512 21ad7897914d48bb8790dc8d02de1a3171eaf07164d525ec4398595e1f842aa27fcbeea87ec90df274fd3863ff6419497c49888321d061d080aa049cd6a040a7 WHIRLPOOL d8ba1f159d673c262b6b22debf4fb3dd5ba6ba68918ea930fa38177e2323b6203ec77d4ae2e4852486f3ef9582abea5d8164b8cd5df1a407fab44e18fe099d2d
|
||||
MISC metadata.xml 160 SHA256 4d793ecb79b17794248102d8409d16bc27b1022c72038bd2d1241e129693d5f2 SHA512 677650c05f31fc27035e12f3f5e4b095715dfe12d2d3483f800bfbc6e986a98dbb1997cd52ad7a177b5c120c9b87fe5a2452a4f0f9852ac9a58262e0c5d576c9 WHIRLPOOL 070602fb27fee6a25035c9e93f5c2422270a5781fd11dac318d3f5c32cf9e49163abf7999729df230d3e181b6a1362982744e1f0ac016bf59a3458ae23abbb83
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQEcBAEBCAAGBQJTqMztAAoJEJ0WA1zPCt1hCV0IAKPc56IQPGwI18SncKYHBB70
|
||||
+nrFC6lZl4qW4a3vId/w9d0oWeSv9kHsZdJyllIu+d+y7j2pmICCRuHQ8bQkouL8
|
||||
ABXkuALe7PQfKgr81yULS1veWzCYnISU+XYhzI78YtLyLU+hJNeFJrvK4+suWnY6
|
||||
XT5bSQNpL2pLHFRX1VIVNTKFSeqa7OS4r82nMH/KOkqvNboBmmbTWaGll8422q1/
|
||||
yv2WA4QlCMfF0qoitRSneUqd60h8r4dyZTkxkXauHHP0ZOtEbneYG41qeZEV1t3x
|
||||
q7y6EktYqWsMm706aGMYY547GXyFecZuflNn706BTkAXIXwYDEbF/Pj8tRdLFSY=
|
||||
=5v1x
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,5 +1,17 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX qof-0.8.0-remove_spurious_CFLAGS.patch 1970 SHA256 cfa4858633a9784c9b6a236244d196c58213c4b17bad0c94727bb6ede44b7dbc SHA512 25e9485a07dfb3b0d4883cf98a4ca6dbf7dad3b3c70313bb868743ac5519668f2109caf3b4d86307e074faad104924e34ad6e8d649850e04260653559b421ac7 WHIRLPOOL 1dfe3645f214bbf2c039bfe586bd4a54f406ab5882f2eae2402879dc92368522ca3f1a30ec582fbc2cf40320eb2cd39affc753aee81da2a6dd2457761304b3d8
|
||||
DIST qof-0.8.1.tar.gz 885073 SHA256 53fa6db79140ae5ff0863298bdd1c09cfdf187d3967a90ca519a5713fec9c154 SHA512 ca6c8ab891627117993e5113065959dcfdd9cbe8b836151d75e2bea22ddbb98b0b68fa1e5fc52656242228303771eec36146aba3e43a4c70c10d7d0e7df70971 WHIRLPOOL 05c3740743e4908d14a9aaaf1078b4a6d02edc4c0d0879817a6db753492683744f7d3ca511d4f51eedd6550635ec4c6f6e7fd4cdf5a4b04d0c761928bf063854
|
||||
DIST qof_0.8.7.orig.tar.gz 932957 SHA256 86fd671390dc13ee6fd2e1e13775786c518b0ebff5e886f27bbd394de1e73094 SHA512 ed121aa599f785aab861e3441a96cc20e82f3a4d8fe4292d27fedbae4ffa79408811c98bb841ef9be5a465e482ad67c4878589098dc0b5477948151e41ee298c WHIRLPOOL e49f36cfaf5b8604ce4def5f7d3910ff9daf419dcfc65a41825c97a0dfb76d435b01fd71d01f647a7e6bbc9774155cccadf30da7b78fc4978cf0ee39ea56458b
|
||||
EBUILD qof-0.8.1.ebuild 1180 SHA256 48c6c810370fd2ad2588d1c36ea926860a3909e4cd58074ee07caf8046af9ab4 SHA512 6c8dd39e36efac86c4569f1b02ddc3097e4e8e54ef8f16a6c11d5fd04bfc6ad3c9107dda2af857a6f47fef8945781700df8adc9e2e573f3580c260d9ed28f405 WHIRLPOOL 7adc6873cced0391ad6787ca80e79d551efd2be3cefca95b755f04bc62df33c2d7682330afafe5f110b7c87ebafe1be24667485b1084c7e7b3c9d695d60147af
|
||||
MISC ChangeLog 5529 SHA256 c23221f011155d9a3ec6190432f467f98ae9820e816082d1be8734a130d0a1d2 SHA512 a8f6b67e04edec7a263d4e55a4ff1679e5d73d6e1bad073436e4979d01b1d4a59e06ea8a303d7927fbef00644b21a75b441a736b6d98882c29683f1bbfc2a38f WHIRLPOOL 0457d4ee3f91b2528b23a61ed0c02c8e5472bf93072a47bd5ead94bf958bbe7e1533bea4fe0fe1985d7ef677e4886d5637519fd650a92b37871ab9e4aa6b8e01
|
||||
EBUILD qof-0.8.7.ebuild 1194 SHA256 4157d903187437846866234367dcd390e99f8158dd9a469bc73cd8324b11008e SHA512 e17d8c8ededa52fff6ba5445f744d6700765658e4bd65d034c960ef72e468acb1e452d634c2c35a6a98d169dfcf5ffa75df38fa9c198fe3bffc893512442bb03 WHIRLPOOL 2bc34c343d290b3420d41d4902c32b40e2415654f115680e4fd5ecb70e4f1f9b644070363cea4b2e1d2ea4524cd1ab0d8f142ed61c4ca9f403f838aaa80b01cb
|
||||
MISC ChangeLog 5674 SHA256 de57bbe2e8104567c6dc7d74f794d1dcf723aa043fc25ed581854577dd146d3f SHA512 6780504aab50763b3635dd4b674c90a7fe1d324d21147666551d029b0e42d69291592219ae4a8552e363a9d4dfb56bd01c41535e0c71c9fca478f0a7f80dde96 WHIRLPOOL 04973b2225630565294fdf1b964ee571ee4f017a663e23cdc8f15cd67fa61609832ad8d580ee984e2d7ae73a752b11768f7167216bcdc4867b37508807bcd18d
|
||||
MISC metadata.xml 165 SHA256 9e51028c1f6811ec63067385fb8d6cb393d04b1a1d6688e0bbeb368ef34d57a0 SHA512 4d09a5b04da2c43d3a8a6c621fc1652a33a2dec95ed4379907784c1d72c86c4bd2a12d98a17a390e91fc04721eb6ec46ee70dde2b056637a9e93a304f41656e3 WHIRLPOOL f622c78a19de89566dbb3411859d743bb39d7ae3d23b331ce2389f730b71712cb2455f1b696e9cee5d95b329e2b7b463c4d6b9b44338f40976a0629c0952745a
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlOpU6gACgkQCaWpQKGI+9Rf9gCffg5d6qCBQTiP7qGzOOMn7ifc
|
||||
ZoYAn0dY3UFsNMnVkbCk8UMKquuU2Vjp
|
||||
=mmz+
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/qof/qof-0.8.7.ebuild,v 1.1 2014/06/24 10:32:07 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools gnome2
|
||||
|
||||
DESCRIPTION="A Query Object Framework"
|
||||
HOMEPAGE="https://alioth.debian.org/projects/qof/"
|
||||
SRC_URI="mirror://debian//pool/main/q/${PN}/${PN}_${PV}.orig.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc nls sqlite"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libxml2
|
||||
dev-libs/glib:2
|
||||
sqlite? ( >=dev-db/sqlite-2.8.0:0 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
!dev-libs/qof:0
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-texlive/texlive-latex )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/-g2 //' configure.ac || die
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-error-on-warning \
|
||||
--disable-static \
|
||||
--disable-gdasql \
|
||||
--disable-gdabackend \
|
||||
$(use_enable nls) \
|
||||
$(use_enable sqlite) \
|
||||
$(use_enable doc doxygen) \
|
||||
$(use_enable doc latex-docs) \
|
||||
$(use_enable doc html-docs)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# upstream bug ????
|
||||
MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_compile
|
||||
}
|
@ -0,0 +1,114 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pandas/pandas-0.14.0.ebuild,v 1.2 2014/06/24 06:03:56 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Powerful data structures for data analysis and statistics"
|
||||
HOMEPAGE="http://pandas.sourceforge.net/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples excel html test R"
|
||||
|
||||
REQUIRED_USE="
|
||||
excel? ( !python_targets_python3_2 )
|
||||
doc? ( !python_targets_python3_2 )
|
||||
R? ( !python_targets_python3_2 )"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${CDEPEND}
|
||||
doc? (
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
dev-python/ipython[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/pytables[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/rpy[$(python_gen_usedep 'python2_7')]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
|
||||
dev-python/xlrd[$(python_gen_usedep 'python2*')]
|
||||
dev-python/xlwt[$(python_gen_usedep 'python2*')]
|
||||
sci-libs/scikits_timeseries[$(python_gen_usedep 'python2*')]
|
||||
x11-misc/xclip
|
||||
)
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
# dev-python/statsmodels invokes a circular dep
|
||||
# hence rm from doc? ( ), again
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-python/numexpr[${PYTHON_USEDEP}]
|
||||
dev-python/bottleneck[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pytables[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
excel? (
|
||||
>=dev-python/openpyxl-1.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/xlrd[$(python_gen_usedep 'python2*')]
|
||||
dev-python/xlwt[$(python_gen_usedep 'python2*')]
|
||||
)
|
||||
html? (
|
||||
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
|
||||
|| (
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}] )
|
||||
)
|
||||
R? ( dev-python/rpy[$(python_gen_usedep 'python2_7')] )"
|
||||
|
||||
python_prepare_all() {
|
||||
if use doc; then
|
||||
# Prevent un-needed download during build
|
||||
sed -e 's:^intersphinx_mapping:#intersphinx_mapping:' \
|
||||
-e "s:^ 'statsmodels:# 'statsmodels:" \
|
||||
-e "s:^ 'python:# 'python:" \
|
||||
-e "s:^}:#}:" \
|
||||
-i doc/source/conf.py || die
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# To build docs the need be located in $BUILD_DIR,
|
||||
# else PYTHONPATH points to unusable modules.
|
||||
if use doc; then
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
cp -ar "${S}"/doc . && cd doc || die
|
||||
LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pushd "${BUILD_DIR}"/lib > /dev/null
|
||||
PYTHONPATH=. MPLCONFIGDIR=. HOME=. \
|
||||
VIRTUALX_COMMAND="nosetests --verbosity=3 pandas" \
|
||||
virtualmake || die
|
||||
popd > /dev/null
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
dohtml -r "${BUILD_DIR}"/lib/doc/build/html/*
|
||||
einfo "An initial build of docs is absent of references to statsmodels"
|
||||
einfo "due to circular dependency. To have them included, emerge"
|
||||
einfo "statsmodels next and re-emerge pandas with USE doc"
|
||||
fi
|
||||
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/rpy-2.4.2.ebuild,v 1.1 2014/06/24 01:58:44 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit distutils-r1 flag-o-matic
|
||||
|
||||
MYSLOT=2
|
||||
MY_PN=${PN}${MYSLOT}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Python interface to the R Programming Language"
|
||||
HOMEPAGE="http://rpy.sourceforge.net/ https://pypi.python.org/pypi/rpy2"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3 GPL-2 LGPL-2.1 MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/R-3
|
||||
dev-python/numpy[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/pandas-0.13[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
${PYTHON} -m 'rpy2.tests' -v || die
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/setuptools/setuptools-5.2.ebuild,v 1.1 2014/06/24 03:19:31 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="a collection of extensions to Distutils"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/setuptools"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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 ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# Force in-source build because build system modifies sources.
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
DOCS=( README.txt docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} )
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable tests requiring network connection.
|
||||
rm -f setuptools/tests/test_packageindex.py
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
|
||||
# It tries to sandbox the test in a tempdir
|
||||
HOME="${PWD}" esetup.py test
|
||||
}
|
||||
|
||||
python_install() {
|
||||
export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
|
||||
distutils-r1_python_install
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/tox/tox-1.6.1.ebuild,v 1.2 2014/02/03 10:18:40 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="*:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.7-pypy-*"
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="virtualenv-based automation of test activities"
|
||||
HOMEPAGE="http://tox.testrun.org http://pypi.python.org/pypi/tox"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools
|
||||
>=dev-python/virtualenv-1.8.4
|
||||
dev-python/pip
|
||||
dev-python/pytest
|
||||
>=dev-python/py-1.4.9
|
||||
virtual/python-argparse"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )"
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
"$(PYTHON)" setup.py build -b build-${PYTHON_ABI} \
|
||||
install --root "${T}/test-${PYTHON_ABI}"
|
||||
PATH="${T}/test-${PYTHON_ABI}/usr/bin:${PATH}" \
|
||||
PYTHONPATH="${T}/test-${PYTHON_ABI}/$(python_get_sitedir -b)" py.test -x
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
use doc && dohtml -r doc/_build/html/
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/tox/tox-1.7.0.ebuild,v 1.1 2014/02/03 10:18:40 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="virtualenv-based automation of test activities"
|
||||
HOMEPAGE="http://tox.testrun.org http://pypi.python.org/pypi/tox"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/virtualenv-1.11[${PYTHON_USEDEP}]
|
||||
dev-python/pip[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
>=dev-python/py-1.4.17[${PYTHON_USEDEP}]
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
py.test -x || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( "${S}"/doc/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,6 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST ttfunk-1.0.3.gem 457216 SHA256 0832ebbf47fd1b1fd052b6bd9f7414d8053b925d5b23a38553c2f348193a28c2 SHA512 6d158b1ae8a1000cd935710039945002fffae0e96b700a9956e069b4604c81fca5871d0f4c39b830269105b0170952c74d0f7465d3d32217f260e8f2ac42fcef WHIRLPOOL c1f7dc1ffc26a459a0289ab046290d1b973b6b2e419a04cb033fb6ea85464d3406560ca0c19b789598a3a7a946d0ad489a9eeb2b22027e4a0f7d41dc144890d6
|
||||
DIST ttfunk-1.1.1.tar.gz 732820 SHA256 7776c9b51dbe11761154f0e8b2696d0da66f7590786121c0e8e303c2acd57c00 SHA512 f22a2ede45783a5b9f78cc32c5ee535277878d20fb792abedcaec3cb09926dbe33e7a9db4da36a3b1e91a2a8f61daa568e8a881e0f0abdbfbc1e7a3103aa4e4f WHIRLPOOL 2010dbf45fde6c46810e641f5a366db6ce28d017a55ffa5b76fb6de7c9d4048e0df6eabcd36c68c4defdc1401c2a6d751309ee0adc132f12c411ff40c2cc3095
|
||||
DIST ttfunk-1.2.0.tar.gz 733227 SHA256 611464f2d26a9882805a98fcaab28c0587782b714bdf8e7e0ddd268b38f899f5 SHA512 e1237488cfedce28325c52ecba7e1db87d3ec094ed2081edf332fefbe0ac9c8e93bdc483caf1d32246faff578ba335aeee049acce35229ab1b46a8458f8bcf3c WHIRLPOOL 21824dd084bb9d37545e2de4cba2fb65e911092f6b084db20f48d9d1e67bd258c44df23aab0a8952e9a842c6d27906a6681e9e4820e276d390c86c2c46e50796
|
||||
EBUILD ttfunk-1.0.3-r1.ebuild 552 SHA256 882d1338c6d1d6a3f023db3b5810a279a5f1740620dd31ba1b92c671c83ba964 SHA512 0280e3655d76943e05712bbde2b3090eb9e311d1e1bdf49a9085c00ed78c1df636c3ce76909a428f2e5ae7f571ca848b416faa92dad332089221562fda74b259 WHIRLPOOL 931c572d9d1a10c578823fa89958eed8643119c5e424f738488882ee8ac0eb4c0cf75b0f1da14524306de87173456acc03e7f89147358672396fcefdee53698c
|
||||
EBUILD ttfunk-1.1.1.ebuild 720 SHA256 f03a600542a124a3eb5962cd67d20afbeffe8cb120bd2ccf862483b9d4a61a27 SHA512 7eff3b7ff9fece7fcb3cf1557578204d45414e8ac78d7e755cec643526b051514219d06f1f9e98e5772be9b89899ea2049a7695bdc0a2bd3b12c33123086540c WHIRLPOOL 5e02aa9c071abbeb13333f26a14f62d8da30071f8e1c7fb5dfe416ebebcaf4b09882e0cf560f5ded19080e98ea74d8347bc3149ad8a3e193ed1aa14414395b10
|
||||
MISC ChangeLog 1002 SHA256 25ad7f89206db53348df18064fc5626e8a7ef2f84f99efef2863e0c4a1a1d6e1 SHA512 b6d75071a111a260cb9de99f72925afecc3fcbeef2897bfe369fe3f7c3754cf4a7f462c4b8963216322059c3bf4a2fe1a15b0194f48e4a9df007bf5df2370ad2 WHIRLPOOL f3c9ff40c7ee642cbafe20aa6ffe05c2f2b285662bacaa9b2fd4bd19c13cbe9142429cdd7529627162bca227581f0db62191f837d9ec2e8ea6203e1c68b05842
|
||||
EBUILD ttfunk-1.2.0.ebuild 728 SHA256 ac2c5e24c722ce110f4a7c603c50b834d8a3a4b89f07d6c3f9cad84d3ad8246c SHA512 10f8b06727b04fd621d25349e8b01250a6ac7f3b09a13a5f4b2be77e50ad6449bf3193346db4b6490757cd9cc801ba526deac700f5540989963fd2664bb2e2ef WHIRLPOOL 762b14787fb8400327c6aa97d47b01c5b4137c59f7ba31625d968d453755cebf6b6f9c73183e95d1545b9613d731157be7a8b7e5e3ee91ba74222794eb42e5ec
|
||||
MISC ChangeLog 1121 SHA256 88251b9ffc62d872292a8d1ecf6caa938f117b44b606a4ce21509d2eb8df89e7 SHA512 47c76d13c89c00ad18208400cdb9758148cf8a843359b16d770bcfe6b77a051fb355a8569c9dae87921dbc85d4cced5002463704a13a16acd517a6e815496eba WHIRLPOOL 1fa656cdc4d3636a067f37d6372b365f44898610243aa2b23dcf6cfd1bf89d4fe0deb294aa16b03974a94abb7e65a368e67612880382dba6350ca99e9ce5a5be
|
||||
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iF4EAREIAAYFAlOpEOcACgkQiIP6VqMIqNff5gD+OwogliipBG/xVIVu38qe8JwY
|
||||
/ygqD/jRz7YLqoYw00YA/34EqVUKRxbiuYfLaIh0Qu9QAQwxE+idSSHoPazcm3nW
|
||||
=dgjq
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ttfunk/ttfunk-1.2.0.ebuild,v 1.1 2014/06/24 05:47:12 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A TrueType font parser written in pure ruby."
|
||||
HOMEPAGE="https://github.com/prawnpdf/ttfunk/"
|
||||
SRC_URI="https://github.com/prawnpdf/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 Ruby )"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/I s:^:#:' spec/spec_helper.rb || die
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/abi-compliance-checker/abi-compliance-checker-1.99.9.ebuild,v 1.1 2014/06/23 16:30:58 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="A tool for checking backward compatibility of a C/C++ library"
|
||||
HOMEPAGE="http://ispras.linuxbase.org/index.php/ABI_compliance_checker"
|
||||
SRC_URI="https://github.com/lvc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}"/usr || die
|
||||
perl Makefile.pl --install --prefix=/usr --destdir="${D}" || die
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/android-studio/android-studio-0.6.1.135.1224218.ebuild,v 1.1 2014/06/23 18:54:41 swift Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils versionator
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_TEXTRELS="opt/${P}/bin/libbreakgen.so"
|
||||
STUDIO_V=$(get_version_component_range 1-3)
|
||||
BUILD_V=$(get_version_component_range 4-5)
|
||||
DESCRIPTION="A new Android development environment based on IntelliJ IDEA"
|
||||
HOMEPAGE="http://developer.android.com/sdk/installing/studio.html"
|
||||
SRC_URI="http://dl.google.com/dl/android/studio/ide-zips/${STUDIO_V}/${PN}-ide-${BUILD_V}-linux.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="app-arch/zip"
|
||||
RDEPEND=">=virtual/jdk-1.6"
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_install() {
|
||||
local dir="/opt/${PN}"
|
||||
|
||||
insinto "${dir}"
|
||||
doins -r *
|
||||
fperms 755 "${dir}/bin/studio.sh" "${dir}/bin/fsnotifier" "${dir}/bin/fsnotifier64"
|
||||
|
||||
newicon "bin/idea.png" "${PN}.png"
|
||||
make_wrapper ${PN} ${dir}/bin/studio.sh
|
||||
make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE"
|
||||
}
|
@ -1,14 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST libgnomeui-2.24.5.tar.bz2 1440172 SHA256 ae352f2495889e65524c979932c909f4629a58e64290fb0c95333373225d3c0f
|
||||
EBUILD libgnomeui-2.24.5.ebuild 1342 SHA256 adc79d905ef2e2de4e44048bf33b92a1e218da0bf8d6e3412a2b02be89b07315 SHA512 0e4a6abdc14bc19508caba954d2b988375f7d3ffac5cc23d6567d1eb569e2d92b2ba7c7ef44f70d720d9a30866608bbc8360bbe5017da5e29c458124ba5416a4 WHIRLPOOL 179890d09798e8fc1f948dd356873bd452fb8cc2901fa07425095e392c417e3bf3108a235c483a6a265d536db4c37e6ba256bbee2f13933c52b4b0d9b3f3e0c9
|
||||
MISC ChangeLog 26455 SHA256 7cb8bf52ebb192133f9a083104f96355b82839424da1da2e41f03aae97690946 SHA512 19d392e440471695d327bffac62e6e3eb5f8e1619893932df7793ec71495b59d76614517206f9e025527b317b88d450c889114ee52ca6ed3b16195eca49c58b8 WHIRLPOOL 253bcd590405ff2af0d093ae7a76057acae69875222dd1d2e749c9ce09dcc7a0694791114dfab70ae5510f1c49dbc6e32493eeef7febddd80796befda784646c
|
||||
DIST libgnomeui-2.24.5.tar.bz2 1440172 SHA256 ae352f2495889e65524c979932c909f4629a58e64290fb0c95333373225d3c0f SHA512 e78fbe909179161acb6f7a1d31b8a247c9007af55c7f9c36422791be8d2681d42edfa582c19db88459d36309a18c03cb859997fe6b5918f602884607a8b6d5d5 WHIRLPOOL 0cfb10abdddd282f45b147fa3214bbaba005e75e5c73ffed962fbb6b828d2e632d3de49c876eb6127bf13b85a9985f3c9dec9571085196d0f23a762f93433f22
|
||||
EBUILD libgnomeui-2.24.5.ebuild 1467 SHA256 f3e61feeb1948353df8768bfec87f13d466fa8290cc47b70a884c4476cc2be39 SHA512 46bd1cef7c8f85ac7d2e44cfad0427deb0aac74281ae2438826d860140ad586ff446c7de737f1f77fc444dd9b9ba1d10abe9cd3b772024db110033b981741256 WHIRLPOOL 8b4b8ebb7506f0f269945e7020c8ebe862f959e8048ec66fa351b80aa6b0925be47c22a182b23132307ac4d412073c87c6ae1033faa099785587207ab22ab7f0
|
||||
MISC ChangeLog 26619 SHA256 508ace5b88e17fc4544cda9f5ebefc89fcc5526539b3c17dc4ac082916a42dc7 SHA512 df509e4e25073b9596de7f7267120cc402bed70386cdfec36885dcfcf2dad27ece40cf41b5a7a6b3e98a635760f2afd2faaadf549c830eeaec84f57b43bf087e WHIRLPOOL 6be19bc5c6a0cb79cd816b7167662733ed6ebc45a19f3f8a6781e6d9aeda956ea4a9262a19495b131ed5d0af6b1e2d2a9556189291c09b1d26efb345105b7330
|
||||
MISC metadata.xml 158 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 SHA512 7fbfbd2b3ed1b81867d55648509f778fdbe2091af53727b3426a3c7f453ae7e1663a99fdd2101508b8d6c85b3158459c93551b77a6a394f02d7e11cbc8a5ecf4 WHIRLPOOL 4bcd5662974877d42ebc4361b6eb412bfeea2af7144b436ce7ed152327d554afc321c376625ba0bb85a704b70d86e3c4882dff3573047acddd8ffccf655d4f7e
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
Version: GnuPG v2
|
||||
|
||||
iEYEAREIAAYFAlFV7lwACgkQ1fmVwcYIWAYyZQCfdLq/EFqNsI0VXOjPWyn+7K4w
|
||||
gpsAn0FuNBaAI94vAsAhmGllyDtvUCh0
|
||||
=Qman
|
||||
iQEcBAEBCAAGBQJTqNA1AAoJEJ0WA1zPCt1h7I8IALW5gKtjo4rKLFmz1Il+bWzP
|
||||
zBY7fMAufWqFVj2Netn815vcMWoBoEXubIAo131GJi/B+k++wtEEIjXDGKGiJ1bo
|
||||
1Y3AlvqTdT3I22CsSxRR/5dccOQKOveaGTJuvgHWfIy7bEQd38czVgvbalYRyrfh
|
||||
G1LtF+pkL/L0ARVT2xmUDmXND1SfeRYc986m1JLAER4P2hcnlyTRuvBZwF+R7yIu
|
||||
0YnhuqpluhgYuicl9NKJKQJyIqnqywr5OPk6QQxKGwau1LQDtJIfjSEagdmn8PH9
|
||||
3LXZDAVNGsFBnF1V1Jv75dsTDj/H5MF/dN9V1t9UwZ4/rzaX3uqt3+BjvfoZRqg=
|
||||
=X/B6
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue