parent
e2bb36a30f
commit
a42b430216
@ -0,0 +1 @@
|
||||
DIST ckpass-0.1.tar.gz 89129 RMD160 7dadf62479a7e1df8265786b215eadaea094ba88 SHA1 d35ae9dfb684f102a33f9616843ab96b926fa614 SHA256 2bf19b9214127d5772fc70777e2db147ed58c809fa003fe3cbd23c361336d12e
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ckpass/ckpass-0.1.ebuild,v 1.2 2011/12/13 18:05:01 joker Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="An ncurses based password database client that is compatible with KeePass 1.x format databases"
|
||||
HOMEPAGE="http://ckpass.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/libkpass"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>joker@gentoo.org</email>
|
||||
<name>Christian Birchinger</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,322 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.3-r3.ebuild,v 1.1 2011/12/13 22:20:51 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}a.tar.bz2
|
||||
mirror://gentoo/${P}-patches-3.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3 FDL-1.3 BSD as-is MIT W3C unicode PSF-2 Emacs-23-CEDET-grammars"
|
||||
SLOT="23"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="alsa aqua athena dbus gconf gif gpm gtk gzip-el hesiod jpeg kerberos livecd m17n-lib motif png sound source svg tiff toolkit-scroll-bars X Xaw3d xft +xpm"
|
||||
REQUIRED_USE="aqua? ( !X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.2
|
||||
net-libs/liblockfile
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
gpm? ( sys-libs/gpm )
|
||||
dbus? ( sys-apps/dbus )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg )
|
||||
png? ( >=media-libs/libpng-1.4:0 )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
!gtk? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? (
|
||||
athena? ( x11-libs/libXaw )
|
||||
!athena? ( motif? ( >=x11-libs/openmotif-2.3:0 ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
gzip-el? ( app-arch/gzip )"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-${PV}
|
||||
>=app-emacs/emacs-common-gentoo-1.3[X?]"
|
||||
|
||||
EMACS_SUFFIX="emacs-${SLOT}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX=patch epatch
|
||||
epatch_user
|
||||
|
||||
sed -i \
|
||||
-e "s:/usr/lib/crtbegin.o:$(`tc-getCC` -print-file-name=crtbegin.o):g" \
|
||||
-e "s:/usr/lib/crtend.o:$(`tc-getCC` -print-file-name=crtend.o):g" \
|
||||
"${S}"/src/s/freebsd.h || die "unable to sed freebsd.h settings"
|
||||
|
||||
if ! use alsa; then
|
||||
# ALSA is detected even if not requested by its USE flag.
|
||||
# Suppress it by supplying pkg-config with a wrong library name.
|
||||
sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.in \
|
||||
|| die "unable to sed configure.in"
|
||||
fi
|
||||
if ! use gzip-el; then
|
||||
# Emacs' build system automatically detects the gzip binary and
|
||||
# compresses el files. We don't want that so confuse it with a
|
||||
# wrong binary name
|
||||
sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \
|
||||
|| die "unable to sed configure.in"
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
ALLOWED_FLAGS=""
|
||||
strip-flags
|
||||
filter-flags -fstrict-aliasing
|
||||
append-flags $(test-flags -fno-strict-aliasing)
|
||||
|
||||
if use sh; then
|
||||
replace-flags -O[1-9] -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags -O[2-9] -O1 #325373
|
||||
else
|
||||
replace-flags -O[3-9] -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa && ! use sound; then
|
||||
einfo "Although sound USE flag is disabled you chose to have alsa,"
|
||||
einfo "so sound is switched on anyway."
|
||||
myconf="${myconf} --with-sound"
|
||||
else
|
||||
myconf="${myconf} $(use_with sound)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf="${myconf} --with-x --without-ns"
|
||||
myconf="${myconf} $(use_with gconf)"
|
||||
myconf="${myconf} $(use_with toolkit-scroll-bars)"
|
||||
myconf="${myconf} $(use_with gif) $(use_with jpeg)"
|
||||
myconf="${myconf} $(use_with png) $(use_with svg rsvg)"
|
||||
myconf="${myconf} $(use_with tiff) $(use_with xpm)"
|
||||
|
||||
if use xft; then
|
||||
myconf="${myconf} --with-xft"
|
||||
myconf="${myconf} $(use_with m17n-lib libotf)"
|
||||
myconf="${myconf} $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf="${myconf} --without-xft"
|
||||
myconf="${myconf} --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
# GTK+ is the default toolkit if USE=gtk is chosen with other
|
||||
# possibilities. Emacs upstream thinks this should be standard
|
||||
# policy on all distributions
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf="${myconf} --with-x-toolkit=gtk"
|
||||
elif use Xaw3d || use athena; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=motif"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=no"
|
||||
fi
|
||||
|
||||
local f tk=
|
||||
for f in gtk Xaw3d athena motif; do
|
||||
use ${f} || continue
|
||||
[[ ${tk} ]] \
|
||||
&& ewarn "USE flag \"${f}\" ignored (superseded by \"${tk}\")"
|
||||
tk="${tk}${tk:+ }${f}"
|
||||
done
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Cocoa support"
|
||||
myconf="${myconf} --with-ns --disable-ns-self-contained"
|
||||
myconf="${myconf} --without-x"
|
||||
else
|
||||
myconf="${myconf} --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# According to configure, this option is only used for GNU/Linux
|
||||
# (x86_64 and s390). For Gentoo Prefix we have to explicitly spell
|
||||
# out the location because $(get_libdir) does not necessarily return
|
||||
# something that matches the host OS's libdir naming (e.g. RHEL).
|
||||
local crtdir=$($(tc-getCC) -print-file-name=crt1.o)
|
||||
crtdir=${crtdir%/*}
|
||||
|
||||
econf \
|
||||
--program-suffix=-${EMACS_SUFFIX} \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--enable-locallisppath="/etc/emacs:${SITELISP}" \
|
||||
--with-crt-dir="${crtdir}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with gpm) \
|
||||
$(use_with dbus) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
# set last component of emacs-version to (package revision + 1)
|
||||
touch src/emacs-${FULL_VERSION}.${PR#r}
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
local i m
|
||||
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
rm "${ED}"/usr/bin/emacs-${FULL_VERSION}-${EMACS_SUFFIX} \
|
||||
|| die "removing duplicate emacs executable failed"
|
||||
mv "${ED}"/usr/bin/emacs-${EMACS_SUFFIX} "${ED}"/usr/bin/${EMACS_SUFFIX} \
|
||||
|| die "moving Emacs executable failed"
|
||||
|
||||
# move man pages to the correct place
|
||||
for m in "${ED}"/usr/share/man/man1/* ; do
|
||||
mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed"
|
||||
done
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{applications,icons}
|
||||
rm "${ED}"/var/lib/games/emacs/{snake,tetris}-scores
|
||||
keepdir /var/lib/games/emacs
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
local c=";;"
|
||||
if use source; then
|
||||
insinto /usr/share/emacs/${FULL_VERSION}/src
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
doins -r src/{m,s}
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/Makefile.c
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/{m,s}/README
|
||||
c=""
|
||||
fi
|
||||
|
||||
sed 's/^X//' >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
X ${c}(setq find-function-C-source-directory
|
||||
X ${c} "${EPREFIX}/usr/share/emacs/${FULL_VERSION}/src")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
elog "Emacs${EMACS_SUFFIX#emacs}.app is in ${EPREFIX}/Applications/Gentoo."
|
||||
elog "You may want to copy or symlink it into /Applications by yourself."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{.orig,} \
|
||||
|| die "moving info dir failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local f
|
||||
for f in "${EROOT}"/var/lib/games/emacs/{snake,tetris}-scores; do
|
||||
[[ -e ${f} ]] || touch "${f}"
|
||||
done
|
||||
chown "${GAMES_USER_DED:-games}" "${EROOT}"/var/lib/games/emacs
|
||||
|
||||
elisp-site-regen
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
elog "You need to install some fonts for Emacs."
|
||||
elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
|
||||
elog "machine would satisfy basic Emacs requirements under X11."
|
||||
elog "See also http://www.gentoo.org/proj/en/lisp/emacs/xft.xml"
|
||||
elog "for how to enable anti-aliased fonts."
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "You can set the version to be started by /usr/bin/emacs through"
|
||||
elog "the Emacs eselect module, which also redirects man and info pages."
|
||||
elog "Therefore, several Emacs versions can be installed at the same time."
|
||||
elog "\"man emacs.eselect\" for details."
|
||||
elog
|
||||
elog "If you upgrade from a previous major version of Emacs, then it is"
|
||||
elog "strongly recommended that you use app-admin/emacs-updater to rebuild"
|
||||
elog "all byte-compiled elisp files of the installed Emacs packages."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/vile/vile-9.8f.ebuild,v 1.2 2011/12/13 21:57:44 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="VI Like Emacs -- yet another full-featured vi clone"
|
||||
HOMEPAGE="http://invisible-island.net/vile/"
|
||||
SRC_URI="ftp://invisible-island.net/vile/current/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE="perl"
|
||||
|
||||
RDEPEND=">=sys-libs/ncurses-5.2
|
||||
perl? ( dev-lang/perl )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex
|
||||
app-admin/eselect-vi"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-ncurses \
|
||||
$(use_with perl )
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc CHANGES* README doc/*.doc
|
||||
dohtml doc/*.html
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Updating /usr/bin/vi symlink"
|
||||
eselect vi update --if-unset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
einfo "Updating /usr/bin/vi symlink"
|
||||
eselect vi update --if-unset
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/xvile/xvile-9.8f.ebuild,v 1.1 2011/12/13 22:02:55 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit versionator
|
||||
|
||||
MY_P="${PN/x/}-${PV}"
|
||||
DESCRIPTION="VI Like Emacs -- yet another full-featured vi clone"
|
||||
HOMEPAGE="http://invisible-island.net/vile/"
|
||||
SRC_URI="ftp://invisible-island.net/vile/current/${MY_P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE="perl"
|
||||
|
||||
RDEPEND="perl? ( dev-lang/perl )
|
||||
=app-editors/vile-${PV}
|
||||
>=x11-libs/libX11-1.0.0
|
||||
>=x11-libs/libXt-1.0.0
|
||||
>=x11-libs/libICE-1.0.0
|
||||
>=x11-libs/libSM-1.0.0
|
||||
>=x11-libs/libXaw-1.0.1
|
||||
>=x11-libs/libXpm-3.5.4.2
|
||||
>=x11-proto/xproto-7.0.4"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/flex"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-ncurses \
|
||||
--with-x \
|
||||
$(use_with perl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin xvile
|
||||
dodoc CHANGES* README doc/*.doc
|
||||
dohtml doc/*.html
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST emacs-common-gentoo-1.2.tar.gz 46622 RMD160 88c923d05286b53687e1099294fb579a2f4f5d39 SHA1 4712b6186d4620aaa5258236367d3228f515f341 SHA256 d15f9654214b10e9efc9e38fe45b4e08c3f0cc1c975de34058e4d360d3053108
|
||||
DIST emacs-common-gentoo-1.3.tar.gz 46819 RMD160 40c12dd355c3fd80ad65d45190c4f3c7f2134ad6 SHA1 ff743a4646d493dd14ed1e812d3adfd6323498e9 SHA256 c874088b1d9833432e1da9c3e3f79e7891cb3af41bcdecb02aa299d207c0218d
|
||||
|
@ -0,0 +1,103 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.3.ebuild,v 1.1 2011/12/13 22:20:27 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit elisp-common eutils fdo-mime gnome2-utils
|
||||
|
||||
DESCRIPTION="Common files needed by all GNU Emacs versions"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="X emacs22icons"
|
||||
|
||||
PDEPEND="virtual/emacs"
|
||||
|
||||
pkg_setup() {
|
||||
if [ -e "${EROOT}${SITELISP}/subdirs.el" ] \
|
||||
&& ! has_version ">=${CATEGORY}/${PN}-1"
|
||||
then
|
||||
ewarn "Removing orphan subdirs.el (installed by old Emacs ebuilds)"
|
||||
rm -f "${EROOT}${SITELISP}/subdirs.el"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir "${SITELISP}"
|
||||
elisp-install . subdirs.el || die
|
||||
|
||||
keepdir /etc/emacs
|
||||
insinto /etc/emacs
|
||||
doins site-start.el
|
||||
|
||||
if use X; then
|
||||
local i
|
||||
domenu emacs.desktop emacsclient.desktop || die
|
||||
newicon icons/sink.png emacs-sink.png || die
|
||||
if use emacs22icons; then
|
||||
newicon icons/emacs22_48.png emacs.png || die
|
||||
for i in 16 24 32 48; do
|
||||
insinto /usr/share/icons/hicolor/${i}x${i}/apps
|
||||
newins icons/emacs22_${i}.png emacs.png
|
||||
done
|
||||
else
|
||||
newicon icons/emacs_48.png emacs.png || die
|
||||
for i in 16 24 32 48 128; do
|
||||
insinto /usr/share/icons/hicolor/${i}x${i}/apps
|
||||
newins icons/emacs_${i}.png emacs.png
|
||||
done
|
||||
insinto /usr/share/icons/hicolor/scalable/apps
|
||||
doins icons/emacs.svg
|
||||
fi
|
||||
gnome2_icon_savelist
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X; then
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
fi
|
||||
|
||||
# make sure that site-gentoo.el exists since site-start.el requires it
|
||||
elisp-site-regen
|
||||
|
||||
local line
|
||||
while read line; do elog "${line:- }"; done <<-EOF
|
||||
All site initialisation for Gentoo-installed packages is added to
|
||||
${SITELISP}/site-gentoo.el. In order for this site
|
||||
initialisation to be loaded for all users automatically, a default
|
||||
site startup file /etc/emacs/site-start.el is installed. You are
|
||||
responsible for maintenance of this file.
|
||||
|
||||
Alternatively, individual users can add the following command:
|
||||
|
||||
(require 'site-gentoo)
|
||||
|
||||
to their ~/.emacs initialisation files, or, for greater flexibility,
|
||||
users may load single package-specific initialisation files from
|
||||
${SITELISP}/site-gentoo.d/.
|
||||
EOF
|
||||
|
||||
if [[ -e ${EROOT}${SITELISP}/site-start.el ]]; then
|
||||
elog
|
||||
while read line; do ewarn "${line}"; done <<-EOF
|
||||
Starting with emacs-23.3-r3, the location of the site startup
|
||||
file for Emacs has changed to /etc/emacs/site-start.el. If your
|
||||
site-start file contains your own customisation, then you should
|
||||
move it to the new file. In any case, you should remove the old
|
||||
${SITELISP}/site-start.el file.
|
||||
EOF
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use X; then
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST jde-2.4.0.1.tar.bz2 3719643 RMD160 1054ee460ecb967c60b27aa880455d8ff2b25c6f SHA1 07ebaf7882d8f49073865083efe17a04d8bd03bb SHA256 1481962464e18a11e6dc52a175200d726b0731cca5e09367f510266a424f822a
|
||||
DIST jde-2.4.1_pre20110622.tar.gz 3813917 RMD160 7f891e3528381533ad61b2c3f91e02be2afb4633 SHA1 86f9d1fa1332204e195f4037d033e959aa18c5c7 SHA256 ed565e4c644ade7d30d2f7c3e811d9c10df9e86b1aa1ebc81a8d66d62537b5f8
|
||||
|
@ -0,0 +1,53 @@
|
||||
Move definition of jde-find-jde-doc-directory to jde-util.el.
|
||||
|
||||
--- jdee-orig/lisp/beanshell.el
|
||||
+++ jdee/lisp/beanshell.el
|
||||
@@ -82,7 +82,7 @@
|
||||
(eval-when-compile
|
||||
(require 'cl))
|
||||
|
||||
-(declare-function jde-find-jde-doc-directory "jde" nil)
|
||||
+(require 'jde-util)
|
||||
|
||||
(defgroup bsh nil
|
||||
"Customizations for the Emacs inteface to Pat Neimeyer's Java
|
||||
--- jdee-orig/lisp/jde-util.el
|
||||
+++ jdee/lisp/jde-util.el
|
||||
@@ -139,6 +139,17 @@
|
||||
(if dir dir (jde-root)))
|
||||
(jde-root))))
|
||||
|
||||
+(defun jde-find-jde-doc-directory ()
|
||||
+ "Return the path of the JDE documentation directory.
|
||||
+Returns nil if the directory cannot be found. At some
|
||||
+point, XEmacs will include the JDE. Versions of XEmacs
|
||||
+that include JDE will store the JDE doc in a data
|
||||
+directory called jde. On all other Emacs versions, the JDE
|
||||
+expects to find the documentation in a subdirectory
|
||||
+named doc of the directory that contains the file
|
||||
+jde.el."
|
||||
+ (jde-find-jde-data-directory))
|
||||
+
|
||||
(defun jde-temp-directory ()
|
||||
"Get the location used by the host system to store temporary files."
|
||||
(or (if (boundp 'temporary-file-directory) temporary-file-directory)
|
||||
--- jdee-orig/lisp/jde.el
|
||||
+++ jdee/lisp/jde.el
|
||||
@@ -1762,17 +1762,6 @@
|
||||
|
||||
|
||||
;; JDE help
|
||||
-(defun jde-find-jde-doc-directory ()
|
||||
- "Return the path of the JDE documentation directory.
|
||||
-Returns nil if the directory cannot be found. At some
|
||||
-point, XEmacs will include the JDE. Versions of XEmacs
|
||||
-that include JDE will store the JDE doc in a data
|
||||
-directory called jde. On all other Emacs versions, the JDE
|
||||
-expects to find the documentation in a subdirectory
|
||||
-named doc of the directory that contains the file
|
||||
-jde.el."
|
||||
- (jde-find-jde-data-directory))
|
||||
-
|
||||
(defcustom jde-html-directory
|
||||
(expand-file-name "doc/html" (jde-find-jde-doc-directory))
|
||||
"Directory of the JDE HTML documentation."
|
@ -0,0 +1,36 @@
|
||||
semantic-add-minor-mode accepts two arguments only.
|
||||
http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/100114
|
||||
|
||||
--- jdee-orig/lisp/jde-bug.el
|
||||
+++ jdee/lisp/jde-bug.el
|
||||
@@ -570,7 +570,7 @@
|
||||
|
||||
(run-hook-with-args 'jde-bug-minor-mode-hook jde-bug-minor-mode))
|
||||
|
||||
-(semantic-add-minor-mode 'jde-bug-minor-mode " JDEbug" jde-bug-mode-map)
|
||||
+(semantic-add-minor-mode 'jde-bug-minor-mode " JDEbug")
|
||||
|
||||
;; (fmakunbound 'jde-bug-key-bindings)
|
||||
(defcustom jde-bug-key-bindings
|
||||
--- jdee-orig/lisp/jde-jdb.el
|
||||
+++ jdee/lisp/jde-jdb.el
|
||||
@@ -1830,7 +1830,7 @@
|
||||
(if (featurep 'xemacs)
|
||||
(easy-menu-remove jde-jdb-xemacs-menu-spec))))
|
||||
|
||||
-(semantic-add-minor-mode 'jde-jdb-minor-mode " jdb" jde-jdb-mode-map)
|
||||
+(semantic-add-minor-mode 'jde-jdb-minor-mode " jdb")
|
||||
|
||||
|
||||
;; (fmakunbound 'jde-jdb-key-bindings)
|
||||
--- jdee-orig/lisp/jde-plugins.el
|
||||
+++ jdee/lisp/jde-plugins.el
|
||||
@@ -194,7 +194,7 @@
|
||||
(easy-menu-add menu-spec jde-plugin-mode-map)
|
||||
(easy-menu-remove menu-spec))))))
|
||||
|
||||
-(semantic-add-minor-mode 'jde-plugin-minor-mode " plugin" jde-plugin-mode-map)
|
||||
+(semantic-add-minor-mode 'jde-plugin-minor-mode " plugin")
|
||||
|
||||
|
||||
(provide 'jde-plugins)
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/jde/jde-2.4.1_pre20110622.ebuild,v 1.1 2011/12/13 17:29:40 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
NEED_EMACS=23
|
||||
WANT_ANT_TASKS="ant-nodeps ant-contrib"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 elisp eutils
|
||||
|
||||
DESCRIPTION="Java Development Environment for Emacs"
|
||||
HOMEPAGE="http://jdee.sourceforge.net/"
|
||||
# taken from: http://jdee.svn.sourceforge.net/viewvc/jdee/trunk/jdee/?view=tar&pathrev=254
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.3
|
||||
app-emacs/elib
|
||||
virtual/emacs-cedet
|
||||
dev-java/bsh
|
||||
dev-java/junit:0
|
||||
dev-util/checkstyle"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/jdee"
|
||||
SITEFILE="70${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-2.4.0.1-fix-paths-gentoo.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.4.0.1-classpath-gentoo.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.4.1-doc-directory.patch"
|
||||
epatch "${FILESDIR}/${PN}-2.4.1-semantic-emacs-24.patch"
|
||||
|
||||
local bshjar csjar
|
||||
bshjar=$(java-pkg_getjar --build-only bsh bsh.jar) || die
|
||||
csjar=$(java-pkg_getjar --build-only checkstyle checkstyle.jar) || die
|
||||
sed -e "s:@BSH_JAR@:${bshjar}:;s:@CHECKSTYLE_JAR@:${csjar}:" \
|
||||
-e "s:@PF@:${PF}:" "${FILESDIR}/${SITEFILE}" >"${SITEFILE}" || die
|
||||
|
||||
cd java/lib || die
|
||||
java-pkg_jar-from --build-only checkstyle checkstyle.jar checkstyle-all.jar
|
||||
java-pkg_jar-from junit
|
||||
java-pkg_jar-from bsh
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant bindist -Delib.dir="${EPREFIX}${SITELISP}/elib"
|
||||
use doc && eant source-doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dist="dist/jdee-${PV%_*}"
|
||||
|
||||
java-pkg_dojar ${dist}/java/lib/jde.jar
|
||||
insinto "${JAVA_PKG_SHAREPATH}"
|
||||
doins -r java/bsh-commands
|
||||
|
||||
use source && java-pkg_dosrc java/src/*
|
||||
use doc && java-pkg_dojavadoc ${dist}/doc/java/api
|
||||
|
||||
elisp-install ${PN} ${dist}/lisp/*.{el,elc} || die
|
||||
elisp-site-file-install "${SITEFILE}" || die
|
||||
|
||||
dobin ${dist}/lisp/jtags
|
||||
|
||||
dohtml -r doc/html/*
|
||||
}
|
@ -0,0 +1,266 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.9.8.ebuild,v 1.1 2011/12/13 16:29:25 cardoe Exp $
|
||||
|
||||
#BACKPORTS=2
|
||||
#AUTOTOOLIZE=yes
|
||||
|
||||
EAPI="3"
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
|
||||
GIT_ECLASS="git-2"
|
||||
AUTOTOOLIZE=yes
|
||||
fi
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.4"
|
||||
#RESTRICT_PYTHON_ABIS="3.*"
|
||||
#SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit eutils python ${AUTOTOOLIZE+autotools} ${GIT_ECLASS}
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://libvirt.org/sources/${MY_P}.tar.gz
|
||||
ftp://libvirt.org/libvirt/${MY_P}.tar.gz
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~flameeyes/${PN}/${MY_P}-backports-${BACKPORTS}.tar.bz2
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-backports-${BACKPORTS}.tar.bz2}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="avahi caps debug iscsi +json +libvirtd lvm +lxc macvtap nfs \
|
||||
nls numa openvz parted pcap phyp policykit python qemu sasl selinux udev \
|
||||
uml virtualbox virt-network xen elibc_glibc"
|
||||
# IUSE=one : bug #293416 & bug #299011
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
RDEPEND="sys-libs/readline
|
||||
sys-libs/ncurses
|
||||
>=net-misc/curl-7.18.0
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
>=dev-libs/libnl-1.1:1.1
|
||||
>=net-libs/gnutls-1.0.25
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
>=net-analyzer/netcat6-1.0-r2
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
json? ( dev-libs/yajl )
|
||||
libvirtd? ( net-misc/bridge-utils )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? ( >sys-process/numactl-2.0.2 )
|
||||
openvz? ( sys-kernel/openvz-sources )
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
phyp? ( net-libs/libssh2 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? ( || ( app-emulation/qemu-kvm >=app-emulation/qemu-0.10.0 ) )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
xen? ( app-emulation/xen-tools app-emulation/xen )
|
||||
udev? ( >=sys-fs/udev-145 >=x11-libs/libpciaccess-0.10.9 )
|
||||
virt-network? ( net-dns/dnsmasq
|
||||
>=net-firewall/iptables-1.4.10
|
||||
net-firewall/ebtables
|
||||
sys-apps/iproute2[-minimal] )
|
||||
elibc_glibc? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) )"
|
||||
# one? ( dev-libs/xmlrpc-c )
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
app-text/xhtml1"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
[[ -n ${AUTOTOOLIZE} ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
myconf="${myconf} $(use_enable debug)"
|
||||
|
||||
## enable/disable daemon, otherwise client only utils
|
||||
myconf="${myconf} $(use_with libvirtd)"
|
||||
|
||||
## enable/disable the daemon using avahi to find VMs
|
||||
myconf="${myconf} $(use_with avahi)"
|
||||
|
||||
## hypervisors on the local host
|
||||
myconf="${myconf} $(use_with xen) $(use_with xen xen-inotify)"
|
||||
# leave it automagic as it depends on the version of xen used.
|
||||
use xen || myconf+=" --without-libxl"
|
||||
|
||||
myconf="${myconf} $(use_with openvz)"
|
||||
myconf="${myconf} $(use_with lxc)"
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myconf="${myconf} --with-vbox=/usr/lib/virtualbox-ose/"
|
||||
else
|
||||
myconf="${myconf} $(use_with virtualbox vbox)"
|
||||
fi
|
||||
myconf="${myconf} $(use_with uml)"
|
||||
myconf="${myconf} $(use_with qemu)"
|
||||
# doesn't belong with hypervisors but links to libvirtd for some reason
|
||||
#myconf="${myconf} $(use_with one)"
|
||||
|
||||
## hypervisor protocols
|
||||
myconf="${myconf} $(use_with phyp)"
|
||||
myconf="${myconf} --with-esx"
|
||||
|
||||
## additional host drivers
|
||||
myconf="${myconf} $(use_with virt-network network)"
|
||||
myconf="${myconf} --with-storage-fs"
|
||||
myconf="${myconf} $(use_with lvm storage-lvm)"
|
||||
myconf="${myconf} $(use_with iscsi storage-iscsi)"
|
||||
myconf="${myconf} $(use_with parted storage-disk)"
|
||||
myconf="${myconf} $(use_with lvm storage-mpath)"
|
||||
myconf="${myconf} $(use_with numa numactl)"
|
||||
myconf="${myconf} $(use_with selinux)"
|
||||
|
||||
# udev for device support details
|
||||
myconf="${myconf} $(use_with udev)"
|
||||
|
||||
# linux capability support so we don't need privileged accounts
|
||||
myconf="${myconf} $(use_with caps capng)"
|
||||
|
||||
## auth stuff
|
||||
myconf="${myconf} $(use_with policykit polkit)"
|
||||
myconf="${myconf} $(use_with sasl)"
|
||||
|
||||
# network bits
|
||||
myconf="${myconf} $(use_with macvtap)"
|
||||
myconf="${myconf} $(use_with pcap libpcap)"
|
||||
|
||||
## other
|
||||
myconf="${myconf} $(use_enable nls)"
|
||||
myconf="${myconf} $(use_with python)"
|
||||
myconf="${myconf} $(use_with json yajl)"
|
||||
|
||||
## stuff we don't yet support
|
||||
myconf="${myconf} --without-netcf --without-audit"
|
||||
|
||||
# we use udev over hal
|
||||
myconf="${myconf} --without-hal"
|
||||
|
||||
# locking support
|
||||
myconf="${myconf} --without-sanlock"
|
||||
|
||||
# this is a nasty trick to work around the problem in bug
|
||||
# #275073. The reason why we don't solve this properly is that
|
||||
# it'll require us to rebuild autotools (and we don't really want
|
||||
# to do that right now). The proper solution has been sent
|
||||
# upstream and should hopefully land in 0.7.7, in the mean time,
|
||||
# mime the same functionality with this.
|
||||
case ${CHOST} in
|
||||
*cygwin* | *mingw* )
|
||||
;;
|
||||
*)
|
||||
ac_cv_prog_WINDRES=no
|
||||
;;
|
||||
esac
|
||||
|
||||
econf \
|
||||
${myconf} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-remote \
|
||||
--localstatedir=/var
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Explicitly allow parallel build of tests
|
||||
HOME="${T}" emake check || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
DESTDIR="${D}" \
|
||||
HTML_DIR=/usr/share/doc/${PF}/html \
|
||||
DOCS_DIR=/usr/share/doc/${PF}/python \
|
||||
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|
||||
|| die "emake install failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
newinitd "${FILESDIR}/libvirtd.init-r5" libvirtd || die
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r2" libvirtd || die
|
||||
|
||||
keepdir /var/lib/libvirt/images
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
# We really don't want to use or support old PolicyKit cause it
|
||||
# screws with the new polkit integration
|
||||
if has_version sys-auth/policykit; then
|
||||
rm -rf "${D}"/usr/share/PolicyKit/policy/org.libvirt.unix.policy
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize libvirt.py
|
||||
|
||||
elog
|
||||
if use policykit && has_version sys-auth/policykit; then
|
||||
elog "You must have run the following at least once:"
|
||||
elog
|
||||
elog "$ polkit-auth --grant org.libvirt.unix.manage --user \"USERNAME\""
|
||||
elog
|
||||
elog "to grant USERNAME access to libvirt when using USE=policykit"
|
||||
else
|
||||
elog "To allow normal users to connect to libvirtd you must change the"
|
||||
elog " unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
elog
|
||||
elog "For the basic networking support (bridged and routed networks)"
|
||||
elog "you don't need any extra software. For more complex network modes"
|
||||
elog "including but not limited to NATed network, you can enable the"
|
||||
elog "'virt-network' USE flag."
|
||||
elog
|
||||
if has_version net-dns/dnsmasq; then
|
||||
ewarn "If you have a DNS server setup on your machine, you will have"
|
||||
ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
|
||||
ewarn " bind-interfaces"
|
||||
ewarn " interface or except-interface"
|
||||
ewarn
|
||||
ewarn "Otherwise you might have issues with your existing DNS server."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup libvirt.py
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
--- src/gfxoutputdrv/ffmpegdrv.c
|
||||
+++ src/gfxoutputdrv/ffmpegdrv.c
|
||||
@@ -342,7 +342,7 @@
|
||||
|
||||
c = st->codec;
|
||||
c->codec_id = ffmpegdrv_fmt->audio_codec;
|
||||
- c->codec_type = CODEC_TYPE_AUDIO;
|
||||
+ c->codec_type = AVMEDIA_TYPE_AUDIO;
|
||||
c->sample_fmt = SAMPLE_FMT_S16;
|
||||
|
||||
/* put sample parameters */
|
||||
@@ -370,7 +370,7 @@
|
||||
pkt.size = (*ffmpeglib.p_avcodec_encode_audio)(c,
|
||||
audio_outbuf, audio_outbuf_size, audio_in->buffer);
|
||||
pkt.pts = c->coded_frame->pts;
|
||||
- pkt.flags |= PKT_FLAG_KEY;
|
||||
+ pkt.flags |= AV_PKT_FLAG_KEY;
|
||||
pkt.stream_index = audio_st->index;
|
||||
pkt.data = audio_outbuf;
|
||||
|
||||
@@ -559,7 +559,7 @@
|
||||
|
||||
c = st->codec;
|
||||
c->codec_id = ffmpegdrv_fmt->video_codec;
|
||||
- c->codec_type = CODEC_TYPE_VIDEO;
|
||||
+ c->codec_type = AVMEDIA_TYPE_VIDEO;
|
||||
|
||||
/* put sample parameters */
|
||||
c->bit_rate = video_bitrate;
|
||||
@@ -819,7 +819,7 @@
|
||||
if (ffmpegdrv_oc->oformat->flags & AVFMT_RAWPICTURE) {
|
||||
AVPacket pkt;
|
||||
(*ffmpeglib.p_av_init_packet)(&pkt);
|
||||
- pkt.flags |= PKT_FLAG_KEY;
|
||||
+ pkt.flags |= AV_PKT_FLAG_KEY;
|
||||
pkt.stream_index = video_st->index;
|
||||
pkt.data = (uint8_t*)picture;
|
||||
pkt.size = sizeof(AVPicture);
|
||||
@@ -840,7 +840,7 @@
|
||||
(*ffmpeglib.p_av_init_packet)(&pkt);
|
||||
pkt.pts = c->coded_frame->pts;
|
||||
if (c->coded_frame->key_frame)
|
||||
- pkt.flags |= PKT_FLAG_KEY;
|
||||
+ pkt.flags |= AV_PKT_FLAG_KEY;
|
||||
pkt.stream_index = video_st->index;
|
||||
pkt.data = video_outbuf;
|
||||
pkt.size = out_size;
|
@ -1 +1,2 @@
|
||||
DIST alexandria-0.6.6.tar.gz 2990953 RMD160 a935205782caafff990a859f548eec81eba4ba63 SHA1 edcd808ab2fd7407bfbacdd8ecd7f0346e871b1d SHA256 42a9c81288b13190928166c67592426d893a8fba98293fca98e1fb9f36054ce0
|
||||
DIST alexandria-0.6.7.tar.gz 3014178 RMD160 f00041ee8afc0c97fd4412d7b73786d9ba1a096a SHA1 0a31bd9bb1e626e5451f01c900ac9ad9c25f5e1c SHA256 47991fc42884187974ac600b1b9db6f57546d4ea6af3ef0c125519d95bbd710b
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/alexandria/alexandria-0.6.7.ebuild,v 1.1 2011/12/13 19:26:15 fauli Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18"
|
||||
|
||||
inherit gnome2 ruby-ng
|
||||
|
||||
DESCRIPTION="A GNOME application to help you manage your book collection"
|
||||
HOMEPAGE="http://alexandria.rubyforge.org/"
|
||||
SRC_URI="mirror://rubyforge/${PN}/${PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="evo"
|
||||
|
||||
DOCS="ChangeLog README TODO doc/BUGS doc/cuecat_support.rdoc doc/FAQ doc/HACKING doc/NEWS"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/ruby-gettext-0.6.1
|
||||
>=dev-ruby/ruby-gnome2-0.16.0
|
||||
>=dev-ruby/ruby-libglade2-0.12.0
|
||||
>=dev-ruby/ruby-gconf2-0.12.0
|
||||
>=dev-ruby/imagesize-0.1.1
|
||||
dev-ruby/hpricot
|
||||
evo? ( >=dev-ruby/revolution-0.5 )"
|
||||
|
||||
ruby_add_bdepend "dev-ruby/rake"
|
||||
|
||||
DEPEND="${DEPEND} app-text/scrollkeeper"
|
||||
|
||||
RUBY_PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.6.6-Rakefile.patch"
|
||||
)
|
||||
|
||||
each_ruby_compile() {
|
||||
${RUBY} -S rake || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
export DESTDIR="${D}" PREFIX=/usr
|
||||
rake install_package_staging || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
[ -n "${DOCS}" ] && dodoc ${DOCS} || die "Failed to install documentation"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
unset PREFIX
|
||||
|
||||
gnome2_gconf_install
|
||||
|
||||
# For the next line see bug #76726
|
||||
"${ROOT}/usr/bin/gconftool-2" --shutdown
|
||||
|
||||
echo
|
||||
elog "To enable some book providers you will need to emerge"
|
||||
elog "additional packages:"
|
||||
echo
|
||||
elog " For the Deastore book provider:"
|
||||
elog " dev-ruby/htmlentities"
|
||||
echo
|
||||
elog " For Z39.50 support and the Library of Congress and"
|
||||
elog " British Library book proviers:"
|
||||
elog " dev-ruby/ruby-zoom"
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
--- a/rfc-3.2.3/rfc-3.2.3
|
||||
+++ b/rfc-3.2.3/rfc-3.2.3
|
||||
@@ -103,11 +103,12 @@
|
||||
."It may be desirable to change the\n\$indexpath to a location you can write to.";
|
||||
close (INDEXPATH);
|
||||
$indexlength=numlines($indexpath);
|
||||
- print "Modem users one moment, it's about 400k \(doesn't need to be updated often\)\n";
|
||||
+ print "Modem users one moment, it's about 1024k \(doesn't need to be updated often\)\n";
|
||||
print "original lines \t= $indexlength\t$indexpath\n";
|
||||
#system ("$viewer -dump http://www.faqs.org/rfc/rfc-index.txt > $indexpath");
|
||||
#system ("$viewer -dump http://www.dewn.com/rfc/rfc-index.txt > $indexpath");
|
||||
- system ("$viewer -dump http://ftp.isi.edu/in-notes/rfc-index.txt > $indexpath");
|
||||
+ #system ("$viewer -dump http://ftp.isi.edu/in-notes/rfc-index.txt > $indexpath");
|
||||
+ system ("$viewer -dump http://www.ietf.org/rfc/rfc-index.txt > $indexpath");
|
||||
$indexlength=numlines($indexpath); print "new lines \t= $indexlength\t$indexpath\n";
|
||||
exit }
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/rfcutil/rfcutil-3.2.3-r1.ebuild,v 1.1 2011/12/13 20:22:37 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_PN="rfc"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DESCRIPTION="return all related RFCs based upon a number or a search string"
|
||||
HOMEPAGE="http://www.dewn.com/rfc/"
|
||||
SRC_URI="http://www.dewn.com/rfc/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
|| ( www-client/lynx virtual/w3m )"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${MY_P}.diff \
|
||||
"${FILESDIR}"/${MY_P}-index.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin ${MY_P} ${MY_PN}
|
||||
doman ${MY_PN}.1
|
||||
dodoc CHANGELOG KNOWN_BUGS README
|
||||
keepdir /var/cache/rfc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Gaarde suggests you make a cron.monthly to run the following:"
|
||||
elog " /usr/bin/rfc -i"
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
rm -f "${ROOT}"/var/cache/rfc/*
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
--- build.xml.orig 2011-01-25 17:33:24.750473340 +0100
|
||||
+++ build.xml 2011-01-25 17:07:14.657410373 +0100
|
||||
@@ -176,7 +176,9 @@
|
||||
<path id="test.runpath">
|
||||
<pathelement path="${build}/${jar}"/>
|
||||
<pathelement path="${test.classes}"/>
|
||||
+ <!--
|
||||
<pathelement path="lib/clover.jar"/>
|
||||
+ -->
|
||||
<path refid="test.libs"/>
|
||||
</path>
|
||||
</target>
|
||||
@@ -433,13 +435,17 @@
|
||||
<copy todir="${build}/jws" file="${build}/${jar}"/>
|
||||
<copy todir="${build}/jws" file="${build}/${testjar}"/>
|
||||
<copy todir="${build}/jws" file="lib/junit.jar"/>
|
||||
+ <!--
|
||||
<copy todir="${build}/jws" file="lib/clover.jar"/>
|
||||
+ -->
|
||||
<jar jarfile="${build}/jws/jnidispatch.jar">
|
||||
<fileset dir="${build.native}" includes="*jnidispatch.*"/>
|
||||
</jar>
|
||||
+ <!--
|
||||
<signjar alias="jna" keystore="jna.keystore" storepass="jnadev" lazy="true">
|
||||
- <fileset dir="${build}/jws" includes="jna.jar,jna-test.jar,junit.jar,jnidispatch.jar,clover.jar"/>
|
||||
+ <fileset dir="${build}/jws" includes="jna.jar,jna-test.jar,junit.jar,jnidispatch.jar"/>
|
||||
</signjar>
|
||||
+ -->
|
||||
</target>
|
||||
|
||||
<!-- When running tests from an IDE, be sure to set jna.library.path -->
|
@ -0,0 +1,60 @@
|
||||
--- native/Makefile.orig 2011-01-25 16:42:02.341745978 +0100
|
||||
+++ native/Makefile 2011-01-25 16:45:57.500174283 +0100
|
||||
@@ -67,10 +66,10 @@
|
||||
COUT=-o $@
|
||||
CINCLUDES=$(JAVA_INCLUDES) -I"$(JAVAH)" -I$(FFI_BUILD)/include
|
||||
CDEFINES=-D_REENTRANT
|
||||
-PCFLAGS=-W -Wall -Wno-unused -Wno-parentheses
|
||||
-CFLAGS=$(PCFLAGS) $(CFLAGS_EXTRA) $(COPT) $(CDEBUG) $(CDEFINES) $(CINCLUDES) \
|
||||
+PCFLAGS=-Wall -Wno-unused -Wno-parentheses
|
||||
+CFLAGS+=$(PCFLAGS) $(CFLAGS_EXTRA) $(COPT) $(CDEBUG) $(CDEFINES) $(CINCLUDES) \
|
||||
-DJNA_JNI_VERSION='"$(JNA_JNI_VERSION)"' -DCHECKSUM='"$(CHECKSUM)"'
|
||||
-LDFLAGS=-o $@ -shared
|
||||
+LDFLAGS+=-o $@ -shared
|
||||
ifeq ($(DYNAMIC_LIBFFI),true)
|
||||
CFLAGS += $(shell pkg-config --cflags libffi 2>/dev/null || echo)
|
||||
LIBS += $(shell pkg-config --libs libffi 2>/dev/null || echo -lffi)
|
||||
@@ -109,7 +108,7 @@
|
||||
ifneq ($(MINGW),)
|
||||
CC = $(MINGW) -m64 -mno-cygwin
|
||||
LD = $(CC)
|
||||
-LDFLAGS=-o $@ -shared
|
||||
+LDFLAGS+=-o $@ -shared
|
||||
LIBS= -lmingwex -lpsapi -lkernel32 -lmsvcrt
|
||||
FFI_CONFIG += --host=x86_64-pc-mingw32
|
||||
else
|
||||
@@ -129,14 +128,14 @@
|
||||
ARCH=$(shell uname -m | sed 's/i.86/i386/g')
|
||||
PCFLAGS+=-fPIC
|
||||
CDEFINES+=-DHAVE_PROTECTION
|
||||
-LDFLAGS+=-Wl,-soname,$@
|
||||
+LDFLAGS+= -Wl,-soname,$(shell basename $@)
|
||||
endif
|
||||
|
||||
ifeq ($(OS),freebsd)
|
||||
ARCH=$(shell uname -m | sed 's/i.86/i386/g')
|
||||
PCFLAGS+=-fPIC
|
||||
CINCLUDES+=-I/usr/X11R6/include
|
||||
-LDFLAGS=-o $@ -shared
|
||||
+LDFLAGS+=-o $@ -shared
|
||||
CDEFINES+=-DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT
|
||||
endif
|
||||
|
||||
@@ -144,7 +143,7 @@
|
||||
ARCH=$(shell uname -m | sed 's/i.86/i386/g')
|
||||
PCFLAGS+=-fPIC
|
||||
CINCLUDES+=-I/usr/X11R6/include
|
||||
-LDFLAGS=-o $@ -shared
|
||||
+LDFLAGS+= -o $@ -shared
|
||||
CDEFINES+=-DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT
|
||||
endif
|
||||
|
||||
@@ -191,7 +190,7 @@
|
||||
endif
|
||||
PCFLAGS+=$(ISYSROOT) -x objective-c
|
||||
CDEFINES+=-DTARGET_RT_MAC_CFM=0 -DFFI_MMAP_EXEC_WRIT
|
||||
-LDFLAGS=$(ARCHFLAGS) -dynamiclib -o $@ -framework JavaVM \
|
||||
+LDFLAGS+=$(ARCHFLAGS) -dynamiclib -o $@ -framework JavaVM \
|
||||
-compatibility_version $(shell echo ${JNA_JNI_VERSION}|sed 's/^\([0-9][0-9]*\).*/\1/g') \
|
||||
-current_version $(JNA_JNI_VERSION) \
|
||||
-mmacosx-version-min=10.3 \
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jna/jna-3.3.0.ebuild,v 1.1 2011/12/13 17:05:49 fordfrog Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
JAVA_PKG_IUSE="test doc source"
|
||||
WANT_ANT_TASKS="ant-nodeps"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Java Native Access (JNA)"
|
||||
HOMEPAGE="https://jna.dev.java.net/"
|
||||
SRC_URI="http://java.net/projects/jna/sources/svn/content/tags/${PV}/jnalib/dist/src.zip?rev=1212 -> ${P}-src.zip
|
||||
http://java.net/projects/jna/sources/svn/content/tags/${PV}/jnalib/contrib/platform/build.xml?raw=true -> ${P}-platform-build.xml
|
||||
http://java.net/projects/jna/sources/svn/content/tags/${PV}/jnalib/contrib/platform/nbproject/build-impl.xml?raw=true -> ${P}-platform-build-impl.xml
|
||||
http://java.net/projects/jna/sources/svn/content/tags/${PV}/jnalib/contrib/platform/nbproject/project.properties?rev=1212 -> ${P}-platform-project.properties"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
S="${WORKDIR}"
|
||||
|
||||
RDEPEND="virtual/libffi
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
DEPEND="virtual/libffi
|
||||
>=virtual/jdk-1.6
|
||||
test? (
|
||||
dev-java/junit:0
|
||||
dev-java/ant-junit:0
|
||||
dev-java/ant-trax:0
|
||||
)"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_BUILD_TARGET="jar contrib-jars"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}-src.zip
|
||||
mkdir -p contrib/platform/nbproject || die
|
||||
cp "${DISTDIR}"/${P}-platform-build.xml contrib/platform/build.xml || die
|
||||
cp "${DISTDIR}"/${P}-platform-build-impl.xml contrib/platform/nbproject/build-impl.xml || die
|
||||
cp "${DISTDIR}"/${P}-platform-project.properties contrib/platform/nbproject/project.properties || die
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
# respect CFLAGS, don't inhibit warnings, honour CC
|
||||
# fix build.xml file
|
||||
epatch "${FILESDIR}/${PV}-makefile-flags.patch" "${FILESDIR}/${PV}-build.xml.patch"
|
||||
|
||||
# Fetch our own prebuilt libffi.
|
||||
mkdir -p build/native/libffi/.libs || die
|
||||
ln -snf "/usr/$(get_libdir)/libffi.so" \
|
||||
build/native/libffi/.libs/libffi_convenience.a || die
|
||||
|
||||
# Build to same directory on 64-bit archs.
|
||||
ln -snf build build-d64 || die
|
||||
}
|
||||
|
||||
EANT_EXTRA_ARGS="-Ddynlink.native=true"
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar build/${PN}.jar
|
||||
java-pkg_dojar contrib/platform/dist/platform.jar
|
||||
java-pkg_doso build/native/libjnidispatch.so
|
||||
use source && java-pkg_dosrc src/com
|
||||
use doc && java-pkg_dojavadoc doc/javadoc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DISPLAY
|
||||
|
||||
mkdir -p lib
|
||||
java-pkg_jar-from --into lib --build-only junit
|
||||
|
||||
ANT_TASKS="ant-junit ant-nodeps ant-trax" \
|
||||
ANT_OPTS="-Djava.awt.headless=true" eant \
|
||||
${EANT_EXTRA_ARGS} test
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST libkpass-3.tar.gz 313707 RMD160 380dbf9fd8d3f2ba79d85dbf1a02a7d850231574 SHA1 0d5c2562dfdcfc3cff76e1a4214246dc74df62a5 SHA256 390ebca29040ae1a015f4c067de16fe585693d2b4f95caca24529917bdb2dfec
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libkpass/libkpass-3.ebuild,v 1.2 2011/12/13 18:12:19 joker Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Libkpass is a from-scratch C implementation of accessing KeePass 1.x format password databases"
|
||||
HOMEPAGE="http://libkpass.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="dev-libs/openssl[static-libs?]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc TODO README AUTHORS ChangeLog
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>joker@gentoo.org</email>
|
||||
<name>Christian Birchinger</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,7 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>maintainer-needed@gentoo.org</email>
|
||||
</maintainer>
|
||||
<herd>cjk</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -1,12 +1,12 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Spreadsheet_Excel_Writer/PEAR-Spreadsheet_Excel_Writer-0.9.2.ebuild,v 1.1 2010/04/16 20:10:15 beandog Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Spreadsheet_Excel_Writer/PEAR-Spreadsheet_Excel_Writer-0.9.2.ebuild,v 1.2 2011/12/13 16:55:11 jer Exp $
|
||||
|
||||
inherit php-pear-r1 eutils
|
||||
|
||||
DESCRIPTION="Package for generating Excel spreadsheets"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
RDEPEND=">=dev-php/PEAR-OLE-0.5-r1"
|
||||
IUSE=""
|
||||
|
@ -1,2 +1 @@
|
||||
DIST llfuse-0.36.tar.bz2 213933 RMD160 6d05df3fc11316c4854a0c82cb0b25461a436289 SHA1 50acc1949e4d914d6a55c0b0374d1a86a90b1562 SHA256 08b3a2511ff7c1ea67b91d11f108bda6be9f2e5ca7d4efc52ac8734e1580f52b
|
||||
DIST llfuse-0.37.tar.bz2 223267 RMD160 a614c89756a0d85cd87adfe62fdcbfbd269ccf67 SHA1 362d22fea248f7e60540507e0b73e18a2dbd5dd6 SHA256 5598fb35eeba990a5749793626294117a54d996511b7304ea2f26c050631fca5
|
||||
DIST llfuse-0.37.1.tar.bz2 223919 RMD160 8a26e518215357b169dc044f1d706a83ed581bf6 SHA1 62344aad753a1b996d4d18851af55cf9074c6085 SHA256 047f29c2d0363766807ba21b72a68f66022eddde642e7c7f167145fa1a2b6782
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/llfuse/llfuse-0.36.ebuild,v 1.2 2011/10/16 23:27:33 radhermit Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="*"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python bindings for the low-level FUSE API"
|
||||
HOMEPAGE="http://python-llfuse.googlecode.com/ http://pypi.python.org/pypi/llfuse"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=sys-fs/fuse-2.8.0"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools
|
||||
dev-util/pkgconfig"
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
use doc && { dohtml -r doc/html/* || die ; }
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/llfuse/llfuse-0.37.ebuild,v 1.1 2011/12/08 01:23:44 radhermit Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/llfuse/llfuse-0.37.1.ebuild,v 1.1 2011/12/13 23:28:02 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*"
|
@ -1,2 +1,2 @@
|
||||
DIST pymongo-1.11.tar.gz 158625 RMD160 e19187d161c67e3b97bccf8c0ce37c3eac0098c1 SHA1 273d4651e7c07c216bb6c48671bcd6f25f5c55e5 SHA256 3969282dbf4616de48ebb3ced00844f86dd7e99bc7b738c2ef78af4b448f8b38
|
||||
DIST pymongo-2.0.1.tar.gz 171745 RMD160 b6c1b6bdcd8165e6d8e124c2fbcd316b392e49e2 SHA1 864b839f71e28f3f37b6b375c8c13c7a4cca1ee1 SHA256 608b0a1ab378a6f0a74035f6a0e05c00903d47139784b00c56fe47665bfd685c
|
||||
DIST pymongo-2.1.tar.gz 197271 RMD160 a9bcbb4de71cbfa8b9674873f2662f5f55974288 SHA1 5900ac2708a5c18107ed510b90f965b3475d678e SHA256 49dbefef8d37fc0b09c0383b71ac9eab23c05170ea95f51a86bd8ffd20dd5bee
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-1.11-r1.ebuild,v 1.2 2011/08/08 18:24:42 hwoarang Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymongo/pymongo-2.1.ebuild,v 1.1 2011/12/13 17:47:42 ultrabug Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
@ -0,0 +1,171 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/schroot/schroot-1.4.23-r1.ebuild,v 1.1 2011/12/13 22:24:32 abcd Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools base pam versionator
|
||||
|
||||
MY_P=${PN}_${PV}
|
||||
|
||||
DESCRIPTION="Utility to execute commands in a chroot environment"
|
||||
HOMEPAGE="http://packages.debian.org/source/sid/schroot"
|
||||
SRC_URI="mirror://debian/pool/main/${PN::1}/${PN}/${MY_P}.orig.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="btrfs +dchroot debug doc lvm nls pam test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/boost-1.42.0
|
||||
dev-libs/lockdev
|
||||
>=sys-apps/util-linux-2.16
|
||||
btrfs? ( >=sys-fs/btrfs-progs-0.19-r2 )
|
||||
lvm? ( sys-fs/lvm2 )
|
||||
pam? ( sys-libs/pam )
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
media-gfx/graphviz
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
test? ( >=dev-util/cppunit-1.10.0 )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-apps/debianutils
|
||||
dchroot? ( !sys-apps/dchroot )
|
||||
nls? ( virtual/libintl )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.4.7-tests.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
|
||||
# Don't depend on cppunit unless we are testing
|
||||
use test || sed -i '/AM_PATH_CPPUNIT/d' configure.ac
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
root_tests=no
|
||||
use test && (( EUID == 0 )) && root_tests=yes
|
||||
econf \
|
||||
$(use_enable btrfs btrfs-snapshot) \
|
||||
$(use_enable doc doxygen) \
|
||||
$(use_enable dchroot) \
|
||||
$(use_enable dchroot dchroot-dsa) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable lvm lvm-snapshot) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable pam) \
|
||||
--enable-block-device \
|
||||
--enable-loopback \
|
||||
--enable-uuid \
|
||||
--enable-root-tests=$root_tests \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--with-bash-completion-dir="${EPREFIX}"/usr/share/bash-completion
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all $(usev doc)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ $root_tests == yes && $EUID -ne 0 ]]; then
|
||||
ewarn "Disabling tests because you are no longer root"
|
||||
return 0
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
insinto /usr/share/doc/${PF}/contrib/setup.d
|
||||
doins contrib/setup.d/09fsck contrib/setup.d/10mount-ssh
|
||||
|
||||
newinitd "${FILESDIR}"/schroot.initd schroot
|
||||
newconfd "${FILESDIR}"/schroot.confd schroot
|
||||
|
||||
if use doc; then
|
||||
docinto html/sbuild
|
||||
dohtml doc/sbuild/html/*
|
||||
docinto html/schroot
|
||||
dohtml doc/schroot/html/*
|
||||
fi
|
||||
|
||||
if use pam; then
|
||||
rm -f "${ED}"etc/pam.d/schroot
|
||||
pamd_mimic_system schroot auth account session
|
||||
fi
|
||||
|
||||
# Remove *.la files
|
||||
find "${D}" -name "*.la" -exec rm {} + || die "removal of *.la files failed"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ ${REPLACING_VERSIONS} == 1.2* || ${REPLACING_VERSIONS} == 1.4.0* ]]; then
|
||||
einfo "Moving config files to new location..."
|
||||
mkdir "${EROOT}etc/schroot/default"
|
||||
mv_conffile etc/schroot/script-defaults etc/schroot/default/config
|
||||
mv_conffile etc/schroot/mount-defaults etc/schroot/default/fstab
|
||||
mv_conffile etc/schroot/copyfiles-defaults etc/schroot/default/copyfiles
|
||||
mv_conffile etc/schroot/nssdatabases-defaults etc/schroot/default/nssdatabases
|
||||
fi
|
||||
}
|
||||
|
||||
mv_conffile() {
|
||||
local OLDFILE=${EROOT}$1
|
||||
local NEWFILE=${EROOT}$2
|
||||
|
||||
# if the old file doesn't exist, or is a symlink, stop
|
||||
[[ -f ${OLDFILE} ]] || return 0
|
||||
[[ -L ${OLDFILE} ]] && return 0
|
||||
|
||||
# if the new file already exists, then we have a problem...
|
||||
if [[ -e ${NEWFILE} ]]; then
|
||||
# but if they are the same, then don't worry about it
|
||||
if cmp -s "${OLDFILE}" "${NEWFILE}"; then
|
||||
rm -f "${OLDFILE}"
|
||||
else
|
||||
ewarn "${NEWFILE} already exists, not moving ${OLDFILE}"
|
||||
fi
|
||||
else
|
||||
mv "${OLDFILE}" "${NEWFILE}"
|
||||
fi
|
||||
|
||||
local x y
|
||||
# now move all the unmerged config files as well
|
||||
for x in "${OLDFILE%/*}"/._cfg????_"${OLDFILE##*/}"; do
|
||||
[[ -f ${x} ]] || continue
|
||||
# /etc/schroot/._cfg0000_script-defaults -> /etc/schroot/default/._cfg0000_config
|
||||
y=${x##*/}
|
||||
y=${NEWFILE%*/}${y%${OLDFILE##*/}}${NEWFILE##*/}
|
||||
mv "${x}" "${y}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local x
|
||||
if [[ ${REPLACING_VERSIONS} == 1.2* || ${REPLACING_VERSIONS} == 1.4.0* ]]; then
|
||||
for x in script:config mount:fstab copyfiles nssdatabases; do
|
||||
if [[ ! -e ${EROOT}etc/schroot/${x%:*}-defaults && -f ${EROOT}etc/schroot/default/${x#*:} ]]; then
|
||||
einfo "Creating compatibility symlink for ${x%:*}-defaults"
|
||||
ln -sf "default/${x#*:}" "${ROOT}etc/schroot/${x%:*}-defaults"
|
||||
fi
|
||||
done
|
||||
|
||||
ewarn "Your config files have been moved to the new location in"
|
||||
ewarn "/etc/schroot/default. Compatibility symlinks have been installed in"
|
||||
ewarn "/etc/schroot, and may be removed if no running chroot refers to them."
|
||||
fi
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
commit 1ac5ebe482f633295fb4a79eb1c5236561e9ca70
|
||||
Author: Andriy Rysin <arysin@gmail.com>
|
||||
Date: Fri Nov 18 23:12:14 2011 -0500
|
||||
|
||||
Fix keyboard layout global shortcuts
|
||||
BUG: 286302
|
||||
|
||||
diff --git a/kcontrol/keyboard/bindings.cpp b/kcontrol/keyboard/bindings.cpp
|
||||
index 6f5af7b..ac20dd9 100644
|
||||
--- a/kcontrol/keyboard/bindings.cpp
|
||||
+++ b/kcontrol/keyboard/bindings.cpp
|
||||
@@ -103,8 +103,11 @@ void KeyboardLayoutActionCollection::setLayoutShortcuts(QList<LayoutUnit>& layou
|
||||
{
|
||||
for (QList<LayoutUnit>::iterator i = layoutUnits.begin(); i != layoutUnits.end(); ++i) {
|
||||
LayoutUnit& layoutUnit = *i;
|
||||
- createLayoutShortcutActon(layoutUnit, rules, false);
|
||||
+ if( ! layoutUnit.getShortcut().isEmpty() ) {
|
||||
+ createLayoutShortcutActon(layoutUnit, rules, false);
|
||||
+ }
|
||||
}
|
||||
+ kDebug() << "Cleaning component shortcuts on save" << KGlobalAccel::cleanComponent(COMPONENT_NAME);
|
||||
}
|
||||
|
||||
void KeyboardLayoutActionCollection::loadLayoutShortcuts(QList<LayoutUnit>& layoutUnits, const Rules* rules)
|
||||
@@ -112,19 +115,27 @@ void KeyboardLayoutActionCollection::loadLayoutShortcuts(QList<LayoutUnit>& layo
|
||||
for (QList<LayoutUnit>::iterator i = layoutUnits.begin(); i != layoutUnits.end(); ++i) {
|
||||
LayoutUnit& layoutUnit = *i;
|
||||
KAction* action = createLayoutShortcutActon(layoutUnit, rules, true);
|
||||
- layoutUnit.setShortcut(action->globalShortcut(KAction::ActiveShortcut).primary()); // shortcut was restored
|
||||
+ QKeySequence shortcut = action->globalShortcut(KAction::ActiveShortcut).primary(); // shortcut was restored
|
||||
+ if( ! shortcut.isEmpty() ) {
|
||||
+ kDebug() << "Restored shortcut for" << layoutUnit.toString() << shortcut;
|
||||
+ layoutUnit.setShortcut(shortcut);
|
||||
+ }
|
||||
+ else {
|
||||
+ kDebug() << "Skipping empty shortcut for" << layoutUnit.toString();
|
||||
+ removeAction(action);
|
||||
+ }
|
||||
}
|
||||
kDebug() << "Cleaning component shortcuts on load" << KGlobalAccel::cleanComponent(COMPONENT_NAME);
|
||||
}
|
||||
|
||||
-KAction* KeyboardLayoutActionCollection::getAction(const LayoutUnit& layoutUnit)
|
||||
-{
|
||||
- for(int i=1; i<actions().size(); i++) {
|
||||
- if( action(i)->data() == layoutUnit.toString() )
|
||||
- return static_cast<KAction*>(action(i));
|
||||
- }
|
||||
- return NULL;
|
||||
-}
|
||||
+//KAction* KeyboardLayoutActionCollection::getAction(const LayoutUnit& layoutUnit)
|
||||
+//{
|
||||
+// for(int i=1; i<actions().size(); i++) {
|
||||
+// if( action(i)->data() == layoutUnit.toString() )
|
||||
+// return static_cast<KAction*>(action(i));
|
||||
+// }
|
||||
+// return NULL;
|
||||
+//}
|
||||
|
||||
void KeyboardLayoutActionCollection::resetLayoutShortcuts()
|
||||
{
|
||||
diff --git a/kcontrol/keyboard/bindings.h b/kcontrol/keyboard/bindings.h
|
||||
index f60656b..09a9bdc 100644
|
||||
--- a/kcontrol/keyboard/bindings.h
|
||||
+++ b/kcontrol/keyboard/bindings.h
|
||||
@@ -36,7 +36,7 @@ public:
|
||||
virtual ~KeyboardLayoutActionCollection();
|
||||
|
||||
KAction* getToggeAction();
|
||||
- KAction* getAction(const LayoutUnit& layoutUnit);
|
||||
+// KAction* getAction(const LayoutUnit& layoutUnit);
|
||||
KAction* createLayoutShortcutActon(const LayoutUnit& layoutUnit, const Rules* rules, bool autoload);
|
||||
// KAction* setShortcut(LayoutUnit& layoutUnit, const QKeySequence& keySequence, const Rules* rules);
|
||||
void setLayoutShortcuts(QList<LayoutUnit>& layoutUnits, const Rules* rules);
|
||||
diff --git a/kcontrol/keyboard/keyboard_daemon.cpp b/kcontrol/keyboard/keyboard_daemon.cpp
|
||||
index 1618d2a..7126268 100644
|
||||
--- a/kcontrol/keyboard/keyboard_daemon.cpp
|
||||
+++ b/kcontrol/keyboard/keyboard_daemon.cpp
|
||||
@@ -214,12 +214,16 @@ void KeyboardDaemon::layoutMapChanged()
|
||||
|
||||
void KeyboardDaemon::switchToNextLayout()
|
||||
{
|
||||
+ kDebug() << "Toggling layout";
|
||||
X11Helper::switchToNextLayout();
|
||||
}
|
||||
|
||||
bool KeyboardDaemon::setLayout(QAction* action)
|
||||
{
|
||||
- LayoutUnit layoutUnit(LayoutUnit(action->data().toString()));
|
||||
+ if( action == actionCollection->getToggeAction() )
|
||||
+ return false;
|
||||
+
|
||||
+ LayoutUnit layoutUnit(action->data().toString());
|
||||
return LayoutsMenu::switchToLayout(layoutUnit, keyboardConfig); // need this to be able to switch to spare layouts
|
||||
// return X11Helper::setLayout(LayoutUnit(action->data().toString()));
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/kde-base/systemsettings/systemsettings-4.7.3-r1.ebuild,v 1.2 2011/12/13 19:26:46 mr_bones_ Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_HANDBOOK="optional"
|
||||
KMNAME="kde-workspace"
|
||||
OPENGL_REQUIRED="optional"
|
||||
inherit kde4-meta
|
||||
|
||||
DESCRIPTION="System settings utility"
|
||||
IUSE="debug gtk +usb xinerama"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
|
||||
COMMONDEPEND="
|
||||
dev-libs/glib:2
|
||||
$(add_kdebase_dep libkworkspace)
|
||||
media-libs/fontconfig
|
||||
>=media-libs/freetype-2
|
||||
>=x11-libs/libxklavier-3.2
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXft
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXtst
|
||||
opengl? ( virtual/opengl )
|
||||
usb? ( =virtual/libusb-0* )
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
"
|
||||
DEPEND="${COMMONDEPEND}
|
||||
x11-proto/kbproto
|
||||
x11-proto/xextproto
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
"
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
sys-libs/timezone-data
|
||||
x11-apps/setxkbmap
|
||||
x11-misc/xkeyboard-config
|
||||
gtk? ( kde-misc/kcm-gtk-config )
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
# bug 393133
|
||||
|
||||
KMEXTRA="
|
||||
kcontrol/
|
||||
"
|
||||
KMEXTRACTONLY="
|
||||
krunner/dbus/org.kde.krunner.App.xml
|
||||
krunner/dbus/org.kde.screensaver.xml
|
||||
kwin/
|
||||
libs/
|
||||
plasma/
|
||||
"
|
||||
|
||||
add_blocker kdeaccessibility-colorschemes '<4.6.50'
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.4.2-xinerama_cmake_automagic.patch"
|
||||
"${FILESDIR}/${P}-fix-keyboard-layout-switch.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
if use handbook; then
|
||||
KMEXTRA+="
|
||||
doc/kcontrol
|
||||
doc/kfontview
|
||||
"
|
||||
fi
|
||||
|
||||
kde4-meta_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR}/systemsettingsrc DESTINATION ${CONFIG_INSTALL_DIR}/' \
|
||||
systemsettings/CMakeLists.txt \
|
||||
|| die "Failed to fix systemsettingsrc install location"
|
||||
|
||||
kde4-meta_src_prepare
|
||||
}
|
||||
|
||||
# FIXME: is have_openglxvisual found without screensaver
|
||||
src_configure() {
|
||||
# Old keyboard-detection code is unmaintained,
|
||||
# so we force the new stuff, using libxklavier.
|
||||
mycmakeargs=(
|
||||
-DUSE_XKLAVIER=ON -DWITH_LibXKlavier=ON
|
||||
-DWITH_GLIB2=ON -DWITH_GObject=ON
|
||||
$(cmake-utils_use_with opengl OpenGL)
|
||||
$(cmake-utils_use_with usb)
|
||||
$(cmake-utils_use_with xinerama X11_Xinerama)
|
||||
)
|
||||
|
||||
kde4-meta_src_configure
|
||||
}
|
@ -1,3 +1,6 @@
|
||||
DIST LibRaw-0.14.3.tar.gz 1354720 RMD160 1350305184ba88572e176952631332ffb4528183 SHA1 f67f9ae27281b9b8fd8f228e97dc8969ae8bb7b0 SHA256 80ae0c1bd8267aa6f0fe8d83131a16ff7667485536cdbcedd28e4f2b590e6bda
|
||||
DIST LibRaw-0.14.4.tar.gz 1357445 RMD160 8fc44d6a36b88145fb368817e136cbb4a33cd7d4 SHA1 885149e25e4afcc90bcaae316ff4aa60b3f8b9ea SHA256 795a8615381868942b27636ea83d741d7c8d17afa9f00b5b7fe26212c42ee59c
|
||||
DIST LibRaw-demosaic-pack-GPL2-0.14.3.tar.gz 30856 RMD160 62cf3d8392f245b409aa3930c09ca92781b18c59 SHA1 7de834d00690b82c88b0bdb7984f82690e69f451 SHA256 9463ad56bd0014f23efec98921daf289a3c1d9d2a739c957603e251cb2cf2db7
|
||||
DIST LibRaw-demosaic-pack-GPL2-0.14.4.tar.gz 32164 RMD160 90098dd2a0caf7ad20a4f5e6229acccf80cdb64e SHA1 f15c53f26369dd0f4ec731e752c583c06a7f6801 SHA256 a74a92af73299905e3311e64df1538ed013a8ae76382c4735b8f1314988cdbc8
|
||||
DIST LibRaw-demosaic-pack-GPL3-0.14.3.tar.gz 38525 RMD160 9292ae65746165f1a10fff2388f0bf24c044738e SHA1 94ef4a53587d8dda04cb73743511f51f352a5d2f SHA256 43831b44e4e467be01836985b4d1623f4faf88ce0300d24486b70e64ffa2444f
|
||||
DIST LibRaw-demosaic-pack-GPL3-0.14.4.tar.gz 38722 RMD160 b6c459c140fe8ab06f3e8aa4e7e5f1a1f9c0ddee SHA1 9a2fb41bd15229fca2c04d85a760c01b4f1b3b60 SHA256 d70c89db133139d7212a8b89fd9be8fb5569f733eeafb2b63293087c87b193bb
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libraw/libraw-0.14.4.ebuild,v 1.1 2011/12/13 22:29:11 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
MY_P="LibRaw-${PV}"
|
||||
DESCRIPTION="LibRaw is a library for reading RAW files obtained from digital photo cameras"
|
||||
HOMEPAGE="http://www.libraw.org/"
|
||||
SRC_URI="http://www.libraw.org/data/${MY_P}.tar.gz
|
||||
demosaic? ( http://www.libraw.org/data/LibRaw-demosaic-pack-GPL2-${PV}.tar.gz
|
||||
http://www.libraw.org/data/LibRaw-demosaic-pack-GPL3-${PV}.tar.gz )"
|
||||
|
||||
# Libraw also has it's own license, which is a pdf file and
|
||||
# can be obtained from here:
|
||||
# http://www.libraw.org/data/LICENSE.LibRaw.pdf
|
||||
LICENSE="LGPL-2.1 CDDL GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="demosaic examples jpeg2k +lcms +openmp static-libs"
|
||||
|
||||
RDEPEND="jpeg2k? ( media-libs/jasper )
|
||||
lcms? ( media-libs/lcms:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
openmp? ( sys-devel/gcc[openmp] )
|
||||
dev-util/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS=( Changelog.txt README )
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.13.4-docs.patch )
|
||||
|
||||
src_prepare() {
|
||||
autotools-utils_src_prepare
|
||||
eautomake
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable demosaic demosaic-pack-gpl2)
|
||||
$(use_enable demosaic demosaic-pack-gpl3)
|
||||
$(use_enable examples)
|
||||
$(use_enable jpeg2k jasper)
|
||||
$(use_enable lcms)
|
||||
$(use_enable openmp)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue