parent
3a878bc05c
commit
f2088962ab
@ -1,2 +1 @@
|
||||
DIST eselect-emacs-1.15.tar.xz 8624 SHA256 dbb5a983b71abd540adc3dc3870c0362966a84c8d2d02dd39fb8bcdd30da4105 SHA512 fbc8d893d2cf23fb93e8bcf62b3205eb571fbb0575d3c0bf4ea3b99794a8fce53a4ef8f904b69e5b8ee84b48f6342b500f46c8e696d011ba320f4edd41e2ec82 WHIRLPOOL dce160776652ccb0103083a4d88e77e2a22b93875e1fae9cb59cd67d9637c679b7362bf6272f4cf2ff530d0d5cce0c298616eb5b77335803c2789952dcf4d8d4
|
||||
DIST eselect-emacs-1.16.tar.xz 8720 SHA256 f4d789d611db71bc5ce949a3e05b911e7ec34ad9a596cc9f1f2af210314d96bb SHA512 5c3fdc6426ccfc162b4bb7805d2b183bd69a240542547a6d43715103692e931d4e7e2d5d4932ab00169e74dabc2208cec98d626e2b6d4b0434daf45ede300913 WHIRLPOOL 0c9776cd9f95ca0060443e7edba027c094223ed3335d4a1e3450ab48284d7073f43e8dc85906a3a6c861763b0fe6edd4f2a245b17f21e3ad0c0e7faa8353cdab
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-ctags/eselect-ctags-1.15.ebuild,v 1.10 2014/03/23 12:08:47 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_P="eselect-emacs-${PV}"
|
||||
DESCRIPTION="Manages ctags implementations"
|
||||
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/emacs/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.3"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins ctags.eselect
|
||||
doman ctags.eselect.5
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST eselect-emacs-1.15.tar.xz 8624 SHA256 dbb5a983b71abd540adc3dc3870c0362966a84c8d2d02dd39fb8bcdd30da4105 SHA512 fbc8d893d2cf23fb93e8bcf62b3205eb571fbb0575d3c0bf4ea3b99794a8fce53a4ef8f904b69e5b8ee84b48f6342b500f46c8e696d011ba320f4edd41e2ec82 WHIRLPOOL dce160776652ccb0103083a4d88e77e2a22b93875e1fae9cb59cd67d9637c679b7362bf6272f4cf2ff530d0d5cce0c298616eb5b77335803c2789952dcf4d8d4
|
||||
DIST eselect-emacs-1.16.tar.xz 8720 SHA256 f4d789d611db71bc5ce949a3e05b911e7ec34ad9a596cc9f1f2af210314d96bb SHA512 5c3fdc6426ccfc162b4bb7805d2b183bd69a240542547a6d43715103692e931d4e7e2d5d4932ab00169e74dabc2208cec98d626e2b6d4b0434daf45ede300913 WHIRLPOOL 0c9776cd9f95ca0060443e7edba027c094223ed3335d4a1e3450ab48284d7073f43e8dc85906a3a6c861763b0fe6edd4f2a245b17f21e3ad0c0e7faa8353cdab
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-emacs/eselect-emacs-1.15.ebuild,v 1.10 2014/03/23 12:08:54 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Manage multiple Emacs versions on one system"
|
||||
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.6
|
||||
~app-admin/eselect-ctags-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins {emacs,etags,gnuclient}.eselect
|
||||
doman {emacs,etags,gnuclient}.eselect.5
|
||||
dodoc ChangeLog
|
||||
}
|
@ -1,10 +1,8 @@
|
||||
DIST emacs-18.59-linux22x-elf-glibc21.diff.gz 15671 SHA256 fb810d893938883d50a3a8d7c43fbeb1604d5454f760b8f1f700326c8ee659dd SHA512 c6c6ea33850dadf08d68fff56fc6aacc80ad1aa36661260715d50b95438942d56e6244094427d50356cfe716f26559feb885254c436399bff7be639637d605b6 WHIRLPOOL cafaa0fb0d06058cac8e445a7a1b5cba145d23186477a9c681efdab8ca0f18a9675dec3a93851fd7138890701f83fab83300c28a548c8fc22478a0cfff95d5da
|
||||
DIST emacs-18.59-patches-8.tar.bz2 19667 SHA256 637542bf5ee07d4abac11b76e742598a60787f3869dbf377eed99ae005fbc59d SHA512 a6564bc16724bfdb22f77b0e21b6064ca5e0e1bc91f3223c1037c26f8a048f28ac7a5da6817dc940a5f00f1f39bbfcda2277645409cd7e143a55fabdc3d3fe5d WHIRLPOOL 6b81f978aef2b429262e79ab1d995cca9237dc9c9d98144d2dc3de07bc2cdcec8547adbaf5ad41d9cce3239554918c04c7b9ff783b7931582a3a7398eb2b66f1
|
||||
DIST emacs-18.59.tar.gz 2962652 SHA256 1e27e33f91984a91e9b4c1f21433f931aba03670960ecc147bb6d7b0de0f051e SHA512 03ce565e346e89b7aacb1852f4783e8907f394de7da0c543b475cb038eb89b87f980d0f7ca1841b1d2108b20f211e95113c7214e4a33e5767a1827ff43173f33 WHIRLPOOL 5e98e71518f665e2a8278afe54e0ace6d7fdd9df23ff0a3354ffc1d5cc25cd21b0dd4d82766fcb436d4f24e9291c933295e956e1ffea43cfeedf915175763be6
|
||||
DIST emacs-23.4-patches-10.tar.xz 4920 SHA256 0b8e8cf31b013995d4e4cab12636aeaf6f49d2c879eb929fa7fd8774d86a5a00 SHA512 552568fe9264c6e1fe57ec0b48adade34d15b1c768534d0f3e036849c938b18720121dad5ce2c83a4f4c61911d9f386a96f49cab10b641feb265e7eff8d2553e WHIRLPOOL 17dac888cf9120f66f1940eac6e99d34fa447702cb64e391a433829c61b4bc24017125d44bad2108f1bace14c9ae7b40d6aa39245feb9ea2fe215c287da6b100
|
||||
DIST emacs-23.4-patches-12.tar.xz 8140 SHA256 17188d0cfaba417cc047fb9a9ba3f4d19a66792a3c123539036bf48a39a6e066 SHA512 d069849be69a14ab8dab11412914e31ba8faeb10d23731c6e476809cf3edeba57a13bbfecb42437636357df1165fce9c83f8a16c421f238e88caee8f32431d3d WHIRLPOOL 23c2aba6e0f91b42cd4d6daf3d4bfec5902c680c2ec0c5a2d0b5841d689b447b65426396fb006347c8d1da487c2ce1ca03f6d17cffd9a6d74820f6f0fc2d1fa7
|
||||
DIST emacs-23.4-patches-14.tar.xz 12088 SHA256 c46406a32b53d6c8b68c007f8d990ceb18343056814c5025e8a6ad53587050a9 SHA512 37467b57174b8e7a56864fa7d68c18d5ffe4690a93bd90af04184c88688eea5c0f6b3b3b2662a512099b7b0bcce36a20256f04789072b61f5c9dc353ac2c04cb WHIRLPOOL 06045478595ad805826ae487ed99d663e7cd45944f5c6c8b1aedc1451fab7e442294de828052c2308f6aab57398038f06ffafc75680d477c536d4f23e028e73e
|
||||
DIST emacs-23.4.tar.bz2 38646508 SHA256 26576f9e664397c729f78f5ffcd092969251988461896fe8793062346ee988b9 SHA512 def7a95ecaefae24d8102b96b1d575a23def1b11a8f0bb17b68f7913bd118e2ea4449a8feee76c1bd649f099b70419f0d494ddd9bb32b26f92720cda842b0296 WHIRLPOOL 2384c3f63ff153c3975e373334d6021d46b23ad3cab448ed2e1180501236453a61d13bf1dfbb2e6075bb141dd8511d85f77e37c763b39769f98de48eacc56f3b
|
||||
DIST emacs-24.3-patches-5.tar.xz 3260 SHA256 ed9928b23a8b73b3ad265ba6866f609cdf61524602dea3b9f57d397d13a6fcb6 SHA512 c5989a9920c5b8cf1935f2d1bea228262c7953516cf93f75dbf6b305fc7c66f0d22c4038931972c441b8c0508acc04a83c7a160e20bf18b2c2e25c10d20f6a5a WHIRLPOOL facb1dd20830a87c8ed0480168127822cfb961cc6592d5c51c9057dfba944adfd4d3211ac7af07873b46fd78580704325f56ab4a5dfb6f78790005b718f19364
|
||||
DIST emacs-24.3-patches-7.tar.xz 6484 SHA256 167a004b3b528dada8f68d28ce98cfbf1f23a1e00e52d7b23e14352178e5eab7 SHA512 6e3f6f053ad66e6d298b4fd904c57a6c2a03269ec53e9dfc56f834672a42c8f48eeb20a7ed1bcfb534eb62e0cca6e01b4a1663bebb046a0ce7325b732a378868 WHIRLPOOL bb68a6874e682afe58fe4cdf60695bc7b8d763afd15ba40ffda3156e80a6cad318e969fed6f22cb6e484ffdc29daa1b6b64873bf6cf73de28cfa711172046138
|
||||
DIST emacs-24.3.tar.xz 35565352 SHA256 70aa2942e9ae689ed17eddedfca5027c364ffbcc8b59968b1645e935f4c7058d SHA512 a1300fa10a9fba2db9735db3d01382bcda89ceec033976c4622796dfdf6d2748ed5fa73edf229182b368190c8acbf706810dd5f344542d2c0d294154bc2d0ca9 WHIRLPOOL 687ad4c7d69b41884bf28269bdea1808e03cdcec5a5218d0bac23c07cca3ced341ef98b4d5892149e2dbe899774a5e60edde9931d6c0fe41687995f530fb61d8
|
||||
|
@ -1,338 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-23.4-r6.ebuild,v 1.9 2014/04/06 22:08:14 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
WANT_AUTOMAKE="none"
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}.tar.bz2
|
||||
http://dev.gentoo.org/~ulm/emacs/${P}-patches-10.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="23"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="alsa aqua athena dbus games gconf gif gpm gtk gzip-el hesiod jpeg kerberos livecd m17n-lib motif pax_kernel png sound source svg tiff toolkit-scroll-bars X Xaw3d xft +xpm"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.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:0= )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
alsa? ( virtual/pkgconfig )
|
||||
dbus? ( virtual/pkgconfig )
|
||||
X? ( virtual/pkgconfig )
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? (
|
||||
sys-apps/attr
|
||||
sys-apps/paxctl
|
||||
)"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-${PV}"
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX=patch epatch
|
||||
epatch_user
|
||||
|
||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||
|| die "unable to sed ctags.1"
|
||||
|
||||
if ! use alsa; then
|
||||
# ALSA is detected even if not requested by its USE flag.
|
||||
# Suppress it by supplying pkg-config with a wrong library name.
|
||||
sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.in \
|
||||
|| die "unable to sed configure.in"
|
||||
fi
|
||||
if ! use gzip-el; then
|
||||
# Emacs' build system automatically detects the gzip binary and
|
||||
# compresses el files. We don't want that so confuse it with a
|
||||
# wrong binary name
|
||||
sed -i -e "s/ gzip/ PrEvEnTcOmPrEsSiOn/" configure.in \
|
||||
|| die "unable to sed configure.in"
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
filter-flags -fstrict-aliasing
|
||||
append-flags $(test-flags -fno-strict-aliasing)
|
||||
|
||||
if use sh; then
|
||||
replace-flags "-O[1-9]" -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags "-O[2-9]" -O1 #325373
|
||||
else
|
||||
replace-flags "-O[3-9]" -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa && ! use sound; then
|
||||
einfo "Although sound USE flag is disabled you chose to have alsa,"
|
||||
einfo "so sound is switched on anyway."
|
||||
myconf+=" --with-sound"
|
||||
else
|
||||
myconf+=" $(use_with sound)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf+=" --with-x --without-ns"
|
||||
myconf+=" $(use_with gconf)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
myconf+=" --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
# GTK+ is the default toolkit if USE=gtk is chosen with other
|
||||
# possibilities. Emacs upstream thinks this should be standard
|
||||
# policy on all distributions
|
||||
local f
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf+=" --with-x-toolkit=gtk"
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x"
|
||||
else
|
||||
myconf+=" --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
|
||||
# According to configure, this option is only used for GNU/Linux
|
||||
# (x86_64 and s390). For Gentoo Prefix we have to explicitly spell
|
||||
# out the location because $(get_libdir) does not necessarily return
|
||||
# something that matches the host OS's libdir naming (e.g. RHEL).
|
||||
local crtdir=$($(tc-getCC) -print-file-name=crt1.o)
|
||||
crtdir=${crtdir%/*}
|
||||
|
||||
econf \
|
||||
--program-suffix="-${EMACS_SUFFIX}" \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--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 cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
doins -r src/{m,s}
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/Makefile.c
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/{m,s}/README
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
||||
through the Emacs eselect module, which also redirects man and info
|
||||
pages. Therefore, several Emacs versions can be installed at the
|
||||
same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from a previous major version of Emacs, then
|
||||
it is strongly recommended that you use app-admin/emacs-updater
|
||||
to rebuild all byte-compiled elisp files of the installed Emacs
|
||||
packages."
|
||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
||||
it into /Applications by yourself."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1,341 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-24.3-r2.ebuild,v 1.21 2014/04/06 22:08:14 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib readme.gentoo
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
SRC_URI="mirror://gnu/emacs/${P}.tar.xz
|
||||
http://dev.gentoo.org/~ulm/emacs/${P}-patches-5.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="24"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="alsa aqua athena dbus games gconf gif gnutls gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm"
|
||||
REQUIRED_USE="?? ( aqua X )"
|
||||
|
||||
RDEPEND="sys-libs/ncurses
|
||||
>=app-admin/eselect-emacs-1.2
|
||||
>=app-emacs/emacs-common-gentoo-1.3-r3[games?,X?]
|
||||
net-libs/liblockfile
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
gpm? ( sys-libs/gpm )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? (
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
!gtk3? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
!gtk? (
|
||||
motif? ( >=x11-libs/motif-2.3:0 )
|
||||
!motif? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? ( athena? ( x11-libs/libXaw ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
alsa? ( virtual/pkgconfig )
|
||||
dbus? ( virtual/pkgconfig )
|
||||
gnutls? ( virtual/pkgconfig )
|
||||
libxml2? ( virtual/pkgconfig )
|
||||
X? ( virtual/pkgconfig )
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? (
|
||||
sys-apps/attr
|
||||
sys-apps/paxctl
|
||||
)"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!<app-editors/emacs-vcs-${PV}"
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX=patch epatch
|
||||
epatch_user
|
||||
|
||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 \
|
||||
|| die "unable to sed ctags.1"
|
||||
|
||||
if ! use alsa; then
|
||||
# ALSA is detected even if not requested by its USE flag.
|
||||
# Suppress it by supplying pkg-config with a wrong library name.
|
||||
sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.ac \
|
||||
|| die "unable to sed configure.ac"
|
||||
fi
|
||||
if ! use gzip-el; then
|
||||
# Emacs' build system automatically detects the gzip binary and
|
||||
# compresses el files. We don't want that so confuse it with a
|
||||
# wrong binary name
|
||||
sed -i -e "/AC_PATH_PROG/s/gzip/PrEvEnTcOmPrEsSiOn/" configure.ac \
|
||||
|| die "unable to sed configure.ac"
|
||||
fi
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
|
||||
if use sh; then
|
||||
replace-flags "-O[1-9]" -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags "-O[2-9]" -O1 #325373
|
||||
else
|
||||
replace-flags "-O[3-9]" -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa && ! use sound; then
|
||||
einfo "Although sound USE flag is disabled you chose to have alsa,"
|
||||
einfo "so sound is switched on anyway."
|
||||
myconf+=" --with-sound"
|
||||
else
|
||||
myconf+=" $(use_with sound)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf+=" --with-x --without-ns"
|
||||
myconf+=" $(use_with gconf)"
|
||||
myconf+=" $(use_with gsettings)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
myconf+=" $(use_with imagemagick)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
myconf+=" --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
local f
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf+=" --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x"
|
||||
else
|
||||
myconf+=" --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf+=" GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
|
||||
# According to configure, this option is only used for GNU/Linux
|
||||
# (x86_64 and s390). For Gentoo Prefix we have to explicitly spell
|
||||
# out the location because $(get_libdir) does not necessarily return
|
||||
# something that matches the host OS's libdir naming (e.g. RHEL).
|
||||
local crtdir=$($(tc-getCC) -print-file-name=crt1.o)
|
||||
crtdir=${crtdir%/*}
|
||||
|
||||
econf \
|
||||
--program-suffix="-${EMACS_SUFFIX}" \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-crt-dir="${crtdir}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
--without-compress-info \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with gpm) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with wide-int) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
||||
|
||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} \
|
||||
|| die "moving emacs executable failed"
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{applications,icons}
|
||||
rm -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="You can set the version to be started by /usr/bin/emacs
|
||||
through the Emacs eselect module, which also redirects man and info
|
||||
pages. Therefore, several Emacs versions can be installed at the
|
||||
same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is
|
||||
strongly recommended that you use app-admin/emacs-updater to rebuild
|
||||
all byte-compiled elisp files of the installed Emacs packages."
|
||||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\nEmacs${EMACS_SUFFIX#emacs}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink
|
||||
it into /Applications by yourself."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
|
||||
local pvr
|
||||
for pvr in ${REPLACING_VERSIONS}; do
|
||||
[[ ${pvr%%[-_]*} = 24.[12] ]] && FORCE_PRINT_ELOG=1
|
||||
done
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -1,141 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-common-gentoo/emacs-common-gentoo-1.4.ebuild,v 1.10 2014/01/18 20:04:49 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit elisp-common eutils fdo-mime gnome2-utils readme.gentoo user
|
||||
|
||||
DESCRIPTION="Common files needed by all GNU Emacs versions"
|
||||
HOMEPAGE="http://wiki.gentoo.org/wiki/Project:Emacs"
|
||||
SRC_URI="http://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="games X"
|
||||
|
||||
PDEPEND="virtual/emacs"
|
||||
|
||||
pkg_setup() {
|
||||
if use games && [[ -z $(egetent passwd "${GAMES_USER_DED:-games}") ]]
|
||||
then
|
||||
enewgroup "${GAMES_GROUP:-games}" 35
|
||||
enewuser "${GAMES_USER_DED:-games}" 36 /bin/bash \
|
||||
"${GAMES_PREFIX:-/usr/games}" "${GAMES_GROUP:-games}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "${SITELISP}"
|
||||
doins subdirs.el
|
||||
newins site-gentoo.el{,.orig}
|
||||
|
||||
keepdir /etc/emacs
|
||||
insinto /etc/emacs
|
||||
doins site-start.el
|
||||
|
||||
if use games; then
|
||||
keepdir /var/lib/games/emacs
|
||||
fowners "${GAMES_USER_DED:-games}" /var/lib/games/emacs
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
local i
|
||||
domenu emacs.desktop emacsclient.desktop || die
|
||||
|
||||
pushd icons
|
||||
newicon sink.png emacs-sink.png || die
|
||||
newicon emacs_48.png emacs.png || die
|
||||
newicon emacs22_48.png emacs22.png || die
|
||||
for i in 16 24 32 48 128; do
|
||||
insinto /usr/share/icons/hicolor/${i}x${i}/apps
|
||||
newins emacs_${i}.png emacs.png
|
||||
[[ ${i} -ne 128 ]] && newins emacs22_${i}.png emacs22.png
|
||||
done
|
||||
insinto /usr/share/icons/hicolor/scalable/apps
|
||||
doins emacs.svg
|
||||
popd
|
||||
|
||||
gnome2_icon_savelist
|
||||
fi
|
||||
|
||||
DOC_CONTENTS="All site initialisation for Gentoo-installed packages is
|
||||
added to ${SITELISP}/site-gentoo.el. In order for this site
|
||||
initialisation to be loaded for all users automatically, a default
|
||||
site startup file /etc/emacs/site-start.el is installed. You are
|
||||
responsible for maintenance of this file.
|
||||
\n\nAlternatively, individual users can add the following command:
|
||||
\n\n(require 'site-gentoo)
|
||||
\n\nto their ~/.emacs initialisation files, or, for greater
|
||||
flexibility, users may load single package-specific initialisation
|
||||
files from the ${SITELISP}/site-gentoo.d/ directory."
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
site-start-modified-p() {
|
||||
case $(cksum <"${EROOT}${SITELISP}/site-start.el") in
|
||||
# checksums of auto-generated site-start.el files
|
||||
"2098727038 349") return 1 ;; # elisp-common.eclass
|
||||
"3626264063 355") return 1 ;; # emacs-common-gentoo-1.0 (cvs rev 1.1)
|
||||
"3738455534 394") return 1 ;; # emacs-common-gentoo-1.0 (cvs rev 1.6)
|
||||
"4199862847 394") return 1 ;; # emacs-common-gentoo-1.1
|
||||
"2547348044 394") return 1 ;; # emacs-common-gentoo-1.2
|
||||
"2214952934 397") return 1 ;; # emacs-common-gentoo-1.2-r1
|
||||
"3917799317 397") return 1 ;; # emacs-common-gentoo-1.2-r2
|
||||
*) return 0 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# make sure that site-gentoo.el exists since site-start.el requires it
|
||||
if [[ ! -d ${EROOT}${SITELISP} ]]; then
|
||||
mv "${ED}${SITELISP}"/site-gentoo.el{.orig,} || die
|
||||
else
|
||||
elisp-site-regen
|
||||
rm "${ED}${SITELISP}/site-gentoo.el.orig" || die
|
||||
cp "${EROOT}${SITELISP}/site-gentoo.el" "${ED}${SITELISP}/" || die
|
||||
fi
|
||||
|
||||
if use games; then
|
||||
local f
|
||||
for f in /var/lib/games/emacs/{snake,tetris}-scores; do
|
||||
if [[ -e ${EROOT}${f} ]]; then
|
||||
cp "${EROOT}${f}" "${ED}${f}" || die
|
||||
fi
|
||||
touch "${ED}${f}" || die
|
||||
chown "${GAMES_USER_DED:-games}" "${ED}${f}" || die
|
||||
done
|
||||
fi
|
||||
|
||||
if [[ -e ${EROOT}${SITELISP}/site-start.el ]]; then
|
||||
ewarn "The location of the site startup file for Emacs has changed to"
|
||||
ewarn "/etc/emacs/site-start.el."
|
||||
if site-start-modified-p; then
|
||||
eerror "Locally modified ${SITELISP}/site-start.el file found."
|
||||
eerror "If this file contains your own customisation, you should"
|
||||
eerror "move it to /etc/emacs/. In any case, you must remove the"
|
||||
eerror "file from the old location."
|
||||
die "Cannot continue unless ${SITELISP}/site-start.el is removed."
|
||||
else
|
||||
ewarn "Removing the old ${SITELISP}/site-start.el file."
|
||||
rm -f "${EROOT}${SITELISP}/site-start.el"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use X; then
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
fi
|
||||
|
||||
readme.gentoo_print_elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use X; then
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
fi
|
||||
}
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-baselibs/emul-linux-x86-baselibs-20140508-r9.ebuild,v 1.1 2014/06/08 12:55:52 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit emul-linux-x86
|
||||
|
||||
LICENSE="Artistic GPL-1 GPL-2 GPL-3 BSD BSD-2 BZIP2 AFL-2.1 LGPL-2.1 BSD-4 MIT
|
||||
public-domain LGPL-3 LGPL-2 GPL-2-with-exceptions MPL-1.1 OPENLDAP
|
||||
Sleepycat UoI-NCSA ZLIB openafs-krb5-a HPND ISC RSA IJG libmng libtiff
|
||||
openssl tcp_wrappers_license"
|
||||
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE="abi_x86_32"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!<app-emulation/emul-linux-x86-medialibs-10.2
|
||||
!abi_x86_32? (
|
||||
!>=app-arch/xz-utils-5.0.5-r1[abi_x86_32(-)]
|
||||
)
|
||||
abi_x86_32? (
|
||||
>=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]
|
||||
>=app-arch/bzip2-1.0.6-r4[abi_x86_32(-)]
|
||||
>=media-libs/libpng-1.5.16-r1:0[abi_x86_32(-)]
|
||||
>=dev-libs/udis86-1.7-r2[abi_x86_32(-)]
|
||||
>=virtual/libffi-3.0.13-r1[abi_x86_32(-)]
|
||||
>=sys-devel/llvm-3.3-r1[abi_x86_32(-)]
|
||||
>=media-libs/libpng-1.2.50-r1:1.2[abi_x86_32(-)]
|
||||
virtual/jpeg:62[abi_x86_32(-)]
|
||||
>=sys-libs/libraw1394-2.1.0-r1[abi_x86_32(-)]
|
||||
>=sys-libs/libavc1394-0.5.4-r1[abi_x86_32(-)]
|
||||
>=dev-libs/expat-2.1.0-r3[abi_x86_32(-)]
|
||||
>=virtual/libusb-0-r1:0[abi_x86_32(-)]
|
||||
>=virtual/libusb-1-r1:1[abi_x86_32(-)]
|
||||
|| (
|
||||
>=virtual/udev-206-r1[abi_x86_32(-)]
|
||||
~virtual/udev-204[abi_x86_32(-)] )
|
||||
>=media-libs/tiff-4.0.3-r5:0[abi_x86_32(-)]
|
||||
>=sys-apps/attr-2.4.47-r1[abi_x86_32(-)]
|
||||
>=dev-libs/glib-2.36.3-r2:2[abi_x86_32(-)]
|
||||
>=media-libs/lcms-2.5-r1:2[abi_x86_32(-)]
|
||||
>=app-text/libpaper-1.1.24-r2[abi_x86_32(-)]
|
||||
>=media-libs/tiff-3.9.7-r1:3[abi_x86_32(-)]
|
||||
|| (
|
||||
>=dev-libs/elfutils-0.155-r1[abi_x86_32(-)]
|
||||
>=dev-libs/libelf-0.8.13-r2[abi_x86_32(-)]
|
||||
)
|
||||
>=sys-libs/e2fsprogs-libs-1.42.7-r1[abi_x86_32(-)]
|
||||
>=sys-libs/ncurses-5.9-r3[abi_x86_32(-)]
|
||||
>=sys-libs/gpm-1.20.7-r2[abi_x86_32(-)]
|
||||
>=dev-libs/gmp-5.1.3-r1[abi_x86_32(-)]
|
||||
>=dev-libs/libpcre-8.33-r1[abi_x86_32(-)]
|
||||
>=sys-apps/dbus-1.6.18-r1[abi_x86_32(-)]
|
||||
>=sys-apps/tcp-wrappers-7.6.22-r1[abi_x86_32(-)]
|
||||
>=sys-libs/gdbm-1.10-r1[abi_x86_32(-)]
|
||||
>=dev-libs/json-c-0.11-r1[abi_x86_32(-)]
|
||||
>=dev-libs/libxml2-2.9.1-r2[abi_x86_32(-)]
|
||||
>=dev-libs/dbus-glib-0.100.2-r1[abi_x86_32(-)]
|
||||
>=sys-libs/readline-6.2_p5-r1:0[abi_x86_32(-)]
|
||||
>=sys-devel/gettext-0.18.3.2[abi_x86_32(-)]
|
||||
>=dev-libs/libgpg-error-1.12-r1[abi_x86_32(-)]
|
||||
>=dev-db/sqlite-3.8.3:3[abi_x86_32(-)]
|
||||
>=dev-libs/nettle-2.7.1-r1[abi_x86_32(-)]
|
||||
>=dev-libs/libtasn1-3.4-r1[abi_x86_32(-)]
|
||||
dev-libs/libgcrypt:11[abi_x86_32(-)]
|
||||
>=dev-libs/libgcrypt-1.6.1-r1:0[abi_x86_32(-)]
|
||||
>=dev-libs/lzo-2.06-r1[abi_x86_32(-)]
|
||||
>=dev-libs/libxslt-1.1.28-r2[abi_x86_32(-)]
|
||||
>=sys-apps/file-5.18-r1[abi_x86_32(-)]
|
||||
>=app-arch/xz-utils-5.0.5-r1[abi_x86_32(-)]
|
||||
>=media-libs/giflib-4.2.3-r1[abi_x86_32(-)]
|
||||
>=sys-libs/slang-2.2.4-r1[abi_x86_32(-)]
|
||||
>=sys-apps/acl-2.2.52-r1[abi_x86_32(-)]
|
||||
>=sys-apps/util-linux-2.24.1-r3[abi_x86_32(-)]
|
||||
>=sys-devel/libtool-2.4.2-r1[abi_x86_32(-)]
|
||||
>=virtual/acl-0-r2[abi_x86_32(-)]
|
||||
>=dev-libs/openssl-1.0.1g-r1:0[abi_x86_32(-)]
|
||||
>=dev-libs/openssl-0.9.8y-r1:0.9.8[abi_x86_32(-)]
|
||||
>=net-libs/gnutls-3.3.1-r1[abi_x86_32(-)]
|
||||
>=net-print/cups-1.7.1-r2[abi_x86_32(-)]
|
||||
>=sys-libs/talloc-2.1.0-r1[abi_x86_32(-)]
|
||||
>=sys-apps/keyutils-1.5.9-r1[abi_x86_32(-)]
|
||||
>=virtual/krb5-0-r1[abi_x86_32(-)]
|
||||
>=sys-libs/db-4.8.30-r1:4.8[abi_x86_32(-)]
|
||||
>=net-nds/openldap-2.4.38-r2[abi_x86_32(-)]
|
||||
>=net-dns/libidn-1.28-r1[abi_x86_32(-)]
|
||||
>=dev-libs/libnl-3.2.24-r1[abi_x86_32(-)]
|
||||
>=media-libs/libart_lgpl-2.3.21-r2[abi_x86_32(-)]
|
||||
>=sys-libs/cracklib-2.9.1-r1[abi_x86_32(-)]
|
||||
>=net-libs/libtirpc-0.2.4-r2[abi_x86_32(-)]
|
||||
>=sys-libs/pam-1.1.8-r2[abi_x86_32(-)]
|
||||
>=net-libs/libsoup-2.46.0-r1[abi_x86_32(-)]
|
||||
>=net-libs/neon-0.30.0-r1[abi_x86_32(-)]
|
||||
)
|
||||
>=sys-libs/glibc-2.16" # bug 340613
|
||||
|
||||
PYTHON_UPDATER_IGNORE="1"
|
||||
|
||||
src_prepare() {
|
||||
export ALLOWED="(${S}/lib32/security/pam_filter/upperLOWER|${S}/etc/env.d|${S}/lib32/security/pam_ldap.so)"
|
||||
emul-linux-x86_src_prepare
|
||||
rm -rf "${S}/etc/env.d/binutils/" \
|
||||
"${S}/usr/i686-pc-linux-gnu/lib" \
|
||||
"${S}/usr/lib32/engines/" \
|
||||
"${S}/usr/lib32/openldap/" || die
|
||||
|
||||
ln -s ../share/terminfo "${S}/usr/lib32/terminfo" || die
|
||||
|
||||
# Remove migrated stuff.
|
||||
use abi_x86_32 && rm -f $(sed "${FILESDIR}/remove-native-${PVR}" -e '/^#/d')
|
||||
}
|
@ -0,0 +1,516 @@
|
||||
lib32/libz.so.1
|
||||
lib32/libz.so.1.2.8
|
||||
usr/lib32/libz.so
|
||||
usr/lib32/pkgconfig/zlib.pc
|
||||
usr/lib32/libminizip.so
|
||||
usr/lib32/libminizip.so.1
|
||||
usr/lib32/libminizip.so.1.0.0
|
||||
usr/lib32/pkgconfig/minizip.pc
|
||||
lib32/libbz2.so.1
|
||||
lib32/libbz2.so.1.0
|
||||
lib32/libbz2.so.1.0.6
|
||||
usr/lib32/libbz2.so
|
||||
usr/lib32/libpng.so
|
||||
usr/lib32/libpng16.so
|
||||
usr/lib32/libpng16.so.16
|
||||
usr/lib32/libpng16.so.16.10.0
|
||||
usr/lib32/pkgconfig/libpng.pc
|
||||
usr/lib32/pkgconfig/libpng16.pc
|
||||
usr/lib32/libudis86.so
|
||||
usr/lib32/libudis86.so.0
|
||||
usr/lib32/libudis86.so.0.0.0
|
||||
usr/lib32/libffi-3.0.13/include/ffi.h
|
||||
usr/lib32/libffi-3.0.13/include/ffitarget.h
|
||||
usr/lib32/libffi.so
|
||||
usr/lib32/libffi.so.6
|
||||
usr/lib32/libffi.so.6.0.1
|
||||
usr/lib32/pkgconfig/libffi.pc
|
||||
usr/lib32/LLVMHello.so
|
||||
usr/lib32/libLLVM-3.3.so
|
||||
usr/lib32/libLTO.so
|
||||
usr/lib32/libprofile_rt.so
|
||||
usr/lib32/libpng12.so.0
|
||||
usr/lib32/libraw1394.so
|
||||
usr/lib32/libraw1394.so.11
|
||||
usr/lib32/libraw1394.so.11.1.0
|
||||
usr/lib32/pkgconfig/libraw1394.pc
|
||||
usr/lib32/libavc1394.so
|
||||
usr/lib32/libavc1394.so.0
|
||||
usr/lib32/libavc1394.so.0.3.0
|
||||
usr/lib32/pkgconfig/libavc1394.pc
|
||||
usr/lib32/librom1394.so
|
||||
usr/lib32/librom1394.so.0
|
||||
usr/lib32/librom1394.so.0.3.0
|
||||
usr/lib32/libjpeg.so
|
||||
usr/lib32/libturbojpeg.so
|
||||
usr/lib32/libturbojpeg.so.0
|
||||
usr/lib32/libturbojpeg.so.0.0.0
|
||||
usr/lib32/libjpeg.so.62
|
||||
usr/lib32/libexpat.so
|
||||
usr/lib32/libexpat.so.1
|
||||
usr/lib32/libexpat.so.1.6.0
|
||||
usr/lib32/libexpatu.so
|
||||
usr/lib32/libexpatu.so.1
|
||||
usr/lib32/libexpatu.so.1.6.0
|
||||
usr/lib32/libexpatw.so
|
||||
usr/lib32/libexpatw.so.1
|
||||
usr/lib32/libexpatw.so.1.6.0
|
||||
usr/lib32/pkgconfig/expat.pc
|
||||
usr/lib32/pkgconfig/expatu.pc
|
||||
usr/lib32/pkgconfig/expatw.pc
|
||||
lib32/libusb-0.1.so.4
|
||||
lib32/libusb-0.1.so.4.4.4
|
||||
usr/lib32/libusb-1.0.so
|
||||
lib32/libusb-1.0.so.0
|
||||
lib32/libusb-1.0.so.0.1.0
|
||||
usr/lib32/libusb.so
|
||||
usr/lib32/pkgconfig/libusb-1.0.pc
|
||||
usr/lib32/pkgconfig/libusb.pc
|
||||
lib32/libudev.so.1
|
||||
lib32/libudev.so.1.4.0
|
||||
usr/lib32/libudev.so
|
||||
usr/lib32/pkgconfig/libudev.pc
|
||||
usr/lib32/libjpeg.so.62.1.0
|
||||
usr/lib32/libtiff.so
|
||||
usr/lib32/libtiff.so.5
|
||||
usr/lib32/libtiff.so.5.2.0
|
||||
usr/lib32/libtiffxx.so
|
||||
usr/lib32/libtiffxx.so.5
|
||||
usr/lib32/libtiffxx.so.5.2.0
|
||||
usr/lib32/pkgconfig/libtiff-4.pc
|
||||
lib32/libattr.so.1
|
||||
lib32/libattr.so.1.1.0
|
||||
usr/lib32/libattr.so
|
||||
usr/lib32/glib-2.0/include/glibconfig.h
|
||||
usr/lib32/libglib-2.0.so
|
||||
usr/lib32/libglib-2.0.so.0
|
||||
usr/lib32/libglib-2.0.so.0.3800.2
|
||||
usr/lib32/pkgconfig/glib-2.0.pc
|
||||
usr/lib32/libgmodule-2.0.so
|
||||
usr/lib32/libgmodule-2.0.so.0
|
||||
usr/lib32/libgmodule-2.0.so.0.3800.2
|
||||
usr/lib32/pkgconfig/gmodule-2.0.pc
|
||||
usr/lib32/libgio-2.0.so
|
||||
usr/lib32/libgio-2.0.so.0
|
||||
usr/lib32/libgio-2.0.so.0.3800.2
|
||||
usr/lib32/pkgconfig/gio-2.0.pc
|
||||
usr/lib32/libgobject-2.0.so
|
||||
usr/lib32/libgobject-2.0.so.0
|
||||
usr/lib32/libgobject-2.0.so.0.3800.2
|
||||
usr/lib32/pkgconfig/gobject-2.0.pc
|
||||
usr/lib32/libgthread-2.0.so
|
||||
usr/lib32/libgthread-2.0.so.0
|
||||
usr/lib32/libgthread-2.0.so.0.3800.2
|
||||
usr/lib32/pkgconfig/gthread-2.0.pc
|
||||
usr/lib32/pkgconfig/gio-unix-2.0.pc
|
||||
usr/lib32/pkgconfig/gmodule-export-2.0.pc
|
||||
usr/lib32/pkgconfig/gmodule-no-export-2.0.pc
|
||||
usr/lib32/liblcms2.so
|
||||
usr/lib32/liblcms2.so.2
|
||||
usr/lib32/liblcms2.so.2.0.5
|
||||
usr/lib32/pkgconfig/lcms2.pc
|
||||
usr/lib32/libpaper.so
|
||||
usr/lib32/libpaper.so.1
|
||||
usr/lib32/libpaper.so.1.1.2
|
||||
usr/lib32/libtiff.so.3
|
||||
usr/lib32/libtiff.so.4
|
||||
usr/lib32/libtiffxx.so.3
|
||||
usr/lib32/libtiffxx.so.4
|
||||
usr/lib32/elfutils/libebl_aarch64-0.158.so
|
||||
usr/lib32/elfutils/libebl_aarch64.so
|
||||
usr/lib32/elfutils/libebl_alpha-0.158.so
|
||||
usr/lib32/elfutils/libebl_alpha.so
|
||||
usr/lib32/elfutils/libebl_arm-0.158.so
|
||||
usr/lib32/elfutils/libebl_arm.so
|
||||
usr/lib32/elfutils/libebl_i386-0.158.so
|
||||
usr/lib32/elfutils/libebl_i386.so
|
||||
usr/lib32/elfutils/libebl_ia64-0.158.so
|
||||
usr/lib32/elfutils/libebl_ia64.so
|
||||
usr/lib32/elfutils/libebl_ppc-0.158.so
|
||||
usr/lib32/elfutils/libebl_ppc.so
|
||||
usr/lib32/elfutils/libebl_ppc64-0.158.so
|
||||
usr/lib32/elfutils/libebl_ppc64.so
|
||||
usr/lib32/elfutils/libebl_s390-0.158.so
|
||||
usr/lib32/elfutils/libebl_s390.so
|
||||
usr/lib32/elfutils/libebl_sh-0.158.so
|
||||
usr/lib32/elfutils/libebl_sh.so
|
||||
usr/lib32/elfutils/libebl_sparc-0.158.so
|
||||
usr/lib32/elfutils/libebl_sparc.so
|
||||
usr/lib32/elfutils/libebl_tilegx-0.158.so
|
||||
usr/lib32/elfutils/libebl_tilegx.so
|
||||
usr/lib32/elfutils/libebl_x86_64-0.158.so
|
||||
usr/lib32/elfutils/libebl_x86_64.so
|
||||
usr/lib32/libelf-0.158.so
|
||||
usr/lib32/libelf.so
|
||||
usr/lib32/libelf.so.1
|
||||
usr/lib32/libasm-0.158.so
|
||||
usr/lib32/libasm.so
|
||||
usr/lib32/libasm.so.1
|
||||
usr/lib32/libdw-0.158.so
|
||||
usr/lib32/libdw.so
|
||||
usr/lib32/libdw.so.1
|
||||
lib32/libss.so.2
|
||||
lib32/libss.so.2.0
|
||||
usr/lib32/libss.so
|
||||
usr/lib32/pkgconfig/ss.pc
|
||||
lib32/libcom_err.so.2
|
||||
lib32/libcom_err.so.2.1
|
||||
usr/lib32/libcom_err.so
|
||||
usr/lib32/pkgconfig/com_err.pc
|
||||
usr/lib32/libcurses.so
|
||||
usr/lib32/libform.so
|
||||
usr/lib32/libform.so.5
|
||||
usr/lib32/libform.so.5.9
|
||||
usr/lib32/libformw.so
|
||||
usr/lib32/libformw.so.5
|
||||
usr/lib32/libformw.so.5.9
|
||||
usr/lib32/libmenu.so
|
||||
usr/lib32/libmenu.so.5
|
||||
usr/lib32/libmenu.so.5.9
|
||||
usr/lib32/libmenuw.so
|
||||
usr/lib32/libmenuw.so.5
|
||||
usr/lib32/libmenuw.so.5.9
|
||||
lib32/libncurses.so.5
|
||||
lib32/libncurses.so.5.9
|
||||
lib32/libncursesw.so.5
|
||||
lib32/libncursesw.so.5.9
|
||||
usr/lib32/libncurses.so
|
||||
usr/lib32/libncursesw.so
|
||||
usr/lib32/libpanel.so
|
||||
usr/lib32/libpanel.so.5
|
||||
usr/lib32/libpanel.so.5.9
|
||||
usr/lib32/libpanelw.so
|
||||
usr/lib32/libpanelw.so.5
|
||||
usr/lib32/libpanelw.so.5.9
|
||||
usr/lib32/pkgconfig/form.pc
|
||||
usr/lib32/pkgconfig/formw.pc
|
||||
usr/lib32/pkgconfig/ncurses++.pc
|
||||
usr/lib32/pkgconfig/ncurses++w.pc
|
||||
usr/lib32/pkgconfig/menuw.pc
|
||||
usr/lib32/pkgconfig/menu.pc
|
||||
usr/lib32/pkgconfig/ncurses.pc
|
||||
usr/lib32/pkgconfig/ncursesw.pc
|
||||
usr/lib32/pkgconfig/panel.pc
|
||||
usr/lib32/pkgconfig/panelw.pc
|
||||
usr/lib32/terminfo
|
||||
lib32/libgpm.so.1
|
||||
lib32/libgpm.so.1.20.0
|
||||
usr/lib32/libgpm.so
|
||||
usr/lib32/libgmp.so
|
||||
usr/lib32/libgmp.so.10
|
||||
usr/lib32/libgmp.so.10.1.3
|
||||
usr/lib32/libgmpxx.so
|
||||
usr/lib32/libgmpxx.so.4
|
||||
usr/lib32/libgmpxx.so.4.3.3
|
||||
lib32/libpcre.so.1
|
||||
lib32/libpcre.so.1.2.1
|
||||
usr/lib32/libpcre.so
|
||||
usr/lib32/libpcrecpp.so
|
||||
usr/lib32/libpcrecpp.so.0
|
||||
usr/lib32/libpcrecpp.so.0.0.0
|
||||
usr/lib32/libpcreposix.so
|
||||
usr/lib32/libpcreposix.so.0
|
||||
usr/lib32/libpcreposix.so.0.0.2
|
||||
usr/lib32/pkgconfig/libpcre.pc
|
||||
usr/lib32/pkgconfig/libpcrecpp.pc
|
||||
usr/lib32/pkgconfig/libpcreposix.pc
|
||||
usr/lib32/dbus-1.0/include/dbus/dbus-arch-deps.h
|
||||
usr/lib32/libdbus-1.so
|
||||
usr/lib32/libdbus-1.so.3
|
||||
usr/lib32/libdbus-1.so.3.7.6
|
||||
usr/lib32/pkgconfig/dbus-1.pc
|
||||
lib32/libwrap.so.0
|
||||
lib32/libwrap.so.0.7.6
|
||||
usr/lib32/libwrap.so
|
||||
usr/lib32/libgdbm.so
|
||||
usr/lib32/libgdbm_compat.so
|
||||
usr/lib32/libjson-c.so
|
||||
usr/lib32/libjson-c.so.2
|
||||
usr/lib32/libjson-c.so.2.0.1
|
||||
usr/lib32/pkgconfig/json-c.pc
|
||||
usr/lib32/libxml2.so
|
||||
usr/lib32/libxml2.so.2
|
||||
usr/lib32/libxml2.so.2.9.1
|
||||
usr/lib32/pkgconfig/libxml-2.0.pc
|
||||
usr/lib32/libdbus-glib-1.so
|
||||
usr/lib32/libdbus-glib-1.so.2
|
||||
usr/lib32/libdbus-glib-1.so.2.2.2
|
||||
usr/lib32/pkgconfig/dbus-glib-1.pc
|
||||
lib32/libreadline.so.6
|
||||
lib32/libreadline.so.6.2
|
||||
usr/lib32/libreadline.so
|
||||
lib32/libhistory.so.6
|
||||
lib32/libhistory.so.6.2
|
||||
usr/lib32/libhistory.so
|
||||
usr/lib32/libmng.so
|
||||
usr/lib32/libasprintf.so
|
||||
usr/lib32/libasprintf.so.0
|
||||
usr/lib32/libasprintf.so.0.0.0
|
||||
usr/lib32/libgpg-error.so
|
||||
usr/lib32/libgpg-error.so.0
|
||||
usr/lib32/libgpg-error.so.0.10.0
|
||||
usr/lib32/libsqlite3.so
|
||||
usr/lib32/libsqlite3.so.0
|
||||
usr/lib32/libsqlite3.so.0.8.6
|
||||
usr/lib32/pkgconfig/sqlite3.pc
|
||||
usr/lib32/libnettle.so
|
||||
usr/lib32/libnettle.so.4
|
||||
usr/lib32/libnettle.so.4.7
|
||||
usr/lib32/pkgconfig/nettle.pc
|
||||
usr/lib32/libhogweed.so
|
||||
usr/lib32/libhogweed.so.2
|
||||
usr/lib32/libhogweed.so.2.5
|
||||
usr/lib32/pkgconfig/hogweed.pc
|
||||
usr/lib32/libtasn1.so
|
||||
# Uncomment when gnutls is converted to multilib; bug #493166
|
||||
# usr/lib32/libtasn1.so.3
|
||||
# usr/lib32/libtasn1.so.3.2.0
|
||||
usr/lib32/pkgconfig/libtasn1.pc
|
||||
usr/lib32/libgcrypt.so
|
||||
usr/lib32/libgcrypt.so.11
|
||||
usr/lib32/libgcrypt.so.11.8.2
|
||||
usr/lib32/liblzo2.so
|
||||
usr/lib32/liblzo2.so.2
|
||||
usr/lib32/liblzo2.so.2.0.0
|
||||
usr/lib32/libxslt.so
|
||||
usr/lib32/libxslt.so.1
|
||||
usr/lib32/libxslt.so.1.1.28
|
||||
usr/lib32/libexslt.so
|
||||
usr/lib32/libexslt.so.0
|
||||
usr/lib32/libexslt.so.0.8.17
|
||||
usr/lib32/pkgconfig/libxslt.pc
|
||||
usr/lib32/pkgconfig/libexslt.pc
|
||||
usr/lib32/libmagic.so
|
||||
usr/lib32/libmagic.so.1
|
||||
usr/lib32/libmagic.so.1.0.0
|
||||
lib32/liblzma.so.5
|
||||
lib32/liblzma.so.5.0.5
|
||||
usr/lib32/liblzma.so
|
||||
usr/lib32/pkgconfig/liblzma.pc
|
||||
usr/lib32/libgif.so
|
||||
usr/lib32/libgif.so.4
|
||||
usr/lib32/libslang.so
|
||||
usr/lib32/libslang.so.2
|
||||
usr/lib32/libslang.so.2.2.4
|
||||
usr/lib32/pkgconfig/slang.pc
|
||||
usr/lib32/slang/v2/modules/csv-module.so
|
||||
usr/lib32/slang/v2/modules/fcntl-module.so
|
||||
usr/lib32/slang/v2/modules/fork-module.so
|
||||
usr/lib32/slang/v2/modules/iconv-module.so
|
||||
usr/lib32/slang/v2/modules/pcre-module.so
|
||||
usr/lib32/slang/v2/modules/png-module.so
|
||||
usr/lib32/slang/v2/modules/rand-module.so
|
||||
usr/lib32/slang/v2/modules/select-module.so
|
||||
usr/lib32/slang/v2/modules/slsmg-module.so
|
||||
usr/lib32/slang/v2/modules/socket-module.so
|
||||
usr/lib32/slang/v2/modules/sysconf-module.so
|
||||
usr/lib32/slang/v2/modules/termios-module.so
|
||||
usr/lib32/slang/v2/modules/varray-module.so
|
||||
usr/lib32/slang/v2/modules/zlib-module.so
|
||||
lib32/libacl.so.1
|
||||
lib32/libacl.so.1.1.0
|
||||
lib32/libblkid.so.1
|
||||
lib32/libblkid.so.1.1.0
|
||||
lib32/libmount.so.1
|
||||
lib32/libmount.so.1.1.0
|
||||
lib32/libuuid.so.1
|
||||
lib32/libuuid.so.1.3.0
|
||||
usr/lib32/libacl.so
|
||||
usr/lib32/libblkid.so
|
||||
usr/lib32/libltdl.so
|
||||
usr/lib32/libltdl.so.7
|
||||
usr/lib32/libltdl.so.7.3.0
|
||||
usr/lib32/libmount.so
|
||||
usr/lib32/libuuid.so
|
||||
usr/lib32/pkgconfig/blkid.pc
|
||||
usr/lib32/pkgconfig/mount.pc
|
||||
usr/lib32/pkgconfig/uuid.pc
|
||||
usr/lib32/libcrypto.so
|
||||
usr/lib32/libcrypto.so.1.0.0
|
||||
usr/lib32/libssl.so
|
||||
usr/lib32/libssl.so.1.0.0
|
||||
usr/lib32/pkgconfig/libcrypto.pc
|
||||
usr/lib32/pkgconfig/libssl.pc
|
||||
usr/lib32/pkgconfig/openssl.pc
|
||||
usr/lib32/libgnutls-extra.so
|
||||
usr/lib32/libgnutls-extra.so.26
|
||||
usr/lib32/libgnutls-extra.so.26.22.6
|
||||
usr/lib32/libgnutls-openssl.so
|
||||
usr/lib32/libgnutls-openssl.so.27
|
||||
usr/lib32/libgnutls-openssl.so.27.0.0
|
||||
usr/lib32/libgnutls.so
|
||||
usr/lib32/libgnutls.so.26
|
||||
usr/lib32/libgnutls.so.26.22.6
|
||||
usr/lib32/libgnutlsxx.so
|
||||
usr/lib32/libgnutlsxx.so.27
|
||||
usr/lib32/libgnutlsxx.so.27.0.0
|
||||
usr/lib32/pkgconfig/gnutls-extra.pc
|
||||
usr/lib32/pkgconfig/gnutls.pc
|
||||
usr/lib32/libcups.so
|
||||
usr/lib32/libcups.so.2
|
||||
usr/lib32/libcupscgi.so
|
||||
usr/lib32/libcupscgi.so.1
|
||||
usr/lib32/libcupsimage.so
|
||||
usr/lib32/libcupsimage.so.2
|
||||
usr/lib32/libcupsmime.so
|
||||
usr/lib32/libcupsmime.so.1
|
||||
usr/lib32/libcupsppdc.so
|
||||
usr/lib32/libcupsppdc.so.1
|
||||
usr/lib32/libtalloc.so
|
||||
usr/lib32/libtalloc.so.2
|
||||
usr/lib32/libtalloc.so.2.1.0
|
||||
usr/lib32/pkgconfig/talloc.pc
|
||||
lib32/libkeyutils.so.1
|
||||
lib32/libkeyutils.so.1.4
|
||||
usr/lib32/libkeyutils.so
|
||||
usr/lib32/krb5/plugins/kdb/db2.so
|
||||
usr/lib32/krb5/plugins/preauth/pkinit.so
|
||||
usr/lib32/libgssapi_krb5.so
|
||||
usr/lib32/libgssapi_krb5.so.2
|
||||
usr/lib32/libgssapi_krb5.so.2.2
|
||||
usr/lib32/libgssrpc.so
|
||||
usr/lib32/libgssrpc.so.4
|
||||
usr/lib32/libgssrpc.so.4.1
|
||||
usr/lib32/libk5crypto.so
|
||||
usr/lib32/libk5crypto.so.3
|
||||
usr/lib32/libk5crypto.so.3.1
|
||||
usr/lib32/libkadm5clnt.so
|
||||
usr/lib32/libkadm5clnt_mit.so
|
||||
usr/lib32/libkadm5clnt_mit.so.8
|
||||
usr/lib32/libkadm5clnt_mit.so.8.0
|
||||
usr/lib32/libkadm5srv.so
|
||||
usr/lib32/libkadm5srv_mit.so
|
||||
usr/lib32/libkadm5srv_mit.so.8
|
||||
usr/lib32/libkadm5srv_mit.so.8.0
|
||||
usr/lib32/libkdb5.so
|
||||
usr/lib32/libkdb5.so.7
|
||||
usr/lib32/libkdb5.so.7.0
|
||||
usr/lib32/libkrb5.so
|
||||
usr/lib32/libkrb5.so.3
|
||||
usr/lib32/libkrb5.so.3.3
|
||||
usr/lib32/libkrb5support.so
|
||||
usr/lib32/libkrb5support.so.0
|
||||
usr/lib32/libkrb5support.so.0.1
|
||||
usr/lib32/libdb-4.8.so
|
||||
usr/lib32/libdb.so
|
||||
usr/lib32/libdb_cxx-4.8.so
|
||||
usr/lib32/libdb_cxx.so
|
||||
usr/lib32/libdb_stl-4.8.so
|
||||
usr/lib32/libdb_stl.so
|
||||
usr/lib32/liblber-2.4.so.2
|
||||
usr/lib32/liblber-2.4.so.2.9.1
|
||||
usr/lib32/liblber.so
|
||||
usr/lib32/libldap-2.4.so.2
|
||||
usr/lib32/libldap-2.4.so.2.9.1
|
||||
usr/lib32/libldap.so
|
||||
usr/lib32/libldap_r-2.4.so.2
|
||||
usr/lib32/libldap_r-2.4.so.2.9.1
|
||||
usr/lib32/libldap_r.so
|
||||
usr/lib32/libcrypto.so.0.9.8
|
||||
usr/lib32/libssl.so.0.9.8
|
||||
usr/lib32/libidn.so
|
||||
usr/lib32/libidn.so.11
|
||||
usr/lib32/libidn.so.11.6.11
|
||||
usr/lib32/pkgconfig/libidn.pc
|
||||
usr/lib32/libnl-3.so
|
||||
usr/lib32/libnl-3.so.200
|
||||
usr/lib32/libnl-3.so.200.18.0
|
||||
usr/lib32/libnl-genl-3.so
|
||||
usr/lib32/libnl-genl-3.so.200
|
||||
usr/lib32/libnl-genl-3.so.200.18.0
|
||||
usr/lib32/libnl-idiag-3.so
|
||||
usr/lib32/libnl-idiag-3.so.200
|
||||
usr/lib32/libnl-idiag-3.so.200.18.0
|
||||
usr/lib32/libnl-nf-3.so
|
||||
usr/lib32/libnl-nf-3.so.200
|
||||
usr/lib32/libnl-nf-3.so.200.18.0
|
||||
usr/lib32/libnl-route-3.so
|
||||
usr/lib32/libnl-route-3.so.200
|
||||
usr/lib32/libnl-route-3.so.200.18.0
|
||||
usr/lib32/pkgconfig/libnl-3.0.pc
|
||||
usr/lib32/pkgconfig/libnl-genl-3.0.pc
|
||||
usr/lib32/pkgconfig/libnl-nf-3.0.pc
|
||||
usr/lib32/pkgconfig/libnl-route-3.0.pc
|
||||
usr/lib32/libart_lgpl_2.so
|
||||
usr/lib32/libart_lgpl_2.so.2
|
||||
usr/lib32/libart_lgpl_2.so.2.3.21
|
||||
usr/lib32/pkgconfig/libart-2.0.pc
|
||||
lib32/libcrack.so.2
|
||||
lib32/libcrack.so.2.9.0
|
||||
usr/lib32/libcrack.so
|
||||
lib32/libtirpc.so.1
|
||||
lib32/libtirpc.so.1.0.10
|
||||
usr/lib32/libtirpc.so
|
||||
usr/lib32/pkgconfig/libtirpc.pc
|
||||
lib32/libpam_misc.so
|
||||
lib32/libpam_misc.so.0.82.0
|
||||
lib32/libpam.so.0
|
||||
lib32/libpamc.so
|
||||
lib32/libpamc.so.0
|
||||
lib32/libpamc.so.0.82.1
|
||||
lib32/libpam.so.0.83.1
|
||||
lib32/libpam.so
|
||||
lib32/libpam_misc.so.0
|
||||
lib32/security/pam_access.so
|
||||
lib32/security/pam_cracklib.so
|
||||
lib32/security/pam_debug.so
|
||||
lib32/security/pam_deny.so
|
||||
lib32/security/pam_echo.so
|
||||
lib32/security/pam_env.so
|
||||
lib32/security/pam_exec.so
|
||||
lib32/security/pam_faildelay.so
|
||||
lib32/security/pam_filter.so
|
||||
lib32/security/pam_filter/upperLOWER
|
||||
lib32/security/pam_ftp.so
|
||||
lib32/security/pam_group.so
|
||||
lib32/security/pam_issue.so
|
||||
lib32/security/pam_keyinit.so
|
||||
lib32/security/pam_lastlog.so
|
||||
lib32/security/pam_limits.so
|
||||
lib32/security/pam_listfile.so
|
||||
lib32/security/pam_localuser.so
|
||||
lib32/security/pam_loginuid.so
|
||||
lib32/security/pam_mail.so
|
||||
lib32/security/pam_mkhomedir.so
|
||||
lib32/security/pam_motd.so
|
||||
lib32/security/pam_namespace.so
|
||||
lib32/security/pam_nologin.so
|
||||
lib32/security/pam_permit.so
|
||||
lib32/security/pam_pwhistory.so
|
||||
lib32/security/pam_rhosts.so
|
||||
lib32/security/pam_rootok.so
|
||||
lib32/security/pam_securetty.so
|
||||
lib32/security/pam_shells.so
|
||||
lib32/security/pam_stress.so
|
||||
lib32/security/pam_succeed_if.so
|
||||
lib32/security/pam_tally.so
|
||||
lib32/security/pam_tally2.so
|
||||
lib32/security/pam_time.so
|
||||
lib32/security/pam_timestamp.so
|
||||
lib32/security/pam_umask.so
|
||||
lib32/security/pam_unix.so
|
||||
lib32/security/pam_userdb.so
|
||||
lib32/security/pam_warn.so
|
||||
lib32/security/pam_wheel.so
|
||||
lib32/security/pam_xauth.so
|
||||
usr/lib32/libpam.so
|
||||
usr/lib32/libpam_misc.so
|
||||
usr/lib32/libpamc.so
|
||||
lib32/libnss_ldap.so.2
|
||||
lib32/libnss_ldap-2.17.so
|
||||
usr/lib32/libnss_ldap.so.2
|
||||
lib32/security/pam_ldap.so
|
||||
usr/lib32/libnss_mdns.so.2
|
||||
usr/lib32/libnss_mdns4.so.2
|
||||
usr/lib32/libnss_mdns4_minimal.so.2
|
||||
usr/lib32/libnss_mdns6.so.2
|
||||
usr/lib32/libnss_mdns6_minimal.so.2
|
||||
usr/lib32/libnss_mdns_minimal.so.2
|
||||
usr/lib32/libsoup-2.4.so
|
||||
usr/lib32/libsoup-2.4.so.1
|
||||
usr/lib32/libsoup-2.4.so.1.7.0
|
||||
usr/lib32/pkgconfig/libsoup-2.4.pc
|
||||
usr/lib32/libneon.so
|
||||
usr/lib32/libneon.so.27
|
||||
usr/lib32/libneon.so.27.3.0
|
||||
usr/lib32/pkgconfig/neon.pc
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/gourmet/gourmet-0.17.4.ebuild,v 1.1 2014/06/09 00:28:08 nixphoeni Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
# Parallel builds fail when building translations
|
||||
DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Recipe Organizer and Shopping List Generator for Gnome"
|
||||
HOMEPAGE="http://thinkle.github.com/gourmet/"
|
||||
SRC_URI="https://github.com/thinkle/gourmet/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="-i18n -ipython pdf print spell sound web"
|
||||
|
||||
RDEPEND=">=dev-python/pygtk-2.22.0:2[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-0.7.9-r1[${PYTHON_USEDEP}]
|
||||
virtual/python-imaging[${PYTHON_USEDEP}]
|
||||
i18n? ( dev-python/elib-intl[${PYTHON_USEDEP}] )
|
||||
ipython? ( >=dev-python/ipython-0.13.2[${PYTHON_USEDEP}] )
|
||||
pdf? ( >=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}] )
|
||||
print? ( >=dev-python/reportlab-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-poppler-0.12.1-r4[${PYTHON_USEDEP}] )
|
||||
spell? ( dev-python/gtkspell-python )
|
||||
sound? ( >=dev-python/gst-python-0.10.22-r1:0.10[${PYTHON_USEDEP}] )
|
||||
web? ( >=dev-python/beautifulsoup-3.2.1-r1:python-2[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
>=dev-python/python-distutils-extra-2.37-r1[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=( ${FILESDIR}/no-docs-0.17.0.patch )
|
||||
DOCS=( ChangeLog CODING.md FAQ README.md TESTS TODO.md )
|
||||
|
||||
python_prepare_all() {
|
||||
# Modify these lines before copying them out
|
||||
sed -i "s:base_dir = '..':base_dir = '/usr/share':" gourmet/settings.py || die
|
||||
sed -i 's:data_dir = os.path.join(base_dir, "gourmet", "data"):data_dir = os.path.join(base_dir, "gourmet"):' gourmet/settings.py || die
|
||||
sed -i 's:\(icon_base = os.path.join(data_dir,\) "icons",:\1 "gourmet",:' gourmet/settings.py || die
|
||||
sed -i 's:\(locale_base = os.path.join(base_dir, "gourmet",\) "build",:\1:' gourmet/settings.py || die
|
||||
sed -i 's:\(plugin_base = os.path.join(base_dir,\) "gourmet", "build", "share",:\1:' gourmet/settings.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_prepare() {
|
||||
distutils-r1_python_prepare
|
||||
sed -i "s:\(lib_dir = \)'../gourmet':\1'$(python_get_sitedir)':" gourmet/settings.py || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
doman gourmet.1
|
||||
}
|
@ -0,0 +1,110 @@
|
||||
--- a/po/cs.po
|
||||
+++ b/po/cs.po
|
||||
@@ -9,6 +9,7 @@
|
||||
"PO-Revision-Date: 2005-10-11 16:59+0200\n"
|
||||
"Last-Translator: Katarina Machalkova <bubli@bubli.org>\n"
|
||||
"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
|
||||
+"Language: cs\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=ISO-8859-2\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
--- a/po/de.po
|
||||
+++ b/po/de.po
|
||||
@@ -10,6 +10,7 @@
|
||||
"PO-Revision-Date: 1999-04-21 01:50+0200\n"
|
||||
"Last-Translator: René van Bevern <rvb@pro-linux.de>\n"
|
||||
"Language-Team: German <de@li.org>\n"
|
||||
+"Language: de\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=ISO-8859-1\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
--- a/po/eu.po
|
||||
+++ b/po/eu.po
|
||||
@@ -12,6 +12,7 @@
|
||||
"PO-Revision-Date: 2005-09-28 23:14+0200\n"
|
||||
"Last-Translator: Piarres Beobide <pi@beobide.net>\n"
|
||||
"Language-Team: librezale.org <librezale@librezale.org>\n"
|
||||
+"Language: eu\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
--- a/po/ja.po
|
||||
+++ b/po/ja.po
|
||||
@@ -10,6 +10,7 @@
|
||||
"PO-Revision-Date: 2001-11-21 17:42+0900\n"
|
||||
"Last-Translator: Masayuki Hatta <mhatta@gnu.org>\n"
|
||||
"Language-Team: Japanese <ja@li.org>\n"
|
||||
+"Language: ja\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=euc-jp\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
--- a/po/nl.po
|
||||
+++ b/po/nl.po
|
||||
@@ -11,6 +11,7 @@
|
||||
"PO-Revision-Date: 2005-09-01 21:21+0200\n"
|
||||
"Last-Translator: Bas Zoetekouw <bas@debian.org>\n"
|
||||
"Language-Team: Dutch <nl@li.org>\n"
|
||||
+"Language: nl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=ISO-8859-15\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
--- a/po/pl.po
|
||||
+++ b/po/pl.po
|
||||
@@ -10,6 +10,7 @@
|
||||
"PO-Revision-Date: 2005-09-29 21:59+0200\n"
|
||||
"Last-Translator: Krzysztof Krzy¿aniak (eloy) <eloy@debian.org>\n"
|
||||
"Language-Team:\n"
|
||||
+"Language: pl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=ISO-8859-2\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
--- a/po/pt_BR.po
|
||||
+++ b/po/pt_BR.po
|
||||
@@ -13,6 +13,7 @@
|
||||
"Last-Translator: Felipe Augusto van de Wiel (faw) <felipe@cathedrallabs."
|
||||
"org>\n"
|
||||
"Language-Team: l10n portuguese <debian-l10n-portuguese@lists.debian.org>\n"
|
||||
+"Language: pt_BR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
--- a/po/ro.po
|
||||
+++ b/po/ro.po
|
||||
@@ -11,6 +11,7 @@
|
||||
"PO-Revision-Date: 2005-09-30 03:42+0300\n"
|
||||
"Last-Translator: Eddy Petrisor <eddy.petrisor@gmail.com>\n"
|
||||
"Language-Team: Romanian <debian-l10n-romanian@lists.debian.org>\n"
|
||||
+"Language: ro\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
--- a/po/ru.po
|
||||
+++ b/po/ru.po
|
||||
@@ -11,6 +11,7 @@
|
||||
"PO-Revision-Date: 2005-10-01 10:47+0400\n"
|
||||
"Last-Translator: Yuri Kozlov <kozlov.y@gmail.com>\n"
|
||||
"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
|
||||
+"Language: ru\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
--- a/po/sv.po
|
||||
+++ b/po/sv.po
|
||||
@@ -11,6 +11,7 @@
|
||||
"PO-Revision-Date: 2005-10-06 12:00+0200\n"
|
||||
"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
|
||||
"Language-Team: Swedish <sv@li.org>\n"
|
||||
+"Language: sv\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=iso-8859-1\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
--- a/po/vi.po
|
||||
+++ b/po/vi.po
|
||||
@@ -11,6 +11,7 @@
|
||||
"PO-Revision-Date: 2005-12-21 15:11+1030\n"
|
||||
"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
|
||||
"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
|
||||
+"Language: vi\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
@ -1,3 +1 @@
|
||||
DIST apache-couchdb-1.4.0.tar.gz 3422107 SHA256 bdbb9c35c2738ae0fe63280bd818a50443253f3db2184f8b9c386e5615ae02b5 SHA512 558009ec11befbb8b18541f19d3e31b1321e4c6413b66c7142bf67cd40feea33a3c32347a91ab3bf30cdd455931831794c6dd21085fff9370e3317780279c877 WHIRLPOOL 517fe6d14b1fd8e83c9b9e75b3c85c1730defe03f51f5ce6edb0138460f02bd6002509209d1cc0186d021f2c8b307b320814dbe82965e7271a472cce4671ed7c
|
||||
DIST apache-couchdb-1.5.0.tar.gz 11594978 SHA256 abbdb2a6433124a4a4b902856f6a8a070d53bf7a55faa7aa8b6feb7127638fef SHA512 557f712cf927b8713285e716a9dce624960316af0c481c98553c12b310fc228d30b585d25bf2c3e3debde5b25fc3d94dbbedaf79a7ae480e92a847abff73c2de WHIRLPOOL cecc476c7266623a823d4b2aa1641f9b15c43ac012859483fc97f0aae6ec7afcd716baa27aac455d0eafbe80b042ce0329327a72e3df90af1eb920e70e870d86
|
||||
DIST apache-couchdb-1.5.1.tar.gz 11601057 SHA256 d9d5dcc1c16633cef45f94d3f04ae72eb08390c75c2bc95f8be2c09fc46d4d47 SHA512 0837bc95da6b0cd6784915133c07d1dc1c965bf23f5e768794e7a46ae70d0947b9fc008b03c48a79893dfb7b0de0ea5e580f59617399c623618ceac6b1106da6 WHIRLPOOL 025058bcc3b08fd1b318b4a6952394a7334313ce6ba2d9a285a2a27129638103d2dc1c03d7be4e2b0a7f848b210eb7172257196c3613c1ff430a59e2d3b0d63b
|
||||
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/couchdb-1.4.0.ebuild,v 1.5 2014/02/02 10:31:24 swift Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib pax-utils user
|
||||
|
||||
DESCRIPTION="Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database."
|
||||
HOMEPAGE="http://couchdb.apache.org/"
|
||||
SRC_URI="mirror://apache/couchdb/source/${PV}/apache-${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="selinux test"
|
||||
|
||||
RDEPEND=">=dev-libs/icu-4.3.1
|
||||
dev-lang/erlang[ssl]
|
||||
>=dev-libs/openssl-0.9.8j:0
|
||||
>=net-misc/curl-7.18.2
|
||||
<dev-lang/spidermonkey-1.8.7
|
||||
selinux? ( sec-policy/selinux-couchdb )"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
RESTRICT=test
|
||||
|
||||
S="${WORKDIR}/apache-${P}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup couchdb
|
||||
enewuser couchdb -1 -1 /var/lib/couchdb couchdb
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i ./src/couchdb/priv/Makefile.* -e 's|-Werror||g'
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-erlang=/usr/lib/erlang/usr/include \
|
||||
--localstatedir=/var \
|
||||
--with-js-lib=/usr/lib
|
||||
# bug 296609, upstream bug #COUCHDB-621
|
||||
sed -e "s#localdocdir = /usr/share/doc/couchdb#localdocdir = /usr/share/doc/${PF}#" -i Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
# bug 442616
|
||||
pax-mark mr src/couchdb/priv/couchjs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake distcheck
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
fowners couchdb:couchdb \
|
||||
/var/lib/couchdb \
|
||||
/var/log/couchdb
|
||||
|
||||
for f in "${D}"/etc/couchdb/*.ini ; do
|
||||
fowners root:couchdb "${f#${D}}"
|
||||
fperms 660 "${f#${D}}"
|
||||
done
|
||||
fperms 664 /etc/couchdb/default.ini
|
||||
|
||||
newinitd "${FILESDIR}/couchdb.init-4" couchdb
|
||||
newconfd "${FILESDIR}/couchdb.conf-2" couchdb
|
||||
|
||||
sed -i -e "s:LIBDIR:$(get_libdir):" "${D}/etc/conf.d/couchdb"
|
||||
}
|
@ -1,75 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/couchdb/couchdb-1.5.0.ebuild,v 1.7 2014/06/07 19:50:48 djc Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib pax-utils user
|
||||
|
||||
DESCRIPTION="Apache CouchDB is a distributed, fault-tolerant and schema-free document-oriented database."
|
||||
HOMEPAGE="http://couchdb.apache.org/"
|
||||
SRC_URI="mirror://apache/couchdb/source/${PV}/apache-${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="selinux test"
|
||||
|
||||
RDEPEND=">=dev-libs/icu-4.3.1:=
|
||||
<dev-lang/erlang-17[ssl]
|
||||
>=dev-libs/openssl-0.9.8j:0
|
||||
>=net-misc/curl-7.18.2
|
||||
<dev-lang/spidermonkey-1.8.7
|
||||
selinux? ( sec-policy/selinux-couchdb )"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
RESTRICT=test
|
||||
|
||||
S="${WORKDIR}/apache-${P}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup couchdb
|
||||
enewuser couchdb -1 -1 /var/lib/couchdb couchdb
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i ./src/couchdb/priv/Makefile.* -e 's|-Werror||g'
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-erlang=/usr/lib/erlang/usr/include \
|
||||
--localstatedir=/var \
|
||||
--with-js-lib=/usr/lib
|
||||
# bug 296609, upstream bug #COUCHDB-621
|
||||
sed -e "s#localdocdir = /usr/share/doc/couchdb#localdocdir = /usr/share/doc/${PF}#" -i Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
# bug 442616
|
||||
pax-mark mr src/couchdb/priv/couchjs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake distcheck
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
fowners couchdb:couchdb \
|
||||
/var/lib/couchdb \
|
||||
/var/log/couchdb
|
||||
|
||||
for f in "${D}"/etc/couchdb/*.ini ; do
|
||||
fowners root:couchdb "${f#${D}}"
|
||||
fperms 660 "${f#${D}}"
|
||||
done
|
||||
fperms 664 /etc/couchdb/default.ini
|
||||
|
||||
newinitd "${FILESDIR}/couchdb.init-4" couchdb
|
||||
newconfd "${FILESDIR}/couchdb.conf-2" couchdb
|
||||
|
||||
sed -i -e "s:LIBDIR:$(get_libdir):" "${D}/etc/conf.d/couchdb"
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
# Options for CouchDB
|
||||
|
||||
EXEC="/usr/bin/couchdb"
|
||||
COUCHDB_USER="couchdb"
|
||||
COUCHDB_PID_FILE="/var/run/couchdb/couchdb.pid"
|
||||
COUCHDB_STDOUT_FILE="/dev/null"
|
||||
COUCHDB_STDERR_FILE="/dev/null"
|
||||
#COUCHDB_RESPAWN_TIMEOUT=
|
||||
#COUCHDB_OPTIONS=
|
||||
|
||||
if [ -e /usr/LIBDIR/erlang/erts-*/bin/beam.smp ]; then
|
||||
COUCHDB_BEAM="beam.smp"
|
||||
else
|
||||
COUCHDB_BEAM="beam"
|
||||
fi
|
@ -1,47 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 2008-2013 Dirkjan Ochtman
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
|
||||
args="-b"
|
||||
if test -n "$COUCHDB_STDOUT_FILE"; then
|
||||
args="$args -o $COUCHDB_STDOUT_FILE"
|
||||
fi
|
||||
if test -n "$COUCHDB_STDERR_FILE"; then
|
||||
args="$args -e $COUCHDB_STDERR_FILE"
|
||||
fi
|
||||
if test -n "$COUCHDB_RESPAWN_TIMEOUT"; then
|
||||
args="$args -r $COUCHDB_RESPAWN_TIMEOUT"
|
||||
fi
|
||||
if test -n "$COUCHDB_OPTIONS"; then
|
||||
args="$args $COUCHDB_OPTIONS"
|
||||
fi
|
||||
if test -n "$COUCHDB_PID_FILE"; then
|
||||
args="$args -p $COUCHDB_PID_FILE"
|
||||
else
|
||||
echo "* ERROR: COUCHDB_PID_FILE must be set"
|
||||
return -1
|
||||
fi
|
||||
if test -z "$COUCHDB_USER"; then
|
||||
echo "* ERROR: COUCHDB_USER must be set"
|
||||
return -1
|
||||
fi
|
||||
|
||||
start-stop-daemon --start --exec ${EXEC} --name ${COUCHDB_BEAM} \
|
||||
--user ${COUCHDB_USER} --chuid ${COUCHDB_USER} --pidfile ${COUCHDB_PID_FILE} -- $args
|
||||
|
||||
eend $? "Failed to start ${SVCNAME}"
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --stop --exec ${EXEC} --name ${COUCHDB_BEAM} \
|
||||
--pidfile ${COUCHDB_PID_FILE}
|
||||
eend $? "Failed to stop ${SVCNAME}"
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Dirkjan Ochtman
|
||||
# Distributed under the terms of the Apache License, Version 2.0
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
|
||||
args="-b"
|
||||
if test -n "$COUCHDB_STDOUT_FILE"; then
|
||||
args="$args -o $COUCHDB_STDOUT_FILE"
|
||||
fi
|
||||
if test -n "$COUCHDB_STDERR_FILE"; then
|
||||
args="$args -e $COUCHDB_STDERR_FILE"
|
||||
fi
|
||||
if test -n "$COUCHDB_RESPAWN_TIMEOUT"; then
|
||||
args="$args -r $COUCHDB_RESPAWN_TIMEOUT"
|
||||
fi
|
||||
if test -n "$COUCHDB_OPTIONS"; then
|
||||
args="$args $COUCHDB_OPTIONS"
|
||||
fi
|
||||
if test -n "$COUCHDB_PID_FILE"; then
|
||||
args="$args -p $COUCHDB_PID_FILE"
|
||||
else
|
||||
echo "* ERROR: COUCHDB_PID_FILE must be set"
|
||||
return -1
|
||||
fi
|
||||
if test -z "$COUCHDB_USER"; then
|
||||
echo "* ERROR: COUCHDB_USER must be set"
|
||||
return -1
|
||||
fi
|
||||
|
||||
start-stop-daemon --start --exec ${EXEC} --name ${COUCHDB_BEAM} \
|
||||
--user ${COUCHDB_USER} --pidfile ${COUCHDB_PID_FILE} -- $args
|
||||
|
||||
eend $? "Failed to start ${SVCNAME}"
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --stop --exec ${EXEC} --name ${COUCHDB_BEAM} \
|
||||
--pidfile ${COUCHDB_PID_FILE}
|
||||
eend $? "Failed to stop ${SVCNAME}"
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Dirkjan Ochtman
|
||||
# Distributed under the terms of the Apache License, Version 2.0
|
||||
|
||||
pidfile=${COUCHDB_PID_FILE}
|
||||
command=${EXEC:-/usr/bin/couchdb}
|
||||
command_args="-b -o ${COUCHDB_STDOUT_FILE} -e ${COUCHDB_STDERR_FILE} -p ${pidfile} ${COUCHDB_OPTIONS}"
|
||||
|
||||
user=${COUCHDB_USER}
|
||||
group=${COUCHDB_GROUP}
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath -q -d -m 0755 -o couchdb:couchdb /var/run/couchdb
|
||||
}
|
@ -1,147 +0,0 @@
|
||||
# /etc/mysql/my.cnf: The global mysql configuration file.
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/files/my.cnf-4.1,v 1.1 2010/03/15 18:47:39 robbat2 Exp $
|
||||
|
||||
# The following options will be passed to all MySQL clients
|
||||
[client]
|
||||
#password = your_password
|
||||
port = 3306
|
||||
socket = /var/run/mysqld/mysqld.sock
|
||||
|
||||
[mysql]
|
||||
character-sets-dir=/usr/share/mysql/charsets
|
||||
default-character-set=utf8
|
||||
|
||||
[mysqladmin]
|
||||
character-sets-dir=/usr/share/mysql/charsets
|
||||
default-character-set=utf8
|
||||
|
||||
[mysqlcheck]
|
||||
character-sets-dir=/usr/share/mysql/charsets
|
||||
default-character-set=utf8
|
||||
|
||||
[mysqldump]
|
||||
character-sets-dir=/usr/share/mysql/charsets
|
||||
default-character-set=utf8
|
||||
|
||||
[mysqlimport]
|
||||
character-sets-dir=/usr/share/mysql/charsets
|
||||
default-character-set=utf8
|
||||
|
||||
[mysqlshow]
|
||||
character-sets-dir=/usr/share/mysql/charsets
|
||||
default-character-set=utf8
|
||||
|
||||
[myisamchk]
|
||||
character-sets-dir=/usr/share/mysql/charsets
|
||||
|
||||
[myisampack]
|
||||
character-sets-dir=/usr/share/mysql/charsets
|
||||
|
||||
# use [safe_mysqld] with mysql-3
|
||||
[mysqld_safe]
|
||||
err-log = /var/log/mysql/mysql.err
|
||||
|
||||
# add a section [mysqld-4.1] or [mysqld-5.0] for specific configurations
|
||||
[mysqld]
|
||||
character-set-server = utf8
|
||||
default-character-set = utf8
|
||||
user = mysql
|
||||
port = 3306
|
||||
socket = /var/run/mysqld/mysqld.sock
|
||||
pid-file = /var/run/mysqld/mysqld.pid
|
||||
log-error = /var/log/mysql/mysqld.err
|
||||
basedir = /usr
|
||||
datadir = @DATADIR@
|
||||
skip-locking
|
||||
key_buffer = 16M
|
||||
max_allowed_packet = 1M
|
||||
table_cache = 64
|
||||
sort_buffer_size = 512K
|
||||
net_buffer_length = 8K
|
||||
read_buffer_size = 256K
|
||||
read_rnd_buffer_size = 512K
|
||||
myisam_sort_buffer_size = 8M
|
||||
language = /usr/share/mysql/english
|
||||
|
||||
# security:
|
||||
# using "localhost" in connects uses sockets by default
|
||||
# skip-networking
|
||||
bind-address = 127.0.0.1
|
||||
|
||||
log-bin
|
||||
server-id = 1
|
||||
|
||||
# point the following paths to different dedicated disks
|
||||
tmpdir = /tmp/
|
||||
#log-update = /path-to-dedicated-directory/hostname
|
||||
|
||||
# you need the debug USE flag enabled to use the following directives,
|
||||
# if needed, uncomment them, start the server and issue
|
||||
# #tail -f /tmp/mysqld.sql /tmp/mysqld.trace
|
||||
# this will show you *exactly* what's happening in your server ;)
|
||||
|
||||
#log = /tmp/mysqld.sql
|
||||
#gdb
|
||||
#debug = d:t:i:o,/tmp/mysqld.trace
|
||||
#one-thread
|
||||
|
||||
# uncomment the following directives if you are using BDB tables
|
||||
#bdb_cache_size = 4M
|
||||
#bdb_max_lock = 10000
|
||||
|
||||
# the following is the InnoDB configuration
|
||||
# if you wish to disable innodb instead
|
||||
# uncomment just the next line
|
||||
#skip-innodb
|
||||
#
|
||||
# the rest of the innodb config follows:
|
||||
# don't eat too much memory, we're trying to be safe on 64Mb boxes
|
||||
# you might want to bump this up a bit on boxes with more RAM
|
||||
innodb_buffer_pool_size = 16M
|
||||
# this is the default, increase it if you have lots of tables
|
||||
innodb_additional_mem_pool_size = 2M
|
||||
#
|
||||
# i'd like to use /var/lib/mysql/innodb, but that is seen as a database :-(
|
||||
# and upstream wants things to be under /var/lib/mysql/, so that's the route
|
||||
# we have to take for the moment
|
||||
#innodb_data_home_dir = /var/lib/mysql/
|
||||
#innodb_log_arch_dir = /var/lib/mysql/
|
||||
#innodb_log_group_home_dir = /var/lib/mysql/
|
||||
# you may wish to change this size to be more suitable for your system
|
||||
# the max is there to avoid run-away growth on your machine
|
||||
innodb_data_file_path = ibdata1:10M:autoextend:max:128M
|
||||
# we keep this at around 25% of of innodb_buffer_pool_size
|
||||
# sensible values range from 1MB to (1/innodb_log_files_in_group*innodb_buffer_pool_size)
|
||||
innodb_log_file_size = 5M
|
||||
# this is the default, increase it if you have very large transactions going on
|
||||
innodb_log_buffer_size = 8M
|
||||
# this is the default and won't hurt you
|
||||
# you shouldn't need to tweak it
|
||||
set-variable = innodb_log_files_in_group=2
|
||||
# see the innodb config docs, the other options are not always safe
|
||||
innodb_flush_log_at_trx_commit = 1
|
||||
innodb_lock_wait_timeout = 50
|
||||
innodb_file_per_table
|
||||
|
||||
[mysqldump]
|
||||
quick
|
||||
max_allowed_packet = 16M
|
||||
|
||||
[mysql]
|
||||
# uncomment the next directive if you are not familiar with SQL
|
||||
#safe-updates
|
||||
|
||||
[isamchk]
|
||||
key_buffer = 20M
|
||||
sort_buffer_size = 20M
|
||||
read_buffer = 2M
|
||||
write_buffer = 2M
|
||||
|
||||
[myisamchk]
|
||||
key_buffer = 20M
|
||||
sort_buffer_size = 20M
|
||||
read_buffer = 2M
|
||||
write_buffer = 2M
|
||||
|
||||
[mysqlhotcopy]
|
||||
interactive-timeout
|
@ -1 +1,2 @@
|
||||
DIST libgaminggear-0.2.0.tar.bz2 81177 SHA256 ab3765457353aa55a70027231144bfacc2ae75b463044eb0ea057ae1597f4749 SHA512 8f0c12a247c3f593060fcf5856f744a1724e5a92126d4c3de23c8f41c039bd78c6e441b2c8ca9c1a4115cfa708deffbf5c6abbd476fd136b06f6c02fc8c1eab6 WHIRLPOOL b57bf9b7ca466a398abb25669dada3f41ca2691817f171d76cb6c03a7a0758f3ff8939a8882c0f11b4cafa3f94cf7031b500b11580d7f8f2b2458c7bbd2dc5d3
|
||||
DIST libgaminggear-0.3.0.tar.bz2 81747 SHA256 ee88463f9b2f06fa2b9201e482c35f45d38b51ff626fc83a592fe9a33c8634da SHA512 748d6884492fda604a52ef69b230dfa6745b8fb7c46707a0bf7471000b191cf019877812b4f2672dfaa512862e85591c1811fab31a06eac16a4b8df23124de36 WHIRLPOOL 4baf0639872157c3be9ef40c72f18a24ce5aed76b9fe24dfbea7a54f78bf580aa0155e69458f84495a9fbd253b6a11074b5aa6ed7112c8b740c23d2a29fc730d
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgaminggear/libgaminggear-0.3.0.ebuild,v 1.1 2014/06/08 15:02:49 swift Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
DESCRIPTION="Provides functionality for gaming input devices"
|
||||
|
||||
HOMEPAGE="http://sourceforge.net/projects/libgaminggear/"
|
||||
SRC_URI="mirror://sourceforge/libgaminggear/${P}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libnotify
|
||||
media-libs/libcanberra
|
||||
virtual/libusb:1
|
||||
dev-libs/dbus-glib
|
||||
virtual/udev[gudev]
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-doc/doxygen
|
||||
"
|
||||
src_configure() {
|
||||
mycmakeargs=( -DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr )
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
}
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/pakchois/pakchois-0.4-r2.ebuild,v 1.1 2014/06/08 11:50:39 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="PaKChoiS - PKCS #11 wrapper library"
|
||||
HOMEPAGE="http://www.manyfish.co.uk/pakchois/"
|
||||
SRC_URI="http://www.manyfish.co.uk/pakchois/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
$(use_enable nls)
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST Django-1.4.11.tar.gz 7752172 SHA256 4819d8b37405b33f4f0d156f60918094d566249f52137c5e6e0dbaa12995c201 SHA512 60cc3c769a9b21e93e6c4e79132ab8f4a48df1cb1c55faaa547c5fd28b9785ddca3b5393790bf96a4715d9b708c6da376ef4a28ec14849147d63f0fe40d386cb WHIRLPOOL 5db11c57bbfafafd9484b8674412b32cfb3531b11b5f51e7b73a313c24473b182b014ba2ab193373c1796bcefc38c85580dcda05f2aab32463db4af78afd232a
|
||||
DIST Django-1.4.13.tar.gz 7753532 SHA256 a8fede657378b6862744b19012e7071279b952ecd208fd83227723866068f2c0 SHA512 de9b095e28334d095e03067d931ef1f2bb24332d739b5f10cfc524ca20d15d94fa756fb80394c306ea2351549f6a7669acf491e44f29cfc0b220f620f9a4b080 WHIRLPOOL 72aba9cd46327f0bdece26823e7258a9bd39bb556bb0d52ef467105e2f44cfb0b6ba451b545dba663479abfe870ceabf561b1510e8e871a61672855b9c1bd3b4
|
||||
DIST Django-1.5.8.tar.gz 8071329 SHA256 01db30f38a081241a9cbc7bef12cb599506b80727613350e427547bed12aaaa3 SHA512 446e4e9ff59290816247ac750d6b311e520d0491304ff601946c41689bf1589f380c874624bc67a5850baeeca8c0bab494a66e42ad3562785780d424cfdaa2fe WHIRLPOOL b49486b6ea9baf2a3ccb8cf3774b1d010c429298edef79e91b5a39cadcb1bfed3ac4b8b3b59e7ded05737eb7694eca5177c8f2d459782107495441209b230041
|
||||
DIST Django-1.6.4.tar.gz 6630474 SHA256 ceee0beea79b1926c767aaa837e1b9e621e5f6b7d27138d90474b3917ca5527b SHA512 319e0ee8f71073b0132d3e06ffccca8580adeece0183dc064492ccd6d4f2d60e92fe89191b9d35ce44d5c391a02388b464821d2048a7fe87886d7556f0b95aa7 WHIRLPOOL 232a66bcaeb99ead521eca157ef9df83b866a6224cb4d162fd37dcff7cca71fd6cc0f318a9480fd7a8b15f35da4bed4ab7905460d701e8a766e362627f394b13
|
||||
DIST Django-1.6.5.tar.gz 6633768 SHA256 36940268c087fede32d3f5887cce9af9e5d27962a0c405aacafc2a3cc1f755c5 SHA512 60d36b1b23cdda42f33d4c15e41053fe0fc1c6584617bd6ed683dfb0a6d6dfaa849b387ea514129acb2cc40e89fe33818db1e0897df110d1b8f5ed1a3b256905 WHIRLPOOL 0e284ed126b7c7b065a2a6929a7cd179aee63bca490f8e639facd0413c5313f2131ec18a8450429cbfb2ac034bd67c4d7ab94b2fb64df4a64c5f6dac876eb489
|
||||
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.4.11.ebuild,v 1.4 2014/05/03 01:57:47 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='sqlite?'
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 versionator webapp
|
||||
|
||||
MY_P="Django-${PV}"
|
||||
|
||||
DESCRIPTION="High-level Python web framework"
|
||||
HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django"
|
||||
SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="mysql postgres sqlite test"
|
||||
|
||||
RDEPEND="virtual/python-imaging[${PYTHON_USEDEP}]
|
||||
postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
|
||||
mysql? ( >=dev-python/mysql-python-1.2.3[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( ${PYTHON_DEPS//sqlite?/sqlite} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
WEBAPP_MANUAL_SLOT="yes"
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable tests requiring network connection.
|
||||
sed \
|
||||
-e "s/test_correct_url_value_passes/_&/" \
|
||||
-e "s/test_correct_url_with_redirect/_&/" \
|
||||
-i tests/modeltests/validation/tests.py || die
|
||||
sed \
|
||||
-e "s/test_urlfield_3/_&/" \
|
||||
-e "s/test_urlfield_4/_&/" \
|
||||
-e "s/test_urlfield_10/_&/" \
|
||||
-i tests/regressiontests/forms/tests/fields.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Tests have non-standard assumptions about PYTHONPATH,
|
||||
# and don't work with ${BUILD_DIR}/lib.
|
||||
PYTHONPATH=. \
|
||||
"${PYTHON}" tests/runtests.py --settings=test_sqlite -v1 \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Port conflict in django.test.testcases.LiveServerTestCase.
|
||||
# Several other races with temp files.
|
||||
DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
newbashcomp extras/django_bash_completion ${PN}
|
||||
|
||||
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
|
||||
doins -r django/contrib/admin/static/admin/.
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "A copy of the admin media is available to"
|
||||
elog "webapp-config for installation in a webroot,"
|
||||
elog "as well as the traditional location in python's"
|
||||
elog "site-packages dir for easy development"
|
||||
elog
|
||||
ewarn "If you build Django ${PV} without USE=\"vhosts\""
|
||||
|
||||
# XXX: call webapp_pkg_postinst? the old ebuild didn't do that...
|
||||
ewarn "webapp-config will automatically install the"
|
||||
ewarn "admin media into the localhost webroot."
|
||||
}
|
@ -1,95 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.6.4.ebuild,v 1.3 2014/05/13 02:56:58 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
PYTHON_REQ_USE='sqlite?'
|
||||
WEBAPP_NO_AUTO_INSTALL="yes"
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 versionator webapp
|
||||
|
||||
MY_P="Django-${PV}"
|
||||
|
||||
DESCRIPTION="High-level Python web framework"
|
||||
HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django"
|
||||
SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc mysql postgres sqlite test"
|
||||
|
||||
PY2_USEDEP=$(python_gen_usedep python2_7)
|
||||
PY23_USEDEP=$(python_gen_usedep python2_7 'python{3_3,3_4}')
|
||||
RDEPEND="virtual/python-imaging[${PYTHON_USEDEP}]
|
||||
postgres? ( dev-python/psycopg:2[${PY23_USEDEP}] )
|
||||
mysql? ( >=dev-python/mysql-python-1.2.3[${PY2_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] )
|
||||
test? ( ${PYTHON_DEPS//sqlite?/sqlite} )"
|
||||
|
||||
REQUIRED_USE="mysql? ( $(python_gen_useflags python2_7) )
|
||||
postgres? ( || ( $(python_gen_useflags 'python{2_7,3_3,3_4}') ) )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
WEBAPP_MANUAL_SLOT="yes"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.5-py3tests.patch \
|
||||
"${FILESDIR}"/${PN}-1.6-objects.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
# Avoid test failures with unittest2 and Python 3.
|
||||
sed -e "s/from unittest2 import \*/raise ImportError/" -i django/utils/unittest/__init__.py
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
emake -C docs html
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Tests have non-standard assumptions about PYTHONPATH,
|
||||
# and don't work with ${BUILD_DIR}/lib.
|
||||
# https://code.djangoproject.com/ticket/20514
|
||||
# https://code.djangoproject.com/ticket/21093
|
||||
# export PYTHONWARNINGS="d,i::ImportWarning"
|
||||
sed -e 's:test_dont_base64_encode:_&:' -i tests/mail/tests.py || die
|
||||
PYTHONPATH=. \
|
||||
"${PYTHON}" tests/runtests.py --settings=test_sqlite -v1 \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Port conflict in django.test.testcases.LiveServerTestCase.
|
||||
# Several other races with temp files.
|
||||
DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
webapp_src_install
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp extras/django_bash_completion ${PN}
|
||||
|
||||
if use doc; then
|
||||
rm -fr docs/_build/html/_sources
|
||||
local HTML_DOCS=( docs/_build/html/. )
|
||||
fi
|
||||
|
||||
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
|
||||
doins -r django/contrib/admin/static/admin/.
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "A copy of the admin media is available to webapp-config for installation in a"
|
||||
elog "webroot, as well as the traditional location in python's site-packages dir"
|
||||
elog "for easy development."
|
||||
webapp_pkg_postinst
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
https://code.djangoproject.com/changeset/16223
|
||||
https://code.djangoproject.com/changeset/16231
|
||||
https://code.djangoproject.com/changeset/16952
|
||||
|
||||
--- docs/_ext/djangodocs.py
|
||||
+++ docs/_ext/djangodocs.py
|
||||
@@ -16,7 +16,7 @@
|
||||
except ImportError:
|
||||
json = None
|
||||
|
||||
-from sphinx import addnodes, roles
|
||||
+from sphinx import addnodes, roles, __version__ as sphinx_ver
|
||||
from sphinx.builders.html import StandaloneHTMLBuilder
|
||||
from sphinx.writers.html import SmartyPantsHTMLTranslator
|
||||
from sphinx.util.console import bold
|
||||
@@ -127,26 +127,29 @@
|
||||
|
||||
# Don't use border=1, which docutils does by default.
|
||||
def visit_table(self, node):
|
||||
+ self._table_row_index = 0 # Needed by Sphinx
|
||||
self.body.append(self.starttag(node, 'table', CLASS='docutils'))
|
||||
|
||||
# <big>? Really?
|
||||
def visit_desc_parameterlist(self, node):
|
||||
self.body.append('(')
|
||||
self.first_param = 1
|
||||
+ self.param_separator = node.child_text_separator
|
||||
|
||||
def depart_desc_parameterlist(self, node):
|
||||
self.body.append(')')
|
||||
|
||||
- #
|
||||
- # Don't apply smartypants to literal blocks
|
||||
- #
|
||||
- def visit_literal_block(self, node):
|
||||
- self.no_smarty += 1
|
||||
- SmartyPantsHTMLTranslator.visit_literal_block(self, node)
|
||||
-
|
||||
- def depart_literal_block(self, node):
|
||||
- SmartyPantsHTMLTranslator.depart_literal_block(self, node)
|
||||
- self.no_smarty -= 1
|
||||
+ if sphinx_ver < '1.0.8':
|
||||
+ #
|
||||
+ # Don't apply smartypants to literal blocks
|
||||
+ #
|
||||
+ def visit_literal_block(self, node):
|
||||
+ self.no_smarty += 1
|
||||
+ SmartyPantsHTMLTranslator.visit_literal_block(self, node)
|
||||
+
|
||||
+ def depart_literal_block(self, node):
|
||||
+ SmartyPantsHTMLTranslator.depart_literal_block(self, node)
|
||||
+ self.no_smarty -= 1
|
||||
|
||||
#
|
||||
# Turn the "new in version" stuff (versionadded/versionchanged) into a
|
@ -0,0 +1 @@
|
||||
DIST sphinx_rtd_theme-0.1.6.tar.gz 217067 SHA256 0f29f544f6d037989fa0c7729a9eab7e4d8ea50d6f0ef37363f472756c1edca6 SHA512 f79e8192264ef01675240853e9be8a5bd0c86808f0e918e60c7c6e0c078caeef87c76421db795149214ef4edc1389e7c2001a98436611292ff826e7b9b9d0f15 WHIRLPOOL 110494f3c9bb6e838557fa4bcb1ac8f33e91b30d2da780720e897cfc4f635c0a14f502d5aac50115495bcc591de79eae83a2e359b81b917e524c9459194420f6
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">sphinx_rtd_theme</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sphinx_rtd_theme/sphinx_rtd_theme-0.1.6.ebuild,v 1.1 2014/06/09 02:27:45 bicatali Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="ReadTheDocs.org theme for Sphinx"
|
||||
HOMEPAGE="https://github.com/snide/sphinx_rtd_theme/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
@ -1,203 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtgui/qtgui-4.8.5-r1.ebuild,v 1.11 2014/01/26 11:55:54 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils qt4-build
|
||||
|
||||
DESCRIPTION="The GUI module for the Qt toolkit"
|
||||
SLOT="4"
|
||||
if [[ ${QT4_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
IUSE="+accessibility cups egl +glib gtkstyle mng nas nis qt3support tiff trace xinerama +xv"
|
||||
|
||||
REQUIRED_USE="
|
||||
gtkstyle? ( glib )
|
||||
"
|
||||
|
||||
# cairo[-qt4] is needed because of bug 454066
|
||||
RDEPEND="
|
||||
app-admin/eselect-qtgraphicssystem
|
||||
~dev-qt/qtcore-${PV}[aqua=,debug=,glib=,qt3support=]
|
||||
~dev-qt/qtscript-${PV}[aqua=,debug=]
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
virtual/jpeg:0
|
||||
!aqua? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xv? ( x11-libs/libXv )
|
||||
)
|
||||
cups? ( net-print/cups )
|
||||
egl? ( media-libs/mesa[egl] )
|
||||
gtkstyle? (
|
||||
x11-libs/cairo[-qt4]
|
||||
x11-libs/gtk+:2[aqua=]
|
||||
)
|
||||
mng? ( >=media-libs/libmng-1.0.9 )
|
||||
nas? ( >=media-libs/nas-1.5 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
!<dev-qt/qthelp-4.8.5:4
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
!aqua? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
xv? ( x11-proto/videoproto )
|
||||
)
|
||||
"
|
||||
PDEPEND="qt3support? ( ~dev-qt/qt3support-${PV}[aqua=,debug=] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.7.3-cups.patch"
|
||||
"${FILESDIR}/${P}-keyboard-shortcuts.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
QT4_TARGET_DIRECTORIES="
|
||||
src/gui
|
||||
src/scripttools
|
||||
src/plugins/imageformats/gif
|
||||
src/plugins/imageformats/ico
|
||||
src/plugins/imageformats/jpeg
|
||||
src/plugins/imageformats/tga
|
||||
src/plugins/inputmethods"
|
||||
|
||||
QT4_EXTRACT_DIRECTORIES="
|
||||
include
|
||||
src"
|
||||
|
||||
use accessibility && QT4_TARGET_DIRECTORIES+=" src/plugins/accessible/widgets"
|
||||
use mng && QT4_TARGET_DIRECTORIES+=" src/plugins/imageformats/mng"
|
||||
use tiff && QT4_TARGET_DIRECTORIES+=" src/plugins/imageformats/tiff"
|
||||
use trace && QT4_TARGET_DIRECTORIES+=" src/plugins/graphicssystems/trace tools/qttracereplay"
|
||||
|
||||
# mac version does not contain qtconfig?
|
||||
[[ ${CHOST} == *-darwin* ]] || QT4_TARGET_DIRECTORIES+=" tools/qtconfig"
|
||||
|
||||
QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} ${QT4_EXTRACT_DIRECTORIES}"
|
||||
|
||||
qt4-build_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
qt4-build_src_prepare
|
||||
|
||||
# Add -xvideo to the list of accepted configure options
|
||||
sed -i -e 's:|-xinerama|:&-xvideo|:' configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myconf="$(qt_use accessibility)
|
||||
$(qt_use cups)
|
||||
$(qt_use glib)
|
||||
$(qt_use mng libmng system)
|
||||
$(qt_use nas nas-sound system)
|
||||
$(qt_use nis)
|
||||
$(qt_use tiff libtiff system)
|
||||
$(qt_use egl)
|
||||
$(qt_use qt3support)
|
||||
$(qt_use gtkstyle)
|
||||
$(qt_use xinerama)
|
||||
$(qt_use xv xvideo)"
|
||||
|
||||
myconf+="
|
||||
-system-libpng -system-libjpeg -system-zlib
|
||||
-no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite -no-sql-sqlite2 -no-sql-odbc
|
||||
-sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb
|
||||
-fontconfig -no-svg -no-webkit -no-phonon -no-opengl"
|
||||
|
||||
[[ ${CHOST} == *86*-apple-darwin* ]] && myconf+=" -no-ssse3" #367045
|
||||
|
||||
qt4-build_src_configure
|
||||
|
||||
if use gtkstyle; then
|
||||
sed -i -e 's:-I/usr/include/qt4 ::' src/gui/Makefile || die "sed failed"
|
||||
fi
|
||||
|
||||
sed -i -e 's:-I/usr/include/qt4/QtGui ::' src/gui/Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
QCONFIG_ADD="
|
||||
mitshm tablet x11sm xcursor xfixes xinput xkb xrandr xrender xshape xsync
|
||||
fontconfig system-freetype gif png system-png jpeg system-jpeg
|
||||
$(usev accessibility)
|
||||
$(usev cups)
|
||||
$(use mng && echo system-mng)
|
||||
$(usev nas)
|
||||
$(usev nis)
|
||||
$(use tiff && echo system-tiff)
|
||||
$(usev xinerama)
|
||||
$(use xv && echo xvideo)"
|
||||
QCONFIG_REMOVE="no-freetype no-gif no-jpeg no-png no-gui"
|
||||
QCONFIG_DEFINE="$(use accessibility && echo QT_ACCESSIBILITY)
|
||||
$(use cups && echo QT_CUPS)
|
||||
$(use egl && echo QT_EGL)
|
||||
QT_FONTCONFIG QT_FREETYPE
|
||||
$(use gtkstyle && echo QT_STYLE_GTK)
|
||||
QT_IMAGEFORMAT_JPEG QT_IMAGEFORMAT_PNG
|
||||
$(use mng && echo QT_IMAGEFORMAT_MNG)
|
||||
$(use nas && echo QT_NAS)
|
||||
$(use nis && echo QT_NIS)
|
||||
$(use tiff && echo QT_IMAGEFORMAT_TIFF)
|
||||
QT_SESSIONMANAGER QT_SHAPE QT_TABLET QT_XCURSOR QT_XFIXES
|
||||
$(use xinerama && echo QT_XINERAMA)
|
||||
QT_XINPUT QT_XKB QT_XRANDR QT_XRENDER QT_XSYNC
|
||||
$(use xv && echo QT_XVIDEO)"
|
||||
|
||||
qt4-build_src_install
|
||||
|
||||
# install private headers
|
||||
if use aqua && [[ ${CHOST##*-darwin} -ge 9 ]]; then
|
||||
insinto "${QTLIBDIR#${EPREFIX}}"/QtGui.framework/Headers/private/
|
||||
else
|
||||
insinto "${QTHEADERDIR#${EPREFIX}}"/QtGui/private
|
||||
fi
|
||||
find "${S}"/src/gui -type f -name '*_p.h' -exec doins {} +
|
||||
|
||||
if use aqua && [[ ${CHOST##*-darwin} -ge 9 ]]; then
|
||||
# rerun to get links to headers right
|
||||
fix_includes
|
||||
fi
|
||||
|
||||
# touch the available graphics systems
|
||||
dodir /usr/share/qt4/graphicssystems
|
||||
echo "default" > "${ED}"/usr/share/qt4/graphicssystems/raster || die
|
||||
touch "${ED}"/usr/share/qt4/graphicssystems/native || die
|
||||
|
||||
newicon tools/qtconfig/images/appicon.png qtconfig.png
|
||||
make_desktop_entry qtconfig 'Qt Configuration Tool' qtconfig 'Qt;Settings;DesktopSettings'
|
||||
|
||||
# bug 388551
|
||||
if use gtkstyle; then
|
||||
local tempfile=${T}/${PN}${SLOT}.sh
|
||||
cat <<-EOF > "${tempfile}"
|
||||
export GTK2_RC_FILES=\${HOME}/.gtkrc-2.0
|
||||
EOF
|
||||
insinto /etc/profile.d
|
||||
doins "${tempfile}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
qt4-build_pkg_postinst
|
||||
|
||||
# raster is the default graphicssystem, set it on first install
|
||||
eselect qtgraphicssystem set raster --use-old
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue