parent
061b23841e
commit
73fe122154
@ -0,0 +1,123 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.97.6-r3.ebuild,v 1.1 2013/03/01 08:18:17 eras Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils flag-o-matic user
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="http://www.clamav.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="bzip2 clamdtop iconv ipv6 milter selinux static-libs uclibc"
|
||||
|
||||
CDEPEND="bzip2? ( app-arch/bzip2 )
|
||||
clamdtop? ( sys-libs/ncurses )
|
||||
iconv? ( virtual/libiconv )
|
||||
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
|
||||
dev-libs/libtommath
|
||||
>=sys-libs/zlib-1.2.2
|
||||
sys-devel/libtool"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.97-nls.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup clamav
|
||||
enewuser clamav -1 -1 /dev/null clamav
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use ppc64 && append-flags -mminimal-toic
|
||||
use uclibc && export ac_cv_type_error_t=yes
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-experimental \
|
||||
--enable-id-check \
|
||||
--with-dbdir="${EPREFIX}"/var/lib/clamav \
|
||||
--with-system-tommath \
|
||||
--with-zlib="${EPREFIX}"/usr \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable clamdtop) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable milter) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with iconv)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm -rf "${ED}"/var/lib/clamav
|
||||
newinitd "${FILESDIR}"/clamd.initd-r3 clamd
|
||||
newconfd "${FILESDIR}"/clamd.conf clamd
|
||||
|
||||
keepdir /var/lib/clamav
|
||||
fowners clamav:clamav /var/lib/clamav
|
||||
keepdir /var/log/clamav
|
||||
fowners clamav:clamav /var/log/clamav
|
||||
|
||||
dodir /etc/logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/clamav.logrotate clamav
|
||||
|
||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.pid:" \
|
||||
-e "s:.*\(LocalSocket\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.sock:" \
|
||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
"${ED}"/etc/clamd.conf
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/freshclam.pid:" \
|
||||
-e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
|
||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \
|
||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
"${ED}"/etc/freshclam.conf
|
||||
|
||||
if use milter ; then
|
||||
# MilterSocket one to include ' /' because there is a 2nd line for
|
||||
# inet: which we want to leave
|
||||
dodoc "${FILESDIR}"/clamav-milter.README.gentoo
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamav-milter.pid:" \
|
||||
-e "s+^\#\(ClamdSocket\) .*+\1 unix:${EPREFIX}/var/run/clamav/clamd.sock+" \
|
||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
||||
-e "s+^\#\(MilterSocket\) /.*+\1 unix:${EPREFIX}/var/run/clamav/clamav-milter.sock+" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
||||
"${ED}"/etc/clamav-milter.conf
|
||||
cat > "${ED}"/etc/conf.d/clamd <<-EOF
|
||||
MILTER_NICELEVEL=19
|
||||
START_MILTER=no
|
||||
EOF
|
||||
fi
|
||||
|
||||
prune_libtool_files --all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use milter ; then
|
||||
elog "For simple instructions how to setup the clamav-milter read the"
|
||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
||||
fi
|
||||
}
|
@ -0,0 +1,121 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.initd-r3,v 1.1 2013/03/01 08:18:17 eras Exp $
|
||||
|
||||
daemon_clamd="/usr/sbin/clamd"
|
||||
daemon_freshclam="/usr/bin/freshclam"
|
||||
daemon_milter="/usr/sbin/clamav-milter"
|
||||
|
||||
extra_commands="logfix"
|
||||
|
||||
depend() {
|
||||
use net
|
||||
provide antivirus
|
||||
}
|
||||
|
||||
get_config() {
|
||||
clamconf | sed 's/["=]//g' | \
|
||||
awk "{
|
||||
if(\$0==\"Config file: $1.conf\") S=1
|
||||
if(S==1&&\$0==\"\") {
|
||||
print \"$3\"
|
||||
exit
|
||||
}
|
||||
if(S==1&&\$1~\"^$2\$\") {
|
||||
print \$2!=\"disabled\"?\$2:\"$3\"
|
||||
exit
|
||||
}
|
||||
}"
|
||||
}
|
||||
|
||||
start() {
|
||||
local clamd_socket=$(get_config clamd LocalSocket /var/run/clamav/clamd.sock)
|
||||
local clamd_user=$(get_config clamd User clamav)
|
||||
local freshclam_user=$(get_config freshclam DatabaseOwner clamav)
|
||||
logfix
|
||||
|
||||
if [ "${START_CLAMD}" = "yes" ]; then
|
||||
checkpath --quiet --mode 755 \
|
||||
--owner "${clamd_user}":"${clamd_user}" \
|
||||
--directory `dirname ${clamd_socket}`
|
||||
if [ -S "${clamd_socket}" ]; then
|
||||
rm -f ${clamd_socket}
|
||||
fi
|
||||
ebegin "Starting clamd"
|
||||
start-stop-daemon --start --quiet \
|
||||
--nicelevel ${CLAMD_NICELEVEL:-0} \
|
||||
--exec ${daemon_clamd}
|
||||
eend $? "Failed to start clamd"
|
||||
fi
|
||||
|
||||
if [ "${START_FRESHCLAM}" = "yes" ]; then
|
||||
ebegin "Starting freshclam"
|
||||
start-stop-daemon --start --quiet \
|
||||
--nicelevel ${FRESHCLAM_NICELEVEL:-0} \
|
||||
--exec ${daemon_freshclam} -- -d
|
||||
retcode=$?
|
||||
if [ ${retcode} = 1 ]; then
|
||||
eend 0
|
||||
einfo "Virus databases are already up to date."
|
||||
else
|
||||
eend ${retcode} "Failed to start freshclam"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${START_MILTER}" = "yes" ]; then
|
||||
if [ -z "${MILTER_CONF_FILE}" ]; then
|
||||
MILTER_CONF_FILE="/etc/clamav-milter.conf"
|
||||
fi
|
||||
|
||||
ebegin "Starting clamav-milter"
|
||||
start-stop-daemon --start --quiet \
|
||||
--nicelevel ${MILTER_NICELEVEL:-0} \
|
||||
--exec ${daemon_milter} -- -c ${MILTER_CONF_FILE}
|
||||
eend $? "Failed to start clamav-milter"
|
||||
fi
|
||||
}
|
||||
|
||||
stop() {
|
||||
if [ "${START_CLAMD}" = "yes" ]; then
|
||||
ebegin "Stopping clamd"
|
||||
start-stop-daemon --stop --quiet --name clamd
|
||||
eend $? "Failed to stop clamd"
|
||||
fi
|
||||
if [ "${START_FRESHCLAM}" = "yes" ]; then
|
||||
ebegin "Stopping freshclam"
|
||||
start-stop-daemon --stop --quiet --name freshclam
|
||||
eend $? "Failed to stop freshclam"
|
||||
fi
|
||||
if [ "${START_MILTER}" = "yes" ]; then
|
||||
ebegin "Stopping clamav-milter"
|
||||
start-stop-daemon --stop --quiet --name clamav-milter
|
||||
eend $? "Failed to stop clamav-milter"
|
||||
fi
|
||||
}
|
||||
|
||||
logfix() {
|
||||
if [ "${START_CLAMD}" = "yes" ]; then
|
||||
# fix clamd log permissions
|
||||
# (might be clobbered by logrotate or something)
|
||||
local logfile=$(get_config clamd LogFile)
|
||||
if [ -n "${logfile}" ]; then
|
||||
checkpath --quiet \
|
||||
--owner "${clamd_user}":"${clamd_user}" \
|
||||
--mode 640 \
|
||||
--file ${logfile}
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${START_FRESHCLAM}" = "yes" ]; then
|
||||
# fix freshclam log permissions
|
||||
# (might be clobbered by logrotate or something)
|
||||
local logfile=$(get_config freshclam UpdateLogFile)
|
||||
if [ -n "${logfile}" ]; then
|
||||
checkpath --quiet \
|
||||
--owner "${freshclam_user}":"${freshclam_user}" \
|
||||
--mode 640 \
|
||||
--file ${logfile}
|
||||
fi
|
||||
fi
|
||||
}
|
@ -0,0 +1,133 @@
|
||||
src/stubs.c | 33 +++++++++++++++++----------------
|
||||
1 file changed, 17 insertions(+), 16 deletions(-)
|
||||
|
||||
diff --git a/src/stubs.c b/src/stubs.c
|
||||
index 794485c..cec2c04 100644
|
||||
--- a/src/stubs.c
|
||||
+++ b/src/stubs.c
|
||||
@@ -40,8 +40,8 @@ int wn_findvalidsearches (ClientData clientData, Tcl_Interp *interp,
|
||||
char *morph;
|
||||
int pos;
|
||||
if (argc != 3) {
|
||||
- interp -> result =
|
||||
- "usage: findvalidsearches searchword partofspeechnum";
|
||||
+ Tcl_SetResult(interp,
|
||||
+ "usage: findvalidsearches searchword partofspeechnum", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
pos = atoi (argv[2]);
|
||||
@@ -52,7 +52,7 @@ int wn_findvalidsearches (ClientData clientData, Tcl_Interp *interp,
|
||||
} while ((morph = morphstr (NULL, pos)) != NULL);
|
||||
}
|
||||
sprintf (bitfieldstr, "%u", bitfield);
|
||||
- interp -> result = bitfieldstr;
|
||||
+ Tcl_SetResult(interp, bitfieldstr, TCL_STATIC);
|
||||
return TCL_OK;
|
||||
}
|
||||
|
||||
@@ -69,13 +69,13 @@ int wn_bit (ClientData clientData, Tcl_Interp *interp,
|
||||
static char bitfieldstr[32];
|
||||
int whichbit;
|
||||
if (argc != 2) {
|
||||
- interp -> result = "usage: bit bitnum";
|
||||
+ Tcl_SetResult(interp, "usage: bit bitnum", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
whichbit = atoi (argv[1]);
|
||||
bitfield = bit (whichbit);
|
||||
sprintf (bitfieldstr, "%u", bitfield);
|
||||
- interp -> result = bitfieldstr;
|
||||
+ Tcl_SetResult(interp, bitfieldstr, TCL_STATIC);
|
||||
return TCL_OK;
|
||||
}
|
||||
|
||||
@@ -89,8 +89,8 @@ int wn_search (ClientData clientData, Tcl_Interp *interp,
|
||||
int pos, searchtype, sense;
|
||||
char *morph;
|
||||
if (argc != 5) {
|
||||
- interp -> result =
|
||||
- "usage: search searchword partofspeechnum searchtypenum sensenum";
|
||||
+ Tcl_SetResult(interp,
|
||||
+ "usage: search searchword partofspeechnum searchtypenum sensenum", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
pos = atoi (argv[2]);
|
||||
@@ -102,7 +102,7 @@ int wn_search (ClientData clientData, Tcl_Interp *interp,
|
||||
strcat (resultbuf, findtheinfo (morph, pos, searchtype, sense));
|
||||
} while ((morph = morphstr (NULL, pos)) != NULL);
|
||||
}
|
||||
- interp -> result = resultbuf;
|
||||
+ Tcl_SetResult(interp, resultbuf, TCL_STATIC);
|
||||
return TCL_OK;
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ int wn_search (ClientData clientData, Tcl_Interp *interp,
|
||||
int wn_glosses (ClientData clientData, Tcl_Interp *interp,
|
||||
int argc, char *argv[]) {
|
||||
if (argc != 2) {
|
||||
- interp -> result = "usage: glosses [1 | 0]";
|
||||
+ Tcl_SetResult(interp, "usage: glosses [1 | 0]", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
dflag = atoi (argv[1]);
|
||||
@@ -129,7 +129,7 @@ int wn_glosses (ClientData clientData, Tcl_Interp *interp,
|
||||
int wn_fileinfo (ClientData clientData, Tcl_Interp *interp,
|
||||
int argc, char *argv[]) {
|
||||
if (argc != 2) {
|
||||
- interp -> result = "usage: fileinfo [1 | 0]";
|
||||
+ Tcl_SetResult(interp, "usage: fileinfo [1 | 0]", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
fileinfoflag = atoi (argv[1]);
|
||||
@@ -144,7 +144,7 @@ int wn_fileinfo (ClientData clientData, Tcl_Interp *interp,
|
||||
int wn_byteoffset (ClientData clientData, Tcl_Interp *interp,
|
||||
int argc, char *argv[]) {
|
||||
if (argc != 2) {
|
||||
- interp -> result = "usage: byteoffset [1 | 0]";
|
||||
+ Tcl_SetResult(interp, "usage: byteoffset [1 | 0]", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
offsetflag = atoi (argv[1]);
|
||||
@@ -159,7 +159,7 @@ int wn_byteoffset (ClientData clientData, Tcl_Interp *interp,
|
||||
int wn_senseflag (ClientData clientData, Tcl_Interp *interp,
|
||||
int argc, char *argv[]) {
|
||||
if (argc != 2) {
|
||||
- interp -> result = "usage: senseflag [1 | 0]";
|
||||
+ Tcl_SetResult(interp, "usage: senseflag [1 | 0]", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
wnsnsflag = atoi (argv[1]);
|
||||
@@ -175,12 +175,13 @@ int wn_contextualhelp (ClientData clientData, Tcl_Interp *interp,
|
||||
int argc, char *argv[]) {
|
||||
int pos, searchtype;
|
||||
if (argc != 3) {
|
||||
- interp -> result = "usage: contextualhelp partofspeechnum searchtypenum";
|
||||
+ Tcl_SetResult(interp,
|
||||
+ "usage: contextualhelp partofspeechnum searchtypenum", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
pos = atoi (argv[1]);
|
||||
searchtype = atoi (argv[2]);
|
||||
- interp -> result = helptext[pos][searchtype];
|
||||
+ Tcl_SetResult(interp, helptext[pos][searchtype], TCL_STATIC);
|
||||
return TCL_OK;
|
||||
}
|
||||
|
||||
@@ -190,7 +191,7 @@ int wn_contextualhelp (ClientData clientData, Tcl_Interp *interp,
|
||||
int wn_reopendb (ClientData clientData, Tcl_Interp *interp,
|
||||
int argc, char *argv[]) {
|
||||
if (argc != 1) {
|
||||
- interp -> result = "usage: reopendb";
|
||||
+ Tcl_SetResult(interp, "usage: reopendb", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
re_wninit ();
|
||||
@@ -204,7 +205,7 @@ int wn_reopendb (ClientData clientData, Tcl_Interp *interp,
|
||||
int wn_abortsearch (ClientData clientData, Tcl_Interp *interp,
|
||||
int argc, char *argv[]) {
|
||||
if (argc != 1) {
|
||||
- interp -> result = "usage: abortsearch";
|
||||
+ Tcl_SetResult(interp, "usage: abortsearch", TCL_STATIC);
|
||||
return TCL_ERROR;
|
||||
}
|
||||
abortsearch = 1;
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>app-dicts</herd>
|
||||
<herd>app-dicts</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1,2 @@
|
||||
DIST vim-qt-20130201.tar.gz 11620051 SHA256 676bc4a98d25fd80a3e4a3fdf60db26b1417e8a87eacbd8f03c464c4e68a2639 SHA512 9e9c3b16968b800598f47e9e9c81e8c7e13acf720c933883e704aa390980aa47bda2727714caf1aad27228e5a0e3b4eb0ecd19fc56961b49cc07936a272f6463 WHIRLPOOL 6acd6e6e8d889124cad94dfb8be01a2a64402cdaaee6fcfbd3e822e5a2692d4c326b42916a10937c4bfda3cb1c1cba629d1610f24fb9766b5fd2b0c6013a2895
|
||||
DIST vim-qt-20130220.tar.gz 11621543 SHA256 95870899f1dbefe5108ed8cbe7c462cf918954ee5dbf542cd626336488aa7d05 SHA512 05ad7cd0b109285a845653e27aa7a84f6fce1ee0a8ba63b6a8976fb65f5d1f502339aaea4c739626534b7fd936f68d8ccfd15b44c70cbefd0bd041122b647fdd WHIRLPOOL 90fb2b3852071e5df6b5f3d9337d116f3162a854b75f23e4245fd6b0af6c328db900c68414bf16d334e50339c3d894dc5229be0be452bc0b112ee54c95300698
|
||||
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-qt/vim-qt-20130220.ebuild,v 1.1 2013/03/01 11:27:48 yngwin Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
PYTHON_REQ_USE="threads"
|
||||
inherit eutils fdo-mime flag-o-matic python-any-r1
|
||||
|
||||
DESCRIPTION="Qt GUI version of the Vim text editor"
|
||||
HOMEPAGE="https://bitbucket.org/equalsraf/vim-qt/wiki/Home"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="https://bitbucket.org/equalsraf/${PN}.git
|
||||
git://github.com/equalsraf/${PN}.git
|
||||
git://gitorious.org/${PN}/${PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/equalsraf/${PN}/archive/package-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/${PN}-package-${PV}"
|
||||
fi
|
||||
|
||||
LICENSE="vim"
|
||||
SLOT="0"
|
||||
IUSE="acl cscope debug gpm nls perl python ruby"
|
||||
|
||||
RDEPEND="app-admin/eselect-vi
|
||||
>=app-editors/vim-core-7.3.762[acl?]
|
||||
sys-libs/ncurses
|
||||
>=x11-libs/qt-core-4.7.0:4
|
||||
>=x11-libs/qt-gui-4.7.0:4
|
||||
acl? ( kernel_linux? ( sys-apps/acl ) )
|
||||
cscope? ( dev-util/cscope )
|
||||
gpm? ( sys-libs/gpm )
|
||||
nls? ( virtual/libintl )
|
||||
perl? ( dev-lang/perl )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
ruby? ( || ( dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
export LC_COLLATE="C" # prevent locale brokenness bug #82186
|
||||
use python && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use debug && append-flags "-DDEBUG"
|
||||
|
||||
local myconf="--with-features=huge --enable-multibyte"
|
||||
myconf+=" $(use_enable acl)"
|
||||
myconf+=" $(use_enable gpm)"
|
||||
myconf+=" $(use_enable nls)"
|
||||
myconf+=" $(use_enable perl perlinterp)"
|
||||
myconf+=" $(use_enable python pythoninterp)"
|
||||
myconf+=" $(use_enable ruby rubyinterp)"
|
||||
myconf+=" --enable-gui=qt --with-vim-name=qvim --with-x"
|
||||
|
||||
if ! use cscope ; then
|
||||
sed -i -e '/# define FEAT_CSCOPE/d' src/feature.h || die 'sed failed'
|
||||
fi
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/qvim
|
||||
doicon -s 64 src/qt/icons/vim-qt.png
|
||||
make_desktop_entry qvim Vim-qt vim-qt "Qt;TextEditor;Development;"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST VirtualBox-4.1.24.tar.bz2 74612732 SHA256 74008b8e8942045668c1b7d06b0a4bb5fe8464066e343e3a2e1ba30b94ce8a7f SHA512 b4967621f848ff50d23e5f1afa63c2109cd10a602e6c742966ae7eef882417808cdc93edad67f55a0005fe3e4905034b08a1d21dcf242a9cc1e653ebef459174 WHIRLPOOL 0544cd637bfcc6cf7a502aa6fe27cb697ba4d570400ee2f7055406fca6deaed1b4b31e80de8e7d09a15152bfabe311d56a4ff256ae8f8f2940aa842c1701f941
|
||||
DIST VirtualBox-4.2.6.tar.bz2 76291326 SHA256 54526091bc2aa66b88ca878dd9ecc4466f96d607db2f6678a9d673ecf6646ae3 SHA512 b8b35f7777cc1386cb61720619a8df1b7adbc573da0bfa1e364887dd8680012ecabc57d7dd5848943be5e676430a66ae6d0ddf1654299891d89b82dadea3b78f WHIRLPOOL 1e95c4d1136e0c2e7740cb443a4effecf0b018a6c1492d13e61d81ae0a74f35d5f9b0adf89f52c0e36794512c6c001e01f775755c9a182581d0c36874b401be6
|
||||
DIST VirtualBox-4.2.8.tar.bz2 76420670 SHA256 bc9185e0c300d61e2a6c8ac48b4bea6a0a456c9ba11d1fbadf2d1e6ca063f2b4 SHA512 12130959da3b65fd3c35fdcfbdfedf0762ac9b40871a9922c103d06dee8a584597e8febe5682f3be16bf64b6f4f9af31c3ea5b40d8d71ce42aac8ebb0e5e0dd4 WHIRLPOOL dc24ae9d15b0ea5f05a14c8ace138aa72296b761a1113dc56c2dde4ad321afe3d17d850cd537bcbdb82c7b112b2b5b7a199318401c8b45dcbacbde7a31a22f97
|
||||
DIST VirtualBox-4.2.8.tar.bz2 76412088 SHA256 f336af12244db74e6564dc22e438bbcba70f994aaf0d117fdf70caca9fab1b78 SHA512 70eab0aa0c760937a99d4d199be81cd828bc37d656a796a5cdd25fd3869b6873d2bfac4fa1c719a9a79431312524c21bba995b9a6be8a8bcb8eb2444cca32c08 WHIRLPOOL 54642eaf1c495f46338c348e6f5abb29bf6e17b85d2dae1fd4b4988eebec7dda8a8dad903060b2ef3fa65c4e1aaecdc43bd384f7b993b16f59be86e4fb8d0355
|
||||
|
@ -0,0 +1,2 @@
|
||||
DIST pyzy-0.1.0.tar.gz 1571946 SHA256 fe468a4372473d85a56f05d55b14f0e0201fde6f9336a1a2322cf79421c84d9a SHA512 42477152ffd6a2f7ce0e8f920d98e9dc9c7fc32fe9e93a2a4de75c791e70d0f08c30eca0244dc2b87981f6bfc4e635234d62720aa19358c8f80a84e0c371c662 WHIRLPOOL 8cba6d647ee9f4e4f3ee22922245fc9b67fab779ea4381793eece9171d6f0cb4d0f325cc2ac1c4ce7ff6f47d383f6c02d0b866dcfbdc841b6f84ee6dff6fe0fe
|
||||
DIST pyzy-database-1.0.0.tar.bz2 9977983 SHA256 32c7d07b9f41e1dfc0f9008f54eca8e6cb367e7f2b19ac94c49754442694c321 SHA512 5a7248870407f7f92c418ada49a275062325f2eb33a7eb4b91492e4b706ae70ba931b04377a758ce429fa64cd22e8bee2ac4279d4f205bbce406248eda1decf7 WHIRLPOOL 07043adf9d83eb40b1a53409a31b3711f041e2b4dd5cf3f8c2034c129c31270fd37f2e53ecf2da5503562cf103ccb0a4487fa606928ac38a8775e90ff376ce3a
|
@ -0,0 +1,15 @@
|
||||
Don't download database file on make phrase.
|
||||
The database file will be downloaded by ebuild script instead.
|
||||
diff -urN pyzy-0.1.0.orig/data/db/open-phrase/Makefile.am pyzy-0.1.0/data/db/open-phrase/Makefile.am
|
||||
--- pyzy-0.1.0.orig/data/db/open-phrase/Makefile.am 2012-09-05 13:23:24.151736716 +0900
|
||||
+++ pyzy-0.1.0/data/db/open-phrase/Makefile.am 2012-09-05 14:18:57.144553548 +0900
|
||||
@@ -30,9 +30,6 @@
|
||||
DBTAR = pyzy-database-$(DBVER).tar.bz2
|
||||
|
||||
$(DBTAR):
|
||||
- $(AM_V_GEN) \
|
||||
- wget http://pyzy.googlecode.com/files/$(DBTAR) || \
|
||||
- ( $(RM) $@; exit 1)
|
||||
|
||||
stamp-db: $(DBTAR)
|
||||
$(AM_V_GEN) \
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>proxy-maintainers</herd>
|
||||
<herd>cjk</herd>
|
||||
<use>
|
||||
<flag name='boost'>Enable support for <pkg>dev-libs/boost</pkg></flag>
|
||||
<flag name='doc'>Enable support for documents</flag>
|
||||
<flag name='opencc'>Use <pkg>app-i18n/opencc</pkg> for input</flag>
|
||||
</use>
|
||||
|
||||
</pkgmetadata>
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/pyzy/pyzy-0.1.0.ebuild,v 1.1 2013/03/01 05:29:16 naota Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils python autotools
|
||||
|
||||
PY_DATABASE=${PN}-database-1.0.0
|
||||
DESCRIPTION="The Chinese PinYin and Bopomofo conversion library"
|
||||
HOMEPAGE="https://github.com/pyzy"
|
||||
SRC_URI="https://pyzy.googlecode.com/files/${P}.tar.gz
|
||||
https://pyzy.googlecode.com/files/${PY_DATABASE}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="boost doc opencc test"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
dev-db/sqlite:3
|
||||
sys-apps/util-linux
|
||||
boost? ( dev-libs/boost )
|
||||
opencc? ( app-i18n/opencc )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
# Currently it fails to build test code
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-dont-download-dictionary-file.patch
|
||||
mv ../db ./data/db/open-phrase/ || die
|
||||
python_convert_shebangs 2 "${S}"/data/db/android/create_db.py
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-db-open-phrase \
|
||||
--enable-db-android \
|
||||
$(use_enable boost) \
|
||||
$(use_enable opencc) \
|
||||
$(use_enable test tests)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use doc && dohtml -r docs/html/*
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST calibre-0.9.20.tar.xz 28170112 SHA256 96075f6dbd25bf0bd26378b67d695478bd251a5ab8706cbc5907209aa6b6fcda SHA512 6bfa2e5c3b08d4201a281c3067de47d450474586355ab61fe3e4a70ab4a67164fa22b4baadaf859cc89918cc839500330c82e8501f0d52c63441b8bb1cbd4fda WHIRLPOOL 4c21bbc439ccdf2c1ff1cd6d93506d11e165387f68a9cba10f3263bfe6a70085d1ec98db7f187b51e5cc6879427fba2feb0afa2a2d1f4c570517163549546f73
|
||||
DIST calibre-0.9.21.tar.xz 28241444 SHA256 712d254f4ab717c2d720aa25d956aa039c4c7edbd7f7502773915468b21004e0 SHA512 4b11347a4452d5f125e9bd03361d70361898473d5ed407b842a36c217a792dc80ab9cd337eb492e9b65805c6939a05f75181736cc51849f541a3ed5aa05e300b WHIRLPOOL cfb6eb53932d849fd32a14c2ae1c9a66e2ca4b3063bc0c026b72738fc46b91676cf72d25456963daa015b89825a83157575bcb08f983ee9af98f4f3a4595f0a4
|
||||
|
@ -0,0 +1,189 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.21.ebuild,v 1.1 2013/03/01 09:20:57 zmedico Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_DEPEND=2:2.7
|
||||
PYTHON_USE_WITH="ssl sqlite"
|
||||
|
||||
inherit python eutils fdo-mime bash-completion-r1 multilib
|
||||
|
||||
DESCRIPTION="Ebook management application."
|
||||
HOMEPAGE="http://calibre-ebook.com/"
|
||||
SRC_URI="http://sourceforge.net/projects/calibre/files/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
IUSE="+udisks"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-text/podofo-0.8.2:=
|
||||
>=app-text/poppler-0.12.3-r3:=[qt4,xpdf-headers(+)]
|
||||
>=dev-libs/chmlib-0.40:=
|
||||
>=dev-libs/icu-4.4:=
|
||||
>=dev-python/beautifulsoup-3.0.5:python-2
|
||||
dev-python/netifaces
|
||||
dev-python/python-dateutil
|
||||
>=dev-python/dnspython-1.6.0
|
||||
>=dev-python/cssselect-0.7.1
|
||||
>=dev-python/cssutils-0.9.9
|
||||
>=dev-python/dbus-python-0.82.2
|
||||
>=dev-python/imaging-1.1.6
|
||||
>=dev-python/lxml-2.2.1
|
||||
>=dev-python/mechanize-0.1.11
|
||||
>=dev-python/python-dateutil-1.4.1
|
||||
>=dev-python/PyQt4-4.9.1[X,svg,webkit]
|
||||
media-fonts/liberation-fonts
|
||||
>=media-gfx/imagemagick-6.5.9[jpeg,png]
|
||||
>=media-libs/freetype-2:=
|
||||
>=media-libs/libwmf-0.2.8
|
||||
>=media-libs/libmtp-1.1.4:=
|
||||
virtual/libusb:1=
|
||||
x11-libs/qt-dbus:4=
|
||||
x11-libs/qt-svg:4=
|
||||
>=x11-misc/xdg-utils-1.0.2-r2"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
udisks? ( || ( sys-fs/udisks:2 sys-fs/udisks:0 ) )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-python/setuptools-0.6_rc5"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2.7
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Fix outdated version constant.
|
||||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
|
||||
# -i src/calibre/constants.py || \
|
||||
# die "sed failed to patch constants.py"
|
||||
|
||||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
|
||||
# calls xdg-* (bug #258938).
|
||||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
|
||||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
|
||||
-e "s|PreserveMIMEDefaults():||" \
|
||||
-e "s|xdg-icon-resource install|\\0 --mode user|" \
|
||||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
||||
-e "s|xdg-mime install|\\0 --mode user|" \
|
||||
-i src/calibre/linux.py || die "sed failed to patch linux.py"
|
||||
|
||||
# Disable unnecessary privilege dropping for bug #287067.
|
||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
||||
-i setup/install.py || die "sed failed to patch install.py"
|
||||
|
||||
sed -e "/^ self\\.check_call(qmc + \\[.*\\.pro'\\])$/a\
|
||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
||||
'-i', 'Makefile'])" \
|
||||
-i setup/extensions.py || die "sed failed to patch extensions.py"
|
||||
|
||||
# no_updates: do not annoy user with "new version is availible all the time
|
||||
# disable_plugins: walking sec-hole, wait for upstream to use GHNS interface
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-no_updates_dialog.patch" \
|
||||
"${FILESDIR}/${PN}-disable_plugins.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Bypass kbuildsycoca and update-mime-database in order to
|
||||
# avoid sandbox violations if xdg-mime tries to call them.
|
||||
cat - > "${T}/kbuildsycoca" <<-EOF
|
||||
#!${BASH}
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
cp "${T}"/{kbuildsycoca,update-mime-database}
|
||||
chmod +x "${T}"/{kbuildsycoca,update-mime-database}
|
||||
|
||||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
|
||||
# violation with kbuildsycoca as in bug #287067, comment #13.
|
||||
export -n DISPLAY
|
||||
|
||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
||||
# return _parse_localename(localename)
|
||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
||||
# raise ValueError, 'unknown locale: %s' % localename
|
||||
#ValueError: unknown locale: 46
|
||||
export -n LANGUAGE
|
||||
|
||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
||||
# variables to point to our fake temporary $HOME.
|
||||
export HOME="${T}/fake_homedir"
|
||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
||||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
|
||||
mkdir -p "${XDG_CONFIG_HOME}" "${CALIBRE_CONFIG_DIRECTORY}"
|
||||
|
||||
# Bug #334243 - respect LDFLAGS when building calibre-mount-helper
|
||||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
|
||||
local libdir=$(get_libdir)
|
||||
[[ -n $libdir ]] || die "get_libdir returned an empty string"
|
||||
|
||||
dodir "$(python_get_sitedir)" # for init_calibre.py
|
||||
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
|
||||
python setup.py install \
|
||||
--root="${D}" \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir="${EPREFIX}/usr/${libdir}" \
|
||||
--staging-root="${ED}usr" \
|
||||
--staging-libdir="${ED}usr/${libdir}" || die
|
||||
|
||||
grep -rlZ "${ED}" "${ED}" | xargs -0 sed -e "s:${D}:/:g" -i ||
|
||||
die "failed to fix harcoded \$D in paths"
|
||||
|
||||
# Remove dummy calibre-mount-helper which is unused since calibre-0.8.25
|
||||
# due to bug #389515 (instead, calibre now calls udisks via dbus).
|
||||
rm "${ED}usr/bin/calibre-mount-helper" || die
|
||||
|
||||
# The menu entries end up here due to '--mode user' being added to
|
||||
# xdg-* options in src_prepare.
|
||||
dodir /usr/share/mime/packages
|
||||
chmod -fR a+rX,u+w,g-w,o-w "${HOME}"/.local
|
||||
mv "${HOME}"/.local/share/mime/packages/* "${ED}"usr/share/mime/packages/ ||
|
||||
die "failed to register mime types"
|
||||
dodir /usr/share/icons
|
||||
mv "${HOME}"/.local/share/icons/* "${ED}"usr/share/icons/ ||
|
||||
die "failed to install icon files"
|
||||
|
||||
domenu "${HOME}"/.local/share/applications/*.desktop ||
|
||||
die "failed to install .desktop menu files"
|
||||
|
||||
dobashcomp "${ED}"usr/etc/bash_completion.d/calibre
|
||||
rm -r "${ED}"usr/etc/bash_completion.d
|
||||
find "${ED}"usr/etc -type d -empty -delete
|
||||
|
||||
cd "${ED}"/usr/share/calibre/fonts/liberation || die
|
||||
local x
|
||||
for x in * ; do
|
||||
[[ -f ${EROOT}usr/share/fonts/liberation-fonts/${x} ]] || continue
|
||||
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
|
||||
done
|
||||
|
||||
python_convert_shebangs -r $(python_get_version) "${ED}"
|
||||
|
||||
newinitd "${FILESDIR}"/calibre-server.init calibre-server
|
||||
newconfd "${FILESDIR}"/calibre-server.conf calibre-server
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
python_mod_optimize /usr/$(get_libdir)/${PN}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/$(get_libdir)/${PN}
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST namazu-2.0.21.tar.gz 1394048 SHA256 5c18afb679db07084a05aca8dffcfb5329173d99db8d07ff6d90b57c333c71f7 SHA512 c0ce1b8c8b8ce30ee7d28cfed790a9c8585d1b468eefe2ba4ac70976e09329ae04a3a3bbf0b86b9673cfdf206f2b103896daca2f053062f451884fa659b31ea6 WHIRLPOOL 61794e4c1644303c90c074c4f383a74dd8db0550c8108120bc1ee9dd47d9b1e3aeef6484008c6ee729eb7711c4da57bb0d50f16ab0353886296e70d4f9daa9db
|
||||
DIST namazu-2.0.22pre1.tar.gz 1394798 SHA256 58937c8dd62934c4b6596670361e53b20505415afa02bf1491b5ae0176d4afbb SHA512 de982a45a7e8d11f901e0e5db3ba8047d065569c56de676d6b876747e8bf5c358f0d3037a6539421cbff2c0f0cbc889d379b33500e308d038e663d62cd4b5005 WHIRLPOOL 86723855e372cfd4f7e035ca609c19114ee8531d3202a34382718cf4a037db8c883e3cf4a94616afc95e380f66720131c08f577b94975ce13fb079e9cb36a595
|
||||
|
@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/namazu/namazu-2.0.22_p1.ebuild,v 1.1 2013/03/01 09:47:14 naota Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools-utils eutils elisp-common
|
||||
|
||||
IUSE="emacs nls tk linguas_ja"
|
||||
|
||||
DESCRIPTION="Namazu is a full-text search engine"
|
||||
HOMEPAGE="http://www.namazu.org/"
|
||||
SRC_URI="http://www.namazu.org/test/${P/_p/pre}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS=""
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=dev-perl/File-MMagic-1.20
|
||||
emacs? ( virtual/emacs )
|
||||
linguas_ja? (
|
||||
app-i18n/nkf
|
||||
|| (
|
||||
dev-perl/Text-Kakasi
|
||||
app-i18n/kakasi
|
||||
app-text/chasen
|
||||
app-text/mecab
|
||||
)
|
||||
)
|
||||
nls? ( virtual/libintl )
|
||||
tk? (
|
||||
dev-lang/tk
|
||||
www-client/lynx
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.0.19-gentoo.patch"
|
||||
)
|
||||
DOCS=(AUTHORS CREDITS NEWS THANKS TODO)
|
||||
|
||||
S="${WORKDIR}"/${P/_p/pre}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable nls)
|
||||
$(use_enable tk tknamazu)
|
||||
)
|
||||
|
||||
use tk && myeconfargs+=(
|
||||
--with-namazu=/usr/bin/namazu
|
||||
--with-mknmz=/usr/bin/mknmz
|
||||
--with-indexdir=/var/lib/namazu/index
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
autotools-utils_src_compile
|
||||
|
||||
if use emacs; then
|
||||
cd lisp
|
||||
elisp-compile gnus-nmz-1.el namazu.el || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
autotools-utils_src_install
|
||||
dodoc ChangeLog* HACKING* README* etc/*.png
|
||||
dohtml -r doc/*
|
||||
rm -r "${ED}"/usr/share/namazu/doc || die
|
||||
if use emacs; then
|
||||
elisp-install ${PN} lisp/gnus-nmz-1.el* lisp/namazu.el* || die
|
||||
elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el || die
|
||||
|
||||
docinto lisp
|
||||
dodoc lisp/ChangeLog*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,123 @@
|
||||
make static libs optional. already sent upstream.
|
||||
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -46,6 +46,8 @@ set(CPACK_COMPONENT_SHAREDLIBS_GROUP "Development")
|
||||
"Static library, good if you want to embed libftdi1 in your application.")
|
||||
set(CPACK_COMPONENT_HEADERS_DESCRIPTION
|
||||
"C/C++ header files.")
|
||||
+
|
||||
+option ( STATICLIBS "Build static libraries" ON )
|
||||
|
||||
set(CPACK_COMPONENT_SHAREDLIBS_GROUP "Development")
|
||||
set(CPACK_COMPONENT_STATICLIBS_GROUP "Development")
|
||||
--- a/ftdipp/CMakeLists.txt
|
||||
+++ b/ftdipp/CMakeLists.txt
|
||||
@@ -30,12 +30,16 @@ if (FTDIPP)
|
||||
set_target_properties(ftdipp1 PROPERTIES VERSION ${VERSION_FIXUP}.${MINOR_VERSION}.0 SOVERSION 2)
|
||||
|
||||
# Static library
|
||||
- add_library(ftdipp1-static STATIC ${cpp_sources})
|
||||
- set_target_properties(ftdipp1-static PROPERTIES OUTPUT_NAME "ftdipp1")
|
||||
+ if (STATICLIBS)
|
||||
+ add_library(ftdipp1-static STATIC ${cpp_sources})
|
||||
+ set_target_properties(ftdipp1-static PROPERTIES OUTPUT_NAME "ftdipp1")
|
||||
+ endif (STATICLIBS)
|
||||
|
||||
# Prevent clobbering each other during the build
|
||||
set_target_properties(ftdipp1 PROPERTIES CLEAN_DIRECT_OUTPUT 1)
|
||||
- set_target_properties(ftdipp1-static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
|
||||
+ if (STATICLIBS)
|
||||
+ set_target_properties(ftdipp1-static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
|
||||
+ endif (STATICLIBS)
|
||||
|
||||
# Dependencies
|
||||
target_link_libraries(ftdipp1 ftdi1 ${LIBUSB_LIBRARIES} ${BOOST_LIBRARIES})
|
||||
@@ -46,10 +50,12 @@ if (FTDIPP)
|
||||
LIBRARY DESTINATION lib${LIB_SUFFIX}
|
||||
COMPONENT sharedlibs
|
||||
)
|
||||
- install( TARGETS ftdipp1-static
|
||||
- ARCHIVE DESTINATION lib${LIB_SUFFIX}
|
||||
- COMPONENT staticlibs
|
||||
- )
|
||||
+ if (STATICLIBS)
|
||||
+ install( TARGETS ftdipp1-static
|
||||
+ ARCHIVE DESTINATION lib${LIB_SUFFIX}
|
||||
+ COMPONENT staticlibs
|
||||
+ )
|
||||
+ endif (STATICLIBS)
|
||||
install( FILES ${cpp_headers}
|
||||
DESTINATION include/${PROJECT_NAME}
|
||||
COMPONENT headers
|
||||
@@ -61,10 +67,12 @@ if (FTDIPP)
|
||||
DESTINATION bin
|
||||
COMPONENT sharedlibs
|
||||
)
|
||||
- install( TARGETS ftdipp1-static
|
||||
- DESTINATION bin
|
||||
- COMPONENT staticlibs
|
||||
- )
|
||||
+ if (STATICLIBS)
|
||||
+ install( TARGETS ftdipp1-static
|
||||
+ DESTINATION bin
|
||||
+ COMPONENT staticlibs
|
||||
+ )
|
||||
+ endif (STATICLIBS)
|
||||
install( FILES ${cpp_headers}
|
||||
DESTINATION include/${PROJECT_NAME}
|
||||
COMPONENT headers
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -28,11 +28,15 @@ set_target_properties(ftdi1 PROPERTIES VERSION ${VERSION_FIXUP}.${MINOR_VERSION}
|
||||
|
||||
# Static library
|
||||
add_library(ftdi1-static STATIC ${c_sources})
|
||||
-set_target_properties(ftdi1-static PROPERTIES OUTPUT_NAME "ftdi1")
|
||||
+if (STATICLIBS)
|
||||
+ set_target_properties(ftdi1-static PROPERTIES OUTPUT_NAME "ftdi1")
|
||||
+endif (STATICLIBS)
|
||||
|
||||
# Prevent clobbering each other during the build
|
||||
set_target_properties(ftdi1 PROPERTIES CLEAN_DIRECT_OUTPUT 1)
|
||||
-set_target_properties(ftdi1-static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
|
||||
+if (STATICLIBS)
|
||||
+ set_target_properties(ftdi1-static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
|
||||
+endif (STATICLIBS)
|
||||
|
||||
# Dependencies
|
||||
target_link_libraries(ftdi1 ${LIBUSB_LIBRARIES})
|
||||
@@ -45,10 +49,12 @@ if(${UNIX})
|
||||
COMPONENT sharedlibs
|
||||
)
|
||||
|
||||
- install( TARGETS ftdi1-static
|
||||
- ARCHIVE DESTINATION lib${LIB_SUFFIX}
|
||||
- COMPONENT staticlibs
|
||||
- )
|
||||
+ if (STATICLIBS)
|
||||
+ install( TARGETS ftdi1-static
|
||||
+ ARCHIVE DESTINATION lib${LIB_SUFFIX}
|
||||
+ COMPONENT staticlibs
|
||||
+ )
|
||||
+ endif (STATICLIBS)
|
||||
|
||||
install( FILES ${c_headers}
|
||||
DESTINATION include/${PROJECT_NAME}
|
||||
@@ -64,10 +70,12 @@ if(${WIN32})
|
||||
COMPONENT sharedlibs
|
||||
)
|
||||
|
||||
- install( TARGETS ftdi1-static
|
||||
- DESTINATION bin
|
||||
- COMPONENT staticlibs
|
||||
- )
|
||||
+ if (STATICLIBS)
|
||||
+ install( TARGETS ftdi1-static
|
||||
+ DESTINATION bin
|
||||
+ COMPONENT staticlibs
|
||||
+ )
|
||||
+ endif (STATICLIBS)
|
||||
|
||||
install( FILES ${c_headers}
|
||||
DESTINATION include/${PROJECT_NAME}
|
@ -1,2 +1,3 @@
|
||||
DIST closure-compiler-bin-20120305.tar.gz 4905502 SHA256 593037f0f4e8df99293384559d64c3f89f50cecbd36f9a8755b3d4ddeeea89f2 SHA512 53c10a2731e4da8e49c46154c5a997a8b68f2d2e6a86baf4268425b3be416be1e4e9bc64809098484536af980e1192d649a95bd1088bb4da7ba83d4b7dad054f WHIRLPOOL 6e140b19282c1564a715aedd1ccee264ee5ea85e7da94f47fe9d59a3b3c9733cd0797b49238b49e68e25a7ce6957b9b3e26214b23ed41547378f45020d6d3490
|
||||
DIST closure-compiler-bin-20121212.tar.gz 5436614 SHA256 a78280bfe585be69648c0777d97bd33d9374d035463125521ca532d203974f60 SHA512 bb7bf694ff8aa9b932a6b248414884fc0d9cef6ab44d88cfad256ebd707ca299b21d2ee313a3b024032fc5eec0ffc4b7080182882af3c2311a2ad1f4ca85d1f9 WHIRLPOOL 5935f6ca1aada268a7d0fca28765c0ad4fc775891cf8f44148b81898838d5a3521a911b13efcb7a97e541f346ddb5fdeb6c998fddf6ed638c0d1fb4c52e87469
|
||||
DIST closure-compiler-bin-20130227.tar.gz 5694074 SHA256 c8ac4796e61919a4112ed616cc1734caf69b5aa5e777d5b0428defb21c253537 SHA512 f9ea62e994e1989643e3fe3db8fbe8c66eda34196b30bb31cdccbcbb4c209231bc35e705d5ac8cbcc73aecca8325e41ca48879eb624090b595a05413a56eb243 WHIRLPOOL ec4adc79e51fe5365a3087fc5d92fa1da15939a31f80c36faeda5aff3820cb58a7d77f52883f125c80c74cfa57aa3e830d98dd0975391186658339a66a457b93
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/closure-compiler-bin/closure-compiler-bin-20130227.ebuild,v 1.1 2013/03/01 06:24:15 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="JavaScript optimizing compiler"
|
||||
HOMEPAGE="http://code.google.com/p/closure-compiler/"
|
||||
SRC_URI="http://closure-compiler.googlecode.com/files/compiler-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
java-pkg_jarinto /opt/${PN}-${SLOT}/lib
|
||||
java-pkg_newjar compiler.jar ${PN}.jar
|
||||
java-pkg_dolauncher \
|
||||
${PN%-bin} \
|
||||
--jar /opt/${PN}-${SLOT}/lib/${PN}.jar \
|
||||
-into /opt
|
||||
dodoc README
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqp/nqp-2013.02.ebuild,v 1.1 2013/03/01 05:53:19 patrick Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
PARROT_VERSION="4.4.0"
|
||||
|
||||
DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
|
||||
HOMEPAGE="http://rakudo.org/"
|
||||
SRC_URI="http://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-lang/parrot-${PARROT_VERSION}[unicode]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}"
|
||||
ln -s * "${S}" || die
|
||||
cd "${S}"
|
||||
echo "${PV}" > VERSION
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
perl Configure.pl || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install || die
|
||||
|
||||
dodoc CREDITS README || die
|
||||
|
||||
if use doc; then
|
||||
dodoc docs/* || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2013.02.ebuild,v 1.1 2013/03/01 05:53:50 patrick Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PARROT_VERSION="4.4.0"
|
||||
NQP_VERSION="${PV}"
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="A Perl 6 implementation built on the Parrot virtual machine"
|
||||
HOMEPAGE="http://rakudo.org/"
|
||||
SRC_URI="http://rakudo.org/downloads/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-lang/parrot-${PARROT_VERSION}[unicode]
|
||||
>=dev-lang/nqp-${NQP_VERSION}"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s,\$(DOCDIR)/rakudo$,&-${PVR}," tools/build/Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
perl Configure.pl || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install || die
|
||||
|
||||
dodoc CREDITS README docs/ChangeLog docs/ROADMAP || die
|
||||
|
||||
if use doc; then
|
||||
dohtml -A svg docs/architecture.html docs/architecture.svg || die
|
||||
dodoc docs/*.pod || die
|
||||
docinto announce
|
||||
dodoc docs/announce/* || die
|
||||
fi
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST tk8.5.10-src.tar.gz 3807862 SHA256 f6ac59a3414a0989c9ca30237b3c14ceee95733eb486739ffc271c8055e37c9f SHA512 c5261dabd12994d6f5eeab1b13aaab53c846608bf33a73b5d92a38868ba4a2c386fe28ec903347d00186266a75646a418fdd9705e7a41e7e6d46e7928067ae72 WHIRLPOOL f73cc598c84b9ad2210c9618827cf49b977b0ca79efca13c948cfc70ad85b3c34b929e6471e8101376252be22ab63994c22ad8e619b77919c0fd1810c3e9105c
|
||||
DIST tk8.5.13-src.tar.gz 4086092 SHA256 9e83ba2704ad73a65986eb7cdc51e432a5db6eca8d8691e33caceef40ed0c563 SHA512 5b705026d3d80c35bd60311c3df5489a7970c1648f98d843d6ee57c9336de5e63aed488f670f15f2c0bffccbc2402cc98c383c057b7d86f1db4c36340e34e209 WHIRLPOOL e523bfa0ce407f4d5157df7fee93c6d60012bf5b46a4cbd4e4692ad0ce872650563d12db11bfa94ba19b0a5aad1ef9fdd4b02dfb11f0de253839c69adb26a718
|
||||
DIST tk8.6.0-src.tar.gz 4239836 SHA256 5c708b2b6f658916df59190b27750fa1ea2bc10992108e10f961c0700f058de6 SHA512 e78c3f3a8dacd6c1aaa4587f7e4e2a2a6a5adf3957c89bf450cea82d85701242729ccf6232cef71138685926f6a44fe683aa6425d0c4738326637e88b3d9e38d WHIRLPOOL 8344adaa74913eb3dd13d8240a451ebdfe0225a67ea7516e18d4a3920b2e448380c53fe6d2916e36518b3e9b02df0e15c41c9e1a6f1ca30f1b6790a408fdf30b
|
||||
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.5.10-r1.ebuild,v 1.6 2012/12/05 08:51:37 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools eutils multilib toolchain-funcs prefix
|
||||
|
||||
MY_P="${PN}${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Tk Widget Set"
|
||||
HOMEPAGE="http://www.tcl.tk/"
|
||||
SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz"
|
||||
|
||||
LICENSE="tcltk"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug threads truetype aqua xscreensaver"
|
||||
|
||||
RDEPEND="
|
||||
!aqua? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXt
|
||||
truetype? ( x11-libs/libXft )
|
||||
xscreensaver? ( x11-libs/libXScrnSaver ) )
|
||||
~dev-lang/tcl-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
!aqua? ( x11-proto/xproto )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-8.4.11-multilib.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-8.4.15-aqua.patch
|
||||
eprefixify unix/Makefile.in
|
||||
|
||||
# Bug 125971
|
||||
epatch "${FILESDIR}"/${PN}-8.5_alpha6-tclm4-soname.patch
|
||||
|
||||
sed -i 's/FT_New_Face/XftFontOpen/g' unix/configure.in || die
|
||||
|
||||
cd "${S}"/unix
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
cd "${S}"/unix
|
||||
|
||||
local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
|
||||
|
||||
econf \
|
||||
--with-tcl="${EPREFIX}/usr/${mylibdir}" \
|
||||
$(use_enable threads) \
|
||||
$(use_enable aqua) \
|
||||
$(use_enable truetype xft) \
|
||||
$(use_enable xscreensaver xss) \
|
||||
$(use_enable debug symbols)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/unix && emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
#short version number
|
||||
local v1
|
||||
v1=${PV%.*}
|
||||
|
||||
cd "${S}"/unix
|
||||
S= emake DESTDIR="${D}" install
|
||||
|
||||
# normalize $S path, bug #280766 (pkgcore)
|
||||
local nS="$(cd "${S}"; pwd)"
|
||||
|
||||
# fix the tkConfig.sh to eliminate refs to the build directory
|
||||
local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
|
||||
sed -i \
|
||||
-e "s,^\(TK_BUILD_LIB_SPEC='-L\)${nS}/unix,\1${EPREFIX}/usr/${mylibdir}," \
|
||||
-e "s,^\(TK_SRC_DIR='\)${nS}',\1${EPREFIX}/usr/${mylibdir}/tk${v1}/include'," \
|
||||
-e "s,^\(TK_BUILD_STUB_LIB_SPEC='-L\)${nS}/unix,\1${EPREFIX}/usr/${mylibdir}," \
|
||||
-e "s,^\(TK_BUILD_STUB_LIB_PATH='\)${nS}/unix,\1${EPREFIX}/usr/${mylibdir}," \
|
||||
"${ED}"/usr/${mylibdir}/tkConfig.sh || die
|
||||
|
||||
if [[ ${CHOST} != *-darwin* ]]; then
|
||||
sed -i \
|
||||
-e "s,^\(TK_CC_SEARCH_FLAGS='.*\)',\1:${EPREFIX}/usr/${mylibdir}'," \
|
||||
-e "s,^\(TK_LD_SEARCH_FLAGS='.*\)',\1:${EPREFIX}/usr/${mylibdir}'," \
|
||||
"${ED}"/usr/${mylibdir}/tkConfig.sh || die
|
||||
fi
|
||||
|
||||
# install private headers
|
||||
insinto /usr/${mylibdir}/tk${v1}/include/unix
|
||||
doins "${S}"/unix/*.h
|
||||
insinto /usr/${mylibdir}/tk${v1}/include/generic
|
||||
doins "${S}"/generic/*.h
|
||||
rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/tk.h
|
||||
rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/tkDecls.h
|
||||
rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/tkPlatDecls.h
|
||||
|
||||
# install symlink for libraries
|
||||
#dosym libtk${v1}.a /usr/${mylibdir}/libtk.a
|
||||
dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname)
|
||||
dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a
|
||||
|
||||
dosym wish${v1} /usr/bin/wish
|
||||
|
||||
cd "${S}"
|
||||
dodoc ChangeLog* README changes
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/xcache/xcache-3.0.1.ebuild,v 1.1 2013/03/01 12:21:36 olemarkus Exp $
|
||||
|
||||
EAPI="4"
|
||||
PHP_EXT_NAME="xcache"
|
||||
PHP_EXT_INI="yes"
|
||||
PHPSAPILIST="apache2 cgi fpm"
|
||||
|
||||
USE_PHP="php5-3 php5-4"
|
||||
inherit php-ext-source-r2 confutils
|
||||
|
||||
DESCRIPTION="A fast and stable PHP opcode cacher"
|
||||
HOMEPAGE="http://xcache.lighttpd.net/"
|
||||
SRC_URI="http://xcache.lighttpd.net/pub/Releases/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# make test would just run php's test and as such need the full php source
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="virtual/httpd-php
|
||||
!dev-php/eaccelerator !dev-php/pecl-apc"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
|
||||
my_conf="--enable-xcache=shared \
|
||||
--enable-xcache-constant \
|
||||
--enable-xcache-optimizer \
|
||||
--enable-xcache-coverager \
|
||||
--enable-xcache-assembler \
|
||||
--enable-xcache-encoder \
|
||||
--enable-xcache-decoder"
|
||||
|
||||
php-ext-source-r2_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
php-ext-source-r2_src_install
|
||||
dodoc AUTHORS ChangeLog NEWS README THANKS
|
||||
|
||||
insinto "${PHP_EXT_SHARED_DIR}"
|
||||
doins lib/Decompiler.class.php
|
||||
insinto "${PHP_EXT_SHARED_DIR}"
|
||||
doins -r htdocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "lib/Decompiler.class.php, and the htdocs/ directory shipped with this"
|
||||
elog "release were installed into ${PHP_EXT_SHARED_DIR}."
|
||||
}
|
@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci-mathematics</herd>
|
||||
<longdescription lang="en">
|
||||
<herd>sci-mathematics</herd>
|
||||
<longdescription lang="en">
|
||||
Uses Octave to run commands and m-files. Supports any Octave
|
||||
function or m-file, passing the data seamlessly between Python and
|
||||
Octave using MAT files.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">oct2py</remote-id>
|
||||
</upstream>
|
||||
<upstream>
|
||||
<remote-id type="pypi">oct2py</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST 98925-cwp-1.6.10.tar.bz2 199101 SHA256 1bed894541463b540cbe8b67cabded351c396185397c4010ce6927183fe5268e SHA512 185bb3b71638c9c9eb69231d23355c8713fbc514e3c43221858d6f81ee5c0d017bf9ce2e69678fc957ec65c8cb4661b6fc59e02caa4a3eace43243726d4a9316 WHIRLPOOL 2f295c0d7c39573143f3e5afe24f6480aeab5943dae7d3a98b835da897487455d08d748c9e26428df9f8820fce25007ff6a47e292b1c4133d0b1591e5c2afebc
|
||||
DIST 98925-cwp-1.6.12.tar.bz2 199107 SHA256 2df4f4b02b25550823c5df451585e77c4f3d69d07baea128aaf76b596959d199 SHA512 6235122ff46905dcd4f1b4386e063272d26a5955c2f053270867f2b69fdeb9709f01c4a93bd918071b2d1957608daa6c27ac7125f95fa02ad0afc02fdff5e456 WHIRLPOOL 0adfebf96b22797083f73f9cfc0d4859fa05f8fb5b2ffa9afcb804ce8267f8ee11bcb6e90bdb14da2123b2db0f1b1e4f5c81fc19535127337520f2196716b396
|
||||
DIST 98925-cwp-1.7.0.tar.bz2 204109 SHA256 4592c601f023dc224982c941de333fc6b6d08a929f52baa8d377a4e00a93b9a0 SHA512 56a07bdf71029f47830a69b2e73964dfdde40832a240992b51ddac71f1d69f32bf2ee86bdb2deb2d98e3162f574c2fa3f86c64c0399c5ac0acc048c939cb4c42 WHIRLPOOL 3eed41f6dba2f88e555f0d7da899a093185fafcc310535b778e80e4c567c5d49356409706260baedbaee86ef83275487447481c098f737f24d163b78ab378e26
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-misc/customizable-weather/customizable-weather-1.7.0.ebuild,v 1.1 2013/03/01 16:13:54 kensington Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_LINGUAS="br de el es fr hu it nb nl pl ro ru sr sr@Latn tr zh_CN"
|
||||
inherit kde4-base
|
||||
|
||||
MY_P="cwp-${PV}"
|
||||
|
||||
DESCRIPTION="KDE4 weather plasmoid. It aims to be highly customizable, but is a little harder to setup."
|
||||
HOMEPAGE="http://www.kde-look.org/content/show.php/Customizable+Weather+Plasmoid?content=98925"
|
||||
SRC_URI="http://www.kde-look.org/CONTENT/content-files/98925-${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="4"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
$(add_kdebase_dep plasma-workspace)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
@ -1,9 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qt</herd>
|
||||
<herd>kde</herd>
|
||||
<maintainer>
|
||||
<email>jkt@gentoo.org</email>
|
||||
<name>Jan Kundrát</name>
|
||||
</maintainer>
|
||||
<herd>qt</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,72 @@
|
||||
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
|
||||
index 1233905..2567a63 100644
|
||||
--- a/RELEASE_NOTES
|
||||
+++ b/RELEASE_NOTES
|
||||
@@ -3,6 +3,10 @@
|
||||
This listing shows the versions of the OpenDKIM package, the date of
|
||||
release, and a summary of the changes in that release.
|
||||
|
||||
+2.8.1 2013/0?/??
|
||||
+ BUILD: Fix build for versions of libdb between 3.1 and 4.6.
|
||||
+ Problem noted by John Wood.
|
||||
+
|
||||
2.8.0 2013/02/25
|
||||
Feature request #SF2964383: Add DKIM_LIBFLAGS_STRICTRESIGN, which
|
||||
inhibits signing of a handle tagged for resigning when the
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index ff018de..64d567a 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -14,7 +14,7 @@ AC_PREREQ(2.61)
|
||||
#
|
||||
m4_define([VERSION_RELEASE], 2)
|
||||
m4_define([VERSION_MAJOR_REV], 8)
|
||||
-m4_define([VERSION_MINOR_REV], 0)
|
||||
+m4_define([VERSION_MINOR_REV], 1)
|
||||
m4_define([VERSION_PATCH], 0)
|
||||
|
||||
#
|
||||
diff --git a/libopendkim/dkim-cache.c b/libopendkim/dkim-cache.c
|
||||
index 1bb10e8..c43cc0c 100644
|
||||
--- a/libopendkim/dkim-cache.c
|
||||
+++ b/libopendkim/dkim-cache.c
|
||||
@@ -508,7 +508,13 @@ dkim_cache_stats(DB *db, u_int *queries, u_int *hits, u_int *expired,
|
||||
#if DB_VERSION_CHECK(2,0,0)
|
||||
DB_HASH_STAT *sp;
|
||||
|
||||
+# if DB_VERSION_CHECK(4,3,0)
|
||||
if (db->stat(db, NULL, (void *) &sp, 0) != 0)
|
||||
+# elif DB_VERSION_CHECK(4,0,0)
|
||||
+ if (db->stat(db, (void *) &sp, 0) != 0)
|
||||
+# else /* DB_VERSION_CHECK(4,0,0) */
|
||||
+ if (db->stat(db, (void *) &sp, NULL, 0) != 0)
|
||||
+# endif /* DB_VERSION_CHECK(4,0,0) */
|
||||
{
|
||||
*keys = (u_int) -1;
|
||||
}
|
||||
diff --git a/libopendkim/tests/t-test49.c b/libopendkim/tests/t-test49.c
|
||||
index e54cb37..318ad8a 100644
|
||||
--- a/libopendkim/tests/t-test49.c
|
||||
+++ b/libopendkim/tests/t-test49.c
|
||||
@@ -53,7 +53,7 @@ main(int argc, char **argv)
|
||||
|
||||
int status;
|
||||
int err;
|
||||
- u_int s1, s2, s3;
|
||||
+ u_int s1, s2, s3, s4;
|
||||
size_t buflen;
|
||||
DB *cache;
|
||||
char buf[BUFRSZ + 1];
|
||||
@@ -99,10 +99,11 @@ main(int argc, char **argv)
|
||||
assert(status == 1);
|
||||
|
||||
printf("--- retrieve cache stats\n");
|
||||
- dkim_cache_stats(&s1, &s2, &s3);
|
||||
+ dkim_cache_stats(cache, &s1, &s2, &s3, &s4, FALSE);
|
||||
assert(s1 == 3);
|
||||
assert(s2 == 1);
|
||||
assert(s3 == 1);
|
||||
+ assert(s4 == 0);
|
||||
|
||||
dkim_cache_close(cache);
|
||||
#endif /* ! QUERY_CACHE */
|
@ -0,0 +1,194 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/opendkim/opendkim-2.8.0-r1.ebuild,v 1.1 2013/03/01 10:58:25 eras Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils db-use autotools user
|
||||
|
||||
# for betas
|
||||
#MY_P=${P/_b/.B}
|
||||
#S=${WORKDIR}/${PN}-2.8.0
|
||||
#SRC_URI="mirror://sourceforge/opendkim/${MY_P}.tar.gz"
|
||||
|
||||
DESCRIPTION="A milter-based application to provide DKIM signing and verification"
|
||||
HOMEPAGE="http://opendkim.org"
|
||||
SRC_URI="mirror://sourceforge/opendkim/${P}.tar.gz"
|
||||
|
||||
LICENSE="Sendmail-Open-Source BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+berkdb gnutls ldap lua opendbx poll sasl +ssl static-libs unbound"
|
||||
|
||||
DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )
|
||||
dev-libs/libbsd
|
||||
ssl? ( >=dev-libs/openssl-0.9.8 )
|
||||
berkdb? ( >=sys-libs/db-3.2 )
|
||||
opendbx? ( >=dev-db/opendbx-1.4.0 )
|
||||
lua? ( dev-lang/lua )
|
||||
ldap? ( net-nds/openldap )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
unbound? ( >=net-dns/unbound-1.4.1 net-dns/dnssec-root )
|
||||
!unbound? ( net-libs/ldns )
|
||||
gnutls? ( >=net-libs/gnutls-2.11.7 )"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
sys-process/psmisc"
|
||||
|
||||
REQUIRED_USE="sasl? ( ldap )"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup milter
|
||||
# mail-milter/spamass-milter creates milter user with this home directory
|
||||
# For consistency reasons, milter user must be created here with this home directory
|
||||
# even though this package doesn't need a home directory for this user (#280571)
|
||||
enewuser milter -1 -1 /var/lib/milter milter
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's:/var/db/dkim:/etc/opendkim:g' \
|
||||
-e 's:/var/db/opendkim:/var/lib/opendkim:g' \
|
||||
-e 's:/etc/mail:/etc/opendkim:g' \
|
||||
-e 's:mailnull:milter:g' \
|
||||
-e 's:^#[[:space:]]*PidFile.*:PidFile /var/run/opendkim/opendkim.pid:' \
|
||||
opendkim/opendkim.conf.sample opendkim/opendkim.conf.simple.in \
|
||||
stats/opendkim-reportstats || die
|
||||
|
||||
sed -i -e 's:dist_doc_DATA:dist_html_DATA:' libopendkim/docs/Makefile.am \
|
||||
|| die
|
||||
|
||||
# don't go over the sock length and fail
|
||||
sed -i -e '/^sock/s/t-sign-ss-macro-value-file.sock/t-s-s-m-v-f.sock/' \
|
||||
opendkim/tests/t-sign-ss-macro-value-file.lua || die
|
||||
|
||||
epatch "${FILESDIR}/${PN}-2.8.0-unbreak_upgrade.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.8.0-berkeleydb.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
if use berkdb ; then
|
||||
myconf=$(db_includedir)
|
||||
myconf="--with-db-incdir=${myconf#-I}"
|
||||
myconf+=" --enable-popauth"
|
||||
myconf+=" --enable-query_cache"
|
||||
myconf+=" --enable-stats"
|
||||
fi
|
||||
if use unbound; then
|
||||
myconf+=" --with-unbound"
|
||||
else
|
||||
myconf+=" --with-ldns"
|
||||
fi
|
||||
if use ldap; then
|
||||
myconf+=" $(use_with sasl)"
|
||||
fi
|
||||
econf \
|
||||
$(use_with berkdb db) \
|
||||
$(use_with opendbx odbx) \
|
||||
$(use_with lua) \
|
||||
$(use_enable lua rbl) \
|
||||
$(use_with ldap openldap) \
|
||||
$(use_enable poll) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with gnutls) \
|
||||
${myconf} \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--htmldir=/usr/share/doc/${PF}/html \
|
||||
--enable-filter \
|
||||
--enable-adsp_lists \
|
||||
--enable-dkim_reputation \
|
||||
--enable-identity_header \
|
||||
--enable-rate_limit \
|
||||
--enable-redirect \
|
||||
--enable-resign \
|
||||
--enable-replace_rules \
|
||||
--enable-default_sender \
|
||||
--enable-sender_macro \
|
||||
--enable-vbr \
|
||||
--disable-rpath \
|
||||
--disable-live-testing \
|
||||
--with-test-socket=/tmp/opendkim-S
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dosbin stats/opendkim-reportstats
|
||||
newinitd "${FILESDIR}/opendkim.init.r3" opendkim
|
||||
dodir /etc/opendkim /var/lib/opendkim
|
||||
fowners milter:milter /var/lib/opendkim
|
||||
|
||||
# default configuration
|
||||
if [ ! -f "${ROOT}"/etc/opendkim/opendkim.conf ]; then
|
||||
grep ^[^#] "${S}"/opendkim/opendkim.conf.simple \
|
||||
> "${D}"/etc/opendkim/opendkim.conf
|
||||
if use unbound; then
|
||||
echo TrustedAnchorFile /etc/dnssec/root-anchors.txt >> "${D}"/etc/opendkim/opendkim.conf
|
||||
fi
|
||||
echo UserID milter >> "${D}"/etc/opendkim/opendkim.conf
|
||||
if use berkdb; then
|
||||
echo Statistics /var/lib/opendkim/stats.dat >> \
|
||||
"${D}"/etc/opendkim/opendkim.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
use static-libs || find "${D}" -name "*.la" -delete
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSION} ]]; then
|
||||
elog "If you want to sign your mail messages and need some help"
|
||||
elog "please run:"
|
||||
elog " emerge --config ${CATEGORY}/${PN}"
|
||||
elog "It will help you create your key and give you hints on how"
|
||||
elog "to configure your DNS and MTA."
|
||||
|
||||
ewarn "Make sure your MTA has r/w access to the socket file."
|
||||
ewarn "This can be done either by setting UMask to 002 and adding MTA's user"
|
||||
ewarn "to milter group or you can simply set UMask to 000."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
local selector keysize pubkey
|
||||
|
||||
read -p "Enter the selector name (default ${HOSTNAME}): " selector
|
||||
[[ -n "${selector}" ]] || selector=${HOSTNAME}
|
||||
if [[ -z "${selector}" ]]; then
|
||||
eerror "Oddly enough, you don't have a HOSTNAME."
|
||||
return 1
|
||||
fi
|
||||
if [[ -f "${ROOT}"etc/opendkim/${selector}.private ]]; then
|
||||
ewarn "The private key for this selector already exists."
|
||||
else
|
||||
keysize=1024
|
||||
# generate the private and public keys
|
||||
opendkim-genkey -b ${keysize} -D "${ROOT}"etc/opendkim/ \
|
||||
-s ${selector} -d '(your domain)' && \
|
||||
chown milter:milter \
|
||||
"${ROOT}"etc/opendkim/"${selector}".private || \
|
||||
{ eerror "Failed to create private and public keys." ; return 1; }
|
||||
chmod go-r "${ROOT}"etc/opendkim/"${selector}".private
|
||||
fi
|
||||
|
||||
# opendkim selector configuration
|
||||
echo
|
||||
einfo "Make sure you have the following settings in your /etc/opendkim/opendkim.conf:"
|
||||
einfo " Keyfile /etc/opendkim/${selector}.private"
|
||||
einfo " Selector ${selector}"
|
||||
|
||||
# MTA configuration
|
||||
echo
|
||||
einfo "If you are using Postfix, add following lines to your main.cf:"
|
||||
einfo " smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
|
||||
einfo " non_smtpd_milters = unix:/var/run/opendkim/opendkim.sock"
|
||||
einfo " and read http://www.postfix.org/MILTER_README.html"
|
||||
|
||||
# DNS configuration
|
||||
einfo "After you configured your MTA, publish your key by adding this TXT record to your domain:"
|
||||
cat "${ROOT}"etc/opendkim/${selector}.txt
|
||||
einfo "t=y signifies you only test the DKIM on your domain. See following page for the complete list of tags:"
|
||||
einfo " http://www.dkim.org/specs/rfc4871-dkimbase.html#key-text"
|
||||
einfo
|
||||
einfo "Also look at the ADSP http://tools.ietf.org/html/rfc5617"
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST photopc-3.05.tar.gz 122059 SHA256 d8b1f6a7e1b497ad77dff83592e791ffa0afc12cd374f2f0856d35eddeac5535 SHA512 17cc500e1365ccb9bb17f17578946f5a90ccc7231ba8afe95c9ebb37be04b7160dc7f5745be75ad1b581fbd80151d23e433e0c00afec40e3eee83659a7670013 WHIRLPOOL a7dc0318096117eaa3ee8a6a4814561a2d58216539162285e7be7a2fe64f3378fec1653dcf881afeb1ccb2112f31329ca3622db50742750c676c4f12a710cff2
|
||||
DIST photopc-3.06.tar.gz 191170 SHA256 51637352c094302a6407f603b2a287536d3f4a163a635a62c29d15ef12a17874
|
||||
DIST photopc-3.07.tar.gz 183668 SHA256 b42824a7cf7ce76e8e8e81345463d25b8dadd16799920da062aa36aa6ed8489c SHA512 2346da12e8276024a33582806898660da74613edd7fe8ee3f707e505197ba6072c31d58a24b540021e60117d81f553360a7efa57924db9cd0a4e428d64c0c1d3 WHIRLPOOL c2867cfc6e46a038cd00c3ac391e3dac0d6d927e21f1dc1a7fb34c247fb19707286b4e726d0b27f2bb4e69f960204b9dbf1ffceffd5038266a14e39c5a552626
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/photopc/photopc-3.05.ebuild,v 1.14 2013/01/27 12:41:24 ulm Exp $
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Utility to control digital cameras based on Sierra Imaging firmware"
|
||||
HOMEPAGE="http://photopc.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/photopc/${P}.tar.gz"
|
||||
|
||||
LICENSE="photopc"
|
||||
SLOT="0"
|
||||
KEYWORDS="ppc x86"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
econf || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin photopc epinfo || die "dobin failed"
|
||||
doman photopc.1 epinfo.1
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/photopc/photopc-3.06.ebuild,v 1.2 2013/01/27 12:41:24 ulm Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Utility to control digital cameras based on Sierra Imaging firmware"
|
||||
HOMEPAGE="http://photopc.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/photopc/${P}.tar.gz"
|
||||
|
||||
LICENSE="photopc"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
dobin photopc epinfo || die
|
||||
doman photopc.1 epinfo.1 || die
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST libcdr-0.0.10.tar.xz 560092 SHA256 8d704bb391ecbcd171686ef6437d99e42f8b556e694d57581b3424fff8d037e4 SHA512 22d0f9e3ba88b284adbeccdb1d696db027ed58fd06d278489edc2f052ee8127cf9615554d21455940e9d6ccf69e0c0f5e0ba3d01fe373e61f07bf28c633eacd5 WHIRLPOOL 5955b6713dee9846e09bb9cef124c91b708aaecabea95839604f112556a13efb06cbf8707c236bc67d9e195ad75a28677614495e16d37ff67daa856f854acd19
|
||||
DIST libcdr-0.0.11.tar.xz 561868 SHA256 b238320359f6a919e409b8cbd3faafd9822bbd09863f89aa6af0403ef3f9a2af SHA512 13ce288f88af0e24cb27658e8267f35cd1341d92957ac5f289ab096886314541330b1697dedcfd1cfdd4997e8eb5ac9740fce1809b49fefe7cc3c425caec7b6e WHIRLPOOL b82c2fe7b84fb47f89c1286f52a73ee92a59521c1d8cf244ca1c98629f88976af4224e419079f6b4589294f0162abeb8c641fe65d26425eb4cdd27f95f2106cc
|
||||
DIST libcdr-0.0.9.tar.xz 576088 SHA256 33a134b6474f5fe2cca797afb50a84f9f2cd247487fa3610a5e0b6530e4e0ded SHA512 055e67bd0d16d9575349b5afe91f8dc78821ca7a27873e699afce96229fdcf8174c21e4df2d16ed6ce558972ab6b60b665004e0e60bb7bbed2c4d2a4e9a54540 WHIRLPOOL 337bbe93999769b1a836c6c05d0f01f4bb29e06b2563959e5ee720fefc7eec4221c7e7f59e7ef10b39130368c904a009e667afa6724672477e175a431c27bf05
|
||||
|
@ -1 +1,2 @@
|
||||
DIST phonon-backend-gstreamer-4.6.2.tar.xz 71672 SHA256 d563a8d04e59203f5a5f8cae7de78ca0206057691e264cff813e2d34bc982516 SHA512 55701ff2a8a2bb137e2ffe42b8b95695fe96de34fd2e40438a81487619568bc23963f4cdbe2a6341cffbfdd1eeef86cd1fbb053bc9336cf176b44d250b74b071 WHIRLPOOL 790c50aae82cf97a0fc36bcbdfb0ddd00a424701a32b2f67ad5c6fadccc8ebc6ae5482aa8f2abd5f30b43771f79573c76278b70c6250503293f8dcc1909d7639
|
||||
DIST phonon-backend-gstreamer-4.6.3.tar.xz 72364 SHA256 55e273f113e309f2fc3f316baf4b220562cc8fb37b25193ac257ff1eae7aaf58 SHA512 819b4ac7b2193f4d32f160ffb1fb22f702e66ed9de3d6bdf818e238dfcdf88fbf974abc85f9d65c5da589bf413a525a1cd8131097b49354ebc255e90a813dbbc WHIRLPOOL 4b0fa8d99776bee3876c59d97af5143adc4bbe9ed3abb0b206d6dc7df7d728e24c389feee2ea9511524320a2195c834a4ae2a96d897562336c1310429d8e745e
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/phonon-gstreamer/phonon-gstreamer-4.6.3.ebuild,v 1.1 2013/03/01 15:06:11 maksbotan Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
[[ ${PV} == *9999 ]] && git_eclass="git-2"
|
||||
EGIT_REPO_URI="git://anongit.kde.org/${PN}"
|
||||
|
||||
MY_PN="phonon-backend-gstreamer"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
inherit cmake-utils ${git_eclass}
|
||||
|
||||
DESCRIPTION="Phonon GStreamer backend"
|
||||
HOMEPAGE="https://projects.kde.org/projects/kdesupport/phonon/phonon-gstreamer"
|
||||
[[ ${PV} == *9999 ]] || SRC_URI="mirror://kde/stable/phonon/${MY_PN}/${PV}/src/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos"
|
||||
fi
|
||||
SLOT="0"
|
||||
IUSE="alsa debug +network"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/gstreamer:0.10
|
||||
media-plugins/gst-plugins-meta:0.10[alsa?,ogg,vorbis]
|
||||
>=media-libs/phonon-4.6.0
|
||||
>=x11-libs/qt-core-4.6.0:4[glib]
|
||||
>=x11-libs/qt-gui-4.6.0:4[glib]
|
||||
>=x11-libs/qt-opengl-4.6.0:4
|
||||
virtual/opengl
|
||||
network? ( media-plugins/gst-plugins-soup:0.10 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/automoc-0.9.87
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_with alsa)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST wxsvg-1.1.6.tar.bz2 654692 SHA256 714b8c9a5b5b0a1279f635d191c92b353a3c4635b636c7f0dee7bf6dac9fd1d1 SHA512 dad4969a70737daabcf9c551ef0c000171cb5df88d9fb89571bee9ca796e554575158b531d21ae5f26d264fa8b5bde2025e2fc0b66121b06b1239f9862f6d100 WHIRLPOOL 83657839cfe1894a8923bb58a03df79ced9138eb3ca47ab6ced2e0b67dae6587540d405e14c851ea6c8ef0a643021eae7c33627e4e7002ecb3524fb58d4b7ded
|
||||
DIST wxsvg-1.1.13.tar.bz2 669378 SHA256 ebaecb322bb7fad97a3cd686bed9827b00afe84063cf2784a7e19891dabd805e SHA512 6c8dddbb274d1d9cd32fdec1c4ac6f73d3497fd2a29ecbe2d6640c2a65a290940faa92fba954c3990b32f713dc89de74e31484263bbd9c2718dc436ca19d2397 WHIRLPOOL 643aa93161028436c30014cb3a2e36cfab53b5f9341d1e21c129eab6e86b756150dc491cc4cf2be0ef6ff956eb7a5ff5c67f8ee1d26879b228e8af18459e9601
|
||||
DIST wxsvg-1.1.9.tar.bz2 670397 SHA256 ab3254d86eeec4775fb098c52078bae964b674441a848a1f8b1c47e018b4b5d9 SHA512 36427e85f086aa36d6d3196da86efcc5dac25e82fbdd22a44acba2d05c28c9ec6dfd5151065a5315118ff869a85a1a2dcfc06cd6d291609f4a6d02aecadf06f3 WHIRLPOOL b28a04af996a5d8cc5eefe59b16985bc11e1ad86fd5ec8324fb98352800ad6ebed831d20215a0175444af02c76bf3ee41b5de7cc638d5320f1a00770cdd4d092
|
||||
|
@ -1,13 +0,0 @@
|
||||
Include mathematics.h for av_rescale().
|
||||
https://bugs.gentoo.org/384281
|
||||
|
||||
--- a/src/mediadec_ffmpeg.cpp
|
||||
+++ b/src/mediadec_ffmpeg.cpp
|
||||
@@ -29,6 +29,7 @@ extern "C" {
|
||||
#include <swscale.h>
|
||||
#else
|
||||
#include <libavformat/avformat.h>
|
||||
+#include <libavutil/mathematics.h>
|
||||
#include <libswscale/swscale.h>
|
||||
#endif
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST DVDStyler-2.1.tar.bz2 3832722 SHA256 2d2d237a5991b94147a5ed09323244004d617926fd26bf27f5c179bad62ec3cd SHA512 32d84e00cbc734fbd3af3feb75f51e63c9cb27e8f3e4a934d5739af4fa79c27d71adf7a9dc22a6de9536c826b98d255683aa604798cdc985400c6f5150a6c9d6 WHIRLPOOL aeb6918e83b158fb103b56eb686660a8b4c0c9f42ad502b48b02b65506d68d673e285b7c5fa9098b3f3298d2dc21b14bfbb8a0bf25c79110fbb9c84c49cc99fa
|
||||
DIST DVDStyler-2.3.4.tar.bz2 4787323 SHA256 658f8da4e2b4aa71b39c85cc29250b0e841dee97158cc698075478f592b471b4 SHA512 4bb0f3d1963f0b507a76b6c3c85fc25904f707477bbb53a52f0e0614b1bd4297bd8bf8ec0482483e58af373b4aa58155db561cf781e9cfef21b89742e09f98ae WHIRLPOOL 672940d7a80cf88694ebe2753532c034bbdaa418fe35dd554e3002ff2b560545380ed59e61cb3e0f069e8f5c7fdaf972601410bec09ae2a80d7665e6630c5dce
|
||||
DIST DVDStyler-2.4.1.tar.bz2 5421164 SHA256 800dfa15f1deaa17cfc860efbb176bc53998c20c390d9b9fbb9e699c637be153 SHA512 4d886df3e94813365cdfa30b6b9d6163beacf2c0198ec46ce1e67c949c215ad502a3b8c0edb2d7292b3411ec5340035452f2ba6b0fe6ffb8883b077c322d1667 WHIRLPOOL a5bd5286a1b9e3cca590cdef6a50a9ef7c9ac99c33570c2878978472b0bf546a30fe6304aea9b29b1e00b598ae8716282839e3d3323c3685e9ba9535b3699d74
|
||||
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/dvdstyler/dvdstyler-2.1.ebuild,v 1.5 2012/12/11 16:45:35 axs Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_P=${P/dvds/DVDS}
|
||||
WX_GTK_VER=2.8
|
||||
|
||||
inherit wxwidgets
|
||||
|
||||
DESCRIPTION="A cross-platform free DVD authoring application"
|
||||
HOMEPAGE="http://www.dvdstyler.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug gnome kernel_linux"
|
||||
|
||||
COMMON_DEPEND=">=app-cdr/dvd+rw-tools-7.1
|
||||
>=media-libs/libexif-0.6.16
|
||||
>=media-libs/wxsvg-1.1.5
|
||||
>=media-video/dvdauthor-0.7.0
|
||||
>=media-video/xine-ui-0.99.1
|
||||
virtual/cdrtools
|
||||
>=virtual/ffmpeg-0.6.90[encode]
|
||||
virtual/jpeg
|
||||
x11-libs/wxGTK:2.8[gstreamer,X]
|
||||
gnome? ( >=gnome-base/libgnomeui-2 )
|
||||
kernel_linux? ( virtual/udev )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=app-cdr/dvdisaster-0.72.2"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/zip
|
||||
app-text/xmlto
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
use gnome || sed -i -e '/PKG_CONFIG/s:libgnomeui-2.0:dIsAbLeAuToMaGiC&:' configure
|
||||
|
||||
# rmdir: failed to remove `tempfoobar': Directory not empty
|
||||
sed -i -e '/rmdir "$$t"/d' docs/Makefile.in || die
|
||||
|
||||
sed -i -e 's:@LIBS@:& -ljpeg:' wxVillaLib/Makefile.in || die #367863
|
||||
|
||||
if has_version ">=media-video/ffmpeg-0.9"; then
|
||||
sed -i -e '/^#i/s:vsink_buffer:buffersink:' src/mediatrc_ffmpeg.cpp || die #395793
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
$(use_enable debug) \
|
||||
--with-wx-config=${WX_CONFIG}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -f "${ED}"usr/share/doc/${PF}/{COPYING*,INSTALL*}
|
||||
}
|
@ -1,5 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>video</herd>
|
||||
<herd>video</herd>
|
||||
<maintainer>
|
||||
<email>media-video@gentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='deprecated'>Use the old libgnomeui-2 library</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1 @@
|
||||
Fri, 01 Mar 2013 04:06:54 +0000
|
||||
Fri, 01 Mar 2013 16:36:53 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 01 Mar 2013 04:06:54 +0000
|
||||
Fri, 01 Mar 2013 16:36:53 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue