parent
2b530c10da
commit
91092e3c22
@ -1 +1,2 @@
|
||||
DIST latexila-2.2.2.tar.xz 564864 RMD160 816343e9df04ffd75353efd1ac0189dbd22cbf8c SHA1 1747f7630ed4d6b5b25efa1785da59f7c55a2c23 SHA256 fa4cc9ea4ef7c0e0f9255b9c2629e770fe7004a02cf0e30fdcd7f943335aaa2b
|
||||
DIST latexila-2.2.3.tar.xz 575496 RMD160 d9e3f818fdf457e40cd298c4207bab0d7aaae134 SHA1 907341b77de01601c65b4b96f2b5b204215d950a SHA256 3d61aeab870e802aa6af203870ad697d8720ac6251835e528d96b3ad28574c91
|
||||
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/latexila/latexila-2.2.3.ebuild,v 1.1 2012/02/13 10:14:10 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
CMAKE_MIN_VERSION="2.6.4"
|
||||
CMAKE_IN_SOURCE_BUILD="yes" # for gnome2.eclass compat
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit cmake-utils gnome2
|
||||
|
||||
DESCRIPTION="Integrated LaTeX environment for GNOME"
|
||||
HOMEPAGE="http://projects.gnome.org/latexila/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gnome +latexmk rubber"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.28:2
|
||||
dev-libs/libgee:0
|
||||
dev-libs/libunique:1
|
||||
>=x11-libs/gtk+-2.16:2
|
||||
>=x11-libs/gtksourceview-2.10:2.0
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/libX11
|
||||
x11-libs/pango
|
||||
gnome? ( gnome-base/gsettings-desktop-schemas )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
x11-themes/hicolor-icon-theme
|
||||
latexmk? ( dev-tex/latexmk )
|
||||
rubber? ( dev-tex/rubber )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/itstool
|
||||
dev-util/pkgconfig
|
||||
sys-devel/gettext
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS HACKING NEWS README TODO"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ -n ${LINGUAS+set} ]]; then
|
||||
# LINGUAS is set, let's try to respect it.
|
||||
pushd po > /dev/null
|
||||
local po_file
|
||||
for po_file in *.po; do
|
||||
has "${po_file%.po}" ${LINGUAS} || rm -v "${po_file}"
|
||||
done
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs="
|
||||
$(cmake-utils_use_with gnome GNOME)
|
||||
-DCOMPILE_SCHEMA=OFF"
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST gnucash-2.4.10.tar.bz2 9367104 RMD160 c08f8f046c24b9b28adf486ea75f9ada9d6e8441 SHA1 b1906f8143406fdf8cb5217233143cc08e708b99 SHA256 52e65623b5ad812b8eeb4c221951e9b0ba3c49e28916acfb7b92566da159e6cc
|
||||
DIST gnucash-2.4.7.tar.bz2 9297876 RMD160 678db346d2a0d3f019d7435ac3cf17df96ac7c1a SHA1 e99dd56949de27c19d9c3413d30c87a0f74e8ff9 SHA256 eeb3b17f9081a544f8705db735df88ab3f468642a1d01552ea4e36bcb5b0730e
|
||||
DIST gnucash-2.4.8.tar.bz2 9345232 RMD160 030c5948e188765900bb5736c398f8d5ee6641d4 SHA1 cdd8793bc8e8cbb433a0237007023f4973a51781 SHA256 4aa11e7746bb5105682a223f9baf97200ecf2a1fcddbf871626805ac097fee19
|
||||
|
@ -0,0 +1,146 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/gnucash/gnucash-2.4.10.ebuild,v 1.1 2012/02/13 10:31:19 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
|
||||
inherit gnome2 python eutils
|
||||
|
||||
DOC_VER="2.2.0"
|
||||
|
||||
DESCRIPTION="A personal finance manager"
|
||||
HOMEPAGE="http://www.gnucash.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="chipcard cxx debug +doc hbci mysql ofx postgres python quotes sqlite webkit"
|
||||
|
||||
# FIXME: rdepend on dev-libs/qof when upstream fix their mess (see configure.ac)
|
||||
RDEPEND=">=dev-libs/glib-2.13:2
|
||||
>=dev-libs/popt-1.5
|
||||
>=dev-libs/libxml2-2.5.10:2
|
||||
>=dev-scheme/guile-1.8.3:12[deprecated,regex]
|
||||
dev-scheme/guile-www
|
||||
>=dev-scheme/slib-3.1.4
|
||||
>=gnome-base/gconf-2:2
|
||||
>=gnome-base/libgnomeui-2.4
|
||||
>=gnome-base/libglade-2.4:2.0
|
||||
gnome-base/libgnome-keyring
|
||||
media-libs/libart_lgpl
|
||||
>=sys-libs/zlib-1.1.4
|
||||
>=x11-libs/gtk+-2.14:2
|
||||
x11-libs/goffice:0.8[gnome]
|
||||
x11-libs/pango
|
||||
cxx? ( dev-cpp/gtkmm:2.4 )
|
||||
ofx? ( >=dev-libs/libofx-0.9.1 )
|
||||
hbci? ( >=net-libs/aqbanking-5[gtk]
|
||||
sys-libs/gwenhywfar[gtk]
|
||||
chipcard? ( sys-libs/libchipcard )
|
||||
)
|
||||
quotes? ( dev-perl/DateManip
|
||||
>=dev-perl/Finance-Quote-1.11
|
||||
dev-perl/HTML-TableExtract )
|
||||
webkit? ( net-libs/webkit-gtk:2 )
|
||||
!webkit? ( >=gnome-extra/gtkhtml-3.16:3.14 )
|
||||
sqlite? ( dev-db/libdbi dev-db/libdbi-drivers[sqlite3] )
|
||||
postgres? ( dev-db/libdbi dev-db/libdbi-drivers[postgres] )
|
||||
mysql? ( dev-db/libdbi dev-db/libdbi-drivers[mysql] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-text/scrollkeeper-0.3
|
||||
dev-util/pkgconfig
|
||||
dev-util/intltool
|
||||
gnome-base/gnome-common
|
||||
sys-devel/libtool
|
||||
"
|
||||
|
||||
PDEPEND="doc? ( >=app-doc/gnucash-docs-${DOC_VER} )"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="doc/README.OFX doc/README.HBCI"
|
||||
|
||||
if use webkit ; then
|
||||
G2CONF+=" --with-html-engine=webkit"
|
||||
else
|
||||
G2CONF+=" --with-html-engine=gtkhtml"
|
||||
fi
|
||||
|
||||
if use sqlite || use mysql || use postgres ; then
|
||||
G2CONF+=" --enable-dbi"
|
||||
else
|
||||
G2CONF+=" --disable-dbi"
|
||||
fi
|
||||
|
||||
G2CONF+="
|
||||
$(use_enable cxx gtkmm)
|
||||
$(use_enable debug)
|
||||
$(use_enable ofx)
|
||||
$(use_enable hbci aqbanking)
|
||||
$(use_enable python python-bindings)
|
||||
--disable-doxygen
|
||||
--enable-locale-specific-tax
|
||||
--disable-error-on-warning"
|
||||
|
||||
if use python ; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
: > "${S}"/py-compile
|
||||
|
||||
use python && python_convert_shebangs -r 2 .
|
||||
|
||||
# Disable python binding tests because of missing file
|
||||
sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' \
|
||||
-i src/optional/python-bindings/Makefile.{am,in} \
|
||||
|| die "python tests sed failed"
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# guile wrongly exports LDFLAGS as LIBS which breaks modules
|
||||
# Filter until a better ebuild is available, bug #202205
|
||||
local GUILE_LIBS=""
|
||||
local lib
|
||||
for lib in $(guile-config link); do
|
||||
if [ "${lib#-Wl}" = "$lib" ]; then
|
||||
GUILE_LIBS="$GUILE_LIBS $lib"
|
||||
fi
|
||||
done
|
||||
|
||||
econf GUILE_LIBS="${GUILE_LIBS}" ${G2CONF}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
GUILE_WARN_DEPRECATED=no \
|
||||
GNC_DOT_DIR="${T}"/.gnucash \
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Parallel installation fails from time to time, bug #359123
|
||||
MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_install GNC_DOC_INSTALL_DIR=/usr/share/doc/${PF}
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/{examples/,COPYING,INSTALL,*win32-bin.txt,projects.html}
|
||||
mv "${ED}"/usr/share/doc/${PF} "${T}"/cantuseprepalldocs || die
|
||||
dodoc "${T}"/cantuseprepalldocs/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
use python && python_mod_optimize gnucash
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
use python && python_mod_cleanup gnucash
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
scribus/plugins/pixmapexport/export.cpp | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/scribus/plugins/pixmapexport/export.cpp b/scribus/plugins/pixmapexport/export.cpp
|
||||
index 6ff5e0a..d9e273a 100644
|
||||
--- a/scribus/plugins/pixmapexport/export.cpp
|
||||
+++ b/scribus/plugins/pixmapexport/export.cpp
|
||||
@@ -96,7 +96,7 @@ bool PixmapExportPlugin::run(ScribusDoc* doc, QString target)
|
||||
Q_ASSERT(target.isEmpty());
|
||||
Q_ASSERT(!doc->masterPageMode());
|
||||
QSharedPointer<ExportBitmap> ex( new ExportBitmap() );
|
||||
- QSharedPointer<ExportForm> dia( new ExportForm(doc->scMW(), doc, ex->pageDPI, ex->quality, ex->bitmapType) );
|
||||
+ QSharedPointer<ExportForm> dia( new ExportForm(0, doc, ex->pageDPI, ex->quality, ex->bitmapType) );
|
||||
|
||||
// interval widgets handling
|
||||
QString tmp;
|
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>sci</herd>
|
||||
<longdescription lang="en">
|
||||
<herd>sci</herd>
|
||||
<longdescription lang="en">
|
||||
The tree.hh library for C++ provides an STL-like container class for
|
||||
n-ary trees, templated over the data stored at the nodes. Various
|
||||
types of iterators are provided (post-order, pre-order, and
|
||||
others). Where possible the access methods are compatible with the
|
||||
STL or alternative algorithms are available.
|
||||
</longdescription>
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tree/tree-2.65.ebuild,v 1.5 2010/07/21 20:15:22 ssuominen Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="An STL-like tree class"
|
||||
HOMEPAGE="http://www.aei.mpg.de/~peekas/tree/"
|
||||
SRC_URI="http://www.aei.mpg.de/~peekas/tree/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# test was buggy, reported upstream
|
||||
epatch "${FILESDIR}"/${PN}-2.62-test.patch
|
||||
}
|
||||
|
||||
src_test() {
|
||||
$(tc-getCXX) ${CXXFLAGS} test_tree.cc -o test_tree \
|
||||
|| die "compile test failed"
|
||||
./test_tree > mytest.output || die "running test failed"
|
||||
diff -Nu test_tree.output mytest.output || die "test dist failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/include
|
||||
doins tree.hh tree_util.hh || die
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins tree_example.cc || die
|
||||
if use doc; then
|
||||
doins tree.pdf || die
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libcroco-0.6.2.tar.bz2 415492 RMD160 402daf6ef986f90998449c254822080b38e28cd7 SHA1 4b0dd540a47f2492b1ac7cd7e3ec63c2ef4c9c2a SHA256 be24853f64c09b63d39e563fb0222e29bae1a33c3d9f6cbffc0bc27669371749
|
||||
DIST libcroco-0.6.3.tar.xz 429352 RMD160 c673b7882c756c774a23d83ea760339bb875c069 SHA1 bc875a3932fe6186b01807623f33cca025f36dbb SHA256 8b7c565bf3eae1dff0a09d128fc3726acc1a492a7de23b25dce803a4f93d42c1
|
||||
DIST libcroco-0.6.4.tar.xz 461876 RMD160 a2d118c1210fbdfa17afa7dfe1f685f26e4b4793 SHA1 f9b8afed9e0b6b223128688b5de0e2c5a648bed5 SHA256 c816bad3406c52a98d84a2222c0e4a7b70ee0640b49cde4a236deaa02c4232ea
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcroco/libcroco-0.6.4.ebuild,v 1.1 2012/02/13 10:18:53 pacho Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Generic Cascading Style Sheet (CSS) parsing and manipulation toolkit"
|
||||
HOMEPAGE="http://git.gnome.org/browse/libcroco/"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0.6"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
>=dev-libs/libxml2-2.4.23"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
doc? ( >=dev-util/gtk-doc-1 )"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF} --disable-static"
|
||||
DOCS="AUTHORS ChangeLog HACKING NEWS README TODO"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
if ! use test; then
|
||||
# don't waste time building tests
|
||||
sed 's/^\(SUBDIRS .*\=.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
|
||||
|| die "sed failed"
|
||||
fi
|
||||
}
|
@ -0,0 +1,224 @@
|
||||
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f3c0a02b920efa5747474b4c65aba12a928e56de
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Make the assembly syntax compatible with x32 gcc. Othewise x32 gcc throws errors.
|
||||
|
||||
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
|
||||
2011/12/01
|
||||
|
||||
|
||||
Index: liboil-0.3.17/liboil/amd64/wavelet.c
|
||||
===================================================================
|
||||
--- liboil-0.3.17.orig/liboil/amd64/wavelet.c
|
||||
+++ liboil-0.3.17/liboil/amd64/wavelet.c
|
||||
@@ -21,14 +21,14 @@ deinterleave2_asm (int16_t *d1, int16_t
|
||||
asm volatile ("\n"
|
||||
" sub $2, %%rcx\n"
|
||||
"1:\n"
|
||||
- " movw (%1,%%rcx,4), %%ax\n"
|
||||
- " movw %%ax, (%0,%%rcx,2)\n"
|
||||
- " movw 2(%1,%%rcx,4), %%ax\n"
|
||||
- " movw %%ax, (%2,%%rcx,2)\n"
|
||||
- " movw 4(%1,%%rcx,4), %%ax\n"
|
||||
- " movw %%ax, 2(%0,%%rcx,2)\n"
|
||||
- " movw 6(%1,%%rcx,4), %%ax\n"
|
||||
- " movw %%ax, 2(%2,%%rcx,2)\n"
|
||||
+ " movw (%q1,%%rcx,4), %%ax\n"
|
||||
+ " movw %%ax, (%q0,%%rcx,2)\n"
|
||||
+ " movw 2(%q1,%%rcx,4), %%ax\n"
|
||||
+ " movw %%ax, (%q2,%%rcx,2)\n"
|
||||
+ " movw 4(%q1,%%rcx,4), %%ax\n"
|
||||
+ " movw %%ax, 2(%q0,%%rcx,2)\n"
|
||||
+ " movw 6(%q1,%%rcx,4), %%ax\n"
|
||||
+ " movw %%ax, 2(%q2,%%rcx,2)\n"
|
||||
" sub $2, %%rcx\n"
|
||||
" jge 1b\n"
|
||||
: "+r" (d1), "+r" (s_2xn), "+r" (d2), "+c" (n)
|
||||
@@ -53,20 +53,20 @@ deinterleave2_mmx (int16_t *d1, int16_t
|
||||
asm volatile ("\n"
|
||||
" xor %%rcx, %%rcx\n"
|
||||
"1:\n"
|
||||
- " movq (%1,%%rcx,4), %%mm0\n"
|
||||
- " movq 8(%1,%%rcx,4), %%mm1\n"
|
||||
+ " movq (%q1,%%rcx,4), %%mm0\n"
|
||||
+ " movq 8(%q1,%%rcx,4), %%mm1\n"
|
||||
" pslld $16, %%mm0\n"
|
||||
" pslld $16, %%mm1\n"
|
||||
" psrad $16, %%mm0\n"
|
||||
" psrad $16, %%mm1\n"
|
||||
" packssdw %%mm1, %%mm0\n"
|
||||
- " movq %%mm0, (%0,%%rcx,2)\n"
|
||||
- " movq (%1,%%rcx,4), %%mm0\n"
|
||||
- " movq 8(%1,%%rcx,4), %%mm1\n"
|
||||
+ " movq %%mm0, (%q0,%%rcx,2)\n"
|
||||
+ " movq (%q1,%%rcx,4), %%mm0\n"
|
||||
+ " movq 8(%q1,%%rcx,4), %%mm1\n"
|
||||
" psrad $16, %%mm0\n"
|
||||
" psrad $16, %%mm1\n"
|
||||
" packssdw %%mm1, %%mm0\n"
|
||||
- " movq %%mm0, (%2,%%rcx,2)\n"
|
||||
+ " movq %%mm0, (%q2,%%rcx,2)\n"
|
||||
" add $4, %%rcx\n"
|
||||
" cmp %3, %%ecx\n"
|
||||
" jl 1b\n"
|
||||
@@ -93,10 +93,10 @@ deinterleave2_mmx_2 (int16_t *d1, int16_
|
||||
asm volatile ("\n"
|
||||
" xor %%rcx, %%rcx\n"
|
||||
"1:\n"
|
||||
- " pshufw $0xd8, (%1,%%rcx,4), %%mm0\n"
|
||||
- " movd %%mm0, (%0,%%rcx,2)\n"
|
||||
- " pshufw $0x8d, (%1,%%rcx,4), %%mm0\n"
|
||||
- " movd %%mm0, (%2,%%rcx,2)\n"
|
||||
+ " pshufw $0xd8, (%q1,%%rcx,4), %%mm0\n"
|
||||
+ " movd %%mm0, (%q0,%%rcx,2)\n"
|
||||
+ " pshufw $0x8d, (%q1,%%rcx,4), %%mm0\n"
|
||||
+ " movd %%mm0, (%q2,%%rcx,2)\n"
|
||||
" add $2, %%rcx\n"
|
||||
" cmp %3, %%ecx\n"
|
||||
" jl 1b\n"
|
||||
@@ -123,16 +123,16 @@ deinterleave2_mmx_3 (int16_t *d1, int16_
|
||||
asm volatile ("\n"
|
||||
" xor %%rcx, %%rcx\n"
|
||||
"1:\n"
|
||||
- " movq (%1,%%rcx,4), %%mm1\n"
|
||||
- " movq (%1,%%rcx,4), %%mm2\n"
|
||||
- " movq 8(%1,%%rcx,4), %%mm0\n"
|
||||
+ " movq (%q1,%%rcx,4), %%mm1\n"
|
||||
+ " movq (%q1,%%rcx,4), %%mm2\n"
|
||||
+ " movq 8(%q1,%%rcx,4), %%mm0\n"
|
||||
" punpcklwd %%mm0, %%mm1\n"
|
||||
" punpckhwd %%mm0, %%mm2\n"
|
||||
" movq %%mm1, %%mm0\n"
|
||||
" punpcklwd %%mm2, %%mm0\n"
|
||||
" punpckhwd %%mm2, %%mm1\n"
|
||||
- " movq %%mm0, (%0,%%rcx,2)\n"
|
||||
- " movq %%mm1, (%2,%%rcx,2)\n"
|
||||
+ " movq %%mm0, (%q0,%%rcx,2)\n"
|
||||
+ " movq %%mm1, (%q2,%%rcx,2)\n"
|
||||
" add $4, %%rcx\n"
|
||||
" cmp %3, %%ecx\n"
|
||||
" jl 1b\n"
|
||||
@@ -159,26 +159,26 @@ deinterleave2_mmx_4 (int16_t *d1, int16_
|
||||
asm volatile ("\n"
|
||||
" xor %%rcx, %%rcx\n"
|
||||
"1:\n"
|
||||
- " movq (%1,%%rcx,4), %%mm1\n"
|
||||
+ " movq (%q1,%%rcx,4), %%mm1\n"
|
||||
" movq %%mm1, %%mm2\n"
|
||||
- " movq 8(%1,%%rcx,4), %%mm0\n"
|
||||
- " movq 16(%1,%%rcx,4), %%mm5\n"
|
||||
+ " movq 8(%q1,%%rcx,4), %%mm0\n"
|
||||
+ " movq 16(%q1,%%rcx,4), %%mm5\n"
|
||||
" punpcklwd %%mm0, %%mm1\n"
|
||||
" movq %%mm5, %%mm6\n"
|
||||
" punpckhwd %%mm0, %%mm2\n"
|
||||
- " movq 24(%1,%%rcx,4), %%mm4\n"
|
||||
+ " movq 24(%q1,%%rcx,4), %%mm4\n"
|
||||
" movq %%mm1, %%mm0\n"
|
||||
" punpcklwd %%mm4, %%mm5\n"
|
||||
" punpcklwd %%mm2, %%mm0\n"
|
||||
" punpckhwd %%mm4, %%mm6\n"
|
||||
" punpckhwd %%mm2, %%mm1\n"
|
||||
" movq %%mm5, %%mm4\n"
|
||||
- " movq %%mm0, (%0,%%rcx,2)\n"
|
||||
+ " movq %%mm0, (%q0,%%rcx,2)\n"
|
||||
" punpcklwd %%mm6, %%mm4\n"
|
||||
- " movq %%mm1, (%2,%%rcx,2)\n"
|
||||
+ " movq %%mm1, (%q2,%%rcx,2)\n"
|
||||
" punpckhwd %%mm6, %%mm5\n"
|
||||
- " movq %%mm4, 8(%0,%%rcx,2)\n"
|
||||
- " movq %%mm5, 8(%2,%%rcx,2)\n"
|
||||
+ " movq %%mm4, 8(%q0,%%rcx,2)\n"
|
||||
+ " movq %%mm5, 8(%q2,%%rcx,2)\n"
|
||||
" add $8, %%rcx\n"
|
||||
" cmp %3, %%ecx\n"
|
||||
" jl 1b\n"
|
||||
@@ -252,13 +252,13 @@ interleave2_mmx (int16_t *d_2xn, int16_t
|
||||
asm volatile ("\n"
|
||||
" xor %%rcx, %%rcx\n"
|
||||
"1:\n"
|
||||
- " movq (%1,%%rcx,2), %%mm0\n"
|
||||
- " movq (%2,%%rcx,2), %%mm1\n"
|
||||
+ " movq (%q1,%%rcx,2), %%mm0\n"
|
||||
+ " movq (%q2,%%rcx,2), %%mm1\n"
|
||||
" movq %%mm0, %%mm2\n"
|
||||
" punpckhwd %%mm1, %%mm0\n"
|
||||
" punpcklwd %%mm1, %%mm2\n"
|
||||
- " movq %%mm2, (%0,%%rcx,4)\n"
|
||||
- " movq %%mm0, 8(%0,%%rcx,4)\n"
|
||||
+ " movq %%mm2, (%q0,%%rcx,4)\n"
|
||||
+ " movq %%mm0, 8(%q0,%%rcx,4)\n"
|
||||
" add $4, %%rcx\n"
|
||||
" cmp %3, %%ecx\n"
|
||||
" jl 1b\n"
|
||||
@@ -285,12 +285,12 @@ lift_add_shift1_mmx (int16_t *d, int16_t
|
||||
asm volatile ("\n"
|
||||
" xor %%rcx, %%rcx\n"
|
||||
"1:\n"
|
||||
- " movq (%2,%%rcx,2), %%mm1\n"
|
||||
- " movq (%3,%%rcx,2), %%mm2\n"
|
||||
+ " movq (%q2,%%rcx,2), %%mm1\n"
|
||||
+ " movq (%q3,%%rcx,2), %%mm2\n"
|
||||
" paddw %%mm2, %%mm1\n"
|
||||
" psraw $1, %%mm1\n"
|
||||
- " paddw (%1,%%rcx,2), %%mm1\n"
|
||||
- " movq %%mm1, (%0,%%rcx,2)\n"
|
||||
+ " paddw (%q1,%%rcx,2), %%mm1\n"
|
||||
+ " movq %%mm1, (%q0,%%rcx,2)\n"
|
||||
" add $4, %%rcx\n"
|
||||
" cmp %4, %%ecx\n"
|
||||
" jl 1b\n"
|
||||
@@ -317,13 +317,13 @@ lift_sub_shift1_mmx (int16_t *d, int16_t
|
||||
asm volatile ("\n"
|
||||
" xor %%rcx, %%rcx\n"
|
||||
"1:\n"
|
||||
- " movq (%2,%%rcx,2), %%mm1\n"
|
||||
- " movq (%3,%%rcx,2), %%mm2\n"
|
||||
- " movq (%1,%%rcx,2), %%mm0\n"
|
||||
+ " movq (%q2,%%rcx,2), %%mm1\n"
|
||||
+ " movq (%q3,%%rcx,2), %%mm2\n"
|
||||
+ " movq (%q1,%%rcx,2), %%mm0\n"
|
||||
" paddw %%mm2, %%mm1\n"
|
||||
" psraw $1, %%mm1\n"
|
||||
" psubw %%mm1, %%mm0\n"
|
||||
- " movq %%mm0, (%0,%%rcx,2)\n"
|
||||
+ " movq %%mm0, (%q0,%%rcx,2)\n"
|
||||
" add $4, %%rcx\n"
|
||||
" cmp %4, %%ecx\n"
|
||||
" jl 1b\n"
|
||||
@@ -350,12 +350,12 @@ lift_add_shift2_mmx (int16_t *d, int16_t
|
||||
asm volatile ("\n"
|
||||
" xor %%rcx, %%rcx\n"
|
||||
"1:\n"
|
||||
- " movq (%2,%%rcx,2), %%mm1\n"
|
||||
- " movq (%3,%%rcx,2), %%mm2\n"
|
||||
+ " movq (%q2,%%rcx,2), %%mm1\n"
|
||||
+ " movq (%q3,%%rcx,2), %%mm2\n"
|
||||
" paddw %%mm2, %%mm1\n"
|
||||
" psraw $2, %%mm1\n"
|
||||
- " paddw (%1,%%rcx,2), %%mm1\n"
|
||||
- " movq %%mm1, (%0,%%rcx,2)\n"
|
||||
+ " paddw (%q1,%%rcx,2), %%mm1\n"
|
||||
+ " movq %%mm1, (%q0,%%rcx,2)\n"
|
||||
" add $4, %%rcx\n"
|
||||
" cmp %4, %%ecx\n"
|
||||
" jl 1b\n"
|
||||
@@ -382,13 +382,13 @@ lift_sub_shift2_mmx (int16_t *d, int16_t
|
||||
asm volatile ("\n"
|
||||
" xor %%rcx, %%rcx\n"
|
||||
"1:\n"
|
||||
- " movq (%2,%%rcx,2), %%mm1\n"
|
||||
- " movq (%3,%%rcx,2), %%mm2\n"
|
||||
- " movq (%1,%%rcx,2), %%mm0\n"
|
||||
+ " movq (%q2,%%rcx,2), %%mm1\n"
|
||||
+ " movq (%q3,%%rcx,2), %%mm2\n"
|
||||
+ " movq (%q1,%%rcx,2), %%mm0\n"
|
||||
" paddw %%mm2, %%mm1\n"
|
||||
" psraw $2, %%mm1\n"
|
||||
" psubw %%mm1, %%mm0\n"
|
||||
- " movq %%mm0, (%0,%%rcx,2)\n"
|
||||
+ " movq %%mm0, (%q0,%%rcx,2)\n"
|
||||
" add $4, %%rcx\n"
|
||||
" cmp %4, %%ecx\n"
|
||||
" jl 1b\n"
|
@ -0,0 +1 @@
|
||||
DIST python-fastimport-0.9.0.tar.gz 33042 RMD160 8e43432b1046940342b431264412a0cb08495e6d SHA1 214cc2c01b6e6e9f137862c2ff487f335ec850ea SHA256 07d1d3800b1cfaa820b62c5a88c40cc7e32be9b14d9c6d3298721f32df8e1dec
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>tetromino@gentoo.org</email>
|
||||
<name>Alexandre Rostovtsev</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-fastimport/python-fastimport-0.9.0.ebuild,v 1.1 2012/02/13 05:13:05 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Library for parsing the fastimport VCS serialization format"
|
||||
HOMEPAGE="https://launchpad.net/python-fastimport"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
PYTHON_MODNAME="fastimport"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST bzr-fastimport-0.11.0.tar.gz 115369 RMD160 3a4073b13892eb9494f578718e9795ec9b508c59 SHA1 6bef12d6426e44a6fc603ad396c508d2ebd382be SHA256 5608a38b7f2adb2f875d037a5eaba5d86d8ca8548124e987230b1b4cf836346b
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bzr-fastimport/bzr-fastimport-0.11.0.ebuild,v 1.1 2012/02/13 05:16:15 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Plugin providing fast loading of revision control data into Bazaar"
|
||||
HOMEPAGE="https://launchpad.net/bzr-fastimport http://wiki.bazaar.canonical.com/BzrFastImport"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-vcs/bzr-1.18
|
||||
>=dev-python/python-fastimport-0.9"
|
||||
DEPEND=""
|
||||
|
||||
PYTHON_MODNAME="bzrlib/plugins/fastimport"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="NEWS README.txt doc/notes.txt"
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs -r 2 .
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
elog "These commands need additional dependencies:"
|
||||
elog
|
||||
elog "bzr fast-export-from-darcs: dev-vcs/darcs"
|
||||
elog "bzr fast-export-from-git: dev-vcs/git"
|
||||
elog "bzr fast-export-from-hg: dev-vcs/mercurial"
|
||||
elog "bzr fast-export-from-mtn: dev-vcs/monotone"
|
||||
elog "bzr fast-export-from-svn: dev-vcs/subversion[python]"
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>tetromino@gentoo.org</email>
|
||||
<name>Alexandre Rostovtsev</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST git-bzr-ng-0_pre20120130.tar.xz 11596 RMD160 b54bcbea138ba96e0ebbf90e481dc5dd006531f0 SHA1 4a81b90ea4cf77232676c6fe3157c1c74da834cb SHA256 cdfee5b8a9d6bb5980123a00933f71de8e38fe36d3a3ce57a2a92eae1b4ba5fc
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-bzr-ng/git-bzr-ng-0_pre20120130.ebuild,v 1.1 2012/02/13 05:18:11 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Git subcommand providing a bidirectional bridge to Bazaar repositories"
|
||||
HOMEPAGE="https://github.com/termie/git-bzr-ng"
|
||||
SRC_URI="http://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-vcs/bzr-2.2
|
||||
dev-vcs/git
|
||||
>=dev-vcs/bzr-fastimport-0.10
|
||||
dev-python/python-fastimport"
|
||||
DEPEND="app-arch/xz-utils"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs 2 git-bzr
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/libexec/git-core
|
||||
doexe git-bzr
|
||||
dodoc README.rst
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>tetromino@gentoo.org</email>
|
||||
<name>Alexandre Rostovtsev</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,2 +1 @@
|
||||
DIST darktable-0.9.2.tar.gz 2269319 RMD160 95b5f28afd787070d5e8c236f7e3bb2d27522cae SHA1 5527854edd10cca074bd956772b81d646a796293 SHA256 c7f17961db67f430c449e5294ff4a59ae2a649ba17af0fa55f3e9c5bec9ca20a
|
||||
DIST darktable-0.9.3.tar.gz 2330605 RMD160 a7c51262a52fae0b33179fb4d9030eb78444305d SHA1 36ed6c1102b920096cf80affd71adfa66ae85381 SHA256 1cd75253355bd70b698dc78c2463c1b70867ac96cb6f23337a3b6dec6277892a
|
||||
|
@ -1,94 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-0.9.2-r1.ebuild,v 1.1 2011/08/26 21:35:59 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2 cmake-utils
|
||||
|
||||
DESCRIPTION="A virtual lighttable and darkroom for photographers"
|
||||
HOMEPAGE="http://darktable.sf.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="debug flickr gnome gphoto2 kde nls openmp +rawspeed +slideshow"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/sqlite:3
|
||||
dev-libs/libxml2:2
|
||||
flickr? ( media-libs/flickcurl )
|
||||
gnome? (
|
||||
gnome-base/gconf
|
||||
gnome-base/gnome-keyring
|
||||
)
|
||||
gnome-base/librsvg:2
|
||||
gphoto2? ( media-libs/libgphoto2 )
|
||||
kde? ( dev-libs/dbus-glib )
|
||||
media-gfx/exiv2
|
||||
media-libs/lcms:2
|
||||
>=media-libs/lensfun-0.2.3
|
||||
media-libs/libpng
|
||||
>=media-libs/libraw-0.13.4[demosaic]
|
||||
media-libs/openexr
|
||||
media-libs/tiff
|
||||
net-misc/curl
|
||||
slideshow? (
|
||||
media-libs/libsdl
|
||||
virtual/opengl
|
||||
)
|
||||
virtual/jpeg
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
openmp? ( >=sys-devel/gcc-4.4[openmp] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-system-libraw.patch
|
||||
"${FILESDIR}"/${PN}-0.9.1-no-rawspeed.patch
|
||||
"${FILESDIR}"/${PN}-0.9-cflags.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
sed -i -e "s:\(/share/doc/\)darktable:\1${PF}:" \
|
||||
-e "s:LICENSE::" doc/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
if use gnome ; then
|
||||
myconf="-DDONT_INSTALL_GCONF_SCHEMAS=OFF"
|
||||
else
|
||||
myconf="-DDONT_INSTALL_GCONF_SCHEMAS=ON"
|
||||
fi
|
||||
|
||||
use debug && CMAKE_BUILD_TYPE=Debug
|
||||
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_use flickr FLICKR)
|
||||
$(cmake-utils_use_use gnome GCONF_BACKEND)
|
||||
$(cmake-utils_use_use gnome GNOME_KEYRING)
|
||||
$(cmake-utils_use_use gphoto2 CAMERA_SUPPORT)
|
||||
$(cmake-utils_use_use kde KWALLET)
|
||||
$(cmake-utils_use_use nls NLS)
|
||||
$(cmake-utils_use_use openmp OPENMP)
|
||||
$(cmake-utils_use !rawspeed DONT_USE_RAWSPEED)
|
||||
$(cmake-utils_use_build slideshow SLIDESHOW)
|
||||
${myconf}
|
||||
-DINSTALL_IOP_EXPERIMENTAL=ON
|
||||
-DINSTALL_IOP_LEGACY=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
|
||||
cmake-utils_src_install
|
||||
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
||||
}
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-0.9.2-r2.ebuild,v 1.2 2011/09/21 18:39:29 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2 cmake-utils
|
||||
|
||||
DESCRIPTION="A virtual lighttable and darkroom for photographers"
|
||||
HOMEPAGE="http://darktable.sf.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="debug flickr gnome gphoto2 kde nls openmp +rawspeed +slideshow"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/sqlite:3
|
||||
dev-libs/libxml2:2
|
||||
flickr? ( media-libs/flickcurl )
|
||||
gnome? (
|
||||
gnome-base/gconf
|
||||
gnome-base/gnome-keyring
|
||||
)
|
||||
gnome-base/librsvg:2
|
||||
gphoto2? ( media-libs/libgphoto2 )
|
||||
kde? ( dev-libs/dbus-glib )
|
||||
media-gfx/exiv2
|
||||
media-libs/lcms:2
|
||||
>=media-libs/lensfun-0.2.3
|
||||
media-libs/libpng
|
||||
>=media-libs/libraw-0.13.4[demosaic]
|
||||
media-libs/openexr
|
||||
media-libs/tiff
|
||||
net-misc/curl
|
||||
slideshow? (
|
||||
media-libs/libsdl
|
||||
virtual/opengl
|
||||
)
|
||||
virtual/jpeg
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:2"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
openmp? ( >=sys-devel/gcc-4.4[openmp] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-system-libraw.patch
|
||||
"${FILESDIR}"/${PN}-0.9.1-no-rawspeed.patch
|
||||
"${FILESDIR}"/${PN}-0.9-cflags.patch
|
||||
"${FILESDIR}"/${P}-zlib-header.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
sed -i -e "s:\(/share/doc/\)darktable:\1${PF}:" \
|
||||
-e "s:LICENSE::" doc/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
if use gnome ; then
|
||||
myconf="-DDONT_INSTALL_GCONF_SCHEMAS=OFF"
|
||||
else
|
||||
myconf="-DDONT_INSTALL_GCONF_SCHEMAS=ON"
|
||||
fi
|
||||
|
||||
use debug && CMAKE_BUILD_TYPE=Debug
|
||||
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use_use flickr FLICKR)
|
||||
$(cmake-utils_use_use gnome GCONF_BACKEND)
|
||||
$(cmake-utils_use_use gnome GNOME_KEYRING)
|
||||
$(cmake-utils_use_use gphoto2 CAMERA_SUPPORT)
|
||||
$(cmake-utils_use_use kde KWALLET)
|
||||
$(cmake-utils_use_use nls NLS)
|
||||
$(cmake-utils_use_use openmp OPENMP)
|
||||
$(cmake-utils_use !rawspeed DONT_USE_RAWSPEED)
|
||||
$(cmake-utils_use_build slideshow SLIDESHOW)
|
||||
${myconf}
|
||||
-DUSE_OPENCL=OFF
|
||||
-DINSTALL_IOP_EXPERIMENTAL=ON
|
||||
-DINSTALL_IOP_LEGACY=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
|
||||
cmake-utils_src_install
|
||||
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
--- darktable-0.9/src/CMakeLists.txt.orig
|
||||
+++ darktable-0.9/src/CMakeLists.txt
|
||||
@@ -217,27 +217,27 @@
|
||||
# c++ code doesn't like -Werror (libraw)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fno-strict-aliasing")
|
||||
|
||||
-if(NOT APPLE)
|
||||
- # apple build fails on deprecated warnings..
|
||||
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
|
||||
-endif(NOT APPLE)
|
||||
+#if(NOT APPLE)
|
||||
+# # apple build fails on deprecated warnings..
|
||||
+# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
|
||||
+#endif(NOT APPLE)
|
||||
|
||||
if(NOT WIN32)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
|
||||
endif(NOT WIN32)
|
||||
|
||||
-if(NOT BINARY_PACKAGE_BUILD)
|
||||
- set(MARCH "-march=native")
|
||||
-else()
|
||||
- set(MARCH "-mtune=generic")
|
||||
-endif()
|
||||
+#if(NOT BINARY_PACKAGE_BUILD)
|
||||
+# set(MARCH "-march=native")
|
||||
+#else()
|
||||
+# set(MARCH "-mtune=generic")
|
||||
+#endif()
|
||||
|
||||
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2 -mfpmath=sse ${MARCH} -g")
|
||||
-set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3 -ffast-math -fexpensive-optimizations")
|
||||
-set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -g -D_DEBUG")
|
||||
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse2 -mfpmath=sse ${MARCH} -g")
|
||||
-set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -ffast-math -fexpensive-optimizations")
|
||||
-set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -g -D_DEBUG")
|
||||
+#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2 -mfpmath=sse ${MARCH} -g")
|
||||
+#set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O3 -ffast-math -fexpensive-optimizations")
|
||||
+set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG")
|
||||
+#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse2 -mfpmath=sse ${MARCH} -g")
|
||||
+#set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -ffast-math -fexpensive-optimizations")
|
||||
+set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG")
|
||||
|
||||
|
||||
#
|
@ -1,46 +0,0 @@
|
||||
--- darktable-0.9.1.orig/src/CMakeLists.txt
|
||||
+++ darktable-0.9.1/src/CMakeLists.txt
|
||||
@@ -274,19 +274,19 @@
|
||||
)
|
||||
SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_BINARY_DIR}/metadata_gen.c PROPERTIES GENERATED 1)
|
||||
SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_BINARY_DIR}/metadata_gen.h PROPERTIES GENERATED 1)
|
||||
-# this is a dummy library whose sole purpose is to serve as a dependency for subdirs, such as imageio/storage/gallery.
|
||||
-# cmake can't depend on custom targets in other directories than the current one.
|
||||
-add_library(metadata_dummy ${CMAKE_CURRENT_BINARY_DIR}/metadata_gen.c ${CMAKE_CURRENT_BINARY_DIR}/metadata_gen.h)
|
||||
+add_custom_target(metadata_gen DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/metadata_gen.c ${CMAKE_CURRENT_BINARY_DIR}/metadata_gen.h)
|
||||
|
||||
#
|
||||
# build libdarktable
|
||||
#
|
||||
-add_library(lib_darktable STATIC SHARED ${CMAKE_CURRENT_BINARY_DIR}/preferences_gen.h ${CMAKE_CURRENT_BINARY_DIR}/metadata_gen.h ${CMAKE_CURRENT_BINARY_DIR}/metadata_gen.c ${CMAKE_CURRENT_BINARY_DIR}/accelstrings_gen.h ${SOURCES})
|
||||
+add_library(lib_darktable SHARED ${CMAKE_CURRENT_BINARY_DIR}/preferences_gen.h ${CMAKE_CURRENT_BINARY_DIR}/metadata_gen.h ${CMAKE_CURRENT_BINARY_DIR}/metadata_gen.c ${CMAKE_CURRENT_BINARY_DIR}/accelstrings_gen.h ${SOURCES})
|
||||
+add_dependencies(lib_darktable metadata_gen)
|
||||
if(APPLE)
|
||||
set_target_properties(lib_darktable PROPERTIES INSTALL_NAME_DIR "@executable_path/../lib/darktable")
|
||||
endif(APPLE)
|
||||
set_target_properties(lib_darktable PROPERTIES OUTPUT_NAME darktable)
|
||||
set_target_properties(lib_darktable PROPERTIES LINKER_LANGUAGE C)
|
||||
+target_link_libraries(lib_darktable ${LIBS})
|
||||
|
||||
|
||||
#
|
||||
@@ -306,7 +306,7 @@
|
||||
add_dependencies(lib_darktable rawspeed)
|
||||
add_library(rawspeed_static STATIC IMPORTED)
|
||||
set_target_properties(rawspeed_static PROPERTIES IMPORTED_LOCATION ${CMAKE_CURRENT_BINARY_DIR}/external/rawspeed/librawspeed.a)
|
||||
- target_link_libraries(lib_darktable ${LIBS} rawspeed_static)
|
||||
+ target_link_libraries(lib_darktable rawspeed_static)
|
||||
# compile rawspeed
|
||||
add_subdirectory(external/rawspeed)
|
||||
endif(NOT DONT_USE_RAWSPEED)
|
||||
--- darktable-0.9.1.orig/src/imageio/storage/CMakeLists.txt
|
||||
+++ darktable-0.9.1/src/imageio/storage/CMakeLists.txt
|
||||
@@ -10,7 +10,7 @@
|
||||
foreach(module ${MODULES} ${MODULES_EXPERIMENTAL})
|
||||
add_library(${module} MODULE "${module}.c")
|
||||
endforeach(module)
|
||||
-add_dependencies(gallery metadata_dummy)
|
||||
+add_dependencies(gallery metadata_gen)
|
||||
|
||||
foreach(module ${MODULES})
|
||||
target_link_libraries(${module} ${LIBS})
|
@ -1,90 +0,0 @@
|
||||
--- darktable-0.9.2.orig/cmake/modules/FindLibraw.cmake
|
||||
+++ darktable-0.9.2/cmake/modules/FindLibraw.cmake
|
||||
@@ -0,0 +1,29 @@
|
||||
+# - Try to find libraw
|
||||
+# Once done, this will define
|
||||
+#
|
||||
+# Libraw_FOUND - system has Libraw
|
||||
+# Libraw_INCLUDE_DIRS - the Libraw include directories
|
||||
+# Libraw_LIBRARIES - link these to use Libraw
|
||||
+
|
||||
+include(LibFindMacros)
|
||||
+
|
||||
+# Use pkg-config to get hints about paths
|
||||
+libfind_pkg_check_modules(Libraw_PKGCONF libraw)
|
||||
+
|
||||
+# Include dir
|
||||
+find_path(Libraw_INCLUDE_DIR
|
||||
+ NAMES libraw.h
|
||||
+ PATHS ${Libraw_PKGCONF_INCLUDE_DIRS}
|
||||
+)
|
||||
+
|
||||
+# Finally the library itself
|
||||
+find_library(Libraw_LIBRARY
|
||||
+ NAMES raw_r
|
||||
+ PATHS ${Libraw_PKGCONF_LIBRARY_DIRS}
|
||||
+)
|
||||
+
|
||||
+# Set the include dir variables and the libraries and let libfind_process do the rest.
|
||||
+# NOTE: Singular variables for this library, plural for libraries this this lib depends on.
|
||||
+set(Libraw_PROCESS_INCLUDES Libraw_INCLUDE_DIR Libraw_INCLUDE_DIRS)
|
||||
+set(Libraw_PROCESS_LIBS Libraw_LIBRARY Libraw_LIBRARIES)
|
||||
+libfind_process(Libraw)
|
||||
--- darktable-0.9.2.orig/src/CMakeLists.txt
|
||||
+++ darktable-0.9.2/src/CMakeLists.txt
|
||||
@@ -77,7 +77,6 @@
|
||||
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/external)
|
||||
-include_directories(${CMAKE_CURRENT_SOURCE_DIR}/external/LibRaw)
|
||||
|
||||
# initial compiler flags
|
||||
add_definitions("-DHAVE_CONFIG_H")
|
||||
@@ -129,7 +128,7 @@
|
||||
endif(USE_CAMERA_SUPPORT)
|
||||
|
||||
# Find all the libs that don't require extra parameters
|
||||
-foreach(lib ${OUR_LIBS} LensFun GIO GThread GModule Cairo PangoCairo PThread Rsvg2 GDK-PixBuf LibXml2 INotify Sqlite3 Exiv2 CURL PNG JPEG TIFF OpenEXR LCMS2)
|
||||
+foreach(lib ${OUR_LIBS} LensFun Libraw GIO GThread GModule Cairo PangoCairo PThread Rsvg2 GDK-PixBuf LibXml2 INotify Sqlite3 Exiv2 CURL PNG JPEG TIFF OpenEXR LCMS2)
|
||||
find_package(${lib} REQUIRED)
|
||||
include_directories(${${lib}_INCLUDE_DIRS})
|
||||
list(APPEND LIBS ${${lib}_LIBRARIES})
|
||||
@@ -311,17 +310,6 @@
|
||||
set_target_properties(lib_darktable PROPERTIES LINKER_LANGUAGE C)
|
||||
|
||||
|
||||
-#
|
||||
-# the libraw part is a bit of a hack:
|
||||
-# the static linking didn't work since it was pulling -lstdc++ and -lm into linker flags.
|
||||
-# so we do a custom dependency and pretend an imported liblibraw_r.a so no other -l are
|
||||
-# appended.
|
||||
-#
|
||||
-add_dependencies(lib_darktable libraw_r)
|
||||
-add_library(libraw_static STATIC IMPORTED)
|
||||
-set_target_properties(libraw_static PROPERTIES IMPORTED_LOCATION ${CMAKE_CURRENT_BINARY_DIR}/external/LibRaw/liblibraw_r.a)
|
||||
-target_link_libraries(lib_darktable ${LIBS} libraw_static)
|
||||
-
|
||||
# same for librawspeed (can switch it off with -DDONT_USE_RAWSPEED, for macs):
|
||||
if(NOT DONT_USE_RAWSPEED)
|
||||
add_definitions("-DHAVE_RAWSPEED")
|
||||
@@ -336,9 +324,6 @@
|
||||
install(TARGETS lib_darktable DESTINATION ${LIB_INSTALL}/darktable)
|
||||
list(APPEND LIBS lib_darktable)
|
||||
|
||||
-# Compile libraw modules
|
||||
-add_subdirectory(external/LibRaw)
|
||||
-
|
||||
# Compile views modules
|
||||
add_subdirectory(views)
|
||||
|
||||
--- darktable-0.9.2.orig/src/common/imageio.c
|
||||
+++ darktable-0.9.2/src/common/imageio.c
|
||||
@@ -547,7 +547,7 @@
|
||||
raw->params.threshold = 0;
|
||||
raw->params.auto_bright_thr = img->raw_auto_bright_threshold;
|
||||
|
||||
- raw->params.amaze_ca_refine = 0;
|
||||
+ // raw->params.amaze_ca_refine = 0;
|
||||
raw->params.fbdd_noiserd = 0;
|
||||
|
||||
ret = libraw_open_file(raw, filename);
|
@ -1,10 +0,0 @@
|
||||
--- darktable-0.9.2/src/imageio/format/png.c.orig
|
||||
+++ darktable-0.9.2/src/imageio/format/png.c
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <stdio.h>
|
||||
#include <png.h>
|
||||
#include <inttypes.h>
|
||||
+#include <zlib.h>
|
||||
|
||||
DT_MODULE(1)
|
||||
|
@ -0,0 +1,54 @@
|
||||
--- guvcview-src-1.5.2/src/pulse_audio.c.orig
|
||||
+++ guvcview-src-1.5.2/src/pulse_audio.c
|
||||
@@ -29,11 +29,7 @@
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
-#if GLIB_MINOR_VERSION < 31
|
||||
- #define __AMUTEX pdata->mutex
|
||||
-#else
|
||||
- #define __AMUTEX &pdata->mutex
|
||||
-#endif
|
||||
+#define __AMUTEX &pdata->mutex
|
||||
|
||||
//run in separate thread
|
||||
static void* pulse_read_audio(void *userdata)
|
||||
@@ -56,7 +52,7 @@
|
||||
ss.channels = pdata->channels;
|
||||
__UNLOCK_MUTEX(__AMUTEX);
|
||||
|
||||
- printf("starting pulse audio thread: %d hz- %d ch\n",ss.rate, ss.channels);
|
||||
+ g_print("starting pulse audio thread: %d hz- %d ch\n",ss.rate, ss.channels);
|
||||
if (!(pdata->pulse_simple = pa_simple_new(NULL, "Guvcview Video Capture", PA_STREAM_RECORD, NULL, "pcm.record", &ss, NULL, NULL, &error)))
|
||||
{
|
||||
g_printerr(": pa_simple_new() failed: %s\n", pa_strerror(error));
|
||||
@@ -114,7 +110,7 @@
|
||||
}
|
||||
|
||||
finish:
|
||||
- printf("audio thread exited\n");
|
||||
+ g_print("audio thread exited\n");
|
||||
pdata->streaming = FALSE;
|
||||
if (pdata->pulse_simple)
|
||||
pa_simple_free(pdata->pulse_simple);
|
||||
@@ -126,19 +122,7 @@
|
||||
pulse_init_audio(struct paRecordData* pdata)
|
||||
{
|
||||
//start audio capture thread
|
||||
-#if GLIB_MINOR_VERSION < 31
|
||||
- if( (pdata->pulse_read_th = g_thread_create(
|
||||
- (GThreadFunc) pulse_read_audio,
|
||||
- pdata, //data
|
||||
- FALSE, //joinable - no need waiting for thread to finish
|
||||
- NULL) //error
|
||||
- ) == NULL)
|
||||
-#else
|
||||
- if( (pdata->pulse_read_th = g_thread_new("pulse thread",
|
||||
- (GThreadFunc) pulse_read_audio,
|
||||
- pdata)
|
||||
- ) == NULL)
|
||||
-#endif
|
||||
+ if(__THREAD_CREATE(&pdata->pulse_read_th, (GThreadFunc) pulse_read_audio,pdata))
|
||||
{
|
||||
g_printerr("Pulse thread creation failed\n");
|
||||
return (-1);
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/guvcview/guvcview-1.5.2.ebuild,v 1.1 2012/02/13 10:59:58 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
MY_P=${PN}-src-${PV}
|
||||
DESCRIPTION="GTK+ UVC Viewer"
|
||||
HOMEPAGE="http://guvcview.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="pulseaudio"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.10:2
|
||||
virtual/ffmpeg
|
||||
>=media-libs/libsdl-1.2.10
|
||||
>=media-libs/libpng-1.4
|
||||
media-libs/libv4l
|
||||
>=media-libs/portaudio-19_pre
|
||||
sys-fs/udev
|
||||
x11-libs/gtk+:3
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^guvcviewdocdir/,/^$/d' Makefile.am || die
|
||||
epatch "${FILESDIR}"/${P}-pulse.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-debian-menu \
|
||||
$(use_enable pulseaudio pulse)
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
Some guards so that it can still build with ffmpeg 0.10
|
||||
|
||||
Index: mplayer-1.0_rc4_p20120213/fmt-conversion.c
|
||||
===================================================================
|
||||
--- mplayer-1.0_rc4_p20120213.orig/fmt-conversion.c
|
||||
+++ mplayer-1.0_rc4_p20120213/fmt-conversion.c
|
||||
@@ -65,8 +65,10 @@ static const struct {
|
||||
{IMGFMT_RGBA, PIX_FMT_RGB0},
|
||||
{IMGFMT_RGB64LE, PIX_FMT_RGBA64LE},
|
||||
{IMGFMT_RGB64BE, PIX_FMT_RGBA64BE},
|
||||
+#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51, 35, 101)
|
||||
{IMGFMT_444A, PIX_FMT_YUVA444P},
|
||||
#endif
|
||||
+#endif
|
||||
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51, 20, 1)
|
||||
{IMGFMT_GBR24P, PIX_FMT_GBRP},
|
||||
#endif
|
@ -0,0 +1,649 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_rc4_p20120213.ebuild,v 1.1 2012/02/13 11:14:48 aballier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
EGIT_REPO_URI="git://git.videolan.org/ffmpeg.git"
|
||||
ESVN_REPO_URI="svn://svn.mplayerhq.hu/mplayer/trunk"
|
||||
[[ ${PV} = *9999* ]] && SVN_ECLASS="subversion git-2" || SVN_ECLASS=""
|
||||
|
||||
inherit toolchain-funcs eutils flag-o-matic multilib base ${SVN_ECLASS}
|
||||
|
||||
IUSE="3dnow 3dnowext +a52 aalib +alsa altivec aqua +ass bidi bindist bl bluray
|
||||
bs2b cddb +cdio cdparanoia cpudetection debug dga
|
||||
directfb doc +dts +dv dvb +dvd +dvdnav dxr3 +enca +encode esd faac +faad fbcon
|
||||
ftp gif ggi gsm +iconv ipv6 jack joystick jpeg jpeg2k kernel_linux ladspa
|
||||
libcaca libmpeg2 lirc +live lzo mad md5sum +mmx mmxext mng +mp3 nas
|
||||
+network nut openal +opengl +osdmenu oss png pnm pulseaudio pvr +quicktime
|
||||
radio +rar +real +rtc rtmp samba +shm sdl +speex sse sse2 ssse3
|
||||
tga +theora +tremor +truetype +toolame +twolame +unicode v4l vdpau vidix
|
||||
+vorbis win32codecs +X +x264 xanim xinerama +xscreensaver +xv +xvid xvmc
|
||||
zoran"
|
||||
|
||||
VIDEO_CARDS="s3virge mga tdfx"
|
||||
for x in ${VIDEO_CARDS}; do
|
||||
IUSE+=" video_cards_${x}"
|
||||
done
|
||||
|
||||
FONT_URI="
|
||||
mirror://mplayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
|
||||
mirror://mplayer/releases/fonts/font-arial-iso-8859-2.tar.bz2
|
||||
mirror://mplayer/releases/fonts/font-arial-cp1250.tar.bz2
|
||||
"
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
RELEASE_URI=""
|
||||
else
|
||||
RELEASE_URI="mirror://gentoo/${P}.tar.xz"
|
||||
fi
|
||||
SRC_URI="${RELEASE_URI}
|
||||
!truetype? ( ${FONT_URI} )"
|
||||
|
||||
DESCRIPTION="Media Player for Linux"
|
||||
HOMEPAGE="http://www.mplayerhq.hu/"
|
||||
|
||||
FONT_RDEPS="
|
||||
virtual/ttf-fonts
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2.2.1:2
|
||||
"
|
||||
X_RDEPS="
|
||||
x11-libs/libXext
|
||||
x11-libs/libXxf86vm
|
||||
"
|
||||
# Rar: althrought -gpl version is nice, it cant do most functions normal rars can
|
||||
# nemesi? ( net-libs/libnemesi )
|
||||
RDEPEND+="
|
||||
sys-libs/ncurses
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib
|
||||
>=media-video/ffmpeg-0.10
|
||||
!bindist? (
|
||||
x86? (
|
||||
win32codecs? ( media-libs/win32codecs )
|
||||
)
|
||||
)
|
||||
a52? ( media-libs/a52dec )
|
||||
aalib? ( media-libs/aalib )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
ass? ( >=media-libs/libass-0.9.10[enca?] )
|
||||
bidi? ( dev-libs/fribidi )
|
||||
bluray? ( >=media-libs/libbluray-0.2.1 )
|
||||
bs2b? ( media-libs/libbs2b )
|
||||
cdio? ( dev-libs/libcdio )
|
||||
cdparanoia? ( !cdio? ( media-sound/cdparanoia ) )
|
||||
dga? ( x11-libs/libXxf86dga )
|
||||
directfb? ( dev-libs/DirectFB )
|
||||
dts? ( media-libs/libdca )
|
||||
dv? ( media-libs/libdv )
|
||||
dvb? ( media-tv/linuxtv-dvb-headers )
|
||||
dvd? ( >=media-libs/libdvdread-4.1.3 )
|
||||
dvdnav? ( >=media-libs/libdvdnav-4.1.3 )
|
||||
encode? (
|
||||
!twolame? ( toolame? ( media-sound/toolame ) )
|
||||
twolame? ( media-sound/twolame )
|
||||
faac? ( media-libs/faac )
|
||||
mp3? ( media-sound/lame )
|
||||
x264? ( >=media-libs/x264-0.0.20100423 )
|
||||
xvid? ( media-libs/xvid )
|
||||
)
|
||||
esd? ( media-sound/esound )
|
||||
enca? ( app-i18n/enca )
|
||||
faad? ( media-libs/faad2 )
|
||||
ggi? ( media-libs/libggi media-libs/libggiwmh )
|
||||
gif? ( media-libs/giflib )
|
||||
gsm? ( media-sound/gsm )
|
||||
iconv? ( virtual/libiconv )
|
||||
jack? ( media-sound/jack-audio-connection-kit )
|
||||
jpeg? ( virtual/jpeg )
|
||||
jpeg2k? ( media-libs/openjpeg )
|
||||
ladspa? ( media-libs/ladspa-sdk )
|
||||
libcaca? ( media-libs/libcaca )
|
||||
libmpeg2? ( media-libs/libmpeg2 )
|
||||
lirc? ( app-misc/lirc )
|
||||
live? ( media-plugins/live )
|
||||
lzo? ( >=dev-libs/lzo-2 )
|
||||
mad? ( media-libs/libmad )
|
||||
mng? ( media-libs/libmng )
|
||||
mp3? ( media-sound/mpg123 )
|
||||
nas? ( media-libs/nas )
|
||||
nut? ( >=media-libs/libnut-661 )
|
||||
openal? ( media-libs/openal )
|
||||
opengl? ( virtual/opengl )
|
||||
png? ( media-libs/libpng )
|
||||
pnm? ( media-libs/netpbm )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
rar? (
|
||||
|| (
|
||||
app-arch/unrar
|
||||
app-arch/rar
|
||||
)
|
||||
)
|
||||
rtmp? ( media-video/rtmpdump )
|
||||
samba? ( net-fs/samba )
|
||||
sdl? ( media-libs/libsdl )
|
||||
speex? ( media-libs/speex )
|
||||
theora? ( media-libs/libtheora[encode?] )
|
||||
truetype? ( ${FONT_RDEPS} )
|
||||
vdpau? ( x11-libs/libvdpau )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
X? ( ${X_RDEPS} )
|
||||
xanim? ( media-video/xanim )
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xscreensaver? ( x11-libs/libXScrnSaver )
|
||||
xv? ( x11-libs/libXv )
|
||||
xvmc? ( x11-libs/libXvMC )
|
||||
"
|
||||
|
||||
X_DEPS="
|
||||
x11-proto/videoproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
"
|
||||
ASM_DEP="dev-lang/yasm"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
dga? ( x11-proto/xf86dgaproto )
|
||||
dxr3? ( media-video/em8300-libraries )
|
||||
X? ( ${X_DEPS} )
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
xscreensaver? ( x11-proto/scrnsaverproto )
|
||||
amd64? ( ${ASM_DEP} )
|
||||
doc? (
|
||||
dev-libs/libxslt app-text/docbook-xml-dtd
|
||||
app-text/docbook-xsl-stylesheets
|
||||
)
|
||||
x86? ( ${ASM_DEP} )
|
||||
x86-fbsd? ( ${ASM_DEP} )
|
||||
"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
KEYWORDS="~amd64 ~hppa ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
# faac codecs are nonfree, win32codecs are nonfree
|
||||
# libcdio support: prefer libcdio over cdparanoia and don't check for cddb w/cdio
|
||||
# dvd navigation requires dvd read support
|
||||
# ass and freetype font require iconv and ass requires freetype fonts
|
||||
# unicode transformations are usefull only with iconv
|
||||
# libvorbis require external tremor to work
|
||||
# radio requires oss or alsa backend
|
||||
# xvmc requires xvideo support
|
||||
REQUIRED_USE="bindist? ( !faac !win32codecs )
|
||||
dvdnav? ( dvd )
|
||||
ass? ( truetype )
|
||||
truetype? ( iconv )
|
||||
dxr3? ( X )
|
||||
ggi? ( X )
|
||||
xinerama? ( X )
|
||||
dga? ( X )
|
||||
opengl? ( X )
|
||||
osdmenu? ( X )
|
||||
vdpau? ( X )
|
||||
vidix? ( X )
|
||||
xscreensaver? ( X )
|
||||
xv? ( X )
|
||||
xvmc? ( xv )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/ffmpeg.patch" )
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
elog
|
||||
elog "This is a live ebuild which installs the latest from upstream's"
|
||||
elog "subversion repository, and is unsupported by Gentoo."
|
||||
elog "Everything but bugs in the ebuild itself will be ignored."
|
||||
elog
|
||||
fi
|
||||
|
||||
if use cpudetection; then
|
||||
ewarn
|
||||
ewarn "You've enabled the cpudetection flag. This feature is"
|
||||
ewarn "included mainly for people who want to use the same"
|
||||
ewarn "binary on another system with a different CPU architecture."
|
||||
ewarn "MPlayer will already detect your CPU settings by default at"
|
||||
ewarn "buildtime; this flag is used for runtime detection."
|
||||
ewarn "You won't need this turned on if you are only building"
|
||||
ewarn "mplayer for this system. Also, if your compile fails, try"
|
||||
ewarn "disabling this use flag."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
subversion_src_unpack
|
||||
cd "${WORKDIR}"
|
||||
rm -rf "${WORKDIR}/${P}/ffmpeg/"
|
||||
( S="${WORKDIR}/${P}/ffmpeg/" git-2_src_unpack )
|
||||
cd "${S}"
|
||||
cp "${FILESDIR}/dump_ffmpeg.sh" . || die
|
||||
chmod +x dump_ffmpeg.sh
|
||||
./dump_ffmpeg.sh || die
|
||||
else
|
||||
unpack ${A}
|
||||
fi
|
||||
|
||||
if ! use truetype; then
|
||||
unpack font-arial-iso-8859-1.tar.bz2 \
|
||||
font-arial-iso-8859-2.tar.bz2 \
|
||||
font-arial-cp1250.tar.bz2
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local svf=snapshot_version
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Set SVN version manually
|
||||
subversion_wc_info
|
||||
printf "${ESVN_WC_REVISION}" > $svf
|
||||
fi
|
||||
[ -f "$svf" ] || die "Missing ${svf}. Did you generate your snapshot with prepare_mplayer.sh?"
|
||||
local sv=$(<$svf)
|
||||
printf "SVN-r${sv} (Gentoo)" > VERSION
|
||||
|
||||
# fix path to bash executable in configure scripts
|
||||
sed -i -e "1c\#!${EPREFIX}/bin/bash" configure version.sh || die
|
||||
|
||||
base_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
local uses i
|
||||
|
||||
# set LINGUAS
|
||||
[[ -n $LINGUAS ]] && LINGUAS="${LINGUAS/da/dk}"
|
||||
|
||||
# mplayer ebuild uses "use foo || --disable-foo" to forcibly disable
|
||||
# compilation in almost every situation. The reason for this is
|
||||
# because if --enable is used, it will force the build of that option,
|
||||
# regardless of whether the dependency is available or not.
|
||||
|
||||
###################
|
||||
#Optional features#
|
||||
###################
|
||||
# disable svga since we don't want it
|
||||
# disable arts since we don't have kde3
|
||||
# always disable internal ass
|
||||
myconf+="
|
||||
--disable-svga --disable-svgalib_helper
|
||||
--disable-ass-internal
|
||||
--disable-arts
|
||||
--disable-kai
|
||||
$(use_enable network networking)
|
||||
$(use_enable joystick)
|
||||
"
|
||||
uses="ass bl bluray enca ftp rtc" # nemesi <- not working with in-tree ebuild
|
||||
myconf+=" --disable-nemesi" # nemesi automagic disable
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
use bidi || myconf+=" --disable-fribidi"
|
||||
use ipv6 || myconf+=" --disable-inet6"
|
||||
use nut || myconf+=" --disable-libnut"
|
||||
use rar || myconf+=" --disable-unrarexec"
|
||||
use samba || myconf+=" --disable-smb"
|
||||
use lirc || myconf+=" --disable-lirc --disable-lircc --disable-apple-ir"
|
||||
|
||||
# libcdio support: prefer libcdio over cdparanoia
|
||||
# don't check for cddb w/cdio
|
||||
if use cdio; then
|
||||
myconf+=" --disable-cdparanoia"
|
||||
else
|
||||
myconf+=" --disable-libcdio"
|
||||
use cdparanoia || myconf+=" --disable-cdparanoia"
|
||||
use cddb || myconf+=" --disable-cddb"
|
||||
fi
|
||||
|
||||
################################
|
||||
# DVD read, navigation support #
|
||||
################################
|
||||
#
|
||||
# dvdread - accessing a DVD
|
||||
# dvdnav - navigation of menus
|
||||
#
|
||||
# use external libdvdcss, dvdread and dvdnav
|
||||
myconf+=" --disable-dvdread-internal --disable-libdvdcss-internal"
|
||||
use dvd || myconf+=" --disable-dvdread"
|
||||
use dvdnav || myconf+=" --disable-dvdnav"
|
||||
|
||||
#############
|
||||
# Subtitles #
|
||||
#############
|
||||
#
|
||||
# SRT/ASS/SSA (subtitles) requires freetype support
|
||||
# freetype support requires iconv
|
||||
# iconv optionally can use unicode
|
||||
use truetype || myconf+=" --disable-freetype"
|
||||
use iconv || myconf+=" --disable-iconv --charset=noconv"
|
||||
use iconv && use unicode && myconf+=" --charset=UTF-8"
|
||||
|
||||
#####################################
|
||||
# DVB / Video4Linux / Radio support #
|
||||
#####################################
|
||||
myconf+=" --disable-tv-bsdbt848"
|
||||
# broken upstream, won't work with recent kernels
|
||||
myconf+=" --disable-ivtv"
|
||||
# gone since linux-headers-2.6.38
|
||||
myconf+=" --disable-tv-v4l1"
|
||||
if { use dvb || use v4l || use pvr || use radio; }; then
|
||||
use dvb || myconf+=" --disable-dvb"
|
||||
use pvr || myconf+=" --disable-pvr"
|
||||
use v4l || myconf+=" --disable-tv-v4l2"
|
||||
if use radio && { use dvb || use v4l; }; then
|
||||
myconf+="
|
||||
--enable-radio
|
||||
$(use_enable encode radio-capture)
|
||||
"
|
||||
else
|
||||
myconf+="
|
||||
--disable-radio-v4l2
|
||||
--disable-radio-bsdbt848
|
||||
"
|
||||
fi
|
||||
else
|
||||
myconf+="
|
||||
--disable-tv
|
||||
--disable-tv-v4l2
|
||||
--disable-radio
|
||||
--disable-radio-v4l2
|
||||
--disable-radio-bsdbt848
|
||||
--disable-dvb
|
||||
--disable-v4l2
|
||||
--disable-pvr"
|
||||
fi
|
||||
|
||||
##########
|
||||
# Codecs #
|
||||
##########
|
||||
myconf+=" --disable-musepack" # Use internal musepack codecs for SV7 and SV8 support
|
||||
myconf+=" --disable-libmpeg2-internal" # always use system media-libs/libmpeg2
|
||||
use dts || myconf+=" --disable-libdca"
|
||||
# Disable internal mp3lib, bug #384849
|
||||
# Samuli Suominen: Looks like MPlayer in Portage is using internal mp3lib by
|
||||
# default, where as mpg123 upstream has incorporated all the optimizations
|
||||
# from mplayer's mp3lib in libmpg123 and more.
|
||||
# It makes very little sense to use the internal copy as default anymore.
|
||||
myconf+=" --disable-mp3lib"
|
||||
if ! use mp3; then
|
||||
myconf+="
|
||||
--disable-mp3lame
|
||||
--disable-mpg123
|
||||
"
|
||||
fi
|
||||
uses="a52 bs2b dv gsm lzo rtmp"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-lib${i}"
|
||||
done
|
||||
|
||||
uses="faad gif jpeg libmpeg2 live mad mng png pnm speex tga theora xanim"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
use jpeg2k || myconf+=" --disable-libopenjpeg"
|
||||
if use vorbis || use tremor; then
|
||||
use tremor || myconf+=" --disable-tremor-internal"
|
||||
use vorbis || myconf+=" --disable-libvorbis"
|
||||
else
|
||||
myconf+="
|
||||
--disable-tremor-internal
|
||||
--disable-tremor
|
||||
--disable-libvorbis
|
||||
"
|
||||
fi
|
||||
# Encoding
|
||||
uses="faac x264 xvid toolame twolame"
|
||||
if use encode; then
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
else
|
||||
myconf+=" --disable-mencoder"
|
||||
for i in ${uses}; do
|
||||
myconf+=" --disable-${i}"
|
||||
use ${i} && elog "Useflag \"${i}\" will only be useful for encoding, i.e., with \"encode\" useflag enabled."
|
||||
done
|
||||
fi
|
||||
|
||||
#################
|
||||
# Binary codecs #
|
||||
#################
|
||||
# bug 213836
|
||||
if ! use x86 || ! use win32codecs; then
|
||||
use quicktime || myconf+=" --disable-qtx"
|
||||
fi
|
||||
|
||||
######################
|
||||
# RealPlayer support #
|
||||
######################
|
||||
# Realplayer support shows up in four places:
|
||||
# - libavcodec (internal)
|
||||
# - win32codecs
|
||||
# - realcodecs (win32codecs libs)
|
||||
# - realcodecs (realplayer libs)
|
||||
|
||||
# internal
|
||||
use real || myconf+=" --disable-real"
|
||||
|
||||
# Real binary codec support only available on x86, amd64
|
||||
if use real; then
|
||||
use x86 && myconf+=" --codecsdir=/opt/RealPlayer/codecs"
|
||||
use amd64 && myconf+=" --codecsdir=/usr/$(get_libdir)/codecs"
|
||||
fi
|
||||
myconf+=" $(use_enable win32codecs win32dll)"
|
||||
|
||||
################
|
||||
# Video Output #
|
||||
################
|
||||
uses="directfb md5sum sdl"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
use aalib || myconf+=" --disable-aa"
|
||||
use fbcon || myconf+=" --disable-fbdev"
|
||||
use fbcon && use video_cards_s3virge && myconf+=" --enable-s3fb"
|
||||
use libcaca || myconf+=" --disable-caca"
|
||||
use zoran || myconf+=" --disable-zr"
|
||||
|
||||
if ! use kernel_linux || ! use video_cards_mga; then
|
||||
myconf+=" --disable-mga --disable-xmga"
|
||||
fi
|
||||
|
||||
if use video_cards_tdfx; then
|
||||
myconf+="
|
||||
$(use_enable video_cards_tdfx tdfxvid)
|
||||
$(use_enable fbcon tdfxfb)
|
||||
"
|
||||
else
|
||||
myconf+="
|
||||
--disable-3dfx
|
||||
--disable-tdfxvid
|
||||
--disable-tdfxfb
|
||||
"
|
||||
fi
|
||||
|
||||
# sun card, disable by default, see bug #258729
|
||||
myconf+=" --disable-xvr100"
|
||||
|
||||
################
|
||||
# Audio Output #
|
||||
################
|
||||
uses="alsa esd jack ladspa nas openal"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
use pulseaudio || myconf+=" --disable-pulse"
|
||||
if ! use radio; then
|
||||
use oss || myconf+=" --disable-ossaudio"
|
||||
fi
|
||||
|
||||
####################
|
||||
# Advanced Options #
|
||||
####################
|
||||
# Platform specific flags, hardcoded on amd64 (see below)
|
||||
use cpudetection && myconf+=" --enable-runtime-cpudetection"
|
||||
|
||||
uses="3dnow 3dnowext altivec mmx mmxext shm sse sse2 ssse3"
|
||||
for i in ${uses}; do
|
||||
myconf+=" $(use_enable ${i})"
|
||||
done
|
||||
|
||||
use debug && myconf+=" --enable-debug=3"
|
||||
|
||||
if use x86 && gcc-specs-pie; then
|
||||
filter-flags -fPIC -fPIE
|
||||
append-ldflags -nopie
|
||||
fi
|
||||
|
||||
###########################
|
||||
# X enabled configuration #
|
||||
###########################
|
||||
myconf+=" --disable-gui"
|
||||
myconf+=" --disable-vesa"
|
||||
uses="dxr3 ggi vdpau xinerama xv"
|
||||
for i in ${uses}; do
|
||||
use ${i} || myconf+=" --disable-${i}"
|
||||
done
|
||||
use dga || myconf+=" --disable-dga1 --disable-dga2"
|
||||
use opengl || myconf+=" --disable-gl"
|
||||
use osdmenu && myconf+=" --enable-menu"
|
||||
use vidix || myconf+=" --disable-vidix --disable-vidix-pcidb"
|
||||
use xscreensaver || myconf+=" --disable-xss"
|
||||
use X || myconf+=" --disable-x11"
|
||||
if use xvmc; then
|
||||
myconf+=" --enable-xvmc --with-xvmclib=XvMCW"
|
||||
else
|
||||
myconf+=" --disable-xvmc"
|
||||
fi
|
||||
|
||||
############################
|
||||
# OSX (aqua) configuration #
|
||||
############################
|
||||
if use aqua; then
|
||||
myconf+="
|
||||
--enable-macosx-finder
|
||||
--enable-macosx-bundle
|
||||
"
|
||||
fi
|
||||
|
||||
./configure \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)" \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--bindir="${EPREFIX}/usr/bin" \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
--confdir="${EPREFIX}/etc/mplayer" \
|
||||
--datadir="${EPREFIX}/usr/share/mplayer${namesuf}" \
|
||||
--mandir="${EPREFIX}/usr/share/man" \
|
||||
--disable-ffmpeg_a \
|
||||
${myconf} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
base_src_compile
|
||||
# Build only user-requested docs if they're available.
|
||||
if use doc ; then
|
||||
# select available languages from $LINGUAS
|
||||
LINGUAS=${LINGUAS/zh/zh_CN}
|
||||
local ALLOWED_LINGUAS="cs de en es fr hu it pl ru zh_CN"
|
||||
local BUILT_DOCS=""
|
||||
for i in ${LINGUAS} ; do
|
||||
has ${i} ${ALLOWED_LINGUAS} && BUILT_DOCS+=" ${i}"
|
||||
done
|
||||
if [[ -z $BUILT_DOCS ]]; then
|
||||
emake -j1 html-chunked
|
||||
else
|
||||
for i in ${BUILT_DOCS}; do
|
||||
emake -j1 html-chunked-${i}
|
||||
done
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
INSTALLSTRIP="" \
|
||||
install
|
||||
|
||||
dodoc AUTHORS Changelog Copyright README etc/codecs.conf
|
||||
|
||||
docinto tech/
|
||||
dodoc DOCS/tech/{*.txt,MAINTAINERS,mpsub.sub,playtree,TODO,wishlist}
|
||||
docinto TOOLS/
|
||||
dodoc -r TOOLS
|
||||
if use real; then
|
||||
docinto tech/realcodecs/
|
||||
dodoc DOCS/tech/realcodecs/*
|
||||
fi
|
||||
docinto tech/mirrors/
|
||||
dodoc DOCS/tech/mirrors/*
|
||||
|
||||
if use doc; then
|
||||
docinto html/
|
||||
dohtml -r "${S}"/DOCS/HTML/*
|
||||
fi
|
||||
|
||||
if ! use truetype; then
|
||||
dodir /usr/share/mplayer/fonts
|
||||
# Do this generic, as the mplayer people like to change the structure
|
||||
# of their zips ...
|
||||
for i in $(find "${WORKDIR}/" -type d -name 'font-arial-*'); do
|
||||
cp -pPR "${i}" "${ED}/usr/share/mplayer/fonts"
|
||||
done
|
||||
# Fix the font symlink ...
|
||||
rm -rf "${ED}/usr/share/mplayer/font"
|
||||
dosym fonts/font-arial-14-iso-8859-1 /usr/share/mplayer/font
|
||||
fi
|
||||
|
||||
insinto /etc/mplayer
|
||||
newins "${S}/etc/example.conf" mplayer.conf
|
||||
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
|
||||
# Config options can be section specific, global
|
||||
# options should go in the default section
|
||||
[default]
|
||||
_EOF_
|
||||
doins "${S}/etc/input.conf"
|
||||
if use osdmenu; then
|
||||
doins "${S}/etc/menu.conf"
|
||||
fi
|
||||
|
||||
if use truetype; then
|
||||
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
|
||||
fontconfig=1
|
||||
subfont-osd-scale=4
|
||||
subfont-text-scale=3
|
||||
_EOF_
|
||||
fi
|
||||
|
||||
# bug 256203
|
||||
if use rar; then
|
||||
cat >> "${ED}/etc/mplayer/mplayer.conf" << _EOF_
|
||||
unrarexec=${EPREFIX}/usr/bin/unrar
|
||||
_EOF_
|
||||
fi
|
||||
|
||||
dosym ../../../etc/mplayer/mplayer.conf /usr/share/mplayer/mplayer.conf
|
||||
newbin "${S}/TOOLS/midentify.sh" midentify
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
[[ -d ${EROOT}/usr/share/mplayer/Skin/default ]] && \
|
||||
rm -rf "${EROOT}/usr/share/mplayer/Skin/default"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# Cleanup stale symlinks
|
||||
[ -L "${EROOT}/usr/share/mplayer/font" -a \
|
||||
! -e "${EROOT}/usr/share/mplayer/font" ] && \
|
||||
rm -f "${EROOT}/usr/share/mplayer/font"
|
||||
|
||||
[ -L "${EROOT}/usr/share/mplayer/subfont.ttf" -a \
|
||||
! -e "${EROOT}/usr/share/mplayer/subfont.ttf" ] && \
|
||||
rm -f "${EROOT}/usr/share/mplayer/subfont.ttf"
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
>=dev-libs/glib-2.28:2 dev-libs/libgee:0 dev-libs/libunique:1 >=x11-libs/gtk+-2.16:2 >=x11-libs/gtksourceview-2.10:2.0 x11-libs/gdk-pixbuf:2 x11-libs/libX11 x11-libs/pango gnome? ( gnome-base/gsettings-desktop-schemas ) dev-util/itstool dev-util/pkgconfig sys-devel/gettext >=dev-util/cmake-2.6.4 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) app-arch/xz-utils >=sys-apps/sed-4
|
||||
>=dev-libs/glib-2.28:2 dev-libs/libgee:0 dev-libs/libunique:1 >=x11-libs/gtk+-2.16:2 >=x11-libs/gtksourceview-2.10:2.0 x11-libs/gdk-pixbuf:2 x11-libs/libX11 x11-libs/pango gnome? ( gnome-base/gsettings-desktop-schemas ) virtual/latex-base x11-themes/hicolor-icon-theme latexmk? ( dev-tex/latexmk ) rubber? ( dev-tex/rubber )
|
||||
0
|
||||
mirror://gnome/sources/latexila/2.2/latexila-2.2.3.tar.xz
|
||||
|
||||
http://projects.gnome.org/latexila/
|
||||
GPL-3
|
||||
Integrated LaTeX environment for GNOME
|
||||
~amd64 ~x86
|
||||
base cmake-utils eutils fdo-mime flag-o-matic gnome.org gnome2 gnome2-utils libtool multilib portability toolchain-funcs user versionator
|
||||
gnome +latexmk rubber
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install postinst postrm preinst prepare setup test unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
>=dev-libs/glib-2.13:2 >=dev-libs/popt-1.5 >=dev-libs/libxml2-2.5.10:2 >=dev-scheme/guile-1.8.3:12[deprecated,regex] dev-scheme/guile-www >=dev-scheme/slib-3.1.4 >=gnome-base/gconf-2:2 >=gnome-base/libgnomeui-2.4 >=gnome-base/libglade-2.4:2.0 gnome-base/libgnome-keyring media-libs/libart_lgpl >=sys-libs/zlib-1.1.4 >=x11-libs/gtk+-2.14:2 x11-libs/goffice:0.8[gnome] x11-libs/pango cxx? ( dev-cpp/gtkmm:2.4 ) ofx? ( >=dev-libs/libofx-0.9.1 ) hbci? ( >=net-libs/aqbanking-5[gtk] sys-libs/gwenhywfar[gtk] chipcard? ( sys-libs/libchipcard ) ) quotes? ( dev-perl/DateManip >=dev-perl/Finance-Quote-1.11 dev-perl/HTML-TableExtract ) webkit? ( net-libs/webkit-gtk:2 ) !webkit? ( >=gnome-extra/gtkhtml-3.16:3.14 ) sqlite? ( dev-db/libdbi dev-db/libdbi-drivers[sqlite3] ) postgres? ( dev-db/libdbi dev-db/libdbi-drivers[postgres] ) mysql? ( dev-db/libdbi dev-db/libdbi-drivers[mysql] ) >=app-text/scrollkeeper-0.3 dev-util/pkgconfig dev-util/intltool gnome-base/gnome-common sys-devel/libtool app-arch/xz-utils >=sys-apps/sed-4 >=app-admin/eselect-python-20091230 python? ( || ( =dev-lang/python-2.7* =dev-lang/python-2.6* =dev-lang/python-2.5* ) )
|
||||
>=dev-libs/glib-2.13:2 >=dev-libs/popt-1.5 >=dev-libs/libxml2-2.5.10:2 >=dev-scheme/guile-1.8.3:12[deprecated,regex] dev-scheme/guile-www >=dev-scheme/slib-3.1.4 >=gnome-base/gconf-2:2 >=gnome-base/libgnomeui-2.4 >=gnome-base/libglade-2.4:2.0 gnome-base/libgnome-keyring media-libs/libart_lgpl >=sys-libs/zlib-1.1.4 >=x11-libs/gtk+-2.14:2 x11-libs/goffice:0.8[gnome] x11-libs/pango cxx? ( dev-cpp/gtkmm:2.4 ) ofx? ( >=dev-libs/libofx-0.9.1 ) hbci? ( >=net-libs/aqbanking-5[gtk] sys-libs/gwenhywfar[gtk] chipcard? ( sys-libs/libchipcard ) ) quotes? ( dev-perl/DateManip >=dev-perl/Finance-Quote-1.11 dev-perl/HTML-TableExtract ) webkit? ( net-libs/webkit-gtk:2 ) !webkit? ( >=gnome-extra/gtkhtml-3.16:3.14 ) sqlite? ( dev-db/libdbi dev-db/libdbi-drivers[sqlite3] ) postgres? ( dev-db/libdbi dev-db/libdbi-drivers[postgres] ) mysql? ( dev-db/libdbi dev-db/libdbi-drivers[mysql] ) >=app-admin/eselect-python-20091230 python? ( || ( =dev-lang/python-2.7* =dev-lang/python-2.6* =dev-lang/python-2.5* ) )
|
||||
0
|
||||
mirror://sourceforge/gnucash/gnucash-2.4.10.tar.bz2
|
||||
|
||||
http://www.gnucash.org/
|
||||
GPL-2
|
||||
A personal finance manager
|
||||
~amd64 ~ppc ~ppc64 ~x86
|
||||
eutils fdo-mime gnome.org gnome2 gnome2-utils libtool multilib portability python toolchain-funcs user versionator
|
||||
chipcard cxx debug +doc hbci mysql ofx postgres python quotes sqlite webkit
|
||||
|
||||
doc? ( >=app-doc/gnucash-docs-2.2.0 )
|
||||
|
||||
4
|
||||
|
||||
compile configure install postinst postrm preinst prepare setup test unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
dev-libs/hyphen dev-libs/libxml2 media-libs/fontconfig media-libs/freetype:2 media-libs/lcms:2 media-libs/libpng:0 media-libs/tiff:0 net-print/cups sys-libs/zlib x11-libs/qt-core:4 x11-libs/qt-gui:4 virtual/jpeg spell? ( app-text/aspell ) pdf? ( app-text/podofo ) cairo? ( x11-libs/cairo[X,svg] ) dev-libs/boost >=dev-util/cmake-2.8.4 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) >=app-admin/eselect-python-20091230 =dev-lang/python-2* dev-vcs/subversion net-misc/rsync
|
||||
dev-libs/hyphen dev-libs/libxml2 media-libs/fontconfig media-libs/freetype:2 media-libs/lcms:2 media-libs/libpng:0 media-libs/tiff:0 net-print/cups sys-libs/zlib x11-libs/qt-core:4 x11-libs/qt-gui:4 virtual/jpeg spell? ( app-text/aspell ) pdf? ( app-text/podofo ) cairo? ( x11-libs/cairo[X,svg] ) app-text/ghostscript-gpl >=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
0
|
||||
|
||||
|
||||
http://www.scribus.net/
|
||||
GPL-2
|
||||
Desktop publishing (DTP) and layout program
|
||||
|
||||
base cmake-utils eutils fdo-mime flag-o-matic multilib portability python subversion toolchain-funcs user
|
||||
cairo debug examples +minimal +pdf spell templates linguas_af linguas_ar linguas_bg linguas_br linguas_ca linguas_cs_CZ linguas_cy linguas_da_DK linguas_de_1901 linguas_de_CH linguas_de linguas_el linguas_en_AU linguas_en_GB linguas_en_US linguas_es_ES linguas_et linguas_eu linguas_fi linguas_fr linguas_gl linguas_hu linguas_id linguas_it linguas_ja linguas_ko linguas_lt_LT linguas_nb_NO linguas_nl linguas_pl_PL linguas_pt_BR linguas_pt linguas_ru linguas_sa linguas_sk_SK linguas_sl linguas_sq linguas_sr linguas_sv linguas_th_TH linguas_tr linguas_uk linguas_zh_CN linguas_zh_TW
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install postinst postrm preinst prepare setup test unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
dev-libs/hyphen dev-libs/libxml2 media-libs/fontconfig media-libs/freetype:2 media-libs/lcms:2 media-libs/libpng:0 media-libs/tiff:0 net-print/cups sys-libs/zlib x11-libs/qt-core:4 x11-libs/qt-gui:4 virtual/jpeg spell? ( app-text/aspell ) pdf? ( app-text/podofo ) cairo? ( x11-libs/cairo[X,svg] ) dev-libs/boost >=dev-util/cmake-2.8.4 userland_GNU? ( >=sys-apps/findutils-4.4.0 ) >=app-admin/eselect-python-20091230 =dev-lang/python-2* dev-vcs/subversion net-misc/rsync
|
||||
dev-libs/hyphen dev-libs/libxml2 media-libs/fontconfig media-libs/freetype:2 media-libs/lcms:2 media-libs/libpng:0 media-libs/tiff:0 net-print/cups sys-libs/zlib x11-libs/qt-core:4 x11-libs/qt-gui:4 virtual/jpeg spell? ( app-text/aspell ) pdf? ( app-text/podofo ) cairo? ( x11-libs/cairo[X,svg] ) app-text/ghostscript-gpl >=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
0
|
||||
|
||||
|
||||
http://www.scribus.net/
|
||||
GPL-2
|
||||
Desktop publishing (DTP) and layout program
|
||||
|
||||
base cmake-utils eutils fdo-mime flag-o-matic multilib portability python subversion toolchain-funcs user
|
||||
cairo debug examples +minimal +pdf spell templates linguas_af linguas_ar linguas_bg linguas_br linguas_ca linguas_cs_CZ linguas_cy linguas_da_DK linguas_de_1901 linguas_de_CH linguas_de linguas_el linguas_en_AU linguas_en_GB linguas_en_US linguas_es_ES linguas_et linguas_eu linguas_fi linguas_fr linguas_gl linguas_hu linguas_id linguas_it linguas_ja linguas_ko linguas_lt_LT linguas_nb_NO linguas_nl linguas_pl_PL linguas_pt_BR linguas_pt linguas_ru linguas_sa linguas_sk_SK linguas_sl linguas_sq linguas_sr linguas_sv linguas_th_TH linguas_tr linguas_uk linguas_zh_CN linguas_zh_TW
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install postinst postrm preinst prepare setup test unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
|
||||
|
||||
0
|
||||
http://www.aei.mpg.de/~peekas/tree/tree-2.65.tar.gz
|
||||
|
||||
http://www.aei.mpg.de/~peekas/tree/
|
||||
|| ( GPL-2 GPL-3 )
|
||||
An STL-like tree class
|
||||
amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos
|
||||
eutils multilib portability toolchain-funcs user
|
||||
doc
|
||||
|
||||
|
||||
|
||||
2
|
||||
|
||||
install prepare test
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
dev-libs/glib:2 >=dev-libs/libxml2-2.4.23 dev-util/pkgconfig doc? ( >=dev-util/gtk-doc-1 ) app-arch/xz-utils >=sys-apps/sed-4
|
||||
dev-libs/glib:2 >=dev-libs/libxml2-2.4.23
|
||||
0.6
|
||||
mirror://gnome/sources/libcroco/0.6/libcroco-0.6.4.tar.xz
|
||||
|
||||
http://git.gnome.org/browse/libcroco/
|
||||
LGPL-2
|
||||
Generic Cascading Style Sheet (CSS) parsing and manipulation toolkit
|
||||
~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd
|
||||
eutils fdo-mime gnome.org gnome2 gnome2-utils libtool multilib portability toolchain-funcs user versionator
|
||||
doc test
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install postinst postrm preinst prepare setup unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
>=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
>=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
0
|
||||
http://launchpad.net/python-fastimport/trunk/0.9.0/+download/python-fastimport-0.9.0.tar.gz
|
||||
|
||||
https://launchpad.net/python-fastimport
|
||||
GPL-2
|
||||
Library for parsing the fastimport VCS serialization format
|
||||
~amd64 ~x86
|
||||
distutils multilib python toolchain-funcs
|
||||
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile install postinst postrm prepare setup
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
>=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
>=dev-vcs/bzr-1.18 >=dev-python/python-fastimport-0.9 >=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
0
|
||||
http://launchpad.net/bzr-fastimport/trunk/0.11.0/+download/bzr-fastimport-0.11.0.tar.gz
|
||||
|
||||
https://launchpad.net/bzr-fastimport http://wiki.bazaar.canonical.com/BzrFastImport
|
||||
GPL-2
|
||||
Plugin providing fast loading of revision control data into Bazaar
|
||||
~amd64 ~x86
|
||||
distutils multilib python toolchain-funcs
|
||||
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile install postinst postrm prepare setup
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
app-arch/xz-utils >=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
>=dev-vcs/bzr-2.2 dev-vcs/git >=dev-vcs/bzr-fastimport-0.10 dev-python/python-fastimport >=app-admin/eselect-python-20091230 =dev-lang/python-2*
|
||||
0
|
||||
http://dev.gentoo.org/~tetromino/distfiles/git-bzr-ng/git-bzr-ng-0_pre20120130.tar.xz
|
||||
|
||||
https://github.com/termie/git-bzr-ng
|
||||
BSD
|
||||
Git subcommand providing a bidirectional bridge to Bazaar repositories
|
||||
~amd64 ~x86
|
||||
multilib python toolchain-funcs
|
||||
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
install prepare setup
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
dev-db/sqlite:3 dev-libs/libxml2:2 flickr? ( media-libs/flickcurl ) gnome? ( gnome-base/gconf gnome-base/gnome-keyring ) gnome-base/librsvg:2 gphoto2? ( media-libs/libgphoto2 ) kde? ( dev-libs/dbus-glib ) media-gfx/exiv2 media-libs/lcms:2 >=media-libs/lensfun-0.2.3 media-libs/libpng >=media-libs/libraw-0.13.4[demosaic] media-libs/openexr media-libs/tiff net-misc/curl slideshow? ( media-libs/libsdl virtual/opengl ) virtual/jpeg x11-libs/cairo x11-libs/gdk-pixbuf:2 x11-libs/gtk+:2 dev-util/pkgconfig nls? ( sys-devel/gettext ) openmp? ( >=sys-devel/gcc-4.4[openmp] ) app-arch/xz-utils >=sys-apps/sed-4 >=dev-util/cmake-2.8.4 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
|
||||
dev-db/sqlite:3 dev-libs/libxml2:2 flickr? ( media-libs/flickcurl ) gnome? ( gnome-base/gconf gnome-base/gnome-keyring ) gnome-base/librsvg:2 gphoto2? ( media-libs/libgphoto2 ) kde? ( dev-libs/dbus-glib ) media-gfx/exiv2 media-libs/lcms:2 >=media-libs/lensfun-0.2.3 media-libs/libpng >=media-libs/libraw-0.13.4[demosaic] media-libs/openexr media-libs/tiff net-misc/curl slideshow? ( media-libs/libsdl virtual/opengl ) virtual/jpeg x11-libs/cairo x11-libs/gdk-pixbuf:2 x11-libs/gtk+:2
|
||||
0
|
||||
mirror://sourceforge/darktable/darktable-0.9.2.tar.gz
|
||||
|
||||
http://darktable.sf.net/
|
||||
GPL-3
|
||||
A virtual lighttable and darkroom for photographers
|
||||
~amd64 ~x86
|
||||
base cmake-utils eutils fdo-mime flag-o-matic gnome.org gnome2 gnome2-utils libtool multilib portability toolchain-funcs user versionator
|
||||
debug flickr gnome gphoto2 kde nls openmp +rawspeed +slideshow
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install postinst postrm preinst prepare test unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
dev-db/sqlite:3 dev-libs/libxml2:2 flickr? ( media-libs/flickcurl ) gnome? ( gnome-base/gconf gnome-base/gnome-keyring ) gnome-base/librsvg:2 gphoto2? ( media-libs/libgphoto2 ) kde? ( dev-libs/dbus-glib ) media-gfx/exiv2 media-libs/lcms:2 >=media-libs/lensfun-0.2.3 media-libs/libpng >=media-libs/libraw-0.13.4[demosaic] media-libs/openexr media-libs/tiff net-misc/curl slideshow? ( media-libs/libsdl virtual/opengl ) virtual/jpeg x11-libs/cairo x11-libs/gdk-pixbuf:2 x11-libs/gtk+:2 dev-util/pkgconfig nls? ( sys-devel/gettext ) openmp? ( >=sys-devel/gcc-4.4[openmp] ) app-arch/xz-utils >=sys-apps/sed-4 >=dev-util/cmake-2.8.4 userland_GNU? ( >=sys-apps/findutils-4.4.0 )
|
||||
dev-db/sqlite:3 dev-libs/libxml2:2 flickr? ( media-libs/flickcurl ) gnome? ( gnome-base/gconf gnome-base/gnome-keyring ) gnome-base/librsvg:2 gphoto2? ( media-libs/libgphoto2 ) kde? ( dev-libs/dbus-glib ) media-gfx/exiv2 media-libs/lcms:2 >=media-libs/lensfun-0.2.3 media-libs/libpng >=media-libs/libraw-0.13.4[demosaic] media-libs/openexr media-libs/tiff net-misc/curl slideshow? ( media-libs/libsdl virtual/opengl ) virtual/jpeg x11-libs/cairo x11-libs/gdk-pixbuf:2 x11-libs/gtk+:2
|
||||
0
|
||||
mirror://sourceforge/darktable/darktable-0.9.2.tar.gz
|
||||
|
||||
http://darktable.sf.net/
|
||||
GPL-3
|
||||
A virtual lighttable and darkroom for photographers
|
||||
~amd64 ~x86
|
||||
base cmake-utils eutils fdo-mime flag-o-matic gnome.org gnome2 gnome2-utils libtool multilib portability toolchain-funcs user versionator
|
||||
debug flickr gnome gphoto2 kde nls openmp +rawspeed +slideshow
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install postinst postrm preinst prepare test unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
>=dev-libs/glib-2.10:2 virtual/ffmpeg >=media-libs/libsdl-1.2.10 >=media-libs/libpng-1.4 media-libs/libv4l >=media-libs/portaudio-19_pre sys-fs/udev x11-libs/gtk+:3 pulseaudio? ( >=media-sound/pulseaudio-0.9.15 ) dev-util/pkgconfig sys-devel/gettext || ( =sys-devel/automake-1.11* ) >=sys-devel/autoconf-2.61 sys-devel/libtool
|
||||
>=dev-libs/glib-2.10:2 virtual/ffmpeg >=media-libs/libsdl-1.2.10 >=media-libs/libpng-1.4 media-libs/libv4l >=media-libs/portaudio-19_pre sys-fs/udev x11-libs/gtk+:3 pulseaudio? ( >=media-sound/pulseaudio-0.9.15 )
|
||||
0
|
||||
mirror://sourceforge/guvcview/guvcview-src-1.5.2.tar.gz
|
||||
|
||||
http://guvcview.sourceforge.net/
|
||||
GPL-3
|
||||
GTK+ UVC Viewer
|
||||
~amd64 ~x86
|
||||
autotools eutils libtool multilib portability toolchain-funcs user
|
||||
pulseaudio
|
||||
|
||||
|
||||
|
||||
4
|
||||
|
||||
configure prepare
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
sys-libs/ncurses app-arch/bzip2 sys-libs/zlib >=media-video/ffmpeg-0.10 !bindist? ( x86? ( win32codecs? ( media-libs/win32codecs ) ) ) a52? ( media-libs/a52dec ) aalib? ( media-libs/aalib ) alsa? ( media-libs/alsa-lib ) ass? ( >=media-libs/libass-0.9.10[enca?] ) bidi? ( dev-libs/fribidi ) bluray? ( >=media-libs/libbluray-0.2.1 ) bs2b? ( media-libs/libbs2b ) cdio? ( dev-libs/libcdio ) cdparanoia? ( !cdio? ( media-sound/cdparanoia ) ) dga? ( x11-libs/libXxf86dga ) directfb? ( dev-libs/DirectFB ) dts? ( media-libs/libdca ) dv? ( media-libs/libdv ) dvb? ( media-tv/linuxtv-dvb-headers ) dvd? ( >=media-libs/libdvdread-4.1.3 ) dvdnav? ( >=media-libs/libdvdnav-4.1.3 ) encode? ( !twolame? ( toolame? ( media-sound/toolame ) ) twolame? ( media-sound/twolame ) faac? ( media-libs/faac ) mp3? ( media-sound/lame ) x264? ( >=media-libs/x264-0.0.20100423 ) xvid? ( media-libs/xvid ) ) esd? ( media-sound/esound ) enca? ( app-i18n/enca ) faad? ( media-libs/faad2 ) ggi? ( media-libs/libggi media-libs/libggiwmh ) gif? ( media-libs/giflib ) gsm? ( media-sound/gsm ) iconv? ( virtual/libiconv ) jack? ( media-sound/jack-audio-connection-kit ) jpeg? ( virtual/jpeg ) jpeg2k? ( media-libs/openjpeg ) ladspa? ( media-libs/ladspa-sdk ) libcaca? ( media-libs/libcaca ) libmpeg2? ( media-libs/libmpeg2 ) lirc? ( app-misc/lirc ) live? ( media-plugins/live ) lzo? ( >=dev-libs/lzo-2 ) mad? ( media-libs/libmad ) mng? ( media-libs/libmng ) mp3? ( media-sound/mpg123 ) nas? ( media-libs/nas ) nut? ( >=media-libs/libnut-661 ) openal? ( media-libs/openal ) opengl? ( virtual/opengl ) png? ( media-libs/libpng ) pnm? ( media-libs/netpbm ) pulseaudio? ( media-sound/pulseaudio ) rar? ( || ( app-arch/unrar app-arch/rar ) ) rtmp? ( media-video/rtmpdump ) samba? ( net-fs/samba ) sdl? ( media-libs/libsdl ) speex? ( media-libs/speex ) theora? ( media-libs/libtheora[encode?] ) truetype? ( virtual/ttf-fonts media-libs/fontconfig >=media-libs/freetype-2.2.1:2 ) vdpau? ( x11-libs/libvdpau ) vorbis? ( media-libs/libvorbis ) X? ( x11-libs/libXext x11-libs/libXxf86vm ) xanim? ( media-video/xanim ) xinerama? ( x11-libs/libXinerama ) xscreensaver? ( x11-libs/libXScrnSaver ) xv? ( x11-libs/libXv ) xvmc? ( x11-libs/libXvMC ) dev-util/pkgconfig dga? ( x11-proto/xf86dgaproto ) dxr3? ( media-video/em8300-libraries ) X? ( x11-proto/videoproto x11-proto/xf86vidmodeproto ) xinerama? ( x11-proto/xineramaproto ) xscreensaver? ( x11-proto/scrnsaverproto ) amd64? ( dev-lang/yasm ) doc? ( dev-libs/libxslt app-text/docbook-xml-dtd app-text/docbook-xsl-stylesheets ) x86? ( dev-lang/yasm ) x86-fbsd? ( dev-lang/yasm )
|
||||
sys-libs/ncurses app-arch/bzip2 sys-libs/zlib >=media-video/ffmpeg-0.10 !bindist? ( x86? ( win32codecs? ( media-libs/win32codecs ) ) ) a52? ( media-libs/a52dec ) aalib? ( media-libs/aalib ) alsa? ( media-libs/alsa-lib ) ass? ( >=media-libs/libass-0.9.10[enca?] ) bidi? ( dev-libs/fribidi ) bluray? ( >=media-libs/libbluray-0.2.1 ) bs2b? ( media-libs/libbs2b ) cdio? ( dev-libs/libcdio ) cdparanoia? ( !cdio? ( media-sound/cdparanoia ) ) dga? ( x11-libs/libXxf86dga ) directfb? ( dev-libs/DirectFB ) dts? ( media-libs/libdca ) dv? ( media-libs/libdv ) dvb? ( media-tv/linuxtv-dvb-headers ) dvd? ( >=media-libs/libdvdread-4.1.3 ) dvdnav? ( >=media-libs/libdvdnav-4.1.3 ) encode? ( !twolame? ( toolame? ( media-sound/toolame ) ) twolame? ( media-sound/twolame ) faac? ( media-libs/faac ) mp3? ( media-sound/lame ) x264? ( >=media-libs/x264-0.0.20100423 ) xvid? ( media-libs/xvid ) ) esd? ( media-sound/esound ) enca? ( app-i18n/enca ) faad? ( media-libs/faad2 ) ggi? ( media-libs/libggi media-libs/libggiwmh ) gif? ( media-libs/giflib ) gsm? ( media-sound/gsm ) iconv? ( virtual/libiconv ) jack? ( media-sound/jack-audio-connection-kit ) jpeg? ( virtual/jpeg ) jpeg2k? ( media-libs/openjpeg ) ladspa? ( media-libs/ladspa-sdk ) libcaca? ( media-libs/libcaca ) libmpeg2? ( media-libs/libmpeg2 ) lirc? ( app-misc/lirc ) live? ( media-plugins/live ) lzo? ( >=dev-libs/lzo-2 ) mad? ( media-libs/libmad ) mng? ( media-libs/libmng ) mp3? ( media-sound/mpg123 ) nas? ( media-libs/nas ) nut? ( >=media-libs/libnut-661 ) openal? ( media-libs/openal ) opengl? ( virtual/opengl ) png? ( media-libs/libpng ) pnm? ( media-libs/netpbm ) pulseaudio? ( media-sound/pulseaudio ) rar? ( || ( app-arch/unrar app-arch/rar ) ) rtmp? ( media-video/rtmpdump ) samba? ( net-fs/samba ) sdl? ( media-libs/libsdl ) speex? ( media-libs/speex ) theora? ( media-libs/libtheora[encode?] ) truetype? ( virtual/ttf-fonts media-libs/fontconfig >=media-libs/freetype-2.2.1:2 ) vdpau? ( x11-libs/libvdpau ) vorbis? ( media-libs/libvorbis ) X? ( x11-libs/libXext x11-libs/libXxf86vm ) xanim? ( media-video/xanim ) xinerama? ( x11-libs/libXinerama ) xscreensaver? ( x11-libs/libXScrnSaver ) xv? ( x11-libs/libXv ) xvmc? ( x11-libs/libXvMC )
|
||||
0
|
||||
mirror://gentoo/mplayer-1.0_rc4_p20120213.tar.xz !truetype? ( mirror://mplayer/releases/fonts/font-arial-iso-8859-1.tar.bz2 mirror://mplayer/releases/fonts/font-arial-iso-8859-2.tar.bz2 mirror://mplayer/releases/fonts/font-arial-cp1250.tar.bz2 )
|
||||
|
||||
http://www.mplayerhq.hu/
|
||||
GPL-2
|
||||
Media Player for Linux
|
||||
~amd64 ~hppa ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris
|
||||
base eutils flag-o-matic multilib portability toolchain-funcs user
|
||||
3dnow 3dnowext +a52 aalib +alsa altivec aqua +ass bidi bindist bl bluray bs2b cddb +cdio cdparanoia cpudetection debug dga directfb doc +dts +dv dvb +dvd +dvdnav dxr3 +enca +encode esd faac +faad fbcon ftp gif ggi gsm +iconv ipv6 jack joystick jpeg jpeg2k kernel_linux ladspa libcaca libmpeg2 lirc +live lzo mad md5sum +mmx mmxext mng +mp3 nas +network nut openal +opengl +osdmenu oss png pnm pulseaudio pvr +quicktime radio +rar +real +rtc rtmp samba +shm sdl +speex sse sse2 ssse3 tga +theora +tremor +truetype +toolame +twolame +unicode v4l vdpau vidix +vorbis win32codecs +X +x264 xanim xinerama +xscreensaver +xv +xvid xvmc zoran video_cards_s3virge video_cards_mga video_cards_tdfx
|
||||
bindist? ( !faac !win32codecs ) dvdnav? ( dvd ) ass? ( truetype ) truetype? ( iconv ) dxr3? ( X ) ggi? ( X ) xinerama? ( X ) dga? ( X ) opengl? ( X ) osdmenu? ( X ) vdpau? ( X ) vidix? ( X ) xscreensaver? ( X ) xv? ( X ) xvmc? ( xv )
|
||||
|
||||
|
||||
4
|
||||
|
||||
compile configure install postrm preinst prepare setup unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
>=dev-libs/glib-2.25.7:2 >=x11-libs/gtk+-2.91.3:3[introspection?] >=x11-libs/libnotify-0.7.0 >=dev-libs/dbus-glib-0.74 introspection? ( >=dev-libs/gobject-introspection-0.9.5 ) sendto? ( >=gnome-extra/nautilus-sendto-2.91 ) !!net-wireless/bluez-gnome app-text/docbook-xml-dtd:4.1.2 app-text/gnome-doc-utils app-text/scrollkeeper dev-libs/libxml2 >=dev-util/intltool-0.40.0 dev-util/pkgconfig >=sys-devel/gettext-0.17 x11-libs/libX11 x11-libs/libXi x11-proto/xproto doc? ( >=dev-util/gtk-doc-1.9 ) app-arch/xz-utils >=sys-apps/sed-4
|
||||
>=dev-libs/glib-2.25.7:2 >=x11-libs/gtk+-2.91.3:3[introspection?] >=x11-libs/libnotify-0.7.0 >=dev-libs/dbus-glib-0.74 introspection? ( >=dev-libs/gobject-introspection-0.9.5 ) sendto? ( >=gnome-extra/nautilus-sendto-2.91 ) >=net-wireless/bluez-4.34 app-mobilephone/obexd sys-fs/udev
|
||||
2
|
||||
mirror://gnome/sources/gnome-bluetooth/3.2/gnome-bluetooth-3.2.2.tar.xz
|
||||
|
||||
http://live.gnome.org/GnomeBluetooth
|
||||
GPL-2 LGPL-2.1
|
||||
Fork of bluez-gnome focused on integration with GNOME
|
||||
~amd64 ~x86
|
||||
eutils fdo-mime gnome.org gnome2 gnome2-utils libtool multilib portability toolchain-funcs user versionator
|
||||
doc +introspection sendto debug
|
||||
|
||||
>=gnome-base/gnome-control-center-2.91
|
||||
|
||||
4
|
||||
|
||||
compile configure install postinst postrm preinst prepare setup unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
acl? ( sys-apps/acl ) audit? ( sys-process/audit ) cracklib? ( >=sys-libs/cracklib-2.7-r3 ) pam? ( virtual/pam ) skey? ( sys-auth/skey ) selinux? ( >=sys-libs/libselinux-1.28 ) nls? ( virtual/libintl ) tcb? ( sys-auth/tcb ) xattr? ( sys-apps/attr ) nls? ( sys-devel/gettext )
|
||||
acl? ( sys-apps/acl ) audit? ( sys-process/audit ) cracklib? ( >=sys-libs/cracklib-2.7-r3 ) pam? ( virtual/pam ) skey? ( sys-auth/skey ) selinux? ( >=sys-libs/libselinux-1.28 ) nls? ( virtual/libintl ) tcb? ( sys-auth/tcb ) xattr? ( sys-apps/attr ) pam? ( >=sys-auth/pambase-20080219.1 )
|
||||
0
|
||||
http://pkg-shadow.alioth.debian.org/releases/shadow-4.1.5.tar.bz2
|
||||
|
||||
http://shadow.pld.org.pl/ http://pkg-shadow.alioth.debian.org/
|
||||
BSD GPL-2
|
||||
Utilities to deal with user accounts
|
||||
~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
eutils flag-o-matic libtool multilib pam portability toolchain-funcs user
|
||||
acl audit cracklib nls pam selinux skey tcb xattr
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
compile install postinst preinst unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
>=sys-libs/pam-0.75
|
||||
>=sys-libs/pam-0.75
|
||||
0
|
||||
ftp://ftp.openwall.com/pub/projects/tcb/tcb-1.0.6.tar.gz
|
||||
|
||||
http://www.openwall.com/tcb/
|
||||
GPL-2
|
||||
Libraries and tools implementing the tcb password shadowing scheme
|
||||
~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
eutils multilib portability toolchain-funcs user
|
||||
|
||||
|
||||
|
||||
|
||||
2
|
||||
|
||||
compile install postinst preinst prepare
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
|
||||
>=sys-apps/tuxonice-userui-1.0 || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils ) !build? ( >=sys-libs/ncurses-5.2 sys-devel/make )
|
||||
3.0.15
|
||||
mirror://kernel/linux/kernel/v3.x/linux-3.0.tar.bz2 mirror://gentoo/genpatches-3.0-15.base.tar.bz2 mirror://gentoo/genpatches-3.0-15.extras.tar.bz2 http://dev.gentoo.org/~pacho/tuxonice/current-tuxonice-for-3.0_20111012.patch.bz2
|
||||
binchecks strip
|
||||
http://dev.gentoo.org/~mpagano/genpatches/ http://www.tuxonice.net
|
||||
GPL-2 freedist
|
||||
TuxOnIce + Gentoo patchset sources
|
||||
~amd64 ~x86
|
||||
eutils kernel-2 multilib portability toolchain-funcs user versionator
|
||||
symlink build
|
||||
|
||||
!build? ( virtual/dev-manager )
|
||||
|
||||
4
|
||||
|
||||
compile install postinst postrm preinst setup test unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,22 +0,0 @@
|
||||
!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
|
||||
>=sys-apps/tuxonice-userui-1.0 || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils ) !build? ( >=sys-libs/ncurses-5.2 sys-devel/make )
|
||||
3.0.17
|
||||
mirror://kernel/linux/kernel/v3.x/linux-3.0.tar.bz2 mirror://gentoo/genpatches-3.0-16.base.tar.bz2 mirror://gentoo/genpatches-3.0-16.extras.tar.bz2 http://dev.gentoo.org/~pacho/tuxonice/current-tuxonice-for-3.0_20111012.patch.bz2
|
||||
binchecks strip
|
||||
http://dev.gentoo.org/~mpagano/genpatches/ http://www.tuxonice.net
|
||||
GPL-2 freedist
|
||||
TuxOnIce + Gentoo patchset sources
|
||||
amd64 ~x86
|
||||
eutils kernel-2 multilib portability toolchain-funcs user versionator
|
||||
symlink build
|
||||
|
||||
!build? ( virtual/dev-manager )
|
||||
|
||||
4
|
||||
|
||||
compile install postinst postrm preinst setup test unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
|
||||
>=sys-apps/tuxonice-userui-1.0 || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils ) !build? ( >=sys-libs/ncurses-5.2 sys-devel/make )
|
||||
3.0.13
|
||||
mirror://kernel/linux/kernel/v3.x/linux-3.0.tar.bz2 mirror://gentoo/genpatches-3.0-13.base.tar.bz2 mirror://gentoo/genpatches-3.0-13.extras.tar.bz2 http://dev.gentoo.org/~pacho/tuxonice/current-tuxonice-for-3.0_20111012.patch.bz2
|
||||
3.0.20
|
||||
mirror://kernel/linux/kernel/v3.x/linux-3.0.tar.bz2 mirror://gentoo/genpatches-3.0-19.base.tar.bz2 mirror://gentoo/genpatches-3.0-19.extras.tar.bz2 http://dev.gentoo.org/~pacho/tuxonice/current-tuxonice-for-3.0_20111012.patch.bz2
|
||||
binchecks strip
|
||||
http://dev.gentoo.org/~mpagano/genpatches/ http://www.tuxonice.net
|
||||
GPL-2 freedist
|
@ -1,22 +0,0 @@
|
||||
!build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
|
||||
>=sys-apps/tuxonice-userui-1.0 || ( >=sys-power/hibernate-script-2.0 sys-power/pm-utils ) !build? ( >=sys-libs/ncurses-5.2 sys-devel/make )
|
||||
3.0.6
|
||||
mirror://kernel/linux/kernel/v3.x/linux-3.0.tar.bz2 mirror://gentoo/genpatches-3.0-8.base.tar.bz2 mirror://gentoo/genpatches-3.0-8.extras.tar.bz2 http://dev.gentoo.org/~pacho/tuxonice/current-tuxonice-for-3.0_20111012.patch.bz2
|
||||
binchecks strip
|
||||
http://dev.gentoo.org/~mpagano/genpatches/ http://www.tuxonice.net
|
||||
GPL-2 freedist
|
||||
TuxOnIce + Gentoo patchset sources
|
||||
amd64 ~x86
|
||||
eutils kernel-2 multilib portability toolchain-funcs user versionator
|
||||
symlink build
|
||||
|
||||
!build? ( virtual/dev-manager )
|
||||
|
||||
4
|
||||
|
||||
compile install postinst postrm preinst setup test unpack
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Mon, 13 Feb 2012 04:36:46 +0000
|
||||
Mon, 13 Feb 2012 11:36:49 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 13 Feb 2012 04:36:46 +0000
|
||||
Mon, 13 Feb 2012 11:36:49 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 13 Feb 2012 04:36:48 +0000
|
||||
Mon, 13 Feb 2012 11:36:51 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon Feb 13 04:36:46 UTC 2012
|
||||
Mon Feb 13 11:36:49 UTC 2012
|
||||
|
@ -1 +1 @@
|
||||
Mon, 13 Feb 2012 05:00:01 +0000
|
||||
Mon, 13 Feb 2012 12:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1329107701 Mon Feb 13 04:35:01 2012 UTC
|
||||
1329132901 Mon Feb 13 11:35:01 2012 UTC
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST gnome-bluetooth-2.32.0.tar.bz2 1231205 RMD160 2000381411f0e0b409d6131b390632b9fcfdace0 SHA1 24d2c416df92098d96eeaa992bfaf122ee65328d SHA256 57b1f06c96a1b85e1c19ff919d708cc38e95edae658881ed99968c325839a973
|
||||
DIST gnome-bluetooth-3.2.1.tar.xz 1140756 RMD160 c0d73ac804e1b9a10e9a3e34f69823f02c8cfcc1 SHA1 c7fa12e34e1efb7fa2c69adb582520b2dd9586e1 SHA256 f67abc26e2a8003b5e3b58e1541ed3955e0ea05a08bfaa8d5dc4b2133d948df0
|
||||
DIST gnome-bluetooth-3.2.2.tar.xz 1143476 RMD160 8e3f228eba4c4618a684f083d4c356ac325ca416 SHA1 6b74d8e709ee7660205fa479ad71fb7350fbd676 SHA256 30ba375f4d9b08fc31b9eb86f17ea2d3fc1696b3e778236270414260d4e26905
|
||||
DIST introspection.m4.bz2 1181 RMD160 3648afa820c2ee7e240083076e1452285d043084 SHA1 e5188cc387d0d17feb77684feff7ff163779912f SHA256 69a2a57b12179159420825d1d44c74108014b0864c4d63500265639cfa9151ae
|
||||
|
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-wireless/gnome-bluetooth/gnome-bluetooth-3.2.2.ebuild,v 1.1 2012/02/13 05:40:16 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="yes"
|
||||
# libgnome-bluetooth-applet.la is needed by gnome-shell during compilation
|
||||
GNOME2_LA_PUNT="no"
|
||||
|
||||
inherit gnome2 multilib
|
||||
|
||||
DESCRIPTION="Fork of bluez-gnome focused on integration with GNOME"
|
||||
HOMEPAGE="http://live.gnome.org/GnomeBluetooth"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="2"
|
||||
IUSE="doc +introspection sendto"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
COMMON_DEPEND=">=dev-libs/glib-2.25.7:2
|
||||
>=x11-libs/gtk+-2.91.3:3[introspection?]
|
||||
>=x11-libs/libnotify-0.7.0
|
||||
>=dev-libs/dbus-glib-0.74
|
||||
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
|
||||
sendto? ( >=gnome-extra/nautilus-sendto-2.91 )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=net-wireless/bluez-4.34
|
||||
app-mobilephone/obexd
|
||||
sys-fs/udev"
|
||||
# To break circular dependencies
|
||||
PDEPEND=">=gnome-base/gnome-control-center-2.91"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
!!net-wireless/bluez-gnome
|
||||
app-text/docbook-xml-dtd:4.1.2
|
||||
app-text/gnome-doc-utils
|
||||
app-text/scrollkeeper
|
||||
dev-libs/libxml2
|
||||
>=dev-util/intltool-0.40.0
|
||||
dev-util/pkgconfig
|
||||
>=sys-devel/gettext-0.17
|
||||
x11-libs/libX11
|
||||
x11-libs/libXi
|
||||
x11-proto/xproto
|
||||
doc? ( >=dev-util/gtk-doc-1.9 )"
|
||||
# eautoreconf needs:
|
||||
# gnome-base/gnome-common
|
||||
# dev-util/gtk-doc-am
|
||||
|
||||
pkg_setup() {
|
||||
# FIXME: Add geoclue support
|
||||
G2CONF="${G2CONF}
|
||||
$(use_enable introspection)
|
||||
$(use_enable sendto nautilus-sendto)
|
||||
--disable-maintainer-mode
|
||||
--disable-moblin
|
||||
--disable-desktop-update
|
||||
--disable-icon-update
|
||||
--disable-schemas-compile
|
||||
--disable-static"
|
||||
DOCS="AUTHORS README NEWS ChangeLog"
|
||||
|
||||
enewgroup plugdev
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
|
||||
local la
|
||||
for la in gnome-bluetooth/plugins/libgbtgeoclue.la \
|
||||
control-center-1/panels/libbluetooth.la \
|
||||
libgnome-bluetooth.la; do
|
||||
rm -v "${ED}/usr/$(get_libdir)/${la}" || die
|
||||
done
|
||||
|
||||
insinto /$(get_libdir)/udev/rules.d
|
||||
doins "${FILESDIR}"/80-rfkill.rules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
# Notify about old libraries that might still be around
|
||||
preserve_old_lib_notify /usr/$(get_libdir)/libgnome-bluetooth.so.7
|
||||
|
||||
elog "Don't forget to add yourself to the plugdev group "
|
||||
elog "if you want to be able to control bluetooth transmitter."
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST shadow-4.1.4.2.tar.bz2 1790400 RMD160 8483dc5aefc52708199e09a7b2d6831f0a8e357b SHA1 43e29471057c671de51360b10e3ee2b419c78ffa SHA256 97987f6a7967a85e6aa0dba2a1d52db8bd69af5a717391de5693db768fb78990
|
||||
DIST shadow-4.1.4.3.tar.bz2 1804034 RMD160 0a38818054c40f4ca812da6b34aac5e2572c5d7c SHA1 ad9b85b5531ce8e68f4695efc4ac53ba7266269e SHA256 633f5bb4ea0c88c55f3642c97f9d25cbef74f82e0b4cf8d54e7ad6f9f9caa778
|
||||
DIST shadow-4.1.5.tar.bz2 2155227 RMD160 b0653f4d1a4a841a37a43d4062e926037637d1d1 SHA1 3ab1ae0e30af36d04445314fcb5a079bdf05de41 SHA256 e3c1ac70fa08d932777639c861155dc61024c2d4961e76f0d07fd239ba10cd87
|
||||
|
@ -0,0 +1,30 @@
|
||||
From 357ff92218a68f2ea74b9d08867c662571012bbe Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Sun, 12 Feb 2012 23:37:04 -0500
|
||||
Subject: [PATCH 3/3] nscd: ignore exit 1 code
|
||||
|
||||
If nscd is installed but not in use, then running `nscd -i` will exit(1).
|
||||
We shouldn't warn in this case since this is not abnormal behavior.
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
lib/nscd.c | 3 +++
|
||||
1 files changed, 3 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/lib/nscd.c b/lib/nscd.c
|
||||
index ea1dc55..7adb58f 100644
|
||||
--- a/lib/nscd.c
|
||||
+++ b/lib/nscd.c
|
||||
@@ -39,6 +39,9 @@ int nscd_flush_cache (const char *service)
|
||||
/* nscd is not installed, or it is installed but uses an
|
||||
interpreter that is missing. Probably the former. */
|
||||
return 0;
|
||||
+ } else if (code == 1) {
|
||||
+ /* nscd is installed, but it isn't active. */
|
||||
+ return 0;
|
||||
} else if (code != 0) {
|
||||
(void) fprintf (stderr, _("%s: nscd exited with status %d\n"),
|
||||
Prog, code);
|
||||
--
|
||||
1.7.8.4
|
||||
|
@ -0,0 +1,38 @@
|
||||
From 360351b9b99bba0a278923c4237d158cbd726df5 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Sun, 12 Feb 2012 23:08:42 -0500
|
||||
Subject: [PATCH 1/3] nscd: add missing newline to warning msg
|
||||
|
||||
Trying to run `passwd` without nscd running shows the messages:
|
||||
...
|
||||
Re-enter new password:
|
||||
passwd: nscd exited with status 1passwd: Failed to flush the nscd cache.
|
||||
passwd: nscd exited with status 1passwd: Failed to flush the nscd cache.
|
||||
passwd: nscd exited with status 1passwd: Failed to flush the nscd cache.
|
||||
passwd: nscd exited with status 1passwd: Failed to flush the nscd cache.
|
||||
passwd: password changed.
|
||||
...
|
||||
|
||||
You can see the status message missing a newline, so add it.
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
lib/nscd.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/lib/nscd.c b/lib/nscd.c
|
||||
index 227c205..ea1dc55 100644
|
||||
--- a/lib/nscd.c
|
||||
+++ b/lib/nscd.c
|
||||
@@ -40,7 +40,7 @@ int nscd_flush_cache (const char *service)
|
||||
interpreter that is missing. Probably the former. */
|
||||
return 0;
|
||||
} else if (code != 0) {
|
||||
- (void) fprintf (stderr, _("%s: nscd exited with status %d"),
|
||||
+ (void) fprintf (stderr, _("%s: nscd exited with status %d\n"),
|
||||
Prog, code);
|
||||
(void) fprintf (stderr, _(MSG_NSCD_FLUSH_CACHE_FAILED), Prog);
|
||||
return -1;
|
||||
--
|
||||
1.7.8.4
|
||||
|
@ -0,0 +1,37 @@
|
||||
From 04d19a920ea0cf74f977006e3f8241bf77cbc16b Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Sun, 12 Feb 2012 22:41:05 -0500
|
||||
Subject: [PATCH] copydir: include stdarg.h for va_* funcs
|
||||
|
||||
Building on newer systems fails due to using stdargs but not including
|
||||
the header file:
|
||||
|
||||
copydir.c: In function 'error_acl':
|
||||
copydir.c:126:2: warning: implicit declaration of function 'va_start' [-Wimplicit-function-declaration]
|
||||
copydir.c:132:2: warning: implicit declaration of function 'va_end' [-Wimplicit-function-declaration]
|
||||
...
|
||||
libmisc/copydir.c:126: undefined reference to 'va_start'
|
||||
libmisc/copydir.c:132: undefined reference to 'va_end'
|
||||
...
|
||||
make[2]: *** [useradd] Error 1
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
libmisc/copydir.c | 1 +
|
||||
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/libmisc/copydir.c b/libmisc/copydir.c
|
||||
index 7cb5f56..c6cbe6b 100644
|
||||
--- a/libmisc/copydir.c
|
||||
+++ b/libmisc/copydir.c
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <sys/time.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
+#include <stdarg.h>
|
||||
#include "prototypes.h"
|
||||
#include "defines.h"
|
||||
#ifdef WITH_SELINUX
|
||||
--
|
||||
1.7.8.4
|
||||
|
@ -0,0 +1,200 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-apps/shadow/shadow-4.1.5.ebuild,v 1.1 2012/02/13 05:18:04 vapier Exp $
|
||||
|
||||
inherit eutils libtool toolchain-funcs pam multilib
|
||||
|
||||
DESCRIPTION="Utilities to deal with user accounts"
|
||||
HOMEPAGE="http://shadow.pld.org.pl/ http://pkg-shadow.alioth.debian.org/"
|
||||
SRC_URI="http://pkg-shadow.alioth.debian.org/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="acl audit cracklib nls pam selinux skey tcb xattr"
|
||||
|
||||
RDEPEND="acl? ( sys-apps/acl )
|
||||
audit? ( sys-process/audit )
|
||||
cracklib? ( >=sys-libs/cracklib-2.7-r3 )
|
||||
pam? ( virtual/pam )
|
||||
skey? ( sys-auth/skey )
|
||||
selinux? ( >=sys-libs/libselinux-1.28 )
|
||||
nls? ( virtual/libintl )
|
||||
tcb? ( sys-auth/tcb )
|
||||
xattr? ( sys-apps/attr )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )"
|
||||
RDEPEND="${RDEPEND}
|
||||
pam? ( >=sys-auth/pambase-20080219.1 )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-4.1.3-dots-in-usernames.patch #22920
|
||||
epatch "${FILESDIR}"/${PN}-4.1.5-stdarg.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.1.5-nscd-newline-msg.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.1.5-nscd-ignore-exit-1.patch
|
||||
elibtoolize
|
||||
epunt_cxx
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-is-cross-compiler && export ac_cv_func_setpgrp_void=yes
|
||||
econf \
|
||||
--without-group-name-max-length \
|
||||
--enable-shared=no \
|
||||
--enable-static=yes \
|
||||
$(use_with acl) \
|
||||
$(use_with audit) \
|
||||
$(use_with cracklib libcrack) \
|
||||
$(use_with pam libpam) \
|
||||
$(use_with skey) \
|
||||
$(use_with selinux) \
|
||||
$(use_enable nls) \
|
||||
$(use_with elibc_glibc nscd) \
|
||||
$(use_with tcb) \
|
||||
$(use_with xattr attr)
|
||||
emake || die
|
||||
}
|
||||
|
||||
set_login_opt() {
|
||||
local comment="" opt=$1 val=$2
|
||||
[[ -z ${val} ]] && comment="#"
|
||||
sed -i -r \
|
||||
-e "/^#?${opt}/s:.*:${comment}${opt} ${val}:" \
|
||||
"${D}"/etc/login.defs
|
||||
local res=$(grep "^${comment}${opt}" "${D}"/etc/login.defs)
|
||||
einfo ${res:-Unable to find ${opt} in /etc/login.defs}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" suidperms=4711 install || die
|
||||
|
||||
# Remove libshadow and libmisc; see bug 37725 and the following
|
||||
# comment from shadow's README.linux:
|
||||
# Currently, libshadow.a is for internal use only, so if you see
|
||||
# -lshadow in a Makefile of some other package, it is safe to
|
||||
# remove it.
|
||||
rm -f "${D}"/{,usr/}$(get_libdir)/lib{misc,shadow}.{a,la}
|
||||
|
||||
insinto /etc
|
||||
# Using a securetty with devfs device names added
|
||||
# (compat names kept for non-devfs compatibility)
|
||||
insopts -m0600 ; doins "${FILESDIR}"/securetty
|
||||
if ! use pam ; then
|
||||
insopts -m0600
|
||||
doins etc/login.access etc/limits
|
||||
fi
|
||||
# Output arch-specific cruft
|
||||
local devs
|
||||
case $(tc-arch) in
|
||||
ppc*) devs="hvc0 hvsi0 ttyPSC0";;
|
||||
hppa) devs="ttyB0";;
|
||||
arm) devs="ttyFB0 ttySAC0 ttySAC1 ttymxc0 ttymxc1 ttyO0 ttyO1 ttyO2";;
|
||||
sh) devs="ttySC0 ttySC1";;
|
||||
esac
|
||||
[[ -n ${devs} ]] && printf '%s\n' ${devs} >> "${D}"/etc/securetty
|
||||
|
||||
# needed for 'useradd -D'
|
||||
insinto /etc/default
|
||||
insopts -m0600
|
||||
doins "${FILESDIR}"/default/useradd
|
||||
|
||||
# move passwd to / to help recover broke systems #64441
|
||||
mv "${D}"/usr/bin/passwd "${D}"/bin/
|
||||
dosym /bin/passwd /usr/bin/passwd
|
||||
|
||||
cd "${S}"
|
||||
insinto /etc
|
||||
insopts -m0644
|
||||
newins etc/login.defs login.defs
|
||||
|
||||
if ! use pam ; then
|
||||
set_login_opt MAIL_CHECK_ENAB no
|
||||
set_login_opt SU_WHEEL_ONLY yes
|
||||
set_login_opt CRACKLIB_DICTPATH /usr/$(get_libdir)/cracklib_dict
|
||||
set_login_opt LOGIN_RETRIES 3
|
||||
set_login_opt ENCRYPT_METHOD SHA512
|
||||
else
|
||||
dopamd "${FILESDIR}/pam.d-include/"{su,shadow}
|
||||
|
||||
newpamd "${FILESDIR}/login.pamd.3" login
|
||||
|
||||
for x in passwd chpasswd chgpasswd; do
|
||||
newpamd "${FILESDIR}"/pam.d-include/passwd ${x} || die
|
||||
done
|
||||
|
||||
for x in chage chsh chfn newusers \
|
||||
user{add,del,mod} group{add,del,mod} ; do
|
||||
newpamd "${FILESDIR}"/pam.d-include/shadow ${x} || die
|
||||
done
|
||||
|
||||
# comment out login.defs options that pam hates
|
||||
local opt
|
||||
for opt in \
|
||||
CHFN_AUTH \
|
||||
CRACKLIB_DICTPATH \
|
||||
ENV_HZ \
|
||||
ENVIRON_FILE \
|
||||
FAILLOG_ENAB \
|
||||
FTMP_FILE \
|
||||
LASTLOG_ENAB \
|
||||
MAIL_CHECK_ENAB \
|
||||
MOTD_FILE \
|
||||
NOLOGINS_FILE \
|
||||
OBSCURE_CHECKS_ENAB \
|
||||
PASS_ALWAYS_WARN \
|
||||
PASS_CHANGE_TRIES \
|
||||
PASS_MIN_LEN \
|
||||
PORTTIME_CHECKS_ENAB \
|
||||
QUOTAS_ENAB \
|
||||
SU_WHEEL_ONLY
|
||||
do
|
||||
set_login_opt ${opt}
|
||||
done
|
||||
|
||||
sed -i -f "${FILESDIR}"/login_defs_pam.sed \
|
||||
"${D}"/etc/login.defs
|
||||
|
||||
# remove manpages that pam will install for us
|
||||
# and/or don't apply when using pam
|
||||
find "${D}"/usr/share/man \
|
||||
'(' -name 'limits.5*' -o -name 'suauth.5*' ')' \
|
||||
-exec rm {} +
|
||||
fi
|
||||
|
||||
# Remove manpages that are handled by other packages
|
||||
find "${D}"/usr/share/man \
|
||||
'(' -name id.1 -o -name passwd.5 -o -name getspnam.3 ')' \
|
||||
-exec rm {} +
|
||||
|
||||
cd "${S}"
|
||||
dodoc ChangeLog NEWS TODO
|
||||
newdoc README README.download
|
||||
cd doc
|
||||
dodoc HOWTO README* WISHLIST *.txt
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
rm -f "${ROOT}"/etc/pam.d/system-auth.new \
|
||||
"${ROOT}/etc/login.defs.new"
|
||||
|
||||
use pam && pam_epam_expand "${D}"/etc/pam.d/login
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Enable shadow groups (we need ROOT=/ here, as grpconv only
|
||||
# operate on / ...).
|
||||
local re="${ROOT}/etc"
|
||||
if [ ! -f "${re}"/gshadow ] ; then
|
||||
if grpck -r "${re}"/group "${re}"/gshadow 2>/dev/null ; then
|
||||
# Would be nice to add --root option to the *conv utils ...
|
||||
[ "${ROOT}" = "/" ] && grpconv
|
||||
else
|
||||
ewarn "Running 'grpck' returned errors. Please run it by hand, and then"
|
||||
ewarn "run 'grpconv' afterwards!"
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "The 'adduser' symlink to 'useradd' has been dropped."
|
||||
}
|
@ -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/sys-auth/tcb/tcb-1.0.6-r1.ebuild,v 1.1 2012/02/13 05:17:27 vapier Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils user multilib
|
||||
|
||||
DESCRIPTION="Libraries and tools implementing the tcb password shadowing scheme"
|
||||
HOMEPAGE="http://www.openwall.com/tcb/"
|
||||
SRC_URI="ftp://ftp.openwall.com/pub/projects/tcb/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sys-libs/pam-0.75"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# We don't have Openwall glibc extensions. The patch makes it possible
|
||||
# to run tcb with normal glibc. It has been reviewed by upstream, but
|
||||
# is not going to be accepted. The plan is to add support for sha hashes
|
||||
# to Openwall's crypto routines and use them when that's available.
|
||||
epatch "${FILESDIR}"/${PN}-gentoo.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mymakeopts=(
|
||||
SLIBDIR=/$(get_libdir)
|
||||
LIBDIR=/usr/$(get_libdir)
|
||||
MANDIR=/usr/share/man
|
||||
DESTDIR="${D}"
|
||||
)
|
||||
emake "${mymakeopts[@]}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake "${mymakeopts[@]}" install || die
|
||||
dodoc ChangeLog
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
local group
|
||||
for group in auth chkpwd shadow ; do
|
||||
enewgroup ${group}
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "You must now run /sbin/tcb_convert to convert your shadow to tcb"
|
||||
einfo "To remove this you must first run /sbin/tcp_unconvert and then unmerge"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue