parent
db826efbea
commit
39019df1ee
@ -1,3 +1,2 @@
|
||||
DIST logrotate-3.8.1.tar.gz 48827 SHA256 c12471e70ae8bc923bd5c4f25e8fd6483b68c6301f3cd79f7cfe37bc5b370169 SHA512 d1467f0c894f44edf46a3049d61ef09e4ae4cc361f3a88e38b2126ebe0650604c6a2b4e1c751ca35538ddb13b25dcee52fa4c21ccefbd040ae1e50c4bb126b09 WHIRLPOOL decd2d6be262c0ab1efc1d0b1b2639f50d16238ab8e781e31008b67e9917a670cd7ff7dfe98ec879b7d1fbb7f12d9f018a1173f44e574737931ab5f81cc221c0
|
||||
DIST logrotate-3.8.2.tar.gz 51213 SHA256 1cb9496e48fc4b8fe63d85d27be8567e9131541fe11e4d4d5993730afc578cab SHA512 ccf21a06a8af5535f0e6de05dc5b02c3e7efdfe6117cb0fc3f4d8d41e8c579bddad3aeba7dfa63cea0bcf78f5cfbe010ff9c7b580ea868229bf3069f29906162 WHIRLPOOL bcc9a27ca1afa29e56ea366cc6ed034ecbc93995d3bda63e24e0b593cbe181091b4f525726130becdbd9bda8d136f36da40105316c80d4576613948b5f3a7fe7
|
||||
DIST logrotate-3.8.3.tar.gz 52210 SHA256 0776bf491171edbcc3ba577751fc912e721e99b834c14251df8109fd3bfa1977 SHA512 34bd24a4740191f8a2e3941fbebcade308becc60cb7aca6ccde93662afe8341dbf7d9177dfe1bd4c124b3aa2829d0ad999fa4bba9101e479f077c55b26fe7119 WHIRLPOOL a9bdec35bf6bc6bedf6ecc0245e6b1780fb2a2910b67ba0704d41f4939c12e2aac948e9f4fb43c5ccbd7d5a54c30f12229fff35b4ca884fc0d3f725b62dbf208
|
||||
DIST logrotate-3.8.4.tar.gz 55610 SHA256 d363e9212527ada6e566ad04e18d21eb7d70a3bfd0710671c7b75a2c0dd96e29 SHA512 c3a509d8d9140b4a584c9ca731df10d8df17abfd38fc1263d19b2d25560cd047cf2036c7a5ffa738036599f55616b3c73456af63c40ec087672a263e8895aee0 WHIRLPOOL af914183c0f1358f3e9ce06509b922af43bd5a0e9a942a8b3d546b0966540fb27920cf8d61141d50d99f7157ee35e8f90b42fb4765bc5c4bc3400a9c17b1c156
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN logrotate-3.7.7.orig/logrotate.c logrotate-3.7.7/logrotate.c
|
||||
--- logrotate-3.7.7.orig/logrotate.c 2008-05-14 06:31:35.000000000 -0400
|
||||
+++ logrotate-3.7.7/logrotate.c 2008-12-23 11:09:09.000000000 -0500
|
||||
@@ -1443,7 +1443,7 @@ static int readState(char *stateFilename
|
||||
}
|
||||
|
||||
/* Hack to hide earlier bug */
|
||||
- if ((year != 1900) && (year < 1996 || year > 2100)) {
|
||||
+ if ((year != 1900) && (year < 1970 || year > 2100)) {
|
||||
message(MESS_ERROR,
|
||||
"bad year %d for file %s in state file %s\n", year,
|
||||
argv[0], stateFilename);
|
@ -1,78 +0,0 @@
|
||||
diff '--exclude-from=/home/dang/.scripts/diffrc' -up -ruN logrotate-3.8.0.orig/logrotate.c logrotate-3.8.0/logrotate.c
|
||||
--- logrotate-3.8.0.orig/logrotate.c 2011-06-21 04:12:02.000000000 -0400
|
||||
+++ logrotate-3.8.0/logrotate.c 2011-07-18 11:40:48.775713520 -0400
|
||||
@@ -260,33 +260,50 @@ static int runScript(char *logfn, char *
|
||||
int createOutputFile(char *fileName, int flags, struct stat *sb)
|
||||
{
|
||||
int fd;
|
||||
+ char template[PATH_MAX + 1];
|
||||
+ char *fname;
|
||||
+ mode_t umask_value;
|
||||
+ snprintf(template, PATH_MAX, "%s/logrotate_temp.XXXXXX", ourDirName(fileName));
|
||||
|
||||
- fd = open(fileName, (flags | O_EXCL | O_NOFOLLOW),
|
||||
- (S_IRUSR | S_IWUSR) & sb->st_mode);
|
||||
+ umask_value = umask(0000);
|
||||
+ fname = mktemp(template);
|
||||
+ fd = open(fname, (flags | O_EXCL | O_NOFOLLOW), (S_IRUSR | S_IWUSR) & sb->st_mode);
|
||||
+ umask(umask_value);
|
||||
|
||||
- if (fd < 0) {
|
||||
- message(MESS_ERROR, "error creating output file %s: %s\n",
|
||||
- fileName, strerror(errno));
|
||||
- return -1;
|
||||
- }
|
||||
- if (fchmod(fd, (S_IRUSR | S_IWUSR) & sb->st_mode)) {
|
||||
- message(MESS_ERROR, "error setting mode of %s: %s\n",
|
||||
- fileName, strerror(errno));
|
||||
- close(fd);
|
||||
- return -1;
|
||||
- }
|
||||
- if (fchown(fd, sb->st_uid, sb->st_gid)) {
|
||||
- message(MESS_ERROR, "error setting owner of %s: %s\n",
|
||||
- fileName, strerror(errno));
|
||||
- close(fd);
|
||||
- return -1;
|
||||
- }
|
||||
- if (fchmod(fd, sb->st_mode)) {
|
||||
- message(MESS_ERROR, "error setting mode of %s: %s\n",
|
||||
- fileName, strerror(errno));
|
||||
- close(fd);
|
||||
- return -1;
|
||||
+ if (fd < 0) {
|
||||
+ message(MESS_ERROR, "error creating unique temp file: %s\n",
|
||||
+ strerror(errno));
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
+ if (fchmod(fd, (S_IRUSR | S_IWUSR) & sb->st_mode)) {
|
||||
+ message(MESS_ERROR, "error setting mode of %s: %s\n",
|
||||
+ fileName, strerror(errno));
|
||||
+ close(fd);
|
||||
+ return -1;
|
||||
}
|
||||
+
|
||||
+ if (fchown(fd, sb->st_uid, sb->st_gid)) {
|
||||
+ message(MESS_ERROR, "error setting owner of %s: %s\n",
|
||||
+ fileName, strerror(errno));
|
||||
+ close(fd);
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
+ if (fchmod(fd, sb->st_mode)) {
|
||||
+ message(MESS_ERROR, "error setting mode of %s: %s\n",
|
||||
+ fileName, strerror(errno));
|
||||
+ close(fd);
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
+ if (rename(template, fileName)) {
|
||||
+ message(MESS_ERROR, "error renaming temp file to %s: %s\n",
|
||||
+ fileName, strerror(errno));
|
||||
+ close(fd);
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
return fd;
|
||||
}
|
||||
|
@ -1,29 +0,0 @@
|
||||
Fix compilation on Gentoo/FreeBSD, no alloca.h here and PATH_MAX
|
||||
is defined elsewhere.
|
||||
|
||||
See bug 254795
|
||||
|
||||
--- logrotate-3.7.7.orig/config.c
|
||||
+++ logrotate-3.7.7/config.c
|
||||
@@ -21,6 +21,9 @@
|
||||
#include <wctype.h>
|
||||
#include <fnmatch.h>
|
||||
|
||||
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
#include "basenames.h"
|
||||
#include "log.h"
|
||||
#include "logrotate.h"
|
||||
--- logrotate-3.7.7.orig/logrotate.c
|
||||
+++ logrotate-3.7.7/logrotate.c
|
||||
@@ -24,6 +24,9 @@
|
||||
int selinux_enforce = 0;
|
||||
#endif
|
||||
|
||||
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
#include "basenames.h"
|
||||
#include "log.h"
|
||||
#include "logrotate.h"
|
@ -0,0 +1,12 @@
|
||||
diff -Nur a/logrotate.c b/logrotate.c
|
||||
--- a/logrotate.c 2013-04-30 10:29:31.000000000 +0200
|
||||
+++ b/logrotate.c 2013-05-10 20:58:58.229905641 +0200
|
||||
@@ -1851,7 +1851,7 @@
|
||||
}
|
||||
|
||||
/* Hack to hide earlier bug */
|
||||
- if ((year != 1900) && (year < 1996 || year > 2100)) {
|
||||
+ if ((year != 1900) && (year < 1970 || year > 2100)) {
|
||||
message(MESS_ERROR,
|
||||
"bad year %d for file %s in state file %s\n", year,
|
||||
argv[0], stateFilename);
|
@ -1,7 +1,7 @@
|
||||
diff '--exclude-from=/home/dang/.scripts/diffrc' -up -ruN logrotate-3.8.0.orig/config.c logrotate-3.8.0/config.c
|
||||
--- logrotate-3.8.0.orig/config.c 2011-06-21 04:12:02.000000000 -0400
|
||||
+++ logrotate-3.8.0/config.c 2011-07-06 18:35:08.796595341 -0400
|
||||
@@ -228,7 +228,9 @@ static int checkFile(const char *fname)
|
||||
diff -Nur a/config.c b/config.c
|
||||
--- a/config.c 2013-04-30 10:29:31.000000000 +0200
|
||||
+++ b/config.c 2013-05-10 21:03:29.309904119 +0200
|
||||
@@ -255,7 +255,9 @@
|
||||
char *pattern;
|
||||
|
||||
/* Check if fname is '.' or '..'; if so, return false */
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.8.1.ebuild,v 1.7 2012/02/12 14:37:50 armin76 Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Rotates, compresses, and mails system logs"
|
||||
HOMEPAGE="https://fedorahosted.org/logrotate/"
|
||||
SRC_URI="https://fedorahosted.org/releases/l/o/logrotate/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="acl selinux"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/popt-1.5
|
||||
selinux? (
|
||||
sys-libs/libselinux
|
||||
sec-policy/selinux-logrotate
|
||||
)
|
||||
acl? ( virtual/acl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-apps/sed-4"
|
||||
|
||||
src_prepare() {
|
||||
strip-flags
|
||||
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-3.7.7-datehack.patch \
|
||||
"${FILESDIR}"/${PN}-3.8.0-ignore-hidden.patch \
|
||||
"${FILESDIR}"/${PN}-3.8.0-fbsd.patch \
|
||||
"${FILESDIR}"/${PN}-3.8.0-atomic-create.patch \
|
||||
"${FILESDIR}"/${PN}-3.8.1-noasprintf.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
return
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
myconf="CC=$(tc-getCC)"
|
||||
use selinux && myconf="${myconf} WITH_SELINUX=yes"
|
||||
use acl && myconf="${myconf} WITH_ACL=yes"
|
||||
emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
dosbin logrotate
|
||||
doman logrotate.8
|
||||
dodoc CHANGES examples/logrotate*
|
||||
|
||||
exeinto /etc/cron.daily
|
||||
doexe "${FILESDIR}"/logrotate.cron
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/logrotate.conf
|
||||
|
||||
keepdir /etc/logrotate.d
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you wish to have logrotate e-mail you updates, please"
|
||||
elog "emerge virtual/mailx and configure logrotate in"
|
||||
elog "/etc/logrotate.conf appropriately"
|
||||
elog
|
||||
elog "Additionally, /etc/logrotate.conf may need to be modified"
|
||||
elog "for your particular needs. See man logrotate for details."
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST salt-0.14.1.tar.gz 3366334 SHA256 615fb644da111c8e7c500ac23cd258edec24d7db7bd4f5a40a465b56e54e0fd1 SHA512 7c8624274e4247ad8d4153c1ed4185504daac1557e2dc0bde1ac49d6090130467bf478408a962f745d5ff80a9e6453e0c40fc26bc3161c26a087bd7a67f223e4 WHIRLPOOL 692b5ee28c5cfafc02dbdf9028b60fe3f3d1431b952ac9ba1998f43f0df2beb137c421aafc20e5f99d753ba987b6e065559b2b9d265d3924c5e614ea3b878454
|
||||
DIST salt-0.15.0.tar.gz 3411308 SHA256 7d7d8c372571e0d3f36eea8e04a692ac566197030dffeb145e5b7282e56bd3d5 SHA512 08805f10e0101090f8fa67c9dfa3190ed81ff5754f29235e0b8aae45ba55233c0a80559d5975bf0a16880820b349dbe6e2136b3469690b7b691fd153aaa26b29 WHIRLPOOL a2c7037d703546efe3f39b8b293152180d63634a4a190e4c1de3d5f7f9d3ece804b59827567c2f423240fd953b774d5772f152b98a640384e2c4deb0c05b3034
|
||||
DIST salt-0.15.1.tar.gz 5752766 SHA256 2bd3bdb38bb7aefebdfaddfef70ebce29e7fa2dc9806e87115a9c6f0915b4f95 SHA512 187361a141c202faaeb6588973760b4a785e1ad91d699b75d50aedc0987f9129982d12c26ab88520b9712113319f6a56db010f60dfeda4349e3808f94f9b24a1 WHIRLPOOL c420082785335a002cd47b7a358b62c7bee3519993df129f98137e7f766c2c3fb81808b0cc32154f97061af584cc7f54314061244801fc59eddbac7993673352
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/salt/salt-0.15.1.ebuild,v 1.1 2013/05/11 01:02:48 chutzpah Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=(python{2_6,2_7})
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
DESCRIPTION="Salt is a remote execution and configuration manager."
|
||||
HOMEPAGE="http://saltstack.org/"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
|
||||
EGIT_BRANCH="develop"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="ldap libvirt mako mongodb mysql openssl redis test"
|
||||
|
||||
RDEPEND=">=dev-python/pyzmq-2.1.9[${PYTHON_USEDEP}]
|
||||
dev-python/msgpack[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/m2crypto[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/pycryptopp[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
mako? ( dev-python/mako[${PYTHON_USEDEP}] )
|
||||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
|
||||
openssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
|
||||
libvirt? ( app-emulation/libvirt[python] )
|
||||
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||
mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] )
|
||||
redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )"
|
||||
DEPEND="test? (
|
||||
dev-python/virtualenv
|
||||
${RDEPEND}
|
||||
)"
|
||||
|
||||
python_prepare() {
|
||||
sed -i '/install_requires=/ d' setup.py || die "sed failed"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
for s in minion master syndic; do
|
||||
newinitd "${FILESDIR}"/${s}-initd-1 salt-${s}
|
||||
newconfd "${FILESDIR}"/${s}-confd-1 salt-${s}
|
||||
done
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins conf/*
|
||||
|
||||
dodoc README.rst AUTHORS
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# testsuite likes lots of files
|
||||
ulimit -n 3072
|
||||
SHELL="/bin/bash" TMPDIR=/tmp ./tests/runtests.py --unit-tests --no-report || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST q4wine-0.121.tar.bz2 665208 SHA256 fc5a1a8c09d133a17a997a2b020ad03eaf06c81357863d9f69fd7206d86e3edc SHA512 2086b45a6ecc110b365b63317d6f3b0dd7c87fce548907167fd4ddb6ebffdaf01b3c86df6b54eb977cebb309e80e8786fdfd85c16ab98dcb3f829af74cf26132 WHIRLPOOL dbd47f6d5687500f14ac82af1a8f7335c50f8895cab4b61b7e3597754756e0a39fa84c66b78bb06e45744b093e9cb4146da4d76cbf1d6266ff6676dd62d9416b
|
||||
DIST q4wine-1.0-r1.tar.bz2 858442 SHA256 a1020005ab4a71a0d11f37f65638dd8f97bd6f7b8d652f9b6042080046ba00a7 SHA512 bfb37c3bddf5cb6dacb08f71a2c278e977dc6b7bd0b8db1665be27316dc69a185282f9f4aa595eedc77df1ce9bdf386db8fa4b50ff43bc2276413216ea198c1d WHIRLPOOL 7b5ccc0e2cd52a6761517d09f05315a3cd865095de67cc81cde58937b5d0d81dfe5d0497a8c1029bade60322fab5b2c73a63ab75c421472f2b45fca7765fa1bc
|
||||
DIST q4wine-1.0-r2.tar.bz2 876411 SHA256 c92a5e0f7ce8b6dd5d4d4f6f0ed38ad14ad93652387f513f0769ff6c7bc0be0e SHA512 1be57465c1d96c8250ab3a0ae74df822d6ec4d53e1eb5bf0666ae2340511718052e7471a94fe5bab0bf07e105c86c2064cf7799ece2d530a7ede8e3d8564e458 WHIRLPOOL 063641823f5449c8b22bd7dfc54dd1cc761ac98a36c2d076be231bd5c657ef01684ee662146e4d4d4f3aab77c367ebcff356f8fc221ce07c449bfc8a675499a4
|
||||
DIST q4wine-1.0-r3.tar.bz2 889308 SHA256 9f1319dd0baff3834a3938e0a048c1529cb9ea521158370176b706fce0d4d2ff SHA512 df10a2fbf6874f4c4e02dd9c43031453a46c76f03d83321f2d6e9544d0540dd07da1bc9246767c5c91ce17d67d5d236227294efaed9de09f3d5a18afbd60b224 WHIRLPOOL 51b5b4cfc157da6b99154269ef4ef9f38ff91f861864158b789352505af485d8b523a21c6d4b59544804ed3c15cb1c6c756db3f3203c8e3ba55c8396c3630df3
|
||||
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/q4wine/q4wine-1.0-r3.ebuild,v 1.1 2013/05/10 18:40:11 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
LANGS="cs de en es fa he it ru uk pl pt af"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Qt4 GUI configuration tool for Wine"
|
||||
HOMEPAGE="http://q4wine.brezblock.org.ua/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/${PN}%20${PV}/${PF}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug +icoutils +wineappdb -dbus gnome kde"
|
||||
|
||||
for x in ${LANGS}; do
|
||||
IUSE+=" linguas_${x}"
|
||||
done
|
||||
|
||||
DEPEND="dev-qt/qtgui:4
|
||||
dev-qt/qtsql:4[sqlite]
|
||||
dev-util/cmake"
|
||||
|
||||
RDEPEND="dev-qt/qtgui:4
|
||||
dev-qt/qtsql:4[sqlite]
|
||||
app-admin/sudo
|
||||
app-emulation/wine
|
||||
>=sys-apps/which-2.19
|
||||
icoutils? ( >=media-gfx/icoutils-0.26.0 )
|
||||
sys-fs/fuseiso
|
||||
kde? ( kde-base/kdesu )
|
||||
gnome? ( x11-libs/gksu )
|
||||
dbus? ( dev-qt/qtdbus:4 )"
|
||||
|
||||
DOCS="README AUTHORS ChangeLog"
|
||||
|
||||
S="${WORKDIR}/${PF}"
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs="${mycmakeargs} \
|
||||
$(cmake-utils_use debug DEBUG) \
|
||||
$(cmake-utils_use_with icoutils ICOUTILS) \
|
||||
$(cmake-utils_use_with wineappdb WINEAPPDB) \
|
||||
$(cmake-utils_use_with dbus DBUS)"
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
for x in ${LANGS}; do
|
||||
if ! has ${x} ${LINGUAS}; then
|
||||
find "${D}" -name "${PN}_${x}*.qm" -exec rm {} \;
|
||||
fi
|
||||
done
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.41.ebuild,v 1.1 2013/05/11 06:01:15 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/newt
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST gentoolkit-dev-0.2.6.14.tar.gz 56556 SHA256 df1e6002215e8397c39924c550bfb3d984e6e087f402dd3f52965b4885219d8f SHA512 3e28e3c5d2c6e763a22d50826492cf0f7532d70063bea830ef64c68e41b4cf99b6cfab001d7e6d711061d20f54582350ba8391128b30751313f2887cea13a97e WHIRLPOOL 06edcbc2f90b0fbd0488ca3d758c78f64ff7510ebaefc9fd382e3125bac8e26d491e2ce1087d301e79311920fc579dbdc8d78fe554875ed215a748d96e4b3f58
|
||||
DIST gentoolkit-dev-0.2.7.tar.gz 54138 SHA256 c04072fd423b078d278ddeccd2df64b14937c937b5849e005dc591e53689be71 SHA512 ab7ddad3a03d75af2d9ee33668a629f88bf77e0b49f90d3753936a86aefc6128796697d9e1ab4fab0ffdbc50c3be6ec57156b114c36fbe530173a940ef4b3ccf WHIRLPOOL 6177847095b6f53caf206dfa63152613718e0355346e49fe6eec99cdfadad0ca3bf7949663136e17910c9a777487d7e23adc39a5028588130ed806cf4feed124
|
||||
DIST gentoolkit-dev-0.2.8.1.tar.gz 53390 SHA256 e0276726a40ee81d6b0eca0f5df2df709bdd3ffdf89cbac15e49d1967d4c47db SHA512 4302be4af8573a7d578e5b9824f253b2e86326e7cfda1b414e5a088bd1d84f77d99900285e40826e9c768e8f24203632e0a96b8b2c2899e11d4a5c39a9318e88 WHIRLPOOL d09bb8c9ada861d2130b35238f8eeb7aadcae97020e73f2e6faae6d2892e349f0f2a20ef70103ae33e3d646ee6d84c050e2ef43ed0041c2316c2a66bfcfeef72
|
||||
DIST gentoolkit-dev-0.2.8.2.tar.gz 53554 SHA256 caafd6a6f73c2bb7cd33c345cc0c1af6a3bfc093601c52480085214b097c8656 SHA512 ce8302dff0e500e01b9bf6d976641386f6be7565f4d7ba5884598d5a325987b4fcc808067a4342bd1532aa28c68432ef9e6607d6a8b4e60810455987df49c276 WHIRLPOOL 556abd92952f2444203bc817caa839c875ec47949b660ae3501c85ae62138b5e0c8b3c40cb1bb989a978f797ed09a7176e42baafce2a6c2d1511726f8062bb71
|
||||
DIST gentoolkit-dev-0.2.8.tar.gz 50440 SHA256 a33fc1bd35dd397863f84b488786e1d4370b72a8d65b10d4cb96f89c51a65868 SHA512 fe454554513c68b4ff1aee16404dc96f1e1ccd019694c7861d2180c1e8a1b13f8d66b5c33c3083f9c1b94d7da74c42ae1220b1b3395f1e8d2ef9439973bd4e2c WHIRLPOOL 1ba77e71b776e01c6a07b538081bbf8575bc217dece8eafc932201adb32a7e659df050b73a57a0aeab3db61dab33130594a956077cfd2e7cf4d8339eb9d38ad8
|
||||
|
@ -0,0 +1,38 @@
|
||||
From 84321cc30126edc9a3fe51458a251b06fddce1ca Mon Sep 17 00:00:00 2001
|
||||
From: Wang Jiajun <Amesists@gmail.com>
|
||||
Date: Sat, 11 May 2013 00:46:25 +0200
|
||||
Subject: [PATCH] Fix bug #454782 by config the user name and email
|
||||
|
||||
---
|
||||
src/echangelog/test/test.sh | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/echangelog/test/test.sh b/src/echangelog/test/test.sh
|
||||
index 74d815f..0559113 100755
|
||||
--- a/src/echangelog/test/test.sh
|
||||
+++ b/src/echangelog/test/test.sh
|
||||
@@ -12,7 +12,8 @@ _ROOT=$(pwd)
|
||||
unset GENTOO_AUTHOR_NAME GENTOO_AUTHOR_EMAIL \
|
||||
GENTOO_COMMITTER_NAME GENTOO_COMMITTER_EMAIL
|
||||
|
||||
-export ECHANGELOG_USER="Just a test <echangelogtest@gentoo.org>"
|
||||
+export GENTOO_COMMITTER_NAME="Just a test"
|
||||
+export GENTOO_COMMITTER_EMAIL="echangelogtest@gentoo.org"
|
||||
|
||||
MD5_INIT="21ac109c53cf02378593a4f613b2bb55"
|
||||
MD5_PATCH="f3fa1cacae3bf51d6188278e6a5fd0c6"
|
||||
@@ -56,6 +57,11 @@ make_test() {
|
||||
|
||||
if [ "${vcs}" = "git" ]; then
|
||||
git init
|
||||
+
|
||||
+ # bug 454782
|
||||
+ git config user.name "${GENTOO_COMMITTER_NAME}"
|
||||
+ git config user.email "${GENTOO_COMMITTER_EMAIL}"
|
||||
+
|
||||
touch .gitignore
|
||||
git add .gitignore
|
||||
git commit -a -m 'Initial Commit'
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -0,0 +1,174 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/swt/swt-4.2-r1.ebuild,v 1.1 2013/05/10 15:44:28 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic java-pkg-2 java-ant-2 toolchain-funcs java-osgi
|
||||
|
||||
MY_PV="${PV/_rc/RC}"
|
||||
MY_DMF="http://download.eclipse.org/eclipse/downloads/drops4/R-${MY_PV}-201206081400"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="GTK based SWT Library"
|
||||
HOMEPAGE="http://www.eclipse.org/"
|
||||
SRC_URI="
|
||||
amd64? ( ${MY_DMF}/${MY_P}-gtk-linux-x86_64.zip )
|
||||
ppc? ( ${MY_DMF}/${MY_P}-gtk-linux-x86.zip )
|
||||
ppc64? ( ${MY_DMF}/${MY_P}-gtk-linux-ppc64.zip )
|
||||
x86? ( ${MY_DMF}/${MY_P}-gtk-linux-x86.zip )
|
||||
x86-fbsd? ( ${MY_DMF}/${MY_P}-gtk-linux-x86.zip )"
|
||||
|
||||
LICENSE="CPL-1.0 LGPL-2.1 MPL-1.1"
|
||||
SLOT="4.2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="cairo gnome opengl webkit"
|
||||
|
||||
COMMON_DEP="
|
||||
>=dev-libs/atk-1.10.2
|
||||
>=dev-libs/glib-2.32
|
||||
>=x11-libs/gtk+-2.6.8:2
|
||||
x11-libs/libXtst
|
||||
cairo? ( >=x11-libs/cairo-1.4.14 )
|
||||
gnome? (
|
||||
=gnome-base/gnome-vfs-2*
|
||||
=gnome-base/libgnome-2*
|
||||
=gnome-base/libgnomeui-2*
|
||||
)
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
webkit? ( >=net-libs/webkit-gtk-1.2:2 )"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.4
|
||||
app-arch/unzip
|
||||
virtual/pkgconfig
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXt
|
||||
>=x11-libs/libXtst-1.1.0
|
||||
x11-proto/inputproto"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.4"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
# JNI libraries don't need SONAME, bug #253756
|
||||
QA_SONAME="usr/$(get_libdir)/libswt-.*.so"
|
||||
|
||||
src_unpack() {
|
||||
local DISTFILE=${A}
|
||||
unzip -jq "${DISTDIR}"/${DISTFILE} "*src.zip" || die "Unable to extract distfile"
|
||||
unpack "./src.zip"
|
||||
|
||||
# Cleanup the redirtied directory structure
|
||||
rm -rf about_files/ || die
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# Replace the build.xml to allow compilation without Eclipse tasks
|
||||
cp "${FILESDIR}/build.xml" "${S}/build.xml" || die "Unable to update build.xml"
|
||||
mkdir "${S}/src" && mv "${S}/org" "${S}/src" || die "Unable to restructure SWT sources"
|
||||
|
||||
# Fix Makefiles to respect flags and work with --as-needed
|
||||
epatch "${FILESDIR}"/${P}-as-needed-and-flag-fixes.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Drop jikes support as it seems to be unfriendly with SWT
|
||||
java-pkg_filter-compiler jikes
|
||||
|
||||
local AWT_ARCH
|
||||
local JAWTSO="libjawt.so"
|
||||
if [[ $(tc-arch) == 'x86' ]] ; then
|
||||
AWT_ARCH="i386"
|
||||
elif [[ $(tc-arch) == 'ppc' ]] ; then
|
||||
AWT_ARCH="ppc"
|
||||
elif [[ $(tc-arch) == 'ppc64' ]] ; then
|
||||
AWT_ARCH="ppc64"
|
||||
else
|
||||
AWT_ARCH="amd64"
|
||||
fi
|
||||
if [[ -f "${JAVA_HOME}/jre/lib/${AWT_ARCH}/${JAWTSO}" ]]; then
|
||||
export AWT_LIB_PATH="${JAVA_HOME}/jre/lib/${AWT_ARCH}"
|
||||
elif [[ -f "${JAVA_HOME}/jre/bin/${JAWTSO}" ]]; then
|
||||
export AWT_LIB_PATH="${JAVA_HOME}/jre/bin"
|
||||
elif [[ -f "${JAVA_HOME}/$(get_libdir)/${JAWTSO}" ]] ; then
|
||||
export AWT_LIB_PATH="${JAVA_HOME}/$(get_libdir)"
|
||||
else
|
||||
eerror "${JAWTSO} not found in the JDK being used for compilation!"
|
||||
die "cannot build AWT library"
|
||||
fi
|
||||
|
||||
# Fix the pointer size for AMD64
|
||||
[[ ${ARCH} == "amd64" || ${ARCH} == "ppc64" ]] && export SWT_PTR_CFLAGS=-DJNI64
|
||||
|
||||
local platform="linux"
|
||||
|
||||
use elibc_FreeBSD && platform="freebsd"
|
||||
|
||||
# Bug #461784, g_thread_init is deprecated since glib-2.32.
|
||||
append-cflags -DNO__1g_1thread_1init
|
||||
|
||||
local make="emake -f make_${platform}.mak NO_STRIP=y CC=$(tc-getCC) CXX=$(tc-getCXX)"
|
||||
|
||||
einfo "Building AWT library"
|
||||
${make} make_awt
|
||||
|
||||
einfo "Building SWT library"
|
||||
${make} make_swt
|
||||
|
||||
einfo "Building JAVA-AT-SPI bridge"
|
||||
${make} make_atk
|
||||
|
||||
if use gnome ; then
|
||||
einfo "Building GNOME VFS support"
|
||||
${make} make_gnome
|
||||
fi
|
||||
|
||||
if use cairo ; then
|
||||
einfo "Building CAIRO support"
|
||||
${make} make_cairo
|
||||
fi
|
||||
|
||||
if use opengl ; then
|
||||
einfo "Building OpenGL component"
|
||||
${make} make_glx
|
||||
fi
|
||||
|
||||
if use webkit ; then
|
||||
einfo "Building the WebKitGTK+ component"
|
||||
|
||||
${make} make_webkit
|
||||
fi
|
||||
|
||||
einfo "Building JNI libraries"
|
||||
eant compile
|
||||
|
||||
einfo "Copying missing files"
|
||||
cp -i "${S}/version.txt" "${S}/build/version.txt"
|
||||
cp -i "${S}/src/org/eclipse/swt/internal/SWTMessages.properties" \
|
||||
"${S}/build/org/eclipse/swt/internal/" || die
|
||||
|
||||
einfo "Packing JNI libraries"
|
||||
eant jar
|
||||
}
|
||||
|
||||
src_install() {
|
||||
swtArch=${ARCH}
|
||||
use amd64 && swtArch=x86_64
|
||||
use x86-fbsd && swtArch=x86
|
||||
|
||||
sed "s/SWT_ARCH/${swtArch}/" "${FILESDIR}/${PN}-${SLOT}-manifest" > "MANIFEST_TMP.MF" || die
|
||||
use cairo || sed -i -e "/ org.eclipse.swt.internal.cairo; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
use gnome || sed -i -e "/ org.eclipse.swt.internal.gnome; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
use opengl || sed -i -e "/ org.eclipse.swt.internal.opengl.glx; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
use webkit || sed -i -e "/ org.eclipse.swt.internal.webkit; x-internal:=true,/d" "MANIFEST_TMP.MF"
|
||||
java-osgi_newjar-fromfile "swt.jar" "MANIFEST_TMP.MF" "Standard Widget Toolkit for GTK 2.0"
|
||||
|
||||
java-pkg_sointo /usr/$(get_libdir)
|
||||
java-pkg_doso *.so
|
||||
|
||||
dohtml about.html
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/angelscript/angelscript-2.26.3.ebuild,v 1.1 2013/05/10 14:09:20 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs multilib-minimal
|
||||
|
||||
DESCRIPTION="A flexible, cross-platform scripting library"
|
||||
HOMEPAGE="http://www.angelcode.com/angelscript/"
|
||||
SRC_URI="http://www.angelcode.com/angelscript/sdk/files/angelscript_${PV}.zip"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/sdk
|
||||
S2=${WORKDIR}/sdk_static
|
||||
|
||||
pkg_setup() {
|
||||
tc-export CXX AR RANLIB
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use static-libs ; then
|
||||
cp -pR "${WORKDIR}"/sdk "${S2}"/ || die
|
||||
fi
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
einfo "Shared build"
|
||||
emake -C ${PN}/projects/gnuc SHARED=1 VERSION=${PV}
|
||||
|
||||
if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
|
||||
if use static-libs ; then
|
||||
einfo "Static build"
|
||||
emake -C "${S2}"/${PN}/projects/gnuc
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
doheader ${PN}/include/angelscript.h
|
||||
dolib.so ${PN}/lib/libangelscript-${PV}.so
|
||||
dosym libangelscript-${PV}.so /usr/$(get_libdir)/libangelscript.so
|
||||
|
||||
if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
|
||||
if use static-libs ; then
|
||||
dolib.a "${S2}"/${PN}/lib/libangelscript.a
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
use doc && dohtml -r "${WORKDIR}"/sdk/docs/*
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST opencryptoki-2.3.3-backports-3.tar.bz2 5972 SHA256 fb913dbb5c2b0d87067d9738892b2a4c4a7c192d6335cc0bae2a7083e913aa74 SHA512 bff2b1cd907d814a61296a99eaa5cdcb983355def8022ec09620048415e66b5feea425cba2d19b9f023073165969e981358dc6e406b1bc62f1e00f49e91ef943 WHIRLPOOL c77b1aa0268043d31b3d9d9d53d6416d9d8af5fbb29b07f498aaed61807c1848961b046192ca7eab227f055ba829c13bfa2696d016795b4df71e467c2a0185cc
|
||||
DIST opencryptoki-2.3.3.tar.bz2 694854 SHA256 7ccae6350a7043c2abade1eb1517edb987f13e98584dd28733172e8d36600aa2 SHA512 2c7ea2f689daba92ec178198dc1a3ffbc4812f4547a574b86cc8b69ada4e3aefb2613d4d291829d81b97d91d5d3fbe1735bd9b3f99db415ddcb4ca03863ddc4a WHIRLPOOL 3a955b464ea44c1dc50ce9869bbc48ced2a3962ef533491aa53956cccbca1fcf9411ffcccd1839384e7f3ba87368dba4c8c415f283139169391224a1f4cf5092
|
||||
DIST opencryptoki-2.4.2.tar.gz 1083876 SHA256 0bfbcf956fec078af12c34cd447c6274a5e7e886335c3b8b81106d20ccefa0d9 SHA512 2f760968cec7f15f7de38f0c74e0444d75d1a247d1efd9fc17a17ac5f2bcc4fd283def49d46baeea0c5adb6e19236993b4e8937f0e32162bcc7dbac8066144b9 WHIRLPOOL d7df0db3450d33c3e28be0031b48f22d89387f12f35ca868f593f82a87abb9eea89f28be43fb4ce3b17dee6e1d226fc08586320fbce4e0bf7d57db871d3cd76c
|
||||
DIST opencryptoki-2.4.3.tar.gz 1111897 SHA256 3ddc0a0e96957e64e61a960c8a7bfcff0030564ebf4f6848abe0740491fd52bc SHA512 e33d8df344161909c1fc0626880d89e47ac902c5f780cc04af07691fff20c50bdea5bfa0368df39fff84b365342f704638e90b329a3ae12ab5fb5f668c50a164 WHIRLPOOL ab5836f30749e7bb56b1ba882c15098096d7c36e1f9dd65a83a93d9b497231258a54c5a60cf4847fce8267c086a3aea380c33380fcb9d7a20c770f5f922846d7
|
||||
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/opencryptoki/opencryptoki-2.4.3.ebuild,v 1.1 2013/05/10 16:03:33 alonbl Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit autotools multilib flag-o-matic user
|
||||
|
||||
DESCRIPTION="PKCS#11 provider cryptographic hardware"
|
||||
HOMEPAGE="http://sourceforge.net/projects/opencryptoki"
|
||||
SRC_URI="mirror://sourceforge/opencryptoki/${P}.tar.gz"
|
||||
|
||||
# Upstream is looking into relicensing it into CPL-1.0 entirely; the CCA
|
||||
# token sources are under CPL-1.0 already.
|
||||
LICENSE="CPL-0.5"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
RDEPEND="tpm? ( app-crypt/trousers )
|
||||
dev-libs/openssl"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
IUSE="+tpm debug"
|
||||
|
||||
# tests right now basically don't exist; the only available thing would
|
||||
# test against an installed copy and would kill a running pcscd, all
|
||||
# things that we're not interested to.
|
||||
RESTRICT=test
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup pkcs11
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# package uses ${localstatedir}/lib as the default path, so if we
|
||||
# leave it to econf, it'll create /var/lib/lib.
|
||||
|
||||
# Since upstream by default seem to enable any possible token, even
|
||||
# when they don't seem to be used, we limit ourselves to the
|
||||
# software emulation token (swtok) and if the user enabled the tpm
|
||||
# USE flag, tpmtok. The rest of the tokens seem to be hardware- or
|
||||
# software-dependent even when they build fine without their
|
||||
# requirements, but until somebody asks for those, I'd rather not
|
||||
# enable them.
|
||||
|
||||
# We don't use --enable-debug because that tinkers with the CFLAGS
|
||||
# and we don't want that. Instead we append -DDEBUG which enables
|
||||
# debug information.
|
||||
use debug && append-flags -DDEBUG
|
||||
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--enable-fast-install \
|
||||
--disable-dependency-tracking \
|
||||
--disable-debug \
|
||||
--enable-daemon \
|
||||
--enable-library \
|
||||
--disable-icatok \
|
||||
--enable-swtok \
|
||||
$(use_enable tpm tpmtok) \
|
||||
--disable-aeptok \
|
||||
--disable-bcomtok \
|
||||
--disable-ccatok \
|
||||
--disable-crtok \
|
||||
--disable-icctok \
|
||||
--disable-pkcscca_migrate
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "emake install failed"
|
||||
|
||||
# Install libopencryptoki in the standard directory for libraries.
|
||||
mv "${D}"/usr/$(get_libdir)/opencryptoki/libopencryptoki.so* "${D}"/usr/$(get_libdir) || die
|
||||
rm "${D}"/usr/$(get_libdir)/pkcs11/libopencryptoki.so
|
||||
dosym ../libopencryptoki.so /usr/$(get_libdir)/pkcs11/libopencryptoki.so
|
||||
|
||||
# Remove compatibility symlinks as we _never_ required those and
|
||||
# they seem unused even upstream.
|
||||
find "${D}" -name 'PKCS11_*' -delete
|
||||
|
||||
# doesn't use libltdl; only dlopen()-based interfaces
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
# We replace their ld.so and init files (mostly designed for RedHat
|
||||
# as far as I can tell) with our own replacements.
|
||||
rm -rf "${D}"/etc/ld.so.conf.d "${D}"/etc/rc.d
|
||||
|
||||
# make sure that we don't modify the init script if the USE flags
|
||||
# are enabled for the needed services.
|
||||
cp "${FILESDIR}"/pkcsslotd.init.2 "${T}"/pkcsslotd.init
|
||||
use tpm || sed -i -e '/use tcsd/d' "${T}"/pkcsslotd.init
|
||||
newinitd "${T}/pkcsslotd.init" pkcsslotd
|
||||
|
||||
dodoc README AUTHORS FAQ TODO doc/openCryptoki-HOWTO.pdf || die
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST soprano-2.9.0.tar.bz2 1956448 SHA256 b39323386ede0ed4e8e278540fb9e2725b9f486bbc3975dcaa0eb68d7368e4eb SHA512 27ba4ad98ef00ccb2ec05356df61e1a4fee7f82c93b04f91c260c4a1a2e0d0649345effe00ca692f8a4ca71aa002448bd32fe6cb280f193b7f9b40537f4fbe87 WHIRLPOOL 6b33c25e50aeed9909839269817e667f7d804d8f1177a52a6a8d9c360b1b68393fe334eae3894818ce4d82064789c331107919087235202d4a9294839c7ff516
|
||||
DIST soprano-2.9.1.tar.bz2 1956810 SHA256 a1255bc5f8de274ac71ad33a7439ab55430a14c4db92211fbadcc5ac79a74b47 SHA512 30de1b3360f59a8a88936d22bd64becd6779a1d6e1ad385d4df0883c5017c2fd8294195c9c40e64bbf6900cb4931566d87d3e93eb287c5b1c59e54c8d5d8a86c WHIRLPOOL 558bbab25b46fc9d3889d87c3113c69d96807ee500e5b697eaee53bd02538705553bd55ed57e3ee17120c9f156d0b90c3e2468b4d03bbb3b31de5497aade6231
|
||||
DIST soprano-2.9.2.tar.bz2 1956936 SHA256 e115d2debd9b809e4c290cb8068eb9f61f2f654ee32a315f3006a8199ea5bd80 SHA512 29c4785e31a06a1b44944863fc69d2c020df6c3aa09204619c3b6d8df7d64de547f3f911f7c1b6b2db9a5688a26c82390685eeddbca457224cae1b64d9f04d93 WHIRLPOOL 3755077d6318a3b6e2ab5cfaf452ccc1e0e7140923287031dc626829f5b19e9702682a2f0196a755c645c78991607099735b78d640ab88c5cb4a4eff87c1a8ea
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.9.1.ebuild,v 1.1 2013/05/06 19:14:35 johu Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/soprano/soprano-2.9.2.ebuild,v 1.1 2013/05/10 23:20:07 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gnome2/ruby-gnome2-1.2.6.ebuild,v 1.1 2013/05/11 05:13:59 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
inherit ruby-ng
|
||||
|
||||
DESCRIPTION="Ruby Gnome2 bindings"
|
||||
HOMEPAGE="http://ruby-gnome2.sourceforge.jp/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/ruby-cairo-gobject-${PV}
|
||||
>=dev-ruby/ruby-clutter-${PV}
|
||||
>=dev-ruby/ruby-clutter-gtk-${PV}
|
||||
>=dev-ruby/ruby-gio2-${PV}
|
||||
>=dev-ruby/ruby-gobject-introspection-${PV}
|
||||
>=dev-ruby/ruby-goocanvas-${PV}
|
||||
>=dev-ruby/ruby-gstreamer-${PV}
|
||||
>=dev-ruby/ruby-gtk2-${PV}
|
||||
>=dev-ruby/ruby-gtk3-${PV}
|
||||
>=dev-ruby/ruby-gtksourceview-${PV}
|
||||
>=dev-ruby/ruby-gtksourceview3-${PV}
|
||||
>=dev-ruby/ruby-poppler-${PV}
|
||||
>=dev-ruby/ruby-rsvg-${PV}
|
||||
>=dev-ruby/ruby-vte-${PV}
|
||||
>=dev-ruby/ruby-vte3-${PV}
|
||||
>=dev-ruby/ruby-webkit-gtk-${PV}
|
||||
>=dev-ruby/ruby-webkit-gtk2-${PV}"
|
@ -0,0 +1 @@
|
||||
DIST ruby-gnome2-all-1.2.6.tar.gz 1718802 SHA256 b9e0093e82d53aead93ba1cd261faf03ccede873ee0e7ffd35090ce1c604be66 SHA512 b2e123ece31b89dc1d37040297d726b625d71579bbf60cb84c89b63f0fb9bf097d5f0675a16dfc7aecd8161913c737b22c057cc872dd454f341440c76901c07d WHIRLPOOL 2e4f47014b93838a9c31267fcca86458127ab9bc02b241a6bd0c3f14df8af7a25f6166d294577eb674f59c1e1d042208e5b448c83429011651dc6af0e9383b9a
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-webkit-gtk2/ruby-webkit-gtk2-1.2.6.ebuild,v 1.1 2013/05/10 13:22:45 naota Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
inherit ruby-ng-gnome2
|
||||
|
||||
DESCRIPTION="Ruby WebKitGtk+ for Gtk 2.0 bindings"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${DEPEND} net-libs/webkit-gtk:2"
|
||||
RDEPEND="${RDEPEND} net-libs/webkit-gtk:2"
|
||||
|
||||
RUBY_S="ruby-gnome2-all-${PV}/webkit-gtk2"
|
||||
|
||||
ruby_add_bdepend ">=dev-ruby/ruby-glib2-${PV}"
|
||||
ruby_add_rdepend ">=dev-ruby/ruby-gobject-introspection-${PV}
|
||||
>=dev-ruby/ruby-gtk2-${PV}"
|
||||
|
||||
each_ruby_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST debhelper_9.20120909.tar.gz 464785 SHA256 fabcdb9c41975ea0a1ccc66d6e065e424ed7a2119f6f1a6f7bfb7d06701370af SHA512 f1c417f0610b703d1b6ad9989078f03c67b11f45b1aa61f7d3f2fe8578dbc4d060da955c872c8e6326553ab4e7bbc21a1d9bebd9237e54d74c97f1297981384e WHIRLPOOL 72440752da24e29e5bb2e142d02b18b77472bf373b9c5a79ced790a5e6bb6e1cdec7521eb6e76b8833295441bd1062b9a94170d92dd9e9d5ed984e1ec6d9c88e
|
||||
DIST debhelper_9.20130504.tar.gz 470050 SHA256 7d6ee2657430afcb477396c32c4bc170aa7fae97332045aa8f4ebec889051f01 SHA512 79ac8c1f6eee72a69b759733f7cfd75eb28a2557eb10f7f8f5fee174a62a89436923c3ab28563b6e00e874224ed050bb5981f41a822a40cd35c1b796aec053f1 WHIRLPOOL 5d71fe9308268943adb1bfd97d3b7271b1aa0ef77001ff8fbe821a0e4aa373e89d9952401ccdf323bfaed0d9fcf033f15a0200753f723c6141afee8a618f9000
|
||||
DIST debhelper_9.20130507.tar.gz 471022 SHA256 5c2d4dae513af6bcb3f63c27a1eb16c130b488b5dc7e0bf43d2e125dd5129bd8 SHA512 9f5dcbca3c0e9e3468e55914eec4abfe9e23e75e808660efda7641217365b30a60f5fc3121845d90faae26c5b57dfd89cd1c1fc6a61512abe7cbd8cd343b3112 WHIRLPOOL d56a822b74d22a4642f695b82f1fbc2fb9b0095a5fa0dd8fb5a1901cabc483d592c5687bc950a29f210a2319ec6f11c8c3b69cb8393e0eb856f8d407f668039c
|
||||
DIST debhelper_9.20130509.tar.gz 471480 SHA256 b08e071a4389f841df1dc177e60936c9ff10dea4d242bacaebc94965d93f3310 SHA512 735673a9c3b26b13babe84f014570d31d10a7f5f616ea51a8db2f826946234b9390d92ef6b4e3e8b4ac55e1fabda2dbb9728a8ad080751582de0edcba312c183 WHIRLPOOL 6a8c838dceacccc3674f3a50b1189e316e594ccad73d74526f79d2134cdd0b82650e70374f80b360245ed61290f86e72b71d7ef5e2bdfe3393ebd3e28694fe45
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/debhelper/debhelper-9.20130509.ebuild,v 1.1 2013/05/10 15:56:44 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Collection of programs that can be used to automate common tasks in debian/rules"
|
||||
HOMEPAGE="http://packages.qa.debian.org/d/debhelper.html http://joeyh.name/code/debhelper/"
|
||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="test"
|
||||
DH_LINGUAS=( de es fr )
|
||||
IUSE+=" ${DH_LINGUAS[@]/#/linguas_}"
|
||||
|
||||
NLS_DEPEND=$(
|
||||
printf "linguas_%s? ( >=app-text/po4a-0.24 )\n" ${DH_LINGUAS[@]}
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/perl-5.10
|
||||
app-arch/dpkg
|
||||
dev-perl/TimeDate
|
||||
virtual/perl-Getopt-Long
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
${NLS_DEPEND}
|
||||
test? ( dev-perl/Test-Pod )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
|
||||
local LANGS="" USE_NLS=no lingua
|
||||
for lingua in ${DH_LINGUAS[@]}; do
|
||||
if use linguas_${lingua}; then
|
||||
LANGS+=" ${lingua}"
|
||||
USE_NLS=yes
|
||||
fi
|
||||
done
|
||||
|
||||
emake USE_NLS="${USE_NLS}" LANGS="${LANGS}" build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/* debian/changelog
|
||||
docinto examples
|
||||
dodoc examples/*
|
||||
local lingua
|
||||
for manfile in *.1 *.7 ; do
|
||||
for lingua in ${DH_LINGUAS[@]}; do
|
||||
case ${manfile} in
|
||||
*.${lingua}.?)
|
||||
use linguas_${lingua} \
|
||||
&& cp ${manfile} "${T}"/${manfile/.${lingua}/} \
|
||||
&& doman -i18n=${lingua} "${T}"/${manfile/.${lingua}/}
|
||||
;;
|
||||
*)
|
||||
doman ${manfile}
|
||||
;;
|
||||
esac
|
||||
done
|
||||
done
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/svneverever/svneverever-1.2.2.ebuild,v 1.1 2013/05/11 01:14:38 sping Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
PYTHON_DEPEND="*:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Tool collecting path entries across SVN history"
|
||||
HOMEPAGE="http://git.goodpoint.de/?p=svneverever.git;a=summary"
|
||||
SRC_URI="http://www.hartwork.org/public/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-python/pysvn
|
||||
virtual/python-argparse"
|
@ -1 +1,2 @@
|
||||
DIST super-hexagon-linux-15-bin 27381384 SHA256 3dbcf28ca1e67f2d61c1e1038947ef176f4f17b90688a24605794a08f06379b3 SHA512 f6734db0126e1937b694326885eb6dab639cd96217ac8734f2be59966a0a9ac52274affdb3472871e0067d2ecba8f184720ab6fdf15f2048f86395b539570a60 WHIRLPOOL 07c2007c5ab2cb0c550ce54d84ec519ecd6431fd9bdcf4c6475083f1c41562a47c8d95d33c9dbd82793abdcb10c6613520a1944499f57babde0bd4e722e37c9a
|
||||
DIST super-hexagon-linux-16-bin-1366677959 27381953 SHA256 2c6dfba53cb0dd58bcbff519862af8bf7af67475845bb43207e9d32032efa104 SHA512 ff10016cf7136b308627720652174730011d51e663bc1196dc85715926038aec6dc6b44104c2ff2fc382fb9579a8c45ee60a921dff2fb2fc9a4d6eb2a3e93fa2 WHIRLPOOL f246c9eaa5cd05e5d0c09090ae4b79bb4c3be3a07ebbd659e34dcd55b04f7a236e4b7527ef4d672c4a5d91b7da9e3815e049d1c2ed6050d637e05cca320af793
|
||||
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-action/super-hexagon/super-hexagon-16.ebuild,v 1.1 2013/05/10 18:47:23 hasufell Exp $
|
||||
|
||||
# we use bundled glew, cause slotting 1.6 does not give us
|
||||
# much benefit for one consumer
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils unpacker games
|
||||
|
||||
DESCRIPTION="A minimal action game by Terry Cavanagh, with music by Chipzel"
|
||||
HOMEPAGE="http://www.superhexagon.com/"
|
||||
SRC_URI="${PN}-linux-${PV}-bin-1366677959"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="bundled-libs"
|
||||
RESTRICT="bindist fetch splitdebug"
|
||||
|
||||
MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN}
|
||||
QA_PREBUILT="${MYGAMEDIR#/}/x86/*
|
||||
${MYGAMEDIR#/}/x86_64/*"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXxf86vm
|
||||
!bundled-libs? (
|
||||
media-libs/freeglut
|
||||
media-libs/libogg
|
||||
media-libs/libvorbis
|
||||
media-libs/openal
|
||||
)"
|
||||
|
||||
S=${WORKDIR}/data
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please buy & download ${SRC_URI} from:"
|
||||
einfo " ${HOMEPAGE}"
|
||||
einfo "and move it to ${DISTDIR}"
|
||||
einfo
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack_zip ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
einfo "removing ${ARCH} unrelated files"
|
||||
rm -r $(usex amd64 "x86" "x86_64") || die
|
||||
|
||||
if ! use bundled-libs ; then
|
||||
einfo "removing bundled-libs..."
|
||||
cd $(usex amd64 "x86_64" "x86") || die
|
||||
rm libglut.so* libogg.so* libopenal.so* libstdc++.so* \
|
||||
libvorbis.so* libvorbisfile.so*
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myarch=$(usex amd64 "x86_64" "x86")
|
||||
|
||||
insinto "${MYGAMEDIR}"
|
||||
doins -r data ${myarch}
|
||||
|
||||
dodoc Linux.README
|
||||
|
||||
newicon SuperHexagon.png ${PN}.png
|
||||
make_desktop_entry ${PN}
|
||||
games_make_wrapper ${PN} "./${myarch}/superhexagon.${myarch}" "${MYGAMEDIR}" "${MYGAMEDIR}/${myarch}"
|
||||
|
||||
fperms +x "${MYGAMEDIR}/${myarch}/superhexagon.${myarch}"
|
||||
prepgamesdirs
|
||||
}
|
@ -1 +1 @@
|
||||
DIST apricots-0.2.6.tar.gz 768568 RMD160 54377e287a7ce693a90a2387b4c53860f68487cb SHA1 4b5b4c867fc92d4fc717d16b30dbaf8411f24a48 SHA256 9c408722abbb0cb925384f12a65fe4f6e2b3373d5ce5d0e5afe3aeb738b9cd8f
|
||||
DIST apricots-0.2.6.tar.gz 768568 SHA256 9c408722abbb0cb925384f12a65fe4f6e2b3373d5ce5d0e5afe3aeb738b9cd8f SHA512 cf8a988d316382469e4b13a86315c760b702b3d490398cf2fe96f119ba743c1ff707c09228dbbf4eb601189fece708913a621b04c44e9d93162639ccbd502cf5 WHIRLPOOL e45b924f86494e16ea4340a292aabb624a0632801044250b082e6b449311b47a89c23386eb88c507053c3629af4ecb8db4bc4d7096887fa884d5395474f3e946
|
||||
|
@ -1,5 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>gnome</herd>
|
||||
<herd>gnome</herd>
|
||||
<longdescription lang="en">
|
||||
GNOME Keyring is a collection of components in GNOME that store
|
||||
secrets, passwords, keys, certificates and make them available to
|
||||
applications. It is integrated with the user's login, so that
|
||||
their secret storage can be unlocked when the user logins into their
|
||||
session. It is based around a standard called PKCS#11, which is a
|
||||
standard way for applications to manage certificates and keys on
|
||||
smart cards or secure storage.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -1,31 +0,0 @@
|
||||
From b5a8845c515fa6f6b40d58748f05b626d2356f17 Mon Sep 17 00:00:00 2001
|
||||
From: Jekyll Wu <adaptee@gmail.com>
|
||||
Date: Mon, 25 Mar 2013 11:53:35 +0800
|
||||
Subject: [PATCH] Connect to the new signal, instead of the non-existent one
|
||||
|
||||
I made a stupid mistake in the final revised patch for review 108411,
|
||||
which makes drkonqi never realize the attachment has been successfully
|
||||
uploaded to the bugzilla.
|
||||
|
||||
BUG: 316958
|
||||
FIXED-IN: 4.10.2
|
||||
---
|
||||
drkonqi/reportinterface.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drkonqi/reportinterface.cpp b/drkonqi/reportinterface.cpp
|
||||
index f911b77..b29652c 100644
|
||||
--- a/drkonqi/reportinterface.cpp
|
||||
+++ b/drkonqi/reportinterface.cpp
|
||||
@@ -345,7 +345,7 @@ void ReportInterface::sendUsingDefaultProduct() const
|
||||
void ReportInterface::addedToCC()
|
||||
{
|
||||
//The user was added to the CC list, proceed with the attachment
|
||||
- connect(m_bugzillaManager, SIGNAL(attachToReportSent(int,int)), this, SLOT(attachSent(int,int)));
|
||||
+ connect(m_bugzillaManager, SIGNAL(attachToReportSent(int)), this, SLOT(attachSent(int)));
|
||||
connect(m_bugzillaManager, SIGNAL(attachToReportError(QString,QString)),
|
||||
this, SIGNAL(sendReportError(QString,QString)));
|
||||
BugReport report = newBugReportTemplate();
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -1,55 +0,0 @@
|
||||
From 96af9ef4f8bd16816834008b73e7b29694136552 Mon Sep 17 00:00:00 2001
|
||||
From: Raymond Wooninck <tittiatcoke@gmail.com>
|
||||
Date: Thu, 14 Mar 2013 10:26:45 +0100
|
||||
Subject: [PATCH] Make kdelibs compile with the latest giflib v5 while
|
||||
maintaining backwards compatibility
|
||||
|
||||
REVIEW: 109478
|
||||
---
|
||||
khtml/imload/decoders/gifloader.cpp | 14 ++++++++++++++
|
||||
1 file changed, 14 insertions(+)
|
||||
|
||||
diff --git a/khtml/imload/decoders/gifloader.cpp b/khtml/imload/decoders/gifloader.cpp
|
||||
index ebbb749..0c1acf5 100644
|
||||
--- a/khtml/imload/decoders/gifloader.cpp
|
||||
+++ b/khtml/imload/decoders/gifloader.cpp
|
||||
@@ -45,6 +45,11 @@ extern "C" {
|
||||
#include <gif_lib.h>
|
||||
}
|
||||
|
||||
+/* avoid cpp warning about undefined macro, old giflib had no GIFLIB_MAJOR */
|
||||
+#ifndef GIFLIB_MAJOR
|
||||
+#define GIFLIB_MAJOR 4
|
||||
+#endif
|
||||
+
|
||||
// #define DEBUG_GIFLOADER
|
||||
|
||||
namespace khtmlImLoad {
|
||||
@@ -300,7 +305,11 @@ public:
|
||||
}
|
||||
|
||||
|
||||
+#if GIFLIB_MAJOR >= 5
|
||||
+ static unsigned int decode16Bit(unsigned char* signedLoc)
|
||||
+#else
|
||||
static unsigned int decode16Bit(char* signedLoc)
|
||||
+#endif
|
||||
{
|
||||
unsigned char* loc = reinterpret_cast<unsigned char*>(signedLoc);
|
||||
|
||||
@@ -348,7 +357,12 @@ public:
|
||||
virtual int processEOF()
|
||||
{
|
||||
//Feed the buffered data to libUnGif
|
||||
+#if GIFLIB_MAJOR >= 5
|
||||
+ int errorCode;
|
||||
+ GifFileType* file = DGifOpen(this, gifReaderBridge, &errorCode);
|
||||
+#else
|
||||
GifFileType* file = DGifOpen(this, gifReaderBridge);
|
||||
+#endif
|
||||
|
||||
if (!file)
|
||||
return Error;
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -1,14 +0,0 @@
|
||||
Backport of fix for Bug 464318 - kde-base/kget deletes home
|
||||
(is in 4.10.2)
|
||||
|
||||
--- branches/KDE/4.10/kdenetwork/kget/transfer-plugins/multisegmentkio/transfermultisegkio.cpp 2013/03/07 10:29:45 1343275
|
||||
+++ branches/KDE/4.10/kdenetwork/kget/transfer-plugins/multisegmentkio/transfermultisegkio.cpp 2013/03/07 10:33:10 1343276
|
||||
@@ -166,6 +166,8 @@
|
||||
if (change & Tc_FileName) {
|
||||
QList<KUrl> urls = m_dataSourceFactory->mirrors().keys();
|
||||
QString filename = urls.first().fileName();
|
||||
+ if (filename.isEmpty())
|
||||
+ return;
|
||||
foreach (const KUrl url, urls) {
|
||||
if (filename != url.fileName())
|
||||
return;
|
@ -1,36 +0,0 @@
|
||||
From 39f51ac87536459966c87050f66c3913fed654d8 Mon Sep 17 00:00:00 2001
|
||||
From: Eugene Shalygin <eugene.shalygin@gmail.com>
|
||||
Date: Mon, 18 Mar 2013 03:56:04 +1100
|
||||
Subject: [PATCH] Fix crash when moving stream across devices.
|
||||
|
||||
REVIEW: 109293
|
||||
BUG: 311167
|
||||
---
|
||||
gui/mdwslider.cpp | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/gui/mdwslider.cpp b/gui/mdwslider.cpp
|
||||
index af6e725..b09909d 100644
|
||||
--- a/gui/mdwslider.cpp
|
||||
+++ b/gui/mdwslider.cpp
|
||||
@@ -1217,7 +1217,7 @@ void MDWSlider::showMoveMenu()
|
||||
KAction *a = new KAction(_mdwMoveActions);
|
||||
a->setText( i18n("Automatic According to Category") );
|
||||
_mdwMoveActions->addAction( QString("moveautomatic"), a);
|
||||
- connect(a, SIGNAL(triggered(bool)), SLOT(moveStreamAutomatic()));
|
||||
+ connect(a, SIGNAL(triggered(bool)), SLOT(moveStreamAutomatic()), Qt::QueuedConnection);
|
||||
m_moveMenu->addAction( a );
|
||||
|
||||
a = new KAction(_mdwMoveActions);
|
||||
@@ -1229,7 +1229,7 @@ void MDWSlider::showMoveMenu()
|
||||
{
|
||||
a = new MDWMoveAction(md, _mdwMoveActions);
|
||||
_mdwMoveActions->addAction( QString("moveto") + md->id(), a);
|
||||
- connect(a, SIGNAL(moveRequest(QString)), SLOT(moveStream(QString)));
|
||||
+ connect(a, SIGNAL(moveRequest(QString)), SLOT(moveStream(QString)), Qt::QueuedConnection);
|
||||
m_moveMenu->addAction( a );
|
||||
}
|
||||
}
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -1,13 +0,0 @@
|
||||
diff -ruN kopete-4.10.1/CMakeLists.txt kopete-4.10.1-patched/CMakeLists.txt
|
||||
--- kopete-4.10.1/CMakeLists.txt 2013-03-15 18:42:36.582537588 -0400
|
||||
+++ kopete-4.10.1-patched/CMakeLists.txt 2013-03-15 18:52:43.437521238 -0400
|
||||
@@ -28,6 +28,9 @@
|
||||
set(CMAKE_REQUIRED_INCLUDES ${KDEWIN_INCLUDES} )
|
||||
endif (WIN32)
|
||||
|
||||
+set ( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-fatal-warnings")
|
||||
+set ( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-fatal-warnings")
|
||||
+
|
||||
macro_optional_find_package(KdepimLibs)
|
||||
# find_package(X11VidMode) not used at this time
|
||||
|
@ -0,0 +1,25 @@
|
||||
Index: libkopete/avdevice/videodevice.cpp
|
||||
===================================================================
|
||||
--- kopete/libkopete/avdevice/videodevice.cpp (revision 1353128)
|
||||
+++ kopete/libkopete/avdevice/videodevice.cpp (working copy)
|
||||
@@ -3050,7 +3050,9 @@
|
||||
case V4L2_CID_AUDIO_TREBLE: return I18N_NOOP("Treble");
|
||||
case V4L2_CID_AUDIO_MUTE: return I18N_NOOP("Mute");
|
||||
case V4L2_CID_AUDIO_LOUDNESS: return I18N_NOOP("Loudness");
|
||||
+#ifdef V4L2_CID_BLACK_LEVEL // deprecated, likely to be removed soon
|
||||
case V4L2_CID_BLACK_LEVEL: return I18N_NOOP("Black Level");
|
||||
+#endif
|
||||
case V4L2_CID_AUTO_WHITE_BALANCE: return I18N_NOOP("Automatic White Balance");
|
||||
case V4L2_CID_DO_WHITE_BALANCE: return I18N_NOOP("Do White Balance");
|
||||
case V4L2_CID_RED_BALANCE: return I18N_NOOP("Red Balance");
|
||||
@@ -3061,8 +3063,10 @@
|
||||
case V4L2_CID_GAIN: return I18N_NOOP("Gain");
|
||||
case V4L2_CID_HFLIP: return I18N_NOOP("Horizontal Flip");
|
||||
case V4L2_CID_VFLIP: return I18N_NOOP("Vertical Flip");
|
||||
+#ifdef V4L2_CID_HCENTER // removed in kernel 3.9
|
||||
case V4L2_CID_HCENTER: return I18N_NOOP("Horizontal Center");
|
||||
case V4L2_CID_VCENTER: return I18N_NOOP("Vertical Center");
|
||||
+#endif
|
||||
#ifdef V4L2_CID_POWER_LINE_FREQUENCY // since kernel 2.6.25
|
||||
case V4L2_CID_POWER_LINE_FREQUENCY: return I18N_NOOP("Power Line Frequency");
|
||||
case V4L2_CID_HUE_AUTO: return I18N_NOOP("Automatic Hue");
|
@ -1,137 +0,0 @@
|
||||
From d9dfd9a2b3e337cf92a89e944ca14f2cf8a328d7 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Palimaka <kensington@gentoo.org>
|
||||
Date: Sat, 16 Mar 2013 00:37:27 +1100
|
||||
Subject: [PATCH] Fix building issues with cfitsio disabled.
|
||||
|
||||
BUG: 316464
|
||||
REVIEW: 109477
|
||||
---
|
||||
kstars/CMakeLists.txt | 6 ++++--
|
||||
kstars/indi/indiccd.cpp | 9 +++++++++
|
||||
kstars/kstarsactions.cpp | 8 +++++---
|
||||
3 files changed, 18 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/kstars/CMakeLists.txt b/kstars/CMakeLists.txt
|
||||
index 52d35f2..2d00264 100644
|
||||
--- a/kstars/CMakeLists.txt
|
||||
+++ b/kstars/CMakeLists.txt
|
||||
@@ -53,6 +53,7 @@ if (INDI_FOUND)
|
||||
indi/telescopewizard.ui
|
||||
)
|
||||
|
||||
+if (CFITSIO_FOUND)
|
||||
set(ekosui_SRCS
|
||||
ekos/opsekos.ui
|
||||
ekos/ekosmanager.ui
|
||||
@@ -78,7 +79,8 @@ if (INDI_FOUND)
|
||||
ekos/guide/scroll_graph.cpp
|
||||
ekos/guide/vect.cpp
|
||||
)
|
||||
-
|
||||
+endif(CFITSIO_FOUND)
|
||||
+
|
||||
include_directories(${INDI_INCLUDE_DIR})
|
||||
endif(INDI_FOUND)
|
||||
|
||||
@@ -443,7 +445,7 @@ kde4_add_kcfg_files(kstars_SRCS ${kstars_KCFG_SRCS})
|
||||
#kde4_add_dcop_skels(kstars_SRCS kstarsinterface.h simclockinterface.h )
|
||||
|
||||
kde4_add_ui_files(kstars_SRCS
|
||||
- ${indiui_SRCS} ${ekosui_SRCS} ${fitsui_SRCS} ${xplanetui_SRCS} ${kstars_optionsui_SRCS} ${kstars_dialogsui_SRCS}
|
||||
+ ${indiui_SRCS} ${ui_SRCS} ${fitsui_SRCS} ${ekosui_SRCS} ${xplanetui_SRCS} ${kstars_optionsui_SRCS} ${kstars_dialogsui_SRCS}
|
||||
${printingui_SRCS}
|
||||
thumbnailpicker.ui thumbnaileditor.ui oal/observeradd.ui oal/equipmentwriter.ui oal/execute.ui skycomponents/notifyupdatesui.ui
|
||||
)
|
||||
diff --git a/kstars/indi/indiccd.cpp b/kstars/indi/indiccd.cpp
|
||||
index 67311af..a578a1a 100644
|
||||
--- a/kstars/indi/indiccd.cpp
|
||||
+++ b/kstars/indi/indiccd.cpp
|
||||
@@ -7,6 +7,8 @@
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
*/
|
||||
|
||||
+#include <config-kstars.h>
|
||||
+
|
||||
#include <string.h>
|
||||
|
||||
#include <KMessageBox>
|
||||
@@ -15,8 +17,11 @@
|
||||
|
||||
#include <basedevice.h>
|
||||
|
||||
+#ifdef HAVE_CFITSIO_H
|
||||
#include "fitsviewer/fitsviewer.h"
|
||||
#include "fitsviewer/fitscommon.h"
|
||||
+#endif
|
||||
+
|
||||
#include "clientmanager.h"
|
||||
#include "streamwg.h"
|
||||
#include "indiccd.h"
|
||||
@@ -477,7 +482,9 @@ CCD::CCD(GDInterface *iPtr) : DeviceDecorator(iPtr)
|
||||
|
||||
CCD::~CCD()
|
||||
{
|
||||
+#ifdef HAVE_CFITSIO_H
|
||||
delete (fv);
|
||||
+#endif
|
||||
delete (streamWindow);
|
||||
delete (primaryChip);
|
||||
delete (guideChip);
|
||||
@@ -755,6 +762,7 @@ void CCD::processBLOB(IBLOB* bp)
|
||||
|
||||
void CCD::addFITSKeywords(QString filename)
|
||||
{
|
||||
+#ifdef HAVE_CFITSIO_H
|
||||
int status=0;
|
||||
|
||||
if (filter.isEmpty() == false)
|
||||
@@ -780,6 +788,7 @@ void CCD::addFITSKeywords(QString filename)
|
||||
|
||||
filter = "";
|
||||
}
|
||||
+#endif
|
||||
}
|
||||
|
||||
void CCD::FITSViewerDestroyed()
|
||||
diff --git a/kstars/kstarsactions.cpp b/kstars/kstarsactions.cpp
|
||||
index 0d7eb37..1e76bc4 100644
|
||||
--- a/kstars/kstarsactions.cpp
|
||||
+++ b/kstars/kstarsactions.cpp
|
||||
@@ -86,10 +86,8 @@
|
||||
#include <config-kstars.h>
|
||||
|
||||
#ifdef HAVE_INDI_H
|
||||
-#include "ekos/ekosmanager.h"
|
||||
#include "indi/telescopewizardprocess.h"
|
||||
#include "indi/opsindi.h"
|
||||
-#include "ekos/opsekos.h"
|
||||
#include "indi/drivermanager.h"
|
||||
#include "indi/guimanager.h"
|
||||
#endif
|
||||
@@ -104,7 +102,8 @@
|
||||
#ifdef HAVE_CFITSIO_H
|
||||
#include "fitsviewer/fitsviewer.h"
|
||||
#ifdef HAVE_INDI_H
|
||||
-//#include "ekos/ekos.h"
|
||||
+#include "ekos/ekosmanager.h"
|
||||
+#include "ekos/opsekos.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -444,10 +443,13 @@ void KStars::slotViewOps() {
|
||||
opsindi = new OpsINDI (this);
|
||||
dialog->addPage(opsindi, i18n("INDI"), "kstars");
|
||||
|
||||
+ #ifdef HAVE_CFITSIO_H
|
||||
opsekos = new OpsEkos(this);
|
||||
dialog->addPage(opsekos, i18n("Ekos"), "kstars");
|
||||
#endif
|
||||
|
||||
+ #endif
|
||||
+
|
||||
#ifdef HAVE_XPLANET
|
||||
opsxplanet = new OpsXplanet( this );
|
||||
dialog->addPage(opsxplanet, i18n("Xplanet"), "kstars_xplanet");
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -1,44 +0,0 @@
|
||||
commit 569f79c60f8fd2b3e655433c2c53f840b4c103e9
|
||||
Author: Thomas Lübking <thomas.luebking@gmail.com>
|
||||
Date: Sat Mar 2 22:27:20 2013 +0100
|
||||
|
||||
Map NULL_UUID activity to ALL activities
|
||||
|
||||
REVIEW: 109274
|
||||
BUG: 314830
|
||||
FIXED-IN: 4.10.2
|
||||
|
||||
diff --git a/kwin/client.cpp b/kwin/client.cpp
|
||||
index 5fb6dcb..e16a1fe 100644
|
||||
--- a/kwin/client.cpp
|
||||
+++ b/kwin/client.cpp
|
||||
@@ -1518,12 +1518,16 @@ void Client::setOnActivity(const QString &activity, bool enable)
|
||||
/**
|
||||
* set exactly which activities this client is on
|
||||
*/
|
||||
+#define NULL_UUID "00000000-0000-0000-0000-000000000000"
|
||||
void Client::setOnActivities(QStringList newActivitiesList)
|
||||
{
|
||||
QString joinedActivitiesList = newActivitiesList.join(",");
|
||||
joinedActivitiesList = rules()->checkActivity(joinedActivitiesList, false);
|
||||
newActivitiesList = joinedActivitiesList.split(',', QString::SkipEmptyParts);
|
||||
|
||||
+ if (newActivitiesList.contains(NULL_UUID))
|
||||
+ newActivitiesList.clear(); // turn into "all"
|
||||
+
|
||||
QStringList allActivities = workspace()->activityList();
|
||||
if ( newActivitiesList.isEmpty() ||
|
||||
(newActivitiesList.count() > 1 && newActivitiesList.count() == allActivities.count()) ||
|
||||
@@ -2380,6 +2384,12 @@ void Client::checkActivities()
|
||||
}
|
||||
|
||||
newActivitiesList = QString(prop).split(',');
|
||||
+
|
||||
+ if (newActivitiesList.contains(NULL_UUID)) {
|
||||
+ setOnAllActivities(true);
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
if (newActivitiesList == activityList)
|
||||
return; //expected change, it's ok.
|
||||
|
@ -1,90 +0,0 @@
|
||||
From 342f3a9ff2d9587601039605e42df873fa7b75a3 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Thomas=20L=C3=BCbking?= <thomas.luebking@gmail.com>
|
||||
Date: Mon, 11 Mar 2013 16:19:16 +0100
|
||||
Subject: [PATCH] keep + track m_closeWindow to keep m_winData alive
|
||||
|
||||
BUG: 259640
|
||||
FIXED-IN: 4.10.2
|
||||
REVIEW: 109509
|
||||
---
|
||||
kwin/effects/presentwindows/presentwindows.cpp | 26 ++++++++++++++++++++------
|
||||
1 file changed, 20 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/kwin/effects/presentwindows/presentwindows.cpp b/kwin/effects/presentwindows/presentwindows.cpp
|
||||
index 7a59aec..79baadb 100755
|
||||
--- a/kwin/effects/presentwindows/presentwindows.cpp
|
||||
+++ b/kwin/effects/presentwindows/presentwindows.cpp
|
||||
@@ -64,6 +64,7 @@ PresentWindowsEffect::PresentWindowsEffect()
|
||||
, m_highlightedWindow(NULL)
|
||||
, m_filterFrame(NULL)
|
||||
, m_closeView(NULL)
|
||||
+ , m_closeWindow(NULL)
|
||||
, m_dragInProgress(false)
|
||||
, m_dragWindow(NULL)
|
||||
, m_highlightedDropTarget(NULL)
|
||||
@@ -217,7 +218,7 @@ void PresentWindowsEffect::postPaintScreen()
|
||||
{
|
||||
if (m_motionManager.areWindowsMoving())
|
||||
effects->addRepaintFull();
|
||||
- else if (!m_activated && m_motionManager.managingWindows()) {
|
||||
+ else if (!m_activated && m_motionManager.managingWindows() && !m_closeWindow) {
|
||||
// We have finished moving them back, stop processing
|
||||
m_motionManager.unmanageAll();
|
||||
|
||||
@@ -261,7 +262,7 @@ void PresentWindowsEffect::prePaintWindow(EffectWindow *w, WindowPrePaintData &d
|
||||
{
|
||||
// TODO: We should also check to see if any windows are fading just in case fading takes longer
|
||||
// than moving the windows when the effect is deactivated.
|
||||
- if (m_activated || m_motionManager.areWindowsMoving()) {
|
||||
+ if (m_activated || m_motionManager.areWindowsMoving() || m_closeWindow) {
|
||||
DataHash::iterator winData = m_windowData.find(w);
|
||||
if (winData == m_windowData.end()) {
|
||||
effects->prePaintWindow(w, data, time);
|
||||
@@ -306,6 +307,9 @@ void PresentWindowsEffect::prePaintWindow(EffectWindow *w, WindowPrePaintData &d
|
||||
// we have to keep the window in the list to prevent flickering
|
||||
winData->referenced = false;
|
||||
w->unrefWindow();
|
||||
+ if (w == m_closeWindow) {
|
||||
+ m_closeWindow = NULL;
|
||||
+ }
|
||||
} else
|
||||
w->enablePainting(EffectWindow::PAINT_DISABLED_BY_DELETE);
|
||||
}
|
||||
@@ -437,6 +441,15 @@ void PresentWindowsEffect::slotWindowAdded(EffectWindow *w)
|
||||
rearrangeWindows();
|
||||
}
|
||||
if (m_closeView && w == effects->findWindow(m_closeView->winId())) {
|
||||
+ if (m_closeWindow != w) {
|
||||
+ DataHash::iterator winDataIt = m_windowData.find(m_closeWindow);
|
||||
+ if (winDataIt != m_windowData.end()) {
|
||||
+ if (winDataIt->referenced) {
|
||||
+ m_closeWindow->unrefWindow();
|
||||
+ }
|
||||
+ m_windowData.erase(winDataIt);
|
||||
+ }
|
||||
+ }
|
||||
winData->visible = true;
|
||||
winData->highlight = 1.0;
|
||||
m_closeWindow = w;
|
||||
@@ -452,13 +465,14 @@ void PresentWindowsEffect::slotWindowClosed(EffectWindow *w)
|
||||
if (winData == m_windowData.end())
|
||||
return;
|
||||
winData->deleted = true;
|
||||
- winData->referenced = true;
|
||||
- w->refWindow();
|
||||
+ if (!winData->referenced) {
|
||||
+ winData->referenced = true;
|
||||
+ w->refWindow();
|
||||
+ }
|
||||
if (m_highlightedWindow == w)
|
||||
setHighlightedWindow(findFirstWindow());
|
||||
if (m_closeWindow == w) {
|
||||
- m_closeWindow = 0;
|
||||
- return; // don't rearrange
|
||||
+ return; // don't rearrange, get's nulled when unref'd
|
||||
}
|
||||
rearrangeWindows();
|
||||
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/kwin/kwin-4.10.2.ebuild,v 1.1 2013/04/06 00:04:39 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KMNAME="kde-workspace"
|
||||
OPENGL_REQUIRED="always"
|
||||
inherit flag-o-matic kde4-meta
|
||||
|
||||
DESCRIPTION="KDE window manager"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug gles opengl"
|
||||
|
||||
COMMONDEPEND="
|
||||
$(add_kdebase_dep kactivities)
|
||||
$(add_kdebase_dep kdelibs opengl)
|
||||
$(add_kdebase_dep kephal)
|
||||
$(add_kdebase_dep libkworkspace)
|
||||
$(add_kdebase_dep liboxygenstyle)
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXfixes
|
||||
>=x11-libs/libXrandr-1.2.1
|
||||
x11-libs/libXrender
|
||||
opengl? ( >=media-libs/mesa-7.10 )
|
||||
gles? (
|
||||
|| ( ( >=media-libs/mesa-7.10[egl(+),gles] <media-libs/mesa-7.12[egl(+),gles] )
|
||||
>=media-libs/mesa-7.12[egl(+),gles2] )
|
||||
)
|
||||
"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
x11-proto/compositeproto
|
||||
x11-proto/damageproto
|
||||
x11-proto/fixesproto
|
||||
x11-proto/randrproto
|
||||
x11-proto/renderproto
|
||||
"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
x11-apps/scripts
|
||||
"
|
||||
|
||||
KMEXTRACTONLY="
|
||||
ksmserver/
|
||||
libs/kephal/
|
||||
libs/oxygen/
|
||||
"
|
||||
|
||||
# you need one of these
|
||||
REQUIRED_USE="!opengl? ( gles ) !gles? ( opengl )"
|
||||
|
||||
src_configure() {
|
||||
# FIXME Remove when activity API moved away from libkworkspace
|
||||
append-cppflags "-I${EPREFIX}/usr/include/kworkspace"
|
||||
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_with gles OpenGLES)
|
||||
$(cmake-utils_use gles KWIN_BUILD_WITH_OPENGLES)
|
||||
$(cmake-utils_use_with opengl OpenGL)
|
||||
-DWITH_X11_Xcomposite=ON
|
||||
)
|
||||
|
||||
kde4-meta_src_configure
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
From d56bf9cf8ae4b7fa84abeb005c9ebd467909dd49 Mon Sep 17 00:00:00 2001
|
||||
From: Raymond Wooninck <tittiatcoke@gmail.com>
|
||||
Date: Thu, 7 Mar 2013 12:46:03 +0100
|
||||
Subject: [PATCH] Also check if the version of systemd is supporting the upower
|
||||
functions
|
||||
|
||||
BUG: 316219
|
||||
REVIEW: 109336
|
||||
FIXED-IN: 4.10.2
|
||||
---
|
||||
.../backends/upower/powerdevilupowerbackend.cpp | 25 ++++++++++++++++------
|
||||
1 file changed, 18 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/powerdevil/daemon/backends/upower/powerdevilupowerbackend.cpp b/powerdevil/daemon/backends/upower/powerdevilupowerbackend.cpp
|
||||
index f9503b3..6a50b66 100644
|
||||
--- a/powerdevil/daemon/backends/upower/powerdevilupowerbackend.cpp
|
||||
+++ b/powerdevil/daemon/backends/upower/powerdevilupowerbackend.cpp
|
||||
@@ -35,6 +35,21 @@
|
||||
|
||||
#define HELPER_ID "org.kde.powerdevil.backlighthelper"
|
||||
|
||||
+bool checkSystemdVersion(uint requiredVersion)
|
||||
+{
|
||||
+ bool ok;
|
||||
+
|
||||
+ QDBusInterface systemdIface("org.freedesktop.systemd1", "/org/freedesktop/systemd1", "org.freedesktop.systemd1.Manager",
|
||||
+ QDBusConnection::systemBus(), 0);
|
||||
+ uint version = systemdIface.property("Version").toString().section(' ', 1).toUInt(&ok);
|
||||
+ if (ok) {
|
||||
+ return (version >= requiredVersion);
|
||||
+ } else {
|
||||
+ kDebug() << "Unknown version string from Systemd";
|
||||
+ return false;
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
PowerDevilUPowerBackend::PowerDevilUPowerBackend(QObject* parent)
|
||||
: BackendInterface(parent),
|
||||
m_brightnessControl(0),
|
||||
@@ -123,7 +138,7 @@ void PowerDevilUPowerBackend::init()
|
||||
|
||||
// Supported suspend methods
|
||||
SuspendMethods supported = UnknownSuspendMethod;
|
||||
- if (m_login1Interface) {
|
||||
+ if (m_login1Interface && checkSystemdVersion(195)) {
|
||||
QDBusPendingReply<QString> canSuspend = m_login1Interface.data()->asyncCall("CanSuspend");
|
||||
canSuspend.waitForFinished();
|
||||
if (canSuspend.isValid() && (canSuspend.value() == "yes" || canSuspend.value() == "challenge"))
|
||||
@@ -151,11 +166,7 @@ void PowerDevilUPowerBackend::init()
|
||||
}
|
||||
|
||||
// "resuming" signal
|
||||
- QDBusInterface systemdIface("org.freedesktop.systemd1", "/org/freedesktop/systemd1", "org.freedesktop.systemd1.Manager",
|
||||
- QDBusConnection::systemBus(), this);
|
||||
- int version = systemdIface.property("Version").toString().section(' ', 1).toInt();
|
||||
-
|
||||
- if (m_login1Interface && version > 197) {
|
||||
+ if (m_login1Interface && checkSystemdVersion(198)) {
|
||||
connect(m_login1Interface.data(), SIGNAL(PrepareForSleep(bool)), this, SLOT(slotLogin1Resuming(bool)));
|
||||
} else {
|
||||
connect(m_upowerInterface, SIGNAL(Resuming()), this, SIGNAL(resumeFromSuspend()));
|
||||
@@ -280,7 +291,7 @@ bool PowerDevilUPowerBackend::setBrightness(float brightnessValue, PowerDevil::B
|
||||
|
||||
KJob* PowerDevilUPowerBackend::suspend(PowerDevil::BackendInterface::SuspendMethod method)
|
||||
{
|
||||
- if (m_login1Interface) {
|
||||
+ if (m_login1Interface && checkSystemdVersion(195)) {
|
||||
return new Login1SuspendJob(m_login1Interface.data(), method, supportedSuspendMethods());
|
||||
} else {
|
||||
return new UPowerSuspendJob(m_upowerInterface, method, supportedSuspendMethods());
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -0,0 +1,30 @@
|
||||
|
||||
libsoup is not obligatory, but nonetheless a mandatory check existed.
|
||||
Fixed in releases >3.9.1
|
||||
|
||||
Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=469014
|
||||
Upstream commit: http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=d04c724c9e74f7c5d1f247e41a21e472790d9992
|
||||
|
||||
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -1107,14 +1107,17 @@
|
||||
AC_SUBST(WEBKIT_CFLAGS)
|
||||
|
||||
dnl libsoup ********************************************************************
|
||||
-PKG_CHECK_MODULES(LIBSOUP, libsoup-2.4)
|
||||
+PKG_CHECK_MODULES(LIBSOUP, libsoup-2.4, HAVE_LIBSOUP=yes, HAVE_LIBSOUP=no)
|
||||
+if test x"$HAVE_LIBSOUP" = xyes; then
|
||||
+ AC_DEFINE(HAVE_LIBSOUP, 1, [Define if libsoup is available])
|
||||
+fi
|
||||
AC_SUBST(LIBSOUP_CFLAGS)
|
||||
AC_SUBST(LIBSOUP_LIBS)
|
||||
|
||||
dnl libsoup-gnome **************************************************************
|
||||
PKG_CHECK_MODULES(LIBSOUP_GNOME, libsoup-gnome-2.4 >= 2.26, HAVE_LIBSOUP_GNOME=yes, HAVE_LIBSOUP_GNOME=no)
|
||||
if test x"$HAVE_LIBSOUP_GNOME" = xyes; then
|
||||
- AC_DEFINE(HAVE_LIBSOUP_GNOME, 1, [Define if libsoup is available])
|
||||
+ AC_DEFINE(HAVE_LIBSOUP_GNOME, 1, [Define if libsoup_gnome is available])
|
||||
fi
|
||||
AC_SUBST(LIBSOUP_GNOME_CFLAGS)
|
||||
AC_SUBST(LIBSOUP_GNOME_LIBS)
|
@ -1,4 +1,3 @@
|
||||
DIST dispcalGUI-0.9.9.1.tar.gz 3225111 SHA256 17323641e7b54d1b3882a09b0a7ce6b4260e82d9682f38ea0374605cf7f22e5b SHA512 1cfbe2d55171bf71db61bc96e7ab2c5d8e83c7e02ae7e5d0bf6cd698802d9e8212f50996cc3ba8e304a5a2ddffb6da537f0776e02d2bbcbcbb51b6a3dac66bdd WHIRLPOOL 49794a0a36625c99be7f9d007421cb01efed89bffe7a1b9495b8016dcc564ea821c36b2bf675df9dbe225a5ed6f6ae08534e63c9c8fb66020e839ef6d3a8df9c
|
||||
DIST dispcalGUI-1.1.0.0.tar.gz 3274797 SHA256 467f52c62af56149732468cd18131483ceafd8f622b990cd0e6dd3637f170613 SHA512 977b8cf563fa6c59d51ed7400c3cffa9427d9892cc5d7db0392babb4f2f2085e63de2e86c74a816f05c32b503013eee70b1a3cace3d9ddaee8ff2ada9090989e WHIRLPOOL 132204006fbdc92d4997ae303a9dd4e2361dc03c8cf17f8342932f9a1fc208ebf2e39cfe711145d3d4b820d95b0b812823398c2f6d181a0cc481cc66ede164f9
|
||||
DIST dispcalGUI-1.1.2.1.tar.gz 3278240 SHA256 24f58f10396e3e7fc2a39f273d8e7f208cc3c2bead9bfcb5294b2f07bf5e577c SHA512 76e5613cc06f218cef424b1ebfad6afce67cc5969016e920e09e15788ac2495e75b6fd508a4e344049cb988a3ed9ce9643c61e49010097390c090e7d2e249e2e WHIRLPOOL b78fb117ac37d6fb5c8587be22d72570e7fb1e6c1f409aa0cb6bc63d0bdf391d6cfeb076f797c7ea18a441125782f8e0f3658a0393a447c5a77dc67598f29754
|
||||
DIST dispcalGUI-1.1.2.9.tar.gz 3278916 SHA256 4bb3094e050261a928c49b72716db6c943b92844bdf8479946a9a2093bb444ef SHA512 45a4bb84a46d3b92bcbbbf21e1f9172992870f74b20bd1110fe51263b94ff3f8ca2d7fb7e7291fbb4c73d6c451f6180333480a4fc66c0c782d37ff856129353f WHIRLPOOL 119f46aa850f709de42b184e8e58f47778429d6bd06693c1ee195ef55ef5928e8a830b54c049d03765a37325e59aee37eac8ad7cc626e76a2e336f1cb1e2e4ef
|
||||
DIST dispcalGUI-1.2.7.0.tar.gz 3302318 SHA256 8032b71ced4d7f718f8aa50a5dfc92595150334b572d6828c797426d8d63ba0b SHA512 7ae2c14c0fa50cb28284a24269c2d73bf5197326581cceb7436f1263f8097eb57c7cafbfaa811f1b387e4b7235fe8eda0a8f48ef939ec7710ca5555090ca53c3 WHIRLPOOL 106da953f564b2c4f6cdfefffc7952248b17793cd42e267c41f6bb3e56864b36d87f584df7b47f06ec131693c5de10e4f8630d77b12bdb82b318e61b4dec62d6
|
||||
|
@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/dispcalgui/dispcalgui-1.1.0.0.ebuild,v 1.2 2012/11/02 22:15:41 hwoarang Exp $
|
||||
|
||||
EAPI="2"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit distutils fdo-mime
|
||||
|
||||
MY_PN="dispcalGUI"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Display Calibration and Characterization powered by Argyll CMS"
|
||||
HOMEPAGE="http://dispcalgui.hoech.net/"
|
||||
SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=media-gfx/argyllcms-1.1.0
|
||||
>=dev-python/wxpython-2.8.10.1
|
||||
>=x11-libs/libX11-1.3.3
|
||||
>=x11-apps/xrandr-1.3.2
|
||||
>=x11-libs/libXxf86vm-1.1.0
|
||||
>=x11-proto/xineramaproto-1.2
|
||||
>=x11-libs/libXinerama-1.1"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/numpy-1.2.1"
|
||||
|
||||
# Just in case someone renames the ebuild
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=(
|
||||
README.html
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Prohibit setup from running xdg-* programs, resulting to sandbox violation
|
||||
cd "${S}/dispcalGUI" || die "Cannot cd to source directory."
|
||||
sed -e 's/if which(\"xdg-icon-resource\"):/if which(\"xdg-icon-resource-non-existant\"):/' \
|
||||
-e 's/if which(\"xdg-desktop-menu\"):/if which(\"xdg-desktop-menu-non-existant\"):/' \
|
||||
-i postinstall.py || die "sed'ing out the xdg-* setup functions failed"
|
||||
|
||||
# Remove deprecated Encoding key from .desktop file
|
||||
cd "${S}" || die "Cannot cd to work directory."
|
||||
for offendingFile in $(grep -r -l "Encoding=UTF-8" .); do
|
||||
sed -e '/Encoding=UTF-8/d' -i "${offendingFile}" || \
|
||||
die "removing deprecated Encoding key from .desktop files failed"
|
||||
done
|
||||
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
#remove udev files
|
||||
rm "${D}"/etc/udev/rules.d/55-Argyll.rules || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Run xdg-* programs the Gentoo way since we removed this functionality from the original package
|
||||
fdo-mime_mime_database_update
|
||||
fdo-mime_desktop_database_update
|
||||
distutils_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Run xdg-* programs the Gentoo way since we removed this functionality from the original package
|
||||
fdo-mime_mime_database_update
|
||||
fdo-mime_desktop_database_update
|
||||
distutils_pkg_postrm
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- dispcalGUI/dispcalGUI.py.old 2013-04-19 01:04:23.663520256 +0300
|
||||
+++ dispcalGUI/dispcalGUI.py 2013-04-19 01:06:49.561884072 +0300
|
||||
@@ -40,6 +40,9 @@
|
||||
|
||||
# Standard modules
|
||||
|
||||
+import wxversion
|
||||
+wxversion.select("2.8")
|
||||
+
|
||||
import ConfigParser
|
||||
ConfigParser.DEFAULTSECT = "Default"
|
@ -1 +1,2 @@
|
||||
DIST svxlink-11.11.1.tar.gz 838749 SHA256 6de1041203bbd4634c182daef37370186daa2107b04bb84829fe274b8dc7f133 SHA512 6b859801717800439bfd77b3a2a765e6555cbb50af4f19a1ac1ec021377772e0ee24a82799db09511e052084af95de51f6ed8128dc4e784bf946408715899719 WHIRLPOOL cb91de4e1e8c7f119f6dadb48dfc588afddaef55bd8b8e73ca045719621fbb6559acc78b76a40bf5a14ec696687c2f1cd936b3b491b3dc4bdf37130fbdc4c05a
|
||||
DIST svxlink-13.03.tar.gz 1071980 SHA256 638d239d94d120a8efd1b4f1f5456f8e1a2f2e24893dbd40db89a750634e58ea SHA512 148aca62d903625b7e84c56178bc9d396593e377d731dfe0f6aea3eaffd5e820ac7825c5a1e2ede30ceb9aedd4da135a8e56a8fad804eb74f3cce67eb1500dfc WHIRLPOOL 244bdb883344d9f343e9cddff7466b350ee26409904545eb8261c8fa9b7af2e7f815e2e0d75b64be42862898cc3f7031eb6a58813aee6ef535dade752da56b54
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-radio/svxlink/svxlink-13.03.ebuild,v 1.1 2013/05/10 17:13:20 tomjbe Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit eutils multilib qt4-r2 user
|
||||
|
||||
DESCRIPTION="Multi Purpose Voice Services System, including Qtel for EchoLink"
|
||||
HOMEPAGE="http://svxlink.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/svxlink/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/tcl
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
media-libs/alsa-lib
|
||||
media-sound/gsm
|
||||
dev-libs/libgcrypt
|
||||
media-libs/speex
|
||||
dev-libs/libsigc++:2
|
||||
dev-libs/popt"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup svxlink
|
||||
enewuser svxlink -1 -1 -1 svxlink
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s:/lib:/$(get_libdir):g" makefile.cfg || die
|
||||
sed -i -e "s:/etc/udev:/lib/udev:" svxlink/scripts/Makefile.default || die
|
||||
# fix underlinking
|
||||
sed -i -e "s:lgsm:lgsm -lspeex:" qtel/Makefile.default || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
fowners -R svxlink.svxlink /var/spool/svxlink
|
||||
# adapt to gentoo init system
|
||||
rm -R "${D}"/etc/sysconfig || die
|
||||
newinitd "${FILESDIR}"/remotetrx.init remotetrx
|
||||
newinitd "${FILESDIR}"/svxlink.init svxlink
|
||||
newconfd "${FILESDIR}"/remotetrx.rc remotetrx
|
||||
newconfd "${FILESDIR}"/svxlink.rc svxlink
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
--- config/Makefile.am.orig 2008-06-12 21:30:44.000000000 +0200
|
||||
+++ config/Makefile.am 2009-06-06 18:03:32.000000000 +0200
|
||||
@@ -57,5 +57,5 @@
|
||||
config_DATA = ${EXTRA_DIST}
|
||||
|
||||
install-exec-hook:
|
||||
- rm -f \$(configdir)/nwsfz_ddmmyy.dbfawk
|
||||
+ rm -f $(DESTDIR)$(configdir)/nwsfz_ddmmyy.dbfawk
|
||||
|
||||
--- Makefile.am.old 2010-05-17 21:49:11.000000000 +0200
|
||||
+++ Makefile.am 2010-05-17 21:49:45.000000000 +0200
|
||||
@@ -63,7 +63,7 @@
|
||||
# documentation is FHS compliant.
|
||||
|
||||
install-exec-hook:
|
||||
- -rm -rf ${pkgdatadir}/doc
|
||||
+ -rm -rf ${DESTDIR}${pkgdatadir}/doc
|
||||
|
||||
mandir=${prefix}/share/man
|
||||
man_MANS=xastir.1 callpass.1 xastir_udp_client.1 testdbfawk.1
|
@ -1,86 +0,0 @@
|
||||
diff -ur scripts.orig/Makefile.am scripts/Makefile.am
|
||||
--- scripts.orig/Makefile.am 2009-10-15 21:47:20.000000000 +0200
|
||||
+++ scripts/Makefile.am 2009-10-15 21:47:57.000000000 +0200
|
||||
@@ -9,9 +9,7 @@
|
||||
get-fcc-rac.pl \
|
||||
get-gnis \
|
||||
get-pop \
|
||||
- get-maptools.sh \
|
||||
get-NWSdata \
|
||||
- get_shapelib.sh \
|
||||
gpx2shape \
|
||||
icontable.pl \
|
||||
inf2geo.pl \
|
||||
@@ -39,8 +37,6 @@
|
||||
values \
|
||||
values.pl \
|
||||
waypoint-get.pl \
|
||||
- xastir-fixcfg.sh \
|
||||
- xastir-migrate.sh \
|
||||
Xastir_tigerpoly.py
|
||||
|
||||
EXTRA_DIST = $(pkglib_SCRIPTS)
|
||||
diff -u scripts.orig/permutations.pl scripts/permutations.pl
|
||||
--- scripts.orig/permutations.pl 2005-03-25 21:53:04.000000000 +0100
|
||||
+++ scripts/permutations.pl 2008-08-16 07:47:00.000000000 +0200
|
||||
@@ -34,7 +34,7 @@
|
||||
#
|
||||
|
||||
|
||||
-use lib "/usr/local/lib";
|
||||
+use lib "/usr/lib";
|
||||
use Coordinate; # WE7U's Coordinate.pm module
|
||||
|
||||
|
||||
diff -u scripts.orig/test_coord.pl scripts/test_coord.pl
|
||||
--- scripts.orig/test_coord.pl 2003-01-06 23:42:17.000000000 +0100
|
||||
+++ scripts/test_coord.pl 2008-08-16 07:47:00.000000000 +0200
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#------------------------------------------------------------------------------------------------
|
||||
|
||||
-use lib "/usr/local/lib";
|
||||
+use lib "/usr/lib";
|
||||
use Coordinate; # Snag WE7U's Coordinate module
|
||||
|
||||
|
||||
diff -u scripts.orig/toporama250k.pl scripts/toporama250k.pl
|
||||
--- scripts.orig/toporama250k.pl 2008-08-16 07:42:13.000000000 +0200
|
||||
+++ scripts/toporama250k.pl 2008-08-16 08:03:08.000000000 +0200
|
||||
@@ -28,14 +28,14 @@
|
||||
# map files for the whole of Canada!
|
||||
#
|
||||
#
|
||||
-# - "cd /usr/local/share/xastir/maps"
|
||||
+# - "cd /usr/share/xastir/maps"
|
||||
#
|
||||
# - Assure you have write privileges in the directory above either
|
||||
# by becoming root using the "su" command, using "sudo", or
|
||||
# temporarily changing ownership and/or privileges on the
|
||||
# "maps" directory.
|
||||
#
|
||||
-# - "/usr/local/lib/xastir/toporama250k.pl"
|
||||
+# - "/usr/lib/xastir/toporama250k.pl"
|
||||
#
|
||||
# - The script will create/populate this directory heirarchy:
|
||||
# .../maps/toporama/images/
|
||||
diff -u scripts.orig/toporama50k.pl scripts/toporama50k.pl
|
||||
--- scripts.orig/toporama50k.pl 2008-08-16 07:42:13.000000000 +0200
|
||||
+++ scripts/toporama50k.pl 2008-08-16 08:02:48.000000000 +0200
|
||||
@@ -27,14 +27,14 @@
|
||||
# map files for the whole of Canada!
|
||||
#
|
||||
#
|
||||
-# - "cd /usr/local/share/xastir/maps"
|
||||
+# - "cd /usr/share/xastir/maps"
|
||||
#
|
||||
# - Assure you have write privileges in the directory above either
|
||||
# by becoming root using the "su" command, using "sudo", or
|
||||
# temporarily changing ownership and/or privileges on the
|
||||
# "maps" directory.
|
||||
#
|
||||
-# - "/usr/local/lib/xastir/toporama50k.pl"
|
||||
+# - "/usr/lib/xastir/toporama50k.pl"
|
||||
#
|
||||
# - The script will create/populate this directory heirarchy:
|
||||
# .../maps/toporama/images/
|
@ -1,84 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-radio/xastir/xastir-2.0.0-r1.ebuild,v 1.5 2012/10/24 19:15:33 ulm Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit autotools eutils multilib
|
||||
|
||||
DESCRIPTION="X Amateur Station Tracking and Information Reporting"
|
||||
HOMEPAGE="http://xastir.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="festival gdal geotiff graphicsmagick"
|
||||
|
||||
DEPEND=">=x11-libs/motif-2.3:0
|
||||
x11-libs/libXpm
|
||||
x11-apps/xfontsel
|
||||
dev-libs/libpcre
|
||||
net-misc/curl
|
||||
sys-libs/db
|
||||
sci-libs/shapelib
|
||||
!graphicsmagick? ( media-gfx/imagemagick[-hdri,-q32] )
|
||||
graphicsmagick? ( media-gfx/graphicsmagick[-q32] )
|
||||
geotiff? ( sci-libs/proj
|
||||
sci-libs/libgeotiff
|
||||
media-libs/tiff )
|
||||
gdal? ( sci-libs/gdal )
|
||||
festival? ( app-accessibility/festival )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# fix hardcoded /usr/local paths in scripts
|
||||
epatch "${FILESDIR}"/${PN}-1.9.8-scripts.diff
|
||||
# and patch libdir
|
||||
for f in scripts/permutations.pl scripts/test_coord.pl \
|
||||
scripts/toporama250k.pl scripts/toporama50k.pl; do
|
||||
sed -i -e "s:/usr/lib:/usr/$(get_libdir):g" "${f}" \
|
||||
|| die "sed failed on ${f}"
|
||||
done
|
||||
|
||||
# fix __FORTIFY_SOURCE warning (bug #337365)
|
||||
epatch "${FILESDIR}"/${PN}-1.9.8-fortify.diff
|
||||
|
||||
# fix for DESTDIR
|
||||
epatch "${FILESDIR}"/${P}-Destdir.diff
|
||||
|
||||
# fix breakage with >=sci-libs/proj-4.8
|
||||
epatch "${FILESDIR}"/${P}-proj48.diff
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --without-graphicsmagick \
|
||||
--with-pcre \
|
||||
--with-shapelib \
|
||||
--with-dbfawk \
|
||||
--without-ax25 \
|
||||
--without-gpsman \
|
||||
$(use_with !graphicsmagick imagemagick) \
|
||||
$(use_with graphicsmagick) \
|
||||
$(use_with geotiff libproj) \
|
||||
$(use_with geotiff) \
|
||||
$(use_with gdal) \
|
||||
$(use_with festival)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
rm -rf "${D}"/usr/share/doc/${PN}
|
||||
dodoc AUTHORS ChangeLog FAQ README README.Contributing \
|
||||
README.Getting-Started README.MAPS || die "dodoc failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Kernel mode AX.25 and GPSman library not supported."
|
||||
elog
|
||||
elog "Remember you have to be root to add addditional scripts,"
|
||||
elog "maps and other configuration data under /usr/share/xastir"
|
||||
elog "and /usr/$(get_libdir)/xastir."
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 10 May 2013 12:36:55 +0000
|
||||
Sat, 11 May 2013 08:06:58 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 10 May 2013 12:36:56 +0000
|
||||
Sat, 11 May 2013 08:06:59 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue