parent
9d3e264eda
commit
ebbb9957ff
@ -0,0 +1,148 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-2.0.19.ebuild,v 1.1 2012/03/28 03:46:42 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
|
||||
HOMEPAGE="http://www.gnupg.org/"
|
||||
SRC_URI="mirror://gnupg/gnupg/${P}.tar.bz2"
|
||||
# SRC_URI="ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="adns bzip2 doc ldap nls readline static selinux smartcard usb"
|
||||
|
||||
COMMON_DEPEND_LIBS="
|
||||
>=dev-libs/libassuan-2
|
||||
>=dev-libs/libgcrypt-1.4
|
||||
>=dev-libs/libgpg-error-1.7
|
||||
>=dev-libs/libksba-1.0.7
|
||||
>=dev-libs/pth-1.3.7
|
||||
>=net-misc/curl-7.10
|
||||
sys-libs/zlib
|
||||
adns? ( >=net-libs/adns-1.4 )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
readline? ( sys-libs/readline )
|
||||
smartcard? ( usb? ( virtual/libusb:0 ) )
|
||||
ldap? ( net-nds/openldap )"
|
||||
COMMON_DEPEND_BINS="|| ( app-crypt/pinentry app-crypt/pinentry-qt )"
|
||||
|
||||
# Existence of executables is checked during configuration.
|
||||
DEPEND="${COMMON_DEPEND_LIBS}
|
||||
${COMMON_DEPEND_BINS}
|
||||
static? (
|
||||
>=dev-libs/libassuan-2[static-libs]
|
||||
>=dev-libs/libgcrypt-1.4[static-libs]
|
||||
>=dev-libs/libgpg-error-1.7[static-libs]
|
||||
>=dev-libs/libksba-1.0.7[static-libs]
|
||||
>=dev-libs/pth-1.3.7[static-libs]
|
||||
|| ( sys-libs/zlib[static-libs] <sys-libs/zlib-1.2.5.1-r2 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
doc? ( sys-apps/texinfo )"
|
||||
|
||||
RDEPEND="!static? ( ${COMMON_DEPEND_LIBS} )
|
||||
${COMMON_DEPEND_BINS}
|
||||
virtual/mta
|
||||
!<=app-crypt/gnupg-2.0.1
|
||||
selinux? ( sec-policy/selinux-gnupg )
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
REQUIRED_USE="smartcard? ( !static )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-2.0.17-gpgsm-gencert.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# 'USE=static' support was requested:
|
||||
# gnupg1: bug #29299
|
||||
# gnupg2: bug #159623
|
||||
use static && append-ldflags -static
|
||||
|
||||
if use smartcard; then
|
||||
myconf+=" --enable-scdaemon $(use_enable usb ccid-driver)"
|
||||
else
|
||||
myconf+=" --disable-scdaemon"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--enable-gpg \
|
||||
--enable-gpgsm \
|
||||
--enable-agent \
|
||||
${myconf} \
|
||||
$(use_with adns) \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable !elibc_SunOS symcryptrun) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable ldap) \
|
||||
$(use_with readline) \
|
||||
CC_FOR_BUILD="$(tc-getBUILD_CC)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use doc; then
|
||||
cd doc
|
||||
emake html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
emake DESTDIR="${D}" -f doc/Makefile uninstall-nobase_dist_docDATA
|
||||
rm -r "${ED}usr/share/gnupg/help"*
|
||||
|
||||
dodoc ChangeLog NEWS README THANKS TODO VERSION doc/FAQ doc/DETAILS \
|
||||
doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER doc/help*
|
||||
|
||||
dosym gpg2 /usr/bin/gpg
|
||||
dosym gpgv2 /usr/bin/gpgv
|
||||
dosym gpg2keys_hkp /usr/libexec/gpgkeys_hkp
|
||||
dosym gpg2keys_finger /usr/libexec/gpgkeys_finger
|
||||
dosym gpg2keys_curl /usr/libexec/gpgkeys_curl
|
||||
if use ldap; then
|
||||
dosym gpg2keys_ldap /usr/libexec/gpgkeys_ldap
|
||||
fi
|
||||
echo ".so man1/gpg2.1" > "${ED}usr/share/man/man1/gpg.1"
|
||||
echo ".so man1/gpgv2.1" > "${ED}usr/share/man/man1/gpgv.1"
|
||||
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >>"${ED}etc/env.d/30gnupg"
|
||||
|
||||
if use doc; then
|
||||
dohtml doc/gnupg.html/* doc/*.png
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
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"
|
||||
elog "the right viewer."
|
||||
elog
|
||||
|
||||
if use smartcard; then
|
||||
elog "To use your OpenPGP smartcard (or token) with GnuPG you need one of"
|
||||
use usb && elog " - a CCID-compatible reader, used directly through dev-libs/libusb;"
|
||||
elog " - sys-apps/pcsc-lite and a compatible reader device;"
|
||||
elog " - dev-libs/openct and a compatible reader device;"
|
||||
elog " - a reader device and drivers exporting either PC/SC or CT-API interfaces."
|
||||
elog ""
|
||||
elog "General hint: you probably want to try installing sys-apps/pcsc-lite and"
|
||||
elog "app-crypt/ccid first."
|
||||
fi
|
||||
|
||||
ewarn "Please remember to restart gpg-agent if a different version"
|
||||
ewarn "of the agent is currently used. If you are unsure of the gpg"
|
||||
ewarn "agent you are using please run 'killall gpg-agent',"
|
||||
ewarn "and to start a fresh daemon just run 'gpg-agent --daemon'."
|
||||
}
|
@ -1,118 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-0.8.0_rc1.ebuild,v 1.1 2012/03/24 00:29:00 flameeyes Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
|
||||
inherit eutils linux-info versionator flag-o-matic
|
||||
|
||||
DESCRIPTION="LinuX Containers userspace utilities"
|
||||
HOMEPAGE="http://lxc.sourceforge.net/"
|
||||
SRC_URI="http://lxc.sourceforge.net/download/lxc/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="examples vanilla"
|
||||
|
||||
RDEPEND="sys-libs/libcap"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-sgml-utils
|
||||
>=sys-kernel/linux-headers-2.6.29"
|
||||
|
||||
# For init script, so protect with vanilla, they are not strictly
|
||||
# needed.
|
||||
RDEPEND="${RDEPEND}
|
||||
vanilla? (
|
||||
sys-apps/util-linux
|
||||
app-misc/pax-utils
|
||||
)"
|
||||
|
||||
CONFIG_CHECK="~CGROUPS
|
||||
~CPUSETS ~CGROUP_CPUACCT
|
||||
~RESOURCE_COUNTERS ~CGROUP_MEM_RES_CTLR
|
||||
~CGROUP_SCHED
|
||||
|
||||
~NAMESPACES
|
||||
~IPC_NS ~USER_NS ~PID_NS
|
||||
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~CGROUP_FREEZER
|
||||
~UTS_NS ~NET_NS
|
||||
~VETH ~MACVLAN
|
||||
|
||||
~POSIX_MQUEUE
|
||||
~!NETPRIO_CGROUP"
|
||||
|
||||
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
|
||||
|
||||
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
|
||||
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
|
||||
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
|
||||
|
||||
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
|
||||
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
|
||||
|
||||
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
|
||||
|
||||
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
|
||||
|
||||
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS TODO README doc/FAQ.txt)
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--bindir=/usr/sbin \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-config-path=/etc/lxc \
|
||||
--with-rootfs-path=/usr/lib/lxc/rootfs \
|
||||
--with-linuxdir="${KERNEL_DIR}" \
|
||||
--enable-doc \
|
||||
$(use_enable examples)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm -r "${D}"/usr/sbin/lxc-{setcap,ls} \
|
||||
"${D}"/usr/share/man/man1/lxc-ls.1 \
|
||||
|| die "unable to remove extraenous content"
|
||||
|
||||
keepdir /etc/lxc /usr/lib/lxc/rootfs
|
||||
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
use vanilla && return 0
|
||||
|
||||
# Gentoo-specific additions!
|
||||
newinitd "${FILESDIR}/${PN}.initd.2" ${PN}
|
||||
keepdir /var/log/lxc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use vanilla; then
|
||||
elog "There is an init script provided with the package now; no documentation"
|
||||
elog "is currently available though, so please check out /etc/init.d/lxc ."
|
||||
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
|
||||
elog "to start the container defined into /etc/lxc/configname.conf ."
|
||||
elog "For further information about LXC development see"
|
||||
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
|
||||
elog ""
|
||||
fi
|
||||
ewarn "With version 0.7.4, the mountpoint syntax came back to the one used by 0.7.2"
|
||||
ewarn "and previous versions. This means you'll have to use syntax like the following"
|
||||
ewarn ""
|
||||
ewarn " lxc.rootfs = /container"
|
||||
ewarn " lxc.mount.entry = /usr/portage /container/usr/portage none bind 0 0"
|
||||
ewarn ""
|
||||
ewarn "To use the Fedora, Debian and (various) Ubuntu auto-configuration scripts, you"
|
||||
ewarn "will need sys-apps/yum or dev-util/debootstrap."
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST akonadi-1.6.2.tar.bz2 211347 RMD160 d4f923054a794ecbb03fd6a13db4c9e69a57975c SHA1 f02302686f6e50be240d1e73280c00a10c8ccf11 SHA256 29e5cffbc806b30ded70ba486e71a2aaf0e7b9ea1a798881b2e9bf25535b1696
|
||||
DIST akonadi-1.7.0.tar.bz2 210281 RMD160 0125b31a02143be7e50f427162bc9e7d0421a94d SHA1 794be377ed42d6ec906a3c9eb36af28493d7ea56 SHA256 bfb9228d83c1dfe1787883682afc4b9ac8b35096888a2b1ba0d3bc604d96b580
|
||||
DIST akonadi-1.7.1.tar.bz2 210853 RMD160 39ddd2e37437ea5bbc912f5994684a1413bad06e SHA1 a6057bd1a1740568ed86ee9dfaf325e3c3f77662 SHA256 6e6042257df8f212d63a06423e6d391bbf26259d985613e88759b62c993ee8ac
|
||||
|
@ -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-office/akonadi-server/akonadi-server-1.6.2-r1.ebuild,v 1.5 2012/03/09 14:26:12 ranger Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="The server part of Akonadi"
|
||||
HOMEPAGE="http://pim.kde.org/akonadi"
|
||||
SRC_URI="mirror://kde/stable/${PN/-server/}/src/${P/-server/}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
IUSE="mysql postgres +sqlite test"
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/boost
|
||||
>=dev-libs/soprano-2.6.51
|
||||
>=x11-libs/qt-gui-4.5.0:4[dbus]
|
||||
>=x11-libs/qt-sql-4.5.0:4[mysql?,postgres?]
|
||||
>=x11-libs/qt-test-4.5.0:4
|
||||
x11-misc/shared-mime-info
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-libs/libxslt
|
||||
>=dev-util/automoc-0.9.88
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
postgres? ( dev-db/postgresql-server )
|
||||
"
|
||||
|
||||
REQUIRED_USE="|| ( sqlite mysql postgres )"
|
||||
|
||||
S=${WORKDIR}/${P/-server/}
|
||||
|
||||
pkg_setup() {
|
||||
# Set default storage backend in order: SQLite, MySQL, PostgreSQL
|
||||
# reverse driver check to keep the order
|
||||
|
||||
if use postgres; then
|
||||
DRIVER="QPSQL"
|
||||
AVAILABLE+=" ${DRIVER}"
|
||||
fi
|
||||
|
||||
if use mysql; then
|
||||
DRIVER="QMYSQL"
|
||||
AVAILABLE+=" ${DRIVER}"
|
||||
fi
|
||||
|
||||
if use sqlite; then
|
||||
DRIVER="QSQLITE3"
|
||||
AVAILABLE+=" ${DRIVER}"
|
||||
fi
|
||||
|
||||
# Notify about driver name change
|
||||
if use sqlite && has_version "<=${CATEGORY}/${PN}-1.4.0[sqlite]"; then
|
||||
ewarn
|
||||
ewarn "SQLite driver name changed from QSQLITE to QSQLITE3."
|
||||
ewarn "Please edit your ~/.config/akonadi/akonadiserverrc."
|
||||
fi
|
||||
|
||||
# Notify about MySQL not being default anymore
|
||||
if ! use mysql && has_version "<=${CATEGORY}/${PN}-1.4.0[mysql]"; then
|
||||
ewarn
|
||||
ewarn "MySQL driver is not enabled by default in Gentoo anymore."
|
||||
ewarn "If you intend to use it, please enable mysql USE flag and reinstall"
|
||||
ewarn "${CATEGORY}/${PN}."
|
||||
ewarn "Otherwise select different driver in your ~/.config/akonadi/akonadiserverrc."
|
||||
ewarn "Available drivers are:${AVAILABLE}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
"-DAKONADI_USE_STRIGI_SEARCH=OFF"
|
||||
$(cmake-utils_use test AKONADI_BUILD_TESTS)
|
||||
$(cmake-utils_use sqlite INSTALL_QSQLITE_IN_QT_PREFIX)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Who knows, maybe it accidentally fixes our permission issues
|
||||
cat <<-EOF > "${T}"/akonadiserverrc
|
||||
[%General]
|
||||
Driver=${DRIVER}
|
||||
EOF
|
||||
insinto /usr/share/config/akonadi
|
||||
doins "${T}"/akonadiserverrc
|
||||
|
||||
cmake-utils_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "${DRIVER} has been set as your default akonadi storage backend."
|
||||
elog "You can override it in your ~/.config/akonadi/akonadiserverrc."
|
||||
elog "Available drivers are: ${AVAILABLE}"
|
||||
}
|
@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/akonadi-server/akonadi-server-1.7.0.ebuild,v 1.2 2012/03/08 02:14:43 dilfridge Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="The server part of Akonadi"
|
||||
HOMEPAGE="http://pim.kde.org/akonadi"
|
||||
SRC_URI="mirror://kde/stable/${PN/-server/}/src/${P/-server/}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
SLOT="0"
|
||||
IUSE="mysql postgres +sqlite test"
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/boost
|
||||
>=dev-libs/soprano-2.6.51
|
||||
>=x11-libs/qt-gui-4.5.0:4[dbus]
|
||||
>=x11-libs/qt-sql-4.5.0:4[mysql?,postgres?]
|
||||
>=x11-libs/qt-test-4.5.0:4
|
||||
x11-misc/shared-mime-info
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-libs/libxslt
|
||||
>=dev-util/automoc-0.9.88
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
postgres? ( dev-db/postgresql-server )
|
||||
"
|
||||
|
||||
REQUIRED_USE="|| ( sqlite mysql postgres )"
|
||||
|
||||
RESTRICT=test
|
||||
# bug 401139
|
||||
|
||||
S=${WORKDIR}/${P/-server/}
|
||||
|
||||
pkg_setup() {
|
||||
# Set default storage backend in order: SQLite, MySQL, PostgreSQL
|
||||
# reverse driver check to keep the order
|
||||
if use postgres; then
|
||||
DRIVER="QPSQL"
|
||||
AVAILABLE+=" ${DRIVER}"
|
||||
fi
|
||||
|
||||
if use mysql; then
|
||||
DRIVER="QMYSQL"
|
||||
AVAILABLE+=" ${DRIVER}"
|
||||
fi
|
||||
|
||||
if use sqlite; then
|
||||
DRIVER="QSQLITE3"
|
||||
AVAILABLE+=" ${DRIVER}"
|
||||
fi
|
||||
|
||||
# Notify about driver name change
|
||||
if use sqlite && has_version "<=${CATEGORY}/${PN}-1.4.0[sqlite]"; then
|
||||
ewarn
|
||||
ewarn "SQLite driver name changed from QSQLITE to QSQLITE3."
|
||||
ewarn "Please edit your ~/.config/akonadi/akonadiserverrc."
|
||||
fi
|
||||
|
||||
# Notify about MySQL not being default anymore
|
||||
if ! use mysql && has_version "<=${CATEGORY}/${PN}-1.4.0[mysql]"; then
|
||||
ewarn
|
||||
ewarn "MySQL driver is not enabled by default in Gentoo anymore."
|
||||
ewarn "If you intend to use it, please enable mysql USE flag and reinstall"
|
||||
ewarn "${CATEGORY}/${PN}."
|
||||
ewarn "Otherwise select different driver in your ~/.config/akonadi/akonadiserverrc."
|
||||
ewarn "Available drivers are:${AVAILABLE}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DAKONADI_USE_STRIGI_SEARCH=OFF
|
||||
$(cmake-utils_use test AKONADI_BUILD_TESTS)
|
||||
$(cmake-utils_use sqlite AKONADI_BUILD_QSQLITE)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Who knows, maybe it accidentally fixes our permission issues
|
||||
cat <<-EOF > "${T}"/akonadiserverrc
|
||||
[%General]
|
||||
Driver=${DRIVER}
|
||||
EOF
|
||||
insinto /usr/share/config/akonadi
|
||||
doins "${T}"/akonadiserverrc
|
||||
|
||||
cmake-utils_src_install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "${DRIVER} has been set as your default akonadi storage backend."
|
||||
elog "You can override it in your ~/.config/akonadi/akonadiserverrc."
|
||||
elog "Available drivers are: ${AVAILABLE}"
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler-data/poppler-data-0.4.5-r1.ebuild,v 1.1 2012/03/28 03:37:44 dilfridge Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="Data files for poppler to support uncommon encodings without xpdfrc"
|
||||
HOMEPAGE="http://poppler.freedesktop.org/"
|
||||
SRC_URI="http://poppler.freedesktop.org/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD GPL-2 MIT"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
emake prefix="${EPREFIX}"/usr DESTDIR="${D}" install || die
|
||||
|
||||
# bug 409361
|
||||
dodir /usr/share/poppler/cMaps
|
||||
cd "${D}"/usr/share/poppler/cMaps || die
|
||||
find ../cMap -type f -exec ln -s {} . \; || die
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
--- a/doc/HTML/Makefile.am
|
||||
+++ b/doc/HTML/Makefile.am
|
||||
@@ -1,2 +1 @@
|
||||
-htmldir = $(docdir)/sgml-common-@VERSION@/html
|
||||
html_DATA = *.html
|
@ -1,3 +1,4 @@
|
||||
DIST atk-1.32.0.tar.bz2 688186 RMD160 22d267795a7c576b90353780a9520e89fc43ea37 SHA1 876e88e4259d07bb7905d66c085a50a47e37f9e4 SHA256 e9a3e598f75c4db1af914f8b052dd9f7e89e920a96cc187c18eb06b8339cb16e
|
||||
DIST atk-2.0.1.tar.bz2 734314 RMD160 8161a41614bcd13d82b90ae654b24437a165d2c9 SHA1 f830ff27590e4dd486ebe6538e2b03484faee10a SHA256 3d81c7d70fc66e5b129567a7706b6f8ff5db18281a818b29d4dd5bcefa3d4a17
|
||||
DIST atk-2.2.0.tar.xz 600140 RMD160 7bec73703ed64a8dbfb21b5fa0181b757a2d69ee SHA1 b9808b77c7905eb46fc2b64587ef93beab37470a SHA256 8b22f0e7803dd3734c676ccd68ea999ff1156ca49d99c3de5c1d269ad0c3739d
|
||||
DIST atk-2.4.0.tar.xz 607156 RMD160 96cb3bb971b517d96286eee9ea3ffdc07a976e58 SHA1 ca13d01660bdcd5262ef6cedb8a64542ff8aa804 SHA256 091e9ce975a9fbbc7cd8fa64c9c389ffb7fa6cdde58b6d5c01b2c267093d888d
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/atk/atk-2.4.0.ebuild,v 1.1 2012/03/28 00:54:42 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="GTK+ & GNOME Accessibility Toolkit"
|
||||
HOMEPAGE="http://projects.gnome.org/accessibility/"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="doc +introspection nls"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.6.7 )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-lang/perl-5
|
||||
dev-util/pkgconfig
|
||||
doc? ( >=dev-util/gtk-doc-1.13 )
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF} $(use_enable introspection)"
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
if ! use test; then
|
||||
# don't waste time building tests (bug #226353)
|
||||
sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
|
||||
|| die "sed failed"
|
||||
fi
|
||||
|
||||
# Remove DEPRECATED flags
|
||||
sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' -i atk/Makefile.am atk/Makefile.in \
|
||||
tests/Makefile.am tests/Makefile.in || die "sed 2 failed"
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST gjs-0.7.14.tar.bz2 515857 RMD160 f3183aaf98c6b37c6bf445e6309cd7f1f516a915 SHA1 d9955428f5cbe7a6714197da1e4dbe5d6d60360d SHA256 3af6f449a505c419d4a0e5938737da8d1b9b09b33710cc1ac1edee2eaa86e348
|
||||
DIST gjs-1.30.0.tar.xz 454672 RMD160 e5126353596bd5c8d0ecb7afa49871f52f64315b SHA1 2061401687717f4bf4e11ef20ff039a250700b43 SHA256 ffe01980dd183abd96b2cc861d2e86ef12751d0a1af86daa4c491b82c74ac7b9
|
||||
DIST gjs-1.30.1.tar.xz 455456 RMD160 10a44261cb801a2d8eacb075addc296476953f3a SHA1 269796944742bb3f86bbe017620a65f2fea50207 SHA256 f5db07ddf70458a33a5d0bdf83f84070fc234237ecb0d49a8676e67b52119a05
|
||||
DIST gjs-1.32.0.tar.xz 464372 RMD160 977ea08c57cb99c597ccf49b994f4c31f8e07458 SHA1 7ea9c2bbcef40f65c0e7aa04e6f2df8c553516ee SHA256 b9f1dc156c15806824c936bb08ddc5048f52f6921654146c47025a62457108c0
|
||||
|
@ -0,0 +1 @@
|
||||
DIST gobject-introspection-1.32.0.tar.xz 1120376 RMD160 a9d7acef59b049cc301f920848898fe2adfc710f SHA1 461c9b8e1fab503995fbdf7e4b17ee8a6f51b460 SHA256 346a729eb8a2a5dc49197d2195e71295167504cc2671298dfd92a32f8e5a01b3
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection-common/gobject-introspection-common-1.32.0.ebuild,v 1.1 2012/03/28 00:58:04 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GNOME_ORG_MODULE="gobject-introspection"
|
||||
|
||||
inherit gnome.org
|
||||
|
||||
DESCRIPTION="Common files for development with GObject Introspection"
|
||||
HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
!<dev-libs/gobject-introspection-1.32.0"
|
||||
# Before 1.32.0, ${PN} was part of gobject-introspection
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/aclocal
|
||||
insinto /usr/share/aclocal
|
||||
doins m4/introspection.m4
|
||||
|
||||
dodir /usr/share/gobject-introspection-1.0
|
||||
insinto /usr/share/gobject-introspection-1.0
|
||||
doins Makefile.introspection
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>gnome</herd>
|
||||
</pkgmetadata>
|
@ -1,3 +1,4 @@
|
||||
DIST gobject-introspection-0.10.8.tar.bz2 1024874 RMD160 f542f75920ee95c067563f14215127c3ff95f304 SHA1 410268f5fd16cf0e219038c7dfe393249161b446 SHA256 5b1387ff37f03db880a2b1cbd6c6b6dfb923a29468d4d8367c458abf7704c61e
|
||||
DIST gobject-introspection-1.30.0-patches-1.tar.xz 5776 RMD160 6cf7893558cdf7b41e6084d787efe006b8a8c7b4 SHA1 1d621ce328683a4f2b8405589c89e3f97239534d SHA256 90a01c8b3ce6b112d58e9781460f3664d652bed169ddbdd9451a5e0a9fe2d37c
|
||||
DIST gobject-introspection-1.30.0.tar.xz 1063720 RMD160 c5e66f2e818e0cdbe38b42516ea3a36e7fbb09e6 SHA1 107425f49e03657c931ee180ffa454dcec201b71 SHA256 8e4274579096e983fad3148cdab50295a4701e45cd9a4e02f7242fc0a04c47b2
|
||||
DIST gobject-introspection-1.32.0.tar.xz 1120376 RMD160 a9d7acef59b049cc301f920848898fe2adfc710f SHA1 461c9b8e1fab503995fbdf7e4b17ee8a6f51b460 SHA256 346a729eb8a2a5dc49197d2195e71295167504cc2671298dfd92a32f8e5a01b3
|
||||
|
@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.30.0.ebuild,v 1.4 2012/02/07 21:00:27 tetromino Exp $
|
||||
|
||||
EAPI="3"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME_TARBALL_SUFFIX="xz"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
|
||||
inherit gnome2 multilib python
|
||||
|
||||
DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
|
||||
HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
|
||||
|
||||
LICENSE="LGPL-2 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos
|
||||
~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.29.7:2
|
||||
virtual/libffi"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
sys-devel/flex
|
||||
virtual/yacc
|
||||
doc? ( >=dev-util/gtk-doc-1.15 )
|
||||
test? ( x11-libs/cairo )"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
|
||||
G2CONF="${G2CONF}
|
||||
--disable-static
|
||||
YACC=$(type -p yacc)
|
||||
$(use_enable test tests)"
|
||||
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=659824
|
||||
sed -i -e '/^TAGS/s/[{}]//g' "${S}/giscanner/docbookdescription.py" || die
|
||||
|
||||
# FIXME: Parallel compilation failure with USE=doc
|
||||
use doc && MAKEOPTS="-j1"
|
||||
|
||||
# Don't pre-compile .py
|
||||
echo '#!/bin/sh' > py-compile
|
||||
echo '#!/bin/sh' > build-aux/py-compile
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
python_convert_shebangs 2 "${ED}"usr/bin/g-ir-{annotation-tool,doc-tool,scanner}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner
|
||||
python_need_rebuild
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/lib*/${PN}/giscanner
|
||||
}
|
@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.32.0.ebuild,v 1.1 2012/03/28 00:59:16 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_DEPEND="2:2.7"
|
||||
|
||||
inherit gnome2 python
|
||||
|
||||
DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
|
||||
HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
|
||||
|
||||
LICENSE="LGPL-2 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="doc doctool test"
|
||||
|
||||
RDEPEND=">=dev-libs/gobject-introspection-common-${PV}
|
||||
>=dev-libs/glib-2.29.7:2
|
||||
doctool? ( dev-python/mako )
|
||||
virtual/libffi"
|
||||
# Wants real bison, not virtual/yacc
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
doc? ( >=dev-util/gtk-doc-1.15 )"
|
||||
# PDEPEND to avoid circular dependencies, bug #391213
|
||||
PDEPEND="x11-libs/cairo[glib]"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
|
||||
G2CONF="${G2CONF}
|
||||
--disable-static
|
||||
YACC=$(type -p yacc)
|
||||
$(use_enable doctool)
|
||||
$(use_enable test tests)"
|
||||
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# FIXME: Parallel compilation failure with USE=doc
|
||||
use doc && MAKEOPTS="-j1"
|
||||
|
||||
gnome2_src_prepare
|
||||
|
||||
python_clean_py-compile_files
|
||||
|
||||
gi_skip_tests=
|
||||
if ! has_version "x11-libs/cairo[glib]"; then
|
||||
# Bug #391213: enable cairo-gobject support even if it's not installed
|
||||
# We only PDEPEND on cairo to avoid circular dependencies
|
||||
export CAIRO_LIBS="-lcairo"
|
||||
export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
|
||||
export CAIRO_GOBJECT_LIBS="-lcairo-gobject"
|
||||
export CAIRO_GOBJECT_CFLAGS="-I${EPREFIX}/usr/include/cairo"
|
||||
if use test; then
|
||||
G2CONF="${G2CONF} --disable-tests"
|
||||
gi_skip_tests=yes
|
||||
ewarn "Tests will be skipped because x11-libs/cairo[glib] is not present"
|
||||
ewarn "on your system. Consider installing it to get tests to run."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
[[ -z ${gi_skip_tests} ]] && default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
python_convert_shebangs 2 "${ED}"usr/bin/g-ir-{annotation-tool,scanner}
|
||||
use doctool && python_convert_shebangs 2 "${ED}"usr/bin/g-ir-doc-tool
|
||||
|
||||
# Prevent collision with gobject-introspection-common
|
||||
rm -v "${ED}"usr/share/aclocal/introspection.m4 \
|
||||
"${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die
|
||||
rmdir "${ED}"usr/share/aclocal || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner
|
||||
python_need_rebuild
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/$(get_libdir)/${PN}/giscanner
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST cryptokit-1.4.tar.gz 128546 RMD160 0d80a934041bde8f462c9463cfb522739b7323a0 SHA1 2f93d0fddfdf731bff105e189ebcbbc1f5b9377c SHA256 9f2f6ad234006ab9665190f0f298d7f9da2dbb9e5e0cec4de9dfe41f22d1e92f
|
||||
DIST cryptokit-1.5.tar.gz 128907 RMD160 7e1e179c3970ac8b0cdbac1ef18e9ea79de6526e SHA1 63e1ca4918186bcc7f5e7f6566c765261c4abef3 SHA256 e2483a463ea57eee99c1e9c5aed1c34885255e47f0d4d872bb2bb3a8975eb3e4
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/cryptokit/cryptokit-1.5.ebuild,v 1.1 2012/03/27 21:08:33 aballier Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
OASIS_BUILD_DOCS=1
|
||||
|
||||
inherit oasis
|
||||
|
||||
DESCRIPTION="Cryptographic primitives library for Objective Caml"
|
||||
HOMEPAGE="http://forge.ocamlcore.org/projects/cryptokit/"
|
||||
SRC_URI="http://forge.ocamlcore.org/frs/download.php/639/${P}.tar.gz"
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
IUSE="zlib"
|
||||
|
||||
DEPEND="zlib? ( >=sys-libs/zlib-1.1 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( "Changes" "README.txt" "AUTHORS.txt" )
|
||||
|
||||
src_configure() {
|
||||
oasis_configure_opts="$(use_enable zlib)" \
|
||||
oasis_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog ""
|
||||
elog "This library uses the /dev/random device to generate "
|
||||
elog "random data and RSA keys. The device should either be"
|
||||
elog "built into the kernel or provided as a module. An"
|
||||
elog "alternative is to use the Entropy Gathering Daemon"
|
||||
elog "(http://egd.sourceforge.net). Please note that the"
|
||||
elog "remainder of the library will still work even in the"
|
||||
elog "absence of a one of these sources of randomness."
|
||||
elog ""
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ""
|
||||
einfo "You must have either /dev/random or the Entropy Gathering"
|
||||
einfo "Daemon (EGD) for this test to succeed!"
|
||||
echo ""
|
||||
|
||||
oasis_src_test
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST ocamlify-0.0.1.tar.gz 46210 RMD160 0a796a55491749b0677a5f956a6ed261b6bac408 SHA1 edac27eb484f151076d645a8b8b6d502e5f72376 SHA256 75f20c65b834165c98b606b03c7f28c09c03f3ebf12b69dae8ba2d2cf75836c9
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ml</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlify/ocamlify-0.0.1.ebuild,v 1.1 2012/03/27 22:50:27 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
OASIS_NO_DEBUG=1
|
||||
|
||||
inherit oasis
|
||||
|
||||
DESCRIPTION="OCamlify allows to create OCaml source code by including whole file into OCaml string or string list"
|
||||
HOMEPAGE="http://forge.ocamlcore.org/projects/ocamlify"
|
||||
SRC_URI="http://forge.ocamlcore.org/frs/download.php/379/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1-linking-exception"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
IUSE=""
|
||||
|
||||
DOCS=( "README.txt" "AUTHORS.txt" )
|
@ -1 +1,2 @@
|
||||
DIST xmlm-1.0.2.tbz 36177 RMD160 e1feec0805e43e2e15ac7386b0e5d2375d44fe81 SHA1 051ec8bbffbf2d720e5bc5a845cbf300f3f5f61f SHA256 d9963126b906b19003f272b63d6ea8ec5b270ed52342538c9eb4185b7235acb8
|
||||
DIST xmlm-1.1.0.tbz 65619 RMD160 3ddcf5cdf00014be89280fbbd61bcd0934e7b9b4 SHA1 c19ebedba03e70e9e1d1a2f2756d7344010c6260 SHA256 aeab520565f6769219b1e9b51b4ae4bd152615734ccb74117bfae9cb318a2185
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/xmlm/xmlm-1.1.0.ebuild,v 1.2 2012/03/27 21:25:52 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
OASIS_BUILD_TESTS=1
|
||||
|
||||
inherit oasis
|
||||
|
||||
DESCRIPTION="Ocaml XML manipulation module"
|
||||
HOMEPAGE="http://erratique.ch/software/xmlm"
|
||||
SRC_URI="http://erratique.ch/software/${PN}/releases/${P}.tbz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( "CHANGES" "README" )
|
@ -0,0 +1,115 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.2.0.ebuild,v 1.1 2012/03/28 01:01:48 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_DEPEND="2:2.6 3:3.1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython *-pypy-*"
|
||||
|
||||
inherit autotools gnome2 python virtualx
|
||||
|
||||
DESCRIPTION="GLib's GObject library bindings for Python"
|
||||
HOMEPAGE="http://www.pygtk.org/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+cairo examples test +threads" # doc
|
||||
|
||||
COMMON_DEPEND=">=dev-libs/glib-2.31.0:2
|
||||
>=dev-libs/gobject-introspection-1.31.20
|
||||
virtual/libffi
|
||||
cairo? ( >=dev-python/pycairo-1.10.0 )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
test? (
|
||||
media-fonts/font-cursor-misc
|
||||
media-fonts/font-misc-misc
|
||||
>=dev-libs/gobject-introspection-1.29.17 )
|
||||
>=dev-util/pkgconfig-0.12"
|
||||
# docs disabled for now per upstream default since they are very out of date
|
||||
# doc? (
|
||||
# app-text/docbook-xml-dtd:4.1.2
|
||||
# dev-libs/libxslt
|
||||
# >=app-text/docbook-xsl-stylesheets-1.70.1 )
|
||||
|
||||
# We now disable introspection support in slot 2 per upstream recommendation
|
||||
# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
|
||||
# older versions of slot 2 installed their own site-packages/gi, and
|
||||
# slot 3 will collide with them.
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<dev-python/pygtk-2.13
|
||||
!<dev-python/pygobject-2.28.6-r50:2[introspection]"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog* NEWS README"
|
||||
# Hard-enable libffi support since both gobject-introspection and
|
||||
# glib-2.29.x rdepend on it anyway
|
||||
G2CONF="${G2CONF}
|
||||
--disable-dependency-tracking
|
||||
--with-ffi
|
||||
$(use_enable cairo)
|
||||
$(use_enable threads thread)"
|
||||
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Do not build tests if unneeded, bug #226345
|
||||
epatch "${FILESDIR}/${PN}-2.90.1-make_check.patch"
|
||||
|
||||
# Disable tests that fail
|
||||
#epatch "${FILESDIR}/${PN}-2.28.3-disable-failing-tests.patch"
|
||||
|
||||
python_clean_py-compile_files
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
PYTHON="$(PYTHON)" gnome2_src_configure
|
||||
}
|
||||
python_execute_function -s configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_src_compile
|
||||
}
|
||||
|
||||
# FIXME: With python multiple ABI support, tests return 1 even when they pass
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
export GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
|
||||
|
||||
testing() {
|
||||
export XDG_CACHE_HOME="${T}/$(PYTHON --ABI)"
|
||||
Xemake check PYTHON=$(PYTHON -a)
|
||||
unset XDG_CACHE_HOME
|
||||
}
|
||||
python_execute_function -s testing
|
||||
unset GIO_USE_VFS
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_execute_function -s gnome2_src_install
|
||||
python_clean_installation_image
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize gi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup gi
|
||||
}
|
@ -0,0 +1,120 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/eclass/oasis.eclass,v 1.3 2012/03/27 22:44:41 aballier Exp $
|
||||
|
||||
# @ECLASS: oasis.eclass
|
||||
# @MAINTAINER:
|
||||
# ml@gentoo.org
|
||||
# @AUTHOR:
|
||||
# Original Author: Alexis Ballier <aballier@gentoo.org>
|
||||
# @BLURB: Provides common ebuild phases for oasis-based packages.
|
||||
# @DESCRIPTION:
|
||||
# Provides common ebuild phases for oasis-based packages.
|
||||
# Most of these packages will just have to inherit the eclass, set their
|
||||
# dependencies and the DOCS variable for base.eclass to install it and be done.
|
||||
#
|
||||
# It inherits multilib, findlib, eutils and base eclasses.
|
||||
# Ebuilds using oasis.eclass must be EAPI>=3.
|
||||
|
||||
# @ECLASS-VARIABLE: OASIS_BUILD_DOCS
|
||||
# @DESCRIPTION:
|
||||
# Will make oasis_src_compile build the documentation if this variable is
|
||||
# defined and the doc useflag is enabled.
|
||||
# The eclass takes care of setting doc in IUSE but the ebuild should take care
|
||||
# of the extra dependencies it may need.
|
||||
# Set before inheriting the eclass.
|
||||
|
||||
# @ECLASS-VARIABLE: OASIS_BUILD_TESTS
|
||||
# @DESCRIPTION:
|
||||
# Will make oasis_src_configure enable building the tests if the test useflag is
|
||||
# enabled. oasis_src_test will then run them.
|
||||
# Note that you sometimes need to enable this for src_test to be useful,
|
||||
# sometimes not. It has to be enabled on a per-case basis.
|
||||
# The eclass takes care of setting test in IUSE but the ebuild should take care
|
||||
# of the extra dependencies it may need.
|
||||
# Set before inheriting the eclass.
|
||||
|
||||
|
||||
# @ECLASS-VARIABLE: OASIS_NO_DEBUG
|
||||
# @DESCRIPTION:
|
||||
# Disable debug useflag usage. Old oasis versions did not support it so we allow
|
||||
# disabling it in those cases.
|
||||
# The eclass takes care of setting debug in IUSE.
|
||||
# Set before inheriting the eclass.
|
||||
|
||||
inherit multilib findlib eutils base
|
||||
|
||||
case ${EAPI:-0} in
|
||||
0|1|2) die "You need at least EAPI-3 to use oasis.eclass";;
|
||||
esac
|
||||
|
||||
IUSE="+ocamlopt"
|
||||
[ -n "${OASIS_NO_DEBUG}" ] || IUSE="${IUSE} debug"
|
||||
[ -n "${OASIS_BUILD_DOCS}" ] && IUSE="${IUSE} doc"
|
||||
[ -n "${OASIS_BUILD_TESTS}" ] && IUSE="${IUSE} test"
|
||||
|
||||
RDEPEND=">=dev-lang/ocaml-3.12[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# @FUNCTION: oasis_use_enable
|
||||
# @USAGE: < useflag > < variable >
|
||||
# @DESCRIPTION:
|
||||
# A use_enable-like function for oasis configure variables.
|
||||
# Outputs '--override variable (true|false)', whether useflag is enabled or
|
||||
# not.
|
||||
# Typical usage: $(oasis_use_enable ocamlopt is_native) as an oasis configure
|
||||
# argument.
|
||||
oasis_use_enable() {
|
||||
echo "--override $2 $(usex $1 true false)"
|
||||
}
|
||||
|
||||
# @FUNCTION: oasis_src_configure
|
||||
# @DESCRIPTION:
|
||||
# src_configure phase shared by oasis-based packages.
|
||||
# Extra arguments may be passed via oasis_configure_opts.
|
||||
oasis_src_configure() {
|
||||
local confargs=""
|
||||
[ -n "${OASIS_BUILD_TESTS}" ] && confargs="${confargs} $(use_enable test tests)"
|
||||
[ -n "${OASIS_NO_DEBUG}" ] || confargs="${confargs} $(oasis_use_enable debug debug)"
|
||||
ocaml setup.ml -configure \
|
||||
--prefix "${EPREFIX}/usr" \
|
||||
--libdir "${EPREFIX}/usr/$(get_libdir)" \
|
||||
--docdir "${EPREFIX}/usr/share/doc/${PF}/html" \
|
||||
--destdir "${D}" \
|
||||
$(oasis_use_enable ocamlopt is_native) \
|
||||
${confargs} \
|
||||
${oasis_configure_opts} \
|
||||
|| die
|
||||
}
|
||||
|
||||
# @FUNCTION: oasis_src_compile
|
||||
# @DESCRIPTION:
|
||||
# Builds an oasis-based package.
|
||||
# Will build documentation if OASIS_BUILD_DOCS is defined and the doc useflag is
|
||||
# enabled.
|
||||
oasis_src_compile() {
|
||||
ocaml setup.ml -build || die
|
||||
if [ -n "${OASIS_BUILD_DOCS}" ] && use doc; then
|
||||
ocaml setup.ml -doc || die
|
||||
fi
|
||||
}
|
||||
|
||||
# @FUNCTION: oasis_src_test
|
||||
# @DESCRIPTION:
|
||||
# Runs the testsuite of an oasis-based package.
|
||||
oasis_src_test() {
|
||||
LD_LIBRARY_PATH="${S}/_build/lib" ocaml setup.ml -test || die
|
||||
}
|
||||
|
||||
# @FUNCTION: oasis_src_install
|
||||
# @DESCRIPTION:
|
||||
# Installs an oasis-based package.
|
||||
# It calls base_src_install_docs, so will install documentation declared in the
|
||||
# DOCS variable.
|
||||
oasis_src_install() {
|
||||
findlib_src_preinst
|
||||
ocaml setup.ml -install || die
|
||||
base_src_install_docs
|
||||
}
|
||||
|
||||
EXPORT_FUNCTIONS src_configure src_compile src_test src_install
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/dconf/dconf-0.12.0.ebuild,v 1.1 2012/03/28 01:02:47 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit autotools eutils gnome2 bash-completion-r1
|
||||
|
||||
DESCRIPTION="Simple low-level configuration system"
|
||||
HOMEPAGE="http://live.gnome.org/dconf"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="doc vala +X"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.31.18:2
|
||||
sys-apps/dbus
|
||||
X? ( >=dev-libs/libxml2-2.7.7:2
|
||||
x11-libs/gtk+:3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc-am
|
||||
doc? ( >=dev-util/gtk-doc-1.15 )
|
||||
vala? ( >=dev-lang/vala-0.15.1:0.16 )"
|
||||
# eautoreconf requires gtk-doc-am
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-schemas-compile
|
||||
$(use_enable vala)
|
||||
$(use_enable X editor)
|
||||
VALAC=$(type -p valac-0.16)"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix vala automagic support, upstream bug #634171
|
||||
epatch "${FILESDIR}/${PN}-0.11.5-automagic-vala.patch"
|
||||
|
||||
mkdir -p m4 || die
|
||||
eautoreconf
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
# GSettings backend may be one of: memory, gconf, dconf
|
||||
# Only dconf is really considered functional by upstream
|
||||
# must have it enabled over gconf if both are installed
|
||||
echo 'CONFIG_PROTECT_MASK="/etc/dconf"' >> 51dconf
|
||||
echo 'GSETTINGS_BACKEND="dconf"' >> 51dconf
|
||||
doenvd 51dconf
|
||||
|
||||
# Remove bash-completion file installed by build system
|
||||
rm -rv "${ED}etc/bash_completion.d/" || die
|
||||
newbashcomp "${S}/bin/dconf-bash-completion.sh" ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
# Kill existing dconf-service processes as recommended by upstream due to
|
||||
# possible changes in the dconf private dbus API.
|
||||
# dconf-service will be dbus-activated on next use.
|
||||
pids=$(pgrep -x dconf-service)
|
||||
if [[ $? == 0 ]]; then
|
||||
ebegin "Stopping dconf-service; it will automatically restart on demand"
|
||||
kill ${pids}
|
||||
eend $?
|
||||
fi
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/dconf/dconf-0.5.1-r2.ebuild,v 1.8 2011/10/29 17:00:16 tetromino Exp $
|
||||
|
||||
EAPI=3
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit autotools eutils gnome2
|
||||
|
||||
DESCRIPTION="Simple low-level configuration system"
|
||||
HOMEPAGE="http://live.gnome.org/dconf"
|
||||
SRC_URI="${SRC_URI} mirror://gentoo/introspection.m4.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86"
|
||||
IUSE="doc +introspection vala"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.25.16
|
||||
>=dev-libs/libgee-0.5.1:0
|
||||
>=dev-libs/libxml2-2.7.7
|
||||
x11-libs/gtk+:2
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.3 )
|
||||
vala? ( >=dev-lang/vala-0.9.5:0.10 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc-am
|
||||
doc? ( >=dev-util/gtk-doc-1.15 )"
|
||||
# eautoreconf requires gtk-doc-am
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
$(use_enable introspection)
|
||||
$(use_enable vala)
|
||||
VALAC=$(type -p valac-0.10)"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
# Fix vala automagic support, upstream bug #634171
|
||||
epatch "${FILESDIR}/${P}-automagic-vala.patch"
|
||||
|
||||
mv "${WORKDIR}"/introspection.m4 . || die
|
||||
mkdir -p m4 || die
|
||||
AT_M4DIR="." eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
# Needed as we default to gconf backend when dconf is not installed
|
||||
echo 'GSETTINGS_BACKEND="dconf"' >> 51dconf
|
||||
doenvd 51dconf || die "doenv failed"
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
From 09f3a2a4b6d997b5fd9b42add27de465dd529d43 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Sun, 26 Feb 2012 18:15:50 -0500
|
||||
Subject: [PATCH] Make vala dependency non-automagic
|
||||
|
||||
---
|
||||
configure.ac | 10 +++++++++-
|
||||
1 files changed, 9 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 2e21d48..40cfe36 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -13,7 +13,15 @@ AM_SILENT_RULES([yes])
|
||||
|
||||
# Check for programs
|
||||
AC_PROG_CC
|
||||
-AM_PROG_VALAC([0.15.1])
|
||||
+
|
||||
+AC_ARG_ENABLE(vala,
|
||||
+ AC_HELP_STRING([--disable-vala],
|
||||
+ [Disable vala support]))
|
||||
+AM_CONDITIONAL(ENABLE_VALA, test "x$enable_vala" != "xno")
|
||||
+
|
||||
+if test "x$enable_vala" != "xno"; then
|
||||
+ AM_PROG_VALAC([0.15.1])
|
||||
+fi
|
||||
|
||||
# Use GSettings
|
||||
GLIB_GSETTINGS
|
||||
--
|
||||
1.7.8.4
|
||||
|
@ -1,19 +0,0 @@
|
||||
--- configure.ac.orig 2010-11-06 16:24:36.000000000 +0100
|
||||
+++ configure.ac 2010-11-06 16:24:19.000000000 +0100
|
||||
@@ -12,7 +12,15 @@
|
||||
|
||||
# Check for programs
|
||||
AC_PROG_CC
|
||||
-AM_PROG_VALAC([0.9.5])
|
||||
+
|
||||
+AC_ARG_ENABLE(vala,
|
||||
+ AC_HELP_STRING([--disable-vala],
|
||||
+ [Disable vala support]))
|
||||
+AM_CONDITIONAL(ENABLE_VALA, test "x$enable_vala" != "xno")
|
||||
+
|
||||
+if test "x$enable_vala" != "xno"; then
|
||||
+ AM_PROG_VALAC([0.9.5])
|
||||
+fi
|
||||
|
||||
# Introspection
|
||||
GOBJECT_INTROSPECTION_CHECK([0.9.5])
|
@ -1,3 +1,3 @@
|
||||
DIST gvfs-1.10.1.tar.xz 1295236 RMD160 e50d96fc0b6aa9d2ab50a3cfc5c161be5d6e6e16 SHA1 d564d9934191342e6421cd038fc0674f8dd27eae SHA256 cd30facee5ad6cd0fafc5337bbf7c06a0bff3936f9ff2ae31519b301efcc9288
|
||||
DIST gvfs-1.6.7.tar.bz2 1404372 RMD160 e833fdbc9dc503cdde8e0ab5a7a8fa5403ec1aa1 SHA1 285a810772dce8b37289cbe0aaab8354f2b6717a SHA256 fe5f6181eac14d5147794389bf57717226a15ddf8283631b434c2d9ec120d659
|
||||
DIST gvfs-1.12.0.tar.xz 1342208 RMD160 8a423a8b9eb988946802502299b0194e3a17a52e SHA1 372f5ca24ff419e5d278ba47165f0be760d32e33 SHA256 87ffb27fd884be65570d64530c3121f9e49848070b62a26e39cd363f6a6bd555
|
||||
DIST libgcrypt.m4.bz2 1526 RMD160 6149f51c00e1e21d85187136f7682e41271fed40 SHA1 1731ae882cdc7c53efeef2e23e0d2d9791c6d739 SHA256 ce9d04f9cbd5417e4d4ba91095c06cea4852c70d75716311e82dfc243d2f0128
|
||||
|
@ -1,46 +0,0 @@
|
||||
From 6282ea2d0aebf0692aca8de22f8733d1ec109711 Mon Sep 17 00:00:00 2001
|
||||
From: Bastien Nocera <hadess@hadess.net>
|
||||
Date: Thu, 24 Mar 2011 11:46:32 +0000
|
||||
Subject: afc: Fix renaming files moving them to the root dir
|
||||
|
||||
We were moving and renaming files, instead of just renaming them,
|
||||
as the display_name wasn't properly rooted to the existing directory.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=638191
|
||||
---
|
||||
diff --git a/daemon/gvfsbackendafc.c b/daemon/gvfsbackendafc.c
|
||||
index ae266c4..0379847 100644
|
||||
--- a/daemon/gvfsbackendafc.c
|
||||
+++ b/daemon/gvfsbackendafc.c
|
||||
@@ -1386,19 +1386,28 @@ g_vfs_backend_afc_set_display_name (GVfsBackend *backend,
|
||||
const char *display_name)
|
||||
{
|
||||
GVfsBackendAfc *self;
|
||||
+ char *new_path;
|
||||
+ char *dirname;
|
||||
|
||||
self = G_VFS_BACKEND_AFC(backend);
|
||||
g_return_if_fail (self->connected);
|
||||
|
||||
+ dirname = g_path_get_dirname (filename);
|
||||
+ new_path = g_build_filename (dirname, display_name, NULL);
|
||||
+ g_free (dirname);
|
||||
+
|
||||
if (G_UNLIKELY(g_vfs_backend_afc_check (afc_rename_path (self->afc_cli,
|
||||
- filename, display_name),
|
||||
+ filename, new_path),
|
||||
G_VFS_JOB(job))))
|
||||
{
|
||||
+ g_free (new_path);
|
||||
return;
|
||||
}
|
||||
|
||||
g_vfs_job_set_display_name_set_new_path (job, display_name);
|
||||
|
||||
+ g_free (new_path);
|
||||
+
|
||||
g_vfs_job_succeeded (G_VFS_JOB(job));
|
||||
}
|
||||
|
||||
--
|
||||
cgit v0.9
|
@ -0,0 +1,120 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gvfs/gvfs-1.12.0.ebuild,v 1.1 2012/03/28 01:03:40 tetromino Exp $
|
||||
|
||||
EAPI=4
|
||||
GCONF_DEBUG=no
|
||||
GNOME2_LA_PUNT=yes
|
||||
|
||||
inherit autotools bash-completion-r1 eutils gnome2
|
||||
|
||||
[[ ${PV} = 9999 ]] && inherit gnome2-live
|
||||
|
||||
DESCRIPTION="GNOME Virtual Filesystem Layer"
|
||||
HOMEPAGE="http://www.gnome.org"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
|
||||
if [[ ${PV} = 9999 ]]; then
|
||||
KEYWORDS=""
|
||||
DOCS=""
|
||||
else
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README TODO" # ChangeLog.pre-1.2 README.commits
|
||||
fi
|
||||
|
||||
SRC_URI="${SRC_URI}
|
||||
http://dev.gentoo.org/~tetromino/distfiles/aclocal/libgcrypt.m4.bz2"
|
||||
|
||||
IUSE="afp archive avahi bluetooth bluray cdda doc fuse gdu gnome-keyring gphoto2 +http ios samba +udev udisks"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.31.0:2
|
||||
sys-apps/dbus
|
||||
dev-libs/libxml2
|
||||
net-misc/openssh
|
||||
!prefix? ( >=sys-fs/udev-164-r2 )
|
||||
afp? ( >=dev-libs/libgcrypt-1.2.2 )
|
||||
archive? ( app-arch/libarchive )
|
||||
avahi? ( >=net-dns/avahi-0.6 )
|
||||
bluetooth? (
|
||||
>=app-mobilephone/obex-data-server-0.4.5
|
||||
dev-libs/dbus-glib
|
||||
net-wireless/bluez
|
||||
dev-libs/expat )
|
||||
bluray? ( media-libs/libbluray )
|
||||
fuse? ( >=sys-fs/fuse-2.8.0 )
|
||||
gdu? ( >=sys-apps/gnome-disk-utility-3.0.2:0 )
|
||||
gnome-keyring? ( >=gnome-base/gnome-keyring-1.0 )
|
||||
gphoto2? ( >=media-libs/libgphoto2-2.4.7 )
|
||||
ios? (
|
||||
>=app-pda/libimobiledevice-1.1.0
|
||||
>=app-pda/libplist-1 )
|
||||
udev? (
|
||||
cdda? ( >=dev-libs/libcdio-0.78.2[-minimal] )
|
||||
|| ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-145[extras] ) )
|
||||
udisks? ( >=sys-fs/udisks-1.90:2 )
|
||||
http? ( >=net-libs/libsoup-gnome-2.26.0 )
|
||||
samba? ( >=net-fs/samba-3.4.6[smbclient] )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.40
|
||||
dev-util/pkgconfig
|
||||
dev-util/gtk-doc-am
|
||||
doc? ( >=dev-util/gtk-doc-1 )"
|
||||
|
||||
REQUIRED_USE="cdda? ( udev )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
--disable-bash-completion
|
||||
--disable-hal
|
||||
--disable-schemas-compile
|
||||
--with-dbus-service-dir=/usr/share/dbus-1/services
|
||||
$(use_enable afp)
|
||||
$(use_enable archive)
|
||||
$(use_enable avahi)
|
||||
$(use_enable bluetooth obexftp)
|
||||
$(use_enable bluray)
|
||||
$(use_enable cdda)
|
||||
$(use_enable fuse)
|
||||
$(use_enable gdu)
|
||||
$(use_enable gphoto2)
|
||||
$(use_enable ios afc)
|
||||
$(use_enable udev gudev)
|
||||
$(use_enable http)
|
||||
$(use_enable gnome-keyring keyring)
|
||||
$(use_enable samba)
|
||||
$(use_enable udisks udisks2)
|
||||
$(use_enable !prefix udev)"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Conditional patching purely to avoid eautoreconf
|
||||
use gphoto2 && epatch "${FILESDIR}"/${PN}-1.2.2-gphoto2-stricter-checks.patch
|
||||
|
||||
if use archive; then
|
||||
epatch "${FILESDIR}"/${PN}-1.2.2-expose-archive-backend.patch
|
||||
echo mount-archive.desktop.in >> po/POTFILES.in
|
||||
echo mount-archive.desktop.in.in >> po/POTFILES.in
|
||||
fi
|
||||
|
||||
if use prefix; then
|
||||
sed -i -e 's/gvfsd-burn/ /' daemon/Makefile.am || die
|
||||
sed -i -e 's/burn.mount.in/ /' daemon/Makefile.am || die
|
||||
sed -i -e 's/burn.mount/ /' daemon/Makefile.am || die
|
||||
fi
|
||||
|
||||
if use gphoto2 || use archive || use prefix; then
|
||||
# libgcrypt.m4 needed for eautoreconf, bug #399043
|
||||
mv "${WORKDIR}/libgcrypt.m4" "${S}"/ || die
|
||||
|
||||
AT_M4DIR=. eautoreconf
|
||||
fi
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
newbashcomp programs/gvfs-bash-completion.sh ${PN}
|
||||
}
|
@ -1,119 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gvfs/gvfs-1.6.7-r1.ebuild,v 1.9 2011/10/30 16:13:23 armin76 Exp $
|
||||
|
||||
EAPI="4"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
GNOME_TARBALL_SUFFIX="bz2"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit autotools bash-completion gnome2 eutils
|
||||
|
||||
DESCRIPTION="GNOME Virtual Filesystem Layer"
|
||||
HOMEPAGE="http://www.gnome.org"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="archive avahi bluetooth cdda doc fuse gdu gnome gnome-keyring gphoto2 +http ios prefix samba +udev"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.23.4:2
|
||||
>=sys-apps/dbus-1.0
|
||||
dev-libs/libxml2
|
||||
net-misc/openssh
|
||||
!prefix? ( >=sys-fs/udev-138 )
|
||||
archive? ( app-arch/libarchive )
|
||||
avahi? ( >=net-dns/avahi-0.6 )
|
||||
bluetooth? (
|
||||
>=app-mobilephone/obex-data-server-0.4.5
|
||||
dev-libs/dbus-glib
|
||||
net-wireless/bluez
|
||||
dev-libs/expat )
|
||||
fuse? ( >=sys-fs/fuse-2.8.0 )
|
||||
gdu? ( >=sys-apps/gnome-disk-utility-2.29 )
|
||||
gnome? ( >=gnome-base/gconf-2.0 )
|
||||
gnome-keyring? ( >=gnome-base/gnome-keyring-1.0 )
|
||||
gphoto2? ( >=media-libs/libgphoto2-2.4.7 )
|
||||
ios? ( app-pda/libimobiledevice )
|
||||
udev? (
|
||||
cdda? ( >=dev-libs/libcdio-0.78.2[-minimal] )
|
||||
|| ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-145[extras] ) )
|
||||
http? ( >=net-libs/libsoup-gnome-2.26.0 )
|
||||
samba? ( >=net-fs/samba-3.4.6[smbclient] )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.40
|
||||
>=dev-util/pkgconfig-0.19
|
||||
dev-util/gtk-doc-am
|
||||
doc? ( >=dev-util/gtk-doc-1 )"
|
||||
|
||||
pkg_setup() {
|
||||
if use cdda && ! use udev; then
|
||||
ewarn
|
||||
ewarn "You need to enable USE=\"udev\" for USE=\"cdda\" to be useful."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
G2CONF="${G2CONF}
|
||||
--disable-hal
|
||||
--disable-bash-completion
|
||||
--with-dbus-service-dir=/usr/share/dbus-1/services
|
||||
$(use_enable archive)
|
||||
$(use_enable avahi)
|
||||
$(use_enable bluetooth obexftp)
|
||||
$(use_enable cdda)
|
||||
$(use_enable fuse)
|
||||
$(use_enable gdu)
|
||||
$(use_enable gnome gconf)
|
||||
$(use_enable gphoto2)
|
||||
$(use_enable ios afc)
|
||||
$(use_enable udev gudev)
|
||||
$(use_enable http)
|
||||
$(use_enable gnome-keyring keyring)
|
||||
$(use_enable samba)
|
||||
$(use_enable !prefix udev)"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README TODO"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
# Conditional patching purely to avoid eautoreconf
|
||||
use gphoto2 && epatch "${FILESDIR}/${PN}-1.2.2-gphoto2-stricter-checks.patch"
|
||||
|
||||
if use archive; then
|
||||
epatch "${FILESDIR}/${PN}-1.2.2-expose-archive-backend.patch"
|
||||
echo "mount-archive.desktop.in" >> po/POTFILES.in
|
||||
echo "mount-archive.desktop.in.in" >> po/POTFILES.in
|
||||
fi
|
||||
|
||||
if use prefix; then
|
||||
sed -i -e 's/gvfsd-burn/ /' daemon/Makefile.am || die
|
||||
sed -i -e 's/burn.mount.in/ /' daemon/Makefile.am || die
|
||||
sed -i -e 's/burn.mount/ /' daemon/Makefile.am || die
|
||||
fi
|
||||
|
||||
{ use gphoto2 || use archive || use prefix; } && eautoreconf
|
||||
|
||||
# Disable API deprecation
|
||||
sed 's/-DG_DISABLE_DEPRECATED//' \
|
||||
-i */*/Makefile.am */*/Makefile.in */Makefile.am */Makefile.in \
|
||||
|| die "sed failed"
|
||||
|
||||
# afc: Fix renaming files moving them to the root dir
|
||||
epatch "${FILESDIR}/${P}-fix-renaming.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
use bash-completion && \
|
||||
dobashcompletion programs/gvfs-bash-completion.sh ${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
use bash-completion && bash-completion_pkg_postinst
|
||||
|
||||
ewarn "In order to use the new gvfs services, please reload dbus configuration"
|
||||
ewarn "You may need to log out and log back in for some changes to take effect"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue