parent
f46cf72532
commit
a6563654dc
Binary file not shown.
Binary file not shown.
@ -1,19 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2005 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# user to run as, root strongly discouraged
|
||||
# user should have /bin/false for a shell
|
||||
# but file access into /var
|
||||
CHUID='adm:nobody'
|
||||
|
||||
# port to listen on
|
||||
CANCD_PORT=6667
|
||||
|
||||
# directory to output to
|
||||
CRASH_DIR=/var/crash
|
||||
|
||||
# one file per minute, one dir per host/date
|
||||
#CRASH_FORMAT="%Q/%Y-%m-%d/%H:%M.log"
|
||||
# one file per day, one dir per host
|
||||
CRASH_FORMAT="%Q/%Y-%m-%d.log"
|
@ -0,0 +1,14 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# port to listen on
|
||||
CANCD_PORT=6667
|
||||
|
||||
# directory to output to
|
||||
CANCD_LOG_DIR=/var/log/cancd
|
||||
|
||||
# one file per minute, one dir per host/date
|
||||
#CANCD_LOG_FORMAT="%Q/%Y-%m-%d/%H:%M.log"
|
||||
# one file per day, one dir per host
|
||||
CANCD_LOG_FORMAT="%Q/%Y-%m-%d.log"
|
@ -1,22 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
mkdir -p ${CRASH_DIR}
|
||||
chown ${CHUID} ${CRASH_DIR}
|
||||
chmod 700 ${CRASH_DIR}
|
||||
ebegin "Starting cancd"
|
||||
start-stop-daemon --start --quiet --user ${CHUID} --exec /usr/sbin/cancd -- -p ${CANCD_PORT} -l "${CRASH_DIR}" -o "${CRASH_FORMAT}"
|
||||
eend ${?}
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping cancd"
|
||||
start-stop-daemon --stop --quiet --exec /usr/sbin/cancd
|
||||
eend ${?}
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
command="/usr/sbin/cancd"
|
||||
command_args="-p ${CANCD_PORT}
|
||||
-l ${CANCD_LOG_DIR}
|
||||
-o ${CANCD_LOG_FORMAT}"
|
||||
command_user="cancd"
|
||||
|
||||
# cancd daemonizes itself, but doesn't write a PID file and doesn't
|
||||
# have an option to run in the foreground. So the best we can do
|
||||
# is try to match the process name when stopping it.
|
||||
procname="cancd"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath --directory --owner cancd --mode 0700 "${CANCD_LOG_DIR}"
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST keepassxc-2.1.4.tar.gz 3345520 BLAKE2B d599321a412abc05ad0a911b8fe4d14e840d491e59d3f33172a5e6b10812fe8e00d03f23abcc9637be1b8c16b5c7ec640bbc2af63059dc0dd25c99f0bdacfce9 SHA512 48030eb6df595c73644f43d6222654c5f76962ae5aa2f44ca4dc9c8e45726380c6be4300af7a8279b07c06b70912da444f2b17c5b6c37a91cb239d695e7518d8
|
||||
DIST keepassxc-2.2.1.tar.gz 3880551 BLAKE2B 9580e263865d186d1f6ad81152ba406ed8ef3d7c9356141392b5b2cd3bc42af57eef7db01028694471097546c621896f2024ba029e10bb2da99bb5f22360d773 SHA512 bce2a0d6d3ad32bb507afac22670b34c37f5e36de6a30bb7c9b5a523c12bad59d95a414b90608451660fb9ce224279c7658e1892f2b99c673908449cc86e5595
|
||||
DIST keepassxc-2.2.2.tar.gz 3885990 BLAKE2B 2eb70217a4b73daac3f8eaf797c2c5c5dc6b2d8b7a76a91f45a036da034335937f3f21e48590d8493dcaa4f6079897440338650f14e75fa1884585d36d946bb4 SHA512 73a167a79af56d4b6dbef7ce4050ca599f2c107a5c8af3b9e28241504572988b2d8b258135b7a34dfceae5a18cbda26b97ed513bbde14fe3d38e3f41b882d34b
|
||||
DIST keepassxc-2.2.4.tar.gz 3895421 BLAKE2B 0de35f394dae8cf8d70f75d73783965826cc03ac9f0921afa547d02e61cb04be167891d92aa0db09f007c47e96a5a7e5793772c50de14bf65a7f80a603ca6611 SHA512 f3308138d63b65a8b384a52f4723507be921d7bbf19031724886fcd12266bf2683326f5531c8f665b0e98ff63cd97251694199ef748191e59a5a8cceb3710025
|
||||
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
inherit eutils systemd
|
||||
|
||||
DESCRIPTION="A highly configurable replacement for syslogd/klogd"
|
||||
HOMEPAGE="http://metalog.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="unicode"
|
||||
|
||||
RDEPEND=">=dev-libs/libpcre-3.4"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
app-arch/xz-utils"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.9-metalog-conf.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with unicode)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc AUTHORS ChangeLog README NEWS metalog.conf
|
||||
|
||||
into /
|
||||
dosbin "${FILESDIR}"/consolelog.sh || die
|
||||
|
||||
newinitd "${FILESDIR}"/metalog.initd metalog
|
||||
newconfd "${FILESDIR}"/metalog.confd metalog
|
||||
systemd_newunit "${FILESDIR}/${PN}.service-r1" "${PN}.service"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -d "${ROOT}"/etc/metalog ]] && [[ ! -e "${ROOT}"/etc/metalog.conf ]] ; then
|
||||
mv -f "${ROOT}"/etc/metalog/metalog.conf "${ROOT}"/etc/metalog.conf
|
||||
rmdir "${ROOT}"/etc/metalog
|
||||
export MOVED_METALOG_CONF=true
|
||||
else
|
||||
export MOVED_METALOG_CONF=false
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ${MOVED_METALOG_CONF} ; then
|
||||
ewarn "The default metalog.conf file has been moved"
|
||||
ewarn "from /etc/metalog/metalog.conf to just"
|
||||
ewarn "/etc/metalog.conf. If you had a standard"
|
||||
ewarn "setup, the file has been moved for you."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST defluff-0.3.2-linux-i686.zip 14258 SHA256 582bade12c2462d6f9370b5cc4139619ca9f0ff7451d298353d406e805db0256 SHA512 8befa4c0f4daefd1adbafeddcec65bb808859df6df9c8d43d6a0aaa797a395e3c18b682b955d7e0271dab84da0ce8323d8dc7d17efa2978db7b94e1467fca3f9 WHIRLPOOL 8b57c07f99abdc9a7b4a9e318710c64478ed76f1e28e0cb4d8218cb30d1797f161e19f8b6b83217305676ed18154079fc2333eaf5a7174a40b136195c1a3f9d7
|
||||
DIST defluff-0.3.2-linux-x86_64.zip 15601 SHA256 a9c6cbc2c0df8401e6bd694d635a5dae9cea07458239a0da814d35c8b90388f6 SHA512 15c0355eb926541a7b9f55880c9e7196fdab1da7117d3dc8fb392c413a09938e759ec95b1759ef870cd4b6c005f110245045a1786e5a4accfa5be83342485f67 WHIRLPOOL c861f3848bfa15fa6f839e5d1ddd2c67c7e74a1502cf5deb8319043b7e2a9120676e47e85531394584110741a224c83c86e988183e41a32fef345484f1ff393a
|
||||
DIST defluff-0.3.2-linux-i686.zip 14258 BLAKE2B 48427ee0448d679efb678b4d2addf12facc80fba5ffd3c86cbf7fbe9a0d9fdbb3d810cd2f993134180a7d59c3fbe9b8a2603b59affe5a06ad9af8c181d097ecf SHA512 8befa4c0f4daefd1adbafeddcec65bb808859df6df9c8d43d6a0aaa797a395e3c18b682b955d7e0271dab84da0ce8323d8dc7d17efa2978db7b94e1467fca3f9
|
||||
DIST defluff-0.3.2-linux-x86_64.zip 15601 BLAKE2B 750caba1e51d593907ec0a24ce4cc6d0a918d4144ab0790c9810d42bbd7bb8ab9a8bb5efca32db85a67a3bd448e2f055bca43733dacedfb1db3fda429ca6b792 SHA512 15c0355eb926541a7b9f55880c9e7196fdab1da7117d3dc8fb392c413a09938e759ec95b1759ef870cd4b6c005f110245045a1786e5a4accfa5be83342485f67
|
||||
|
@ -1 +1,2 @@
|
||||
DIST tar-1.29.tar.bz2 2715993 BLAKE2B 656b77a49c463ec7ade87a97b71469dadbf01551131bdf0cfa895b7b2a7d073a4cd51e9bec4169b134d83155aca18af1a89ddb5d14cb1dc0d9968184870d69f3 SHA512 d2cea9892892dfa0c8efd390303b75dccc085c4895e07ced684074592d69729916d6ea12475aa6aff873d076a729bb7dc2499c233edcfb9c7e8e8995481eef3b
|
||||
DIST tar-1.30.tar.bz2 2858639 BLAKE2B 82a8b1fbf1eb5c0347b2f8cf35854498e2955eb85eaf041ec44a38bbd9bc82cc7184d5cb858f9905f503c9178ec6d0ed50be2dc27be9933b29e0a18b8e6c0b8f SHA512 07a1157430898fee1a2c6fd3853d59d4ae13998db685669c8c702f73d2466eeb9892f84a5f0495bfe088c8190a643a99ac9f2cb16b85c9fe3ae0d83cc0f338e8
|
||||
|
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST bacula-5.2.13.tar.gz 4243395 BLAKE2B 5cad5d2675f8a2dd28a76c1a4e4c649d1bf9b031e5e4febfb537a72a0481c2f7c3e80d39b84657238bc147b58174ce544749aed70882f66678edfaa2fb51ac2f SHA512 dfdff353f5b6ed4d85013dc292526706bbd67066f7057a114012172926c819c8df1eb8779166d5a90db3a49a5584f0a8daf7566cc93cf4fa3f1bdda245b55cf0
|
||||
DIST bacula-7.0.5.tar.gz 3216406 BLAKE2B 3b0263e254122362e745ac1f8d821f862d0be63cdd0b314c7eb915f52ad07296218ec7c5679a19993c38d26a5ba4146fbc8152bd04c7ae3b9204e41e5104d3b0 SHA512 df7908769fd13a1cb2e0491d3773577db40c0f1c010b887c6dc6d7e0bc0b408fbfc260e6d5a2a34975e5b424152c7f558b33aeedea45f366636739295641394b
|
||||
DIST bacula-7.4.4.tar.gz 3312271 BLAKE2B 9c68a3e0d2b610bb65137d15533de272eda2ffc22ba6e73ff9b8631a5d8ca45fc5595928eeb28a577a8e055ccaf82d275424c756b7f4abf9690175b20c75d847 SHA512 37f1fd0d91f027fc12cd43b5e575abf0f8d9ccad805775bd308a06cff843b77cfc599e0d45eaf83536c1be669a5189c35744b5774adaefa606fed31d63888029
|
||||
DIST bacula-7.4.6.tar.gz 3312673 BLAKE2B d614b3b58970cfeda2de66108c8663a7f42da8302ac6b19c77a70a81830b5f93c13913dd930d3a35abfbc6910a7dd4757f4ed2a9a2ac70ea3bb5ec0ca986038a SHA512 2d8c47d184dd5d611bf3d209f0d39b0d2e60763bbb757a393c1ddb2fb361de855a4d53d4cbd76f4fda555cc7c069e79eefcb57fc01389a98dec6dc7815d0cde7
|
||||
DIST bacula-7.4.7.tar.gz 3312991 BLAKE2B 5ce6306613ac649e0e4fff97d967f174640c3c478a408f003e031a265c83a8b28b3212fa798d9724759c45f2efa5b7c3a5edc607f1be9e3e3d1bfb4d94bfe854 SHA512 2dcffe3f02de8e7dedc11f58aeca58fb95486757579065564753376d3fab7699d7577c189d0d34f8490706d773cd6a95d42ef1f35facb95e6fff10dad085c0d0
|
||||
DIST bacula-9.0.3.tar.gz 3951688 BLAKE2B ca7972ff6910f63ae4eb4b828322d9137534462b57fbbac9e110d02795a46d9186d1877e7a17b4c08d671e12ee35c7cf025fbe034c865e5eeeac10c01303a246 SHA512 025cdcc3d92f2674cda7ed2f7d050a8826daf71d0f435d2b34b2514d3f03ab09a299a1882d9d9d51134445f8ba71bb38dc3fabf12d28877604a1b88d92623f7f
|
||||
DIST bacula-9.0.6.tar.gz 3984215 BLAKE2B 89d0c83ae1ffd2c2677f5882eebc0feac12780a78f9fcf6d30e44981a09f29dd8bd3f0e55ba963a0ed03099117f2d645cf0402cf528fe939d88210ed547ea157 SHA512 a85b8e089951eb9949c9906af45f204a69cd4a7d2e0f29439b74a29ade20c05a49a8c38665189a46c0ad07af0c97380485e10da6aa53dfc47a22934f589f265e
|
||||
|
@ -1,402 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils multilib qt4-r2 systemd user libtool
|
||||
|
||||
MY_PV=${PV/_beta/-b}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Featureful client/server network backup suite"
|
||||
HOMEPAGE="http://www.bacula.org/"
|
||||
SRC_URI="mirror://sourceforge/bacula/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc sparc x86"
|
||||
IUSE="acl bacula-clientonly bacula-nodir bacula-nosd examples ipv6 logwatch mysql postgres qt4 readline +sqlite ssl static tcpd vim-syntax X"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/gmp:0
|
||||
!bacula-clientonly? (
|
||||
postgres? ( dev-db/postgresql:*[threads] )
|
||||
mysql? ( virtual/mysql )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
!bacula-nodir? ( virtual/mta )
|
||||
)
|
||||
qt4? (
|
||||
dev-qt/qtsvg:4
|
||||
x11-libs/qwt:5
|
||||
)
|
||||
logwatch? ( sys-apps/logwatch )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
readline? ( sys-libs/readline:0 )
|
||||
static? (
|
||||
acl? ( virtual/acl[static-libs] )
|
||||
sys-libs/zlib[static-libs]
|
||||
dev-libs/lzo[static-libs]
|
||||
sys-libs/ncurses:=[static-libs]
|
||||
ssl? ( dev-libs/openssl:0[static-libs] )
|
||||
)
|
||||
!static? (
|
||||
acl? ( virtual/acl )
|
||||
sys-libs/zlib
|
||||
dev-libs/lzo
|
||||
sys-libs/ncurses:=
|
||||
ssl? ( dev-libs/openssl:0 )
|
||||
)"
|
||||
RDEPEND="${DEPEND}
|
||||
!bacula-clientonly? (
|
||||
!bacula-nosd? (
|
||||
sys-block/mtx
|
||||
app-arch/mt-st
|
||||
)
|
||||
)
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
|
||||
|
||||
REQUIRED_USE="!bacula-clientonly? ( ^^ ( mysql postgres sqlite ) )
|
||||
static? ( bacula-clientonly )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
#XOR and !bacula-clientonly controlled by REQUIRED_USE
|
||||
use mysql && export mydbtype="mysql"
|
||||
use postgres && export mydbtype="postgresql"
|
||||
use sqlite && export mydbtype="sqlite3"
|
||||
|
||||
# create the daemon group and user
|
||||
if [ -z "$(egetent group bacula 2>/dev/null)" ]; then
|
||||
enewgroup bacula
|
||||
einfo
|
||||
einfo "The group 'bacula' has been created. Any users you add to this"
|
||||
einfo "group have access to files created by the daemons."
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use bacula-clientonly && use static && use qt4; then
|
||||
ewarn
|
||||
ewarn "Building statically linked 'bat' is not supported. Ignorig 'qt4' useflag."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
if ! use bacula-clientonly; then
|
||||
if [ -z "$(egetent passwd bacula 2>/dev/null)" ]; then
|
||||
enewuser bacula -1 -1 /var/lib/bacula bacula,disk,tape,cdrom,cdrw
|
||||
einfo
|
||||
einfo "The user 'bacula' has been created. Please see the bacula manual"
|
||||
einfo "for information about running bacula as a non-root user."
|
||||
einfo
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# adjusts default configuration files for several binaries
|
||||
# to /etc/bacula/<config> instead of ./<config>
|
||||
pushd src >&/dev/null || die
|
||||
for f in console/console.c dird/dird.c filed/filed.c \
|
||||
stored/bcopy.c stored/bextract.c stored/bls.c \
|
||||
stored/bscan.c stored/btape.c stored/stored.c \
|
||||
qt-console/main.cpp; do
|
||||
sed -i -e 's|^\(#define CONFIG_FILE "\)|\1/etc/bacula/|g' "${f}" \
|
||||
|| die "sed on ${f} failed"
|
||||
done
|
||||
popd >&/dev/null || die
|
||||
|
||||
# bug 466688 drop deprecated categories from Desktop file
|
||||
sed -i -e 's/Application;//' scripts/bat.desktop.in || die
|
||||
|
||||
# bug 466690 Use CXXFLAGS instead of CFLAGS
|
||||
sed -i -e 's/@CFLAGS@/@CXXFLAGS@/' autoconf/Make.common.in || die
|
||||
|
||||
# drop automatic install of unneeded documentation (for bug 356499)
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-doc.patch
|
||||
|
||||
# bug #310087
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-as-needed.patch
|
||||
|
||||
# bug #311161
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-lib-search-path.patch
|
||||
|
||||
# bat needs to respect LDFLAGS
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-ldflags.patch
|
||||
|
||||
# bug #328701
|
||||
epatch "${FILESDIR}"/5.2.3/${PN}-5.2.3-openssl-1.patch
|
||||
|
||||
epatch "${FILESDIR}"/7.0.2/${PN}-7.0.2-fix-static.patch
|
||||
|
||||
# do not strip binaries
|
||||
sed -i -e "s/strip /# strip /" src/filed/Makefile.in || die
|
||||
sed -i -e "s/strip /# strip /" src/console/Makefile.in || die
|
||||
|
||||
# fix file not found error during make depend
|
||||
epatch "${FILESDIR}"/7.0.2/${PN}-7.0.2-depend.patch
|
||||
|
||||
# Fix systemd unit files:
|
||||
# bug 497748
|
||||
sed -i -e '/Requires/d' platforms/systemd/*.service.in || die
|
||||
sed -i -e '/StandardOutput/d' platforms/systemd/*.service.in || die
|
||||
# bug 504370
|
||||
sed -i -e '/Alias=bacula-dir/d' platforms/systemd/bacula-dir.service.in || die
|
||||
|
||||
# Fix tmpfiles config for client-only (no bacula user) install
|
||||
# NOTE: Change only first occurance (user) not second (group)
|
||||
# bug 528398
|
||||
if use bacula-clientonly; then
|
||||
sed -i -e 's/bacula/root/' platforms/systemd/bacula.conf.in || die
|
||||
fi
|
||||
|
||||
# fix bundled libtool (bug 466696)
|
||||
# But first move directory with M4 macros out of the way.
|
||||
# It is only needed by i autoconf and gives errors during elibtoolize.
|
||||
mv autoconf/libtool autoconf/libtool1 || die
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=''
|
||||
|
||||
if use bacula-clientonly; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable bacula-clientonly client-only) \
|
||||
$(use_enable !static libtool) \
|
||||
$(use_enable static static-cons) \
|
||||
$(use_enable static static-fd)"
|
||||
else
|
||||
myconf="${myconf} \
|
||||
$(use_enable !bacula-nodir build-dird) \
|
||||
$(use_enable !bacula-nosd build-stored)"
|
||||
# bug #311099
|
||||
# database support needed by dir-only *and* sd-only
|
||||
# build as well (for building bscan, btape, etc.)
|
||||
myconf="${myconf} \
|
||||
--with-${mydbtype} \
|
||||
--enable-batch-insert"
|
||||
fi
|
||||
|
||||
# do not build bat if 'static' clientonly
|
||||
if ! use bacula-clientonly || ! use static; then
|
||||
myconf="${myconf} \
|
||||
$(use_enable qt4 bat)"
|
||||
fi
|
||||
|
||||
myconf="${myconf} \
|
||||
$(use_with X x) \
|
||||
$(use_enable !readline conio) \
|
||||
$(use_enable readline) \
|
||||
$(use_with readline readline /usr) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable acl) \
|
||||
$(use_with tcpd tcp-wrappers)"
|
||||
|
||||
econf \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--htmldir=/usr/share/doc/${PF}/html \
|
||||
--with-pid-dir=/var/run \
|
||||
--sysconfdir=/etc/bacula \
|
||||
--with-subsys-dir=/var/lock/subsys \
|
||||
--with-working-dir=/var/lib/bacula \
|
||||
--with-logdir=/var/lib/bacula \
|
||||
--with-scriptdir=/usr/libexec/bacula \
|
||||
--with-systemd=$(systemd_get_unitdir) \
|
||||
--with-dir-user=bacula \
|
||||
--with-dir-group=bacula \
|
||||
--with-sd-user=root \
|
||||
--with-sd-group=bacula \
|
||||
--with-fd-user=root \
|
||||
--with-fd-group=bacula \
|
||||
--enable-smartalloc \
|
||||
--disable-afs \
|
||||
--host=${CHOST} \
|
||||
${myconf}
|
||||
# correct configuration for QT based bat
|
||||
if use qt4 ; then
|
||||
pushd src/qt-console
|
||||
eqmake4
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Make build log verbose (bug #447806)
|
||||
emake NO_ECHO=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
doicon scripts/bacula.png
|
||||
|
||||
# install bat icon and desktop file when enabled
|
||||
# (for some reason ./configure doesn't pick this up)
|
||||
if use qt4 && ! use static ; then
|
||||
doicon src/qt-console/images/bat_icon.png
|
||||
domenu scripts/bat.desktop
|
||||
fi
|
||||
|
||||
# remove some scripts we don't need at all
|
||||
rm -f "${D}"/usr/libexec/bacula/{bacula,bacula-ctl-dir,bacula-ctl-fd,bacula-ctl-sd,startmysql,stopmysql}
|
||||
|
||||
# rename statically linked apps
|
||||
if use bacula-clientonly && use static ; then
|
||||
pushd "${D}"/usr/sbin || die
|
||||
mv static-bacula-fd bacula-fd || die
|
||||
mv static-bconsole bconsole || die
|
||||
popd || die
|
||||
fi
|
||||
|
||||
# extra files which 'make install' doesn't cover
|
||||
if ! use bacula-clientonly; then
|
||||
# the database update scripts
|
||||
diropts -m0750
|
||||
insinto /usr/libexec/bacula/updatedb
|
||||
insopts -m0754
|
||||
doins "${S}"/updatedb/*
|
||||
fperms 0640 /usr/libexec/bacula/updatedb/README
|
||||
|
||||
# the logrotate configuration
|
||||
# (now unconditional wrt bug #258187)
|
||||
diropts -m0755
|
||||
insinto /etc/logrotate.d
|
||||
insopts -m0644
|
||||
newins "${S}"/scripts/logrotate bacula
|
||||
|
||||
# the logwatch scripts
|
||||
if use logwatch; then
|
||||
diropts -m0750
|
||||
dodir /etc/log.d/scripts/services
|
||||
dodir /etc/log.d/scripts/shared
|
||||
dodir /etc/log.d/conf/logfiles
|
||||
dodir /etc/log.d/conf/services
|
||||
pushd "${S}"/scripts/logwatch >&/dev/null || die
|
||||
emake DESTDIR="${D}" install
|
||||
popd >&/dev/null || die
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use qt4; then
|
||||
rm -vf "${D}"/usr/share/man/man1/bat.1*
|
||||
fi
|
||||
rm -vf "${D}"/usr/share/man/man1/bacula-tray-monitor.1*
|
||||
if use bacula-clientonly || use bacula-nodir; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bacula-dir.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/dbcheck.8*
|
||||
rm -vf "${D}"/usr/share/man/man1/bsmtp.1*
|
||||
rm -vf "${D}"/usr/libexec/bacula/create_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_database
|
||||
rm -vf "${D}"/usr/libexec/bacula/make_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/update_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/drop_*_tables
|
||||
rm -vf "${D}"/usr/libexec/bacula/grant_*_privileges
|
||||
rm -vf "${D}"/usr/libexec/bacula/*_catalog_backup
|
||||
fi
|
||||
if use bacula-clientonly || use bacula-nosd; then
|
||||
rm -vf "${D}"/usr/share/man/man8/bacula-sd.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bcopy.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bextract.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bls.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/bscan.8*
|
||||
rm -vf "${D}"/usr/share/man/man8/btape.8*
|
||||
rm -vf "${D}"/usr/libexec/bacula/disk-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/mtx-changer
|
||||
rm -vf "${D}"/usr/libexec/bacula/dvd-handler
|
||||
fi
|
||||
|
||||
# documentation
|
||||
dodoc ChangeLog ReleaseNotes SUPPORT technotes
|
||||
|
||||
# install examples (bug #457504)
|
||||
if use examples; then
|
||||
docinto examples/
|
||||
dodoc -r examples/*
|
||||
fi
|
||||
|
||||
# vim-files
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins scripts/bacula.vim
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
newins scripts/filetype.vim bacula_ft.vim
|
||||
fi
|
||||
|
||||
# setup init scripts
|
||||
myscripts="bacula-fd"
|
||||
if ! use bacula-clientonly; then
|
||||
if ! use bacula-nodir; then
|
||||
myscripts="${myscripts} bacula-dir"
|
||||
fi
|
||||
if ! use bacula-nosd; then
|
||||
myscripts="${myscripts} bacula-sd"
|
||||
fi
|
||||
fi
|
||||
for script in ${myscripts}; do
|
||||
# copy over init script and config to a temporary location
|
||||
# so we can modify them as needed
|
||||
cp "${FILESDIR}/${script}".confd "${T}/${script}".confd || die "failed to copy ${script}.confd"
|
||||
cp "${FILESDIR}/${script}".initd "${T}/${script}".initd || die "failed to copy ${script}.initd"
|
||||
|
||||
# now set the database dependancy for the director init script
|
||||
case "${script}" in
|
||||
bacula-dir)
|
||||
case "${mydbtype}" in
|
||||
sqlite3)
|
||||
# sqlite databases don't have a daemon
|
||||
sed -i -e 's/need "%database%"/:/g' "${T}/${script}".initd || die
|
||||
;;
|
||||
*)
|
||||
# all other databases have daemons
|
||||
sed -i -e "s:%database%:${mydbtype}:" "${T}/${script}".initd || die
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# install init script and config
|
||||
newinitd "${T}/${script}".initd "${script}"
|
||||
newconfd "${T}/${script}".confd "${script}"
|
||||
done
|
||||
|
||||
systemd_dounit "${S}"/platforms/systemd/bacula-{dir,fd,sd}.service
|
||||
systemd_dotmpfilesd "${S}"/platforms/systemd/bacula.conf
|
||||
|
||||
# make sure the working directory exists
|
||||
diropts -m0750
|
||||
keepdir /var/lib/bacula
|
||||
|
||||
# make sure bacula group can execute bacula libexec scripts
|
||||
fowners -R root:bacula /usr/libexec/bacula
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use bacula-clientonly; then
|
||||
fowners root:bacula /var/lib/bacula
|
||||
else
|
||||
fowners bacula:bacula /var/lib/bacula
|
||||
fi
|
||||
|
||||
if ! use bacula-clientonly && ! use bacula-nodir; then
|
||||
einfo
|
||||
einfo "If this is a new install, you must create the ${mydbtype} databases with:"
|
||||
einfo " /usr/libexec/bacula/create_${mydbtype}_database"
|
||||
einfo " /usr/libexec/bacula/make_${mydbtype}_tables"
|
||||
einfo " /usr/libexec/bacula/grant_${mydbtype}_privileges"
|
||||
einfo
|
||||
fi
|
||||
|
||||
if use sqlite; then
|
||||
einfo
|
||||
einfo "Be aware that Bacula does not officially support SQLite database anymore."
|
||||
einfo "Best use it only for a client-only installation. See Bug #445540."
|
||||
einfo
|
||||
fi
|
||||
|
||||
einfo "Please note that 'bconsole' will always be installed. To compile 'bat'"
|
||||
einfo "you have to enable 'USE=qt4'."
|
||||
einfo
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
--- src/console/Makefile.in.orig 2011-10-30 14:10:41.100802721 -0400
|
||||
+++ src/console/Makefile.in 2011-10-30 14:14:42.330488174 -0400
|
||||
@@ -29,10 +29,11 @@
|
||||
GETTEXT_LIBS = @LIBINTL@
|
||||
|
||||
CONS_INC=@CONS_INC@
|
||||
CONS_LIBS=@CONS_LIBS@
|
||||
CONS_LDFLAGS=@CONS_LDFLAGS@
|
||||
+ZLIBS=@ZLIBS@
|
||||
|
||||
.SUFFIXES: .c .o
|
||||
.PHONY:
|
||||
.DONTCARE:
|
||||
|
||||
@@ -46,17 +47,17 @@
|
||||
@echo " "
|
||||
|
||||
|
||||
bconsole: Makefile $(CONSOBJS) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE)
|
||||
$(LIBTOOL_LINK) $(CXX) -L../lib -L../cats $(LDFLAGS) $(CONS_LDFLAGS) -o $@ $(CONSOBJS) \
|
||||
- $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) \
|
||||
- $(OPENSSL_LIBS)
|
||||
+ $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(ZLIBS) $(GETTEXT_LIBS) \
|
||||
+ $(OPENSSL_LIBS) $(LIBS)
|
||||
|
||||
static-bconsole: Makefile $(CONSOBJS) ../lib/libbac.a ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE)
|
||||
$(LIBTOOL_LINK) $(CXX) -static $(LDFLAGS) $(CONS_LDFLAGS) -L../lib -L../cats -o $@ $(CONSOBJS) \
|
||||
- $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) \
|
||||
- $(OPENSSL_LIBS)
|
||||
+ $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(ZLIBS) $(GETTEXT_LIBS) \
|
||||
+ $(OPENSSL_LIBS) $(LIBS)
|
||||
strip $@
|
||||
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
|
||||
cd $(topdir) \
|
||||
--- src/filed/Makefile.in.orig 2011-10-30 08:03:42.000000000 -0400
|
||||
+++ src/filed/Makefile.in 2011-10-30 14:15:28.018102837 -0400
|
||||
@@ -92,17 +92,17 @@
|
||||
@rm -f bacula-fd.exe
|
||||
|
||||
bacula-fd: Makefile $(SVROBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbacpy$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) @WIN32@
|
||||
@echo "Linking $@ ..."
|
||||
$(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(SVROBJS) \
|
||||
- $(WIN32LIBS) $(FDLIBS) $(ZLIBS) $(LZOLIBS) -lbacfind -lbacpy -lbaccfg -lbac -lm $(PYTHON_LIBS) $(LIBS) \
|
||||
- $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS)
|
||||
+ $(WIN32LIBS) $(FDLIBS) $(ZLIBS) $(LZOLIBS) -lbacfind -lbacpy -lbaccfg -lbac -lm $(PYTHON_LIBS) \
|
||||
+ $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(LIBS) $(CAP_LIBS)
|
||||
|
||||
static-bacula-fd: Makefile $(SVROBJS) ../findlib/libbacfind.a ../lib/libbacpy$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) @WIN32@
|
||||
$(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -static -L../lib -L../findlib -o $@ $(SVROBJS) \
|
||||
- $(WIN32LIBS) $(FDLIBS) $(ZLIBS) $(LZOLIBS) -lbacfind -lbacpy -lbaccfg -lbac -lm $(PYTHON_LIBS) $(LIBS) \
|
||||
- $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS)
|
||||
+ $(WIN32LIBS) $(FDLIBS) $(ZLIBS) $(LZOLIBS) -lbacfind -lbacpy -lbaccfg -lbac -lm $(PYTHON_LIBS) \
|
||||
+ $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(LIBS) $(CAP_LIBS)
|
||||
strip $@
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
|
||||
cd $(topdir) \
|
||||
&& CONFIG_FILES=$(thisdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
@ -1,56 +0,0 @@
|
||||
--- src/console/Makefile.in.orig 2011-10-30 14:10:41.100802721 -0400
|
||||
+++ src/console/Makefile.in 2011-10-30 14:14:42.330488174 -0400
|
||||
@@ -29,10 +29,11 @@
|
||||
GETTEXT_LIBS = @LIBINTL@
|
||||
|
||||
CONS_INC=@CONS_INC@
|
||||
CONS_LIBS=@CONS_LIBS@
|
||||
CONS_LDFLAGS=@CONS_LDFLAGS@
|
||||
+ZLIBS=@ZLIBS@
|
||||
|
||||
.SUFFIXES: .c .o
|
||||
.PHONY:
|
||||
.DONTCARE:
|
||||
|
||||
@@ -46,17 +47,17 @@
|
||||
@echo " "
|
||||
|
||||
|
||||
bconsole: Makefile $(CONSOBJS) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE)
|
||||
$(LIBTOOL_LINK) $(CXX) -L../lib -L../cats $(LDFLAGS) $(CONS_LDFLAGS) -o $@ $(CONSOBJS) \
|
||||
- $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) \
|
||||
- $(OPENSSL_LIBS)
|
||||
+ $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(ZLIBS) $(GETTEXT_LIBS) \
|
||||
+ $(OPENSSL_LIBS) $(LIBS)
|
||||
|
||||
static-bconsole: Makefile $(CONSOBJS) ../lib/libbac.a ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE)
|
||||
$(LIBTOOL_LINK) $(CXX) -static $(LDFLAGS) $(CONS_LDFLAGS) -L../lib -L../cats -o $@ $(CONSOBJS) \
|
||||
- $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(LIBS) $(GETTEXT_LIBS) \
|
||||
- $(OPENSSL_LIBS)
|
||||
+ $(DLIB) $(CONS_LIBS) -lbaccfg -lbac -lm $(ZLIBS) $(GETTEXT_LIBS) \
|
||||
+ $(OPENSSL_LIBS) $(LIBS) $(ZLIBS)
|
||||
strip $@
|
||||
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
|
||||
cd $(topdir) \
|
||||
--- src/filed/Makefile.in.orig 2012-06-28 16:52:03.000000000 +0200
|
||||
+++ src/filed/Makefile.in 2012-08-16 11:08:09.000000000 +0200
|
||||
@@ -89,13 +89,13 @@
|
||||
bacula-fd: Makefile $(SVROBJS) ../findlib/libbacfind$(DEFAULT_ARCHIVE_TYPE) ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)
|
||||
@echo "Linking $@ ..."
|
||||
$(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -L../lib -L../findlib -o $@ $(SVROBJS) \
|
||||
- $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm $(LIBS) \
|
||||
- $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS)
|
||||
+ $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm \
|
||||
+ $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS)
|
||||
|
||||
static-bacula-fd: Makefile $(SVROBJS) ../findlib/libbacfind.a ../lib/libbaccfg$(DEFAULT_ARCHIVE_TYPE) ../lib/libbac$(DEFAULT_ARCHIVE_TYPE)
|
||||
$(LIBTOOL_LINK) $(CXX) $(WLDFLAGS) $(LDFLAGS) -static -L../lib -L../findlib -o $@ $(SVROBJS) \
|
||||
- $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm $(LIBS) \
|
||||
- $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS)
|
||||
+ $(WIN32LIBS) $(FDLIBS) $(ZLIBS) -lbacfind -lbaccfg -lbac -lm \
|
||||
+ $(DLIB) $(WRAPLIBS) $(GETTEXT_LIBS) $(OPENSSL_LIBS) $(LIBS) $(CAP_LIBS) $(AFS_LIBS) $(LZO_LIBS)
|
||||
strip $@
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST gnome-dictionary-3.20.0.tar.xz 871916 BLAKE2B 8f2c2ad2f93c8d6f97b3609427923352c975c5a35899b645683cbda13f5eb4b1b7630f05ff95a0a42ecaef8227c21ab3cab8c637b6d1172d46d60f5c637e9170 SHA512 9be2564b5bf543e80afdb946c16b16e2daf6c31875e352b7c2d7e34436791fc9470eadb42eba3a4c1893e2f2568e6bb88d19ea4a0b8dbb2eca2dd4c95aeaf229
|
||||
DIST gnome-dictionary-3.24.0.tar.xz 878756 BLAKE2B c6e7d16965147eea44b2fe438f94c31488cd3b6edeb9e815d5a9314ca46de793596844cc8fae5daa77110011549ed598924591a6ef4c675e6c7d743ed660d3e6 SHA512 1c31149b02978a1840563941767e3ce2be4f6a5e790eb9126c0f0c50d932987f46447fe3bac0e2eb8ce87be1521d13e56d8a14e86407e367a6dd76cd5a77de30
|
||||
DIST gnome-dictionary-3.24.1.tar.xz 880500 BLAKE2B f730276612d2578e7b25121b49be9639cf7a9fc67bda9687285f6d3873d3b825301246447d968b24ed29240a1b0e7fc48d63c8454e704b799eebdf340f5f6da2 SHA512 b3ee838888a97e914add58dd4b61fa096b9488aab360815f2e7b674e7a57b237849a1ccaf107c1e94968e534b24ee24d827c42a3a1b0dfd8c5ef25eeb90456d3
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Dictionary utility for GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Dictionary"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+ FDL-1.1+"
|
||||
SLOT="0/10" # subslot = suffix of libgdict-1.0.so
|
||||
IUSE="debug +introspection ipv6"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.42:2[dbus]
|
||||
x11-libs/cairo:=
|
||||
>=x11-libs/gtk+-3.21.1:3
|
||||
x11-libs/pango
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.42:= )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
!<gnome-extra/gnome-utils-3.4
|
||||
"
|
||||
# ${PN} was part of gnome-utils before 3.4
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-util/gtk-doc-am-1.15
|
||||
>=dev-util/intltool-0.40
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.17
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
$(usex debug --enable-debug=yes ' ') \
|
||||
$(use_enable introspection) \
|
||||
$(use_enable ipv6)
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,139 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils flag-o-matic pax-utils
|
||||
|
||||
DESCRIPTION="The Ubiquitous Amiga Emulator with an emulation core largely based on WinUAE"
|
||||
HOMEPAGE="http://www.rcdrummond.net/uae/"
|
||||
# We support _rcX for WIPX versions and _preYYYYMMDD for CVS snapshots.
|
||||
if [[ "${PV%%_rc*}" = "${PV}" ]] ; then
|
||||
# _pre is used, cvs version
|
||||
my_ver=${PV%%_pre*}
|
||||
snap_ver=${PV##*_pre}
|
||||
S="${WORKDIR}"/${PN}-${my_ver}-${snap_ver}
|
||||
SRC_URI="http://www.rcdrummond.net/uae/test/${snap_ver}/${PN}-${my_ver}-${snap_ver}.tar.bz2"
|
||||
else
|
||||
my_ver=${PV%%_rc*}
|
||||
WIP_ver=${PV##*_rc}
|
||||
S="${WORKDIR}"/${PN}-${my_ver}-WIP${WIP_ver}
|
||||
SRC_URI="http://www.rcdrummond.net/uae/${PN}-${my_ver}-WIP${WIP_ver}/${PN}-${my_ver}-WIP${WIP_ver}.tar.bz2"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="X dga ncurses sdl alsa oss sdl-sound capslib"
|
||||
|
||||
# Note: opposed to ./configure --help zlib support required! Check
|
||||
# src/Makefile.am that includes zfile.c unconditionaly.
|
||||
RDEPEND="X? ( x11-libs/libXt
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXext
|
||||
x11-misc/xkeyboard-config
|
||||
dga? ( x11-libs/libXxf86dga
|
||||
x11-libs/libXxf86vm )
|
||||
)
|
||||
!X? ( sdl? ( media-libs/libsdl )
|
||||
!sdl? ( sys-libs/ncurses ) )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
!alsa? ( sdl-sound? ( media-libs/sdl-sound ) )
|
||||
capslib? ( >=games-emulation/caps-20060612 )
|
||||
sys-libs/zlib
|
||||
virtual/cdrtools"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( dga? ( x11-proto/xf86vidmodeproto
|
||||
x11-proto/xf86dgaproto ) )"
|
||||
|
||||
src_prepare() {
|
||||
# Fix for high cpu use when compiled with --disable-audio
|
||||
use alsa || use sdl-sound || use oss || epatch "${FILESDIR}"/${P}-high-cpu-usage.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
|
||||
local myconf
|
||||
|
||||
# Sound setup.
|
||||
if use alsa; then
|
||||
elog "Choosing alsa as sound target to use."
|
||||
myconf="--with-alsa --without-sdl-sound"
|
||||
elif use sdl-sound ; then
|
||||
if ! use sdl ; then
|
||||
ewarn "sdl-sound is not enabled because sdl USE flag is disabled. Leaving"
|
||||
ewarn "sound on oss autodetection."
|
||||
myconf="--without-alsa --without-sdl-sound"
|
||||
ebeep
|
||||
else
|
||||
elog "Choosing sdl-sound as sound target to use."
|
||||
ewarn "E-UAE with the SDL audio back-end doesn't work correctly in Linux."
|
||||
ewarn "Better use alsa... You've been warned ;)"
|
||||
ebeep
|
||||
myconf="--without-alsa --with-sdl-sound"
|
||||
fi
|
||||
elif use oss ; then
|
||||
elog "Choosing oss as sound target to use."
|
||||
ewarn "oss will be autodetected. See output of configure."
|
||||
myconf="--without-alsa --without-sdl-sound"
|
||||
else
|
||||
ewarn "There is no alsa, sdl-sound or oss in USE. Sound target disabled!"
|
||||
myconf="--disable-audio"
|
||||
fi
|
||||
|
||||
# VIDEO setup. X is autodetected (there is no --with-X option).
|
||||
if use X ; then
|
||||
elog "Using X11 for video output."
|
||||
ewarn "Fullscreen mode is not working in X11 currently. Use sdl."
|
||||
myconf="$myconf --without-curses --without-sdl-gfx"
|
||||
use dga && ewarn "To use dga you have to run e-uae as root."
|
||||
use dga && myconf="$myconf --enable-dga --enable-vidmode"
|
||||
elif use sdl ; then
|
||||
elog "Using sdl for video output."
|
||||
myconf="$myconf --with-sdl --with-sdl-gfx --without-curses"
|
||||
elif use ncurses; then
|
||||
elog "Using ncurses for video output."
|
||||
myconf="$myconf --with-curses --without-sdl-gfx"
|
||||
else
|
||||
ewarn "There is no X or sdl or ncurses in USE!"
|
||||
ewarn "Following upstream falling back on ncurses."
|
||||
myconf="$myconf --with-curses --without-sdl-gfx"
|
||||
ebeep
|
||||
fi
|
||||
|
||||
# bug #415787
|
||||
myconf="$myconf --disable-ui"
|
||||
|
||||
myconf="$myconf $(use_with capslib caps)"
|
||||
|
||||
myconf="$myconf --with-zlib"
|
||||
|
||||
# And explicitly state defaults:
|
||||
myconf="$myconf --enable-aga"
|
||||
myconf="$myconf --enable-autoconfig --enable-scsi-device --enable-cdtv --enable-cd32"
|
||||
myconf="$myconf --enable-bsdsock"
|
||||
|
||||
econf ${myconf} \
|
||||
--with-libscg-includedir="${EPREFIX}"/usr/include/scsilib \
|
||||
|| die "./configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# The emulator needs to be able to create executable heap
|
||||
# - doesn't need trampoline emulation though.
|
||||
pax-mark me "${ED}/usr/bin/uae"
|
||||
|
||||
# Rename it to e-uae
|
||||
mv "${ED}/usr/bin/uae" "${ED}/usr/bin/e-uae"
|
||||
mv "${ED}/usr/bin/readdisk" "${ED}/usr/bin/e-readdisk"
|
||||
|
||||
dodoc docs/* README ChangeLog
|
||||
}
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="MIPS Simulator"
|
||||
HOMEPAGE="http://spimsimulator.sourceforge.net/"
|
||||
SRC_URI="http://www.cs.wisc.edu/~larus/SPIM/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc X"
|
||||
|
||||
RDEPEND="X? ( media-fonts/font-adobe-100dpi
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXp )"
|
||||
DEPEND="${RDEPEND}
|
||||
X? ( x11-misc/imake
|
||||
x11-proto/xproto )
|
||||
>=sys-apps/sed-4
|
||||
sys-devel/bison"
|
||||
# test hangs forever, disabling it
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
# fix bugs 240005 and 243588
|
||||
epatch "${FILESDIR}/${PF}-respect_env.patch"
|
||||
|
||||
#fix bug 330389
|
||||
sed -i -e 's:-12-\*-75-:-14-\*-100-:g' xspim/xspim.c || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
emake -C spim configuration || die
|
||||
|
||||
if use X; then
|
||||
emake -C xspim configuration || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake DESTDIR="${EPREFIX}" -C spim || die
|
||||
|
||||
if use X; then
|
||||
emake DESTDIR="${EPREFIX}" EXCEPTION_DIR=/var/lib/spim \
|
||||
-C xspim -j1 xspim || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" -C spim install || die
|
||||
newman Documentation/spim.man spim.1 || die
|
||||
|
||||
if use X; then
|
||||
emake DESTDIR="${ED}" -C xspim install || die
|
||||
newman Documentation/xspim.man xspim.1 || die
|
||||
fi
|
||||
|
||||
doicon "${FILESDIR}"/xspim.svg || die
|
||||
make_desktop_entry xspim xSPIM xspim "ComputerScience;Science;Education"
|
||||
|
||||
dohtml Documentation/SPIM.html || die
|
||||
dodoc ChangeLog Documentation/BLURB README VERSION || die
|
||||
if use doc ; then
|
||||
dodoc Documentation/TeX/{cycle,spim}.ps || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -C spim test || die
|
||||
}
|
Binary file not shown.
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Manages the /usr/bin/miniAudicle symlink"
|
||||
HOMEPAGE="https://www.gentoo.org/"
|
||||
SRC_URI="mirror://gentoo/miniaudicle.eselect-${PV}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.3"
|
||||
|
||||
src_prepare() {
|
||||
# Fixes listing as described in bug 320189, not upstream yet
|
||||
epatch "${FILESDIR}"/miniaudicle-1.0.1_list.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${WORKDIR}/miniaudicle.eselect-${PV}" miniaudicle.eselect || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,11 @@
|
||||
--- anki-2.1.0beta25/aqt/mediasrv.py
|
||||
+++ anki-2.1.0beta25/aqt/mediasrv.py
|
||||
@@ -13,7 +13,7 @@
|
||||
# locate web folder in source/binary distribution
|
||||
def _getExportFolder():
|
||||
# running from source?
|
||||
- srcFolder = os.path.join(os.path.dirname(__file__), "..")
|
||||
+ srcFolder = os.path.dirname(__file__)
|
||||
webInSrcFolder = os.path.abspath(os.path.join(srcFolder, "web"))
|
||||
if os.path.exists(webInSrcFolder):
|
||||
return webInSrcFolder
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Easily add ANSI colouring to shell scripts"
|
||||
HOMEPAGE="http://www.runslinux.net/?page_id=10"
|
||||
SRC_URI="http://runslinux.net/projects/color/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-ldflags.patch
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin color || die "dobin failed"
|
||||
dodoc CHANGELOG README || die
|
||||
|
||||
# symlink for british users.
|
||||
dosym color /usr/bin/colour || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For information on using colour in your shell scripts,"
|
||||
elog "run \`color\` without any arguments."
|
||||
elog
|
||||
elog "To see all the colours available, use this command"
|
||||
elog " $ color --list"
|
||||
elog
|
||||
elog "More examples are available in ${EPREFIX}/usr/share/doc/${PF}."
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST khard-0.11.4.tar.gz 5060159 BLAKE2B 2c176c8bc9651dfd05f3792a66a242eae44b64f9114098916ec8c6e91643c5d57a19f916a0f6e0c559738e1a6c59f88596a54068ba048219a7e4a4d60447a0fe SHA512 f8dda3dd34e529e24276933f5f7354891b8259dfabb8818b4d3898174fb3d8b8a1f24cf81038901e521ef8aeeacec37b45b34c6e4c7eb0022b212a2f476cd9ab
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
inherit distutils-r1
|
||||
DESCRIPTION="Console CardDAV client"
|
||||
HOMEPAGE="https://github.com/scheibler/khard"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="zsh-completion"
|
||||
|
||||
if [ "${PV}" == "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/scheibler/khard"
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="
|
||||
dev-python/atomicwrites[${PYTHON_USEDEP}]
|
||||
dev-python/configobj[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/vdirsyncer[${PYTHON_USEDEP}]
|
||||
>dev-python/vobject-0.9.3[${PYTHON_USEDEP}]
|
||||
"
|
||||
# vobject-0.9.3 breaks khard, see
|
||||
# https://github.com/scheibler/khard/issues/87
|
||||
# https://github.com/eventable/vobject/issues/39
|
||||
|
||||
DOCS=( AUTHORS CHANGES README.md misc/khard/khard.conf.example )
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
|
||||
if use zsh-completion; then
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins misc/zsh/_khard
|
||||
fi
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrey_utkin@gentoo.org</email>
|
||||
<name>Andrey Utkin</name>
|
||||
</maintainer>
|
||||
<longdescription>Console CardDAV client</longdescription>
|
||||
</pkgmetadata>
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Command-line tool from FreeBSD that reminds you when its time to leave"
|
||||
HOMEPAGE="http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/leave/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-fix-makefile.diff"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"\
|
||||
|| die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin leave || die "dobin failed"
|
||||
doman leave.1 || die "doman failed"
|
||||
dodoc "${FILESDIR}/README" || die "dodoc failed"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST qlcplus-4.10.5b.tar.gz 8959726 BLAKE2B 6b2925d913b8cd16014004975c176f5d5de456daf67957ac2fe2b0e624b2b74c302dbbc5122148878ee3eddd2688e724dfe4e9a52c6b1f6877b12fd2b5b3e05f SHA512 c989764d52fc60af8d98c3a65ef7e6ba5cd823e5d487a2153dffc9a00f5e176666ced5c0f771b04a35957bee3de84ca927326c45764a34d9bf3c8886dede9d2f
|
||||
DIST qlcplus-4.11.1.tar.gz 9394093 BLAKE2B 0b91359217b723ed184f6a609ee0ef0a39f5f08aa8933abc7a3c429e4d5a3b2d1dc8ef454c00a172bc0e7b8f7fb0779d7fbba96ed5fafe403853f2a3bb8ce7b8 SHA512 14efdbe5cd53da592a58b48efb1daf7dda2a4e19d7d20792d34674af2aa1b9c287cfd58673db7838885642bb2ebfaf9b462be41d33f8d89497cb61dfab7246df
|
||||
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit qmake-utils udev vcs-snapshot virtualx
|
||||
|
||||
DESCRIPTION="QLC+ - Q Light Controller Plus to control DMX interfaces"
|
||||
HOMEPAGE="http://www.qlcplus.org/"
|
||||
SRC_URI="https://github.com/mcallegari/${PN}/archive/QLC+_${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
|| ( dev-embedded/libftdi:1 dev-embedded/libftdi:0 )
|
||||
dev-libs/glib:2
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtmultimedia:5[widgets]
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtscript:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtwidgets:5
|
||||
media-libs/alsa-lib
|
||||
media-libs/libmad
|
||||
media-libs/libsndfile
|
||||
sci-libs/fftw:3.0
|
||||
virtual/libusb:0
|
||||
virtual/libusb:1
|
||||
virtual/udev
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s:/etc/udev/rules.d:${EROOT}lib/udev/rules.d:" -i \
|
||||
plugins/hid/hid.pro \
|
||||
plugins/udmx/src/src.pro \
|
||||
plugins/dmxusb/src/src.pro \
|
||||
plugins/spi/spi.pro \
|
||||
plugins/peperoni/unix/unix.pro || die
|
||||
sed -e "/UDEVRULESDIR/s:/etc/udev/rules.d:$(get_udevdir)/rules.d:" \
|
||||
-i variables.pri || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx emake check
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit qmake-utils udev vcs-snapshot virtualx xdg
|
||||
|
||||
DESCRIPTION="QLC+ - Q Light Controller Plus to control DMX interfaces"
|
||||
HOMEPAGE="http://www.qlcplus.org/"
|
||||
SRC_URI="https://github.com/mcallegari/${PN}/archive/QLC+_${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
|| ( dev-embedded/libftdi:1 dev-embedded/libftdi:0 )
|
||||
dev-libs/glib:2
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtmultimedia:5[widgets]
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtscript:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtwidgets:5
|
||||
media-libs/alsa-lib
|
||||
media-libs/libmad
|
||||
media-libs/libsndfile
|
||||
sci-libs/fftw:3.0
|
||||
virtual/libusb:0
|
||||
virtual/libusb:1
|
||||
virtual/udev
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "s:/etc/udev/rules.d:${EROOT}lib/udev/rules.d:" -i \
|
||||
plugins/hid/hid.pro \
|
||||
plugins/udmx/src/src.pro \
|
||||
plugins/dmxusb/src/src.pro \
|
||||
plugins/spi/spi.pro \
|
||||
plugins/peperoni/unix/unix.pro || die
|
||||
sed -e "/UDEVRULESDIR/s:/etc/udev/rules.d:$(get_udevdir)/rules.d:" \
|
||||
-i variables.pri || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
|
||||
# sandbox error "mkdir /usr/share/qlcplus"
|
||||
# see https://bugs.gentoo.org/621500#c2
|
||||
export INSTALL_ROOT="${D}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx emake check
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST recoll-1.22.4.tar.gz 2511949 BLAKE2B fd1104903f63e8ab5834247d867169954b20907716fc309a5f6e24a9a71503994b0a97cb41a0abc60a9b18317790f46c4d5c1878091e1ceac38a4e40f5225304 SHA512 90d258c854972a41adbb3eef71b08d25c5aea24ed6fc830245d19e273112c016b66b0359e1d83143992d07b5a67226216e8f406ac135c21da6b86c7ffde31225
|
||||
DIST recoll-1.23.2.tar.gz 2546793 BLAKE2B 843d8e83f3f785d096e93062b00f7d3494a1bf066ea7334e2150c767f775c96f1b09760a5017763f71a6056036f56bf509883118d37520a61bf668a0bb44656b SHA512 0f3d6bae73da066e92e328f963129979f43a12a622120c26d66debde66e569e19e3e8b61154ee77386ad93e968d88262d3e22a679b618bcb8bf468fa16a46769
|
||||
DIST recoll-1.23.3.tar.gz 2590148 BLAKE2B ec058bac500aa61b4e395720bffcc2bfbcaded954c986e8e1fe69720456267c33b5e34eb3e28de47f57d9af207c60b138c521792882b093120b988b682600b2a SHA512 bfad118dd9561c8d18e194b11d8014e2f9ea74f6aaf50f91704087775e6f72d5f3574a3eafe470dab7658cb4a7233817a672af939f21b3e69c719e599bc5cd06
|
||||
|
@ -1,129 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils linux-info python-single-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="A personal full text search package"
|
||||
HOMEPAGE="http://www.lesbonscomptes.com/recoll/"
|
||||
SRC_URI="http://www.lesbonscomptes.com/recoll/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE="camelcase doc +inotify qt4 qt5 session +spell"
|
||||
REQUIRED_USE="session? ( inotify ) ${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-libs/xapian:=
|
||||
sys-libs/zlib
|
||||
virtual/libiconv
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtwebkit:5
|
||||
)
|
||||
!qt5? ( qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
) )
|
||||
session? (
|
||||
inotify? ( x11-libs/libSM x11-libs/libICE )
|
||||
)
|
||||
spell? ( app-text/aspell )
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
qt5? ( dev-qt/linguist-tools:5 )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-arch/unzip
|
||||
sys-apps/sed
|
||||
virtual/awk
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if has_version "<app-misc/recoll-1.20"; then
|
||||
einfo "Installing ${PV} over an 1.19 index is possible,"
|
||||
einfo "but there have been small changes in the way"
|
||||
einfo "compound words are indexed. So it is best to reset"
|
||||
einfo "the index. The best method to reset the index is to"
|
||||
einfo "quit all recoll programs and delete the index directory"
|
||||
einfo "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
|
||||
fi
|
||||
if use inotify; then
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
check_extra_config
|
||||
fi
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang filters
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local qtconf
|
||||
if use qt4 || use qt5; then
|
||||
qtconf="--enable-qtgui"
|
||||
if use qt5; then
|
||||
export QT_SELECT=qt5
|
||||
qtconf+=" --enable-webkit"
|
||||
elif use qt4; then
|
||||
export QT_SELECT=qt4
|
||||
qtconf+=" --disable-webkit"
|
||||
fi
|
||||
else
|
||||
qtconf="--disable-qtgui --disable-webkit"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_enable camelcase) \
|
||||
$(use_enable session x11mon) \
|
||||
$(use_with inotify) \
|
||||
$(use_with spell aspell) \
|
||||
${qtconf} \
|
||||
--without-fam \
|
||||
--enable-recollq
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake STRIP="$(type -P true)" DESTDIR="${D}" install
|
||||
prune_libtool_files
|
||||
|
||||
# html docs should be placed in /usr/share/doc/${PN}/html
|
||||
use doc && dodoc "${ED}"/usr/share/recoll/doc/*
|
||||
rm -r "${ED}/usr/share/recoll/doc" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "In order to extract the full functionality of "
|
||||
einfo "recoll, the following packages should be installed "
|
||||
einfo "to get the corresponding document support."
|
||||
|
||||
optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
|
||||
optfeature "PDF files support" app-text/poppler
|
||||
optfeature "PDF files with OCR support" app-text/tesseract
|
||||
optfeature "MS Word files support" app-text/antiword
|
||||
optfeature "Wordperfect files support" "app-text/libwpd[tools]"
|
||||
optfeature "Lyx files support" app-office/lyx
|
||||
optfeature "CHM files support" dev-python/pychm
|
||||
optfeature "GNU Info files support" sys-apps/texinfo
|
||||
optfeature "RAR archives support" dev-python/rarfile
|
||||
optfeature "7zip archives support" dev-python/pylzma
|
||||
optfeature "iCalendar files support" dev-python/icalendar
|
||||
optfeature "Postscript files support" app-text/pstotext
|
||||
optfeature "RTF files support" app-text/unrtf
|
||||
optfeature "TeX files support" dev-text/detex
|
||||
optfeature "DVI files support" virtual/tex-base
|
||||
optfeature "DJVU files support" app-text/djvu
|
||||
optfeature "tags in audio files support" media-libs/mutagen
|
||||
optfeature "tags in image files support" media-libs/exiftool
|
||||
optfeature "Midi karaoke files support" dev-python/chardet
|
||||
}
|
@ -1,133 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit linux-info python-single-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="A personal full text search package"
|
||||
HOMEPAGE="http://www.lesbonscomptes.com/recoll/"
|
||||
SRC_URI="http://www.lesbonscomptes.com/recoll/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="camelcase doc +inotify qt4 qt5 session +spell"
|
||||
REQUIRED_USE="session? ( inotify ) ${PYTHON_REQUIRED_USE}"
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/xapian:=
|
||||
sys-libs/zlib
|
||||
virtual/libiconv
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtwebkit:5
|
||||
)
|
||||
!qt5? ( qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
) )
|
||||
session? (
|
||||
inotify? ( x11-libs/libSM x11-libs/libICE )
|
||||
)
|
||||
spell? ( app-text/aspell )
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
qt5? ( dev-qt/linguist-tools:5 )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
app-arch/unzip
|
||||
sys-apps/sed
|
||||
virtual/awk
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if has_version "<app-misc/recoll-1.20"; then
|
||||
einfo "Installing ${PV} over an 1.19 index is possible,"
|
||||
einfo "but there have been small changes in the way"
|
||||
einfo "compound words are indexed. So it is best to reset"
|
||||
einfo "the index. The best method to reset the index is to"
|
||||
einfo "quit all recoll programs and delete the index directory"
|
||||
einfo "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
|
||||
fi
|
||||
if use inotify; then
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
check_extra_config
|
||||
fi
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang filters
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local qtconf
|
||||
if use qt4 || use qt5; then
|
||||
qtconf="--enable-qtgui"
|
||||
if use qt5; then
|
||||
export QT_SELECT=qt5
|
||||
qtconf+=" --enable-webkit"
|
||||
elif use qt4; then
|
||||
export QT_SELECT=qt4
|
||||
qtconf+=" --disable-webkit"
|
||||
fi
|
||||
else
|
||||
qtconf="--disable-qtgui --disable-webkit"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_enable camelcase) \
|
||||
$(use_enable session x11mon) \
|
||||
$(use_with inotify) \
|
||||
$(use_with spell aspell) \
|
||||
${qtconf} \
|
||||
--without-fam \
|
||||
--enable-recollq
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake STRIP="$(type -P true)" DESTDIR="${D}" install
|
||||
prune_libtool_files
|
||||
|
||||
# html docs should be placed in /usr/share/doc/${PN}/html
|
||||
use doc && dodoc "${ED}"/usr/share/recoll/doc/*
|
||||
rm -r "${ED}/usr/share/recoll/doc" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "In order to extract the full functionality of "
|
||||
einfo "recoll, the following packages should be installed "
|
||||
einfo "to get the corresponding document support."
|
||||
|
||||
optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
|
||||
optfeature "PDF files support" app-text/poppler
|
||||
optfeature "PDF files with OCR support" app-text/tesseract
|
||||
optfeature "MS Word files support" app-text/antiword
|
||||
optfeature "Wordperfect files support" "app-text/libwpd[tools]"
|
||||
optfeature "Lyx files support" app-office/lyx
|
||||
optfeature "CHM files support" dev-python/pychm
|
||||
optfeature "GNU Info files support" sys-apps/texinfo
|
||||
optfeature "RAR archives support" dev-python/rarfile
|
||||
optfeature "7zip archives support" dev-python/pylzma
|
||||
optfeature "iCalendar files support" dev-python/icalendar
|
||||
optfeature "Postscript files support" app-text/pstotext
|
||||
optfeature "RTF files support" app-text/unrtf
|
||||
optfeature "TeX files support" dev-text/detex
|
||||
optfeature "DVI files support" virtual/tex-base
|
||||
optfeature "DJVU files support" app-text/djvu
|
||||
optfeature "tags in audio files support" media-libs/mutagen
|
||||
optfeature "tags in image files support" media-libs/exiftool
|
||||
optfeature "Midi karaoke files support" dev-python/chardet
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST pybliographer-1.2.15.tar.gz 1859977 BLAKE2B e658f76e7f766beec598d0397f10e7613b8a529d7f1eeccda6364bc93bfb33bb5b9e121b9edcd4bc62dd414bca0ffb4684792baf36228522c9d509c59b0f8833 SHA512 f4b3478f60f042ebc7538f044a8c4014fda5202576e3f894b31c79430400e834c59f859f895efa187a89016f4e2625ee6be20751f31843e179fbdfb54ba65330
|
||||
DIST pybliographer-1.2.18.tar.gz 2174899 BLAKE2B 4723a01d386a1da6f1de6b730e4e38ef1dedfeb7a72310f40fd7475710fd92236bdb484e102bf93340c8b826ddda0353e143cc741cd6b57acbedd82e40e4181b SHA512 b4a97d7e0aec3b4d7c68169d4d8799911b4da0591e819a67429c45d2b451be6be129214631770cf26f2083a935b55575d35c4f3b11ea74a9b39e55feea376204
|
||||
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
GNOME2_EAUTORECONF="yes"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit gnome2 python-single-r1
|
||||
|
||||
DESCRIPTION="Pybliographer is a tool for working with bibliographic databases"
|
||||
HOMEPAGE="http://pybliographer.org/"
|
||||
SRC_URI="mirror://sourceforge/pybliographer/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=app-text/recode-3.6-r1
|
||||
app-text/rarian
|
||||
dev-libs/glib:2
|
||||
dev-python/gconf-python:2[${PYTHON_USEDEP}]
|
||||
dev-python/gnome-vfs-python:2[${PYTHON_USEDEP}]
|
||||
dev-python/libgnome-python:2[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:2[${PYTHON_USEDEP}]
|
||||
dev-python/pygtk:2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-bibtex-1.2.5[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/yelp-tools
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# Workaround for bug 487204.
|
||||
sed -i \
|
||||
-e 's:\$(srcdir)/::g' \
|
||||
tests/Makefile.am || die "sed failed"
|
||||
|
||||
# Install Python modules into site-packages directories.
|
||||
find -name Makefile.am | xargs sed -i \
|
||||
-e "/^pybdir[[:space:]]*=[[:space:]]*/s:\$(datadir):$(python_get_sitedir):" || die "sed failed"
|
||||
sed -i \
|
||||
-e "s:\${datadir}/@PACKAGE@:$(python_get_sitedir)/@PACKAGE@:" \
|
||||
etc/installer.in || die "sed failed"
|
||||
sed -i \
|
||||
-e "s:gladedir = \$(datadir):gladedir = $(python_get_sitedir):" \
|
||||
Pyblio/GnomeUI/glade/Makefile.am || die "sed failed"
|
||||
|
||||
# Fix shebang manually as otherwise python_fix_shebang gets confused
|
||||
sed -i -e 's: @python_path@:/usr/bin/python2:' pybliographer.py || die
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
gnome2_src_configure \
|
||||
--disable-depchecks \
|
||||
--disable-update-desktop-database
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
python_fix_shebang "${D}"
|
||||
}
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST CRF++-0.54.tar.gz 809008 BLAKE2B ed23b998ee5a37afc3f429ac04a8e6f57febb93dec469c68c7db1fbb3dfb1d1df7a2ddeb48ab758a6548f60bc920b8c7a3d6f418776a2a110812457245a3f6e9 SHA512 4198ad9423776a44d02db51a655a35f36db767ec623f55de426b3415179ac7187b91d23c6ef9a2cf3d1c38e14507fc7681006ff2ba50dcfc771a7d5e9d1c5760
|
||||
DIST CRF++-0.58.tar.gz 790570 BLAKE2B 8fdd3fea3e30f4196560e2e265519c961739aabbad75e9805040a8f7da0f501620d6bb2c4f589c6d0c8bb79af5c8f46bbe27b610a4ec6a0db632fef219ea5b46 SHA512 676b3e9ed89b5fb2f246175b58c384f10cab09fff8329c07311fed3832f55dbad26a25d2946c9efaa75cd8026517cb9e1742bb70ca26187367747852073e4eb9
|
||||
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P="${P/crf/CRF}"
|
||||
DESCRIPTION="Yet Another CRF toolkit for segmenting/labelling sequential data"
|
||||
HOMEPAGE="http://crfpp.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/crfpp/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( BSD LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x86-fbsd"
|
||||
IUSE="examples static-libs"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/CFLAGS/s/-O3/${CFLAGS}/" \
|
||||
-e "/CXXFLAGS/s/-O3/${CXXFLAGS}/" \
|
||||
configure.in || die
|
||||
|
||||
# bug #365921
|
||||
epatch "${FILESDIR}/${P}-gcc46.patch"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static) || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
for task in example/* ; do
|
||||
(
|
||||
cd "${task}"
|
||||
./exec.sh || die "failed test in ${task}"
|
||||
)
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name "*.la" -type f -delete || die
|
||||
fi
|
||||
|
||||
dodoc AUTHORS README || die
|
||||
dohtml -r doc/* || die
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r example || die
|
||||
fi
|
||||
}
|
@ -1,55 +1,61 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
inherit autotools eutils
|
||||
EAPI="6"
|
||||
|
||||
inherit autotools
|
||||
|
||||
MY_P="${P^^[crf]}"
|
||||
|
||||
MY_P="${P/crf/CRF}"
|
||||
DESCRIPTION="Yet Another CRF toolkit for segmenting/labelling sequential data"
|
||||
HOMEPAGE="https://crfpp.googlecode.com/svn/trunk/doc/index.html"
|
||||
SRC_URI="https://crfpp.googlecode.com/files/${MY_P}.tar.gz"
|
||||
HOMEPAGE="https://taku910.github.io/crfpp/"
|
||||
SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( BSD LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
||||
KEYWORDS="amd64 x86 ~x86-fbsd"
|
||||
IUSE="examples static-libs"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-automake-1.13.patch )
|
||||
HTML_DOCS=( doc/. )
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/CFLAGS/s/-O3/${CFLAGS}/" \
|
||||
-e "/CXXFLAGS/s/-O3/${CXXFLAGS}/" \
|
||||
configure.in || die
|
||||
configure.in
|
||||
|
||||
default
|
||||
mv configure.{in,ac} || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static) || die
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
for task in example/* ; do
|
||||
(
|
||||
cd "${task}"
|
||||
./exec.sh || die "failed test in ${task}"
|
||||
)
|
||||
local d
|
||||
for d in example/*; do
|
||||
cd "${d}"
|
||||
./exec.sh || die "failed test in ${d}"
|
||||
cd - >/dev/null
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
emake DESTDIR="${D}" install
|
||||
einstalldocs
|
||||
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name "*.la" -type f -delete || die
|
||||
if use examples; then
|
||||
docompress -x /usr/share/doc/${PF}/example
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r example
|
||||
fi
|
||||
|
||||
dodoc AUTHORS README || die
|
||||
dohtml -r doc/* || die
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r example || die
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -name "*.la" -type f -delete || die
|
||||
fi
|
||||
}
|
||||
|
@ -1,11 +0,0 @@
|
||||
diff -Naur CRF++-0.54.orig/path.h CRF++-0.54/path.h
|
||||
--- CRF++-0.54.orig/path.h 2009-04-05 20:42:35.000000000 +0900
|
||||
+++ CRF++-0.54/path.h 2011-05-31 01:31:43.845198215 +0900
|
||||
@@ -8,6 +8,7 @@
|
||||
#ifndef CRFPP_PATH_H_
|
||||
#define CRFPP_PATH_H_
|
||||
|
||||
+#include <cstddef>
|
||||
#include <vector>
|
||||
#include "node.h"
|
||||
|
@ -0,0 +1,10 @@
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -240,6 +240,6 @@
|
||||
AC_MSG_RESULT([yes])
|
||||
|
||||
AC_SUBST(datarootdir)
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
AC_OUTPUT([Makefile Makefile.msvc swig/version.h])
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST dos2unix-7.3.4.tar.gz 640991 BLAKE2B 143ba62d859105147a0095732dd83f76cfe6a0e2ebcdd6753d8ea3ce47dcbb8372c0006da8be4c4e4efc2af93ba365a4a8d8bc8d451cc562944cec0251e523fd SHA512 29958a2c702acc112b10f3fcb43fbff3b860c6d1f725c153af9a52dc20736755604f77bec37299dc88923a9e9b2ad73b994e9bc6f42f2757fe1819dd9873d710
|
||||
DIST dos2unix-7.3.5.tar.gz 662133 BLAKE2B e24f77d92fe0c5931f9ca762b79a1713b14cc39b7566f78d55c4fd58bb7d3c0de1f2a8add8ffd6c3fa26a6bae73c412572fc71701e26b7b52f15b51b0de0d294 SHA512 beafefa715d894ec51bd808b18485bcf413f93b888203486e659f7e30b922b32b2f1da2305ef9ae85e54085ba3819bd512957bb872b529fe4728000cec7d3e58
|
||||
DIST dos2unix-7.4.0.tar.gz 710339 BLAKE2B 629c4a410f0cbb0b5b0fdb89c03fbec1965759a747309ad8a4459820bf2151d1861f4040d67ce6934ca27cfc3b6d0495eccd0966045803f065b10520808d9686 SHA512 41be6b0c747f4a8e316eccecd468c8250aa6791962485569eb9496def60818ae434d619b5cfb5f80f15f8d17800314f5aefe229dc5d37faaa34e1270575175e9
|
||||
|
@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PLOCALES="da de eo es fr hu ja nb nl pl pt_BR ru sr sv uk vi zh_CN zh_TW"
|
||||
|
||||
inherit l10n toolchain-funcs
|
||||
|
||||
DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
|
||||
HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html https://sourceforge.net/projects/dos2unix/"
|
||||
SRC_URI="
|
||||
http://www.xs4all.nl/~waterlan/${PN}/${P}.tar.gz
|
||||
mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE="debug nls test"
|
||||
|
||||
RDEPEND="
|
||||
!app-text/hd2u
|
||||
virtual/libintl"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( virtual/perl-Test-Simple )
|
||||
dev-lang/perl"
|
||||
|
||||
handle_locales() {
|
||||
# Make sure locale list is kept up-to-date.
|
||||
local detected sorted
|
||||
detected=$(echo $(printf '%s\n' */*.po | sed -e 's:.*/::' -e 's:.po$::' | sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "PLOCALES: ${sorted}"
|
||||
eerror "po*/*.po: ${detected}"
|
||||
die "sync PLOCALES"
|
||||
fi
|
||||
|
||||
# Deal with selective install of locales.
|
||||
rm_loc() { rm po*/$1.po || die; }
|
||||
l10n_for_each_disabled_locale_do rm_loc
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
handle_locales
|
||||
|
||||
sed \
|
||||
-e '/^LDFLAGS/s|=|+=|' \
|
||||
-e '/CFLAGS_OS \+=/d' \
|
||||
-e '/LDFLAGS_EXTRA \+=/d' \
|
||||
-e "/^CFLAGS/s|-O2|${CFLAGS}|" \
|
||||
-i Makefile || die
|
||||
|
||||
if use debug ; then
|
||||
sed -e "/^DEBUG/s:0:1:" \
|
||||
-e "/EXTRA_CFLAGS +=/s:-g::" \
|
||||
-i Makefile || die
|
||||
fi
|
||||
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
lintl() {
|
||||
# same logic as from virtual/libintl
|
||||
use !elibc_glibc && use !elibc_uclibc && use !elibc_musl && echo "-lintl"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake prefix="${EPREFIX}/usr" \
|
||||
$(usex nls "LDFLAGS_EXTRA=$(lintl)" "ENABLE_NLS=")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \
|
||||
$(usex nls "" "ENABLE_NLS=") install
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit toolchain-funcs eutils
|
||||
|
||||
DESCRIPTION="PostScript Utilities"
|
||||
HOMEPAGE="http://web.archive.org/web/20110722005140/http://www.tardis.ed.ac.uk/~ajcd/psutils/"
|
||||
SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${PV}.dfsg.orig.tar.gz"
|
||||
|
||||
LICENSE="psutils"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}/${P}.orig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-ldflags.patch"
|
||||
epatch "${FILESDIR}/${P}-no-fixmacps.patch"
|
||||
sed \
|
||||
-e "s:/usr/local:\$(DESTDIR)${EPREFIX}/usr:" \
|
||||
"${S}/Makefile.unix" > "${S}/Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" || die
|
||||
}
|
||||
|
||||
src_install () {
|
||||
dodir /usr/{bin,share/man}
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc README
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit base autotools
|
||||
|
||||
MY_PN="Sablot"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DESCRIPTION="An XSLT Parser in C++"
|
||||
HOMEPAGE="http://www.gingerall.org/sablotron.html"
|
||||
SRC_URI="http://download-1.gingerall.cz/download/sablot/${MY_P}.tar.gz"
|
||||
|
||||
# Sablotron can optionally be built under GPL, using MPL for now
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="perl"
|
||||
|
||||
RDEPEND=">=dev-libs/expat-1.95.6-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-perl/XML-Parser-2.3"
|
||||
|
||||
PATCHES=( "${FILESDIR}/1.0.3-libsablot-expat.patch" )
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
sed -i configure.in -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die
|
||||
eautoreconf
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable perl perlconnect) \
|
||||
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Install failed"
|
||||
|
||||
dodoc README README_JS RELEASE src/TODO
|
||||
}
|
Binary file not shown.
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit vim-plugin eutils
|
||||
|
||||
DESCRIPTION="vim plugin: syntax highlighting for udev rules files"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1381"
|
||||
LICENSE="vim"
|
||||
KEYWORDS="amd64 hppa ~mips ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPTEXT=\
|
||||
"This plugin provides syntax highlighting for udev.rules files. These files
|
||||
are automatically detected by filename; manual loading is also possible,
|
||||
via :set filetype=udev"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
epatch "${FILESDIR}/${P}-ftdetect.patch"
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST glibmm-2.50.1.tar.xz 6444576 BLAKE2B dbbdb79d8de9510f9bec770523ca7f4c93d287cbd9890b2fbc08712f6a2815186ee792f6339820a14aa9e4d49c9d1735c6c6651994cc4e03549f0d96b33f87ad SHA512 4f25c75c1628ca2f4db1c29cebc63187d372603066b06aa6a66c6da792f9e02cb4a413e41f058a81e2d5a2b38d625de13df76115b278f010ce2fc493fe6e6bbb
|
||||
DIST glibmm-2.52.0.tar.xz 6450592 BLAKE2B 2ea123bd193c7a745f52b2357c620fdaaef34c6e349100e732c8a1efde921db6bb0c97de3a61e0e300b98a04eb1c218f1b216c01d36e62d60ea9897a075826ec SHA512 45cbbe4ce4ba04dcadbcc3b46159dda194235c10a7287075724b0e1c19db2e4db061dc2a66823205f6884b30e2ef87ceafdf9cc2970212a2424535dbe3b9a262
|
||||
DIST glibmm-2.52.1.tar.xz 6451164 BLAKE2B 740178b51a2263ecc4778833fa6f2fd3913cdfc4e93b1a732a1b0ec9d43eb4ed60ab6bea48e02081d75a3ec1f98a149ebff47ced54dcce07e7ae011b2d20452d SHA512 702158762cb28972b315ab98dc00a62e532bda08b6e76dc2a2556e8cb381c2021290891887a4af2fbff5a62bab4d50581be73037dc8e0dc47d5febd6cbeb7bda
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit gnome2 multilib-minimal
|
||||
|
||||
DESCRIPTION="C++ interface for glib2"
|
||||
HOMEPAGE="https://www.gtkmm.org"
|
||||
|
||||
LICENSE="LGPL-2.1+ GPL-2+" # GPL-2+ applies only to the build system
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc debug test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libsigc++-2.9.1:2[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/glib-2.50.0:2[${MULTILIB_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
# dev-cpp/mm-common needed for eautoreconf
|
||||
|
||||
src_prepare() {
|
||||
if ! use test; then
|
||||
# don't waste time building tests
|
||||
sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' \
|
||||
-i Makefile.am Makefile.in || die "sed 1 failed"
|
||||
fi
|
||||
|
||||
# don't build examples - we want to install example sources, not binaries
|
||||
sed 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' \
|
||||
-i Makefile.am Makefile.in || die "sed 2 failed"
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" gnome2_src_configure \
|
||||
$(use_enable debug debug-refcounting) \
|
||||
$(multilib_native_use_enable doc documentation) \
|
||||
--enable-deprecated-api
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
cd tests
|
||||
default
|
||||
|
||||
for i in */test; do
|
||||
${i} || die "Running tests failed at ${i}"
|
||||
done
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
gnome2_src_install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
find examples -type d -name '.deps' -exec rm -rf {} \; 2>/dev/null
|
||||
find examples -type f -name 'Makefile*' -exec rm -f {} \; 2>/dev/null
|
||||
dodoc -r examples
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue