parent
df67fcd1c0
commit
51ab4c690e
@ -1,2 +1 @@
|
||||
DIST luckybackup-0.4.6.tar.gz 5395019 RMD160 890ecc7f9204df2a1a075428e86d864dfd8685d9 SHA1 c323bf65bfc52dad2ea6f40da46820f4b140d7f3 SHA256 beda2b69fea7bee5c8854e92305c07e65a64c2114ece247d8f4399e7f80e6428
|
||||
DIST luckybackup-0.4.7.tar.gz 5393530 RMD160 1c102514416ae40a0d3a972951193d3516d8f5eb SHA1 7a436c29a636e359991cd131a5a966e3d4755372 SHA256 492f27f9e846d5f11d9a4466aa821803b17eb7c3047f9cf082bc66be3d093f4d
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/luckybackup/luckybackup-0.4.6.ebuild,v 1.3 2012/01/28 15:09:15 phajdan.jr Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit qt4-r2
|
||||
|
||||
DESCRIPTION="Powerful and flexible backup (and syncing) tool, using RSync and Qt4"
|
||||
HOMEPAGE="http://luckybackup.sourceforge.net/"
|
||||
SRC_URI="http://downloads.sourceforge.net/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="x11-libs/qt-gui:4
|
||||
net-misc/rsync"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCSDIR="${S}/readme"
|
||||
DOCS="AUTHORS changelog README TODO TRANSLATIONS"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's:/usr/share/doc/${PN}:/usr/share/doc/${PF}:g' \
|
||||
-e 's:/usr/share/doc/packages/${PN}:/usr/share/doc/${PF}:g' \
|
||||
luckybackup.pro src/global.h || die "sed failed"
|
||||
}
|
@ -0,0 +1,124 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.10.1-r3.ebuild,v 1.2 2012/04/19 02:08:10 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils flag-o-matic versionator
|
||||
|
||||
MY_P="${P/mit-}"
|
||||
P_DIR=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="MIT Kerberos V"
|
||||
HOMEPAGE="http://web.mit.edu/kerberos/www/"
|
||||
SRC_URI="http://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}-signed.tar"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
IUSE="doc +keyutils openldap +pkinit +threads test xinetd"
|
||||
|
||||
RDEPEND="!!app-crypt/heimdal
|
||||
>=sys-libs/e2fsprogs-libs-1.41.0
|
||||
dev-libs/libverto
|
||||
keyutils? ( sys-apps/keyutils )
|
||||
openldap? ( net-nds/openldap )
|
||||
xinetd? ( sys-apps/xinetd )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/yacc
|
||||
doc? ( virtual/latex-base )
|
||||
test? ( dev-lang/tcl
|
||||
dev-lang/python
|
||||
dev-util/dejagnu )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}/src
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
unpack ./"${MY_P}".tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}_uninitialized_extra.patch"
|
||||
epatch "${FILESDIR}/${P}_uninitialized_extra-2.patch"
|
||||
epatch "${FILESDIR}/${P}_gcc470.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags "-I${EPREFIX}/usr/include/et"
|
||||
# QA
|
||||
append-flags -fno-strict-aliasing
|
||||
append-flags -fno-strict-overflow
|
||||
use keyutils || export ac_cv_header_keyutils_h=no
|
||||
econf \
|
||||
$(use_with openldap ldap) \
|
||||
"$(use_with test tcl "${EPREFIX}/usr")" \
|
||||
$(use_enable pkinit) \
|
||||
$(use_enable threads thread-support) \
|
||||
--without-hesiod \
|
||||
--enable-shared \
|
||||
--with-system-et \
|
||||
--with-system-ss \
|
||||
--enable-dns-for-realm \
|
||||
--enable-kdc-lookaside-cache \
|
||||
--with-system-verto \
|
||||
--disable-rpath
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
|
||||
if use doc ; then
|
||||
cd ../doc
|
||||
for dir in api implement ; do
|
||||
emake -C "${dir}"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
||||
install
|
||||
|
||||
# default database dir
|
||||
keepdir /var/lib/krb5kdc
|
||||
|
||||
cd ..
|
||||
dodoc NOTICE README
|
||||
dodoc doc/*.{ps,txt}
|
||||
doinfo doc/*.info*
|
||||
dohtml -r doc/*.html
|
||||
|
||||
if use doc ; then
|
||||
dodoc doc/{api,implement}/*.ps
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind
|
||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc
|
||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd mit-krb5kpropd
|
||||
|
||||
insinto /etc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
||||
insinto /var/lib/krb5kdc
|
||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
||||
|
||||
if use openldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}/kpropd.xinetd" kpropd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-1.8.0" ; then
|
||||
elog "MIT split the Kerberos applications from the base Kerberos"
|
||||
elog "distribution. Kerberized versions of telnet, rlogin, rsh, rcp,"
|
||||
elog "ftp clients and telnet, ftp deamons now live in"
|
||||
elog "\"app-crypt/mit-krb5-appl\" package."
|
||||
fi
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST aspell-pl-0.50-2.tar.bz2 311840 RMD160 4ee3f031e0cebc7b390d2d7f79c5a7da8ae83c50 SHA1 57cdad1ca110638e8f1028059230233e8a68ca88 SHA256 96a8f7ee59a869bdb8ad0c277d66d94e8f764f7bcb58778070610285d0dda0c7
|
||||
DIST aspell-pl-0.51-0.tar.bz2 624458 RMD160 495787dd0daf92981f05428764eb3d601353c67e SHA1 66342fff4aaeded872e8aad65d707941a2150e88 SHA256 a71ce4dbc3d6d0adcf386b1776e359fff57f0ba422d338e8d1fe9569a2646ca8
|
||||
DIST aspell6-pl-6.0_20061121-0.tar.bz2 512251 RMD160 4c8aaa46eafb5bef8b7c9b123a3428e20348b033 SHA1 907852b5fbcdc643a84389cdf412aaf2bebff0ce SHA256 017741fcb70a885d718c534160c9de06b03cc72f352879bd106be165e024574d
|
||||
DIST sjp-aspell6-pl-6.0_20120418-0.tar.bz2 579320 RMD160 e242dd6a21258135f58eed505df1e2dd89bba081 SHA1 17ad466dc864a2dce552be218cf9df29c788313b SHA256 bbf253054996a368266a2eb6ea53d662e0572d226bd00ee414a68ad5899af6c4
|
||||
|
@ -1,12 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/aspell-pl/aspell-pl-0.50.2.ebuild,v 1.9 2010/10/08 00:39:32 leio Exp $
|
||||
|
||||
ASPELL_LANG="Polish"
|
||||
|
||||
inherit aspell-dict
|
||||
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
|
||||
IUSE=""
|
@ -1,12 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/aspell-pl/aspell-pl-0.51.0.ebuild,v 1.7 2010/10/08 00:39:32 leio Exp $
|
||||
|
||||
ASPELL_LANG="Polish"
|
||||
|
||||
inherit aspell-dict
|
||||
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
|
||||
IUSE=""
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/aspell-pl/aspell-pl-6.0.20120418.0.ebuild,v 1.2 2012/04/18 16:48:32 mr_bones_ Exp $
|
||||
|
||||
ASPELL_LANG="Polish"
|
||||
ASPOSTFIX="6"
|
||||
inherit versionator aspell-dict
|
||||
|
||||
HOMEPAGE="http://www.sjp.pl/slownik/"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
FILENAME="${PN/aspell/aspell6}-$(replace_version_separator 2 _ $(replace_version_separator 3 -))"
|
||||
SRC_URI="http://www.sjp.pl/slownik/ort/sjp-${FILENAME}.tar.bz2"
|
||||
S="${WORKDIR}/${FILENAME}"
|
@ -1 +1,2 @@
|
||||
DIST canna-2ch-20030827.tar.gz 51757 RMD160 5ec10d7fd44c3572e392a8c2088d5e676669dff8 SHA1 c8d66a2ad4dbaad9519ab4e9ba4e9d6251d873e7 SHA256 f9e3d2a706c5d85b2c4933f8a2abb389ec29647680cd63184e47c5e8479065a1
|
||||
DIST canna-2ch-20040519.tar.gz 53168 RMD160 7279912a21097db5896b39244da8ebdeeade4fb6 SHA1 9ee69f1275185132a722cac967c458fd25195a13 SHA256 d4b7b745676828727ff4632c2c5d4ec79e94bc6d9ed4ee43e33893f5d167f41d
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/canna-2ch/canna-2ch-20040519.ebuild,v 1.1 2012/04/18 23:19:27 naota Exp $
|
||||
|
||||
inherit cannadic eutils
|
||||
|
||||
DESCRIPTION="Japanese Canna dictionary for 2channelers"
|
||||
HOMEPAGE="http://omaemona.sourceforge.net/packages/Canna/"
|
||||
SRC_URI="http://dev.gentoo.org/~naota/files/${P}.tar.gz"
|
||||
#SRC_URI="http://omaemona.sourceforge.net/packages/Canna/2ch.t"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="canna"
|
||||
|
||||
DEPEND="canna? ( app-i18n/canna )"
|
||||
RDEPEND=""
|
||||
# You cannot use 2ch.cbd as its name. Canna doesn't load dictionaries
|
||||
# if the name begins with number. (I don't know why ...)
|
||||
CANNADICS="2ch"
|
||||
|
||||
DOCS=""
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_compile() {
|
||||
# Anthy users do not need binary dictionary
|
||||
if use canna ; then
|
||||
mkbindic nichan.ctd || die
|
||||
fi
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST libvirt-0.9.10-bp-1.tar.bz2 4359 RMD160 1b064c56007001f509cd0e940ec337d6281b19bb SHA1 ba11fd52aec15fb80e461a1fbc49c142e58ed3b5 SHA256 038791b47489a831718f98ba9cdf77cff88a6e26003f81a0c2f11581f0bde4a3
|
||||
DIST libvirt-0.9.10.tar.gz 19085438 RMD160 8f103b176fc7b943a88cf7196709865edc5db5e8 SHA1 cf32d6bea295cb30461901d987f049c9547ff1e8 SHA256 5b81d9f054ee4b395b0ab4f59845d082baaa6d6c2a038c966309156dde16e11d
|
||||
DIST libvirt-0.9.11.tar.gz 19519376 RMD160 752bbc5142ed24ea228172d60f248eb26db434ec SHA1 5f4b698801688c19b20cf74d908c4e9b12dcbac9 SHA256 ce98fe435f83e109623a021b1f714fe806c3ab556d0780ce959cf75c98766062
|
||||
DIST libvirt-0.9.6.tar.gz 17326676 RMD160 5e0837e8ee770e017e574fd002e9e489e448ca65 SHA1 9fd108e1a351d191c5d7f89458096fb35bd6413e SHA256 ce29b1cd3067b224aa834fec2a93d7613c0e72bc035760ad536a2142430bc02b
|
||||
DIST libvirt-0.9.8.tar.gz 18403525 RMD160 51bfb25dbd11a7cb5529c692d843f8ac2b1c9101 SHA1 09df699513af63b73444d776c2d02945dc9cee43 SHA256 31b20864e44bb18a2d01b7ac6569f114cbe1007689219bf24a07ddb7528abe0e
|
||||
|
@ -0,0 +1,291 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.9.11.ebuild,v 1.1 2012/04/18 23:04:07 cardoe Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#BACKPORTS=1
|
||||
#AUTOTOOLIZE=yes
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
GIT_ECLASS="git-2"
|
||||
AUTOTOOLIZE=yes
|
||||
fi
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
#RESTRICT_PYTHON_ABIS="3.*"
|
||||
#SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit eutils python ${AUTOTOOLIZE+autotools} ${GIT_ECLASS}
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-bp-${BACKPORTS}.tar.bz2}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="avahi caps debug iscsi +libvirtd lvm +lxc macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit python qemu sasl selinux +udev \
|
||||
uml virtualbox virt-network xen elibc_glibc"
|
||||
# IUSE=one : bug #293416 & bug #299011
|
||||
REQUIRED_USE="libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
|
||||
lxc? ( libvirtd ) openvz? ( libvirtd ) qemu? ( libvirtd ) uml? ( libvirtd )
|
||||
virtualbox? ( libvirtd ) xen? ( libvirtd )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
>=dev-libs/libnl-1.1:1.1
|
||||
>=net-libs/gnutls-1.0.25
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
app-misc/scrub
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
libvirtd? ( net-misc/bridge-utils )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? ( >sys-process/numactl-2.0.2 )
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
phyp? ( net-libs/libssh2 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? ( || ( app-emulation/qemu-kvm >=app-emulation/qemu-0.10.0 )
|
||||
dev-libs/yajl )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( >=sys-fs/udev-145 >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal] )
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
app-text/xhtml1"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status | sed 's/^[ +-]//;s/ .*//'
|
||||
git hash-object bootstrap.conf
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
myconf="${myconf} $(use_enable debug)"
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
# leave it automagic as it depends on the version of xen used.
|
||||
use xen || myconf+=" --without-libxl"
|
||||
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
myconf="${myconf} $(use_with qemu yajl)" # Use QMP over HMP
|
||||
# doesn't belong with hypervisors but links to libvirtd for some reason
|
||||
#myconf="${myconf} $(use_with one)"
|
||||
|
||||
## hypervisor protocols
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
myconf="${myconf} $(use_with python)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf --without-audit"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF}/python \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${FILESDIR}/libvirtd.init-r8" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r3" libvirtd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
|
||||
# Only sysctl files ending in .conf work
|
||||
mv "${D}"/etc/sysctl.d/libvirtd "${D}"/etc/sysctl.d/libvirtd.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize libvirt.py
|
||||
|
||||
elog
|
||||
if use policykit && has_version sys-auth/policykit; then
|
||||
elog "You must have run the following at least once:"
|
||||
elog
|
||||
elog "$ polkit-auth --grant org.libvirt.unix.manage --user \"USERNAME\""
|
||||
elog
|
||||
elog "to grant USERNAME access to libvirt when using USE=policykit"
|
||||
else
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog " unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
elog
|
||||
elog "For the basic networking support (bridged and routed networks)"
|
||||
elog "you don't need any extra software. For more complex network modes"
|
||||
elog "including but not limited to NATed network, you can enable the"
|
||||
elog "'virt-network' USE flag."
|
||||
elog
|
||||
if has_version net-dns/dnsmasq; then
|
||||
ewarn "If you have a DNS server setup on your machine, you will have"
|
||||
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
|
||||
ewarn " bind-interfaces"
|
||||
ewarn " interface or except-interface"
|
||||
ewarn
|
||||
ewarn "Otherwise you might have issues with your existing DNS server."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup libvirt.py
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST muttprint-0.72d.tar.gz 746660 RMD160 cb6f40c892de0142584969e7b0ca60b4f3fed140 SHA1 532a1c7ed019b0b50c78caf7eeb17f5cd34d3d1e SHA256 a2672950739c26c83777b6842e3500e145e8bcdd8552ec14e2d90ab4d43c2bc8
|
||||
DIST muttprint-0.73.tar.gz 361268 RMD160 e03a24174c96b63ca890ccd21b8a17aed9e5cd57 SHA1 75a02707c8a6f84d926952edcd246bd2a9e5e848 SHA256 7cabe6a0aa59849f84914a2da33320611a2fcf5896b94ff957cfade8a325deb6
|
||||
|
@ -0,0 +1,140 @@
|
||||
diff -u -r a/doc/manual/en/manual-en.sgml b/doc/manual/en/manual-en.sgml
|
||||
--- a/doc/manual/en/manual-en.sgml 2005-05-16 14:38:51.000000000 +0200
|
||||
+++ b/doc/manual/en/manual-en.sgml 2011-11-27 23:45:50.970890374 +0100
|
||||
@@ -191,6 +191,7 @@
|
||||
<para>As mentioned above, there must be a small C program compiled. If you use Perl
|
||||
5.8 and/or Linux, you could skip this step. For this, just execute
|
||||
|
||||
+ </para>
|
||||
<para>
|
||||
<prompt>$ </prompt>
|
||||
<userinput>make</userinput>
|
||||
@@ -278,7 +279,7 @@
|
||||
|
||||
<para>You have to add or change following line in the file
|
||||
<Filename>$HOME/.muttrc</Filename> or system wide in
|
||||
- <FileName>##SYSCONFDIR##/Muttrc</FileName>:</para>
|
||||
+ <FileName>/etc/Muttrc</FileName>:</para>
|
||||
|
||||
<ProgramListing>set print_command="muttprint"</ProgramListing>
|
||||
|
||||
@@ -316,7 +317,7 @@
|
||||
</ProgramListing>
|
||||
|
||||
<para>You'll find more information in the documentation of Mutt
|
||||
- (<Filename>##DOCDIR##/mutt/manual.txt(.gz)</Filename>).</para>
|
||||
+ (<Filename>/usr/share/doc/muttprint/mutt/manual.txt(.gz)</Filename>).</para>
|
||||
|
||||
</sect3>
|
||||
|
||||
@@ -345,7 +346,7 @@
|
||||
<para>In the dialogue <GUImenu>Misc</GUImenu>, <GUImenuItem>Config
|
||||
Misc</GUImenuItem> you have to do an entry in <GUIlabel>Print
|
||||
Command</GUIlabel>:
|
||||
- <literal>##BINDIR##/muttprint -f $f</literal>.</para>
|
||||
+ <literal>/usr/bin/muttprint -f $f</literal>.</para>
|
||||
|
||||
|
||||
<Note>
|
||||
@@ -393,7 +394,7 @@
|
||||
<para>You find the code in <filename>README.Gnus</filename> and I
|
||||
would like to refer to this file in this manual. If you use
|
||||
packages for the installation you should find this file in the
|
||||
- <filename>##DOCDIR##/muttprint/</filename>
|
||||
+ <filename>/usr/share/doc/muttprint/muttprint/</filename>
|
||||
directory.</para>
|
||||
</sect3>
|
||||
|
||||
@@ -445,7 +446,7 @@
|
||||
|
||||
<para>Some things could be configured in Muttprint. This is permanently
|
||||
done in the configuration files <filename>$HOME/.muttprintrc</filename>
|
||||
- (only for the current user) or <filename>##SYSCONFDIR##/Muttprintrc</filename>
|
||||
+ (only for the current user) or <filename>/etc/Muttprintrc</filename>
|
||||
(global for all users). User settings override global settings.</para>
|
||||
|
||||
<para>You can also specify an additional configuration file with the
|
||||
@@ -466,7 +467,7 @@
|
||||
<para>An example for a configuration file is distributed with
|
||||
Muttprint (<filename>sample-muttprintrc</filename>). If you've
|
||||
installed a RPM or Debian package, you'll find it in
|
||||
- <filename>##DOCDIR##/muttprint/</filename>.</para>
|
||||
+ <filename>/usr/share/doc/muttprint/muttprint/</filename>.</para>
|
||||
|
||||
<para>An example for a correct assignment:</para>
|
||||
|
||||
@@ -550,7 +551,7 @@
|
||||
|
||||
<para>Additionally, Muttprint comes with some example pictures that
|
||||
are already converted into the EPS format. After the installation,
|
||||
- you'll find this in <filename>##SHAREDIR##/muttprint</filename>.</para>
|
||||
+ you'll find this in <filename>/usr/share/muttprint</filename>.</para>
|
||||
|
||||
<para>If the printing of the graphic should turned off,
|
||||
set <literal>PENGUIN</literal> to the value <literal>off</literal>.
|
||||
@@ -917,7 +918,7 @@
|
||||
value. Possible are only <literal>A4</literal> and
|
||||
<literal>letter</literal>.</para>
|
||||
|
||||
- <para>If there exists a file <filename>##SYSCONFDIR##/papersize</filename> as
|
||||
+ <para>If there exists a file <filename>/etc/papersize</filename> as
|
||||
usually on Debian systems, it is evaluated, too. Own settings overwrite
|
||||
this system settings.</para>
|
||||
|
||||
@@ -1023,7 +1024,7 @@
|
||||
<para>For this, you can assign the variable <literal>BACKGROUND</literal>
|
||||
the value <literal>on</literal>. In the debug mode (see <xref
|
||||
linkend="debug">) this option has no effect.</para>
|
||||
-
|
||||
+ </sect3>
|
||||
<sect3 id="debug">
|
||||
<title>Error messages</title>
|
||||
|
||||
diff -u -r a/doc/manual/it/manual-it.sgml b/doc/manual/it/manual-it.sgml
|
||||
--- a/doc/manual/it/manual-it.sgml 2005-05-16 14:38:51.000000000 +0200
|
||||
+++ b/doc/manual/it/manual-it.sgml 2011-11-27 23:45:33.378110313 +0100
|
||||
@@ -264,7 +264,7 @@
|
||||
|
||||
<para>Puoi trovere maggiori informazioni nelle documentazione di
|
||||
Mutt
|
||||
- (<Filename>##DOCDIR##/mutt/manual.txt(.gz)</Filename>).</para>
|
||||
+ (<Filename>/usr/share/doc/muttprint/mutt/manual.txt(.gz)</Filename>).</para>
|
||||
|
||||
</sect3>
|
||||
|
||||
@@ -296,7 +296,7 @@
|
||||
<para>Nel dialogo <GUImenu>Misc</GUImenu>, <GUImenuItem>Config
|
||||
Misc</GUImenuItem> devi settare una entry in <GUIlabel>Print
|
||||
Command</GUIlabel>:
|
||||
- <literal>##BINDIR##/muttprint -f $f</literal>.</para>
|
||||
+ <literal>/usr/bin/muttprint -f $f</literal>.</para>
|
||||
|
||||
|
||||
<Note>
|
||||
@@ -345,7 +345,7 @@
|
||||
<para>Poui trovare il codice in <filename>README.Gnus</filename> e
|
||||
preferirei far riferimento a questo file per questo manuale.
|
||||
Se usi i pacchetti per l'installazione dovresti trovare
|
||||
- questo file in <filename>##DOCDIR##/muttprint/</filename>.</para>
|
||||
+ questo file in <filename>/usr/share/doc/muttprint/muttprint/</filename>.</para>
|
||||
</sect3>
|
||||
|
||||
<sect3>
|
||||
@@ -874,7 +874,7 @@
|
||||
Sono possibili solo <literal>A4</literal> e <literal>letter</literal>.
|
||||
</para>
|
||||
|
||||
- <para>Se è presente un file <filename>##SYSCONFDIR##/papersize</filename> come
|
||||
+ <para>Se è presente un file <filename>/etc/papersize</filename> come
|
||||
di soliuto nei sistemi Debian, viene anch'esso considerato.
|
||||
Le proprie impostazione prevarranno su quelle di sistema.</para>
|
||||
|
||||
@@ -1079,7 +1079,7 @@
|
||||
<row>
|
||||
<entry>ISO-8859-4</entry>
|
||||
<entry><literal>latin4</literal></entry>
|
||||
- <entry>Lingue Europa sud-orientale ed altre lingue/entry>
|
||||
+ <entry>Lingue Europa sud-orientale ed altre lingue</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>ISO-8859-9</entry>
|
@ -0,0 +1,11 @@
|
||||
--- a/muttprint-0.73/muttprint 2008-12-26 01:33:36.000000000 +0100
|
||||
+++ b/muttprint-0.73/muttprint 2011-11-25 22:08:00.914009076 +0100
|
||||
@@ -740,6 +740,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
+chdir($ENV{HOME}) || chdir('/');
|
||||
+
|
||||
################################### ENDE ####################################
|
||||
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/muttprint/muttprint-0.73.ebuild,v 1.1 2012/04/18 11:39:52 nimiux Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools-utils eutils
|
||||
|
||||
DESCRIPTION="Script for pretty printing of your mails"
|
||||
HOMEPAGE="http://muttprint.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/muttprint/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
virtual/latex-base
|
||||
doc? (
|
||||
app-text/dvipsk
|
||||
app-text/docbook-sgml-utils[jadetex] )"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
virtual/latex-base"
|
||||
|
||||
patch_docs() {
|
||||
sed -i -e 's/db2pdf/docbook2pdf/' "${S}"/configure.ac || die
|
||||
for l in de en es it sl
|
||||
do
|
||||
sed -i -e "/^docdir/s/$/-${PV}/" \
|
||||
-e 's/db2/docbook2/' -e 's/ -s / -d /' \
|
||||
-e "s|manual-${l}-sed/||" \
|
||||
-e "s/mv manual-${l}-sed.dvi/cp manual-${l}-sed.dvi/" \
|
||||
"${S}"/doc/manual/${l}/Makefile.am || die
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PF}-warning.patch"
|
||||
epatch "${FILESDIR}/${PF}-manuals.patch"
|
||||
|
||||
if use doc ; then
|
||||
# Patch docbook and docdir
|
||||
patch_docs
|
||||
else
|
||||
# Don't do manuals
|
||||
sed -i -e '/db2pdf/d' "${S}"/configure.ac || die
|
||||
fi
|
||||
sed -i -e "/^docdir/s/$/-${PV}/" "${S}"/Makefile.am || die
|
||||
|
||||
# The distfile does not include the png files, nor penguin.jpg
|
||||
sed -i -e '/.*png /d' -e '/penguin.jpg /d' "${S}"/pics/Makefile.am || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --docdir="/usr/share/doc/${PF}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Paralell build does not work when USE="doc"
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc ChangeLog
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST kmymoney-4.5.3.tar.bz2 14937401 RMD160 896e2efcfe7ec400327f74d40b9393eaf38cbce5 SHA1 3333d19d2c84eae45b1be3aeb3d90780f2beb9e1 SHA256 a9b37275cf3cdcd5ce865d94391df44c7822639b830fccb9962a54b7fcf76ffb
|
||||
DIST kmymoney-4.6.1.tar.bz2 22758086 RMD160 d49885bf04849b8a4db901a1c099b39006ee2b95 SHA1 dc1e80b256795df819c6167c22dc90ffcad741db SHA256 5fcab9c4f1b5868aabb816a87c61cb025e69a191f6cb218cce3f29f0c1c1b77a
|
||||
DIST kmymoney-4.6.2.tar.bz2 22762330 RMD160 b71f82f7fed3daba5711437db29cd225f38262d9 SHA1 b7dc6ce3a36c441ae2d199725db9aa2ec23fdd1f SHA256 add8acba2f0d4c212ac1c7fbbdad2fd43a24caceed586b13d90dcd2a20a12b75
|
||||
|
@ -1,13 +0,0 @@
|
||||
diff -urN kmymoney-4.5.3.orig/kmymoney/mymoney/storage/CMakeLists.txt kmymoney-4.5.3/kmymoney/mymoney/storage/CMakeLists.txt
|
||||
--- kmymoney-4.5.3.orig/kmymoney/mymoney/storage/CMakeLists.txt 2011-02-12 10:05:48.000000000 +0100
|
||||
+++ kmymoney-4.5.3/kmymoney/mymoney/storage/CMakeLists.txt 2011-08-06 22:12:57.501609127 +0200
|
||||
@@ -33,7 +33,8 @@
|
||||
kde4_add_unit_test( mymoneydatabasemgrtest TESTNAME kmymoney-mymoneydatabasemgrtest ${mymoneydatabasemgrtest_SRCS} )
|
||||
ADD_DEPENDENCIES( mymoneydatabasemgrtest kmymoney_base kmymoney_common kmm_storage )
|
||||
|
||||
- target_link_libraries( mymoneydatabasemgrtest kmymoney_base kmymoney_common kmm_storage ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY} ${QT_QTSQL_LIBRARY} ${QT_QTTEST_LIBRARY} )
|
||||
+ target_link_libraries( mymoneydatabasemgrtest kmymoney_base kmymoney_common kmm_storage ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY} ${QT_QTSQL_LIBRARY}
|
||||
+ ${QT_QTXML_LIBRARY} ${QT_QTTEST_LIBRARY} )
|
||||
ENDIF(NOT WIN32)
|
||||
|
||||
# MyMoneyMap
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/kmymoney/kmymoney-4.5.3.ebuild,v 1.5 2011/08/06 20:20:58 dilfridge Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
KMNAME="extragear/office"
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
KDE_LINGUAS="bg ca ca@valencia cs da de el en_GB eo es et eu fi fr ga gl hu it ja lt
|
||||
ms nds nl pl pt pt_BR ro ru sk sv tr uk zh_CN zh_TW"
|
||||
KDE_DOC_DIRS="doc doc-translations/%lingua_${PN}"
|
||||
KDE_HANDBOOK="optional"
|
||||
SRC_URI="mirror://sourceforge/kmymoney2/${P}.tar.bz2"
|
||||
fi
|
||||
|
||||
inherit virtualx kde4-base
|
||||
|
||||
DESCRIPTION="A personal finance manager for KDE"
|
||||
HOMEPAGE="http://kmymoney2.sourceforge.net/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 x86"
|
||||
SLOT="4"
|
||||
IUSE="debug calendar doc hbci ofx quotes test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme
|
||||
dev-libs/boost
|
||||
dev-libs/libgpg-error
|
||||
dev-libs/libxml2
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
calendar? ( dev-libs/libical )
|
||||
hbci? (
|
||||
>=net-libs/aqbanking-5.0.1
|
||||
>=sys-libs/gwenhywfar-4.0.1[qt4]
|
||||
)
|
||||
ofx? ( dev-libs/libofx )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
quotes? ( dev-perl/Finance-Quote )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
test? ( dev-util/cppunit )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-underlinking.patch" )
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DUSE_QT_DESIGNER=OFF
|
||||
$(cmake-utils_use_enable calendar LIBICAL)
|
||||
$(cmake-utils_use_use doc DEVELOPER_DOC)
|
||||
$(cmake-utils_use_enable hbci KBANKING)
|
||||
$(cmake-utils_use_enable ofx LIBOFX)
|
||||
$(cmake-utils_use test KDE4_BUILD_TESTS)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
kde4-base_src_compile
|
||||
use doc && kde4-base_src_compile apidoc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=("${CMAKE_BUILD_DIR}/apidocs/html/")
|
||||
kde4-base_src_install
|
||||
}
|
||||
|
||||
src_test() {
|
||||
VIRTUALX_COMMAND="kde4-base_src_test" virtualmake
|
||||
}
|
@ -1,80 +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/kmymoney/kmymoney-4.6.1.ebuild,v 1.2 2012/02/13 18:46:07 johu Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB eo es et
|
||||
eu fi fr ga gl hu it ja lt ms nds nl pl pt
|
||||
pt_BR ro ru sk sv tr ug uk zh_CN zh_TW"
|
||||
KDE_DOC_DIRS="doc doc-translations/%lingua_${PN}"
|
||||
KDE_HANDBOOK="optional"
|
||||
SRC_URI="mirror://sourceforge/kmymoney2/${P}.tar.bz2"
|
||||
fi
|
||||
|
||||
VIRTUALX_REQUIRED=test
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Personal finance manager for KDE"
|
||||
HOMEPAGE="http://kmymoney2.sourceforge.net/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="4"
|
||||
IUSE="debug calendar doc hbci ofx quotes test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme
|
||||
>=app-office/libalkimia-4.3.1
|
||||
dev-cpp/glibmm:2
|
||||
dev-cpp/libxmlpp:2.6
|
||||
dev-libs/boost
|
||||
dev-libs/glib:2
|
||||
dev-libs/gmp
|
||||
dev-libs/libgpg-error
|
||||
dev-libs/libxml2
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
x11-misc/shared-mime-info
|
||||
calendar? ( dev-libs/libical )
|
||||
hbci? (
|
||||
>=net-libs/aqbanking-5.0.1
|
||||
>=sys-libs/gwenhywfar-4.0.1[qt4]
|
||||
)
|
||||
ofx? ( >=dev-libs/libofx-0.9.4 )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
quotes? ( dev-perl/Finance-Quote )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
test? ( dev-util/cppunit )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.6.1-qt48.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DUSE_QT_DESIGNER=OFF
|
||||
$(cmake-utils_use_enable calendar LIBICAL)
|
||||
$(cmake-utils_use_use doc DEVELOPER_DOC)
|
||||
$(cmake-utils_use_enable hbci KBANKING)
|
||||
$(cmake-utils_use_enable ofx LIBOFX)
|
||||
$(cmake-utils_use test KDE4_BUILD_TESTS)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
kde4-base_src_compile
|
||||
use doc && kde4-base_src_compile apidoc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=("${CMAKE_BUILD_DIR}/apidocs/html/")
|
||||
kde4-base_src_install
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST 137323-libalkimia-4.3.1.tar.bz2 30529 RMD160 94d4e1a6d9e03ca8d5dbf70f51d7f20af31b246f SHA1 a8381bf4def252425aca31d0929e31b1aa82d0b5 SHA256 69a46d017350c2c5cc8d77d419cb4caf1d9d323a5bbc82c9d44113c6817bb2d0
|
||||
DIST 137323-libalkimia-4.3.2.tar.bz2 32687 RMD160 33b231fea22f6e64be5bec2accd4fc4aff3636ab SHA1 a747252fe6198d44f97d73a5c6cdf8b31af31732 SHA256 64379af992d5548a6757495f47568ebf8cb859a868ced8b5d3d5975f4dfcebdc
|
||||
|
@ -1,34 +0,0 @@
|
||||
diff -ruN libalkimia-4.3.0.orig/CMakeLists.txt libalkimia-4.3.0/CMakeLists.txt
|
||||
--- libalkimia-4.3.0.orig/CMakeLists.txt 2011-01-12 11:41:50.000000000 +0100
|
||||
+++ libalkimia-4.3.0/CMakeLists.txt 2011-04-21 01:59:24.079220359 +0200
|
||||
@@ -72,6 +72,8 @@
|
||||
|
||||
########### documentation ###################
|
||||
|
||||
+if(BUILD_DOC)
|
||||
+
|
||||
# check for Doxygen
|
||||
find_package(Doxygen)
|
||||
if(DOXYGEN_FOUND)
|
||||
@@ -81,9 +83,20 @@
|
||||
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libalkimia.doxygen.in ${CMAKE_CURRENT_BINARY_DIR}/libalkimia.doxygen IMMEDIATE)
|
||||
|
||||
- add_custom_target(apidoc ${DOXYGEN} ${CMAKE_CURRENT_BINARY_DIR}/libalkimia.doxygen)
|
||||
+ add_custom_target(apidoc ALL ${DOXYGEN} ${CMAKE_CURRENT_BINARY_DIR}/libalkimia.doxygen)
|
||||
+else(DOXYGEN_FOUND)
|
||||
+ MESSAGE(FATAL_ERROR "API documentation requested but doxygen not found")
|
||||
endif(DOXYGEN_FOUND)
|
||||
|
||||
+ELSE(BUILD_DOC)
|
||||
+
|
||||
+ MESSAGE(STATUS "")
|
||||
+ MESSAGE(STATUS "Documentation will NOT be installed")
|
||||
+ MESSAGE(STATUS "Because the option -DBUILD_DOC=ON wasn't passed to cmake")
|
||||
+ MESSAGE(STATUS "")
|
||||
+
|
||||
+ENDIF(BUILD_DOC)
|
||||
+
|
||||
########### tests ###################
|
||||
|
||||
set( alkvaluetest_SRCS alkvaluetest.cpp )
|
@ -1,34 +0,0 @@
|
||||
diff -ruN libalkimia-4.3.1.orig/CMakeLists.txt libalkimia-4.3.1/CMakeLists.txt
|
||||
--- libalkimia-4.3.1.orig/CMakeLists.txt 2011-08-01 12:14:46.000000000 +0200
|
||||
+++ libalkimia-4.3.1/CMakeLists.txt 2011-08-01 23:04:41.000000000 +0200
|
||||
@@ -86,6 +86,8 @@
|
||||
endif(NOT WIN32)
|
||||
########### documentation ###################
|
||||
|
||||
+if(BUILD_DOC)
|
||||
+
|
||||
# check for Doxygen
|
||||
find_package(Doxygen)
|
||||
if(DOXYGEN_FOUND)
|
||||
@@ -95,9 +97,20 @@
|
||||
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libalkimia.doxygen.in ${CMAKE_CURRENT_BINARY_DIR}/libalkimia.doxygen IMMEDIATE)
|
||||
|
||||
- add_custom_target(libalkimia_apidoc ${DOXYGEN} ${CMAKE_CURRENT_BINARY_DIR}/libalkimia.doxygen)
|
||||
+ add_custom_target(libalkimia_apidoc ALL ${DOXYGEN} ${CMAKE_CURRENT_BINARY_DIR}/libalkimia.doxygen)
|
||||
+else(DOXYGEN_FOUND)
|
||||
+ MESSAGE(FATAL_ERROR "API documentation requested but doxygen not found")
|
||||
endif(DOXYGEN_FOUND)
|
||||
|
||||
+ELSE(BUILD_DOC)
|
||||
+
|
||||
+ MESSAGE(STATUS "")
|
||||
+ MESSAGE(STATUS "Documentation will NOT be installed")
|
||||
+ MESSAGE(STATUS "Because the option -DBUILD_DOC=ON wasn't passed to cmake")
|
||||
+ MESSAGE(STATUS "")
|
||||
+
|
||||
+ENDIF(BUILD_DOC)
|
||||
+
|
||||
########### tests ###################
|
||||
|
||||
set( alkvaluetest_SRCS alkvaluetest.cpp )
|
@ -1,13 +0,0 @@
|
||||
diff -ruN libalkimia-4.3.1.orig/CMakeLists.txt libalkimia-4.3.1/CMakeLists.txt
|
||||
--- libalkimia-4.3.1.orig/CMakeLists.txt 2011-08-01 12:14:46.000000000 +0200
|
||||
+++ libalkimia-4.3.1/CMakeLists.txt 2011-08-06 19:25:21.979577122 +0200
|
||||
@@ -106,7 +106,7 @@
|
||||
kde4_add_unit_test( alkvaluetest TESTNAME alkimia-alkvalue ${alkvaluetest_SRCS} )
|
||||
kde4_add_unit_test( alkquoteitemtest TESTNAME alkimia-alkquoteitem ${alkquoteitemtest_SRCS} )
|
||||
kde4_add_unit_test( alkcompanytest TESTNAME alkimia-alkcompany ${alkcompanytest_SRCS} )
|
||||
-target_link_libraries( alkvaluetest alkimia ${QT_QTCORE_LIBRARY} ${QT_QTTEST_LIBRARY} )
|
||||
-target_link_libraries( alkquoteitemtest alkimia ${QT_QTCORE_LIBRARY} ${QT_QTTEST_LIBRARY} )
|
||||
+target_link_libraries( alkvaluetest alkimia ${QT_QTCORE_LIBRARY} ${QT_QTTEST_LIBRARY} ${GMP_LIBRARIES})
|
||||
+target_link_libraries( alkquoteitemtest alkimia ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY} ${QT_QTTEST_LIBRARY} )
|
||||
target_link_libraries( alkcompanytest alkimia ${QT_QTCORE_LIBRARY} ${QT_QTTEST_LIBRARY} )
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/libalkimia/libalkimia-4.3.1.ebuild,v 1.5 2011/11/14 11:20:31 flameeyes Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Library with common classes and functionality used by KDE finance applications"
|
||||
HOMEPAGE="http://kde-apps.org/content/show.php/libalkimia?content=137323"
|
||||
SRC_URI="http://kde-apps.org/CONTENT/content-files/137323-${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="dev-libs/gmp[cxx]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.3.1-doc.patch"
|
||||
"${FILESDIR}/${PN}-4.3.1-underlinking.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=( $(cmake-utils_use_build doc) )
|
||||
kde4-base_src_configure
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
diff --git a/configure.in b/configure.in
|
||||
index ed16f92..8934bb5 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -5877,20 +5877,6 @@ if test "$with_system_clucene" = "yes"; then
|
||||
AC_MSG_RESULT([external])
|
||||
SYSTEM_CLUCENE=YES
|
||||
PKG_CHECK_MODULES(CLUCENE, libclucene-core)
|
||||
-
|
||||
- AC_LANG_PUSH([C++])
|
||||
- save_CXXFLAGS=$CXXFLAGS
|
||||
- save_CPPFLAGS=$CPPFLAGS
|
||||
- CXXFLAGS="$CXXFLAGS $CLUCENE_CFLAGS"
|
||||
- CPPFLAGS="$CPPFLAGS $CLUCENE_CFLAGS"
|
||||
- dnl http://sourceforge.net/tracker/index.php?func=detail&aid=3392466&group_id=80013&atid=558446
|
||||
- dnl https://bugzilla.redhat.com/show_bug.cgi?id=794795
|
||||
- AC_CHECK_HEADER([CLucene/analysis/cjk/CJKAnalyzer.h], [],
|
||||
- [AC_MSG_ERROR([Your version of libclucene has contribs-lib missing.])], [])
|
||||
- CXXFLAGS=$save_CXXFLAGS
|
||||
- CPPFLAGS=$save_CPPFLAGS
|
||||
- AC_LANG_POP([C++])
|
||||
-
|
||||
CLUCENE_LIBS="$CLUCENE_LIBS -lclucene-contribs-lib"
|
||||
else
|
||||
AC_MSG_RESULT([internal])
|
@ -1,107 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/aspell-0.60.5.ebuild,v 1.20 2011/02/06 05:34:40 leio Exp $
|
||||
|
||||
# N.B. This is before inherit of autotools, as autotools.eclass adds the
|
||||
# relevant dependencies to DEPEND.
|
||||
WANT_AUTOMAKE="1.10"
|
||||
|
||||
inherit libtool eutils flag-o-matic autotools
|
||||
|
||||
DESCRIPTION="A spell checker replacement for ispell"
|
||||
HOMEPAGE="http://aspell.net/"
|
||||
SRC_URI="mirror://gnu/aspell/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="gpm nls examples"
|
||||
# Note; app-text/aspell-0.6 and app-dicts/aspell-en-0.6 must go stable together
|
||||
|
||||
# Build PDEPEND from list of language codes provided in the tree.
|
||||
# The PDEPEND string is static - this code just makes it easier to maintain.
|
||||
def="app-dicts/aspell-en"
|
||||
for l in \
|
||||
"af" "be" "bg" "br" "ca" "cs" "cy" "da" "de" "el" \
|
||||
"en" "eo" "es" "et" "fi" "fo" "fr" "ga" "gl" "he" \
|
||||
"hr" "is" "it" "nl" "no" "pl" "pt" "ro" "ru" "sk" \
|
||||
"sl" "sr" "sv" "uk" "vi"; do
|
||||
dep="linguas_${l}? ( app-dicts/aspell-${l} )"
|
||||
[[ -z ${PDEPEND} ]] &&
|
||||
PDEPEND="${dep}" ||
|
||||
PDEPEND="${PDEPEND}
|
||||
${dep}"
|
||||
def="!linguas_${l}? ( ${def} )"
|
||||
IUSE="${IUSE} linguas_${l}"
|
||||
done
|
||||
PDEPEND="${PDEPEND}
|
||||
${def}"
|
||||
|
||||
RDEPEND=">=sys-libs/ncurses-5.2
|
||||
gpm? ( sys-libs/gpm )
|
||||
nls? ( virtual/libintl )
|
||||
!=app-dicts/aspell-en-0.5*"
|
||||
# English dictionary 0.5 is incompatible with aspell-0.6
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/aspell-0.60.3-templateinstantiations.patch
|
||||
epatch "${FILESDIR}/${P}-nls.patch"
|
||||
epatch "${FILESDIR}/${P}-gcc-4.3.patch"
|
||||
|
||||
eautomake
|
||||
elibtoolize --reverse-deps
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use gpm && append-ldflags -lgpm
|
||||
filter-flags -fno-rtti
|
||||
filter-flags -fvisibility=hidden #77109
|
||||
filter-flags -maltivec -mabi=altivec
|
||||
use ppc && append-flags -mno-altivec
|
||||
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
--disable-static \
|
||||
--sysconfdir=/etc/aspell \
|
||||
--enable-docdir=/usr/share/doc/${PF} || die
|
||||
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README* TODO
|
||||
|
||||
make DESTDIR="${D}" install || die
|
||||
mv "${D}"/usr/share/doc/${PF}/man-html "${D}"/usr/share/doc/${PF}/html
|
||||
mv "${D}"/usr/share/doc/${PF}/man-text "${D}"/usr/share/doc/${PF}/text
|
||||
|
||||
# install ispell/aspell compatibility scripts
|
||||
exeinto /usr/bin
|
||||
newexe scripts/ispell ispell-aspell
|
||||
newexe scripts/spell spell-aspell
|
||||
|
||||
if use examples ; then
|
||||
cd examples
|
||||
make clean || die
|
||||
docinto examples
|
||||
dodoc "${S}"/examples/*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You will need to install a dictionary now. Please choose an"
|
||||
elog "aspell-<LANG> dictionary from the app-dicts category"
|
||||
elog "After installing an aspell dictionary for your language(s),"
|
||||
elog "You may use the aspell-import utility to import your personal"
|
||||
elog "dictionaries from ispell, pspell and the older aspell"
|
||||
|
||||
ewarn ""
|
||||
ewarn "Please re-emerge ALL your aspell-LANG dictionaries"
|
||||
ewarn ""
|
||||
ebeep 5
|
||||
}
|
@ -1,110 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/aspell-0.60.6-r1.ebuild,v 1.12 2010/06/05 15:45:24 armin76 Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
# N.B. This is before inherit of autotools, as autotools.eclass adds the
|
||||
# relevant dependencies to DEPEND.
|
||||
WANT_AUTOMAKE="1.10"
|
||||
|
||||
inherit libtool eutils flag-o-matic autotools
|
||||
|
||||
DESCRIPTION="A spell checker replacement for ispell"
|
||||
HOMEPAGE="http://aspell.net/"
|
||||
SRC_URI="mirror://gnu/aspell/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="nls examples"
|
||||
# Note; app-text/aspell-0.6 and app-dicts/aspell-en-0.6 must go stable together
|
||||
|
||||
# Build PDEPEND from list of language codes provided in the tree.
|
||||
# The PDEPEND string is static - this code just makes it easier to maintain.
|
||||
def="app-dicts/aspell-en"
|
||||
for l in \
|
||||
"af" "be" "bg" "br" "ca" "cs" "cy" "da" "de" "el" \
|
||||
"en" "eo" "es" "et" "fi" "fo" "fr" "ga" "gl" "he" \
|
||||
"hr" "is" "it" "la" "lt" "nl" "no" "pl" "pt" "pt_BR" \
|
||||
"ro" "ru" "sk" "sl" "sr" "sv" "uk" "vi" ; do
|
||||
dep="linguas_${l}? ( app-dicts/aspell-${l/pt_BR/pt-br} )"
|
||||
[[ ${l} = "de" ]] &&
|
||||
dep="linguas_de? ( || ( app-dicts/aspell-de app-dicts/aspell-de-alt ) )"
|
||||
[[ -z ${PDEPEND} ]] &&
|
||||
PDEPEND="${dep}" ||
|
||||
PDEPEND="${PDEPEND}
|
||||
${dep}"
|
||||
def="!linguas_${l}? ( ${def} )"
|
||||
IUSE="${IUSE} linguas_${l}"
|
||||
done
|
||||
PDEPEND="${PDEPEND}
|
||||
${def}"
|
||||
|
||||
COMMON_DEPEND=">=sys-libs/ncurses-5.2
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
# English dictionary 0.5 is incompatible with aspell-0.6
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!=app-dicts/aspell-en-0.5*"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-0.60.3-templateinstantiations.patch"
|
||||
epatch "${FILESDIR}/${PN}-0.60.5-nls.patch"
|
||||
epatch "${FILESDIR}/${PN}-0.60.5-solaris.patch"
|
||||
epatch "${FILESDIR}/${P}-darwin-bundles.patch"
|
||||
|
||||
rm m4/lt* m4/libtool.m4
|
||||
eautoreconf
|
||||
elibtoolize --reverse-deps
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-flags -fno-rtti
|
||||
filter-flags -fvisibility=hidden #77109
|
||||
filter-flags -maltivec -mabi=altivec
|
||||
use ppc && append-flags -mno-altivec
|
||||
|
||||
# Was bug #46432. Ncurses changed linking with gpm, from NEWS:
|
||||
# "20041009 change GPM initialization, using dl library to load it dynamically
|
||||
# at runtime (Debian #110586)"
|
||||
# and as a side effect it looks like we don't need add gpm library. (20090302)
|
||||
#built_with_use sys-libs/ncurses gpm && mylibs="-lgpm"
|
||||
LIBS="${mylibs}" econf \
|
||||
$(use_enable nls) \
|
||||
--disable-static \
|
||||
--sysconfdir="${EPREFIX}"/etc/aspell \
|
||||
--enable-docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README* TODO || die "installing docs failed"
|
||||
|
||||
emake DESTDIR="${D}" install || die "installation failed"
|
||||
mv "${ED}"usr/share/doc/${PF}/man-html "${ED}"usr/share/doc/${PF}/html
|
||||
mv "${ED}"usr/share/doc/${PF}/man-text "${ED}"usr/share/doc/${PF}/text
|
||||
|
||||
# install ispell/aspell compatibility scripts
|
||||
exeinto /usr/bin
|
||||
newexe scripts/ispell ispell-aspell
|
||||
newexe scripts/spell spell-aspell
|
||||
|
||||
if use examples ; then
|
||||
cd examples
|
||||
make clean || die
|
||||
docinto examples
|
||||
dodoc "${S}"/examples/* || die "installing examples failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "In case LINGUAS was not set correctly you may need to install"
|
||||
elog "dictionaries now. Please choose an aspell-<LANG> dictionary or"
|
||||
elog "set LINGUAS correctly and let aspell pull in required packages."
|
||||
elog "After installing an aspell dictionary for your language(s),"
|
||||
elog "You may use the aspell-import utility to import your personal"
|
||||
elog "dictionaries from ispell, pspell and the older aspell"
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/aspell-0.60.6-r2.ebuild,v 1.8 2011/01/13 17:26:20 jer Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
# N.B. This is before inherit of autotools, as autotools.eclass adds the
|
||||
# relevant dependencies to DEPEND.
|
||||
WANT_AUTOMAKE="1.10"
|
||||
|
||||
inherit libtool eutils flag-o-matic autotools
|
||||
|
||||
DESCRIPTION="A spell checker replacement for ispell"
|
||||
HOMEPAGE="http://aspell.net/"
|
||||
SRC_URI="mirror://gnu/aspell/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="nls examples"
|
||||
# Note; app-text/aspell-0.6 and app-dicts/aspell-en-0.6 must go stable together
|
||||
|
||||
# Build PDEPEND from list of language codes provided in the tree.
|
||||
# The PDEPEND string is static - this code just makes it easier to maintain.
|
||||
def="app-dicts/aspell-en"
|
||||
for l in \
|
||||
"af" "be" "bg" "br" "ca" "cs" "cy" "da" "de" "el" \
|
||||
"en" "eo" "es" "et" "fi" "fo" "fr" "ga" "gl" "he" \
|
||||
"hr" "is" "it" "la" "lt" "nl" "no" "pl" "pt" "pt_BR" \
|
||||
"ro" "ru" "sk" "sl" "sr" "sv" "uk" "vi" ; do
|
||||
dep="linguas_${l}? ( app-dicts/aspell-${l/pt_BR/pt-br} )"
|
||||
[[ ${l} = "de" ]] &&
|
||||
dep="linguas_de? ( || ( app-dicts/aspell-de app-dicts/aspell-de-alt ) )"
|
||||
[[ -z ${PDEPEND} ]] &&
|
||||
PDEPEND="${dep}" ||
|
||||
PDEPEND="${PDEPEND}
|
||||
${dep}"
|
||||
def="!linguas_${l}? ( ${def} )"
|
||||
IUSE="${IUSE} linguas_${l}"
|
||||
done
|
||||
PDEPEND="${PDEPEND}
|
||||
${def}"
|
||||
|
||||
COMMON_DEPEND=">=sys-libs/ncurses-5.2
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
# English dictionary 0.5 is incompatible with aspell-0.6
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!=app-dicts/aspell-en-0.5*"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-0.60.3-templateinstantiations.patch"
|
||||
epatch "${FILESDIR}/${PN}-0.60.5-nls.patch"
|
||||
epatch "${FILESDIR}/${PN}-0.60.5-solaris.patch"
|
||||
epatch "${FILESDIR}/${P}-darwin-bundles.patch"
|
||||
epatch "${FILESDIR}/${P}-replace-fix.patch" #327405
|
||||
|
||||
rm m4/lt* m4/libtool.m4
|
||||
eautoreconf
|
||||
elibtoolize --reverse-deps
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-flags -fno-rtti
|
||||
filter-flags -fvisibility=hidden #77109
|
||||
filter-flags -maltivec -mabi=altivec
|
||||
use ppc && append-flags -mno-altivec
|
||||
|
||||
# Was bug #46432. Ncurses changed linking with gpm, from NEWS:
|
||||
# "20041009 change GPM initialization, using dl library to load it dynamically
|
||||
# at runtime (Debian #110586)"
|
||||
# and as a side effect it looks like we don't need add gpm library. (20090302)
|
||||
#built_with_use sys-libs/ncurses gpm && mylibs="-lgpm"
|
||||
LIBS="${mylibs}" econf \
|
||||
$(use_enable nls) \
|
||||
--disable-static \
|
||||
--sysconfdir="${EPREFIX}"/etc/aspell \
|
||||
--enable-docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README* TODO || die "installing docs failed"
|
||||
|
||||
emake DESTDIR="${D}" install || die "installation failed"
|
||||
mv "${ED}"usr/share/doc/${PF}/man-html "${ED}"usr/share/doc/${PF}/html
|
||||
mv "${ED}"usr/share/doc/${PF}/man-text "${ED}"usr/share/doc/${PF}/text
|
||||
|
||||
# install ispell/aspell compatibility scripts
|
||||
exeinto /usr/bin
|
||||
newexe scripts/ispell ispell-aspell
|
||||
newexe scripts/spell spell-aspell
|
||||
|
||||
if use examples ; then
|
||||
cd examples
|
||||
make clean || die
|
||||
docinto examples
|
||||
dodoc "${S}"/examples/* || die "installing examples failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "In case LINGUAS was not set correctly you may need to install"
|
||||
elog "dictionaries now. Please choose an aspell-<LANG> dictionary or"
|
||||
elog "set LINGUAS correctly and let aspell pull in required packages."
|
||||
elog "After installing an aspell dictionary for your language(s),"
|
||||
elog "You may use the aspell-import utility to import your personal"
|
||||
elog "dictionaries from ispell, pspell and the older aspell"
|
||||
}
|
@ -1,102 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/aspell/aspell-0.60.6.ebuild,v 1.12 2009/12/26 20:36:02 pva Exp $
|
||||
|
||||
# N.B. This is before inherit of autotools, as autotools.eclass adds the
|
||||
# relevant dependencies to DEPEND.
|
||||
WANT_AUTOMAKE="1.10"
|
||||
|
||||
inherit libtool eutils flag-o-matic autotools
|
||||
|
||||
DESCRIPTION="A spell checker replacement for ispell"
|
||||
HOMEPAGE="http://aspell.net/"
|
||||
SRC_URI="mirror://gnu/aspell/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
|
||||
IUSE="gpm nls examples"
|
||||
# Note; app-text/aspell-0.6 and app-dicts/aspell-en-0.6 must go stable together
|
||||
|
||||
# Build PDEPEND from list of language codes provided in the tree.
|
||||
# The PDEPEND string is static - this code just makes it easier to maintain.
|
||||
def="app-dicts/aspell-en"
|
||||
for l in \
|
||||
"af" "be" "bg" "br" "ca" "cs" "cy" "da" "de" "el" \
|
||||
"en" "eo" "es" "et" "fi" "fo" "fr" "ga" "gl" "he" \
|
||||
"hr" "is" "it" "nl" "no" "pl" "pt" "ro" \
|
||||
"ru" "sk" "sl" "sr" "sv" "uk" "vi"; do
|
||||
dep="linguas_${l}? ( app-dicts/aspell-${l} )"
|
||||
[[ -z ${PDEPEND} ]] &&
|
||||
PDEPEND="${dep}" ||
|
||||
PDEPEND="${PDEPEND}
|
||||
${dep}"
|
||||
def="!linguas_${l}? ( ${def} )"
|
||||
IUSE="${IUSE} linguas_${l}"
|
||||
done
|
||||
PDEPEND="${PDEPEND}
|
||||
${def}"
|
||||
|
||||
RDEPEND=">=sys-libs/ncurses-5.2
|
||||
gpm? ( sys-libs/gpm )
|
||||
nls? ( virtual/libintl )
|
||||
!=app-dicts/aspell-en-0.5*"
|
||||
# English dictionary 0.5 is incompatible with aspell-0.6
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/aspell-0.60.3-templateinstantiations.patch"
|
||||
epatch "${FILESDIR}/${PN}-0.60.5-nls.patch"
|
||||
|
||||
rm m4/lt* m4/libtool.m4
|
||||
eautoreconf
|
||||
elibtoolize --reverse-deps
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use gpm && append-ldflags -lgpm
|
||||
filter-flags -fno-rtti
|
||||
filter-flags -fvisibility=hidden #77109
|
||||
filter-flags -maltivec -mabi=altivec
|
||||
use ppc && append-flags -mno-altivec
|
||||
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
--disable-static \
|
||||
--sysconfdir=/etc/aspell \
|
||||
--enable-docdir=/usr/share/doc/${PF}
|
||||
|
||||
emake || die "compilation failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README* TODO || die "installing docs failed"
|
||||
|
||||
emake DESTDIR="${D}" install || die "installation failed"
|
||||
mv "${D}"/usr/share/doc/${PF}/man-html "${D}"/usr/share/doc/${PF}/html
|
||||
mv "${D}"/usr/share/doc/${PF}/man-text "${D}"/usr/share/doc/${PF}/text
|
||||
|
||||
# install ispell/aspell compatibility scripts
|
||||
exeinto /usr/bin
|
||||
newexe scripts/ispell ispell-aspell
|
||||
newexe scripts/spell spell-aspell
|
||||
|
||||
if use examples ; then
|
||||
cd examples
|
||||
make clean || die
|
||||
docinto examples
|
||||
dodoc "${S}"/examples/* || die "installing examples failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "You will need to install a dictionary now. Please choose an"
|
||||
elog "aspell-<LANG> dictionary from the app-dicts category"
|
||||
elog "After installing an aspell dictionary for your language(s),"
|
||||
elog "You may use the aspell-import utility to import your personal"
|
||||
elog "dictionaries from ispell, pspell and the older aspell"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST htmlrecode-1.2.0.tar.bz2 46093 RMD160 f742567f515765b411776d5f75af743ccbb505f2 SHA1 78a84b555ad9591c3b02bdaea7f2852f70939508 SHA256 76b4c0518d30dc80123ea7b240297e278491e6f1202f80e815b92b7c41ada545
|
||||
DIST htmlrecode-1.3.0.tar.bz2 47170 RMD160 95124a2f05e107928525dd0589d69bc7f72e98c5 SHA1 2dd3d0ba48a07b79c7faa593dd73f5608e64f9ca SHA256 3218ab4e639e01b34150b90a132c65732c8d999271963a3d7f6e55fe25345be6
|
||||
DIST htmlrecode-1.3.1.tar.bz2 51387 RMD160 dd366a216436cf76e617c1666b0cf6a4989086dd SHA1 279cf81abf7744e86bd6c870e5084fa00b6928a1 SHA256 295c2b89d9357e1345e08cc7f33ff3d5843dec6acbffa604a11c17a1d58b61f0
|
||||
|
@ -1,152 +0,0 @@
|
||||
Reason: Adds missing headers (gcc-4.3 compatibility),
|
||||
use size_t and long where needed (amd64 fixes), and fixes some warnings.
|
||||
Upstream: Sent.
|
||||
--- htmlrecode-1.3.0.orig/argh/argh.cc
|
||||
+++ htmlrecode-1.3.0/argh/argh.cc
|
||||
@@ -1,6 +1,7 @@
|
||||
#include <map>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
+#include <cstdlib>
|
||||
|
||||
using std::strchr;
|
||||
using std::sprintf;
|
||||
@@ -153,7 +154,7 @@
|
||||
else if(longo.substr(0, 5) == "with-") { nega=false; longo.erase(0, 5); }
|
||||
|
||||
NegaDone:
|
||||
- unsigned p = longo.find('=');
|
||||
+ size_t p = longo.find('=');
|
||||
if(p == longo.npos)p = longo.find(':');
|
||||
string option;
|
||||
if(p != longo.npos) {option=longo.substr(p+1);longo.erase(p);}
|
||||
@@ -192,7 +193,7 @@
|
||||
argh_descsmap::const_iterator k;
|
||||
|
||||
vector<pair<string,string> > hdrs;
|
||||
- unsigned widest=0;
|
||||
+ size_t widest=0;
|
||||
|
||||
for(j=aliases->begin(); j!=aliases->end(); ++j)
|
||||
if(argtypes->find(j->second) == argtypes->end())
|
||||
@@ -244,7 +245,7 @@
|
||||
hdrs.push_back(pair<string,string> (s, k->second.first));
|
||||
}
|
||||
|
||||
- for(unsigned a=0; a<hdrs.size(); ++a)
|
||||
+ for(size_t a=0; a<hdrs.size(); ++a)
|
||||
PrintOpt(widest, hdrs[a].first, hdrs[a].second);
|
||||
}
|
||||
|
||||
@@ -380,9 +381,9 @@
|
||||
printf(" %-*s ", space, opt.c_str());
|
||||
|
||||
bool needeol = true;
|
||||
- for(unsigned a=0; a < desc.size(); )
|
||||
+ for(size_t a=0; a < desc.size(); )
|
||||
{
|
||||
- unsigned b = desc.find('\n', a);
|
||||
+ size_t b = desc.find('\n', a);
|
||||
if(!needeol){printf("%*s", space+6, "");needeol=true;}
|
||||
if(b == desc.npos) { printf("%s", desc.c_str()+a); break; }
|
||||
printf("%s", desc.substr(a, b-a).c_str());
|
||||
--- htmlrecode-1.3.0.orig/htmlrecode.cc
|
||||
+++ htmlrecode-1.3.0/htmlrecode.cc
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <list> // list
|
||||
#include <cerrno> // errno
|
||||
#include <cstdlib> // perror
|
||||
+#include <cstring> // memmove
|
||||
|
||||
#include "htmlrecode.hh"
|
||||
|
||||
@@ -41,7 +42,7 @@
|
||||
}
|
||||
static bool IsEqual(const wstring &s1, const char *s2)
|
||||
{
|
||||
- for(unsigned a=0; a<s1.size(); ++a, ++s2)
|
||||
+ for(size_t a=0; a<s1.size(); ++a, ++s2)
|
||||
{
|
||||
if(!*s2)return false;
|
||||
if(s1[a] >= 0x100)return false;
|
||||
@@ -147,8 +148,8 @@
|
||||
bool Page::Dumper::isok(ucs4 p) const
|
||||
{
|
||||
char OutBuf[256], *outptr = OutBuf, *tmp = (char *)&p;
|
||||
- unsigned outsize = sizeof OutBuf;
|
||||
- unsigned insize = sizeof(p);
|
||||
+ size_t outsize = sizeof OutBuf;
|
||||
+ size_t insize = sizeof(p);
|
||||
size_t retval = iconv(tester, &tmp, &insize, &outptr, &outsize);
|
||||
if(retval == (size_t)-1)return false;
|
||||
return true;
|
||||
@@ -524,10 +525,10 @@
|
||||
while(left > 0)
|
||||
{
|
||||
char OutBuf[4096], *outptr = OutBuf;
|
||||
- unsigned outsize = sizeof OutBuf;
|
||||
+ size_t outsize = sizeof OutBuf;
|
||||
#if DEBUG
|
||||
fprintf(stderr, "P1:Converting %u bytes to %u bytes space\n", left, outsize);
|
||||
- unsigned bytesread = left, converted = outsize;
|
||||
+ size_t bytesread = left, converted = outsize;
|
||||
#endif
|
||||
size_t retval = iconv(converter, &input, &left, &outptr, &outsize);
|
||||
#if DEBUG
|
||||
@@ -761,7 +762,7 @@
|
||||
wstring &s = tag.GetParamValue("CONTENT");
|
||||
|
||||
wstring tmp; tmp += "charset=";
|
||||
- unsigned a = s.find(tmp);
|
||||
+ size_t a = s.find(tmp);
|
||||
if(a == s.npos) { continue; }
|
||||
a += 8;
|
||||
|
||||
@@ -852,7 +853,7 @@
|
||||
|
||||
for(;;)
|
||||
{
|
||||
- int code = fread(bufptr+bytes, 1, sizeof InBuf - bytes, fp);
|
||||
+ size_t code = fread(bufptr+bytes, 1, sizeof InBuf - bytes, fp);
|
||||
if(code <= 0)
|
||||
{
|
||||
if(!bytes)break;
|
||||
@@ -868,9 +869,9 @@
|
||||
bool gotilseq = false;
|
||||
#if DEBUG
|
||||
fprintf(stderr, "P2:Converting %u bytes to %u bytes space\n", bytes, outsize);
|
||||
- unsigned bytesread = bytes;
|
||||
+ size_t bytesread = bytes;
|
||||
#endif
|
||||
- unsigned converted = outsize;
|
||||
+ size_t converted = outsize;
|
||||
size_t retval = iconv(converter, &bufptr, &bytes, &outptr, &outsize);
|
||||
converted -= outsize;
|
||||
#if DEBUG
|
||||
@@ -971,7 +972,7 @@
|
||||
wstring s = tag.GetParamValue("CONTENT");
|
||||
|
||||
wstring tmp; tmp += "charset=";
|
||||
- unsigned a = s.find(tmp);
|
||||
+ size_t a = s.find(tmp);
|
||||
if(a == s.npos) { continue; }
|
||||
|
||||
wstring way = s.substr(a+8);
|
||||
@@ -1002,7 +1003,7 @@
|
||||
{
|
||||
fprintf(stderr, "Error: The document is schizophrenic and claims to be encoded in various ways:");
|
||||
set<wstring>::const_iterator i;
|
||||
- unsigned c=newcharset.size();
|
||||
+ size_t c=newcharset.size();
|
||||
for(i=newcharset.begin(); i!=newcharset.end(); ++i)
|
||||
{
|
||||
string s = Stringify(*i);
|
||||
@@ -1523,7 +1524,7 @@
|
||||
Argh.StartParse(argc, argv);
|
||||
for(;;)
|
||||
{
|
||||
- int c = Argh.GetParam();
|
||||
+ long c = Argh.GetParam();
|
||||
if(c == -1)break;
|
||||
switch(c)
|
||||
{
|
@ -0,0 +1,11 @@
|
||||
--- a/argh/Makefile
|
||||
+++ b/argh/Makefile
|
||||
@@ -21,7 +21,7 @@
|
||||
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -fpic -o $@ -c $<
|
||||
|
||||
libargh.a: argh.o
|
||||
- ar -rc $@ $^
|
||||
+ $(AR) -rc $@ $^
|
||||
|
||||
include depfun.mak
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/htmlrecode/htmlrecode-1.2.0.ebuild,v 1.6 2009/09/23 16:35:46 patrick Exp $
|
||||
|
||||
DESCRIPTION="Recodes HTML file using a new character set"
|
||||
HOMEPAGE="http://bisqwit.iki.fi/source/htmlrecode.html"
|
||||
SRC_URI="http://bisqwit.iki.fi/src/arch/${P}.tar.bz2"
|
||||
|
||||
KEYWORDS="~x86 ~ppc"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=">=sys-apps/sed-4"
|
||||
RDEPEND=""
|
||||
|
||||
IUSE=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd ${S}
|
||||
|
||||
sed -i \
|
||||
-e "s:^\\(ARGHLINK.*-L.*\\):#\\1:" \
|
||||
-e "s:^#\\(ARGHLINK=.*a\\)$:\\1:" \
|
||||
Makefile
|
||||
|
||||
touch .depend argh/.depend
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C argh libargh.a || die
|
||||
emake htmlrecode || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin htmlrecode
|
||||
dodoc README.html
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/htmlrecode/htmlrecode-1.3.0-r1.ebuild,v 1.1 2010/11/19 02:09:40 sping Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Recodes HTML file using a new character set"
|
||||
HOMEPAGE="http://bisqwit.iki.fi/source/htmlrecode.html"
|
||||
SRC_URI="http://bisqwit.iki.fi/src/arch/${P}.tar.bz2"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sys-apps/sed-4"
|
||||
RDEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}"/${P}-misc-fixes.patch
|
||||
|
||||
sed -i \
|
||||
-e "s:^\\(ARGHLINK.*-L.*\\):#\\1:" \
|
||||
-e "s:^#\\(ARGHLINK=.*a\\)$:\\1:" \
|
||||
Makefile
|
||||
|
||||
touch .depend argh/.depend
|
||||
|
||||
for i in {,argh/}Makefile.sets ; do
|
||||
einfo "Patching compile flags in \${S}/$i ..."
|
||||
echo "CXXFLAGS=${CXXFLAGS}" >> "${i}"
|
||||
echo "LDFLAGS=${LDFLAGS}" >> "${i}"
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C argh libargh.a || die
|
||||
emake htmlrecode || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin htmlrecode || die
|
||||
dodoc README.html
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST kbibtex-0.3.tar.bz2 149749 RMD160 240e593952ed53b8956299c33b024022bafab66a SHA1 7386092298f6b6ba91621b58a8f6bc814d78bd21 SHA256 49be659c09c46afeea4851a20ae7ea89a838240f3a76d21634cb266301ddd2ed
|
||||
DIST kbibtex-0.4.tar.bz2 191138 RMD160 42654063d89441bae7ee85796cc06ee2ad5a2c4e SHA1 23eb1380bc737b57f35125d28d2066ebb19ed71b SHA256 9a7f969d645cebb50b653db811b6bba734eb93e44e72237e49c1a4dbc05700c3
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/kbibtex/kbibtex-0.3.ebuild,v 1.3 2011/09/09 20:19:49 dilfridge Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit versionator kde4-base
|
||||
|
||||
DESCRIPTION="BibTeX editor for KDE to edit bibliographies used with LaTeX"
|
||||
HOMEPAGE="http://home.gna.org/kbibtex/"
|
||||
SRC_URI="http://download.gna.org/${PN}/$(get_version_component_range 1-2)/${P/_/-}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
app-text/poppler[qt4]
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
virtual/tex-base
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-tex/bibtex2html"
|
||||
|
||||
S=${WORKDIR}/${P/_/-}
|
@ -1,2 +1,3 @@
|
||||
DIST pgbouncer-1.4.2.tgz 283204 RMD160 055796e23dd7029d3f4a2c882cf24399a5481cb1 SHA1 610198c3f2186d70267275f554e23bd43598e4b5 SHA256 e9916f08621f8ad4134840049a41783fa93d056905d445942f8aa1d2e5aa1eae
|
||||
DIST pgbouncer-1.5.1.tar.gz 334413 RMD160 9b4c3e29915cf2b16c582c49b61b8ef0bf770c1e SHA1 d1db99271a72051f5744a27af7a93ec203770c67 SHA256 d0634253d319e43ebc18cb0476ba28c47803eff5bae5c6e17f650dc031fc4434
|
||||
DIST pgbouncer-1.5.tar.gz 411488 RMD160 e7ba7eb3ee034191cbb1bab427e9eb1a5e4f6abb SHA1 bebb02b24d6083398c65877ddbc13b42eb326980 SHA256 408924d54794fcd63cd31284fa13a21266b2fc33c6b5e6be1eb1d91512261fee
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgbouncer/pgbouncer-1.5.1.ebuild,v 1.1 2012/04/18 20:02:44 titanofold Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="Lightweight connection pooler for PostgreSQL"
|
||||
HOMEPAGE="http://pgfoundry.org/projects/pgbouncer/"
|
||||
SRC_URI="mirror://postgresql/projects/pgFoundry/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="dev-libs/libevent"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup pgbouncer
|
||||
enewuser pgbouncer -1 -1 -1 pgbouncer
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local rundir=""
|
||||
[[ ! -d /run ]] && rundir="/var"
|
||||
|
||||
sed -i -e "s,${PN}.log,/var/log/${PN}/${PN}.log," \
|
||||
-e "s,${PN}.pid,/var/run/${PN}/${PN}.pid," \
|
||||
-e "s,etc/userlist.txt,/etc/userlist.txt," \
|
||||
-e "s,;unix_socket_dir = /tmp,unix_socket_dir = ${rundir}/run/${PN}.sock," \
|
||||
"${S}"/etc/pgbouncer.ini || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --enable-debug is only used to disable stripping
|
||||
econf \
|
||||
--enable-debug \
|
||||
$(use_enable debug cassert) \
|
||||
--docdir=/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
insinto /etc
|
||||
newins etc/pgbouncer.ini pgbouncer.conf
|
||||
newinitd "${FILESDIR}"/pgbouncer.initd "${PN}"
|
||||
|
||||
dodoc README NEWS AUTHORS
|
||||
dodoc doc/*.txt
|
||||
|
||||
dodir /var/log/pgbouncer/
|
||||
fowners pgbouncer:pgbouncer /var/log/pgbouncer/
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Please read the config.txt for Configuration Directives"
|
||||
einfo
|
||||
einfo "For Administration Commands, see:"
|
||||
einfo " man pgbouncer"
|
||||
einfo
|
||||
einfo "By default, PgBouncer does not have access to any database."
|
||||
einfo "GRANT the permissions needed for your application and make sure that it"
|
||||
einfo "exists in PgBouncer's auth_file."
|
||||
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST wrapper_3.2.3_src.tar.gz 3409483 RMD160 6638c8a1aef81f6b9c7dea006d185f08709c738d SHA1 92b5e7efab1f3341cd47170cba1d4d8b1ba3c766 SHA256 7e57b0103959fe3566def64b1dd3fef6537032a7e4b2a7811594f1db7d9f5859
|
||||
DIST wrapper_3.3.1_src.zip 381967 RMD160 009021f9d007ca025caf1f917ea9c96aa3dde4f5 SHA1 68331f9049ec456fe04996a25152e307cf1bd58e SHA256 5d3090c235e93bf5f502edd191b5aeb5d611743e8a4d1908fe308917ef601594
|
||||
DIST wrapper_3.3.3_src.tar.gz 300817 RMD160 bcf776f85c419169f49a32688df4e318c07a7127 SHA1 37e9f7454f975e9ea40db519e7e32917d1299e28 SHA256 63a39aa218c1a8146f75b98cf232396ed89c2ea09a395a5b83bc6ce306ce64fc
|
||||
DIST wrapper_3.5.14_src.tar.gz 499693 RMD160 a9a40a5c7366ad4556bf950d4fe8c75c47e484e1 SHA1 19f31c105f28c29443ab1d551182600ba2eba2f5 SHA256 dac159a3e68a54926deaa545b92d1ed54671ccc44a375b38d0fb514e1a846481
|
||||
|
@ -0,0 +1,62 @@
|
||||
diff -Naur wrapper_3.5.14_src/src/c/Makefile-linux-x86-32.make wrapper_3.5.14_src_patched/src/c/Makefile-linux-x86-32.make
|
||||
--- wrapper_3.5.14_src/src/c/Makefile-linux-x86-32.make 2012-02-08 21:14:51.000000000 +1300
|
||||
+++ wrapper_3.5.14_src_patched/src/c/Makefile-linux-x86-32.make 2012-04-18 23:47:55.000000000 +1200
|
||||
@@ -7,7 +7,7 @@
|
||||
# license agreement you entered into with Tanuki Software.
|
||||
# http://wrapper.tanukisoftware.com/doc/english/licenseOverview.html
|
||||
|
||||
-COMPILE = gcc -O3 -fPIC -Wall --pedantic -DLINUX -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE
|
||||
+COMPILE = $(CC) -DLINUX -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE
|
||||
|
||||
INCLUDE=$(JAVA_HOME)/include
|
||||
|
||||
@@ -33,14 +33,14 @@
|
||||
if test ! -d .deps; then mkdir .deps; fi
|
||||
|
||||
wrapper: $(wrapper_SOURCE)
|
||||
- $(COMPILE) -lm -pthread $(wrapper_SOURCE) -o $(BIN)/wrapper
|
||||
+ $(COMPILE) $(CFLAGS) $(LDFLAGS) -pthread $(wrapper_SOURCE) -o $(BIN)/wrapper -lm
|
||||
|
||||
libwrapper.so: $(libwrapper_so_OBJECTS)
|
||||
- ${COMPILE} -shared $(libwrapper_so_OBJECTS) -o $(LIB)/libwrapper.so
|
||||
+ ${COMPILE} $(LDFLAGS) -shared -fPIC -o $(LIB)/libwrapper.so $(libwrapper_so_OBJECTS) -lm
|
||||
|
||||
%.o: %.c
|
||||
- @echo '$(COMPILE) -c $<'; \
|
||||
- $(COMPILE) $(DEFS) -Wp,-MD,.deps/$(*F).pp -c $<
|
||||
+ @echo '$(COMPILE) $(CFLAGS) -c $<'; \
|
||||
+ $(COMPILE) $(CFLAGS) $(DEFS) -Wp,-MD,.deps/$(*F).pp -c $<
|
||||
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
||||
tr ' ' '\012' < .deps/$(*F).pp \
|
||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
||||
diff -Naur wrapper_3.5.14_src/src/c/Makefile-linux-x86-64.make wrapper_3.5.14_src_patched/src/c/Makefile-linux-x86-64.make
|
||||
--- wrapper_3.5.14_src/src/c/Makefile-linux-x86-64.make 2012-02-08 21:14:51.000000000 +1300
|
||||
+++ wrapper_3.5.14_src_patched/src/c/Makefile-linux-x86-64.make 2012-04-18 23:50:06.000000000 +1200
|
||||
@@ -7,7 +7,7 @@
|
||||
# license agreement you entered into with Tanuki Software.
|
||||
# http://wrapper.tanukisoftware.com/doc/english/licenseOverview.html
|
||||
|
||||
-COMPILE = gcc -O3 -fPIC -Wall --pedantic -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE
|
||||
+COMPILE = $(CC) -fPIC -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE
|
||||
|
||||
INCLUDE=$(JAVA_HOME)/include
|
||||
|
||||
@@ -33,14 +33,14 @@
|
||||
if test ! -d .deps; then mkdir .deps; fi
|
||||
|
||||
wrapper: $(wrapper_SOURCE)
|
||||
- $(COMPILE) -lm -pthread $(wrapper_SOURCE) -o $(BIN)/wrapper
|
||||
+ $(COMPILE) $(CFLAGS) $(LDFLAGS) -pthread $(wrapper_SOURCE) -o $(BIN)/wrapper -lm
|
||||
|
||||
libwrapper.so: $(libwrapper_so_OBJECTS)
|
||||
- ${COMPILE} -shared $(libwrapper_so_OBJECTS) -o $(LIB)/libwrapper.so
|
||||
+ ${COMPILE} $(LDFLAGS) -shared -o $(LIB)/libwrapper.so $(libwrapper_so_OBJECTS) -lm
|
||||
|
||||
%.o: %.c
|
||||
- @echo '$(COMPILE) -c $<'; \
|
||||
- $(COMPILE) $(DEFS) -Wp,-MD,.deps/$(*F).pp -c $<
|
||||
+ @echo '$(COMPILE) $(CFLAGS) -c $<'; \
|
||||
+ $(COMPILE) $(CFLAGS) $(DEFS) -Wp,-MD,.deps/$(*F).pp -c $<
|
||||
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
||||
tr ' ' '\012' < .deps/$(*F).pp \
|
||||
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-service-wrapper/java-service-wrapper-3.5.14.ebuild,v 1.1 2012/04/18 12:04:26 ali_bush Exp $
|
||||
|
||||
EAPI="2"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit base java-pkg-2 java-ant-2 eutils
|
||||
|
||||
MY_PN="wrapper"
|
||||
MY_P="${MY_PN}_${PV}_src"
|
||||
DESCRIPTION="A wrapper that makes it possible to install a Java Application as daemon."
|
||||
HOMEPAGE="http://wrapper.tanukisoftware.org/"
|
||||
SRC_URI="http://${MY_PN}.tanukisoftware.org/download/${PV}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="tanuki-community"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4"
|
||||
|
||||
# TODO test with 1.3
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
test? (
|
||||
dev-java/ant-junit
|
||||
=dev-java/junit-3*
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-3.5.14-as-needed.patch"
|
||||
#Reported upstream http://sourceforge.net/tracker2/?func=detail&aid=2299391&group_id=39428&atid=425189
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
BITS="32"
|
||||
use amd64 && BITS="64"
|
||||
eant -Dbits=${BITS} jar compile-c
|
||||
if use doc; then
|
||||
javadoc -d api -sourcepath src/java/ -subpackages org \
|
||||
|| die "javadoc failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ANT_TASKS="ant-junit ant-nodeps" eant -Dbits="${BITS}" test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar lib/wrapper.jar
|
||||
java-pkg_doso lib/libwrapper.so
|
||||
|
||||
dobin bin/wrapper
|
||||
dodoc doc/{readme.txt,revisions.txt} || die
|
||||
|
||||
use doc && dohtml -r doc/english/
|
||||
use doc && java-pkg_dojavadoc api
|
||||
use source && java-pkg_dosrc src/java/*
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
diff -Naur nailgun-0.7.1/Makefile nailgun-0.7.1_patches/Makefile
|
||||
--- nailgun-0.7.1/Makefile 2004-11-25 11:00:22.000000000 +1300
|
||||
+++ nailgun-0.7.1_patches/Makefile 2012-04-19 07:22:16.000000000 +1200
|
||||
@@ -5,13 +5,11 @@
|
||||
#
|
||||
# Marty Lamb
|
||||
|
||||
-CC=gcc
|
||||
WIN32_CC=/usr/local/mingw32/bin/mingw32-gcc
|
||||
-CFLAGS=-Wall -pedantic -s -O3
|
||||
|
||||
ng: src/c/ng.c
|
||||
@echo "Building ng client. To build a Windows binary, type 'make ng.exe'"
|
||||
- ${CC} ${CFLAGS} -o ng src/c/ng.c
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -o ng src/c/ng.c
|
||||
|
||||
ng.exe: src/c/ng.c
|
||||
# any idea why the command line is so sensitive to the order of
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/nailgun/nailgun-0.7.1-r1.ebuild,v 1.1 2012/04/18 19:31:12 ali_bush Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="a client, protocol, and server for running Java apps without incurring the JVM startup overhead"
|
||||
HOMEPAGE="http://martiansoftware.com/nailgun/index.html"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
!app-editors/ng"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
dev-java/java-getopt:1
|
||||
dev-java/bcel:0
|
||||
dev-java/jakarta-oro:2.0
|
||||
dev-java/log4j:0
|
||||
app-arch/unzip
|
||||
dev-java/junit:0
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
)"
|
||||
|
||||
#need jcoverage
|
||||
RESTRICT="test"
|
||||
|
||||
java_prepare() {
|
||||
rm -vf ng* beansh
|
||||
find . -iname '*.jar' -delete
|
||||
|
||||
epatch "${FILESDIR}/${PV}-r1-Makefile.patch"
|
||||
|
||||
sed -i '/<arg line="ng.exe/d' build.xml || die
|
||||
sed -i 's/depends="test"/depends="compile"/' build.xml || die
|
||||
|
||||
java-pkg_jar-from --into tools/lib --build-only java-getopt-1 \
|
||||
gnu.getopt.jar java-getopt-1.0.10.jar
|
||||
java-pkg_jar-from --into tools/lib --build-only junit junit.jar
|
||||
java-pkg_jar-from --into tools/lib --build-only bcel bcel.jar \
|
||||
bcel-5.1.jar
|
||||
java-pkg_jar-from --into tools/lib --build-only jakarta-oro-2.0 \
|
||||
jakarta-oro.jar jakarta-oro-2.0.8.jar
|
||||
java-pkg_jar-from --into tools/lib --build-only log4j log4j.jar \
|
||||
log4j-1.2.8.jar
|
||||
}
|
||||
|
||||
src_test() {
|
||||
WANT_TASKS="ant-junit" eant test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ng
|
||||
# Should we have a dolauncher?
|
||||
|
||||
java-pkg_newjar "dist/${P}.jar"
|
||||
use doc && java-pkg_dojavadoc docs/api
|
||||
use source && java-pkg_dosrc src/java/prod/*
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST closure-compiler-bin-20120305.tar.gz 4905502 RMD160 6317576c731e5429df7721fafc1c69bef0b04bfb SHA1 99ef86cd7863a35ee25a85764d0dc8b1fb6b6fc3 SHA256 593037f0f4e8df99293384559d64c3f89f50cecbd36f9a8755b3d4ddeeea89f2
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/closure-compiler-bin/closure-compiler-bin-20120305.ebuild,v 1.1 2012/04/18 15:43:04 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="JavaScript optimizing compiler"
|
||||
HOMEPAGE="http://code.google.com/p/closure-compiler/"
|
||||
SRC_URI="http://closure-compiler.googlecode.com/files/compiler-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
java-pkg_jarinto /opt/${PN}-${SLOT}/lib
|
||||
java-pkg_newjar compiler.jar ${PN}.jar
|
||||
java-pkg_dolauncher \
|
||||
${PN%-bin} \
|
||||
--jar /opt/${PN}-${SLOT}/lib/${PN}.jar \
|
||||
-into /opt
|
||||
dodoc README
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>vapier@gentoo.org</email>
|
||||
<description>make whatever changes you want except for removal -- i need a compiler that avoids installing a jdk</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,5 +1,6 @@
|
||||
DIST v8-3.10.0.5.tar.bz2 9971192 RMD160 dde2e9f23e27f027014494742f6823315a938190 SHA1 84452ac32e49a5eea563a0ca64b1f44219f55bb8 SHA256 e2691ee5be3253b81742c00f11dcdac9d07557d1ebdd8af4653ba7ddc754e1c0
|
||||
DIST v8-3.10.2.1.tar.bz2 10048930 RMD160 dc248baee7a586d0410aa1f210b001c81547b05d SHA1 57a422ccce0ce0c1e62a23dfc6e0502bbe1617c4 SHA256 fd4d0a9e3ba7e59d209b3681cafd872de0bce616f385df2889a51cae44d8c8d5
|
||||
DIST v8-3.8.9.16.tar.bz2 9863957 RMD160 9a9c4133db4b3a1767dfde5fb15960f7c80d6f48 SHA1 a0f66148665b36ec8817c7ce78fa785ae76d63fb SHA256 e653e9f4731a16881742c648a4d5d70d2f4f88919247dd4e08e7bff95e7187b4
|
||||
DIST v8-3.8.9.18.tar.bz2 9866059 RMD160 1bf90347b5eeac74aa2d5c2af5e0cfbaec10f869 SHA1 1fd8f9337f3ba0403758289f463206cd96bf20ee SHA256 b4949c1c0af7337bf4de1f2798febed5002e892bbc813f8c4acf459569e8ad99
|
||||
DIST v8-3.9.24.12.tar.bz2 9975483 RMD160 d2789a58e7b027964543a82c857d84a8290c53cc SHA1 08e62a33822284c3a464e7af921b468d72fa54a8 SHA256 0f2f5966ad0d30976a95f5707f745ef93f56ad4be0ba7b9d4a32242f978c5cd6
|
||||
DIST v8-3.9.24.7.tar.bz2 9969417 RMD160 d300115b7c1b0fd00ff19f9941b3415a272419b0 SHA1 d0e56af5a89242f34237fc539b88a5b6aea3880a SHA256 a3e836664fb7155335272250d64ddd4a4cd0eee4f7a26f95e131550399524f04
|
||||
DIST v8-3.9.24.14.tar.bz2 9969521 RMD160 0c3bf261e21fa534cf8cfa8128bbd33cd7a157bb SHA1 e6b43b4e797c7c1dc2bf6d11b0af3286ff964e47 SHA256 157a3de1cb9baed3c8fc6dde75e4c17fc82e4813bfe0b03a1729762a9442f320
|
||||
|
@ -0,0 +1,118 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.10.2.1.ebuild,v 1.1 2012/04/18 17:59:16 phajdan.jr Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
|
||||
inherit eutils multilib pax-utils python toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="Google's open source JavaScript engine"
|
||||
HOMEPAGE="http://code.google.com/p/v8"
|
||||
SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC CXX RANLIB
|
||||
|
||||
# Use target arch detection logic from bug #354601.
|
||||
case ${CHOST} in
|
||||
i?86-*) myarch=ia32 ;;
|
||||
x86_64-*)
|
||||
if [[ $ABI = x86 ]] ; then
|
||||
myarch=ia32
|
||||
else
|
||||
myarch=x64
|
||||
fi ;;
|
||||
arm*-*) myarch=arm ;;
|
||||
*) die "Unrecognized CHOST: ${CHOST}"
|
||||
esac
|
||||
mytarget=${myarch}.release
|
||||
|
||||
soname_version="$(get_version_component_range 1-3)"
|
||||
|
||||
local snapshot=on
|
||||
host-is-pax && snapshot=off
|
||||
|
||||
# TODO: Add console=readline option once implemented upstream
|
||||
# http://code.google.com/p/v8/issues/detail?id=1781
|
||||
|
||||
emake V=1 \
|
||||
library=shared \
|
||||
werror=no \
|
||||
soname_version=${soname_version} \
|
||||
snapshot=${snapshot} \
|
||||
${mytarget} || die
|
||||
|
||||
pax-mark m out/${mytarget}/{cctest,d8,shell} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local arg testjobs
|
||||
for arg in ${MAKEOPTS}; do
|
||||
case ${arg} in
|
||||
-j*) testjobs=${arg#-j} ;;
|
||||
--jobs=*) testjobs=${arg#--jobs=} ;;
|
||||
esac
|
||||
done
|
||||
|
||||
tools/test-wrapper-gypbuild.py \
|
||||
-j${testjobs:-1} \
|
||||
--arch-and-mode=${mytarget} \
|
||||
--no-presubmit \
|
||||
--progress=dots || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
doins -r include || die
|
||||
|
||||
dobin out/${mytarget}/d8 || die
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# buildsystem is too horrific to get this built correctly
|
||||
mv out/${mytarget}/lib.target/libv8.so.${soname_version} \
|
||||
out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
fi
|
||||
|
||||
dolib out/${mytarget}/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname) || die
|
||||
|
||||
dodoc AUTHORS ChangeLog || die
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserved_libs=()
|
||||
local baselib candidate
|
||||
|
||||
eshopts_push -s nullglob
|
||||
|
||||
for candidate in "${EROOT}usr/$(get_libdir)"/libv8$(get_libname).*; do
|
||||
baselib=${candidate##*/}
|
||||
if [[ ! -e "${ED}usr/$(get_libdir)/${baselib}" ]]; then
|
||||
preserved_libs+=( "${EPREFIX}/usr/$(get_libdir)/${baselib}" )
|
||||
fi
|
||||
done
|
||||
|
||||
eshopts_pop
|
||||
|
||||
if [[ ${#preserved_libs[@]} -gt 0 ]]; then
|
||||
preserve_old_lib "${preserved_libs[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${#preserved_libs[@]} -gt 0 ]]; then
|
||||
preserve_old_lib_notify "${preserved_libs[@]}"
|
||||
fi
|
||||
}
|
@ -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/expat/expat-2.1.0-r1.ebuild,v 1.1 2012/04/18 20:08:44 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils libtool multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="XML parsing libraries"
|
||||
HOMEPAGE="http://expat.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/expat/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="elibc_FreeBSD examples static-libs unicode"
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize
|
||||
epunt_cxx
|
||||
|
||||
mkdir "${S}"-build{,u,w} || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="$(use_enable static-libs static)"
|
||||
|
||||
pushd "${S}"-build >/dev/null
|
||||
ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
|
||||
if use unicode; then
|
||||
pushd "${S}"-buildu >/dev/null
|
||||
CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${S}"-buildw >/dev/null
|
||||
CFLAGS="${CFLAGS} -fshort-wchar" CPPFLAGS="${CPPFLAGS} -DXML_UNICODE_WCHAR_T" ECONF_SOURCE="${S}" econf ${myconf}
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd "${S}"-build >/dev/null
|
||||
emake
|
||||
popd >/dev/null
|
||||
|
||||
if use unicode; then
|
||||
pushd "${S}"-buildu >/dev/null
|
||||
emake buildlib LIBRARY=libexpatu.la
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${S}"-buildw >/dev/null
|
||||
emake buildlib LIBRARY=libexpatw.la
|
||||
popd >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc Changes README
|
||||
dohtml doc/*
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.c
|
||||
fi
|
||||
|
||||
pushd "${S}"-build >/dev/null
|
||||
emake install DESTDIR="${D}"
|
||||
popd >/dev/null
|
||||
|
||||
if use unicode; then
|
||||
pushd "${S}"-buildu >/dev/null
|
||||
emake installlib DESTDIR="${D}" LIBRARY=libexpatu.la
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${S}"-buildw >/dev/null
|
||||
emake installlib DESTDIR="${D}" LIBRARY=libexpatw.la
|
||||
popd >/dev/null
|
||||
|
||||
pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
|
||||
cp expat.pc expatu.pc
|
||||
sed -i -e '/^Libs/s:-lexpat:&u:' expatu.pc || die
|
||||
cp expat.pc expatw.pc
|
||||
sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
|
||||
popd >/dev/null
|
||||
fi
|
||||
|
||||
rm -f "${ED}"usr/lib*/libexpat{,u,w}.la
|
||||
|
||||
# libgeom in /lib and ifconfig in /sbin require libexpat on FreeBSD since
|
||||
# we stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
|
||||
use elibc_FreeBSD && gen_usr_ldscript -a expat
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue