parent
ae325c49b9
commit
2ee704f5eb
@ -1,170 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-18.59-r9.ebuild,v 1.6 2014/04/23 08:47:24 nimiux Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="The extensible self-documenting text editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="ftp://ftp.gnu.org/old-gnu/emacs/${P}.tar.gz
|
||||
ftp://ftp.splode.com/pub/users/friedman/emacs/${P}-linux22x-elf-glibc21.diff.gz
|
||||
http://dev.gentoo.org/~ulm/emacs/${P}-patches-8.tar.bz2"
|
||||
|
||||
LICENSE="GPL-1+ GPL-2+ BSD" #HPND
|
||||
SLOT="18"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+abi_x86_32 abi_x86_x32"
|
||||
REQUIRED_USE="amd64? ( || ( abi_x86_32 abi_x86_x32 ) )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.2
|
||||
amd64? (
|
||||
sys-libs/ncurses[abi_x86_x32(-)?]
|
||||
!abi_x86_x32? (
|
||||
|| (
|
||||
sys-libs/ncurses[abi_x86_32(-)?]
|
||||
app-emulation/emul-linux-x86-baselibs[development]
|
||||
)
|
||||
)
|
||||
)"
|
||||
# X? ( x11-libs/libX11[-xcb] )
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/${P}-linux22x-elf-glibc21.diff"
|
||||
EPATCH_SUFFIX=patch epatch
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# autoconf? What's autoconf? We are living in 1992. ;-)
|
||||
local arch
|
||||
case ${ARCH} in
|
||||
amd64)
|
||||
if use abi_x86_x32; then
|
||||
arch=x86-x32
|
||||
multilib_toolchain_setup x32
|
||||
elif use abi_x86_32; then
|
||||
arch=intel386
|
||||
multilib_toolchain_setup x86
|
||||
else
|
||||
die "Need 32 bit ABI on amd64"
|
||||
fi
|
||||
;;
|
||||
x86) arch=intel386 ;;
|
||||
*) die "Architecture ${ARCH} not yet supported" ;;
|
||||
esac
|
||||
local cmd="s/\"s-.*\.h\"/\"s-linux.h\"/;s/\"m-.*\.h\"/\"m-${arch}.h\"/"
|
||||
#use X && cmd="${cmd};s/.*\(#define HAVE_X_WINDOWS\).*/\1/"
|
||||
sed -e "${cmd}" src/config.h-dist >src/config.h || die
|
||||
|
||||
cat <<-END >src/paths.h
|
||||
#define PATH_LOADSEARCH "/usr/share/emacs/${PV}/lisp"
|
||||
#define PATH_EXEC "/usr/share/emacs/${PV}/etc"
|
||||
#define PATH_LOCK "/var/lib/emacs/lock/"
|
||||
#define PATH_SUPERLOCK "/var/lib/emacs/lock/!!!SuperLock!!!"
|
||||
END
|
||||
|
||||
sed -i -e "s:/usr/lib/\([^ ]*\).o:/usr/$(get_libdir)/\1.o:g" \
|
||||
-e "s:-lncurses:$("$(tc-getPKG_CONFIG)" --libs ncurses):" \
|
||||
src/s-linux.h || die
|
||||
|
||||
# -O3 and -finline-functions cause segmentation faults at run time.
|
||||
filter-flags -finline-functions
|
||||
replace-flags -O[3-9] -O2
|
||||
strip-flags
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Do not use the sandbox, or the dumped Emacs will be twice as large
|
||||
export SANDBOX_ON=0
|
||||
emake --jobs=1 \
|
||||
CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Demacs" \
|
||||
LD="$(tc-getCC) -nostdlib" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local basedir="/usr/share/emacs/${PV}" i
|
||||
|
||||
dodir ${basedir}
|
||||
dodir /usr/share/man/man1
|
||||
emake --jobs=1 \
|
||||
LIBDIR="${D}"${basedir} \
|
||||
BINDIR="${D}"/usr/bin \
|
||||
MANDIR="${D}"/usr/share/man/man1 \
|
||||
install
|
||||
|
||||
rmdir "${D}"${basedir}/lock || die
|
||||
find "${D}"${basedir} -type f \( -name "*.c" -o -name ChangeLog \
|
||||
-o -name COPYING ! -path "*/etc/COPYING" \) -exec rm "{}" + || die
|
||||
fperms -R go-w ${basedir}
|
||||
|
||||
# remove duplicate DOC file
|
||||
rm "${D}"${basedir}/etc/DOC || die
|
||||
|
||||
# move executables to the correct place
|
||||
mv "${D}"/usr/bin/emacs{,-${SLOT}} || die
|
||||
for i in etags ctags emacsclient; do
|
||||
mv "${D}"/usr/bin/${i}{,-emacs-${SLOT}} || die
|
||||
rm "${D}"${basedir}/etc/${i} || die
|
||||
done
|
||||
|
||||
dodir /usr/libexec/emacs/${PV}
|
||||
for i in wakeup digest-doc sorted-doc movemail cvtmail fakemail \
|
||||
yow env server
|
||||
do
|
||||
mv "${D}"${basedir}/etc/${i} "${D}"/usr/libexec/emacs/${PV}/${i} || die
|
||||
dosym ../../../../libexec/emacs/${PV}/${i} ${basedir}/etc/${i}
|
||||
done
|
||||
for i in test-distrib make-docfile; do
|
||||
rm "${D}"${basedir}/etc/${i} || die
|
||||
done
|
||||
|
||||
# move man page
|
||||
mv "${D}"/usr/share/man/man1/emacs{,-emacs-${SLOT}}.1 || die
|
||||
|
||||
# move Info files
|
||||
dodir /usr/share/info
|
||||
mv "${D}"${basedir}/info "${D}"/usr/share/info/emacs-${SLOT} || die
|
||||
dosym ../../info/emacs-${SLOT} "${basedir}"/info
|
||||
docompress -x /usr/share/info
|
||||
|
||||
# move Info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${D}"/usr/share/info/emacs-${SLOT}/dir{,.orig} || die
|
||||
touch "${D}"/usr/share/info/emacs-${SLOT}/.keepinfodir
|
||||
|
||||
dodir /var/lib/emacs
|
||||
diropts -m0777
|
||||
keepdir /var/lib/emacs/lock
|
||||
|
||||
dodoc README PROBLEMS
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
if [[ -d "${D}"/usr/share/info ]]; then
|
||||
mv "${D}"/usr/share/info/emacs-${SLOT}/dir{.orig,} || die
|
||||
fi
|
||||
|
||||
# remove symlink and directory installed by -r6 and earlier
|
||||
if [[ -L "${ROOT}"/usr/share/info/emacs-${SLOT} ]]; then
|
||||
ewarn "Removing old symlink /usr/share/info/emacs-${SLOT}"
|
||||
rm "${ROOT}"/usr/share/info/emacs-${SLOT} || die
|
||||
fi
|
||||
if [[ -d "${ROOT}"/usr/share/emacs/${PV}/info \
|
||||
&& ! -L "${ROOT}"/usr/share/emacs/${PV}/info ]]; then
|
||||
ewarn "Removing old directory /usr/share/emacs/${PV}/info"
|
||||
rm -r "${ROOT}"/usr/share/emacs/${PV}/info || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect emacs update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1,345 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.4-r8.ebuild,v 1.1 2014/05/05 07:06:01 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}.tar.bz2
|
||||
http://dev.gentoo.org/~ulm/emacs/${P}-patches-10.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="23"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="alsa aqua athena dbus games gconf gif gpm gtk gzip-el hesiod jpeg kerberos livecd m17n-lib motif pax_kernel 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.16
|
||||
>=app-emacs/emacs-common-gentoo-1.4-r1[games?,X?]
|
||||
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:0= )
|
||||
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? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
alsa? ( virtual/pkgconfig )
|
||||
dbus? ( virtual/pkgconfig )
|
||||
X? ( virtual/pkgconfig )
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? (
|
||||
sys-apps/attr
|
||||
sys-apps/paxctl
|
||||
)"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-${PV}"
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/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 "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||
|| die "unable to sed ctags.1"
|
||||
|
||||
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() {
|
||||
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+=" --with-sound"
|
||||
else
|
||||
myconf+=" $(use_with sound)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf+=" --with-x --without-ns"
|
||||
myconf+=" $(use_with gconf)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
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
|
||||
local f
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf+=" --with-x-toolkit=gtk"
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x"
|
||||
else
|
||||
myconf+=" --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
|
||||
# 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} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${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
|
||||
emake CC="$(tc-getCC)" \
|
||||
AR="$(tc-getAR) cq" \
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
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
|
||||
local m
|
||||
mv "${ED}"/usr/share/man/man1/{emacs,${EMACS_SUFFIX}}.1 \
|
||||
|| die "moving emacs man page failed"
|
||||
for m in b2m ctags ebrowse emacsclient etags grep-changelog rcs-checkin; do
|
||||
mv "${ED}"/usr/share/man/man1/${m}{,-${EMACS_SUFFIX}}.1 \
|
||||
|| die "moving ${m} man page 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 -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# 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
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
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
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
||||
through the Emacs eselect module, which also redirects man and info
|
||||
pages. Therefore, several Emacs versions can be installed at the
|
||||
same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from a previous major version of Emacs, then
|
||||
it is strongly recommended that you use app-admin/emacs-updater
|
||||
to rebuild all byte-compiled elisp files of the installed Emacs
|
||||
packages."
|
||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
||||
it into /Applications by yourself."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
readme.gentoo_print_elog
|
||||
|
||||
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
|
||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||
# refresh symlinks in case any installed files have changed
|
||||
eselect emacs set ${EMACS_SUFFIX}
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1,339 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-24.2-r1.ebuild,v 1.17 2014/01/16 17:48:57 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
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}.tar.xz
|
||||
mirror://gentoo/${P}-patches-3.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="24"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="alsa aqua athena dbus games gconf gif gnutls gpm gsettings gtk gtk3 gzip-el hesiod imagemagick jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm"
|
||||
REQUIRED_USE="aqua? ( !X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.2
|
||||
>=app-emacs/emacs-common-gentoo-1.3-r3[games?,X?]
|
||||
net-libs/liblockfile
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
gpm? ( sys-libs/gpm )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
png? ( >=media-libs/libpng-1.4:0 )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
|
||||
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? (
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
!gtk3? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
!gtk? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? (
|
||||
athena? ( x11-libs/libXaw )
|
||||
!athena? ( motif? ( >=x11-libs/motif-2.3:0 ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
alsa? ( virtual/pkgconfig )
|
||||
dbus? ( virtual/pkgconfig )
|
||||
gnutls? ( virtual/pkgconfig )
|
||||
libxml2? ( virtual/pkgconfig )
|
||||
X? ( virtual/pkgconfig )
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-${PV}"
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
|
||||
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 gsettings)"
|
||||
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)"
|
||||
myconf="${myconf} $(use_with imagemagick)"
|
||||
|
||||
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
|
||||
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf="${myconf} --with-x-toolkit=$(usev gtk3 || echo gtk)"
|
||||
local f
|
||||
for f in athena Xaw3d motif; do
|
||||
use ${f} && ewarn "USE flag \"${f}\" ignored" \
|
||||
"(superseded by \"gtk\")"
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
use motif && ewarn "USE flag \"motif\" ignored" \
|
||||
"(superseded by \"athena\" or \"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
|
||||
|
||||
! use gtk && use gtk3 \
|
||||
&& ewarn "USE flag \"gtk3\" has no effect if \"gtk\" is not set."
|
||||
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
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf="${myconf} GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
|
||||
# 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="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-crt-dir="${crtdir}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
--without-compress-info \
|
||||
--disable-maintainer-mode \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with gpm) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with wide-int) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
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
|
||||
local m
|
||||
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 -rf "${ED}"/var
|
||||
|
||||
# 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/{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
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
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 https://wiki.gentoo.org/wiki/Project:Emacs/Xft_support"
|
||||
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
|
||||
}
|
@ -1,347 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-24.3-r4.ebuild,v 1.1 2014/05/05 07:06:01 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}.tar.xz
|
||||
http://dev.gentoo.org/~ulm/emacs/${P}-patches-5.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="24"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="alsa aqua athena dbus games gconf gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.16
|
||||
>=app-emacs/emacs-common-gentoo-1.4-r1[games?,X?]
|
||||
net-libs/liblockfile
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
gpm? ( sys-libs/gpm )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
|
||||
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? (
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
!gtk3? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
alsa? ( virtual/pkgconfig )
|
||||
dbus? ( virtual/pkgconfig )
|
||||
gnutls? ( virtual/pkgconfig )
|
||||
libxml2? ( virtual/pkgconfig )
|
||||
X? ( virtual/pkgconfig )
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? (
|
||||
sys-apps/attr
|
||||
sys-apps/paxctl
|
||||
)"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-${PV}"
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/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 "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||
|| die "unable to sed ctags.1"
|
||||
|
||||
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.ac \
|
||||
|| die "unable to sed configure.ac"
|
||||
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 "/AC_PATH_PROG/s/gzip/PrEvEnTcOmPrEsSiOn/" configure.ac \
|
||||
|| die "unable to sed configure.ac"
|
||||
fi
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
|
||||
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+=" --with-sound"
|
||||
else
|
||||
myconf+=" $(use_with sound)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf+=" --with-x --without-ns"
|
||||
myconf+=" $(use_with gconf)"
|
||||
myconf+=" $(use_with gsettings)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
myconf+=" $(use_with imagemagick)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
myconf+=" --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
local f
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x"
|
||||
else
|
||||
myconf+=" --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
|
||||
# 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} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-crt-dir="${crtdir}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
--without-compress-info \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with gpm) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with wide-int) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
||||
|
||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|
||||
|| die "moving emacs executable failed"
|
||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 \
|
||||
|| die "moving emacs man page failed"
|
||||
|
||||
# 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 -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
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
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
||||
through the Emacs eselect module, which also redirects man and info
|
||||
pages. Therefore, several Emacs versions can be installed at the
|
||||
same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
||||
strongly recommended that you use app-admin/emacs-updater to rebuild
|
||||
all byte-compiled elisp files of the installed Emacs packages."
|
||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
||||
it into /Applications by yourself."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
|
||||
local pvr
|
||||
for pvr in ${REPLACING_VERSIONS}; do
|
||||
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
|
||||
done
|
||||
readme.gentoo_print_elog
|
||||
|
||||
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
|
||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||
# refresh symlinks in case any installed files have changed
|
||||
eselect emacs set ${EMACS_SUFFIX}
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST sqldeveloper-3.2.20.09.87-no-jre.zip 182052759 SHA256 787b703a3fa2d7969ae486b9f2f23bdafd31242b2af74257943cf826c535c8d4 SHA512 716e2f9584e192b8e72a0e9439ac3fb0aea297087640df7c7c5659170846376d8e44d0fbdc68c96e274b100aad3f26b0710691349bfc0092c86c42830e115efe WHIRLPOOL 1d9eb51cb263c14a89a44167a239f3be34b7ca9bd78eefc28a73c1b24e6f4e2f10a1665b0b4a03c6932f987fae375c95bfc310c485e179c76e9b7135bb9825e3
|
||||
DIST sqldeveloper-4.0.2.15.21-no-jre.zip 235443867 SHA256 b23aca1d256002cdc19a0b3136ae13ebf9064feacc45a131be229a88fe9faed7 SHA512 e67b0f3d127adbc6cb77b3eb822834a6c41be7039c54eceb85e8c882704684a02dd036f078408192ad2cbcb963dfb0ba583e99a9f7b7db36b1e9a1f96e555880 WHIRLPOOL 31b32713f116193036dc5dd9b63c9b6c321763e2273227c51d70bd3db93575e4f12150a045f8615fb6086ee1d464af4d112be5824f9bf22b4f5917ae5a15b724
|
||||
|
@ -1,8 +1,9 @@
|
||||
#!/bin/bash
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# skip their stupid [ -f `which java` ] test, which will always fail on Gentoo
|
||||
export APP_SKIP_J2SE_TEST=1
|
||||
export JAVA_HOME=$(java-config -o)
|
||||
|
||||
cd /opt/sqldeveloper/sqldeveloper/bin && bash sqldeveloper $@
|
||||
|
@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/sqldeveloper/sqldeveloper-4.0.2.15.21.ebuild,v 1.1 2014/05/16 22:31:57 hwoarang Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils java-pkg-2
|
||||
|
||||
DESCRIPTION="Oracle SQL Developer is a graphical tool for database development"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html"
|
||||
SRC_URI="${P}-no-jre.zip"
|
||||
RESTRICT="fetch"
|
||||
|
||||
LICENSE="OTN"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mssql mysql sybase"
|
||||
|
||||
DEPEND="mssql? ( dev-java/jtds:1.2 )
|
||||
mysql? ( dev-java/jdbc-mysql:0 )
|
||||
sybase? ( dev-java/jtds:1.2 )"
|
||||
RDEPEND=">=virtual/jdk-1.7.0
|
||||
dev-java/java-config:2
|
||||
${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
pkg_nofetch() {
|
||||
eerror "Please go to"
|
||||
eerror " ${HOMEPAGE}"
|
||||
eerror "and download"
|
||||
eerror " Oracle SQL Developer for other platforms"
|
||||
eerror " ${SRC_URI}"
|
||||
eerror "and move it to ${DISTDIR}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# we don't need these, do we?
|
||||
find ./ \( -iname "*.exe" -or -iname "*.dll" -or -iname "*.bat" \) -exec rm {} +
|
||||
|
||||
# they both use jtds, enabling one of them also enables the other one
|
||||
if use mssql && ! use sybase; then
|
||||
einfo "You requested MSSQL support, this also enables Sybase support."
|
||||
fi
|
||||
if use sybase && ! use mssql; then
|
||||
einfo "You requested Sybase support, this also enables MSSQL support."
|
||||
fi
|
||||
|
||||
if use mssql || use sybase; then
|
||||
echo "AddJavaLibFile $(java-pkg_getjars jtds-1.2)" >> sqldeveloper/bin/sqldeveloper.conf
|
||||
fi
|
||||
|
||||
if use mysql; then
|
||||
echo "AddJavaLibFile $(java-pkg_getjars jdbc-mysql)" >> sqldeveloper/bin/sqldeveloper.conf
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/${PN}
|
||||
# NOTE For future version to get that line (what to copy) go to the unpacked sources dir
|
||||
# using `bash` and press Meta+_ (i.e. Meta+Shift+-) -- that is a builtin bash feature ;-)
|
||||
cp -r {configuration,d{ataminer,ropins,vt},e{quinox,xternal},ide,j{avavm,d{bc,ev},lib,views},modules,netbeans,r{dbms,eadme.html},s{leepycat,ql{cli,developer,j},vnkit}} \
|
||||
"${D}"/opt/${PN}/ || die "Install failed"
|
||||
|
||||
dobin "${FILESDIR}"/${PN} || die "Install failed"
|
||||
|
||||
mv icon.png ${PN}-32x32.png || die
|
||||
doicon ${PN}-32x32.png || die
|
||||
make_desktop_entry ${PN} "Oracle SQL Developer" ${PN}-32x32 || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# this temporary fixes FileNotFoundException with datamodeler
|
||||
# this is more like a workaround than permanent fix
|
||||
test -d /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log \
|
||||
|| mkdir /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log
|
||||
touch /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
|
||||
chmod -R 1777 /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/log/datamodeler.log
|
||||
|
||||
# this fixes another datamodeler FileNotFoundException
|
||||
# also more like a workaround than permanent fix
|
||||
chmod 1777 /opt/sqldeveloper/sqldeveloper/extensions/oracle.datamodeler/types/dr_custom_scripts.xml
|
||||
|
||||
echo
|
||||
einfo "If you want to use the TNS connection type you need to set up the"
|
||||
einfo "TNS_ADMIN environment variable to point to the directory your"
|
||||
einfo "tnsnames.ora resides in."
|
||||
echo
|
||||
}
|
@ -1,28 +1,28 @@
|
||||
DIST ibm-java-javacomm-6.0-9.0-linux-i386.tgz 336897 RMD160 c22d3ad9d09f869ec743fab599463a9dbea0511e SHA1 6b645130654596096ee3949c530d1c2fc49c62f1 SHA256 2a04826238b0e2a24b611622191e3c3545ec6e2737fc9f240c8b53f19841d705
|
||||
DIST ibm-java-javacomm-6.0-9.0-linux-ppc.tgz 343028 RMD160 711d942d7895ea016d060d2f0db549a5fda130e4 SHA1 3932368b932bb3e69b05e4995aad0b57baf9eea3 SHA256 5618541e0cdb38607856eb47aa1878a3db4165c2ba0d59a87ada875c9b300da0
|
||||
DIST ibm-java-javacomm-6.0-9.0-linux-ppc64.tgz 342371 RMD160 57f9d943079ace31ea5777717c449c79ccefd4a8 SHA1 e54dd49c71bb014af3e33a05579b60a7e0751186 SHA256 27feede3959306f264185876440f55d5807782dc31d519600004f4868c644c4a
|
||||
DIST ibm-java-javacomm-6.0-9.0-linux-x86_64.tgz 339256 RMD160 ec5f116aca6c534528572b73c1a8db3ac936b67d SHA1 39c32392233baadfb234b54b7f44c67c48166d20 SHA256 10265a692a5056fe8d12c3d082f20ec113596e28bf98eb43d5a17a9a90176c8c
|
||||
DIST ibm-java-sdk-6.0-9.1-linux-i386.tgz 94205111 RMD160 39ad423bfbad551b75f8e14228cabe313dd14e75 SHA1 6711e73ea328b10f65eab854bab16baebf47ba09 SHA256 7dc15aaa2d660ed938fc0fb71bfbe8ef25345726be90c99060cd10ed995d56bc
|
||||
DIST ibm-java-javacomm-6.0-9.0-linux-i386.tgz 336897 SHA256 2a04826238b0e2a24b611622191e3c3545ec6e2737fc9f240c8b53f19841d705
|
||||
DIST ibm-java-javacomm-6.0-9.0-linux-ppc.tgz 343028 SHA256 5618541e0cdb38607856eb47aa1878a3db4165c2ba0d59a87ada875c9b300da0
|
||||
DIST ibm-java-javacomm-6.0-9.0-linux-ppc64.tgz 342371 SHA256 27feede3959306f264185876440f55d5807782dc31d519600004f4868c644c4a
|
||||
DIST ibm-java-javacomm-6.0-9.0-linux-x86_64.tgz 339256 SHA256 10265a692a5056fe8d12c3d082f20ec113596e28bf98eb43d5a17a9a90176c8c
|
||||
DIST ibm-java-sdk-6.0-9.1-linux-i386.tgz 94205111 SHA256 7dc15aaa2d660ed938fc0fb71bfbe8ef25345726be90c99060cd10ed995d56bc
|
||||
DIST ibm-java-sdk-6.0-9.1-linux-ppc.tgz 96510114 SHA256 eb4c8603ecaa045a649ce3aef55e340ea984fb314a20cc692c5b244ffbf6ed9e SHA512 e24c83e79aa2100a7c0a6a5ab1c456c6b73d083254a375555880aa448da3a5023d21b13552d112a0d427eba1f2f84c3b9957794fcaf3a38d156d7c84516cc771 WHIRLPOOL 904b1ea7678dfc35c2580183b1b7a67fd6f863be5560b7b45529a757ba6b4e729f9256a0c93c0936a05c986efda2d60331f001fcb5ac27ed702a6e594afe3ec9
|
||||
DIST ibm-java-sdk-6.0-9.1-linux-ppc64.tgz 99300890 RMD160 26ecb279a30ff069a9fa0d0f3d1639e77b522580 SHA1 81c91285f53ea0737a11b5b5900b284ab0997fdc SHA256 2d9f324d934a3f7f38457d6808621510fa2c8b27c6781778d2a90476f35a00d1
|
||||
DIST ibm-java-sdk-6.0-9.1-linux-x86_64.tgz 95717823 RMD160 5907213c4e8a792e44e8a1371cd01271d171c346 SHA1 3536eab2227a21dd9163cf2a00d625acf9d54d30 SHA256 36df08cefcbb690d37301fb8d6d6ecd19c6a32d5b0efff13e771cb6e6f6e302d
|
||||
DIST ibm-java-sdk-6.0-9.2-linux-i386.tgz 94285404 RMD160 821763034cb784d8142b9cb4f2a3b71466970100 SHA1 1449e063a9f1e24f572b7f3ac99e2ae900780adc SHA256 cc835013d9b82f4f188bc6036bb9850d7f848c513f73b321539e4eb8cc5a7e71
|
||||
DIST ibm-java-sdk-6.0-9.2-linux-ppc.tgz 96591020 RMD160 ed118316c9b8e0810026b869a9d5150fd5f9a6e1 SHA1 6b525d45eae739d83b3de96e444c951aa78db093 SHA256 738bc53ec28ca823d01218ad5a6d665b3b2d5638225c1dc6fad5b6780b953c5b
|
||||
DIST ibm-java-sdk-6.0-9.2-linux-ppc64.tgz 99395016 RMD160 b1974bf283a6adb80faab19f667f9ae6906ca78d SHA1 8e31b4b5b5e8cfd1b45fdb0cd0373987440a045b SHA256 2c831e79a5e8f87e716e216edb29825c9f3e4d4e473ec6cb3b71bdf88ae8ef0d
|
||||
DIST ibm-java-sdk-6.0-9.2-linux-x86_64.tgz 95834113 RMD160 2db0f9583b7e25118b380eed94537fae79f615cf SHA1 10c32174aed054dc83e02a5e74031867781878f0 SHA256 025ac23ebc96d0d88e80cef1b27fea9b2a72253e49274b1f729995d33fb4e02c
|
||||
DIST ibm-java2-javacomm-5.0-12.4-linux-i386.tgz 120080 RMD160 f51005d2cb19c2c955ca10cbcb1afe2320a6e283 SHA1 bbf777ee2d08d9102e51222b7839a6b7613b67b5 SHA256 65162830987e32f0e06f3cdf578f717ddc22898199040f8acf5883795bae4cb6
|
||||
DIST ibm-java2-javacomm-5.0-12.4-linux-ppc.tgz 125037 RMD160 31a231e78cd2463ed74d04bf0cce5ab2fdaafb06 SHA1 5ad5970d97b5a8b9f0613e6edd9b5be714796871 SHA256 f647aa9cf7815a9a207b34191e4072b7f4582cd824775f492f9c68ec2221875e
|
||||
DIST ibm-java2-javacomm-5.0-12.4-linux-ppc64.tgz 128397 RMD160 ea296866e12f95abd730c34b68115b99dea5d025 SHA1 becf2c31bf0bb60643085833d97486d498560590 SHA256 0aea96fce0c8d57a48f91709d2e1824b0abd0cae08393ea8bb21493167a14f12
|
||||
DIST ibm-java2-javacomm-5.0-12.4-linux-x86_64.tgz 121853 RMD160 be33ecfaa624196c9012d1f30ed90a371bfbc3ab SHA1 5fb1c576135fd37636002c64010b03b4b12e8348 SHA256 32e54e6cf66df35e76b38d07a4837525ca0322efdec69e9b48dc4da2a961ed87
|
||||
DIST ibm-java2-javacomm-5.0-12.5-linux-i386.tgz 120127 RMD160 53921244cad96edf4e8f55c2640bb51024e2bb8c SHA1 bcf037c4403290d6d6de70a7b3ccef86129e73f3 SHA256 c61c7b7daa226d041b75ab46a3ecbfb75af38c834b3649a5bbacf75ec948d85a
|
||||
DIST ibm-java2-javacomm-5.0-12.5-linux-ppc.tgz 125036 RMD160 0e2c04d36f549f02c66f146074791c147cabaf10 SHA1 0a252cb45aaaed402f9188358dd96eeb6c6b7c81 SHA256 1686110709cf0fd4250f8fec999a4ba1655f5628685523fb927d62b662efa1c2
|
||||
DIST ibm-java2-javacomm-5.0-12.5-linux-ppc64.tgz 128588 RMD160 e2d03ed000d46f19d6f1dfec473173a65c9dc8da SHA1 1497d7ca2f2df2d01fe44386d5dcc8bc0e6acd8e SHA256 efda7c84a008e65ce68c3e6d30b02b744e70968e86056648fc91eff813ef6fa6
|
||||
DIST ibm-java2-javacomm-5.0-12.5-linux-x86_64.tgz 122182 RMD160 50db8c7f25c4ced1b69e0b6b945c43bba760cd65 SHA1 38618dfe0b41d6cb28d6d3533cee1f0f99d78941 SHA256 2801eae77e587a91d0099b6eab72e98e192977df944f814efcaf565a4c2aa0ab
|
||||
DIST ibm-java2-sdk-5.0-12.4-linux-i386.tgz 66402874 RMD160 d1775ad68cc858767fdf104afe06f91b5e71da68 SHA1 7acf8011b950b45c79a674b2232d7238f518bb7a SHA256 e978da355a72f64b7add170df2589b92630cd7614d20c43f5ec0806115a0109c
|
||||
DIST ibm-java-sdk-6.0-9.1-linux-ppc64.tgz 99300890 SHA256 2d9f324d934a3f7f38457d6808621510fa2c8b27c6781778d2a90476f35a00d1
|
||||
DIST ibm-java-sdk-6.0-9.1-linux-x86_64.tgz 95717823 SHA256 36df08cefcbb690d37301fb8d6d6ecd19c6a32d5b0efff13e771cb6e6f6e302d
|
||||
DIST ibm-java-sdk-6.0-9.2-linux-i386.tgz 94285404 SHA256 cc835013d9b82f4f188bc6036bb9850d7f848c513f73b321539e4eb8cc5a7e71
|
||||
DIST ibm-java-sdk-6.0-9.2-linux-ppc.tgz 96591020 SHA256 738bc53ec28ca823d01218ad5a6d665b3b2d5638225c1dc6fad5b6780b953c5b
|
||||
DIST ibm-java-sdk-6.0-9.2-linux-ppc64.tgz 99395016 SHA256 2c831e79a5e8f87e716e216edb29825c9f3e4d4e473ec6cb3b71bdf88ae8ef0d
|
||||
DIST ibm-java-sdk-6.0-9.2-linux-x86_64.tgz 95834113 SHA256 025ac23ebc96d0d88e80cef1b27fea9b2a72253e49274b1f729995d33fb4e02c
|
||||
DIST ibm-java2-javacomm-5.0-12.4-linux-i386.tgz 120080 SHA256 65162830987e32f0e06f3cdf578f717ddc22898199040f8acf5883795bae4cb6
|
||||
DIST ibm-java2-javacomm-5.0-12.4-linux-ppc.tgz 125037 SHA256 f647aa9cf7815a9a207b34191e4072b7f4582cd824775f492f9c68ec2221875e
|
||||
DIST ibm-java2-javacomm-5.0-12.4-linux-ppc64.tgz 128397 SHA256 0aea96fce0c8d57a48f91709d2e1824b0abd0cae08393ea8bb21493167a14f12
|
||||
DIST ibm-java2-javacomm-5.0-12.4-linux-x86_64.tgz 121853 SHA256 32e54e6cf66df35e76b38d07a4837525ca0322efdec69e9b48dc4da2a961ed87
|
||||
DIST ibm-java2-javacomm-5.0-12.5-linux-i386.tgz 120127 SHA256 c61c7b7daa226d041b75ab46a3ecbfb75af38c834b3649a5bbacf75ec948d85a
|
||||
DIST ibm-java2-javacomm-5.0-12.5-linux-ppc.tgz 125036 SHA256 1686110709cf0fd4250f8fec999a4ba1655f5628685523fb927d62b662efa1c2
|
||||
DIST ibm-java2-javacomm-5.0-12.5-linux-ppc64.tgz 128588 SHA256 efda7c84a008e65ce68c3e6d30b02b744e70968e86056648fc91eff813ef6fa6
|
||||
DIST ibm-java2-javacomm-5.0-12.5-linux-x86_64.tgz 122182 SHA256 2801eae77e587a91d0099b6eab72e98e192977df944f814efcaf565a4c2aa0ab
|
||||
DIST ibm-java2-sdk-5.0-12.4-linux-i386.tgz 66402874 SHA256 e978da355a72f64b7add170df2589b92630cd7614d20c43f5ec0806115a0109c
|
||||
DIST ibm-java2-sdk-5.0-12.4-linux-ppc.tgz 74414840 SHA256 dfc7ecd35bb9764524bf571b27110036e1e56ea776137e274eb2df08462578b6 SHA512 21f915959e9ccaf619139b20346cc7613abd6a86c5d921c8e6b757f7662e47504dfd2186e318042e89f97c2f0db7d3016d2a0e5f305ffa7e2793615628319e6b WHIRLPOOL 78dcfcb05f7778b32abdc13147baaf93d518a32d3a584685f8a2f9e8d21cad40e04b601804efdabe1491f2d975f86297d33586c71c4b760af8f8c9fe2555d743
|
||||
DIST ibm-java2-sdk-5.0-12.4-linux-ppc64.tgz 72813466 RMD160 2c5376f1b63f76ad76b847eb3c8d67a2f71fd9aa SHA1 6fb35ee84d9ee9cb55f97be63c8fe0ecc4ad2722 SHA256 71afe8fba07eb33ef22b0c47e0193ca1a53ef0d42c565e787dc5a140cd4154d2
|
||||
DIST ibm-java2-sdk-5.0-12.4-linux-x86_64.tgz 68385678 RMD160 7591f71d68a2ebcc3b7662d282ef09731575653f SHA1 c7291d5b0cc71766e384a47bfc759936ed2e2782 SHA256 20078cd984199701d7ec8bc44a1da06f21e7e6fb3791b01877c8e50b27ad4a73
|
||||
DIST ibm-java2-sdk-5.0-12.5-linux-i386.tgz 66442323 RMD160 cd85a7e4c09cc5a97fc71ff3f7e08496d907ee07 SHA1 cb8a029ade5fd7dc74925881871fe27e580a39be SHA256 78e2e173c5e69c57feb5d1e596293dd18ed7a1d392b6ba94b1c16b1bb021cad9
|
||||
DIST ibm-java2-sdk-5.0-12.5-linux-ppc.tgz 74453885 RMD160 5393cd2147eebd73a493868a033e7f83be0114a0 SHA1 819f40dd7a3211ae4208f5d406f36d4d7f46a241 SHA256 c21962786144a539d7770c61eabb9cf9267f72ff5c17e7802174c683cead8baf
|
||||
DIST ibm-java2-sdk-5.0-12.5-linux-ppc64.tgz 72630589 RMD160 e8341b9c2344d18529b1967b976fbc1c397219b9 SHA1 bd6d52eb0212fab062614860d384da3118bba42b SHA256 357daee6370b196230d37e25492edb0dd311a2f6c2d76d4f4cfef788114c4b20
|
||||
DIST ibm-java2-sdk-5.0-12.5-linux-x86_64.tgz 68420896 RMD160 62890451f5f6942b9a7f25cc94761c7e4341e183 SHA1 1d540e5e3778b810a25243a5251500234709a1c0 SHA256 83b8af5433e3df17b147951a3c24d4cee1ceb9d4ab7fb0007be627a333fed142
|
||||
DIST ibm-java2-sdk-5.0-12.4-linux-ppc64.tgz 72813466 SHA256 71afe8fba07eb33ef22b0c47e0193ca1a53ef0d42c565e787dc5a140cd4154d2
|
||||
DIST ibm-java2-sdk-5.0-12.4-linux-x86_64.tgz 68385678 SHA256 20078cd984199701d7ec8bc44a1da06f21e7e6fb3791b01877c8e50b27ad4a73
|
||||
DIST ibm-java2-sdk-5.0-12.5-linux-i386.tgz 66442323 SHA256 78e2e173c5e69c57feb5d1e596293dd18ed7a1d392b6ba94b1c16b1bb021cad9
|
||||
DIST ibm-java2-sdk-5.0-12.5-linux-ppc.tgz 74453885 SHA256 c21962786144a539d7770c61eabb9cf9267f72ff5c17e7802174c683cead8baf
|
||||
DIST ibm-java2-sdk-5.0-12.5-linux-ppc64.tgz 72630589 SHA256 357daee6370b196230d37e25492edb0dd311a2f6c2d76d4f4cfef788114c4b20
|
||||
DIST ibm-java2-sdk-5.0-12.5-linux-x86_64.tgz 68420896 SHA256 83b8af5433e3df17b147951a3c24d4cee1ceb9d4ab7fb0007be627a333fed142
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python-exec/python-exec-0.3.1.ebuild,v 1.5 2014/01/29 05:04:13 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Kids, don't do this at home!
|
||||
inherit python-utils-r1
|
||||
PYTHON_COMPAT=( "${_PYTHON_ALL_IMPLS[@]}" )
|
||||
|
||||
inherit autotools-utils python-r1
|
||||
|
||||
DESCRIPTION="Python script wrapper"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/python-exec/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<dev-python/python-exec-10000"
|
||||
PDEPEND=">=dev-python/python-exec-10000:$SLOT"
|
||||
|
||||
src_configure() {
|
||||
local pyimpls i EPYTHON
|
||||
for i in "${PYTHON_COMPAT[@]}"; do
|
||||
python_export "${i}" EPYTHON
|
||||
pyimpls+=" ${EPYTHON}"
|
||||
done
|
||||
|
||||
local myeconfargs=(
|
||||
--with-eprefix="${EPREFIX}"
|
||||
--with-python-impls="${pyimpls}"
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python-exec/python-exec-2.0.1.ebuild,v 1.13 2014/01/29 05:04:13 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Kids, don't do this at home!
|
||||
inherit python-utils-r1
|
||||
PYTHON_COMPAT=( "${_PYTHON_ALL_IMPLS[@]}" )
|
||||
|
||||
inherit autotools-utils python-r1
|
||||
|
||||
DESCRIPTION="Python script wrapper"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/python-exec/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<dev-python/python-exec-10000"
|
||||
PDEPEND=">=dev-python/python-exec-10000:$SLOT"
|
||||
|
||||
src_configure() {
|
||||
local pyimpls i EPYTHON
|
||||
for i in "${PYTHON_COMPAT[@]}"; do
|
||||
python_export "${i}" EPYTHON
|
||||
pyimpls+=" ${EPYTHON}"
|
||||
done
|
||||
|
||||
local myeconfargs=(
|
||||
--with-eprefix="${EPREFIX}"
|
||||
--with-python-impls="${pyimpls}"
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python-exec/python-exec-2.0.ebuild,v 1.5 2014/01/29 05:04:13 vapier Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Kids, don't do this at home!
|
||||
inherit python-utils-r1
|
||||
PYTHON_COMPAT=( "${_PYTHON_ALL_IMPLS[@]}" )
|
||||
|
||||
inherit autotools-utils python-r1
|
||||
|
||||
DESCRIPTION="Python script wrapper"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/python-exec/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<dev-python/python-exec-10000"
|
||||
PDEPEND=">=dev-python/python-exec-10000:$SLOT"
|
||||
|
||||
src_configure() {
|
||||
local pyimpls i EPYTHON
|
||||
for i in "${PYTHON_COMPAT[@]}"; do
|
||||
python_export "${i}" EPYTHON
|
||||
pyimpls+=" ${EPYTHON}"
|
||||
done
|
||||
|
||||
local myeconfargs=(
|
||||
--with-eprefix="${EPREFIX}"
|
||||
--with-python-impls="${pyimpls}"
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libevdev-0.6.tar.xz 367656 SHA256 1c562ed32252ef9c14aa61e03b38acb886cb3edbbdafbb5181762ff16e010d93 SHA512 d79b20607f98d9689111c29a8e9927e66b85932c4c31097e9225d1d5698157cdbc1e12427248dcdd254e7e0078d947b129351da63b0c56f7ff8c27d6120fef13 WHIRLPOOL 5ec255675a26b277e6589a2d1f71ebaefe7e9638d0bc7659ff04fa3199755895e39790a8442c5ae9cb396112b9922219e1aa0aff4b128374cf8ff830970cd868
|
||||
DIST libevdev-1.2.1.tar.xz 386364 SHA256 7cc522bee24f0c3e70ecf0a1c312258d7155e8197292cfeeeb85f2959edb1e38 SHA512 4a075168dabc9f934f8e129dfc754799a75fa43cc861d2fc5327613f7d1b23d49ff6a6188c7a51ba5c55a2d109d417a047d24e6eea5ba6da1b97851278d85452 WHIRLPOOL c042f4ff4f620cd45e948af3bb9277ba58db0eb1d08c1e139d956130e1891e8f70681a8cd0c66a613d01be635c91c0e0c68fe64eff48667667a15bf6e882e3a4
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevdev/libevdev-1.2.1.ebuild,v 1.1 2014/05/16 12:52:20 chithanh Exp $
|
||||
|
||||
EAPI=5
|
||||
XORG_MULTILIB=yes
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit python-any-r1 xorg-2
|
||||
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}.git"
|
||||
|
||||
DESCRIPTION="Handler library for evdev events"
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="http://www.freedesktop.org/software/${PN}/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
RESTRICT="test" # Tests need to run as root.
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
@ -0,0 +1,32 @@
|
||||
From 7c3c663e4f844aaecbb0cfc29567fe2ee9506fc4 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Fri, 16 May 2014 22:46:00 -0400
|
||||
Subject: [PATCH] xmllint: a posteriori validation needs to load exernal
|
||||
entities
|
||||
|
||||
For https://bugzilla.gnome.org/show_bug.cgi?id=730290
|
||||
---
|
||||
xmllint.c | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/xmllint.c b/xmllint.c
|
||||
index 9d46ac5..b142b3b 100644
|
||||
--- a/xmllint.c
|
||||
+++ b/xmllint.c
|
||||
@@ -3530,7 +3530,12 @@ main(int argc, char **argv) {
|
||||
xmlLoadExtDtdDefaultValue |= XML_COMPLETE_ATTRS;
|
||||
if (noent != 0) xmlSubstituteEntitiesDefault(1);
|
||||
#ifdef LIBXML_VALID_ENABLED
|
||||
- if (valid != 0) xmlDoValidityCheckingDefaultValue = 1;
|
||||
+ /* If we will validate only a posteriori, ensure that entities get loaded,
|
||||
+ * but suppress validation messages during initial parsing */
|
||||
+ if (postvalid != 0 && valid == 0)
|
||||
+ options |= XML_PARSE_DTDVALID | XML_PARSE_NOERROR | XML_PARSE_NOWARNING;
|
||||
+ else if (valid != 0)
|
||||
+ xmlDoValidityCheckingDefaultValue = 1;
|
||||
#endif /* LIBXML_VALID_ENABLED */
|
||||
if ((htmlout) && (!nowrap)) {
|
||||
xmlGenericError(xmlGenericErrorContext,
|
||||
--
|
||||
1.9.3
|
||||
|
@ -0,0 +1,213 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.9.1-r4.ebuild,v 1.1 2014/05/17 02:55:28 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit libtool flag-o-matic eutils python-r1 autotools prefix multilib-minimal
|
||||
|
||||
DESCRIPTION="Version 2 of the library to manipulate XML files"
|
||||
HOMEPAGE="http://www.xmlsoft.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="debug examples icu ipv6 lzma python readline static-libs test"
|
||||
|
||||
XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite"
|
||||
XSTS_NAME_1="xmlschema2002-01-16"
|
||||
XSTS_NAME_2="xmlschema2004-01-14"
|
||||
XSTS_TARBALL_1="xsts-2002-01-16.tar.gz"
|
||||
XSTS_TARBALL_2="xsts-2004-01-14.tar.gz"
|
||||
XMLCONF_TARBALL="xmlts20080827.tar.gz"
|
||||
|
||||
SRC_URI="ftp://xmlsoft.org/${PN}/${PN}-${PV/_rc/-rc}.tar.gz
|
||||
test? (
|
||||
${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
|
||||
${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2}
|
||||
http://www.w3.org/XML/Test/${XMLCONF_TARBALL} )"
|
||||
|
||||
COMMON_DEPEND="sys-libs/zlib:=[${MULTILIB_USEDEP}]
|
||||
icu? ( dev-libs/icu:=[${MULTILIB_USEDEP}] )
|
||||
lzma? ( app-arch/xz-utils:=[${MULTILIB_USEDEP}] )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:= )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r6
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gtk-doc-am
|
||||
virtual/pkgconfig
|
||||
hppa? ( >=sys-devel/binutils-2.15.92.0.2 )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV%_rc*}"
|
||||
|
||||
src_unpack() {
|
||||
# ${A} isn't used to avoid unpacking of test tarballs into $WORKDIR,
|
||||
# as they are needed as tarballs in ${S}/xstc instead and not unpacked
|
||||
unpack ${P/_rc/-rc}.tar.gz
|
||||
cd "${S}"
|
||||
|
||||
if use test; then
|
||||
cp "${DISTDIR}/${XSTS_TARBALL_1}" \
|
||||
"${DISTDIR}/${XSTS_TARBALL_2}" \
|
||||
"${S}"/xstc/ \
|
||||
|| die "Failed to install test tarballs"
|
||||
unpack ${XMLCONF_TARBALL}
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
DOCS=( AUTHORS ChangeLog NEWS README* TODO* )
|
||||
|
||||
# Patches needed for prefix support
|
||||
epatch "${FILESDIR}"/${PN}-2.7.1-catalog_path.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.8.0_rc1-winnt.patch
|
||||
|
||||
eprefixify catalog.c xmlcatalog.c runtest.c xmllint.c
|
||||
|
||||
# epunt_cxx # if we don't eautoreconf
|
||||
|
||||
# Important patches from 2.9.2
|
||||
epatch "${FILESDIR}/${P}-missing-break.patch" \
|
||||
"${FILESDIR}/${P}-python-2.6.patch" \
|
||||
"${FILESDIR}/${P}-compression-detection.patch" \
|
||||
"${FILESDIR}/${P}-non-ascii-cr-lf.patch" \
|
||||
"${FILESDIR}/${PN}-2.9.1-python3.patch" \
|
||||
"${FILESDIR}/${PN}-2.9.1-python3a.patch"
|
||||
|
||||
# Security fixes from 2.9.2
|
||||
epatch "${FILESDIR}/${P}-external-param-entities.patch"
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=730290
|
||||
epatch "${FILESDIR}/${PN}-2.9.1-xmllint-postvalid.patch"
|
||||
|
||||
# Please do not remove, as else we get references to PORTAGE_TMPDIR
|
||||
# in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
|
||||
# We now need to run eautoreconf at the end to prevent maintainer mode.
|
||||
# elibtoolize
|
||||
|
||||
# Use pkgconfig to find icu to properly support multilib
|
||||
epatch "${FILESDIR}/${PN}-2.9.1-icu-pkgconfig.patch"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# filter seemingly problematic CFLAGS (#26320)
|
||||
filter-flags -fprefetch-loop-arrays -funroll-loops
|
||||
|
||||
# USE zlib support breaks gnome2
|
||||
# (libgnomeprint for instance fails to compile with
|
||||
# fresh install, and existing) - <azarah@gentoo.org> (22 Dec 2002).
|
||||
|
||||
# The meaning of the 'debug' USE flag does not apply to the --with-debug
|
||||
# switch (enabling the libxml2 debug module). See bug #100898.
|
||||
|
||||
# --with-mem-debug causes unusual segmentation faults (bug #105120).
|
||||
|
||||
libxml2_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--with-html-subdir=${PF}/html \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_with debug run-debug) \
|
||||
$(use_with icu) \
|
||||
$(use_with lzma) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable static-libs static) \
|
||||
$(multilib_native_use_with readline) \
|
||||
$(multilib_native_use_with readline history) \
|
||||
"$@"
|
||||
}
|
||||
|
||||
libxml2_py_configure() {
|
||||
mkdir -p "${BUILD_DIR}" || die # ensure python build dirs exist
|
||||
run_in_build_dir libxml2_configure "--with-python=${PYTHON}" # odd build system
|
||||
}
|
||||
|
||||
libxml2_configure --without-python # build python bindings separately
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
python_parallel_foreach_impl libxml2_py_configure
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
if multilib_is_native_abi && use python; then
|
||||
local native_builddir=${BUILD_DIR}
|
||||
python_foreach_impl libxml2_py_emake top_builddir="${native_builddir}" all
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
default
|
||||
multilib_is_native_abi && use python && python_foreach_impl libxml2_py_emake test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
EXAMPLES_DIR="${EPREFIX}"/usr/share/doc/${PF}/examples install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
python_foreach_impl libxml2_py_emake DESTDIR="${D}" install
|
||||
python_foreach_impl python_optimize
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
# on windows, xmllint is installed by interix libxml2 in parent prefix.
|
||||
# this is the version to use. the native winnt version does not support
|
||||
# symlinks, which makes repoman fail if the portage tree is linked in
|
||||
# from another location (which is my default). -- mduft
|
||||
if [[ ${CHOST} == *-winnt* ]]; then
|
||||
rm -rf "${ED}"/usr/bin/xmllint
|
||||
rm -rf "${ED}"/usr/bin/xmlcatalog
|
||||
fi
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/${P}
|
||||
einstalldocs
|
||||
|
||||
if ! use python; then
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/python
|
||||
rm -rf "${ED}"/usr/share/doc/${PN}-python-${PV}
|
||||
fi
|
||||
|
||||
if ! use examples; then
|
||||
rm -rf "${ED}/usr/share/doc/${PF}/examples"
|
||||
rm -rf "${ED}/usr/share/doc/${PF}/python/examples"
|
||||
fi
|
||||
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# We don't want to do the xmlcatalog during stage1, as xmlcatalog will not
|
||||
# be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887.
|
||||
if [[ "${ROOT}" != "/" ]]; then
|
||||
elog "Skipping XML catalog creation for stage building (bug #208887)."
|
||||
else
|
||||
# need an XML catalog, so no-one writes to a non-existent one
|
||||
CATALOG="${EROOT}etc/xml/catalog"
|
||||
|
||||
# we dont want to clobber an existing catalog though,
|
||||
# only ensure that one is there
|
||||
# <obz@gentoo.org>
|
||||
if [[ ! -e ${CATALOG} ]]; then
|
||||
[[ -d "${EROOT}etc/xml" ]] || mkdir -p "${EROOT}etc/xml"
|
||||
"${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}"
|
||||
einfo "Created XML catalog in ${CATALOG}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
libxml2_py_emake() {
|
||||
pushd "${BUILD_DIR}/python" > /dev/null || die
|
||||
emake "$@"
|
||||
popd > /dev/null
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in
|
||||
option parsing, it may break.
|
||||
|
||||
http://bugs.gentoo.org/103483
|
||||
|
||||
--- configure
|
||||
+++ configure
|
||||
@@ -54,6 +54,16 @@
|
||||
infodir='${prefix}/info'
|
||||
mandir='${prefix}/man'
|
||||
|
||||
+# NLS nuisances.
|
||||
+# Only set these to C if already set. These must not be set unconditionally
|
||||
+# because not all systems understand e.g. LANG=C (notably SCO).
|
||||
+# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
|
||||
+# Non-C LC_CTYPE values break the ctype check.
|
||||
+if test "${LANG+set}" = set; then LANG=C; export LANG; fi
|
||||
+if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
|
||||
+if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
|
||||
+if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
|
||||
+
|
||||
# Initialize some other variables.
|
||||
subdirs=
|
||||
MFLAGS= MAKEFLAGS=
|
||||
@@ -452,16 +463,6 @@
|
||||
esac
|
||||
done
|
||||
|
||||
-# NLS nuisances.
|
||||
-# Only set these to C if already set. These must not be set unconditionally
|
||||
-# because not all systems understand e.g. LANG=C (notably SCO).
|
||||
-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
|
||||
-# Non-C LC_CTYPE values break the ctype check.
|
||||
-if test "${LANG+set}" = set; then LANG=C; export LANG; fi
|
||||
-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
|
||||
-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
|
||||
-if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
|
||||
-
|
||||
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
||||
rm -rf conftest* confdefs.h
|
||||
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
@ -1,114 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/gcl/gcl-2.6.7-r3.ebuild,v 1.6 2012/06/07 18:59:25 zmedico Exp $
|
||||
|
||||
#removing flag-o-matic results in make install failing due to a segfault
|
||||
inherit elisp-common eutils flag-o-matic
|
||||
|
||||
DEB_PV=34
|
||||
|
||||
DESCRIPTION="GNU Common Lisp"
|
||||
HOMEPAGE="http://www.gnu.org/software/gcl/gcl.html"
|
||||
SRC_URI="mirror://debian/pool/main/g/gcl/gcl_${PV}.orig.tar.gz
|
||||
mirror://debian/pool/main/g/gcl/gcl_${PV}-${DEB_PV}.diff.gz
|
||||
mirror://gnu/gcl/${PN}.info.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ppc ~sparc ~x86"
|
||||
IUSE="emacs readline debug X tk doc ansi"
|
||||
|
||||
RDEPEND="emacs? ( virtual/emacs )
|
||||
readline? ( sys-libs/readline )
|
||||
>=dev-libs/gmp-4.1
|
||||
tk? ( dev-lang/tk )
|
||||
X? ( x11-libs/libXt x11-libs/libXext x11-libs/libXmu x11-libs/libXaw )
|
||||
virtual/latex-base" # pdflatex (see Bug # 157903)
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( virtual/texi2dvi )
|
||||
>=app-text/texi2html-1.64
|
||||
>=sys-devel/autoconf-2.52"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch ../gcl_${PV}-${DEB_PV}.diff
|
||||
epatch "${FILESDIR}"/flex-configure-LANG.patch
|
||||
sed -ie "s/gcl-doc/${PF}/g" "${S}"/info/makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# export SANDBOX_ON=0
|
||||
local myconfig=""
|
||||
# Hardened gcc may automatically use PIE building, which does not
|
||||
# work for this package so far
|
||||
# filter-flags "-fPIC"
|
||||
if use tk; then
|
||||
myconfig="${myconfig} --enable-tkconfig=/usr/lib --enable-tclconfig=/usr/lib"
|
||||
fi
|
||||
myconfig="${myconfig}
|
||||
--enable-locbfd
|
||||
--disable-dynsysbfd
|
||||
--disable-statsysbfd
|
||||
--enable-dynsysgmp
|
||||
$(use_enable readline readline)
|
||||
$(use_with X x)
|
||||
$(use_enable debug debug)
|
||||
$(use_enable ansi ansi)
|
||||
--enable-xdr=no
|
||||
--enable-infodir=/usr/share/info
|
||||
--enable-emacsdir=/usr/share/emacs/site-lisp/gcl"
|
||||
einfo "Configuring with the following:
|
||||
${myconfig}"
|
||||
econf ${myconfig}
|
||||
make || die "make failed"
|
||||
sed -e 's,@EXT@,,g' debian/in.gcl.1 >gcl.1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# workaround for bug 161041, see bug 164656 for follow up
|
||||
export SANDBOX_ON=0
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
rm -rf "${D}"/usr/lib/${P}/info
|
||||
mv "${D}"/default.el elisp/
|
||||
|
||||
if use emacs; then
|
||||
mv elisp/add-default.el "${T}"/50gcl-gentoo.el
|
||||
elisp-site-file-install "${T}"/50gcl-gentoo.el
|
||||
elisp-install ${PN} elisp/*
|
||||
fperms 0644 /usr/share/emacs/site-lisp/gcl/*
|
||||
else
|
||||
rm -rf "${D}"/usr/share/emacs
|
||||
fi
|
||||
|
||||
dosed /usr/bin/gcl
|
||||
fperms 0755 /usr/bin/gcl
|
||||
|
||||
# fix the GCL_TK_DIR=/var/tmp/portage/${P}/image//
|
||||
dosed /usr/lib/${P}/gcl-tk/gcltksrv
|
||||
fperms 0755 /usr/lib/${P}/gcl-tk/gcltksrv
|
||||
|
||||
#repair gcl.exe symlink
|
||||
#rm ${D}/usr/bin/gcl.exe
|
||||
dosym ../lib/${P}/unixport/saved_gcl /usr/bin/gcl.exe
|
||||
|
||||
dodoc readme* RELEASE* ChangeLog* doc/*
|
||||
|
||||
for i in "${D}"/usr/share/doc/gcl-{tk,si}; do
|
||||
mv $i "${D}"/usr/share/doc/${PF}
|
||||
done
|
||||
|
||||
doman gcl.1
|
||||
doinfo info/*.info*
|
||||
|
||||
find "${D}"/usr/lib/gcl-${PV}/ -type f \( -perm 640 -o -perm 750 \) -exec chmod 0644 '{}' \;
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pycurl-7.19.0.tar.gz 71346 SHA256 eb782dfcc5a7c023539a077462b83c167e178128ee9f7201665b9fbb1a8b0642 SHA512 18db8d923d1193f72b964817ceef5acaf3b1acab36a7d14aed9301dcace301d72e19cda5c79c8cb7335f1327f5900d1c03b34311ba086dd2bf2fd3d5710336e0 WHIRLPOOL f21d502a4244ee0022cc2ab1ddf48647c2e0dee042b5075e37a5b30e746ca450202e4305a9d7007b75e3fa85cde6e547896b17774fe4d2f2b807980a9a5d0d3c
|
||||
DIST pycurl-7.19.3.1.tar.gz 116687 SHA256 c0d673fe99a9de07239eabe77c798f1b043f60c02afaec1430ceaf59d7501a4f SHA512 65ccb07638c663bc2a723664f1ade50f08eafa70bbcdc492cc99362a91873f453b63336a6b393d9f6591308f1450dadc64ce729b29990f37b170dda0eae0b23f WHIRLPOOL bf25bbb959e30140a261b9bede2e1a3675ec99c8f6c36f8afc8ca73288aa7f7cea6fa1d28385ca808872b251a676aebf8d77d203aed60619dab8852cac17b296
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pycurl/pycurl-7.19.3.1.ebuild,v 1.1 2014/05/17 03:32:15 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# The selftests fail with pypy, and urlgrabber segfaults for me.
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="python binding for curl/libcurl"
|
||||
HOMEPAGE="https://github.com/pycurl/pycurl http://pypi.python.org/pypi/pycurl"
|
||||
SRC_URI="http://pycurl.sourceforge.net/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="curl_ssl_gnutls curl_ssl_nss +curl_ssl_openssl examples ssl"
|
||||
|
||||
# Depend on a curl with curl_ssl_* USE flags.
|
||||
# libcurl must not be using an ssl backend we do not support.
|
||||
# If the libcurl ssl backend changes pycurl should be recompiled.
|
||||
# If curl uses gnutls, depend on at least gnutls 2.11.0 so that pycurl
|
||||
# does not need to initialize gcrypt threading and we do not need to
|
||||
# explicitly link to libgcrypt.
|
||||
DEPEND=">=net-misc/curl-7.25.0-r1[ssl=]
|
||||
ssl? (
|
||||
net-misc/curl[curl_ssl_gnutls=,curl_ssl_nss=,curl_ssl_openssl=,-curl_ssl_axtls,-curl_ssl_cyassl,-curl_ssl_polarssl]
|
||||
curl_ssl_gnutls? ( >=net-libs/gnutls-2.11.0 )
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
# Usual; requ'd fore test phase
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e "/data_files=/d" -i setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# suite shatters without this
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://github.com/pycurl/pycurl/issues/180
|
||||
if [[ "${EPYTHON}" == python2.7 ]]; then
|
||||
sed -e 's:test_request_with_certinfo:_&:' \
|
||||
-e 's:test_request_without_certinfo:_&:' \
|
||||
-i tests/certinfo_test.py || die
|
||||
elif [[ "${EPYTHON}" == python3.4 ]]; then
|
||||
sed -e 's:test_post_buffer:_&:' \
|
||||
-e 's:test_post_file:_&:' \
|
||||
-i tests/post_test.py || die
|
||||
fi
|
||||
emake test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( doc/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,150 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy-bin/pypy-bin-2.0.2.ebuild,v 1.10 2014/04/08 15:33:13 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 pypy pypy2_0 )
|
||||
inherit eutils multilib pax-utils python-any-r1 versionator
|
||||
|
||||
BINHOST="http://dev.gentoo.org/~mgorny/dist/${PN}"
|
||||
|
||||
DESCRIPTION="A fast, compliant alternative implementation of the Python language (binary package)"
|
||||
HOMEPAGE="http://pypy.org/"
|
||||
SRC_URI="mirror://bitbucket/pypy/pypy/downloads/pypy-${PV}-src.tar.bz2
|
||||
amd64? (
|
||||
jit? ( shadowstack? (
|
||||
${BINHOST}/${P}-amd64+bzip2+jit+ncurses+shadowstack.tar.xz
|
||||
) )
|
||||
jit? ( !shadowstack? (
|
||||
${BINHOST}/${P}-amd64+bzip2+jit+ncurses.tar.xz
|
||||
) )
|
||||
!jit? ( !shadowstack? (
|
||||
${BINHOST}/${P}-amd64+bzip2+ncurses.tar.xz
|
||||
) )
|
||||
)
|
||||
x86? (
|
||||
sse2? (
|
||||
jit? ( shadowstack? (
|
||||
${BINHOST}/${P}-x86+bzip2+jit+ncurses+shadowstack+sse2.tar.xz
|
||||
) )
|
||||
jit? ( !shadowstack? (
|
||||
${BINHOST}/${P}-x86+bzip2+jit+ncurses+sse2.tar.xz
|
||||
) )
|
||||
!jit? ( !shadowstack? (
|
||||
${BINHOST}/${P}-x86+bzip2+ncurses+sse2.tar.xz
|
||||
) )
|
||||
)
|
||||
!sse2? (
|
||||
!jit? ( !shadowstack? (
|
||||
${BINHOST}/${P}-x86+bzip2+ncurses.tar.xz
|
||||
) )
|
||||
)
|
||||
)"
|
||||
|
||||
# Supported variants
|
||||
REQUIRED_USE="!jit? ( !shadowstack )
|
||||
x86? ( !sse2? ( !jit !shadowstack ) )"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT=$(get_version_component_range 1-2 ${PV})
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc +jit shadowstack sqlite sse2 test"
|
||||
|
||||
# yep, world would be easier if people started filling subslots...
|
||||
RDEPEND="
|
||||
~app-arch/bzip2-1.0.6:0
|
||||
~dev-libs/expat-2.1.0:0
|
||||
( <dev-libs/libffi-3.0.14:0
|
||||
>=dev-libs/libffi-3.0.11:0 )
|
||||
( <dev-libs/openssl-1.0.1h:0
|
||||
>=dev-libs/openssl-1.0.1c:0 )
|
||||
( <sys-libs/glibc-2.20:2.2
|
||||
>=sys-libs/glibc-2.15:2.2 )
|
||||
~sys-libs/ncurses-5.9:5
|
||||
( <sys-libs/zlib-1.2.9:0
|
||||
>=sys-libs/zlib-1.2.7:0 )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
!dev-python/pypy:${SLOT}"
|
||||
DEPEND="app-arch/xz-utils
|
||||
doc? ( dev-python/sphinx )
|
||||
test? ( ${RDEPEND} )"
|
||||
PDEPEND="app-admin/python-updater"
|
||||
|
||||
S=${WORKDIR}/pypy-${PV}-src
|
||||
|
||||
pkg_setup() {
|
||||
use doc && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/1.9-scripts-location.patch"
|
||||
epatch "${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch"
|
||||
epatch "${FILESDIR}/2.0.2-distutils-fix_handling_of_executables_and_flags.patch"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Tadaam! PyPy compiled!
|
||||
mv "${WORKDIR}"/${P}*/pypy-c . || die
|
||||
mv "${WORKDIR}"/${P}*/include/*.h include/ || die
|
||||
mv pypy/module/cpyext/include/*.h include/ || die
|
||||
|
||||
use doc && emake -C pypy/doc/ html
|
||||
#needed even without jit :( also needed in both compile and install phases
|
||||
pax-mark m "${ED%/}${INSDESTTREE}/pypy-c"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# (unset)
|
||||
local -x PYTHONDONTWRITEBYTECODE
|
||||
|
||||
./pypy-c ./pypy/test_all.py --pypy=./pypy-c lib-python || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einfo "Installing PyPy ..."
|
||||
insinto "/usr/$(get_libdir)/pypy${SLOT}"
|
||||
doins -r include lib_pypy lib-python pypy-c
|
||||
fperms a+x ${INSDESTTREE}/pypy-c
|
||||
#needed even without jit :(
|
||||
pax-mark m "${ED%/}${INSDESTTREE}/pypy-c"
|
||||
dosym ../$(get_libdir)/pypy${SLOT}/pypy-c /usr/bin/pypy-c${SLOT}
|
||||
dosym ../$(get_libdir)/pypy${SLOT}/include /usr/include/pypy${SLOT}
|
||||
dodoc README.rst
|
||||
|
||||
if ! use sqlite; then
|
||||
rm -r "${ED%/}${INSDESTTREE}"/lib-python/*2.7/sqlite3 || die
|
||||
rm "${ED%/}${INSDESTTREE}"/lib_pypy/_sqlite3.py || die
|
||||
fi
|
||||
|
||||
# Install docs
|
||||
use doc && dohtml -r pypy/doc/_build/html/
|
||||
|
||||
einfo "Generating caches and byte-compiling ..."
|
||||
|
||||
python_export pypy-c${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
|
||||
local PYTHON=${ED%/}${INSDESTTREE}/pypy-c
|
||||
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py
|
||||
python_domodule epython.py
|
||||
|
||||
# Note: call portage helpers before this line.
|
||||
# PYTHONPATH confuses them and will result in random failures.
|
||||
|
||||
local -x PYTHONPATH="${ED%/}${INSDESTTREE}/lib_pypy:${ED%/}${INSDESTTREE}/lib-python/2.7"
|
||||
|
||||
# Generate Grammar and PatternGrammar pickles.
|
||||
"${PYTHON}" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \
|
||||
|| die "Generation of Grammar and PatternGrammar pickles failed"
|
||||
|
||||
# Generate cffi cache
|
||||
"${PYTHON}" -c "import _curses" || die "Failed to import _curses"
|
||||
if use sqlite; then
|
||||
"${PYTHON}" -c "import _sqlite3" || die "Failed to import _sqlite3"
|
||||
fi
|
||||
|
||||
# compile the installed modules
|
||||
python_optimize "${ED%/}${INSDESTTREE}"
|
||||
}
|
@ -1,164 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/pypy-2.0.2.ebuild,v 1.9 2014/03/31 21:24:18 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 pypy pypy2_0 )
|
||||
inherit check-reqs eutils multilib multiprocessing pax-utils \
|
||||
python-any-r1 toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="A fast, compliant alternative implementation of the Python language"
|
||||
HOMEPAGE="http://pypy.org/"
|
||||
SRC_URI="mirror://bitbucket/pypy/pypy/downloads/${P}-src.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT=$(get_version_component_range 1-2 ${PV})
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="bzip2 doc +jit ncurses sandbox shadowstack sqlite sse2"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.1.3
|
||||
virtual/libffi
|
||||
virtual/libintl
|
||||
dev-libs/expat
|
||||
dev-libs/openssl
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
sqlite? ( dev-db/sqlite:3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx )
|
||||
${PYTHON_DEPS}"
|
||||
PDEPEND="app-admin/python-updater"
|
||||
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
pkg_pretend() {
|
||||
CHECKREQS_MEMORY="2G"
|
||||
use amd64 && CHECKREQS_MEMORY="4G"
|
||||
check-reqs_pkg_pretend
|
||||
# if [[ ${MERGE_TYPE} != binary && "$(gcc-version)" == "4.8" ]]; then
|
||||
# die "PyPy does not build correctly with GCC 4.8"
|
||||
# fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
pkg_pretend
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/1.9-scripts-location.patch"
|
||||
epatch "${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch"
|
||||
epatch "${FILESDIR}/2.0.2-distutils-fix_handling_of_executables_and_flags.patch"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
|
||||
local jit_backend
|
||||
if use jit; then
|
||||
jit_backend='--jit-backend='
|
||||
|
||||
# We only need the explicit sse2 switch for x86.
|
||||
# On other arches we can rely on autodetection which uses
|
||||
# compiler macros. Plus, --jit-backend= doesn't accept all
|
||||
# the modern values...
|
||||
|
||||
if use x86; then
|
||||
if use sse2; then
|
||||
jit_backend+=x86
|
||||
else
|
||||
jit_backend+=x86-without-sse2
|
||||
fi
|
||||
else
|
||||
jit_backend+=auto
|
||||
fi
|
||||
fi
|
||||
|
||||
local args=(
|
||||
$(usex jit -Ojit -O2)
|
||||
$(usex shadowstack --gcrootfinder=shadowstack '')
|
||||
$(usex sandbox --sandbox '')
|
||||
|
||||
${jit_backend}
|
||||
--make-jobs=$(makeopts_jobs)
|
||||
|
||||
pypy/goal/targetpypystandalone
|
||||
)
|
||||
|
||||
# Avoid linking against libraries disabled by use flags
|
||||
local opts=(
|
||||
bzip2:bz2
|
||||
ncurses:_minimal_curses
|
||||
)
|
||||
|
||||
local opt
|
||||
for opt in "${opts[@]}"; do
|
||||
local flag=${opt%:*}
|
||||
local mod=${opt#*:}
|
||||
|
||||
args+=(
|
||||
$(usex ${flag} --withmod --withoutmod)-${mod}
|
||||
)
|
||||
done
|
||||
|
||||
set -- "${PYTHON}" rpython/bin/rpython --batch "${args[@]}"
|
||||
echo -e "\033[1m${@}\033[0m"
|
||||
"${@}" || die "compile error"
|
||||
|
||||
use doc && emake -C pypy/doc/ html
|
||||
pax-mark m "${ED%/}${INSDESTTREE}/pypy-c"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# (unset)
|
||||
local -x PYTHONDONTWRITEBYTECODE
|
||||
|
||||
./pypy-c ./pypy/test_all.py --pypy=./pypy-c lib-python || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einfo "Installing PyPy ..."
|
||||
insinto "/usr/$(get_libdir)/pypy${SLOT}"
|
||||
doins -r include lib_pypy lib-python pypy-c
|
||||
fperms a+x ${INSDESTTREE}/pypy-c
|
||||
pax-mark m "${ED%/}${INSDESTTREE}/pypy-c"
|
||||
dosym ../$(get_libdir)/pypy${SLOT}/pypy-c /usr/bin/pypy-c${SLOT}
|
||||
dodoc README.rst
|
||||
|
||||
if ! use sqlite; then
|
||||
rm -r "${ED%/}${INSDESTTREE}"/lib-python/*2.7/sqlite3 || die
|
||||
rm "${ED%/}${INSDESTTREE}"/lib_pypy/_sqlite3.py || die
|
||||
fi
|
||||
|
||||
# Install docs
|
||||
use doc && dohtml -r pypy/doc/_build/html/
|
||||
|
||||
einfo "Generating caches and byte-compiling ..."
|
||||
|
||||
python_export pypy-c${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
|
||||
local PYTHON=${ED%/}${INSDESTTREE}/pypy-c
|
||||
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py
|
||||
python_domodule epython.py
|
||||
|
||||
# Note: call portage helpers before this line.
|
||||
# PYTHONPATH confuses them and will result in random failures.
|
||||
|
||||
local -x PYTHONPATH="${ED%/}${INSDESTTREE}/lib_pypy:${ED%/}${INSDESTTREE}/lib-python/2.7"
|
||||
|
||||
# Generate Grammar and PatternGrammar pickles.
|
||||
"${PYTHON}" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \
|
||||
|| die "Generation of Grammar and PatternGrammar pickles failed"
|
||||
|
||||
# Generate cffi cache
|
||||
"${PYTHON}" -c "import _curses" || die "Failed to import _curses"
|
||||
if use sqlite; then
|
||||
"${PYTHON}" -c "import _sqlite3" || die "Failed to import _sqlite3"
|
||||
fi
|
||||
|
||||
# compile the installed modules
|
||||
python_optimize "${ED%/}${INSDESTTREE}"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST activeldap-3.2.2.gem 218624 SHA256 2c8f1c5ca5d32ef6c98cc9ad00933a10b3ed9fc0d77eaea504a5615e6e37ece0 SHA512 f3a802fa1e05b2140fc0c14035ce4ec7037496a2de50908a1143bf3a2c89cf9de6a339ead075b38e7f8b8f7f78314cfd9fe414b64e71e89bdd8dce6b9ab7a1ad WHIRLPOOL a07beca35e89738cc1fa39c5cfd193a63240708ab857812795fe02c148e73ef2e9e1865e286d82608c8fbbf78e4f87c6afc66f8a506b0de51550a0dd006bff6a
|
||||
DIST activeldap-4.0.1.gem 220672 SHA256 3d024040981834455a80cadecb17774deb0de099f1b828d31dc033fb0db3275d SHA512 8fb805092124f673eee3bd8cdb323aa700791b992b5983e844eb25cf0841e1bc36edf5eefed71958537f5cb17ad75b1fdc2f108347d14e4298fc384a29fda57f WHIRLPOOL cc79be414a868187e14503b449dd88b84dd35dde51e337e786c3ee08c4a284b9683b6eb26dd59c192f3a48671c9424faf296a9334b2c2482e0e9df0a5e0edd17
|
||||
DIST activeldap-4.0.2.gem 221696 SHA256 cf2f763acd9baa63c504c2dd5ca56a44d9e68f5b6410c860b663a2df1005589c SHA512 dbe2fb8651a844ba4bcb4aa9edc7f9b744b28bc8366765ab5923df5e6c78824474856116bf7ec7208868d3a918dc340ef5cdc109ac8fb5bcd9b17236982dcf38 WHIRLPOOL b418a3e51ea5107db25eda0f8d5133572070822f88fd4707bf8a34c84cbede94c2ee07ef2e93fc69a511afede3584c5fe99ea50617fa31aa342cbed8ef5cf2f9
|
||||
DIST activeldap-4.0.3.gem 222720 SHA256 cf36fcd1ce0f0f9c40e2d414b6b7d95b8c85e5890a2ad094310441981a00c6c7 SHA512 378321ad04ee6e991a344084b26704fbf3c252d7a256656e5dfb0d1910532d2b62d69182d6a69b583876bc2aa1f9bde0718c8c5eba18895761938cfecfd30522 WHIRLPOOL 83e4b16aabc8d4a48c4bbbce49bd4b3faf9edf411cb660bae95d7f4c1f8f1bfe36fedd619a486c0d238052e7f00f0017c9104408151d3113ad2366446cd61963
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeldap/activeldap-4.0.3.ebuild,v 1.1 2014/05/16 18:21:41 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.textile TODO doc/text/*"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="po"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
MY_P="${P/ruby-/}"
|
||||
DESCRIPTION="Ruby/ActiveLDAP provides an activerecord inspired object oriented interface to LDAP"
|
||||
HOMEPAGE="https://github.com/activeldap/activeldap"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
# Most tests require a live LDAP server to run.
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/activemodel-4.0.0:4.0
|
||||
dev-ruby/locale
|
||||
dev-ruby/ruby-gettext
|
||||
dev-ruby/gettext_i18n_rails
|
||||
|| ( >=dev-ruby/ruby-ldap-0.8.2 dev-ruby/ruby-net-ldap )"
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
dodoc doc/text/*
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST bunny-1.1.2.gem 171520 SHA256 126735bf7eebf69de5db0d90e6446de8d18741154a5ceeb9bd288545684201e6 SHA512 44ba22146b2a8967fb81cbc6c7223b33d11d2341a7329bdee51e4a4c72aaa5fab401b736137977910a8ecd47842ccd339ea970066aa306930cd64828a14ba49a WHIRLPOOL d63e70f21d6970ce3a8ed330ffddc24a11d7abc39b00d97fd8009e6936a57e59d2afaace14cbb83948751e12357ae2108986e00e6360e200be2c309e72c9cbfb
|
||||
DIST bunny-1.1.3.gem 171520 SHA256 98319e441847a46f6922f333431f7e65f078776f99bf14d07db34510bcf22825 SHA512 b1e8b7e436efc67e16c78dda71e0f68355b70c141a5e099b30958218e9f2da6eb693bc41edbc99c1f37824666455eba6279efbd87cc5fb324052c0c1edfc2f5b WHIRLPOOL 176694b7e964b8ed6eac8a422a03d948dac8767b16a9a00d7825825b7ef64b6aaaa520c0f51c6749749c57be35c1b6ba478e8c79ef41a3d026d2aa12f22146bd
|
||||
DIST bunny-1.1.9.gem 173056 SHA256 1757352687de53f534dc69d5b2d37913e1bf607e124524187d28561853da881e SHA512 e330816929cc2a93993652fa6df68e81b2b9afd464c723a31c491387cf76b9ed18ea34e2f626fdad88c01a623f96f4374f1464f2325f8fab9cdcc4720a3c89dd WHIRLPOOL 42997aecb9fb94f3420d7c92959ef34afb5e779a10fcef1456564cb80c15ff2f44dd52d9763d8e1e582af63735223560f91871b8364afdcea01937cbe169b471
|
||||
DIST bunny-1.2.1.gem 174080 SHA256 29ad6c80b1eb9094580369e37c517fbcd31aa5dc6d5ad95b3ccdaf1f49332c8e SHA512 c30da8a67207c81d8363d724aae39d2798a72a90b3f11fb4ac31abf9be88ebf1c43ce895552b2af74aece91713a1a53a9e0fdd736ddbdea7ab525211c6130bdb WHIRLPOOL abd17b36597088e8acc053c450fd87016f745407514ff2c63c7e3d831f5b1b6ce811f7b326fc7bccece2d669d88741b0b8eaa5c2e0f33a4dcfb2226050fc4640
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bunny/bunny-1.2.1.ebuild,v 1.1 2014/05/16 18:36:04 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
# Tests require a live AMQP server.
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="ChangeLog.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Another synchronous Ruby AMQP client"
|
||||
HOMEPAGE="http://github.com/celldee/bunny"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/amq-protocol-1.9.2"
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST connection_pool-1.2.0.gem 10240 SHA256 41c0f1ff0c5a697869344ff50ae0d952fe99b52b26c21744b06fac34323adcb9 SHA512 f339a8789351286380ec8146ed18f18622914816c1c2d88201277a8ab375855ff229b0de4bc4ae93e47df7126b54e5617866388e95ddb5cc337165729debb3f5 WHIRLPOOL 39a9c28b1f7345da369f7dfba657a2e799741db5a4a5eec7f0b46a5b027a7618aaae240ffa021485fc8877f7f91fc9f9594c275ef1a32317098d3670a595f6d2
|
||||
DIST connection_pool-2.0.0.gem 11264 SHA256 07c6af4793949d290624eb1019e852e850e2e319d3828a62036ee9a0eb74479f SHA512 c3be1a85d8f548b2869f5453fea8af3d049a2a0e21111f33c582b7bbb06d635d58aa0a9ee4c98a17899feac42d638c6a4ab566364eb4c43efcb3390dd24c46ab WHIRLPOOL eab11e48347451f430302101827685a6f7c0f41f7b10ba27f4505d01b321b6d8a257bc30ff9dd1965ad882e7848f97702e175a7c6e2e80780ba337c269c322c8
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/connection_pool/connection_pool-2.0.0.ebuild,v 1.1 2014/05/16 18:42:10 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rake"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
||||
RUBY_FAKEGEM_EXTRADOC="Changes.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Generic connection pooling for Ruby"
|
||||
HOMEPAGE="https://github.com/mperham/connection_pool"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/minitest-5 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/git ls-files/d' connection_pool.gemspec || die
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST http-0.5.0.gem 20992 SHA256 0d45a571564a5fa79600095e29535976903a1d65628d4e41b2f344a07b0781ef SHA512 aca100010ed0629636f49ddddf9617f014a6eba6628c8be9ccb281653a8e7932c6c5509746df2ee039f42d4526944f68a33767017d11ee6397dd935cd9b4d9d6 WHIRLPOOL 856345f78226f3fd51d888a97e589b27d5b1e5ee7d2510ac5ba728b8a19e36f4bb5169b5c8c59b5c4a5750e7c8d745554fc4525a4b567256254cb5828bd6b080
|
||||
DIST http-0.6.0.gem 65024 SHA256 7a63691edfe48cd1fe5a006c7163b3c9a244ced3778adb1769f631d5665a9d28 SHA512 31bbd7d2375cdd88bf3e2425ad8298c52d35e00b84c48ce6ef8dcb902512fcf1534f8bf7a90536e3bd2767812dd937e130208b68f1e946e87330a6dae1958e47 WHIRLPOOL 27cbaf5d55fe9bcf50bfb10f8b833a07b4f6388366cd75d9996f4e824eb3c628b9940204dbbc420ce09952529b4afb15ed587156f5a49dc3af3ce21ff162ddd0
|
||||
DIST http-0.6.1.gem 66048 SHA256 6c1c88b7abe75f6e4da320882761e1b310ab622f410897ba6b845d647d799b16 SHA512 2ac8e48f799a30c6c74d76dfb3d31eea1d5f759a02c274fe360fa2bab484b52e44cb2e4e8487754d4c002517b1ad75a904b9c9c8a486811936e9abdd33541d5e WHIRLPOOL f07edf1f1b4e152b301177c644b89fcfbb1ce716af213d1ae3515df1d679b5388dea4a52741db1f7cc2bc6f4106eaaf4a64a77ae939a821f7238e27f966417a2
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/http/http-0.6.0.ebuild,v 1.1 2014/04/22 06:09:41 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An easy-to-use client library for making requests from Ruby."
|
||||
HOMEPAGE="https://github.com/tarcieri/http"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/http_parser_rb-0.6.0 =dev-ruby/http_parser_rb-0.6*"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/simplecov/,/end/ s:^:#:' \
|
||||
-e '1irequire "cgi"' spec/spec_helper.rb || die
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/patron/patron-0.4.18-r2.ebuild,v 1.1 2014/05/16 08:07:15 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.txt"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="Patron is a Ruby HTTP client library based on libcurl."
|
||||
HOMEPAGE="http://toland.github.com/patron/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
#ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
|
||||
|
||||
DEPEND+=" net-misc/curl"
|
||||
RDEPEND+=" net-misc/curl"
|
||||
|
||||
# Tests require a live web service that is not included in the distribution.
|
||||
RESTRICT="test"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Fix rake deprecation
|
||||
sed -i -e 's:rake/rdoctask:rdoc/task:' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/patron extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext/patron V=1
|
||||
cp ext/patron/session_ext$(get_modname) lib/patron/ || die "Unable to cp shared object file"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pdf-reader-git-1.1.1.tgz 8465584 SHA256 f74f77ec8438cbaa4853a646cd17b9afb4825b8e4a7db7f423540d5be505df19 SHA512 9261f3598f2f4e1c51a48f38a7662b4f564a825b8f9714d13ab8b2faa28df9859c0aa87c76de4cd163955f18cf7dc4d4c8de7e78b17921e908efa2c1d4b31d5d WHIRLPOOL 7319ee6b73684df9140a74cbbb0ddaca0788e00a48ddbc493b55fc68fba0ffd56d1a77dd315ace9ea5eb7d6ddb29cc9e9d0880291760d3b0dcd91a0f5a721afc
|
||||
DIST pdf-reader-git-1.3.3.tgz 9987686 SHA256 1e5e468fe99911ec4472031e66ebe6a4bb1fc05a2156b646ce9dff43c0253815 SHA512 5394767df24de30133e3b33a00421588f85fecd4006d2bbe622e905ef0d92947a2d11f6ea7bb8f61b43aebba9204b2c2512f97dc120d19fc87cd0a42011a3750 WHIRLPOOL bd6f15fe6548728d884890cddfddb4abf0e35504528036703f582e3c405e7c4efcb71a7b4e846b67e7767bcaf34a9219ee9d1a7f45f84bf2cabd860eebf2934e
|
||||
|
@ -0,0 +1,33 @@
|
||||
--- Rakefile.old 2014-05-07 00:17:16.985166191 +0200
|
||||
+++ Rakefile 2014-05-07 00:17:46.592166984 +0200
|
||||
@@ -5,28 +5,8 @@
|
||||
require 'rdoc/task'
|
||||
require 'rspec/core/rake_task'
|
||||
|
||||
-# Cane requires ripper, which appears to only work on MRI 1.9
|
||||
-if RUBY_VERSION >= "1.9" && RUBY_ENGINE == "ruby"
|
||||
-
|
||||
- desc "Default Task"
|
||||
- task :default => [ :quality, :spec ]
|
||||
-
|
||||
- require 'cane/rake_task'
|
||||
- require 'morecane'
|
||||
-
|
||||
- desc "Run cane to check quality metrics"
|
||||
- Cane::RakeTask.new(:quality) do |cane|
|
||||
- cane.abc_max = 20
|
||||
- cane.style_measure = 100
|
||||
- cane.max_violations = 93
|
||||
-
|
||||
- cane.use Morecane::EncodingCheck, :encoding_glob => "{app,lib,spec}/**/*.rb"
|
||||
- end
|
||||
-
|
||||
-else
|
||||
- desc "Default Task"
|
||||
- task :default => [ :spec ]
|
||||
-end
|
||||
+desc "Default Task"
|
||||
+task :default => [ :spec ]
|
||||
|
||||
desc "Run all rspec files"
|
||||
RSpec::Core::RakeTask.new("spec") do |t|
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/pdf-reader/pdf-reader-1.3.3.ebuild,v 1.1 2014/05/16 22:59:37 p8952 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
GITHUB_USER=yob
|
||||
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc TODO"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="PDF parser conforming as much as possible to the PDF specification from Adobe"
|
||||
HOMEPAGE="http://github.com/yob/pdf-reader/"
|
||||
|
||||
# We cannot use the gem distributions because they don't contain the
|
||||
# tests' data, we have to rely on the git tags.
|
||||
SRC_URI="http://github.com/${GITHUB_USER}/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz"
|
||||
RUBY_S="${GITHUB_USER}-${PN}-*"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "dev-ruby/afm
|
||||
dev-ruby/ascii85
|
||||
dev-ruby/hashery
|
||||
dev-ruby/ttfunk
|
||||
dev-ruby/ruby-rc4"
|
||||
|
||||
# rspec is loaded even during doc generation, so keep it around :(
|
||||
ruby_add_bdepend ">=dev-ruby/rspec-2.1:2"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler support
|
||||
sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die
|
||||
epatch "${FILESDIR}"/${P}-Rakefile.patch
|
||||
rm Gemfile || die
|
||||
|
||||
# Roodi is not yet available in CVS.
|
||||
sed -i -e '/roodi/d' Rakefile || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
docinto examples
|
||||
dodoc examples/* || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST twitter-4.8.1.gem 504320 SHA256 c4ea9a881d48b75d0fa9d13ff6a369e051472290593867cb60fe01a254bfaae4 SHA512 4358d6f612d6a078098bc901965a4a8598d3418638288481f76e6749951a21b3e2f4335eaf7a3ddfde81b43a12a69fbf70bce711c22f9760244dd1bf5a3e1d39 WHIRLPOOL c48db65c593b4f6d0fe89ba2f99b222e10d88ca361251cef466c59302921fa41f11f3b40b138919f347839a85c2439117deb5ea60f0e141de0fe6a86a6e2279a
|
||||
DIST twitter-5.7.1.gem 504832 SHA256 a6931053e3bfac0a9d420ce4cfb7f7ff9901dccd942dcc11f255795fbe1a178a SHA512 0d2ba4984c06eaffce2da80bdf492fd7239dcdb698851baa2e7f89a136afe85287311c16bb145710a34cfdd611b91536dfb3772d2951e0ff53bd17376a151b51 WHIRLPOOL 27370fcc55b85d79cf7711bb4ca4a64db8dc4cb620d0c3c19e777b8d88ad1baadaa92e91b7cd7f7e419c060b6c7105c5e4cb93ec6af247ef5336aa48710edf45
|
||||
DIST twitter-5.8.0.gem 501760 SHA256 ca7ce4423eacbc41b37a50aacde44ca070df16ff182e3f5e6a8d36d3f1a6f57b SHA512 1ac7cbfb2c1aba9092d1e29a9628bdfea6fcdf967e848289594637d926363ccd341d7a39adf60fc937c2af6f6329053c9ad98456a50244a7811c6d4b803bfc9d WHIRLPOOL c7b2a11fe81785955c85c98b3c116a83bc8ecf48c4664d621355e108024e4a1d2fc239adb1e8c476310eaaef5e30ea4276219902ff6c15f78179273fefafba85
|
||||
DIST twitter-5.9.0.gem 504832 SHA256 7493087ba82d6ebbe9a9a0f0e72919138bbe604bf16ca056824ebb74429c6803 SHA512 e168f171af4641ecf27b395805097617d45e3cc8ea91215cfdc49812ecb00bb7fb01d2869b6175a5deb002c47d43ee4cf3dde1cb1ca1fdfffd3b084757e7b2d7 WHIRLPOOL bc26d5af1ac2cda7b4e9db5d230b0b2ab3e176a1bd0333334bef3f1dcdddd5258812351d9e4856a0ba33abd1e9814683d8188460efd00ccb8c3325e30fff8ff5
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/twitter/twitter-5.9.0.ebuild,v 1.1 2014/05/16 08:20:42 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby wrapper around the Twitter API"
|
||||
HOMEPAGE="http://twitter.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="5"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/addressable-2.3
|
||||
>=dev-ruby/buftok-0.2.0
|
||||
>=dev-ruby/equalizer-0.0.9
|
||||
=dev-ruby/faraday-0*
|
||||
>=dev-ruby/faraday-0.9.0
|
||||
>=dev-ruby/http-0.6.0:0.6
|
||||
>=dev-ruby/http_parser_rb-0.6.0
|
||||
>=dev-ruby/json-1.8
|
||||
>=dev-ruby/memoizable-0.4.0
|
||||
>=dev-ruby/naught-1.0
|
||||
=dev-ruby/simple_oauth-0*
|
||||
>=dev-ruby/simple_oauth-0.2"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/rspec:2
|
||||
dev-ruby/webmock
|
||||
)
|
||||
doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die "Unable to remove bundler code."
|
||||
|
||||
sed -i -e '/simplecov/,/^end/ s:^:#:' spec/helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
CI=true ${RUBY} -S rspec spec || die
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST cucumber-1.2.1.gem 333312 SHA256 11df76fb89c90fd37493560879dbd284665320fbfeb91372e7edb7f4c68cdc26 SHA512 ec1e56974c312b3e39410bc84b99e7e103685f35dd804275cefcf345534ce0ea032bda63d73524a1f90e6785a5b91b3c9d36c617591d52a0c507eb109401ae51 WHIRLPOOL a1625c859baacced783552e2526f00e9f291d1a12d6900f2d84c3551c19394aaf89736dd03670a6b4f327887bf4100c6a990d6b7bd88f0a623b82afc61bd2a2e
|
||||
DIST cucumber-1.3.10.gem 273408 SHA256 f6beb70c1652b10784938bfd6bcd69f31ce6c5a6d198ae4d046bfb1c568f07bd SHA512 59f4a03c91be56d8a525590532ae6ff2d8bc3911f9f93fd10730540aa5fb79a0164cea9569d4d120e577645daa753d1c7d2888641a5c8e35cd37895e495c0f62 WHIRLPOOL f576b5dd9b5e83afac85c69337f48f48d890f9e7b21351d6d1ffa1d62c0ba808818f26f76598a1578cbde30e53bfc345cfaff8426e6a5c6967aae542c4311008
|
||||
DIST cucumber-1.3.14.gem 276480 SHA256 5ff619d583180dbd53fbe6739607cb66bdf79c548c9de103263694d58efe196e SHA512 9f68da70e4850c1385e4a5e7c1bd86eb99a0e24081b7622c8dc5c5ed018e034d72c4fba60cc3ea8dcadd41e323aac0283a6481747a3f27f99638a155e5f602a1 WHIRLPOOL fcc103d08556568ff3a82027199241e8ace7f6b825de160babd4643c2693c49c71af5db411a52886f106ce6fbfc285bf345100523aa5690b3fad92d50256449f
|
||||
DIST cucumber-1.3.15.gem 276480 SHA256 a81a9594487cb0daf576163c9123dd922279dcec037ca5c7bf88f3a8887d8bf2 SHA512 a23e4e84d499ca0e6f26ef2d36d8fa5cb85bf699caab101c7dce61ea41a3ffdc0c84cd34a8659d6665e65f14891726d10c9e4d618a475ca8c413dd5e63bfd34a WHIRLPOOL 12e36f2d71547c64f4e5f6471814380bab5e49f01023bf23d9db4fb74740bbabb6f0c7d034e5347f6107477554c3e5e408978c428c8854e0825b9676d0b13f50
|
||||
DIST cucumber-1.3.2.gem 275968 SHA256 18c9d38cea1b164d57afa1346a2d7c0cc18062687ee66b28ffcf39a53f6c086e SHA512 7d6be78dfe72a7aae868ff91308a7ea8ea01fe71f53b705f2da89cb9965e676930c1826f87d62d86e1c2192fc63d966b634943b767da23d8bc6c41cac074a42b WHIRLPOOL 254445cd39f03de98601af820a68f5b16674cbe8706663ba7806048af060abf9bc6bbd735a79696df0613effbeea3b07324de60749a55a7ff9bff1b2b52b0fa4
|
||||
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber/cucumber-1.3.15.ebuild,v 1.1 2014/05/16 07:55:33 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
# Documentation task depends on sdoc which we currently don't have.
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="cucumber.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Executable feature scenarios"
|
||||
HOMEPAGE="http://github.com/aslakhellesoy/cucumber/wikis"
|
||||
LICENSE="Ruby"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="examples test"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/rspec-2.13.0
|
||||
>=dev-ruby/nokogiri-1.5.2
|
||||
>=dev-ruby/syntax-1.0.0
|
||||
>=dev-util/aruba-0.5.2
|
||||
>=dev-ruby/json-1.7
|
||||
dev-ruby/bundler
|
||||
>=dev-util/cucumber-1.3
|
||||
)"
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/builder-2.1.2
|
||||
>=dev-ruby/diff-lcs-1.1.3
|
||||
>=dev-ruby/gherkin-2.12.0
|
||||
>=dev-ruby/multi_json-1.7.5
|
||||
>=dev-ruby/multi_test-0.1.1
|
||||
"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove development dependencies from the gemspec that we don't
|
||||
# need or can't satisfy.
|
||||
sed -i -e '/\(spork\|simplecov\|bcat\|kramdown\|yard\|capybara\|rack-test\|ramaze\|sinatra\|webrat\)/d' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
|
||||
# Fix too-strict nokogiri test dependency
|
||||
sed -i -e 's/~> 1.5.2/>= 1.5.2/' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
sed -i -e '/rake/ s/10.2/10.4/' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
|
||||
# Make sure spork is run in the right interpreter
|
||||
sed -i -e 's/#{Spork::BINARY}/-S #{Spork::BINARY}/' features/support/env.rb || die
|
||||
|
||||
# Avoid json, they most likely fail due to multi_json weirdness.
|
||||
rm features/json_formatter.feature || die
|
||||
|
||||
# Avoid dependency on git
|
||||
sed -i -e '/git ls-files/d' cucumber.gemspec || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib -S rspec spec || die "Specs failed"
|
||||
RUBYLIB=lib ${RUBY} -Ilib bin/cucumber features || die "Features failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
if use examples; then
|
||||
cp -pPR examples "${D}/usr/share/doc/${PF}" || die "Failed installing example files."
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST lttng-modules-2.4.0.tar.bz2 246927 SHA256 83e925828b6faf94fe3da3f0fad3f82078a01d48f3525eb30b091239c3d3c0f2 SHA512 1a867c54e52bf7f5faf9773fec99533984288da1997d54b1e7ac62c58a86226267b1ecab73becaafad62e9923ae78d4db6e60e9f04f40b7ec062db58e0811578 WHIRLPOOL 59326cd95119badd49f7ce6483996ce69f2268b0f43f9cc3b191324a11832980b293ca1bd629c526e10ad49e26af55e62750a70bdeb8a44cab79f35d31d0749a
|
||||
DIST lttng-modules-2.4.1.tar.bz2 248047 SHA256 53a4f84be22eec203a9f77ddea1ccf893e54da98c64dc753cc89634e51c5c1e2 SHA512 25a746d05db1d9f21d6b9286b14970b8296d53e325d2283ba32b8e93afb4a9cead8b6577bcd0e56eebef08612334b5d75479d49b545268c1003dafcd9c1e03eb WHIRLPOOL 530b7cfb3d88b7e32a142da7e1310e7e81d0ce1e90d1c5ddade4a92b169e496a99dbdccb6374f1f923c7926bd9770086b985c067dfc87736b8a44288cae8bda0
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/lttng-modules/lttng-modules-2.4.1.ebuild,v 1.1 2014/05/16 08:08:59 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit linux-mod
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
DESCRIPTION="LTTng Kernel Tracer Modules"
|
||||
HOMEPAGE="http://lttng.org"
|
||||
SRC_URI="http://lttng.org/files/${PN}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
BUILD_TARGETS="default"
|
||||
|
||||
CONFIG_CHECK="MODULES KALLSYMS HIGH_RES_TIMERS TRACEPOINTS
|
||||
~HAVE_SYSCALL_TRACEPOINTS ~PERF_EVENTS ~EVENT_TRACING ~KPROBES KRETPROBES"
|
||||
|
||||
MODULE_NAMES="true"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_pretend() {
|
||||
if kernel_is lt 2 6 27; then
|
||||
eerror "${PN} require Linux kernel >= 2.6.27"
|
||||
die "Please update your kernel!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for i in $(find "${S}" -name "*.ko" -print); do
|
||||
local val=${i##${S}/}
|
||||
local modules+="${val%%.ko}(misc:) "
|
||||
done
|
||||
MODULE_NAMES=${modules}
|
||||
|
||||
linux-mod_src_install
|
||||
dodoc ChangeLog README TODO
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST lttng-tools-2.4.0.tar.bz2 820141 SHA256 04db0d792b87492488270497e15c569479f26551da4a7e821f4e835d3045aafb SHA512 4471a69e3bb5c8d59b202ce9c57988fc5fca9ac9622eb4f23433b9840eef09a7dd530ff4f2fa605a3a948ab9a9de1aa0e21e80280d2ccd7bb0d9c795395d27da WHIRLPOOL a62610d6df2509c40a23ef3743dc1c9d714603f606945841186b22ecd2a2dfcd0fc6af9c48091c877cb74e475145f171d0d95ae6c45b7068c51ee5922def775a
|
||||
DIST lttng-tools-2.4.1.tar.bz2 824880 SHA256 598a57866819b9b96ac8e160a713c5091e911f5d2b95f3887d1c6ac1863a2eed SHA512 faf7539e10d368b4254727a3b1081837ba630316729799ef619e33c5d8a818c9c2a85a575bbeafd61eadf2b09522e11cdd66b2982ab4c153ff517885985f1a92 WHIRLPOOL ae193bca85528275011e19b6e2718b089fa7d87175a296e5098f7c26e58a79e5a129be4dfee738593635da225148ea87a33b1eb7756dc213660c49c26d233305
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/lttng-tools/lttng-tools-2.4.1.ebuild,v 1.1 2014/05/16 08:11:23 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit linux-info
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
DESCRIPTION="Linux Trace Toolkit - next generation"
|
||||
HOMEPAGE="http://lttng.org"
|
||||
SRC_URI="http://lttng.org/files/${PN}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+ust"
|
||||
|
||||
DEPEND="dev-libs/userspace-rcu
|
||||
dev-libs/popt
|
||||
ust? ( dev-util/lttng-ust )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_pretend() {
|
||||
if kernel_is -lt 2 6 27; then
|
||||
ewarn "${PN} require Linux kernel >= 2.6.27"
|
||||
ewarn " pipe2(), epoll_create1() and SOCK_CLOEXEC are needed to run"
|
||||
ewarn " the session daemon. There were introduce in the 2.6.27"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable ust lttng-ust)
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST lttng-ust-2.4.0.tar.bz2 577107 SHA256 6e17c9c8ece0ede12f2ea3c848b86150ec551cd86055f675e85b8a9f15b272d0 SHA512 ea3edbbd67f7510ec8d4e13d90b98a4f838ccb4862ca47bfccf850617d98e8ec472bccbec889775d3155a25915ddd4f92c531c31b47a19ce3a27c6c54dccc6aa WHIRLPOOL cb2f111fa1665e3da7d5468769fa46916372fbd406d186398f8544a6596a95306686f6569b073c1a6c3bcac1d349255bbc09d10491e052d19bb8cff05bcc3546
|
||||
DIST lttng-ust-2.4.1.tar.bz2 577746 SHA256 e142c0b35c8a215fca8dc83fc3d0298fdb823c738f0fe0e5978afaa86058a9db SHA512 fb6e46ad8b8a3d5bfdd0a1f7421c0eb713bf1cbb5f04c066dde7a7f2fde57bec976118cc8d51984b87959862faea5b87148fde440a04b7756de3cb2e89f0157c WHIRLPOOL 9515993a1a96bb84f8d59716f0d1216d9a05b04ccda532fef532a6ce832a1fda02d36f0030a52226a4bef138c733632171aaa2f0fac201e0f5403993010ddf65
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/lttng-ust/lttng-ust-2.4.1.ebuild,v 1.1 2014/05/16 08:10:16 dlan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
DESCRIPTION="Linux Trace Toolkit - UST library"
|
||||
HOMEPAGE="http://lttng.org"
|
||||
SRC_URI="http://lttng.org/files/${PN}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="dev-libs/userspace-rcu"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
if ! use examples; then
|
||||
sed -i -e '/SUBDIRS/s:examples::' doc/Makefile.am || die
|
||||
fi
|
||||
eautoreconf
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -7,12 +7,12 @@
|
||||
|
||||
AC_INIT([primateplunge], [1.1], [primateplunge@aelius.com])
|
||||
|
||||
-AC_CONFIG_SRCDIR( src/game.c )
|
||||
+AC_CONFIG_SRCDIR(src/game.c)
|
||||
AC_CANONICAL_SYSTEM
|
||||
|
||||
dnl Version 1.7 of automake is recommended
|
||||
-AM_INIT_AUTOMAKE( 1.7 )
|
||||
-AM_CONFIG_HEADER( src/config.h )
|
||||
+AM_INIT_AUTOMAKE(1.7)
|
||||
+AM_CONFIG_HEADER(src/config.h)
|
||||
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
[ PREFSFILE="~/.primateplunge" ]
|
||||
)
|
||||
|
||||
-AC_SUBST( GAMEDATADIR )
|
||||
AC_DEFINE_DIR( GAMEDATADIR, GAMEDATADIR, [Location of game resource files] )
|
||||
AC_DEFINE_UNQUOTED( PREFSFILE, "$PREFSFILE", [Location of preferences file] )
|
||||
|
@ -1 +1,2 @@
|
||||
DIST sound-of-sorting-0.6.3.tar.bz2 135529 SHA256 1a81398391e322c2b9939153d27e638f11f2472fbd50b4def83ae58a68bc17af SHA512 b8b2cf628ccf8092e8a8e37caea2d4a865ffdebc0d140ad42db67dbead923921538bd530a08f339baeaace03f2ec426454f2907689d486332699b805adfafdcd WHIRLPOOL 54dfbf6c70612a85c40769e5c72404f3c9208af28cef3fe4ad35228d84583d88d61008b533e0deef69aca9459b5aa86ad9a8e50c4f2981374b0ee4f4bd1e75ca
|
||||
DIST sound-of-sorting-0.6.5.tar.bz2 144446 SHA256 937c9f9b53289cf80283cfc64afd96a4b9a146b142e36eba5dfdaf0a63ef4ada SHA512 c0dc8761ac8c110d4c516e47dd2dc472714ed9b5d09d1401f11db019abd8933dd5172c540fdb1afc8b3f3b87f0c8d0fa33ffdd4eab6ed1044ed05b704412e34f WHIRLPOOL a29693e9b87b845dceb6cfe77974af204b921df43eb76a5fdf6166eedc069daee9507265de825838b5f89f033edb7af41b23e8741cd14081753896439afdf25e
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-misc/sound-of-sorting/sound-of-sorting-0.6.5.ebuild,v 1.1 2014/05/16 10:23:54 blueness Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit games
|
||||
|
||||
DESCRIPTION="Visualization and Audibilization of Sorting Algorithms"
|
||||
HOMEPAGE="http://panthema.net/2013/sound-of-sorting/"
|
||||
SRC_URI="http://panthema.net/2013/sound-of-sorting/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/libsdl
|
||||
x11-libs/wxGTK"
|
||||
RDEPEND="${DEPEND}"
|
@ -1 +1,2 @@
|
||||
DIST amavisd-milter-1.5.0.tar.gz 175759 SHA256 cef897e2c172272d52a6e5d9415b25252bf669f0481f9bdf24e95d3071c5a2c5 SHA512 ef206cd2c64cf48edb8a679b92a960451e0edbec11e0c207942bf6f435f7d14538a409d8197774ea4bbf63f27ed73d52a7c51531155be6d8724981b5dd9e0037 WHIRLPOOL d48dfd540fdcae728425f0209f6fe2601a1bdbac9299d346ccc06f56da00f10b6c506b15129d93df1bf670a861afc25d40d1344369377f1ff0ee23cf90f40f39
|
||||
DIST amavisd-milter-1.6.0.tar.gz 187994 SHA256 c195750d42df41f4642a26b020fec1ba5752a997bcb366c70cd384bc560a98cd SHA512 2e0b39b733f88742fcb2f4e884e528b70731ad5950bd56d3af1391d666dc018d2f6c1ad4212e787872a503bccbc65c52d55ae195c384e9333e4f39d25b1d1a34 WHIRLPOOL ab1c0aee71597b0c5ccd3375a0df3ffd81ee24a69946b02d8e37a376ef1dca259c519338d5d7a391dd0947de907192d740ce8797f3a58b546461564dcc238d95
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-milter/amavisd-milter-1.6.0.ebuild,v 1.1 2014/05/16 19:14:26 eras Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="sendmail milter for amavisd-new"
|
||||
HOMEPAGE="http://amavisd-milter.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail )
|
||||
mail-filter/amavisd-new"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS CHANGES INSTALL README TODO
|
||||
|
||||
newinitd "${FILESDIR}/amavisd-milter.initd" amavisd-milter
|
||||
newconfd "${FILESDIR}/amavisd-milter.confd" amavisd-milter
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST amavisd-new-2.7.2.tar.gz 945448 SHA256 4665e0fb9a71f483f1123113a006291e37f744a5880f945ccf9fd34d51cb9275 SHA512 f707a5ac9d6acee2f9d144fda86fed92bbf33693858262ab0a95663da50f78a023102d9d50dd5a6a256ef6302a241f9c28d2b190e3efe2110c0eea15557ae756 WHIRLPOOL c0422d80b9dc11a7a2e9cb10092b7c97c02536aa852f70c566ab6e2e6a865b901ad24caf626b8b02ee64979bced7c25f03888827fd47ffbc4e733bb733e08c9e
|
||||
DIST amavisd-new-2.8.0.tar.xz 716556 SHA256 c21df73b4ba12322b67779fa5f6f23f57757240568f57d81e94702f0f7c1ce8c SHA512 4c927a6956027d8c953b455d37c0c152950ad392c50de992ecbd1f3525d13c11bc29b845496a2a51713fafbf62b6d589435d385b3bccaa34829049890cf56635 WHIRLPOOL c82d58a4d4337b3b42dcdd2e8b80060bdf288db51bdb5e69a8a1351733b4661d79a52d257f18cd26cf9a334f1195db0d8d9a0e3bf28a1043a49e5946817fba62
|
||||
DIST amavisd-new-2.8.1.tar.xz 731816 SHA256 6e333a70adbd24ec52202700059fbf133e20b3c3bf5ec6f4bb10f9a2f25ea82e SHA512 a840b57513b8a7b18e15085016c273ba2fba5cceb76ef52c52aa2ca34e9257be78f8bb8ea350dbdac3b26d2aba8f5aae821c1c45f2d37bc6be04ff2efb9f3ade WHIRLPOOL 0d0ce9a1e8adae101d0aace45251c02118c8f4481e67ab1af7fb32843010ac9e0b9f8ab88f0769a27c1e74e297507efe53c3a6e8ce84c616e1beeaf281027044
|
||||
DIST amavisd-new-2.9.0.tar.xz 752344 SHA256 a33b1bbb9a4ae9d00340291081e22dc7be00e60cd2dac6a93c17785cbc517fdd SHA512 490f249b47638368c4e39b1e90a0654c965ed0c3102495c152c1f365a2fb962078a2bcfb57dccbf0fa8008494d85414734a6cde2aeded7aeda6bf4c1201de59d WHIRLPOOL 31a979bc573b051217101fa317894dabbe5ad75f0d636ae3c720f9c184c9295cddc3acc532950e524348103596113cefd2660cf12753f08837cc9ef931f44f16
|
||||
|
@ -0,0 +1,180 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/amavisd-new/amavisd-new-2.9.0.ebuild,v 1.1 2014/05/16 19:07:41 eras Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils systemd user
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
DESCRIPTION="High-performance interface between the MTA and content checkers."
|
||||
HOMEPAGE="http://www.ijs.si/software/amavisd/"
|
||||
SRC_URI="http://www.ijs.si/software/amavisd/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="clamav courier dkim ldap mysql postgres qmail razor snmp spamassassin zmq"
|
||||
|
||||
DEPEND=">=sys-apps/sed-4
|
||||
>=dev-lang/perl-5.8.2"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
>=sys-apps/coreutils-5.0-r3
|
||||
app-arch/cpio
|
||||
app-arch/gzip
|
||||
app-arch/bzip2
|
||||
app-arch/arc
|
||||
app-arch/cabextract
|
||||
app-arch/freeze
|
||||
app-arch/lha
|
||||
app-arch/lrzip
|
||||
app-arch/lzop
|
||||
app-arch/ncompress
|
||||
app-arch/p7zip
|
||||
app-arch/pax
|
||||
app-arch/unarj
|
||||
app-arch/unrar
|
||||
app-arch/xz-utils
|
||||
app-arch/zoo
|
||||
net-mail/ripole
|
||||
>=dev-perl/Archive-Zip-1.14
|
||||
>=virtual/perl-IO-Compress-1.35
|
||||
>=virtual/perl-Compress-Raw-Zlib-2.017
|
||||
net-mail/tnef
|
||||
virtual/perl-MIME-Base64
|
||||
>=dev-perl/MIME-tools-5.415
|
||||
>=dev-perl/MailTools-1.58
|
||||
>=dev-perl/net-server-0.91
|
||||
virtual/perl-Digest-MD5
|
||||
dev-perl/IO-stringy
|
||||
dev-perl/IO-Socket-IP
|
||||
>=virtual/perl-Time-HiRes-1.49
|
||||
dev-perl/Unix-Syslog
|
||||
sys-apps/file
|
||||
>=sys-libs/db-4.4.20
|
||||
dev-perl/BerkeleyDB
|
||||
dev-perl/Convert-BinHex
|
||||
>=dev-perl/Mail-DKIM-0.31
|
||||
virtual/mta
|
||||
clamav? ( app-antivirus/clamav )
|
||||
ldap? ( >=dev-perl/perl-ldap-0.33 )
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
razor? ( mail-filter/razor )
|
||||
snmp? ( net-analyzer/net-snmp[perl] )
|
||||
spamassassin? ( mail-filter/spamassassin )
|
||||
zmq? ( dev-perl/ZMQ-LibZMQ2 )"
|
||||
|
||||
AMAVIS_ROOT="/var/amavis"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
if use courier ; then
|
||||
epatch amavisd-new-courier.patch
|
||||
fi
|
||||
|
||||
if use qmail ; then
|
||||
epatch amavisd-new-qmqpqq.patch
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e '/daemon/s/vscan/amavis/' \
|
||||
-e "s:'/var/virusmails':\"\$MYHOME/quarantine\":" \
|
||||
"${S}/amavisd.conf" "${S}/amavis-mc" || die "missing conf file"
|
||||
|
||||
if ! use dkim ; then
|
||||
sed -i -e '/enable_dkim/s/1/0/' "${S}/amavisd.conf" \
|
||||
|| die "missing conf file - dkim"
|
||||
fi
|
||||
|
||||
if use zmq ; then
|
||||
sed -i -e '/enable_zmq/s/# //' "${S}/amavisd.conf" \
|
||||
|| die "missing conf file - zmq"
|
||||
fi
|
||||
|
||||
if ! use spamassassin ; then
|
||||
sed -i -e \
|
||||
"/^#[[:space:]]*@bypass_spam_checks_maps[[:space:]]*=[[:space:]]*(1)/s/^#//" \
|
||||
"${S}/amavisd.conf" || die "missing conf file - sa"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin amavisd amavisd-agent amavisd-nanny amavisd-release \
|
||||
amavisd-signer amavisd-status
|
||||
dobin p0f-analyzer.pl amavisd-submit
|
||||
|
||||
if use snmp ; then
|
||||
dosbin amavisd-snmp-subagent
|
||||
use zmq && dosbin amavisd-snmp-subagent-zmq
|
||||
dodoc AMAVIS-MIB.txt
|
||||
fi
|
||||
|
||||
if use zmq ; then
|
||||
dosbin amavis-services amavis-mc
|
||||
newinitd "${FILESDIR}"/amavis-mc.initd amavis-mc
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
insopts -m0640
|
||||
doins amavisd.conf
|
||||
|
||||
newinitd "${FILESDIR}/amavisd.initd-r1" amavisd
|
||||
|
||||
systemd_dounit "${FILESDIR}/amavisd.service"
|
||||
use clamav || sed -i -e '/Wants=clamd/d' "${ED}"/usr/lib/systemd/system/amavisd.service
|
||||
use spamassassin || sed -i -e '/Wants=spamassassin/d' "${ED}"/usr/lib/systemd/system/amavisd.service
|
||||
|
||||
keepdir "${AMAVIS_ROOT}"
|
||||
keepdir "${AMAVIS_ROOT}/db"
|
||||
keepdir "${AMAVIS_ROOT}/quarantine"
|
||||
keepdir "${AMAVIS_ROOT}/tmp"
|
||||
keepdir "${AMAVIS_ROOT}/var"
|
||||
|
||||
dodoc AAAREADME.first INSTALL MANIFEST RELEASE_NOTES TODO \
|
||||
amavisd.conf-default amavisd-custom.conf
|
||||
|
||||
docinto README_FILES
|
||||
dodoc README_FILES/README*
|
||||
dohtml README_FILES/*.{html,css}
|
||||
docinto README_FILES/images
|
||||
dodoc README_FILES/images/*.png
|
||||
docinto README_FILES/images/callouts
|
||||
dodoc README_FILES/images/callouts/*.png
|
||||
|
||||
docinto test-messages
|
||||
dodoc test-messages/README
|
||||
dodoc test-messages/sample.tar.gz.compl
|
||||
|
||||
if use ldap ; then
|
||||
dodir /etc/openldap/schema
|
||||
insinto /etc/openldap/schema
|
||||
insopts -o root -g root -m 644
|
||||
newins LDAP.schema ${PN}.schema || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
enewgroup amavis
|
||||
enewuser amavis -1 -1 "${AMAVIS_ROOT}" amavis
|
||||
if use razor ; then
|
||||
if [ ! -d "${ROOT}${AMAVIS_ROOT}/.razor" ] ; then
|
||||
elog "Setting up initial razor config files..."
|
||||
|
||||
razor-admin -create -home="${D}/${AMAVIS_ROOT}/.razor"
|
||||
sed -i -e "s:debuglevel\([ ]*\)= .:debuglevel\1= 0:g" \
|
||||
"${D}/${AMAVIS_ROOT}/.razor/razor-agent.conf" || die
|
||||
fi
|
||||
fi
|
||||
|
||||
if has_version "<${CATEGORY}/${PN}-2.7.0" ; then
|
||||
elog "Amavisd-new ships with a short and condensed config file now."
|
||||
elog "Transferring your current settings to the new format is"
|
||||
elog "recommended for ease of future upgrades."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chown root:amavis "${ROOT}/etc/amavisd.conf"
|
||||
chown -R amavis:amavis "${ROOT}/${AMAVIS_ROOT}"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.12_pre20140508.ebuild,v 1.1 2014/05/09 12:12:13 eras Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-mta/postfix/postfix-2.12_pre20140516.ebuild,v 1.1 2014/05/17 05:03:27 eras Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic multilib pam ssl-cert systemd toolchain-funcs user versionator
|
@ -0,0 +1,79 @@
|
||||
Obtained from: http://pkgs.fedoraproject.org/cgit/mate-applets.git/plain/cpufreq.patch
|
||||
|
||||
diff -upr mate-applets-1.5.0-orig/configure.ac mate-applets-1.5.0/configure.ac
|
||||
--- mate-applets-1.5.0-orig/configure.ac 2012-12-08 22:37:32.000000000 +0100
|
||||
+++ mate-applets-1.5.0/configure.ac 2013-01-14 18:04:15.726598991 +0100
|
||||
@@ -506,13 +506,13 @@ if test "x$HAVE_POLKIT" = "xyes"; then
|
||||
fi
|
||||
|
||||
AC_CHECK_HEADER(cpufreq.h, have_libcpufreq=yes, have_libcpufreq=no)
|
||||
-LIBCPUFREQ_LIBS=
|
||||
-if test "x$have_libcpufreq" = "xyes"; then
|
||||
- AC_DEFINE([HAVE_LIBCPUFREQ], [1], [Have libcpufreq.])
|
||||
- LIBCPUFREQ_LIBS=-lcpufreq
|
||||
+LIBCPUPOWER_LIBS=
|
||||
+if test "x$have_libcpupower" = "xyes"; then
|
||||
+ AC_DEFINE([HAVE_LIBCPUPOWER], [1], [Have libcpupower.])
|
||||
+ LIBCPUPOWER_LIBS=-lcpupower
|
||||
fi
|
||||
-AM_CONDITIONAL(HAVE_LIBCPUFREQ, test x$have_libcpufreq = xyes)
|
||||
-AC_SUBST(LIBCPUFREQ_LIBS)
|
||||
+AM_CONDITIONAL(HAVE_LIBCPUPOWER, test x$have_libcpupower = xyes)
|
||||
+AC_SUBST(LIBCPUPOWER_LIBS)
|
||||
|
||||
build_cpufreq_applet=no
|
||||
|
||||
diff -upr mate-applets-1.5.0-orig/cpufreq/src/cpufreq-selector/cpufreq-selector-factory.c mate-applets-1.5.0/cpufreq/src/cpufreq-selector/cpufreq-selector-factory.c
|
||||
--- mate-applets-1.5.0-orig/cpufreq/src/cpufreq-selector/cpufreq-selector-factory.c 2012-12-08 22:37:32.000000000 +0100
|
||||
+++ mate-applets-1.5.0/cpufreq/src/cpufreq-selector/cpufreq-selector-factory.c 2013-01-14 19:15:28.432366287 +0100
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "cpufreq-selector-factory.h"
|
||||
#include "cpufreq-selector-sysfs.h"
|
||||
#include "cpufreq-selector-procfs.h"
|
||||
-#ifdef HAVE_LIBCPUFREQ
|
||||
+#ifdef HAVE_LIBCPUPOWER
|
||||
#include "cpufreq-selector-libcpufreq.h"
|
||||
#endif
|
||||
|
||||
@@ -33,7 +33,7 @@ cpufreq_selector_factory_create_selector
|
||||
{
|
||||
CPUFreqSelector *selector = NULL;
|
||||
|
||||
-#ifdef HAVE_LIBCPUFREQ
|
||||
+#ifdef HAVE_LIBCPUPOWER
|
||||
selector = cpufreq_selector_libcpufreq_new (cpu);
|
||||
#else
|
||||
if (g_file_test ("/sys/devices/system/cpu/cpu0/cpufreq", G_FILE_TEST_EXISTS)) { /* 2.6 kernel */
|
||||
@@ -41,7 +41,7 @@ cpufreq_selector_factory_create_selector
|
||||
} else if (g_file_test ("/proc/cpufreq", G_FILE_TEST_EXISTS)) { /* 2.4 kernel */
|
||||
selector = cpufreq_selector_procfs_new (cpu);
|
||||
}
|
||||
-#endif /* HAVE_LIBCPUFREQ */
|
||||
+#endif /* HAVE_LIBCPUPOWER */
|
||||
|
||||
return selector;
|
||||
}
|
||||
diff -upr mate-applets-1.5.0-orig/cpufreq/src/cpufreq-selector/Makefile.am mate-applets-1.5.0/cpufreq/src/cpufreq-selector/Makefile.am
|
||||
--- mate-applets-1.5.0-orig/cpufreq/src/cpufreq-selector/Makefile.am 2012-12-08 22:37:32.000000000 +0100
|
||||
+++ mate-applets-1.5.0/cpufreq/src/cpufreq-selector/Makefile.am 2013-01-14 19:13:27.223180712 +0100
|
||||
@@ -16,7 +16,7 @@ if CPUFREQ_SELECTOR_SUID
|
||||
endif
|
||||
|
||||
|
||||
-if HAVE_LIBCPUFREQ
|
||||
+if HAVE_LIBCPUPOWER
|
||||
cpufreq_files=cpufreq-selector-libcpufreq.c cpufreq-selector-libcpufreq.h
|
||||
endif
|
||||
|
||||
diff -upr mate-applets-1.5.0-orig/cpufreq/src/Makefile.am mate-applets-1.5.0/cpufreq/src/Makefile.am
|
||||
--- mate-applets-1.5.0-orig/cpufreq/src/Makefile.am 2012-12-08 22:37:32.000000000 +0100
|
||||
+++ mate-applets-1.5.0/cpufreq/src/Makefile.am 2013-01-14 19:14:01.647517888 +0100
|
||||
@@ -12,7 +12,7 @@ INCLUDES = \
|
||||
|
||||
libexec_PROGRAMS = mate-cpufreq-applet
|
||||
|
||||
-if HAVE_LIBCPUFREQ
|
||||
+if HAVE_LIBCPUPOWER
|
||||
cpufreq_files=cpufreq-monitor-libcpufreq.c cpufreq-monitor-libcpufreq.h
|
||||
endif
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST jpegoptim-1.2.5.tar.gz 84985 SHA256 aa7f83f7f7d6f46c5815a3c840a31d2679b7d2fc1236cad48e91c4a0be532d4b SHA512 4bb1e53be86ba1f293869fc53b45821f2d9a6db14c82962231111b89494b2574b5130b8ba8fe076d5dc9a176bfb34daacd01b411070e2ae0320e3e56c68b0139 WHIRLPOOL 6834043e7bffdb6d12192750417b628400e8d514eb1f6f663374ddea2a5ecccae16fa9f69691ad2f0281249119cfc513681986b52f9951c3077e177207f6a7e9
|
||||
DIST jpegoptim-1.3.0.tar.gz 92224 SHA256 af46d2eb60fd2cf5ed517b24cc3c117df530ed92503260ba533259f855e62175 SHA512 031bba3fecd4afdfef68b0ad35f5923fad4d8adc5e268e6ee0b34f5d5a07883d02464c58f28f36ab017a678e22cc8a863708de66e66b312f400e86b6af14d1c7 WHIRLPOOL badda286a90689ebe539cdd2cb8c0b10655758820a6b766a9d093425a0208ba2d10b1d30b7def30470d46e62e5efa6045371e742217923559f8e708b1375a07e
|
||||
DIST jpegoptim-1.3.1.tar.gz 94173 SHA256 4cf898848d70cae04165259a53ac5e67ddcc5a59f3ecac7f57a8fc4f58a253ef SHA512 2ad42ab038bb6e01f9d34b062fb346934938acdc54a8962a93533cd8c6ddc01444b1c1b65bc61f40e05138230758b57ea026aee86f17d69ae35c86e36d5304f5 WHIRLPOOL 4ec11ca184f6b133966de749fe3eb8c9b4ab07e6d03311210299fd7d68e0a7afd4570b39cb772d84f03da4f9cffe5d1201993bbb7795ae067b16cd2744e36c42
|
||||
DIST jpegoptim-1.4.0.tar.gz 96981 SHA256 bf76bedd12ed112bef48f8e7f09c234e3ea7a22c2d4168dbc1423fa41901e891 SHA512 141dc7e3a159cb7eb75e2e3de60f600820ab9f70f45fcbeda5bd0bcda30d62c9266c97254f2913f9d5b6e08532c0a765bca5a0493cd6f7e37269c8790f0c4f85 WHIRLPOOL 47fe629b088142d37ceaad3a05c882dc6376c9803805560e81f551d3af3385a0ed411987b44bad400a8f78c17550647e8bcf6ec4ec4df62adf134e0ecbb216b9
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/jpegoptim/jpegoptim-1.2.5.ebuild,v 1.3 2013/05/20 08:44:37 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Utility to optimize JPEG files"
|
||||
HOMEPAGE="http://www.kokkonen.net/tjko/projects.html"
|
||||
SRC_URI="http://www.kokkonen.net/tjko/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
|
||||
RDEPEND="virtual/jpeg"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
econf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
dodoc README
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue