parent
69223699a0
commit
fc6ad50e53
@ -1,12 +1,35 @@
|
||||
diff -Naur flite-1.4-release/config/common_make_rules flite-1.4-release.new/config/common_make_rules
|
||||
--- flite-1.4-release/config/common_make_rules 2009-07-30 14:52:56.000000000 +0000
|
||||
+++ flite-1.4-release.new/config/common_make_rules 2011-03-26 20:22:59.000000000 +0000
|
||||
@@ -68,7 +68,7 @@
|
||||
|
||||
FLITELIBS = $(BUILDDIR)/lib/libflite.a
|
||||
FLITELIBFLAGS = -L$(BUILDDIR)/lib -lflite
|
||||
-LDFLAGS += -lm $(AUDIOLIBS) $(OTHERLIBS)
|
||||
+LDLIBS += -lm $(AUDIOLIBS) $(OTHERLIBS)
|
||||
|
||||
FULLOBJS = $(OBJS:%=$(OBJDIR)/%)
|
||||
ifdef SHFLAGS
|
||||
@@ -123,7 +123,7 @@
|
||||
@ rm -rf shared_os && mkdir shared_os
|
||||
@ rm -f $@ $@.${PROJECT_VERSION} $@.${PROJECT_SHLIB_VERSION}
|
||||
@ (cd shared_os && ar x ../$<)
|
||||
- @ (cd shared_os && $(CC) -shared -Wl,-soname,`basename $@`.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
|
||||
+ @ (cd shared_os && $(CC) $(LDFLAGS) -shared -Wl,-soname,`basename $@`.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
|
||||
+ @ (cd shared_os && $(CC) ${LDFLAGS} -shared -Wl,-soname,`basename $@`.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os $(LDLIBS))
|
||||
@ (cd $(LIBDIR) && ln -s `basename $@.${PROJECT_VERSION}` `basename $@.${PROJECT_SHLIB_VERSION}` )
|
||||
@ (cd $(LIBDIR) && ln -s `basename $@.${PROJECT_SHLIB_VERSION}` `basename $@` )
|
||||
@ rm -rf shared_os
|
||||
--- flite-1.4-release/tools/Makefile~ 2009-08-22 20:19:01.000000000 +0100
|
||||
+++ flite-1.4-release.new/tools/Makefile 2013-01-20 20:06:34.259527220 +0000
|
||||
@@ -62,9 +62,9 @@
|
||||
LOCAL_CLEAN = $(BINDIR)/find_sts $(BINDIR)/flite_sort
|
||||
|
||||
$(BINDIR)/find_sts: find_sts_main.o $(FLITELIBS)
|
||||
- $(CC) $(CFLAGS) -o $@ find_sts_main.o $(FLITELIBFLAGS) $(LDFLAGS)
|
||||
+ $(CC) $(CFLAGS) ${LDFLAGS} -o $@ find_sts_main.o $(FLITELIBFLAGS) $(LDLIBS)
|
||||
$(BINDIR)/flite_sort: flite_sort_main.o $(FLITELIBS)
|
||||
- $(CC) $(CFLAGS) -o $@ flite_sort_main.o $(FLITELIBFLAGS) $(LDFLAGS)
|
||||
+ $(CC) $(CFLAGS) ${LDFLAGS} -o $@ flite_sort_main.o $(FLITELIBFLAGS) $(LDLIBS)
|
||||
makescripts:
|
||||
@ cp -p $(SCRIPTS) $(TOP)/bin
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/flite-1.4-r1.ebuild,v 1.6 2012/12/28 18:44:22 ulm Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/flite/flite-1.4-r2.ebuild,v 1.1 2013/03/10 21:18:17 polynomial-c Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit autotools eutils
|
@ -1,4 +1,2 @@
|
||||
DIST abs-guide-6.5.pdf 3307182 SHA256 923c02a01d6e91a0795cd72db8fd735e1952e7a9057a3eb39d9ef17a65272daa SHA512 e5c05f5b9d36370bf2b50d4b55f899cec673c036ddf9cb9c23844db11d4d5d235e56d4defe905f1a998f7e3612b51da2885e39c177d66878f1b97dd931083957 WHIRLPOOL cb960d53186ccff4e48d16ce2990b06aed1e02938372c6c75170364040150b1b08bbdc5cebef66a5da32286371c771849d7c81ef41d8d47c7c2d29edf3f0818e
|
||||
DIST abs-guide-6.5.tar.bz2 1109831 SHA256 ee8ae00d60bb2e922a48c481dcc1b2f8cb9459587ba848dafe625816eeb25df1 SHA512 9bbaf9e86b6784aedf8c70f06fafb0c3c85127e606771f48b42aadcd8109a7c5059bc339c1b3444e6e088dc63328f5bca49415f6ab3b39e95682cfe5d094854c WHIRLPOOL 7f8567ad0c3e5917c56c47bbbea4ea53e4b3a1ce57cc30e9fca6858c920819e4cc797c77aa28bb72cf15f2bc0fd9026656bd93e4d42b6d009e61b6aa7c574e6b
|
||||
DIST abs-guide-6.6.pdf 3348750 SHA256 dc3ab7f8cdd8516e8758dafb943d39ecee6ab289c171507ea4290478749bc970 SHA512 4338edbd19faf256bc857ecbb596f54a05a687583c4cadc76deb97fa50317c58a3b6b7833649b5209b78d32887d08776d8d2e0b0deaaa915e886505b5ead41c1 WHIRLPOOL 777745b854a3c92efaf94c5aa8206a1e19840a78546f39cfb8563015614bee1502f29a20e46510b8307f8f414478937126cd02807ae77cf3a9d3576c85cc9b47
|
||||
DIST abs-guide-6.6.tar.bz2 1136823 SHA256 922369ab87545c3ae3118122328508ad201a0893fc09ec474bb88e987777f07a SHA512 506590b8279f6719cbbaa18f4468b1f8b99f9ed3b490475426236fcfcc7a479552c579648d5475e047418de1e56e899288150586bf04ba8e1075a6040f50d7a9 WHIRLPOOL 2dd00b9c8915fa90fae37878c2b651b601a7ee52bd0f1b30dbb49a77574e57a92994e07efa77d6270154c80febb568d30a5110ad28cb51c19553a051aada9662
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-doc/abs-guide/abs-guide-6.5.ebuild,v 1.2 2012/06/02 03:40:06 dirtyepic Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
DESCRIPTION="An advanced reference and a tutorial on bash shell scripting"
|
||||
HOMEPAGE="http://www.tldp.org/LDP/abs/html"
|
||||
|
||||
# Upstream likes to update the tarballs without changing the names.
|
||||
# - http://bash.deta.in/abs-guide-${PV}.tar.bz2
|
||||
# - http://bash.deta.in/abs-guide.pdf <- remember to rename with ${PV}
|
||||
SRC_URI="http://dev.gentoo.org/~dirtyepic/dist/${P}.tar.bz2
|
||||
pdf? ( http://dev.gentoo.org/~dirtyepic/dist/${P}.pdf )"
|
||||
|
||||
LICENSE="OPL"
|
||||
IUSE="pdf"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ~mips ppc sparc x86"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/abs"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.bz2
|
||||
use pdf && cp "${DISTDIR}"/${P}.pdf "${S}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc -r *
|
||||
docompress -x /usr/share/doc/${PF}
|
||||
}
|
@ -1,326 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.4-r4.ebuild,v 1.12 2012/10/24 18:52:43 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}.tar.bz2
|
||||
mirror://gentoo/${P}-patches-7.tar.bz2"
|
||||
|
||||
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 ~sparc-solaris ~x86-solaris"
|
||||
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.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 )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg )
|
||||
png? ( >=media-libs/libpng-1.4:0 )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
!gtk? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? (
|
||||
athena? ( x11-libs/libXaw )
|
||||
!athena? ( motif? ( >=x11-libs/motif-2.3:0 ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
alsa? ( virtual/pkgconfig )
|
||||
dbus? ( 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
|
||||
|
||||
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="${myconf} --with-sound"
|
||||
else
|
||||
myconf="${myconf} $(use_with sound)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf="${myconf} --with-x --without-ns"
|
||||
myconf="${myconf} $(use_with gconf)"
|
||||
myconf="${myconf} $(use_with toolkit-scroll-bars)"
|
||||
myconf="${myconf} $(use_with gif) $(use_with jpeg)"
|
||||
myconf="${myconf} $(use_with png) $(use_with svg rsvg)"
|
||||
myconf="${myconf} $(use_with tiff) $(use_with xpm)"
|
||||
|
||||
if use xft; then
|
||||
myconf="${myconf} --with-xft"
|
||||
myconf="${myconf} $(use_with m17n-lib libotf)"
|
||||
myconf="${myconf} $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf="${myconf} --without-xft"
|
||||
myconf="${myconf} --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
# GTK+ is the default toolkit if USE=gtk is chosen with other
|
||||
# possibilities. Emacs upstream thinks this should be standard
|
||||
# policy on all distributions
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf="${myconf} --with-x-toolkit=gtk"
|
||||
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
|
||||
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}" \
|
||||
$(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
|
||||
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/Makefile.c
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/{m,s}/README
|
||||
c=""
|
||||
fi
|
||||
|
||||
sed 's/^X//' >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
X ${c}(setq find-function-C-source-directory
|
||||
X ${c} "${EPREFIX}/usr/share/emacs/${FULL_VERSION}/src")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
elog "Emacs${EMACS_SUFFIX#emacs}.app is in ${EPREFIX}/Applications/Gentoo."
|
||||
elog "You may want to copy or symlink it into /Applications by yourself."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
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 http://www.gentoo.org/proj/en/lisp/emacs/xft.xml"
|
||||
elog "for how to enable anti-aliased fonts."
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "You can set the version to be started by /usr/bin/emacs through"
|
||||
elog "the Emacs eselect module, which also redirects man and info pages."
|
||||
elog "Therefore, several Emacs versions can be installed at the same time."
|
||||
elog "\"man emacs.eselect\" for details."
|
||||
elog
|
||||
elog "If you upgrade from a previous major version of Emacs, then it is"
|
||||
elog "strongly recommended that you use app-admin/emacs-updater to rebuild"
|
||||
elog "all byte-compiled elisp files of the installed Emacs packages."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1,339 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-24.2.ebuild,v 1.12 2013/02/28 00:35:20 ulm 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-2.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 ~sparc-solaris ~x86-solaris"
|
||||
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 )
|
||||
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 http://www.gentoo.org/proj/en/lisp/emacs/xft.xml"
|
||||
elog "for how to enable anti-aliased fonts."
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "You can set the version to be started by /usr/bin/emacs through"
|
||||
elog "the Emacs eselect module, which also redirects man and info pages."
|
||||
elog "Therefore, several Emacs versions can be installed at the same time."
|
||||
elog "\"man emacs.eselect\" for details."
|
||||
elog
|
||||
elog "If you upgrade from a previous major version of Emacs, then it is"
|
||||
elog "strongly recommended that you use app-admin/emacs-updater to rebuild"
|
||||
elog "all byte-compiled elisp files of the installed Emacs packages."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1,332 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-24.3_rc1.ebuild,v 1.2 2013/03/06 09:05:37 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-alpha/emacs/pretest/${P/_/-}.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 ~sparc-solaris ~x86-solaris"
|
||||
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 )
|
||||
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="${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
|
||||
|
||||
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
|
||||
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||
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+=" --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+=" --with-x-toolkit=motif"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with 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} \
|
||||
--program-transform-name="s/emacs-[0-9].*/${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 \
|
||||
$(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
|
||||
|
||||
# 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}
|
||||
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
|
||||
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 http://www.gentoo.org/proj/en/lisp/emacs/xft.xml
|
||||
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
|
||||
|
||||
[[ ${REPLACING_VERSIONS} =~ (^|[[:space:]])24\.[12]($|[^0-9]) ]] \
|
||||
&& FORCE_PRINT_ELOG=1
|
||||
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
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-modules/vmware-modules-271.1.ebuild,v 1.2 2012/12/12 11:46:57 ssuominen Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils flag-o-matic linux-info linux-mod user versionator udev
|
||||
|
||||
PV_MAJOR=$(get_major_version)
|
||||
PV_MINOR=$(get_version_component_range 2)
|
||||
|
||||
DESCRIPTION="VMware kernel modules"
|
||||
HOMEPAGE="http://www.vmware.com/"
|
||||
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="pax_kernel"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
|| ( =app-emulation/vmware-player-5.0.${PV_MINOR}*
|
||||
=app-emulation/vmware-workstation-9.0.${PV_MINOR}* )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="~HIGH_RES_TIMERS"
|
||||
if kernel_is ge 2 6 37 && kernel_is lt 2 6 39; then
|
||||
CONFIG_CHECK="${CONFIG_CHECK} BKL"
|
||||
fi
|
||||
|
||||
linux-info_pkg_setup
|
||||
|
||||
linux-mod_pkg_setup
|
||||
|
||||
VMWARE_GROUP=${VMWARE_GROUP:-vmware}
|
||||
|
||||
VMWARE_MODULE_LIST="vmblock vmci vmmon vmnet vsock"
|
||||
VMWARE_MOD_DIR="${PN}-${PVR}"
|
||||
|
||||
BUILD_TARGETS="auto-build KERNEL_DIR=${KERNEL_DIR} KBUILD_OUTPUT=${KV_OUT_DIR}"
|
||||
|
||||
enewgroup "${VMWARE_GROUP}"
|
||||
filter-flags -mfpmath=sse
|
||||
|
||||
for mod in ${VMWARE_MODULE_LIST}; do
|
||||
MODULE_NAMES="${MODULE_NAMES} ${mod}(misc:${S}/${mod}-only)"
|
||||
done
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
cd "${S}"
|
||||
for mod in ${VMWARE_MODULE_LIST}; do
|
||||
tar -xf /opt/vmware/lib/vmware/modules/source/${mod}.tar
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PV_MAJOR}-makefile-kernel-dir.patch"
|
||||
epatch "${FILESDIR}/${PV_MAJOR}-makefile-include.patch"
|
||||
epatch "${FILESDIR}/${PV_MAJOR}-netdevice.patch"
|
||||
use pax_kernel && epatch "${FILESDIR}/hardened.patch"
|
||||
epatch "${FILESDIR}/${PV_MAJOR}-apic.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
local udevrules="${T}/60-vmware.rules"
|
||||
cat > "${udevrules}" <<-EOF
|
||||
KERNEL=="vmci", GROUP="vmware", MODE=660
|
||||
KERNEL=="vmmon", GROUP="vmware", MODE=660
|
||||
KERNEL=="vsock", GROUP="vmware", MODE=660
|
||||
EOF
|
||||
udev_dorules "${udevrules}"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-modules/vmware-modules-271.1-r1.ebuild,v 1.2 2012/12/22 11:53:25 vadimk Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-modules/vmware-modules-271.2.ebuild,v 1.1 2013/03/10 12:15:48 vadimk Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
@ -1,12 +1,12 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-tools/vmware-tools-9.2.2.894247.ebuild,v 1.1 2012/12/09 14:31:03 vadimk Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-tools/vmware-tools-9.2.3.1031769.ebuild,v 1.1 2013/03/10 12:14:50 vadimk Exp $
|
||||
|
||||
inherit versionator vmware-bundle
|
||||
|
||||
MY_PV="$(replace_version_separator 3 - $PV)"
|
||||
#BASE_URI="http://softwareupdate.vmware.com/cds/vmw-desktop/player/5.0.$(get_version_component_range 3)/$(get_version_component_range 4)/linux/packages/"
|
||||
BASE_URI="http://softwareupdate.vmware.com/cds/vmw-desktop/player/5.0.1/$(get_version_component_range 4)/linux/packages/"
|
||||
BASE_URI="http://softwareupdate.vmware.com/cds/vmw-desktop/player/5.0.2/$(get_version_component_range 4)/linux/packages/"
|
||||
|
||||
DESCRIPTION="VMware Tools for guest operating systems"
|
||||
HOMEPAGE="http://www.vmware.com/products/player/"
|
@ -1,2 +1,3 @@
|
||||
DIST dict.utf8-20120830.tar.bz2 652472 SHA256 f39bedd2fba009445a947ee522e5db0b25016937ee50d30de1872089b020f077 SHA512 4400bc2a54cbf828e1d34f8240d8915a29171d6def125fecf4aa13b442dc2442d9ea591e4451cf030d22d974fbdba09adde4112c08acae9ae023823311ae8535 WHIRLPOOL 8a725fe8dc78bcf5da8760f54e3c97727606371db864c32e1e9f355519182c6053d2ef1da51764c84bdafc29ce3a51f386eb1fa66aaab2180d5643e9df7a10c4
|
||||
DIST dict.utf8-20130220.tar.bz2 652859 SHA256 fc93d3934628f557ed41cd28e04d86c98ff2ce93ccd2d8b63d72939e8a2194ed SHA512 d58ec106959a7713e452df2fe2fa5a5f66e82bd67eeeee8740cd3eeedf30af8d14a90dae224ed2931dffd85b0327c704927409bde0247452d79cf40c5bc7cff8 WHIRLPOOL e72fea8256f2970f7e8c42876fba77bc901dd72d33a27c6fa47a709bee52b394982aa23823ab58664ecd28a3e412e12326ad22a4052374e7946539066a6751f9
|
||||
DIST lm_sc.t3g.arpa-20121025.tar.bz2 36262281 SHA256 3d5b0a841a53af404ca4e88b76957e4486c90e3943bb7a774a1719337163593d SHA512 3159dd3700382cfa617ba025ce542660580f3057e0dd6bbb92947902495db08e4454c1d09d01a55c90653444513d125dd034e944b060a9d8e009c3633b106d97 WHIRLPOOL 0e6a2e80f83753397fe5401421d163c8ece92a9f1343d1d398d809dec09c6f641b1e1d66705d729f2a163c8496c892a44dcc7d3f545bcf3d91921621a1a7d15a
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/sunpinyin-data/sunpinyin-data-20130220.ebuild,v 1.1 2013/03/10 06:28:27 naota Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DICT_VERSION="${PV}"
|
||||
LM_VERSION="20121025"
|
||||
|
||||
DESCRIPTION="Data sets for Sunpinyin"
|
||||
HOMEPAGE="https://open-gram.googlecode.com/"
|
||||
SRC_URI="http://open-gram.googlecode.com/files/dict.utf8-${DICT_VERSION}.tar.bz2
|
||||
http://open-gram.googlecode.com/files/lm_sc.t3g.arpa-${LM_VERSION}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=app-i18n/sunpinyin-2.0.4_pre20130108"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mkdir "${S}" || die
|
||||
mv "${WORKDIR}"/dict.utf8 "${S}" || die
|
||||
mv "${WORKDIR}"/lm_sc.t3g.arpa "${S}" || die
|
||||
cp "${FILESDIR}"/SLM-inst.mk "${S}"/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# we don't have any big-endian architectures keyworded yet, so hardcode
|
||||
emake ENDIANNESS=le
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake ENDIANNESS=le DESTDIR="${D}" install
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST digitemp-3.2.0.tar.gz 163765 SHA256 5775c334c5ef5209f2cb2c26439f1fc5d499f73d3135ec3461e2e380801d58ff SHA512 65a4836f2b4f77dc5559df8b7be25058f6ba938d89263fc3fcf95f5120eb0d84bdaf1298ef81f988b2ddd7d34e35d63610bd37d7b3285e03ba8309c5607f9a8c WHIRLPOOL 77a1ca4aa188817418a945574f928f369cc622db4d9cd38d63540660bb04c073fab7253f88e5f7b4cf0b92410f8ac8bd0c7a2227e72767f30af7c84d36504159
|
||||
DIST digitemp-3.3.2.tar.gz 134223 SHA256 5ffb948f9dda190007e28479fc26af929ab32e5d43a8e65f1650e176b033bd1b SHA512 7e164caaf714124933e2ae42c5d2df0d155b34fe236c9dc888ad3d5d07b78a9c2ad611679f766579452317ff8f973d25a027e82f2b11e47539f0093dbe6754ae WHIRLPOOL 8a0180432140a5cedea2502060bd184a4c2357d8f5396e0c193602c04f731bc20d4bef0eea1b987144765328fbe166558df2074f37ca4783d3458836b3179d42
|
||||
DIST digitemp-3.5.0.tar.gz 267947 SHA256 e185ef9b84501b28568160eb5a5cc3b98b72c0791aff9c128ff6d0cd23b711e8 SHA512 59055a97ae35cdc86bb893a755975b688d3be9185e717f5da0024d664e6c93dd5a7f10f1230772c3bc1bc76a088392da083ba63d28e054727b9f68ce31de64d3 WHIRLPOOL d10bda164dee77a8f0c90330a2799a1f37d4c2f8b8c9709df1fa91939ccbc93f660c5184dadbb52f9d5cf80acf7fbd018e93d7f46283e5a5a6195bb257e4928f
|
||||
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/digitemp/digitemp-3.2.0.ebuild,v 1.9 2009/09/23 16:01:58 patrick Exp $
|
||||
|
||||
DESCRIPTION="Temperature logging and reporting using Dallas Semiconductor's iButtons and 1-Wire protocol"
|
||||
HOMEPAGE="http://www.digitemp.com http://www.ibutton.com"
|
||||
SRC_URI="http://www.digitemp.com/software/linux/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
# default is to compile to the ds9097u. local use flag takes care of
|
||||
# passive ds9097. the ds9097u setting is what i have, so probably a safe
|
||||
# default - nothing special here.
|
||||
local target="ds9097u"
|
||||
[ "${SERIAL_DRIVER}" = ds9097 ] && target="ds9097"
|
||||
make clean
|
||||
|
||||
ewarn ""
|
||||
ewarn "making for ${target} serial controller. if you would like support"
|
||||
ewarn "for another controller, please set SERIAL_DRIVER=\"ds9097u\" or"
|
||||
ewarn "SERIAL_DRIVER=\"ds9097\" as appropriate"
|
||||
ewarn ""
|
||||
|
||||
make ${target}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin digitemp || die
|
||||
dodoc README FAQ TODO
|
||||
|
||||
# method one: don't treat the examples as docs; place them somewhere else.
|
||||
# then tell the user where to find this stuff. suitable alternative:
|
||||
# specify exampledir="/usr/share/doc/${PF}"
|
||||
|
||||
local exampledir="/usr/share/${PN}"
|
||||
local perldir="${exampledir}/perl_examples"
|
||||
insinto ${perldir}
|
||||
doins perl/*
|
||||
local pythondir="${exampledir}/python_examples"
|
||||
insinto ${pythondir}
|
||||
doins python/*
|
||||
local rrdbdir="${exampledir}/rrdb_examples"
|
||||
insinto ${rrdbdir}
|
||||
doins rrdb/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "set the SERIAL_DRIVER environment variable to ds9097 to build"
|
||||
ewarn "for that controller instead"
|
||||
elog ""
|
||||
elog "examples of using digitemp with python, perl, and rrdtool are"
|
||||
elog "located in ${exampledir}"
|
||||
elog ""
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/digitemp/digitemp-3.3.2.ebuild,v 1.8 2012/01/09 07:15:10 ssuominen Exp $
|
||||
|
||||
EAPI=1
|
||||
|
||||
DESCRIPTION="Temperature logging and reporting using Dallas Semiconductor's iButtons and 1-Wire protocol"
|
||||
HOMEPAGE="http://www.digitemp.com http://www.ibutton.com"
|
||||
SRC_URI="http://www.digitemp.com/software/linux/${P}.tar.gz"
|
||||
|
||||
IUSE="ds9097 ds9097u ds2490"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="ds2490? ( virtual/libusb:0 )"
|
||||
|
||||
targets() {
|
||||
# default is to compile to the ds9097u.
|
||||
if ! ( use ds9097 || use ds9097u || use ds2490 ); then
|
||||
echo ds9097u
|
||||
fi
|
||||
for target in ds9097 ds9097u ds2490; do
|
||||
if use ${target}; then
|
||||
echo ${target}
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# default is to compile to the ds9097u.
|
||||
if ! ( use ds9097 || use ds9097u || use ds2490 ); then
|
||||
ewarn "If you don't choose a component to install, we default to ds9097u"
|
||||
fi
|
||||
|
||||
local targets=$(targets)
|
||||
|
||||
for target in $targets; do
|
||||
emake clean
|
||||
emake LOCK="no" ${target} || die "emake ${target} failed"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for target in $(echo $(targets) | tr '[:lower:]' '[:upper:]'); do
|
||||
dobin digitemp_${target} && \
|
||||
dosym digitemp_${target} /usr/bin/digitemp
|
||||
done
|
||||
|
||||
if [[ $($(targets)|wc -l) -ge 1 ]]; then
|
||||
echo
|
||||
ewarn "/usr/bin/digitemp has been symlinked to /usr/bin/digitemp_${target}"
|
||||
ewarn "If you want to access the others, they are available at /usr/bin/digitemp_*"
|
||||
echo
|
||||
fi
|
||||
|
||||
dodoc README FAQ TODO
|
||||
|
||||
for example in perl python rrdb; do
|
||||
insinto "/usr/share/doc/${PF}/${example}_examples"
|
||||
doins ${example}/*
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "Examples of using digitemp with python, perl, and rrdtool are"
|
||||
elog "located in /usr/share/doc/${PF}/"
|
||||
echo
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/digitemp/digitemp-3.5.0.ebuild,v 1.2 2012/01/09 07:15:10 ssuominen Exp $
|
||||
|
||||
EAPI=1
|
||||
|
||||
DESCRIPTION="Temperature logging and reporting using Dallas Semiconductor's iButtons and 1-Wire protocol"
|
||||
HOMEPAGE="http://www.digitemp.com/ http://www.ibutton.com/"
|
||||
SRC_URI="http://www.digitemp.com/software/linux/${P}.tar.gz"
|
||||
|
||||
IUSE="ds9097 ds9097u ds2490"
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="ds2490? ( virtual/libusb:0 )"
|
||||
|
||||
targets() {
|
||||
# default is to compile to the ds9097u.
|
||||
if ! ( use ds9097 || use ds9097u || use ds2490 ); then
|
||||
echo ds9097u
|
||||
fi
|
||||
for target in ds9097 ds9097u ds2490; do
|
||||
if use ${target}; then
|
||||
echo ${target}
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# default is to compile to the ds9097u.
|
||||
if ! ( use ds9097 || use ds9097u || use ds2490 ); then
|
||||
ewarn "If you don't choose a component to install, we default to ds9097u"
|
||||
fi
|
||||
|
||||
local targets=$(targets)
|
||||
|
||||
for target in $targets; do
|
||||
emake clean
|
||||
emake LOCK="no" ${target} || die "emake ${target} failed"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for target in $(echo $(targets) | tr '[:lower:]' '[:upper:]'); do
|
||||
dobin digitemp_${target} && \
|
||||
dosym digitemp_${target} /usr/bin/digitemp
|
||||
done
|
||||
|
||||
if [[ $($(targets)|wc -l) -ge 1 ]]; then
|
||||
echo
|
||||
ewarn "/usr/bin/digitemp has been symlinked to /usr/bin/digitemp_${target}"
|
||||
ewarn "If you want to access the others, they are available at /usr/bin/digitemp_*"
|
||||
echo
|
||||
fi
|
||||
|
||||
dodoc README FAQ TODO
|
||||
|
||||
for example in perl python rrdb; do
|
||||
insinto "/usr/share/doc/${PF}/${example}_examples"
|
||||
doins ${example}/*
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "Examples of using digitemp with python, perl, and rrdtool are"
|
||||
elog "located in /usr/share/doc/${PF}/"
|
||||
echo
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST skrooge-1.3.3.tar.bz2 9737954 SHA256 251ffca5ad8e3696901fb29df2714fcb30541fe9e3107b9de2c2cb9f6b47cee9 SHA512 1066de3fc4a09f1d15fda58106b41519a0470cd5572660ca8d037dc9658030be4959c5dad94173e6decf56a9a04bbf2f874a92ade54fd544cfaf2339aaa38840 WHIRLPOOL 4b6eb773af793fa35d610b207fe209ff5f7e0f0679be2a1d79f94662d0ff9ecf7bb26332919f2c34ca8165122fa7a5e5a576fbc7b423d13c3d4f2a46dec16f27
|
||||
DIST skrooge-1.5.1.tar.bz2 9832351 SHA256 9d8332d80faf4c89b02582894588829b3004d6abf79528c4b6e35a791a8adebc SHA512 bab2c577364c97f941be8581ede81e50ed2a4acaf97337daacdba082d6721f30d4869a951a29ad184bb473e0a4b5e4062a6a729de192ba4015fb39dfe7690856 WHIRLPOOL 0a69541791182b74fc2fb040fa2f85fc5beacf7ee9b6e8719cf77efa24be49fefb403297d4862ece3d7c5c7d13a0461189219695241864c908416f4b4d2e1671
|
||||
DIST skrooge-1.6.0.tar.bz2 9849200 SHA256 7237400f0ae9af317ec9ac45d8d35144f827146b8cb4e37fa092412fec5f0b0e SHA512 4dd9321c9799b3fdc0a30b694c443f9157feddb26bfc4cf25ef14e38718a237da13685d0ae4394353e9dd3d98348aad16e45f0ad13c7b5baa1aeba633cf14a3f WHIRLPOOL a0016ba50114d037ddd54ff9c3662f5cd7c28390d3a082ce192f540ca5091e6fd93daad719b1960ac7fca1c32c825843b67b8cea2675b1232b3be249dfe4084b
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/skrooge/skrooge-1.3.3.ebuild,v 1.4 2013/03/02 19:37:28 hwoarang Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB eo es et fr ga gl hu it ja
|
||||
ko lt ms nb nds nl pl pt pt_BR ro ru sk sv tr ug uk zh_CN zh_TW"
|
||||
KDE_DOC_DIRS="doc"
|
||||
KDE_HANDBOOK=optional
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="personal finances manager for KDE4, aiming at being simple and intuitive"
|
||||
HOMEPAGE="http://www.skrooge.org/"
|
||||
SRC_URI="http://www.skrooge.org/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
app-crypt/qca:2
|
||||
dev-libs/grantlee
|
||||
>=dev-libs/libofx-0.9.1
|
||||
dev-qt/qtsql:4[sqlite]
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
$(add_kdebase_dep kdesdk-scripts)
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS CHANGELOG README TODO )
|
||||
|
||||
src_test() { :; }
|
||||
# tests are not included in tarball, bug 372315
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/skrooge/skrooge-1.6.0.ebuild,v 1.1 2013/03/10 09:00:29 kensington Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB eo es et fi fr ga gl hu it
|
||||
ja ko lt ms nb nds nl pl pt pt_BR ro ru sk sv tr ug uk zh_CN zh_TW"
|
||||
KDE_HANDBOOK="optional"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="personal finances manager for KDE4, aiming at being simple and intuitive"
|
||||
HOMEPAGE="http://www.skrooge.org/"
|
||||
SRC_URI="http://www.skrooge.org/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
$(add_kdebase_dep kdepimlibs)
|
||||
app-crypt/qca:2
|
||||
dev-db/sqlite:3
|
||||
dev-libs/grantlee
|
||||
>=dev-libs/libofx-0.9.1
|
||||
dev-qt/qtsql:4[sqlite]
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
|| (
|
||||
( $(add_kdebase_dep kde-dev-scripts) )
|
||||
( $(add_kdebase_dep kdesdk-scripts) )
|
||||
)
|
||||
"
|
||||
|
||||
# upstream does not ship tests in releases
|
||||
if [[ ${KDE_BUILD_TYPE} != live ]]; then
|
||||
RESTRICT="test"
|
||||
fi
|
||||
|
||||
DOCS=( AUTHORS CHANGELOG README TODO )
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${KDE_BUILD_TYPE} != live ]]; then
|
||||
# KDE_LINGUAS is also used to install appropriate handbooks
|
||||
# since there is no en_US 'translation', it cannot be added
|
||||
# hence making this impossible to install
|
||||
mv doc/en_US doc/en || die "doc move failed"
|
||||
sed -i -e 's/en_US/en/' doc/CMakeLists.txt || die "sed failed"
|
||||
fi
|
||||
|
||||
kde4-base_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local mycmakeargs=(
|
||||
-DSKG_BUILD_TEST=ON
|
||||
)
|
||||
kde4-base_src_test
|
||||
}
|
@ -0,0 +1,219 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.2_p45.ebuild,v 1.1 2013/03/10 21:40:31 vapier Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-6.2 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<sys-apps/portage-2.1.6.7_p1
|
||||
!<sys-apps/paludis-0.26.0_alpha5"
|
||||
# we only need yacc when the .y files get patched (bash42-005)
|
||||
DEPEND+=" virtual/yacc"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
if use bashlogger ; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
cd "${S}"
|
||||
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
|
||||
# Avoid regenerating docs after patches #407985
|
||||
sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
|
||||
touch -r . doc/*
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.2-execute-job-control.patch #383237
|
||||
epatch "${FILESDIR}"/${PN}-4.2-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.2-no-readline.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.2-speed-up-read-N.patch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC \
|
||||
$(use bashlogger && echo -DSYSLOG_HISTORY)
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf="${myconf} --disable-nls"
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=6.2
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
|
||||
tc-export AR #444070
|
||||
econf \
|
||||
--with-installed-readline=. \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
${myconf}
|
||||
emake || die
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
|
||||
dodir /bin
|
||||
mv "${D}"/usr/bin/bash "${D}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/{bashrc,bash_logout}
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
local sed_args=(
|
||||
-e "s:#${USERLAND}#@::"
|
||||
-e '/#@/d'
|
||||
)
|
||||
if ! use readline ; then
|
||||
sed_args+=( #432338
|
||||
-e '/^shopt -s histappend/s:^:#:'
|
||||
-e 's:use_color=true:use_color=false:'
|
||||
)
|
||||
fi
|
||||
sed -i \
|
||||
"${sed_args[@]}" \
|
||||
"${D}"/etc/skel/.bashrc \
|
||||
"${D}"/etc/bash/bashrc || die
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g') || die
|
||||
insinto /usr/include/bash-plugins
|
||||
doins *.h builtins/*.h examples/loadables/*.h include/*.h \
|
||||
lib/{glob/glob.h,tilde/tilde.h}
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
for d in examples/{functions,misc,scripts,scripts.noah,scripts.v2} ; do
|
||||
exeinto /usr/share/doc/${PF}/${d}
|
||||
insinto /usr/share/doc/${PF}/${d}
|
||||
for f in ${d}/* ; do
|
||||
if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
|
||||
doexe ${f}
|
||||
else
|
||||
doins ${f}
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${ROOT}/etc/bashrc ]] && [[ ! -d ${ROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${ROOT}"/etc/bash
|
||||
mv -f "${ROOT}"/etc/bashrc "${ROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
if [[ -L ${ROOT}/bin/sh ]]; then
|
||||
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
|
||||
# missing even temporarily causes a fatal error with paludis.
|
||||
local target=$(readlink "${ROOT}"/bin/sh)
|
||||
local tmp=$(emktemp "${ROOT}"/bin)
|
||||
ln -sf "${target}" "${tmp}"
|
||||
mv -f "${tmp}" "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${ROOT}/bin/sh ]]; then
|
||||
ln -sf bash "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/dvisvgm/dvisvgm-1.2.ebuild,v 1.1 2013/03/10 10:13:24 aballier Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Converts DVI files to SVG"
|
||||
HOMEPAGE="http://dvisvgm.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
# Tests don't work from $WORKDIR: kpathsea tries to search in relative
|
||||
# directories from where the binary is executed.
|
||||
# We cannot really use absolute paths in the kpathsea configuration since that
|
||||
# would make it harder for prefix installs.
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="virtual/tex-base
|
||||
app-text/ghostscript-gpl
|
||||
>=media-gfx/potrace-1.10-r1
|
||||
media-libs/freetype:2
|
||||
sys-libs/zlib"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-cpp/gtest )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-external_potrace.patch"
|
||||
eautoreconf
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
Do not build potracelib if system potrace is being used.
|
||||
https://bugs.launchpad.net/dvisvgm/+bug/1153182
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=446902
|
||||
|
||||
Index: dvisvgm-1.2/Makefile.am
|
||||
===================================================================
|
||||
--- dvisvgm-1.2.orig/Makefile.am
|
||||
+++ dvisvgm-1.2/Makefile.am
|
||||
@@ -5,5 +5,11 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
EXTRA_DIST = COPYING LGPL-2.1.txt
|
||||
-SUBDIRS = potracelib src tests doc
|
||||
+if HAVE_LIBPOTRACE
|
||||
+SUBDIRS =
|
||||
+else
|
||||
+SUBDIRS = potracelib
|
||||
+endif
|
||||
+
|
||||
+SUBDIRS += src tests doc
|
||||
|
||||
Index: dvisvgm-1.2/configure.ac
|
||||
===================================================================
|
||||
--- dvisvgm-1.2.orig/configure.ac
|
||||
+++ dvisvgm-1.2/configure.ac
|
||||
@@ -61,6 +61,7 @@ if test "$HAVE_LIBPOTRACE" -eq 0; then
|
||||
EXTRA_LIBS="$EXTRA_LIBS ../potracelib/libpotrace.a "
|
||||
AC_MSG_NOTICE([Using bundled potrace library])
|
||||
fi
|
||||
+AM_CONDITIONAL(HAVE_LIBPOTRACE, test "x$HAVE_LIBPOTRACE" = "x1")
|
||||
|
||||
|
||||
# Check how to link Ghostscript
|
@ -1,21 +1,27 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.ebuild,v 1.1 2011/09/02 22:38:42 caster Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.17.ebuild,v 1.1 2013/03/10 12:07:03 sera Exp $
|
||||
|
||||
ORIG_NAME="jdk-7-fcs-bin-b147-apidocs-27_jun_2011.zip"
|
||||
SRC_URI="${ORIG_NAME}"
|
||||
EAPI=5
|
||||
|
||||
inherit versionator
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html"
|
||||
ORIG_NAME="jdk-7u$(get_version_component_range 4)-apidocs.zip"
|
||||
|
||||
DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://download.oracle.com/javase/7/docs/"
|
||||
SRC_URI="${ORIG_NAME}"
|
||||
|
||||
LICENSE="oracle-java-documentation-7"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
RESTRICT="fetch"
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html"
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.2.ebuild,v 1.2 2012/02/18 15:05:43 phajdan.jr Exp $
|
||||
|
||||
ORIG_NAME="jdk-7u2-apidocs.zip"
|
||||
SRC_URI="${ORIG_NAME}"
|
||||
|
||||
DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://download.oracle.com/javase/7/docs/"
|
||||
LICENSE="oracle-java-documentation-7"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
RESTRICT="fetch"
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html"
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${ORIG_NAME} from "
|
||||
einfo "${DOWNLOAD_URL}"
|
||||
einfo "(agree to the license) and place it in ${DISTDIR}"
|
||||
|
||||
einfo "If you find the file on the download page replaced with a higher"
|
||||
einfo "version, please report to the bug 67266 (link below)."
|
||||
einfo "If emerge fails because of a checksum error it is possible that"
|
||||
einfo "the upstream release changed without renaming. Try downloading the file"
|
||||
einfo "again (or a newer revision if available). Otherwise report this to"
|
||||
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/share/doc/${P}/html
|
||||
doins index.html
|
||||
|
||||
for i in *; do
|
||||
[[ -d $i ]] && doins -r $i
|
||||
done
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.4.ebuild,v 1.2 2012/07/09 07:12:15 jdhore Exp $
|
||||
|
||||
ORIG_NAME="jdk-7u4-apidocs.zip"
|
||||
SRC_URI="${ORIG_NAME}"
|
||||
|
||||
DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://download.oracle.com/javase/7/docs/"
|
||||
LICENSE="oracle-java-documentation-7"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
RESTRICT="fetch"
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html"
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${ORIG_NAME} from "
|
||||
einfo "${DOWNLOAD_URL}"
|
||||
einfo "(agree to the license) and place it in ${DISTDIR}"
|
||||
|
||||
einfo "If you find the file on the download page replaced with a higher"
|
||||
einfo "version, please report to the bug 67266 (link below)."
|
||||
einfo "If emerge fails because of a checksum error it is possible that"
|
||||
einfo "the upstream release changed without renaming. Try downloading the file"
|
||||
einfo "again (or a newer revision if available). Otherwise report this to"
|
||||
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/share/doc/${P}/html
|
||||
doins index.html
|
||||
|
||||
for i in *; do
|
||||
[[ -d $i ]] && doins -r $i
|
||||
done
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.6.ebuild,v 1.1 2012/08/23 20:31:41 caster Exp $
|
||||
|
||||
ORIG_NAME="jdk-7u6-apidocs.zip"
|
||||
SRC_URI="${ORIG_NAME}"
|
||||
|
||||
DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://download.oracle.com/javase/7/docs/"
|
||||
LICENSE="oracle-java-documentation-7"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=""
|
||||
RESTRICT="fetch"
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html"
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${ORIG_NAME} from "
|
||||
einfo "${DOWNLOAD_URL}"
|
||||
einfo "(agree to the license) and place it in ${DISTDIR}"
|
||||
|
||||
einfo "If you find the file on the download page replaced with a higher"
|
||||
einfo "version, please report to the bug 67266 (link below)."
|
||||
einfo "If emerge fails because of a checksum error it is possible that"
|
||||
einfo "the upstream release changed without renaming. Try downloading the file"
|
||||
einfo "again (or a newer revision if available). Otherwise report this to"
|
||||
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/share/doc/${P}/html
|
||||
doins index.html
|
||||
|
||||
for i in *; do
|
||||
[[ -d $i ]] && doins -r $i
|
||||
done
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST jcommon-1.0.12.tar.gz 1118697 SHA256 20349bd637f7f33e0c9e9afbacf9eef47a740d204cb69459f3b28bc34bfb67f0 SHA512 d4c06027fdb4763dbef72c59620aa8e2961f466cbc4eaa9028827fbdc165f2afb73be74dbeded102e23c43a34fd7ccd9dff7cd1c7bf18d205d3c99cdef8d432a WHIRLPOOL f56f41080fb7b2ff13ea7af7f9251ae0176dbc5a221e650f31def6318b0f99e2271e40bb007d5f1dd8f33f82cd0eaed0512997885ab2803bf3c3a661cd2885a3
|
||||
DIST jcommon-1.0.13.tar.gz 1222904 SHA256 c97e7cc66a17602a31008cf406f923c4afbee335797bd21bbb7a0ac800e0e63a SHA512 e8c8f15690fff50d58df64e6811b5edc7f7721bc430248079ec6bbf62b999c61ed7d3c7ffde9a7965d0d38e85105ad4cd9522c8413abb996144e4f667a45c167 WHIRLPOOL 42e7467ddd83bfb0e21ecd5bc3d16a472d33bb027e8118d6f05817bb34270a2b4a7c357a6a18ea704af706d91d8ed282cd1552e9d47bb4d1f679d0f48340d215
|
||||
DIST jcommon-1.0.16.tar.gz 1130148 SHA256 033fd5506d10dcfc7814180b09627e66232fd1ee29b769fc283aa936d7dd607d SHA512 81152e6d19f10eec2abe7704c8bb138448c25f39dcf42a9379e488e9163db041dec18b9407fca4c94e514801af5373c698d3867facc9887f98fb7d8e18086fae WHIRLPOOL e87eaec68455a89ac538ce9fcd3ccbea70efe6f2e5ccb0033c77b823ca5499686b3aaf7b13b29c4187b8b2c9e864cf1ecca2794d5fa37f6dde40da774c94c2c1
|
||||
DIST jcommon-1.0.18.tar.gz 1133961 SHA256 a4daf9ed40712bfe9564dcd6eb8392711325aec78fa7c03e57c195f63413e3fd SHA512 83a4dfe7c7f631ee251cd1c133726060d8d380366ba0b39b043327c20e8128fd882b7374448738dcad3e1b6eadc0221242588c15c6feaa3c06101beafe2e79bb WHIRLPOOL cae9c1ff0d3658199378baf2ce58d25710aac17b7bca4d5e31136133868ebb41c6a71fd384a3ba1da2e800d364dd0bf5e70ef768148bbb56d440c78b8fe1e6d4
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jcommon/jcommon-1.0.18.ebuild,v 1.1 2013/03/10 12:36:26 sera Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 versionator
|
||||
|
||||
MY_P=${PN}-$(replace_version_separator 3 -)
|
||||
DESCRIPTION="JCommon is a collection of useful classes used by JFreeChart, JFreeReport and other projects."
|
||||
HOMEPAGE="http://www.jfree.org/jcommon"
|
||||
SRC_URI="mirror://sourceforge/jfreechart/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jdk-1.4"
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.4
|
||||
test? ( dev-java/junit:4 )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
java_prepare() {
|
||||
find "${WORKDIR}" -name '*.jar' -print -delete || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if ! use debug; then
|
||||
antflags="-Dbuild.debug=false -Dbuild.optimize=true"
|
||||
fi
|
||||
eant -f ant/build.xml compile $(use_doc) $antflags
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg_jar-from --into lib junit-4
|
||||
eant -f ant/build.xml compile-junit-tests
|
||||
ejunit4 -cp "./lib/jcommon-${PV}-junit.jar:$(java-pkg_getjars junit-4)" \
|
||||
org.jfree.junit.JCommonTestSuite
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar ${P}.jar ${PN}.jar
|
||||
dodoc README.txt
|
||||
use doc && java-pkg_dojavadoc javadoc
|
||||
use source && java-pkg_dosrc source/com source/org
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.9.0-r2.ebuild,v 1.1 2013/03/11 03:56:33 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="A fast key-value storage library written at Google"
|
||||
|
||||
HOMEPAGE="http://code.google.com/p/leveldb/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake all || die
|
||||
emake libmemenv.a || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}/usr/include"
|
||||
cp -r include/* "${D}/usr/include" || die
|
||||
cp helpers/memenv/memenv.h "${D}/usr/include" || die
|
||||
dolib.so libleveldb.so.${PV/.0} || die
|
||||
dosym libleveldb$(get_libname ).1.9 /usr/$(get_libdir)/libleveldb$(get_libname ) || die
|
||||
dosym libleveldb$(get_libname ).1.9 /usr/$(get_libdir)/libleveldb$(get_libname ).1 || die
|
||||
dolib.a libleveldb.a || die
|
||||
dolib.a libmemenv.a || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST extlib-1.5.2.tar.gz 70197 SHA256 ca6d69adeba4242ce41c02a23746ba1e464c0bbec66e2d16b02c3c6e85dc10aa SHA512 39394bfbb44d1c8ae534a551e615b0e4ce3c7978a8bfae1a1a93046e1258b66840084e15edf3f69c7536e3d2e7b36f4bea153865232e19edab6314d9de7892e3 WHIRLPOOL 55dcc5476d5345b7ee23195319b5334e4a1c9cf156ccf1fa24ce0777c67e360faa3ab836737a923e49bbf890b9cafb6ee0b729b4fa25e2b5ff7243378b95e596
|
||||
DIST extlib-1.5.3.tar.gz 70897 SHA256 c095eef4202a8614ff1474d4c08c50c32d6ca82d1015387785cf03d5913ec021 SHA512 1199162a7dc2ce6d0ae88f2e124af701d20d50032207fb78449c16b9a28af0b10c9f56045b2b458697ee32382b807070480cd239b5fcf8867e1e67fa4e5cc536 WHIRLPOOL ec7e8cb713b9a9b8596cb71c7c8d1692fb1d753fd63e89fa52bab7f92168ed55d957e3abf553d8aa563f9ee9168bcec34c55b3fbbe88d95d5b7e463b97400078
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/extlib/extlib-1.5.2.ebuild,v 1.5 2012/06/30 20:25:34 aballier Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit findlib eutils
|
||||
|
||||
DESCRIPTION="Standard library extensions for O'Caml"
|
||||
HOMEPAGE="http://code.google.com/p/ocaml-extlib/"
|
||||
SRC_URI="http://ocaml-extlib.googlecode.com/files/${P}.tar.gz"
|
||||
LICENSE="LGPL-2.1"
|
||||
DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
|
||||
RDEPEND="${DEPEND}"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="doc +ocamlopt"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-ocaml4.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all || die "failed to build"
|
||||
if use ocamlopt; then
|
||||
emake opt || die "failed to build"
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
emake doc || die "failed to create documentation"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
findlib_src_install
|
||||
|
||||
# install documentation
|
||||
dodoc README.txt || die
|
||||
|
||||
if use doc; then
|
||||
dohtml doc/* || die
|
||||
fi
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
Fixes ocaml 4 compatibility.
|
||||
|
||||
From upstream:
|
||||
svn diff http://ocaml-extlib.googlecode.com/svn/trunk/ -c 396
|
||||
|
||||
Index: extlib/extHashtbl.ml
|
||||
===================================================================
|
||||
--- extlib/extHashtbl.ml (revision 395)
|
||||
+++ extlib/extHashtbl.ml (revision 396)
|
||||
@@ -32,6 +32,7 @@
|
||||
}
|
||||
|
||||
include Hashtbl
|
||||
+ let create n = Hashtbl.create (* no seed *) n
|
||||
|
||||
external h_conv : ('a, 'b) t -> ('a, 'b) h_t = "%identity"
|
||||
external h_make : ('a, 'b) h_t -> ('a, 'b) t = "%identity"
|
@ -1,2 +1 @@
|
||||
DIST kaputt-1.1.tar.gz 183680 SHA256 63539ae328f1e33177d367328527635dfbea83036ef36bee0901c4b5dfe7b204 SHA512 ce0f899a4f9a8d0dd8a527037ea6d92858092cb01ad52254e87b5878ae5a9703bcfaea0460a77c543425486b28a20bbd2076684f14ca534a07601d7e3d8d0666 WHIRLPOOL 7b89aabecf6677da6aabffc1be9d83fe41154e2596aafbdb70c28dfd2d163e04afeb0ea38989facf42f16aaf88b6c97a03664fff860ec5e06ae8d939421ed57b
|
||||
DIST kaputt-1.2.tar.gz 299828 SHA256 19dae1ade0afff7f0f5f3e116793d35ced4c3cdb8f7a7cb1e5c599d2cc827039 SHA512 7e30379410ac2e45e59462086956a510e4da06538cd27fd360999e3ff656dc82bfdae18e545699241a01612d9ec7ab28e298847b4a2f6178294dc6c2db8f8671 WHIRLPOOL 12b1e9edd04b769f1edf707115a2d8ea191906e2f3d7b30f6978b8e8a160bb97cb568cb72470c3aa51a106802821a742886b4c25a60c41b0df53c7fabc94767f
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/kaputt/kaputt-1.1.ebuild,v 1.1 2011/03/04 13:00:32 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit findlib
|
||||
|
||||
DESCRIPTION="Unit testing tool for the Objective Caml language"
|
||||
HOMEPAGE="http://kaputt.x9c.fr/"
|
||||
SRC_URI="http://kaputt.x9c.fr/distrib/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/ocaml-3.11[ocamlopt]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
chmod +x configure
|
||||
./configure || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 tests || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
findlib_src_install
|
||||
dodoc README FEATURES CHANGES || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST pomap-2.9.9.tar.gz 39825 SHA256 22b6a305d84eb7b5415d677c30a7cc53a6a0f1471cfd1aec10b02607025b3002 SHA512 12282fa037c9a806860731c0d9877666b62fb4fb43be8c7d25a9330da2d3359424fa410cfad7b6cc12fe3bc0302ec5bbc957e764a14fa8a65dcc1b5a8a141ead WHIRLPOOL c89988cf9757670d41fa1d1899552477389f84898e1ead4adea2c9ef55b0559b5ad7d678b113df5da251ec4c1b9d950b413bbb06765cfd721dc643352dcbc18b
|
||||
DIST pomap-3.0.1.tar.gz 69989 SHA256 1afbedafedb6922937cb58b3bbef057e69f2908cac899288257ba608fbf534ce SHA512 901c7655686711978df476332d2ef969c6eefa47a276f88e227c43d95e21d4bc6e301b3880d69a3c5c1e2278c1bab511e9b538f8278ad79ee0ea54efe6dcae5d WHIRLPOOL 1c2893ba61058e3effa03b2d42972c2c2f3d733c5c815b90a4ea95e701ab17917969088868c7a220387127bb10bd190aea7cbfaa1c2facd0807da0c62118f858
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/pomap/pomap-2.9.9.ebuild,v 1.3 2009/08/14 17:54:32 maekke Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit findlib eutils
|
||||
|
||||
DESCRIPTION="Partially Ordered Map ADT for O'Caml"
|
||||
HOMEPAGE="http://www.ocaml.info/home/ocaml_sources.html"
|
||||
LICENSE="LGPL-2.1"
|
||||
RDEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
SRC_URI="http://www.ocaml.info/ocaml_sources/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="examples +ocamlopt"
|
||||
|
||||
src_compile() {
|
||||
cd "${S}/lib"
|
||||
emake -j1 byte-code-library || die "failed to build byte code library"
|
||||
if use ocamlopt; then
|
||||
emake -j1 native-code-library || die "failed to built nativde code library"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
use ocamlopt || export OCAMLFIND_INSTFLAGS="-optional"
|
||||
findlib_src_install
|
||||
|
||||
# install documentation
|
||||
dodoc README.txt Changes
|
||||
|
||||
#install examples
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST res-3.2.0.tar.gz 40349 SHA256 3b9dbed702670657e28347f6aeddaa9dccdbf37961e2f05427220aac02169aaa SHA512 0b0747b604ed6eb9410e01e0c99ec5c0823b8876dadfefc14bbb79dd7276fa2abee383ad74432a823469e97d3c8526b27a502c15496821452d4b184196731502 WHIRLPOOL 8230d162bd8544ff10b5c864af44a283a6646845ccfb23f05905f7218e6fff90bdb434bf7aa93d28f3a52ab4327e0cf1763f1a5baca4891b3947b6355db11949
|
||||
DIST res-4.0.2.tar.gz 69538 SHA256 4f3e0a62c57ac1293ec119e94ecff2f404cd9196e71c276bd6c3855731af0d7e SHA512 08d671d3f6ec8a4c6ec4bfdff2a0f40c56f0da0b00b83de52c84b696258a44a8d0b9d195d1eb4489c6991b60619c8b06fd610d65e3e058e73d01b54a825d76a6 WHIRLPOOL 857402e4afd2b4ddb9ef5b67ec72821979e042408d4fa0d6f3bb2d88d63c1d80afe2b90c6da2f5ebd8bce570c6544f2c5632276404922fb429af54f46808b1c7
|
||||
|
@ -1,13 +0,0 @@
|
||||
Index: res-3.2.0/lib/Makefile
|
||||
===================================================================
|
||||
--- res-3.2.0.orig/lib/Makefile
|
||||
+++ res-3.2.0/lib/Makefile
|
||||
@@ -11,7 +11,7 @@ LIBINSTALL_FILES = res.mli strat.mli pre
|
||||
strat.cmi pres_intf.cmi nopres_intf.cmi weak_intf.cmi \
|
||||
res.cmi res.cma res.cmxa res.a
|
||||
|
||||
-all: byte-code-library native-code-library
|
||||
+all: byte-code-library
|
||||
|
||||
install: libinstall
|
||||
uninstall: libuninstall
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/res/res-3.2.0.ebuild,v 1.3 2009/08/14 18:15:11 maekke Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit findlib eutils
|
||||
|
||||
DESCRIPTION="Resizable Array and Buffer modules for O'Caml"
|
||||
HOMEPAGE="http://ocaml.info/home/ocaml_sources.html"
|
||||
SRC_URI="http://www.ocaml.info/ocaml_sources/${P}.tar.gz"
|
||||
LICENSE="LGPL-2.1"
|
||||
|
||||
DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]"
|
||||
RDEPEND="${DEPEND}"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="doc examples +ocamlopt"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-noocamlopt.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}/lib"
|
||||
emake -j1 byte-code-library || die "failed to build byte code library"
|
||||
if use ocamlopt; then
|
||||
emake -j1 native-code-library || die "failed to built nativde code library"
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
emake htdoc || die "failed to build documentation"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
cd "${S}/lib"
|
||||
findlib_src_preinst
|
||||
if use ocamlopt; then
|
||||
emake DESTDIR="${D}" libinstall || die
|
||||
else
|
||||
emake DESTDIR="${D}" libinstall-byte-code || die
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
# install documentation
|
||||
dodoc TODO README.txt Changelog
|
||||
|
||||
if use doc; then
|
||||
dohtml lib/doc/res/html/*
|
||||
fi
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Sys-Virt/Sys-Virt-1.0.3.ebuild,v 1.1 2013/03/10 18:08:24 maksbotan Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=DANBERR
|
||||
MODULE_VERSION=1.0.3
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Sys::Virt provides an API for using the libvirt library from Perl"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=app-emulation/libvirt-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage
|
||||
dev-perl/XML-XPath
|
||||
virtual/perl-Time-HiRes
|
||||
)"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_compile() {
|
||||
MAKEOPTS+=" -j1" perl-module_src_compile
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST cliff-1.3.1.tar.gz 123970 SHA256 a4741428d719c44353a6d9e6961eedfb815b2685f2a144fe194318076877722a SHA512 19b41b8082b937cceb446e4a40d95b156b447aeffe2131dd50e5396d45e9d5d9d9dea61c208dd69ef5605bd9e7068fb4bde83bd5217a1da2e9ff65e016d836de WHIRLPOOL 01df50feb18300d3c3400d8012f847ac9335439a5a001a2fb6f971145149b924e4e67538c566009fc091fd752cc395f06b633b7e790aca41d265a40d796cf194
|
||||
DIST cliff-1.3.tar.gz 123636 SHA256 762ef3046a96676a176e686a2a1cbb7e1db95f754578eca309e3c648c6a16a31 SHA512 f2061a0ff990aa99255cbfcba3ab25fe1a7d943ff955830f5d535a6baeec6fdf8dfb4409e5a291907d348ccbb3342783f8f935ef75ed2b7be28e77a9a468b377 WHIRLPOOL 97063f5ba167309d89d53a2e45f33dc8e62932e1fa93bdf5699e29295fd3aba2161762b52561463df4ee540dd64733bdefc2a2c0f30329d19695f1d0f2d68852
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/cliff/cliff-1.3.1.ebuild,v 1.1 2013/03/11 02:42:01 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_2 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Command Line Interface Formulation Framework"
|
||||
HOMEPAGE="https://github.com/dreamhost/cliff"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="virtual/python-argparse[${PYTHON_USEDEP}]
|
||||
dev-python/prettytable
|
||||
dev-python/cmd2"
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mox/mox-0.5.3-r1.ebuild,v 1.1 2013/03/11 00:34:05 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A mock object framework for Python, loosely based on EasyMock for Java"
|
||||
HOMEPAGE="http://code.google.com/p/pymox/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
python_test() {
|
||||
${PYTHON} mox_test.py || die
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST nose-exclude-0.1.9.tar.gz 3444 SHA256 c2862e55f9c6245141fc0437bad5f71a3aa8377d2727b85694884887027625ca SHA512 2f26a3d371bf50d71e235e801c0bef37ac3e7388df7bd16203b5bb330393b2c938deb4a0c2502c75c10038c798456174b74ef4dd10567ac103bf965fcfaf4dea WHIRLPOOL b926c273a1c16a69ab15157d87b079fecd813b579c69eaa9cceee441dca1607e2b949af991e3d0b23d593b07fd9597eedde1e8721fe38a897e0f6f7d221b817d
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<maintainer>
|
||||
<email>prometheanfire@gentoo.org</email>
|
||||
<name>Matthew Thode</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Exclude specific directories from nosetests runs.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/nose-exclude/nose-exclude-0.1.9.ebuild,v 1.1 2013/03/11 00:27:15 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Exclude specific directories from nosetests runs."
|
||||
HOMEPAGE="http://bitbucket.org/kgrandis/nose-exclude"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="dev-python/nose[${PYTHON_USEDEP}]"
|
@ -1 +1,2 @@
|
||||
DIST prettytable-0.6.tar.gz 19663 SHA256 6414f9f5ddba04fcca39f09a9852ec3585b92b67e9319ea865671044d3ed2299 SHA512 ebf53f86ebaaa0c9436808530409bf30069b4722d5dac4c891bd6a9953c3ef1afb3d3f0b494bd4b7b474c98c2e0532c73123fb71827d4b3a5bbb497d32d30af4 WHIRLPOOL 1f932621d100ec67f1764e05164658f80d9328e3e3e770d1a46acdee0e7e35c4c71194f2473439e37a5f6c9d59a5e27f625cf3d38731a648a3b5225b2610d3a3
|
||||
DIST prettytable-0.7.1.tar.gz 24448 SHA256 686bda277474e5cc3cff02596d72c2d6f171170225af3dedffe78cbf958c6348 SHA512 5389f3c31cb7482f6796c7f369fc9ef79e2029c783e33c0845dd28a1a6394e66395a1d452072ed89aeb2c38705b8f631a20d093b1bd817c3175e32367f552147 WHIRLPOOL daf155240cd35ce87ac333211a234edee0bf2960bf7bf7ad240d566a803f958b9ada977bbd3a51e85006e333565a950c4070e94290ec7e7bc45f8ccbb63328b7
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/prettytable/prettytable-0.7.1.ebuild,v 1.1 2013/03/11 00:17:10 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python library for easily displaying tabular data in a
|
||||
visually appealing ASCII table format."
|
||||
HOMEPAGE="https://code.google.com/p/prettytable/"
|
||||
SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
${PYTHON} prettytable_test.py || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST python-glanceclient-0.7.0.tar.gz 84823 SHA256 57a3c0ab8c48b2e569cb7cfd50fe5709f56d68e52159b14a7d9a24a4221dc617 SHA512 04820e3206bdc3aca7338de55b4b341c7b2e27a7b96d762e952380b56525018c64b451fc2e3ce7c2ddf244627bfece321ef9e2af0471c663085e2deb63e1dc75 WHIRLPOOL 0ccf58dbe7210ffddd1b0a3f328d978ecbd3993a48ff20bc3f7595050113049d0dfda128dca669800f2b9467ef118bd3ea8e28cfee8c79369289cb78d64cab31
|
||||
DIST python-glanceclient-0.8.0.tar.gz 90083 SHA256 46bfe15087437f19499c803394334a470081804f3f23f19dcc5a83608c01d383 SHA512 1ca10562d1acecb8de46e84753328dc3cefe0a7afd554b93b3ed05edca70520677ddbaaa7aaa05e019bfc3ae1bd7ecec879ef961a3fe638c523e8ad41eb133e6 WHIRLPOOL 44c363e82922a80fa2d2e0f71aca038f5fd5c321309e65d0bd5c1b71dfa3b702bcf57cb81c42447d10d4effa727abb2ce0cf3de984ff73201430392d4c8e38c3
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue