parent
197f820d67
commit
3e1fdc249a
@ -0,0 +1,177 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sudo/sudo-1.8.4_p2.ebuild,v 1.1 2012/02/29 16:25:35 flameeyes Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils pam multilib libtool
|
||||
|
||||
MY_P=${P/_/}
|
||||
MY_P=${MY_P/beta/b}
|
||||
|
||||
uri_prefix=
|
||||
case ${P} in
|
||||
*_beta*|*_rc*) uri_prefix=beta/ ;;
|
||||
esac
|
||||
|
||||
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||
HOMEPAGE="http://www.sudo.ws/"
|
||||
SRC_URI="http://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
|
||||
|
||||
# Basic license is ISC-style as-is, some files are released under
|
||||
# 3-clause BSD license
|
||||
LICENSE="as-is BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="ldap nls pam offensive selinux skey"
|
||||
|
||||
DEPEND="pam? ( virtual/pam )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||
ldap? (
|
||||
>=net-nds/openldap-2.1.30-r1
|
||||
dev-libs/cyrus-sasl
|
||||
)
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}
|
||||
selinux? ( sec-policy/selinux-sudo )
|
||||
ldap? ( dev-lang/perl )
|
||||
pam? ( sys-auth/pambase )
|
||||
>=app-misc/editor-wrapper-3
|
||||
virtual/editor
|
||||
virtual/mta"
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/bison"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
REQUIRED_USE="pam? ( !skey ) skey? ( !pam )"
|
||||
|
||||
MAKEOPTS+=" SAMPLES="
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
set_rootpath() {
|
||||
# FIXME: secure_path is a compile time setting. using ROOTPATH
|
||||
# is not perfect, env-update may invalidate this, but until it
|
||||
# is available as a sudoers setting this will have to do.
|
||||
einfo "Setting secure_path ..."
|
||||
|
||||
# first extract the default ROOTPATH from build env
|
||||
ROOTPATH=$(unset ROOTPATH; . /etc/profile.env; echo "${ROOTPATH}")
|
||||
if [[ -z ${ROOTPATH} ]] ; then
|
||||
ewarn " Failed to find ROOTPATH, please report this"
|
||||
fi
|
||||
|
||||
# then remove duplicate path entries
|
||||
cleanpath() {
|
||||
local newpath thisp IFS=:
|
||||
for thisp in $1 ; do
|
||||
if [[ :${newpath}: != *:${thisp}:* ]] ; then
|
||||
newpath+=:$thisp
|
||||
else
|
||||
einfo " Duplicate entry ${thisp} removed..."
|
||||
fi
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${ROOTPATH:+:${ROOTPATH}}
|
||||
|
||||
# finally, strip gcc paths #136027
|
||||
rmpath() {
|
||||
local e newpath thisp IFS=:
|
||||
for thisp in ${ROOTPATH} ; do
|
||||
for e ; do [[ $thisp == $e ]] && continue 2 ; done
|
||||
newpath+=:$thisp
|
||||
done
|
||||
ROOTPATH=${newpath#:}
|
||||
}
|
||||
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||
|
||||
einfo "... done"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local ROOTPATH
|
||||
set_rootpath
|
||||
|
||||
# audit: somebody got to explain me how I can test this before I
|
||||
# enable it.. - Diego
|
||||
# plugindir: autoconf code is crappy and does not delay evaluation
|
||||
# until `make` time, so we have to use a full path here rather than
|
||||
# basing off other values.
|
||||
econf \
|
||||
--enable-zlib=system \
|
||||
--with-secure-path="${ROOTPATH}" \
|
||||
--with-editor=/usr/libexec/editor \
|
||||
--with-env-editor \
|
||||
$(use_with offensive insults) \
|
||||
$(use_with offensive all-insults) \
|
||||
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo) \
|
||||
$(use_with ldap) \
|
||||
$(use_enable nls) \
|
||||
$(use_with pam) \
|
||||
$(use_with skey) \
|
||||
$(use_with selinux) \
|
||||
--without-opie \
|
||||
--without-linux-audit \
|
||||
--with-timedir=/var/db/sudo \
|
||||
--with-plugindir=/usr/$(get_libdir)/sudo \
|
||||
--docdir=/usr/share/doc/${PF}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
if use ldap ; then
|
||||
dodoc README.LDAP doc/schema.OpenLDAP
|
||||
dosbin plugins/sudoers/sudoers2ldif
|
||||
|
||||
cat <<-EOF > "${T}"/ldap.conf.sudo
|
||||
# See ldap.conf(5) and README.LDAP for details
|
||||
# This file should only be readable by root
|
||||
|
||||
# supported directives: host, port, ssl, ldap_version
|
||||
# uri, binddn, bindpw, sudoers_base, sudoers_debug
|
||||
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key
|
||||
EOF
|
||||
|
||||
insinto /etc
|
||||
doins "${T}"/ldap.conf.sudo
|
||||
fperms 0440 /etc/ldap.conf.sudo
|
||||
fi
|
||||
|
||||
pamd_mimic system-auth sudo auth account session
|
||||
|
||||
keepdir /var/db/sudo
|
||||
fperms 0700 /var/db/sudo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use ldap ; then
|
||||
ewarn
|
||||
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
|
||||
ewarn
|
||||
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
|
||||
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||
ewarn "configured in /etc/nsswitch.conf."
|
||||
ewarn
|
||||
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
|
||||
ewarn " sudoers: ldap files"
|
||||
ewarn
|
||||
fi
|
||||
fi
|
||||
|
||||
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||
elog "password program from the following list. Starred packages will"
|
||||
elog "automatically register for the use with sudo (but will not force"
|
||||
elog "the -A option):"
|
||||
elog ""
|
||||
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||
elog " net-misc/x11-ssh-askpass"
|
||||
elog ""
|
||||
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||
elog "variable to the program you want to use."
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST highlight-3.3.tar.bz2 740651 RMD160 9a020443e70c0c19215a3bfa14ea78493df98a24 SHA1 338fdecc1b30002a8d6624ace76fe2daba05ced4 SHA256 96c415d62488c6522e9933ecdfce447eb8eecd3b88a1064f42908c936ea02d87
|
||||
DIST highlight-3.7.tar.bz2 653672 RMD160 dbccbd576494cd2c91e28b20cdfd675f4c8e731e SHA1 d25dbf22577f8c340b92bb5c511898138f7cd6e5 SHA256 8828930af8058723cafe04b07c5aa5cc9a36e4174f6d7c2c9403700ac00bb5bd
|
||||
DIST highlight-3.8.tar.bz2 655164 RMD160 190c6bdf3574af0f08d491143ec85df2c54b3cae SHA1 007a008f1846485e86ad9347f98f69a22afeb718 SHA256 5aac5277a94863a05cb89624002b5467bc68ad1a6ffe2d4a2c0317093b635499
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/highlight/highlight-3.8.ebuild,v 1.1 2012/03/01 02:57:08 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit toolchain-funcs qt4-r2
|
||||
|
||||
DESCRIPTION="converts source code to formatted text ((X)HTML, RTF, (La)TeX, XSL-FO, XML) with syntax highlight"
|
||||
HOMEPAGE="http://www.andre-simon.de/"
|
||||
SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="examples qt4"
|
||||
|
||||
DEPEND="dev-lang/lua
|
||||
dev-libs/boost
|
||||
qt4? ( x11-libs/qt-gui:4
|
||||
x11-libs/qt-core:4 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
myhlopts=(
|
||||
"CXX=$(tc-getCXX)"
|
||||
"AR=$(tc-getAR)"
|
||||
"LDFLAGS=${LDFLAGS}"
|
||||
"CFLAGS=${CXXFLAGS}"
|
||||
"DESTDIR=${D}"
|
||||
"PREFIX=${EPREFIX}/usr"
|
||||
"LUA_CFLAGS="
|
||||
"HL_CONFIG_DIR=${EPREFIX}/etc/highlight/"
|
||||
"HL_DATA_DIR=${EPREFIX}/usr/share/highlight/"
|
||||
"doc_dir=${EPREFIX}/usr/share/doc/${PF}/"
|
||||
"conf_dir=${EPREFIX}/etc/highlight/"
|
||||
)
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/LSB_DOC_DIR/s:doc/${PN}:doc/${PF}:" \
|
||||
src/core/datadir.cpp || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f makefile "${myhlopts[@]}"
|
||||
if use qt4 ; then
|
||||
cd src/gui-qt
|
||||
eqmake4 'DEFINES+=DATA_DIR=\\\"'"${EPREFIX}"'/usr/share/${PN}/\\\" CONFIG_DIR=\\\"'"${EPREFIX}"'/etc/${PN}/\\\" DOC_DIR=\\\"'"${EPREFIX}"'/usr/share/doc/${PF}/\\\"'
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -f makefile "${myhlopts[@]}" install
|
||||
use qt4 && emake -f makefile "${myhlopts[@]}" install-gui
|
||||
|
||||
if use examples ; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
else
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
Stop using render_to_pixbuf, removed from Poppler 0.18.
|
||||
|
||||
Instead draw to a gdk Pixmap, then get a Pixbuf from that.
|
||||
|
||||
A more complete fix (dropping Pixmap/Pixbuf usage) is in upstream svn,
|
||||
but that is too large a change for us to take.
|
||||
|
||||
Based on a patch from Rafał Mużyło in gentoo bug #390607.
|
||||
--- pdfshuffler
|
||||
+++ pdfshuffler
|
||||
@@ -982,9 +982,15 @@
|
||||
pix_w, pix_h = page.get_size()
|
||||
pix_w = int(pix_w * self.scale)
|
||||
pix_h = int(pix_h * self.scale)
|
||||
- thumbnail = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, False,
|
||||
- 8, pix_w , pix_h)
|
||||
- page.render_to_pixbuf(0,0,pix_w,pix_h,self.scale,0,thumbnail)
|
||||
+ pixmap = gtk.gdk.Pixmap(None, pix_w, pix_h, 24)
|
||||
+ cr = pixmap.cairo_create()
|
||||
+ # The pixmap data is not initialized, so paint it white first:
|
||||
+ cr.set_source_rgb(1, 1, 1)
|
||||
+ cr.paint()
|
||||
+ cr.scale(self.scale, self.scale)
|
||||
+ page.render(cr)
|
||||
+ thumbnail = gtk.gdk.pixbuf_get_from_drawable(
|
||||
+ None, pixmap, gtk.gdk.colormap_get_system(), 0, 0, 0, 0, pix_w, pix_h)
|
||||
rotation = (-rotation) % 360
|
||||
rotation = ((rotation + 45) / 90) * 90
|
||||
thumbnail = thumbnail.rotate_simple(rotation)
|
||||
@@ -1003,11 +1009,13 @@
|
||||
pix_w = thumbnail.get_width()
|
||||
pix_h = thumbnail.get_height()
|
||||
except:
|
||||
+ import traceback
|
||||
+ traceback.print_exc()
|
||||
pix_w = self.default_width
|
||||
pix_h = pix_w
|
||||
thumbnail = gtk.gdk.Pixbuf(gtk.gdk.COLORSPACE_RGB, False,
|
||||
8, pix_w, pix_h)
|
||||
- pixbuf.fill(0xffffffff)
|
||||
+ thumbnail.fill(0xffffffff)
|
||||
|
||||
#add border
|
||||
thickness = 3
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/pdfshuffler/pdfshuffler-0.5.1-r1.ebuild,v 1.1 2012/02/29 23:54:20 marienz Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit distutils eutils fdo-mime gnome2-utils
|
||||
|
||||
DESCRIPTION="PDF-Shuffler is GUI app that can merge or split pdfs and rotate, crop and rearrange their pages."
|
||||
HOMEPAGE="http://sourceforge.net/projects/pdfshuffler/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/pyPdf
|
||||
dev-python/python-poppler"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS="ChangeLog README TODO AUTHORS"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
|
||||
epatch "${FILESDIR}/pdfshuffler-poppler-0.18.patch"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
distutils_pkg_postrm
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgadmin3/pgadmin3-1.14.2.ebuild,v 1.1 2012/03/01 02:52:22 titanofold Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
|
||||
inherit multilib versionator wxwidgets
|
||||
|
||||
DESCRIPTION="wxWidgets GUI for PostgreSQL."
|
||||
HOMEPAGE="http://www.pgadmin.org/"
|
||||
SRC_URI="mirror://postgresql/${PN}/release/v${PV}/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="POSTGRESQL"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||
SLOT="0"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="x11-libs/wxGTK:2.8[X,debug=]
|
||||
>=dev-db/postgresql-base-8.4.0
|
||||
>=dev-libs/libxml2-2.6.18
|
||||
>=dev-libs/libxslt-1.1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
local pgslot=$(postgresql-config show)
|
||||
|
||||
if [[ ${pgslot//.} < 84 ]] ; then
|
||||
eerror "PostgreSQL slot must be set to 8.4 or higher."
|
||||
eerror " postgresql-config set 8.4"
|
||||
die "PostgreSQL slot is not set to 8.4 or higher."
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --with-wx-version=2.8 \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
newicon "${S}/pgadmin/include/images/pgAdmin3.png" ${PN}.png
|
||||
|
||||
# icon location for the desktop file provided in pkg folder
|
||||
insinto /usr/share/pgadmin3
|
||||
doins "${S}/pgadmin/include/images/pgAdmin3.png"
|
||||
|
||||
domenu "${S}/pkg/pgadmin3.desktop"
|
||||
|
||||
# Fixing world-writable files
|
||||
fperms -R go-w /usr/share
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST rremove-1.0.5.tar.gz 304916 RMD160 3c4cccf6c31173d5792cbcf475589ce59e7d5ce4 SHA1 048e87a098bb0ee608ba4bbd18b02515be89b851 SHA256 e248018a6160866e53065c3da2c27d73e7cf83a43aea7182798b14bad7c97727
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>radhermit@gentoo.org</email>
|
||||
<name>Tim Harder</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/rremove/rremove-1.0.5.ebuild,v 1.1 2012/03/01 06:59:25 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="A simple library to recursively delete non-empty directories"
|
||||
HOMEPAGE="https://frigidcode.com/code/rremove/"
|
||||
SRC_URI="https://frigidcode.com/code/rremove/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/boto/boto-2.2.2-r1.ebuild,v 1.1 2012/02/29 16:27:43 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 3.*"
|
||||
DISTUTILS_SRC_TEST="setup.py"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="Amazon Web Services API"
|
||||
HOMEPAGE="https://github.com/boto/boto http://pypi.python.org/pypi/boto"
|
||||
SRC_URI="mirror://github/boto/boto/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools
|
||||
test? ( dev-python/m2crypto )"
|
||||
RDEPEND="dev-python/m2crypto"
|
||||
|
||||
# Requires Amazon Web Services keys to pass some tests
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
epatch "${FILESDIR}"/${PN}-2.2.2-no-install-tests.patch #404979
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
https://bugs.gentoo.org/404979
|
||||
https://github.com/boto/boto/issues/597
|
||||
https://github.com/boto/boto/commit/f797759a2df235475cd29e67bddec51e7e8d6336
|
||||
|
||||
commit f797759a2df235475cd29e67bddec51e7e8d6336
|
||||
Author: Mitch Garnaat <mitch@garnaat.com>
|
||||
Date: Tue Feb 28 05:52:12 2012 -0800
|
||||
|
||||
Tests need to be in the source distro but shouldn't be installed. Also, moved some tests scattered throughout the distro to the tests directory. Fixes #597.
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 3ede0a3..cc093da 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -59,11 +59,7 @@ setup(name = "boto",
|
||||
"boto.mturk", "boto.mturk.test", "boto.pyami",
|
||||
"boto.pyami.installers", "boto.pyami.installers.ubuntu",
|
||||
"boto.mashups", "boto.contrib", "boto.manage",
|
||||
- "tests", "tests.autoscale", "tests.cloudfront",
|
||||
- "tests.devpay", "tests.db", "tests.dynamodb",
|
||||
- "tests.ec2", "tests.ec2.cloudwatch", "tests.ec2.elb",
|
||||
- "tests.s3", "tests.sdb", "tests.sqs", "tests.sts",
|
||||
- "tests.utils", "boto.services", "boto.cloudfront",
|
||||
+ "boto.services", "boto.cloudfront",
|
||||
"boto.roboto", "boto.rds", "boto.vpc", "boto.fps",
|
||||
"boto.fps.test", "boto.emr", "boto.emr.tests", "boto.sns",
|
||||
"boto.ecs", "boto.iam", "boto.route53", "boto.ses",
|
@ -0,0 +1,27 @@
|
||||
From c53788657c0cfbd038325e690e7097e31f5e8430 Mon Sep 17 00:00:00 2001
|
||||
From: Simon McVittie <simon.mcvittie@collabora.co.uk>
|
||||
Date: Wed, 29 Feb 2012 13:35:24 +0000
|
||||
Subject: Put sockets for the regression tests in /tmp, not ${builddir}
|
||||
|
||||
Some automated build systems (naming no Portage) have really long build
|
||||
directories, which can cause dbus-python to hit the length limit for Unix
|
||||
sockets' names.
|
||||
|
||||
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46747
|
||||
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
|
||||
---
|
||||
diff --git a/test/tmp-session-bus.conf.in b/test/tmp-session-bus.conf.in
|
||||
index 9d172ff..3a2c756 100644
|
||||
--- a/test/tmp-session-bus.conf.in
|
||||
+++ b/test/tmp-session-bus.conf.in
|
||||
@@ -4,7 +4,7 @@
|
||||
<busconfig>
|
||||
<!-- Our well-known bus type, don't change this -->
|
||||
<type>session</type>
|
||||
- <listen>unix:tmpdir=@abs_top_builddir@/test</listen>
|
||||
+ <listen>unix:tmpdir=/tmp</listen>
|
||||
|
||||
<servicedir>@abs_top_builddir@/test</servicedir>
|
||||
|
||||
--
|
||||
cgit v0.9.0.2-2-gbebe
|
@ -1 +1,2 @@
|
||||
DIST github2-0.6.0.tar.bz2 136530 RMD160 5ea570452d9d29dff4a6ec2d6f08abaa2259a89d SHA1 8d53b36b28420b42ba785c4adb26065a472d2f78 SHA256 17c23dc65f2c41aa0985da9cb3a770739ac9419ab9afee5cc579bacce1d5ca7f
|
||||
DIST github2-0.6.1.tar.bz2 138590 RMD160 dc12353e14dee921e2f6240e65f8905d72ca7644 SHA1 a0ac3098c95e0403c369ec08ba91ce3f64a2d1c9 SHA256 03688b8865521f755d16b9fb21d12fba0cd4691e42a44eacc3f00167fcb6c9e1
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/github2/github2-0.6.1.ebuild,v 1.1 2012/03/01 06:27:08 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
# Restricted until the third-party socks module is ported to Python 3
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Github API library"
|
||||
HOMEPAGE="https://github.com/ask/python-github2 http://pypi.python.org/pypi/github2/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/httplib2-0.7.0
|
||||
dev-python/python-dateutil:python-2"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/coverage )"
|
@ -0,0 +1,11 @@
|
||||
--- Makefile.in
|
||||
+++ Makefile.in
|
||||
@@ -413,7 +413,7 @@
|
||||
expect-shared-lib-file :: $(EXP_SHARED_LIB_FILE)
|
||||
$(EXP_SHARED_LIB_FILE): $(OFILES)
|
||||
-rm -f $(EXP_SHARED_LIB_FILE)
|
||||
- @TCL_SHLIB_LD@ -o $(EXP_SHARED_LIB_FILE) $(SHARED_OFILES) @EXP_LD_SEARCH_FLAGS@ @EXP_SHLIB_LD_LIBS@
|
||||
+ @TCL_SHLIB_LD@ -o $(EXP_SHARED_LIB_FILE) $(SHARED_OFILES) @EXP_LD_SEARCH_FLAGS@ @EXP_SHLIB_LD_LIBS@ -install_name $(tcl_libdir)/$(EXP_SHARED_LIB_FILE)
|
||||
|
||||
.PHONY: install-info install info
|
||||
install-info:
|
@ -1 +1,2 @@
|
||||
DIST archdiff-1.1.4.tar.gz 96954 RMD160 3664a506150dfac61bbfead2b295c85b9942c360 SHA1 f4bdbac4eb2433278b5498def3e40d70d9043db9 SHA256 030ae8b65f51239d2b6849758d3aac27e83a63abc3fecfe8809761ed6dedbed6
|
||||
DIST archdiff-1.1.6.tar.gz 96743 RMD160 f34f1fcb4fee3d2ba0d597dceb4ad53c3e8d33b4 SHA1 61cedbc67e1a24b0eb88db39766a6664858cf033 SHA256 0167280353a1bc4fb94fdbfe5faead7ca62daeaa612e532d2a9968f2e0a2a0c2
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/archdiff/archdiff-1.1.6.ebuild,v 1.1 2012/03/01 07:02:04 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="Utility to view the differences between two source code archives"
|
||||
HOMEPAGE="https://frigidcode.com/code/archdiff/"
|
||||
SRC_URI="https://frigidcode.com/code/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+bzip2 +lzma +gzip"
|
||||
|
||||
DEPEND="app-arch/libarchive[bzip2?,lzma?]
|
||||
gzip? ( app-arch/libarchive[zlib] )
|
||||
dev-libs/rremove"
|
||||
RDEPEND="${DEPEND}
|
||||
app-misc/colordiff"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable gzip) \
|
||||
$(use_enable lzma)
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST activity-log-manager-0.9.0.1.tar.gz 424851 RMD160 164fe769d172d82fc179933591c1ce4756572bbe SHA1 2dad79ddd6d9932bdbd6fa7f91928507c23191d3 SHA256 7c2c84ae663f540d12ac7407337b79bfef4547b3eaa118fb227b21819a8762df
|
||||
DIST activity-log-manager-0.9.1.tar.gz 427586 RMD160 84ceb27ed0798ce367bf837b9ce3f08783f1c5ac SHA1 d7548e58c01781d63bb17e0463ab15e0b9d17c14 SHA256 28ecf99c9622331e8194bc8f6df08bd173768ed399ca900bfbdcddd8e77944d7
|
||||
DIST activity-log-manager-0.9.2.tar.gz 460793 RMD160 76b6f32eafcb1ebb258d190d413af66cd393fe04 SHA1 165a503db7fab10f85615aef0fb7002a51f2df67 SHA256 c29fdc8c950c27a057b75bd419134d9ac3863cd609f79fa417dccdade879c334
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/activity-log-manager/activity-log-manager-0.9.2.ebuild,v 1.1 2012/03/01 07:52:14 jlec Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools gnome2 versionator
|
||||
|
||||
DESCRIPTION="GUI which lets you easily control what gets logged by Zeitgeist"
|
||||
HOMEPAGE="https://launchpad.net/activity-log-manager/"
|
||||
SRC_URI="http://launchpad.net/history-manager/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
VALASLOT="0.10"
|
||||
|
||||
RDEPEND="
|
||||
gnome-extra/zeitgeist
|
||||
x11-libs/gtk+:3
|
||||
dev-libs/libgee:0
|
||||
dev-libs/glib:2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/vala:${VALASLOT}
|
||||
dev-util/intltool
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
#S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="README NEWS INSTALL ChangeLog AUTHORS"
|
||||
# no without possible
|
||||
# G2CONF="${G2CONF}
|
||||
# --without-ccpanel
|
||||
# --without-whoopsie"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-0.9.0.1-gold.patch \
|
||||
"${FILESDIR}"/${PN}-0.9.1-ccpanel.patch
|
||||
sed \
|
||||
-e "/^almdocdir/s:=.*$:= \${prefix}/share/doc/${PF}:g" \
|
||||
-i Makefile.am || die
|
||||
sed \
|
||||
-e 's:-g::g' \
|
||||
-i src/Makefile.am || die
|
||||
eautoreconf
|
||||
export VALAC="$(type -p valac-${VALASLOT})"
|
||||
gnome2_src_prepare
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST imapfilter-2.2.2.tar.bz2 45670 RMD160 c80dfa41af55fd7968f0c018825af4c6ba385397 SHA1 f201d166f5a483a2d8117bf2cbd0678b94e4753d SHA256 b3d56edc443d46ac711c44f286bfd3649483f686155faaa016dfa1f5a576c1f9
|
||||
DIST imapfilter-2.4.2.tar.gz 55284 RMD160 fbe36f3b9fa5065b250ba838967cba350882144c SHA1 9e7031ad8d7d83c268140f73caf92add0e2363c4 SHA256 470a712b52f9937e71c0269d48bc7773b3d7a532c5693881a9eec56da8742e44
|
||||
DIST imapfilter-2.5.1.tar.gz 52351 RMD160 b8b674d4e8b120f386dc2acc5bbeffcb3c6a0fad SHA1 518b8c6187ef4f992fb4ad68c9f4b71bacf5c4cf SHA256 f78d541ec2d65aee99d69d27b5ae9a72716e194caabee24bf13a0d994e81f47b
|
||||
DIST imapfilter-2.5.tar.gz 51896 RMD160 5bdbbc4a77e06134af4a3d9be7a32597019a4e65 SHA1 8c8b87aaa46abe3a35a89c591a899a94a44de82d SHA256 38a5dd5860f1e1d3f5e1fe67c0f1f232b8078a070f38499549d7b2859d10daf7
|
||||
DIST imapfilter-2.5.2.tar.gz 52594 RMD160 e8eeddb4d4e7998e0ee3a188a4f897e80e108c08 SHA1 76a64246f2e17b05ba0d9182644024313dd90e73 SHA256 7b1069decba2002a5840942dff27d7cf3d3245e5f22617026431d3086ae6bc5a
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/imapfilter-2.5.1.ebuild,v 1.1 2012/02/28 02:27:15 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/imapfilter-2.5.2.ebuild,v 1.1 2012/03/01 03:00:18 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/imapfilter/imapfilter-2.5.ebuild,v 1.1 2012/02/24 00:23:19 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="An IMAP mail filtering utility"
|
||||
HOMEPAGE="http://imapfilter.hellug.gr"
|
||||
SRC_URI="https://github.com/downloads/lefcha/imapfilter/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/openssl
|
||||
dev-libs/libpcre
|
||||
>=dev-lang/lua-5.1"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/^PREFIX/s:/local::" \
|
||||
-e "/^MANDIR/s:man:share/man:" \
|
||||
-e "/^CFLAGS/s:CFLAGS =:CFLAGS +=:" \
|
||||
-e "/^CFLAGS/s/-O//" \
|
||||
src/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS NEWS README samples/*
|
||||
doman doc/imapfilter.1 doc/imapfilter_config.5
|
||||
}
|
@ -0,0 +1,144 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/imagemagick/imagemagick-6.7.5.3-r1.ebuild,v 1.1 2012/02/29 22:10:39 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit multilib toolchain-funcs versionator
|
||||
|
||||
MY_P=ImageMagick-$(replace_version_separator 3 '-')
|
||||
|
||||
DESCRIPTION="A collection of tools and libraries for many image formats"
|
||||
HOMEPAGE="http://www.imagemagick.org/"
|
||||
SRC_URI="mirror://${PN}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="imagemagick"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz gs hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib"
|
||||
|
||||
RDEPEND=">=sys-devel/libtool-2.2.6b
|
||||
autotrace? ( >=media-gfx/autotrace-0.31.1 )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
corefonts? ( media-fonts/corefonts )
|
||||
djvu? ( app-text/djvu )
|
||||
fftw? ( sci-libs/fftw:3.0 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
fpx? ( >=media-libs/libfpx-1.3.0-r1 )
|
||||
graphviz? ( >=media-gfx/graphviz-2.6 )
|
||||
gs? ( app-text/ghostscript-gpl )
|
||||
jbig? ( media-libs/jbigkit )
|
||||
jpeg? ( virtual/jpeg )
|
||||
jpeg2k? ( media-libs/jasper )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
lqr? ( >=media-libs/liblqr-0.1.0 )
|
||||
opencl? ( virtual/opencl )
|
||||
openexr? ( media-libs/openexr )
|
||||
pango? ( x11-libs/pango )
|
||||
perl? ( >=dev-lang/perl-5.8.6-r6 )
|
||||
png? ( media-libs/libpng:0 )
|
||||
raw? ( media-gfx/ufraw )
|
||||
svg? ( >=gnome-base/librsvg-2.9.0 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
truetype? (
|
||||
media-libs/freetype:2
|
||||
media-fonts/urw-fonts
|
||||
)
|
||||
webp? ( media-libs/libwebp )
|
||||
wmf? ( >=media-libs/libwmf-0.2.8 )
|
||||
X? (
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
)
|
||||
xml? ( >=dev-libs/libxml2-2.4.10 )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
!media-gfx/graphicsmagick[imagemagick]
|
||||
app-arch/xz-utils
|
||||
dev-util/pkgconfig
|
||||
>=sys-apps/sed-4
|
||||
X? ( x11-proto/xextproto )"
|
||||
|
||||
REQUIRED_USE="corefonts? ( truetype )
|
||||
test? ( corefonts )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
RESTRICT="perl? ( userpriv )"
|
||||
|
||||
DOCS="AUTHORS.txt ChangeLog NEWS.txt README.txt"
|
||||
|
||||
src_configure() {
|
||||
local depth=16
|
||||
use q8 && depth=8
|
||||
use q32 && depth=32
|
||||
use q64 && depth=64
|
||||
|
||||
local openmp=disable
|
||||
if use openmp && tc-has-openmp; then
|
||||
openmp=enable
|
||||
fi
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable hdri) \
|
||||
$(use_enable opencl) \
|
||||
--with-threads \
|
||||
--without-included-ltdl \
|
||||
--with-ltdl-include="${EPREFIX}/usr/include" \
|
||||
--with-ltdl-lib="${EPREFIX}/usr/$(get_libdir)" \
|
||||
--with-modules \
|
||||
--with-quantum-depth=${depth} \
|
||||
$(use_with cxx magick-plus-plus) \
|
||||
$(use_with perl) \
|
||||
--with-perl-options='INSTALLDIRS=vendor' \
|
||||
--with-gs-font-dir="${EPREFIX}/usr/share/fonts/urw-fonts" \
|
||||
$(use_with bzip2 bzlib) \
|
||||
$(use_with X x) \
|
||||
$(use_with zlib) \
|
||||
$(use_with autotrace) \
|
||||
$(use_with gs dps) \
|
||||
$(use_with djvu) \
|
||||
--with-dejavu-font-dir="${EPREFIX}/usr/share/fonts/dejavu" \
|
||||
$(use_with fftw) \
|
||||
$(use_with fpx) \
|
||||
$(use_with fontconfig) \
|
||||
$(use_with truetype freetype) \
|
||||
$(use_with gs gslib) \
|
||||
$(use_with graphviz gvc) \
|
||||
$(use_with jbig) \
|
||||
$(use_with jpeg) \
|
||||
$(use_with jpeg2k jp2) \
|
||||
--without-lcms \
|
||||
$(use_with lcms lcms2) \
|
||||
$(use_with lqr) \
|
||||
$(use_with lzma) \
|
||||
$(use_with openexr) \
|
||||
$(use_with pango) \
|
||||
$(use_with png) \
|
||||
$(use_with svg rsvg) \
|
||||
$(use_with tiff) \
|
||||
$(use_with webp) \
|
||||
$(use_with corefonts windows-font-dir /usr/share/fonts/corefonts) \
|
||||
$(use_with wmf) \
|
||||
$(use_with xml) \
|
||||
--${openmp}-openmp
|
||||
}
|
||||
|
||||
src_test() {
|
||||
has_version media-gfx/imagemagick || emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use perl; then
|
||||
find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
|
||||
find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST xbmc-10.1.tar.gz 130187822 RMD160 a4ddb06b396b8ae437bf30bea5b44396b54ebc5b SHA1 7a9f4e2c18a23d687ecfc744f2e051e4f88ef01a SHA256 3403195b7eb1d076523f2394793b7f050df00743892b031f6fea86b998559d8a
|
||||
DIST xbmc-11.0-Eden_beta3.tar.gz 56614229 RMD160 9c689b32479a7f8c53de2df51d1cf2bb7e1a1158 SHA1 c619d785bcc995363e637c0cf0f3cd4e63efef60 SHA256 30ce58a2f4a2c08b125ce0965675a0dd94ed16c945f4861a3198552f76875024
|
||||
DIST xbmc-11.0-Eden_rc1.tar.gz 59387977 RMD160 08a89619a7a802db27a89905c10dc1e173ee5651 SHA1 673881363afef3401ffbbcf95363f82f9514e04e SHA256 6a3d5caa3e983c3dbc8fa07dad282fc2bce446f72fc17531a90409ad1641ece2
|
||||
|
@ -0,0 +1,28 @@
|
||||
http://trac.xbmc.org/ticket/12735
|
||||
|
||||
From f0e33eefa4b5d46f26811db2f5e943dcd7f2870e Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Thu, 1 Mar 2012 00:04:49 -0500
|
||||
Subject: [PATCH] mark stack as non-executable
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
xbmc/utils/fastmemcpy-arm.S | 5 +++++
|
||||
1 files changed, 5 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/xbmc/utils/fastmemcpy-arm.S b/xbmc/utils/fastmemcpy-arm.S
|
||||
index 0e810a7..3d77c68 100644
|
||||
--- a/xbmc/utils/fastmemcpy-arm.S
|
||||
+++ b/xbmc/utils/fastmemcpy-arm.S
|
||||
@@ -527,3 +527,8 @@ copy_last_3_and_return:
|
||||
|
||||
#endif /* __ARM_ARCH__ < 7 */
|
||||
#endif
|
||||
+
|
||||
+#if defined(__linux__) && defined(__ELF__)
|
||||
+/* we don't need an executable stack */
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
+#endif
|
||||
--
|
||||
1.7.8.4
|
||||
|
@ -0,0 +1,100 @@
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=405761
|
||||
|
||||
https://github.com/richcollins/get-flash-videos/commit/27e0f1d214e291debfd567b1652908d0ef6b79d1#lib/FlashVideo/Site
|
||||
|
||||
--- lib/FlashVideo/Site/Youtube.pm~ 2010-11-30 14:34:17.000000000 +0000
|
||||
+++ lib/FlashVideo/Site/Youtube.pm 2012-02-20 23:56:35.000000000 +0000
|
||||
@@ -26,6 +26,7 @@
|
||||
if($embed_url !~ m!youtube\.com/watch!) {
|
||||
$browser->get($embed_url);
|
||||
if ($browser->response->header('Location') =~ m!/swf/.*video_id=([^&]+)!
|
||||
+ || $browser->content =~ m!\<iframe[^\>]*src="http://www.youtube.com/embed/([^"]+)"!i
|
||||
|| $embed_url =~ m!/v/([-_a-z0-9]+)!i
|
||||
|| $browser->uri =~ m!v%3D([-_a-z0-9]+)!i) {
|
||||
# We ended up on a embedded SWF or other redirect page
|
||||
@@ -48,12 +49,19 @@
|
||||
# If the page contains fmt_url_map, then process this. With this, we
|
||||
# don't require the 't' parameter.
|
||||
if ($browser->content =~ /["']fmt_url_map["']:\s{0,3}(["'][^"']+["'])/) {
|
||||
- debug "Using fmt_url_map method from page ($1)";
|
||||
- return $self->download_fmt_map($prefs, $browser, $title, {}, @{from_json $1});
|
||||
+ my $fmt_map = $1;
|
||||
+ if ($fmt_map !~ /\|/) {
|
||||
+ # $fmt_map is double escaped. We should unescape it here just
|
||||
+ # once. Be careful not to unescape ',' in the URL.
|
||||
+ $fmt_map = uri_unescape($fmt_map);
|
||||
+ }
|
||||
+ debug "Using fmt_url_map method from page ($fmt_map)";
|
||||
+ return $self->download_fmt_map($prefs, $browser, $title, {}, @{from_json $fmt_map});
|
||||
}
|
||||
|
||||
my $video_id;
|
||||
if ($browser->content =~ /(?:var pageVideoId =|(?:CFG_)?VIDEO_ID'?\s*:)\s*'(.+?)'/
|
||||
+ || $browser->content =~ /"video_id": "([^"]+)"/
|
||||
|| $embed_url =~ /v=([^&]+)/) {
|
||||
$video_id = $1;
|
||||
} else {
|
||||
@@ -125,6 +133,9 @@
|
||||
} elsif($info{fmt_url_map}) {
|
||||
debug "Using fmt_url_map method from info";
|
||||
return $self->download_fmt_map($prefs, $browser, $title, \%info, $info{fmt_url_map});
|
||||
+ } elsif($info{url_encoded_fmt_stream_map}) {
|
||||
+ debug "Using url_encoded_fmt_stream_map method from info";
|
||||
+ return $self->download_url_encoded_fmt_stream_map($prefs, $browser, $title, \%info, $info{url_encoded_fmt_stream_map});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -132,6 +143,53 @@
|
||||
return download_get_video($browser, $prefs, $video_id, $title, $t);
|
||||
}
|
||||
|
||||
+sub download_url_encoded_fmt_stream_map {
|
||||
+ my($self, $prefs, $browser, $title, $info, $fmt_map) = @_;
|
||||
+
|
||||
+ my $fmt_url_map = parse_youtube_url_encoded_fmt_stream_map($fmt_map);
|
||||
+
|
||||
+ if (!$title and $browser->uri->as_string =~ m'/user/.*?#') {
|
||||
+ my $video_id = (split /\//, $browser->uri->fragment)[-1];
|
||||
+
|
||||
+ my %info = get_youtube_video_info($browser->clone, $video_id);
|
||||
+
|
||||
+ $title = $info->{title};
|
||||
+ }
|
||||
+
|
||||
+ my $preferred_quality = $prefs->quality->choose(map { $fmt_url_map->{$_->{id}}
|
||||
+ ? { resolution => $_->{resolution}, url => $fmt_url_map->{$_->{id}} }
|
||||
+ : () } @formats);
|
||||
+
|
||||
+ $browser->allow_redirects;
|
||||
+
|
||||
+ return $preferred_quality->{url}, title_to_filename($title, "mp4");
|
||||
+}
|
||||
+
|
||||
+sub parse_youtube_url_encoded_fmt_stream_map {
|
||||
+ my($raw_map) = @_;;
|
||||
+
|
||||
+ my $map = {};
|
||||
+
|
||||
+ foreach my $params (split /,/, $raw_map) {
|
||||
+
|
||||
+ my $format = "";
|
||||
+ my $url = "";
|
||||
+
|
||||
+ foreach my $pair (split /&/, $params) {
|
||||
+ my ($name, $value) = split /=/, $pair;
|
||||
+ if ($name eq "itag"){
|
||||
+ $format = $value;
|
||||
+ } elsif ($name eq "url") {
|
||||
+ $url = uri_unescape($value);
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ $map->{$format} = $url;
|
||||
+ }
|
||||
+
|
||||
+ return $map;
|
||||
+}
|
||||
+
|
||||
sub download_fmt_map {
|
||||
my($self, $prefs, $browser, $title, $info, $fmt_map) = @_;
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/get_flash_videos/get_flash_videos-1.24-r1.ebuild,v 1.1 2012/02/29 21:33:32 hwoarang Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils perl-module
|
||||
|
||||
MY_PN="App-${PN}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Downloads videos from various Flash-based video hosting sites"
|
||||
HOMEPAGE="http://code.google.com/p/get-flash-videos/"
|
||||
SRC_URI="http://get-flash-videos.googlecode.com/files/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-perl/WWW-Mechanize
|
||||
perl-core/Module-CoreList
|
||||
dev-perl/HTML-TokeParser-Simple"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/UNIVERSAL-require
|
||||
test? ( media-video/rtmpdump
|
||||
dev-perl/Tie-IxHash
|
||||
dev-perl/XML-Simple
|
||||
dev-perl/Crypt-Rijndael
|
||||
dev-perl/Data-AMF
|
||||
perl-core/IO-Compress )"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
SRC_TEST="do"
|
||||
myinst="DESTDIR=${D}"
|
||||
|
||||
src_prepare() {
|
||||
# 405761
|
||||
epatch "${FILESDIR}"/${PN}-youtubefix.patch
|
||||
perl-module_src_prepare
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Downloading videos from RTMP server requires the following packages :"
|
||||
elog " media-video/rtmpdump"
|
||||
elog " dev-perl/Tie-IxHash"
|
||||
elog "Others optional dependencies :"
|
||||
elog " dev-perl/XML-Simple"
|
||||
elog " dev-perl/Crypt-Rijndael"
|
||||
elog " dev-perl/Data-AMF"
|
||||
elog " perl-core/IO-Compress"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue