parent
9928341dc6
commit
03f2cdcb84
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eclean-kernel/eclean-kernel-9999.ebuild,v 1.2 2012/12/15 12:34:31 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="Remove outdated built kernels"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/eclean-kernel/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="kernel_linux? ( dev-python/pymountboot[${PYTHON_USEDEP}] )"
|
||||
#if LIVE
|
||||
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-sh/eselect-sh-9999.ebuild,v 1.1 2012/12/15 12:37:16 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit base
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="Manages the /bin/sh (POSIX shell) symlink"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/eselect-sh/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins sh.eselect || die
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/mirage2iso/mirage2iso-9999.ebuild,v 1.1 2012/12/15 12:33:50 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#if LIVE
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
inherit autotools-utils versionator
|
||||
|
||||
TESTS_PV=$(get_version_component_range 1-2)
|
||||
|
||||
DESCRIPTION="CD/DVD image converter using libmirage"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/mirage2iso/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2
|
||||
test? ( mirror://bitbucket/mgorny/${PN}/downloads/${PN}-${TESTS_PV}-tests.tar.xz )"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="pinentry test"
|
||||
|
||||
COMMON_DEPEND="dev-libs/libmirage
|
||||
dev-libs/glib:2
|
||||
pinentry? ( dev-libs/libassuan )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( app-arch/xz-utils )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
pinentry? ( app-crypt/pinentry )"
|
||||
|
||||
#if LIVE
|
||||
DEPEND="${DEPEND}
|
||||
dev-libs/libassuan"
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
src_configure() {
|
||||
myeconfargs=(
|
||||
$(use_with pinentry libassuan)
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
#if LIVE
|
||||
autotools-utils_src_test
|
||||
return ${?}
|
||||
|
||||
#endif
|
||||
mv "${WORKDIR}"/${PN}-${TESTS_PV}/tests/* tests/ || die
|
||||
autotools-utils_src_test
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST aespipe-v2.3b.tar.bz2 85567 SHA256 b746cffbfd663625faf2bf9ea31f1889e5071b20d0ebc02d2375d3219cd163bb SHA512 2c0686b98618fa3cf4415dcf6e9da0dcf77d0be3a3acedc17c4b3a80ed89de63e1d00a27e7f2fb9e7373b92069c11897d9ceb5d084e0662a2c6757a6afd8f300 WHIRLPOOL 33ce30c4727e05b9863e4cb0702426921d14e02fae2a43c5d4f35d259d9d343e20f9d0fa64c6f87583a6ff8a5bc0030df95d6c1f0fa8f92d088c781babe10aba
|
||||
DIST aespipe-v2.3e.tar.bz2 91752 SHA256 4e63a5709fdd0bffdb555582f9fd7a0bd1842e429420159accaf7f60c5d3c70f SHA512 e62f1f7a8f595066142f626dfd928106b4057c3e5f129bb31057af4e4a9412b4def60afffac72083621334449d627424fb661ef11a426015b0b0c232aa3ce648 WHIRLPOOL 3564aedeeb7e16a9cf10ceb13d15aaf3350b39ff8eb771d23d59029c8676b27bccee4098644d7e3d457af6866e045bec1cdfdf16f3941a831c0ec0b90897d08a
|
||||
DIST aespipe-v2.4c.tar.bz2 106608 SHA256 260190beea911190a839e711f610ec3454a9b13985d35479775b7e26ad4c845e SHA512 6738c019e4c1e5377650f9a982b328ce38e127ebe838cfe61c7d3fad878eaf0a4fd051d32897eb4c2ff33f94669203ccba25fc246405b50f9ac24fdf5d2831cf WHIRLPOOL a9c99f45313fa427e3a4227a3a8b8035c031937851e30fb5a31e8409bef25990497ce3f1b32e0e93c184a6d5549fa2a5e31185790a531350d6774df041c6f5e9
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/aespipe/aespipe-2.4c.ebuild,v 1.1 2012/12/14 21:59:41 alonbl Exp $
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="Encrypts data from stdin to stdout"
|
||||
HOMEPAGE="http://loop-aes.sourceforge.net"
|
||||
SRC_URI="http://loop-aes.sourceforge.net/aespipe/${PN}-v${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
|
||||
IUSE="static"
|
||||
DEPEND=""
|
||||
RDEPEND="app-arch/sharutils"
|
||||
|
||||
S="${WORKDIR}/${PN}-v${PV}"
|
||||
|
||||
src_compile() {
|
||||
use static && append-ldflags -static
|
||||
econf || die
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin aespipe bz2aespipe
|
||||
dodoc README
|
||||
doman aespipe.1
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST BestCrypt-1.7-0.tar.gz 250694 SHA256 663bb1929cf88d6b241c496fc0663cbec69ab4ee4e2b6a90220031bc86fdbd88 SHA512 b685bd447ce561220eadb2977b2b8846a6e99354df63d59def5dafe61972554ef6d11726be99be8622ca8147ebb7cb9f99c61d645defdfc9bedd5089db1e5556 WHIRLPOOL 3860f72222180763f5898749d164821287e14cfc8619e759cce151594879b2b429e392bbc4ce90d66c288084d2f483d2bb647051b9e56bd4b5e969f924d0cee2
|
||||
DIST BestCrypt-2.0-0.tar.gz 1999791 SHA256 53007d398d137426cb7e24a98d32a8227d5ad20bca623ba9a9ac125f34971df7 SHA512 ccd0b6d91947808cc5396355d3c1e62260b537cd7e4f236017e009a7ecc64c9a7fdf53a937538c9e02c1e303c0b962c9d5debbb37cd8b24ead34aaf33fb6b9e5 WHIRLPOOL 74e04c297664cb3080ec83d1c9791bca61ce72e065462ca0f7f77a69b0c5828814598f9778a6d4c9669f09c431ba365e8d00defa674f4f172fc90677815ff984
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/bestcrypt/bestcrypt-2.0.0.ebuild,v 1.1 2012/12/15 03:06:38 alonbl Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils linux-mod toolchain-funcs versionator
|
||||
|
||||
MY_PN="bcrypt"
|
||||
MY_PV="$(replace_version_separator 2 -)"
|
||||
DESCRIPTION="commercially licensed transparent filesystem encryption"
|
||||
HOMEPAGE="http://www.jetico.com/"
|
||||
SRC_URI="http://www.jetico.com/linux/BestCrypt-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="bestcrypt"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="virtual/linux-sources"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${MY_PV}"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
MODULE_NAMES="bestcrypt(block::kernel/kmod)
|
||||
bc_3des(crypto::kernel/kmod/crypto/algs/3des)
|
||||
bc_bf128(crypto::kernel/kmod/crypto/algs/bf128)
|
||||
bc_bf448(crypto::kernel/kmod/crypto/algs/bf448)
|
||||
bc_blowfish(crypto::kernel/kmod/crypto/algs/blowfish)
|
||||
bc_cast(crypto::kernel/kmod/crypto/algs/cast)
|
||||
bc_des(crypto::kernel/kmod/crypto/algs/des)
|
||||
bc_gost(crypto::kernel/kmod/crypto/algs/gost)
|
||||
bc_idea(crypto::kernel/kmod/crypto/algs/idea)
|
||||
bc_rijn(crypto::kernel/kmod/crypto/algs/rijn)"
|
||||
BUILD_TARGETS="module"
|
||||
BUILD_PARAMS=" \
|
||||
KERNEL_DIR=\"${KV_DIR}\""
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-build.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
MAKEOPTS="-j1" linux-mod_src_compile
|
||||
MAKEOPTS="-j1" emake \
|
||||
CFLAGS="${CXXFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod_src_install
|
||||
|
||||
emake install PREFIX="${ED}" install
|
||||
|
||||
newinitd "${FILESDIR}/bcrypt3" bcrypt
|
||||
sed -e '/\(bc_rc6\|bc_serpent\|bc_twofish\)/d' -i "${D}etc/init.d/bcrypt"
|
||||
dodoc HIDDEN_PART README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn
|
||||
ewarn "The BestCrypt drivers are not free - Please purchace a license from "
|
||||
ewarn "http://www.jetico.com/"
|
||||
ewarn
|
||||
|
||||
linux-mod_pkg_postinst
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 63baafb..995d48e 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -56,7 +56,8 @@ KGSHA_LIB = $(KGSHA_BUILD_DIR)/lib$(KGSHA_LIB_NAME).a
|
||||
KGGHOST_LIB = $(KGGHOST_BUILD_DIR)/lib$(KGGHOST_LIB_NAME).a
|
||||
SPACEMAP_LIB = $(SPACEMAP_BUILD_DIR)/lib$(SPACEMAP_LIB_NAME).a
|
||||
|
||||
-BC_EXTRA_CFLAGS= -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
+BC_EXTRA_CFLAGS= $(CFLAGS) -D_LARGE_FILES -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
|
||||
+BC_EXTRA_LDFLAGS = $(LDFLAGS)
|
||||
|
||||
#
|
||||
# commands
|
||||
@@ -86,7 +87,7 @@ BCTOOL_OBJS = container/linux/file.o \
|
||||
src/bctool-rawlink.o
|
||||
|
||||
BCTOOL_CFLAGS = $(BC_EXTRA_CFLAGS) -DBC_LINUX -Wall -I. -Icertificate/
|
||||
-BCTOOL_LDFLAGS = -L$(TARGET_DIR) -l$(KERN_LIB_NAME) -l$(KGSHA_LIB_NAME) \
|
||||
+BCTOOL_LDFLAGS = $(BC_EXTRA_LDFLAGS) -L$(TARGET_DIR) -l$(KERN_LIB_NAME) -l$(KGSHA_LIB_NAME) \
|
||||
-l$(KGGHOST_LIB_NAME) -l$(CERT_LIB_NAME) -l$(SPACEMAP_LIB_NAME) \
|
||||
-ludev -lpthread -l$(FS_LIB_NAME)
|
||||
|
||||
@@ -101,7 +102,7 @@ $(shell mkdir -p $(TARGET_DIR)/kernel)
|
||||
#
|
||||
|
||||
# default target builds console tool with modules
|
||||
-all: Makefile helpers module bctool-app
|
||||
+all: Makefile helpers bctool-app
|
||||
true
|
||||
|
||||
# GUI executable with helpers and console tool
|
||||
@@ -216,7 +217,7 @@ module-clean: force-look
|
||||
#
|
||||
|
||||
# install for default target
|
||||
-install: module-install bctool-app-install helpers-install
|
||||
+install: bctool-app-install helpers-install
|
||||
true
|
||||
|
||||
# uninstall for default target
|
||||
@@ -224,6 +225,7 @@ uninstall: before-uninstall module-uninstall bctool-app-uninstall helpers-uninst
|
||||
true
|
||||
|
||||
helpers-install:
|
||||
+ install -o root -m 755 -d $(PREFIX)/sbin
|
||||
install -o root -m 4755 -s $(TARGET_DIR)/bcmount_helper $(PREFIX)/sbin
|
||||
install -o root -m 4755 -s $(TARGET_DIR)/bcumount_helper $(PREFIX)/sbin
|
||||
install -o root -m 4755 -s $(TARGET_DIR)/bcrrpart_helper $(PREFIX)/sbin
|
||||
@@ -247,7 +249,9 @@ before-uninstall: force-look
|
||||
|
||||
# install for main executable only
|
||||
bctool-app-install: force-look
|
||||
+ install -o root -m 755 -d $(PREFIX)/usr/bin
|
||||
install -o root -m 0755 -s build/bctool $(PREFIX)/usr/bin/
|
||||
+ install -o root -m 755 -d $(PREFIX)/$(MAN_PATH)/man8
|
||||
install -m 644 bctool.8 $(PREFIX)/$(MAN_PATH)/man8/
|
||||
|
||||
# uninstall for main executable only
|
@ -1 +1,2 @@
|
||||
DIST emacs-24.2.90.tar.gz 52987023 SHA256 211c154240fbde9222316e6556b00a4c374ed44fcc01b02ef494a26da753397a SHA512 817aa462a433950c189496687918a0cd17de889a5b461ef60cc734124e7a029412771bc55efb11a45bc43f548c5671eb8c6b384efbfb0b5e14f8a711d7690dca WHIRLPOOL f57d34c4d6bad81b02d7ff0997cac13ba503bcfee96cc4e43e691dc2b87cc353b5f07829dfa57247aa58ad9ba52d1c68006a50dafcd5038e93b9247d237b045e
|
||||
DIST emacs-24.2.91.tar.gz 53109002 SHA256 47dedc136219567d1d2a35c802147734156d6d329a62ee3e25ebf0f5766d52d4 SHA512 8e4efc6b5aeb73e8d7075784497e4dc995c9461feac10d924b631ab67d93bbecf68f7cf0910de6771ac5e181d378898f96584e18fe52b755ca7382ea34eabf1e WHIRLPOOL f4885b6057ef8df4961b1072c6795817198a9e31e35344bd14985a8165262bfc9a4659b244bd870e7219e10dfb6824f70958e34e12aee4ccbe46520e84023fd2
|
||||
|
@ -0,0 +1,343 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.2.91.ebuild,v 1.1 2012/12/15 16:50:08 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools elisp-common eutils flag-o-matic multilib
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
EBZR_PROJECT="emacs"
|
||||
EBZR_BRANCH="emacs-24"
|
||||
EBZR_REPO_URI="bzr://bzr.savannah.gnu.org/emacs/${EBZR_BRANCH}/"
|
||||
# "Nosmart" is much faster for initial branching.
|
||||
EBZR_INITIAL_URI="nosmart+${EBZR_REPO_URI}"
|
||||
EBZR_WORKDIR_CHECKOUT="t" #434746
|
||||
inherit bzr
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="mirror://gentoo/emacs-${PV}.tar.gz
|
||||
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.gz"
|
||||
# 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}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="http://www.gnu.org/software/emacs/"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
SLOT="24"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~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 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[games?,X?]
|
||||
net-libs/liblockfile
|
||||
hesiod? ( net-dns/hesiod )
|
||||
kerberos? ( virtual/krb5 )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
gpm? ( sys-libs/gpm )
|
||||
dbus? ( sys-apps/dbus )
|
||||
gnutls? ( net-libs/gnutls )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
X? (
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
gif? ( media-libs/giflib )
|
||||
jpeg? ( virtual/jpeg )
|
||||
png? ( >=media-libs/libpng-1.4:0 )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2 )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? (
|
||||
gtk3? ( x11-libs/gtk+:3 )
|
||||
!gtk3? ( x11-libs/gtk+:2 )
|
||||
)
|
||||
!gtk? (
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
!Xaw3d? (
|
||||
athena? ( x11-libs/libXaw )
|
||||
!athena? ( motif? ( >=x11-libs/motif-2.3:0 ) )
|
||||
)
|
||||
)
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
alsa? ( virtual/pkgconfig )
|
||||
dbus? ( virtual/pkgconfig )
|
||||
gnutls? ( virtual/pkgconfig )
|
||||
libxml2? ( virtual/pkgconfig )
|
||||
X? ( virtual/pkgconfig )
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
EMACS_SUFFIX="${PN/emacs/emacs-${SLOT}}"
|
||||
SITEFILE="20${PN}-${SLOT}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
FULL_VERSION=$(sed -n 's/^AC_INIT(emacs,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
||||
configure.ac)
|
||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
||||
einfo "Emacs branch: ${EBZR_BRANCH}"
|
||||
einfo "Revision: ${EBZR_REVISION:-${EBZR_REVNO}}"
|
||||
einfo "Emacs version number: ${FULL_VERSION}"
|
||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
if ! use alsa; then
|
||||
# ALSA is detected even if not requested by its USE flag.
|
||||
# Suppress it by supplying pkg-config with a wrong library name.
|
||||
sed -i -e "/ALSA_MODULES=/s/alsa/DiSaBlEaLsA/" configure.ac \
|
||||
|| die "unable to sed configure.ac"
|
||||
fi
|
||||
if ! use gzip-el; then
|
||||
# Emacs' build system automatically detects the gzip binary and
|
||||
# compresses el files. We don't want that so confuse it with a
|
||||
# wrong binary name
|
||||
sed -i -e "/AC_PATH_PROG/s/gzip/PrEvEnTcOmPrEsSiOn/" configure.ac \
|
||||
|| die "unable to sed configure.ac"
|
||||
fi
|
||||
|
||||
AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
|
||||
if use sh; then
|
||||
replace-flags "-O[1-9]" -O0 #262359
|
||||
elif use ia64; then
|
||||
replace-flags "-O[2-9]" -O1 #325373
|
||||
else
|
||||
replace-flags "-O[3-9]" -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa && ! use sound; then
|
||||
einfo "Although sound USE flag is disabled you chose to have alsa,"
|
||||
einfo "so sound is switched on anyway."
|
||||
myconf="${myconf} --with-sound"
|
||||
else
|
||||
myconf="${myconf} $(use_with sound)"
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
myconf="${myconf} --with-x --without-ns"
|
||||
myconf="${myconf} $(use_with gconf)"
|
||||
myconf="${myconf} $(use_with gsettings)"
|
||||
myconf="${myconf} $(use_with toolkit-scroll-bars)"
|
||||
myconf="${myconf} $(use_with gif) $(use_with jpeg)"
|
||||
myconf="${myconf} $(use_with png) $(use_with svg rsvg)"
|
||||
myconf="${myconf} $(use_with tiff) $(use_with xpm)"
|
||||
myconf="${myconf} $(use_with imagemagick)"
|
||||
|
||||
if use xft; then
|
||||
myconf="${myconf} --with-xft"
|
||||
myconf="${myconf} $(use_with m17n-lib libotf)"
|
||||
myconf="${myconf} $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf="${myconf} --without-xft"
|
||||
myconf="${myconf} --without-libotf --without-m17n-flt"
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
myconf="${myconf} --with-x-toolkit=$(usex gtk3 gtk3 gtk2)"
|
||||
local f
|
||||
for f in athena Xaw3d motif; do
|
||||
use ${f} && ewarn "USE flag \"${f}\" ignored" \
|
||||
"(superseded by \"gtk\")"
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
use motif && ewarn "USE flag \"motif\" ignored" \
|
||||
"(superseded by \"athena\" or \"Xaw3d\")"
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=motif"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf="${myconf} --with-x-toolkit=no"
|
||||
fi
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Cocoa support"
|
||||
myconf="${myconf} --with-ns --disable-ns-self-contained"
|
||||
myconf="${myconf} --without-x"
|
||||
else
|
||||
myconf="${myconf} --without-x --without-ns"
|
||||
fi
|
||||
|
||||
# Save version information in the Emacs binary. It will be available
|
||||
# in variable "system-configuration-options".
|
||||
myconf="${myconf} GENTOO_PACKAGE=${CATEGORY}/${PF}"
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
myconf="${myconf} EBZR_BRANCH=${EBZR_BRANCH} EBZR_REVNO=${EBZR_REVNO}"
|
||||
fi
|
||||
|
||||
# According to configure, this option is only used for GNU/Linux
|
||||
# (x86_64 and s390). For Gentoo Prefix we have to explicitly spell
|
||||
# out the location because $(get_libdir) does not necessarily return
|
||||
# something that matches the host OS's libdir naming (e.g. RHEL).
|
||||
local crtdir=$($(tc-getCC) -print-file-name=crt1.o)
|
||||
crtdir=${crtdir%/*}
|
||||
|
||||
econf \
|
||||
--program-suffix=-${EMACS_SUFFIX} \
|
||||
--program-transform-name="s/emacs-[0-9].*/${EMACS_SUFFIX}/" \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--with-crt-dir="${crtdir}" \
|
||||
--with-gameuser="${GAMES_USER_DED:-games}" \
|
||||
--without-compress-info \
|
||||
$(use_with hesiod) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with gpm) \
|
||||
$(use_with dbus) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with selinux) \
|
||||
$(use_with wide-int) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export SANDBOX_ON=0 # for the unbelievers, see Bug #131505
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t install
|
||||
|
||||
# move man pages to the correct place
|
||||
local m
|
||||
for m in "${ED}"/usr/share/man/man1/* ; do
|
||||
mv "${m}" "${m%.1}-${EMACS_SUFFIX}.1" || die "mv man failed"
|
||||
done
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} \
|
||||
|| die "moving info dir failed"
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{applications,icons}
|
||||
rm -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
local c=";;"
|
||||
if use source; then
|
||||
insinto /usr/share/emacs/${FULL_VERSION}/src
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
c=""
|
||||
fi
|
||||
|
||||
sed 's/^X//' >"${T}/${SITEFILE}" <<-EOF
|
||||
X
|
||||
;;; ${PN}-${SLOT} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
X ${c}(setq find-function-C-source-directory
|
||||
X ${c} "${EPREFIX}/usr/share/emacs/${FULL_VERSION}/src")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share/info\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share/info
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS
|
||||
|
||||
if use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/Emacs${EMACS_SUFFIX#emacs}.app || die
|
||||
elog "Emacs${EMACS_SUFFIX#emacs}.app is in ${EPREFIX}/Applications/Gentoo."
|
||||
elog "You may want to copy or symlink it into /Applications by yourself."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
local infodir=/usr/share/info/${EMACS_SUFFIX} f
|
||||
if [[ -f ${ED}${infodir}/dir.orig ]]; then
|
||||
mv "${ED}"${infodir}/dir{.orig,} || die "moving info dir failed"
|
||||
elif [[ -d "${ED}"${infodir} ]]; then
|
||||
# this should not happen in EAPI 4
|
||||
ewarn "Regenerating Info directory index in ${infodir} ..."
|
||||
rm -f "${ED}"${infodir}/dir{,.*}
|
||||
for f in "${ED}"${infodir}/*; do
|
||||
if [[ ${f##*/} != *-[0-9]* && -e ${f} ]]; then
|
||||
install-info --info-dir="${ED}"${infodir} "${f}" \
|
||||
|| die "install-info failed"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
|
||||
if use X; then
|
||||
elog "You need to install some fonts for Emacs."
|
||||
elog "Installing media-fonts/font-adobe-{75,100}dpi on the X server's"
|
||||
elog "machine would satisfy basic Emacs requirements under X11."
|
||||
elog "See also http://www.gentoo.org/proj/en/lisp/emacs/xft.xml"
|
||||
elog "for how to enable anti-aliased fonts."
|
||||
elog
|
||||
fi
|
||||
|
||||
elog "You can set the version to be started by /usr/bin/emacs through"
|
||||
elog "the Emacs eselect module, which also redirects man and info pages."
|
||||
elog "Therefore, several Emacs versions can be installed at the same time."
|
||||
elog "\"man emacs.eselect\" for details."
|
||||
elog
|
||||
elog "If you upgrade from Emacs version 24.2 or earlier, then it is"
|
||||
elog "strongly recommended that you use app-admin/emacs-updater to rebuild"
|
||||
elog "all byte-compiled elisp files of the installed Emacs packages."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
diff -Naur tpb-0.6.4-org/src/tpb.c tpb-0.6.4/src/tpb.c
|
||||
--- tpb-0.6.4-org/src/tpb.c 2005-07-18 16:15:59.000000000 +0200
|
||||
+++ tpb-0.6.4/src/tpb.c 2008-05-13 15:15:34.000000000 +0200
|
||||
@@ -523,10 +523,10 @@
|
||||
/* determine the state of the brightness buttons {{{ */
|
||||
if(thinkpad_state.brightness_level != last_thinkpad_state.brightness_level) {
|
||||
if(cfg.verbose == STATE_ON) {
|
||||
- printf(_("Brightness changed: Level %d\n"), thinkpad_state.brightness_level * 100 / 7);
|
||||
+ printf(_("Brightness changed: Level %d\n"), thinkpad_state.brightness_level * 100 / 15);
|
||||
}
|
||||
if(cfg.callback != NULL) {
|
||||
- snprintf(callback_cmd, sizeof(callback_cmd), "%s brightness %d", cfg.callback, thinkpad_state.brightness_level * 100 / 7);
|
||||
+ snprintf(callback_cmd, sizeof(callback_cmd), "%s brightness %d", cfg.callback, thinkpad_state.brightness_level * 100 / 15);
|
||||
if(fork_app(callback_cmd) != 0) {
|
||||
_exit(0);
|
||||
}
|
||||
@@ -537,7 +537,7 @@
|
||||
if(osd_ptr != NULL &&
|
||||
((cfg.osd == STATE_OFF && cfg.osdbrightness == STATE_ON) || (cfg.osd == STATE_ON && cfg.osdbrightness != STATE_OFF))) {
|
||||
xosd_display(osd_ptr, 0, XOSD_string, _("Brightness"));
|
||||
- xosd_display(osd_ptr, 1, XOSD_percentage, thinkpad_state.brightness_level * 100 / 7);
|
||||
+ xosd_display(osd_ptr, 1, XOSD_percentage, thinkpad_state.brightness_level * 100 / 15);
|
||||
}
|
||||
}
|
||||
#endif /* HAVE_LIBXOSD */ /* }}} */
|
||||
@@ -1031,7 +1031,7 @@
|
||||
thinkpad_state->hibernate_toggle = (thinkpad_state->hibernate_toggle & ~0x01) | (( buffer[0x58] & 0x01) );
|
||||
thinkpad_state->display_state = (( buffer[0x59] & 0x03) );
|
||||
thinkpad_state->expand_toggle = (thinkpad_state->expand_toggle & ~0x01) | (( buffer[0x59] & 0x10) >> 4);
|
||||
- thinkpad_state->brightness_level = (( buffer[0x5E] & 0x07) );
|
||||
+ thinkpad_state->brightness_level = (( buffer[0x5E] & 0x0F) );
|
||||
thinkpad_state->brightness_toggle = (thinkpad_state->brightness_toggle & ~0x01) | (( buffer[0x5E] & 0x20) >> 5);
|
||||
thinkpad_state->volume_level = (( buffer[0x60] & 0x0f) );
|
||||
thinkpad_state->volume_toggle = (thinkpad_state->volume_toggle & ~0x01) | (( buffer[0x60] & 0x80) >> 7);
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/tpb/tpb-0.6.4-r1.ebuild,v 1.1 2012/12/15 17:08:48 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit linux-info eutils
|
||||
|
||||
DESCRIPTION="IBM ThinkPad buttons utility"
|
||||
HOMEPAGE="http://savannah.nongnu.org/projects/tpb/"
|
||||
SRC_URI="http://savannah.nongnu.org/download/tpb/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 -ppc ~x86"
|
||||
IUSE="nls xosd"
|
||||
|
||||
RDEPEND="x11-libs/libXt
|
||||
x11-libs/libXext
|
||||
xosd? ( >=x11-libs/xosd-2.2.0 )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
CONFIG_CHECK="~NVRAM"
|
||||
ERROR_NVRAM="${P} requires /dev/nvram support (CONFIG_NVRAM)"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-configure-fix.diff
|
||||
epatch "${FILESDIR}"/${P}-nvram.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable xosd)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/{callback_example.sh,nvram.txt,tpbrc}
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST klavaro-1.9.3.tar.bz2 750314 SHA256 16c821264d247f70beac350953d841b85bd7e093a1c04369ba676c3a8b0b0013 SHA512 2534885b9fb741e613d38d9e4887b0e641be4e9aecea89630d30f93078eb574a7a4cd5c0e9cda44a88caa4fb5ad86bb1897ce1f0c8810bb7a13ccf88afbb252f WHIRLPOOL f7d4b705a9ff269b9b85a22ed457752046c6944da941529dbff2db1e62b5ffd44c347c7c64b3a2ae08ca5485c089ce63d8fa1d241a6252208267b4995040f39c
|
||||
DIST klavaro-1.9.5.tar.bz2 757130 SHA256 06c35247866fb74f7c1a52a2350b352fdb44dace7216fdbebc1fa54990d14fc9 SHA512 76242b8d9e3002ea0f77f7751bc7ba56f51078f70f92350f934cdb80a1f20cd7392907d65837cc31c2a1916809ab9e3cfaefc8018f4b65e05448c991c4e3b786 WHIRLPOOL 93f9afdbc394adffbafc3e15741683da7533e02fe59a5c57dbac761cab2cbc54727716f309c7ed6c25f1a3ce6544c693787ec03407e01169fc64b0e4d94c408e
|
||||
DIST klavaro-1.9.6.tar.bz2 773462 SHA256 6d7fc916eb83d0381b0719c1525c8ea13a5032abcadd438755c7451b9f071561 SHA512 487110b4abfd5be5503bee82b100be538881acea88f7fefa374aa9f1ec349016ac8c0200e9c6fc1669c110c718ae4f2477a844b169e72eca5dd5750ce933d2ab WHIRLPOOL e49237ad5c4d290f71503c5a27fb368ecd0167ae2e295917dafd2e215e9fdab090267274a99e47eb3ad3881f5ee6483c9a8a0edde85ad1fe26f45c96523a66f5
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/klavaro/klavaro-1.9.3.ebuild,v 1.2 2012/02/13 23:13:15 tetromino Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Another free touch typing tutor program"
|
||||
HOMEPAGE="http://klavaro.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-misc/curl
|
||||
>=x11-libs/gtk+-2.16.6:2
|
||||
x11-libs/gtkdatabox"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
|| ( dev-util/gtk-builder-convert <=x11-libs/gtk+-2.24.10:2 )"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README TODO )
|
@ -0,0 +1,20 @@
|
||||
diff --git a/po/POTFILES.in b/po/POTFILES.in
|
||||
index 7a1dc7f..4ea6ca3 100644
|
||||
--- a/po/POTFILES.in
|
||||
+++ b/po/POTFILES.in
|
||||
@@ -3,6 +3,7 @@
|
||||
data/homebank.desktop.in.in
|
||||
|
||||
# Main application
|
||||
+src/da_encoding.c
|
||||
src/def_archive.c
|
||||
src/def_budget.c
|
||||
src/def_filter.c
|
||||
@@ -13,6 +14,7 @@ src/dsp_account.c
|
||||
src/dsp_wallet.c
|
||||
src/homebank.c
|
||||
src/hb_category.c
|
||||
+src/hb_transaction.c
|
||||
src/import.c
|
||||
src/list_account.c
|
||||
src/list_operation.c
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/diffmask/diffmask-9999.ebuild,v 1.1 2012/12/15 12:34:36 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="A utility to maintain package.unmask entries up-to-date with masks"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/diffmask/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=sys-apps/portage-2.1.8.3"
|
||||
#if LIVE
|
||||
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/flaggie/flaggie-9999.ebuild,v 1.1 2012/12/15 12:34:06 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
EGIT_HAS_SUBMODULES=1
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="A smart CLI mangler for package.* files"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/flaggie/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~mips ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=sys-apps/portage-2.1.8.3"
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp contrib/bash-completion/${PN}.bash-completion ${PN}
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Please denote that flaggie creates backups of your package.* files"
|
||||
ewarn "before performing each change through appending a single '~'."
|
||||
ewarn "If you'd like to keep your own backup of them, please use another"
|
||||
ewarn "naming scheme (or even better some VCS)."
|
||||
elog
|
||||
elog "bash-completion support requires:"
|
||||
elog " app-shells/gentoo-bashcomp"
|
||||
has_version app-shells/gentoo-bashcomp && \
|
||||
elog "(installed already)"
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoopm/gentoopm-9999.ebuild,v 1.1 2012/12/15 12:34:02 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/${PN}.git
|
||||
http://git.overlays.gentoo.org/gitroot/proj/${PN}.git
|
||||
http://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="A common interface to Gentoo package managers"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/gentoopm/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="|| (
|
||||
sys-apps/pkgcore
|
||||
>=sys-apps/portage-2.1.10.3
|
||||
>=sys-apps/paludis-0.64.2[python-bindings] )"
|
||||
DEPEND="doc? ( dev-python/epydoc )"
|
||||
PDEPEND="app-admin/eselect-package-manager"
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
python_export_best
|
||||
"${PYTHON}" setup.py doc || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/* )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/install-mask/install-mask-9999.ebuild,v 1.1 2012/12/15 12:38:06 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="Handle INSTALL_MASK setting in make.conf"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/install-mask/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-portage/flaggie[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]"
|
||||
#if LIVE
|
||||
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/pms-test-suite/pms-test-suite-9999.ebuild,v 1.1 2012/12/15 12:40:07 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_DEPEND='2:2.6'
|
||||
# Python ABIs are not supported by pkgcore
|
||||
#SUPPORT_PYTHON_ABIS=1
|
||||
# Python3 is not supported by dbus & gobject
|
||||
RESTRICT_PYTHON_ABIS='2.4 2.5 3.*'
|
||||
DISTUTILS_SRC_TEST=setup.py
|
||||
|
||||
inherit base distutils
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/${PN}.git
|
||||
http://git.overlays.gentoo.org/gitroot/proj/${PN}.git
|
||||
http://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="A test suite for Package Manager PMS compliance"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/qa/pms/pms-test-suite.xml"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND=">=app-portage/gentoopm-0.1.5
|
||||
dev-python/dbus-python
|
||||
dev-python/pygobject:2"
|
||||
DEPEND="doc? ( dev-python/epydoc )
|
||||
test? ( >=sys-apps/portage-2.1.10.3
|
||||
sys-apps/pkgcore
|
||||
>=sys-apps/paludis-0.64.2[python-bindings] )"
|
||||
|
||||
PYTHON_MODNAME=pmstestsuite
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc; then
|
||||
"$(PYTHON)" setup.py "${_DISTUTILS_GLOBAL_OPTIONS[@]}" doc || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/*
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST portpeek-2.0.24.tar.gz 11373 SHA256 77b787e2c59743f40ad407c5a3026b3858f2c8475cf4d78cada25f3852691d4d SHA512 ef8ed9446caa41011c8d2d83cc5522848aff64c1cc45acc6863cdd474ed5654bd8d2a6985f815598110f4efc63253f8b1540242466e8b8cdc514426f99f0faae WHIRLPOOL 8e29ebe03a33d849d284e032c2cc1de1c574dacc81a355003eca2dac0cfb6f7302213296f68c0565f1ca872c3e73fd1afd5cd6ec0f3e5e71b1181986a672ca44
|
||||
DIST portpeek-2.0.25.tar.gz 11367 SHA256 38de327bdefdd853166ec0ecdae03ccd508fb27c9762b99cea9926ce38801f5b SHA512 ea4b996787f4f956e3146f6618189f389f78f7a3778297ba1a2118b048c5f2e950221fbe4f9c52249a043f1fc65b4c45a01b799bb52b61e337527702f2149d9d WHIRLPOOL b57636fb820d6e5f0cb1611ca0e417c8d6b04a2c0fc50f9b32da78b940984c687c3ea1dc9a00660ce395108daca372fc3b9d90d9158cab51c502aa6677fd282d
|
||||
DIST portpeek-2.1.1.tar.gz 11744 SHA256 523ebfc87624fb36a100b502557d1e6b7388c6aff61c141211c8ca277170c402 SHA512 23c7cc9ba9c0c6e0a73fbeb3fb5d1ca4240e245efef00677f92e2ae55b81eeb1f68848e954470fe14f1ca28052a7da298c94d66296bfce14852f74449e2111ab WHIRLPOOL 9fdb620a42602107054dbc4fee7e8d869da97c9c7bb835eec9a76042019480803afe900c2d949bc75ee3f144afa20c3fac6148d78e21f96c9bcc2714666e9084
|
||||
DIST portpeek-2.1.3.tar.gz 11686 SHA256 5373152973898cf3e6ae36d7aa4a9f930fb494d18c87050d06b67ef35c57e5d4 SHA512 6bd22a13a1d3c443a40f002c73296e6c5fb4a75f49a34e6e9593bdcfac5cac3b54b067047e9d059ac20188aec1e599fcbef0cbd38d986c9fee05103016506f60 WHIRLPOOL 1c0418821263a91585419ffcb7be59d21a1ad5b46fb3e8345c7171d951dd4431324b1833ffb8106da9a7aab243e6df10adb484d392604337e4b93b21e1610b13
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-2.1.3.ebuild,v 1.1 2012/12/15 01:58:48 mpagano Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*:2.7"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="A helper program for maintaining the package.keyword and package.unmask files"
|
||||
HOMEPAGE="http://www.mpagano.com/blog/?page_id=3"
|
||||
SRC_URI="http://www.mpagano.com/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-portage/gentoolkit-0.3.0.7
|
||||
>=sys-apps/portage-2.1.11.31"
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die "dobin failed"
|
||||
doman *.[0-9]
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/repo-commit/repo-commit-9999.ebuild,v 1.1 2012/12/15 12:38:30 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#if LIVE
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
EGIT_REPO_URI="http://bitbucket.org/gentoo/${PN}.git"
|
||||
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="A repository commit helper"
|
||||
HOMEPAGE="https://bitbucket.org/gentoo/repo-commit/"
|
||||
SRC_URI="mirror://bitbucket/gentoo/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
>=sys-apps/portage-2.2.0_alpha86
|
||||
( >=sys-apps/portage-2.1.10.30
|
||||
<sys-apps/portage-2.2.0_alpha )
|
||||
app-portage/gentoolkit-dev
|
||||
)
|
||||
sys-apps/portage"
|
||||
#if LIVE
|
||||
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/smart-live-rebuild/smart-live-rebuild-9999.ebuild,v 1.1 2012/12/15 12:38:24 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="Check live packages for updates and emerge them as necessary"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/smart-live-rebuild/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-portage/gentoopm-0.2.1[${PYTHON_USEDEP}]"
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py test || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
insinto /etc/portage
|
||||
newins smart-live-rebuild.conf{.example,}
|
||||
insinto /usr/share/portage/config/sets
|
||||
newins sets.conf.example ${PN}.conf
|
||||
}
|
@ -0,0 +1,218 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash/bash-4.2_p39-r1.ebuild,v 1.1 2012/12/15 01:55:49 vapier Exp $
|
||||
|
||||
EAPI="1"
|
||||
|
||||
inherit eutils flag-o-matic toolchain-funcs multilib
|
||||
|
||||
# Official patchlevel
|
||||
# See ftp://ftp.cwru.edu/pub/bash/bash-4.2-patches/
|
||||
PLEVEL=${PV##*_p}
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
[[ ${PV} != *_p* ]] && PLEVEL=0
|
||||
patches() {
|
||||
local opt=$1 plevel=${2:-${PLEVEL}} pn=${3:-${PN}} pv=${4:-${MY_PV}}
|
||||
[[ ${plevel} -eq 0 ]] && return 1
|
||||
eval set -- {1..${plevel}}
|
||||
set -- $(printf "${pn}${pv/\.}-%03d " "$@")
|
||||
if [[ ${opt} == -s ]] ; then
|
||||
echo "${@/#/${DISTDIR}/}"
|
||||
else
|
||||
local u
|
||||
for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${pn} ; do
|
||||
printf "${u}/${pn}-${pv}-patches/%s " "$@"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="http://tiswww.case.edu/php/chet/bash/bashtop.html"
|
||||
SRC_URI="mirror://gnu/bash/${MY_P}.tar.gz $(patches)"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline vanilla"
|
||||
|
||||
DEPEND=">=sys-libs/ncurses-5.2-r2
|
||||
readline? ( >=sys-libs/readline-6.2 )
|
||||
nls? ( virtual/libintl )"
|
||||
RDEPEND="${DEPEND}
|
||||
!<sys-apps/portage-2.1.6.7_p1
|
||||
!<sys-apps/paludis-0.26.0_alpha5"
|
||||
# we only need yacc when the .y files get patched (bash42-005)
|
||||
DEPEND+=" virtual/yacc"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
if is-flag -malign-double ; then #7332
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
if use bashlogger ; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_P}.tar.gz
|
||||
cd "${S}"
|
||||
|
||||
# Include official patches
|
||||
[[ ${PLEVEL} -gt 0 ]] && epatch $(patches -s)
|
||||
|
||||
# Clean out local libs so we know we use system ones
|
||||
rm -rf lib/{readline,termcap}/*
|
||||
touch lib/{readline,termcap}/Makefile.in # for config.status
|
||||
sed -ri -e 's:\$[(](RL|HIST)_LIBSRC[)]/[[:alpha:]]*.h::g' Makefile.in || die
|
||||
|
||||
# Avoid regenerating docs after patches #407985
|
||||
sed -i -r '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in || die
|
||||
touch -r . doc/*
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-4.2-execute-job-control.patch #383237
|
||||
epatch "${FILESDIR}"/${PN}-4.2-parallel-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.2-no-readline.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.2-speed-up-read-N.patch
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=
|
||||
|
||||
# For descriptions of these, see config-top.h
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\"/bin:/usr/bin:/sbin:/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC \
|
||||
$(use bashlogger && echo -DSYSLOG_HISTORY)
|
||||
|
||||
# Don't even think about building this statically without
|
||||
# reading Bug 7714 first. If you still build it statically,
|
||||
# don't come crying to us with bugs ;).
|
||||
#use static && export LDFLAGS="${LDFLAGS} -static"
|
||||
use nls || myconf="${myconf} --disable-nls"
|
||||
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=6.2
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
|
||||
use plugins && append-ldflags -Wl,-rpath,/usr/$(get_libdir)/bash
|
||||
econf \
|
||||
--with-installed-readline=. \
|
||||
--with-curses \
|
||||
$(use_with afs) \
|
||||
$(use_enable net net-redirections) \
|
||||
--disable-profiling \
|
||||
$(use_enable mem-scramble) \
|
||||
$(use_with mem-scramble bash-malloc) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable readline history) \
|
||||
$(use_enable readline bang-history) \
|
||||
${myconf}
|
||||
emake || die
|
||||
|
||||
if use plugins ; then
|
||||
emake -C examples/loadables all others || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
|
||||
dodir /bin
|
||||
mv "${D}"/usr/bin/bash "${D}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/{bashrc,bash_logout}
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc} ; do
|
||||
newins "${FILESDIR}"/dot-${f} .${f}
|
||||
done
|
||||
|
||||
local sed_args=(
|
||||
-e "s:#${USERLAND}#@::"
|
||||
-e '/#@/d'
|
||||
)
|
||||
if ! use readline ; then
|
||||
sed_args+=( #432338
|
||||
-e '/^shopt -s histappend/s:^:#:'
|
||||
-e 's:use_color=true:use_color=false:'
|
||||
)
|
||||
fi
|
||||
sed -i \
|
||||
"${sed_args[@]}" \
|
||||
"${D}"/etc/skel/.bashrc \
|
||||
"${D}"/etc/bash/bashrc || die
|
||||
|
||||
if use plugins ; then
|
||||
exeinto /usr/$(get_libdir)/bash
|
||||
doexe $(echo examples/loadables/*.o | sed 's:\.o::g') || die
|
||||
insinto /usr/include/bash-plugins
|
||||
doins *.h builtins/*.h examples/loadables/*.h include/*.h \
|
||||
lib/{glob/glob.h,tilde/tilde.h}
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
for d in examples/{functions,misc,scripts,scripts.noah,scripts.v2} ; do
|
||||
exeinto /usr/share/doc/${PF}/${d}
|
||||
insinto /usr/share/doc/${PF}/${d}
|
||||
for f in ${d}/* ; do
|
||||
if [[ ${f##*/} != PERMISSION ]] && [[ ${f##*/} != *README ]] ; then
|
||||
doexe ${f}
|
||||
else
|
||||
doins ${f}
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
doman doc/*.1
|
||||
dodoc README NEWS AUTHORS CHANGES COMPAT Y2K doc/FAQ doc/INTRO
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${ROOT}/etc/bashrc ]] && [[ ! -d ${ROOT}/etc/bash ]] ; then
|
||||
mkdir -p "${ROOT}"/etc/bash
|
||||
mv -f "${ROOT}"/etc/bashrc "${ROOT}"/etc/bash/
|
||||
fi
|
||||
|
||||
if [[ -L ${ROOT}/bin/sh ]]; then
|
||||
# rewrite the symlink to ensure that its mtime changes. having /bin/sh
|
||||
# missing even temporarily causes a fatal error with paludis.
|
||||
local target=$(readlink "${ROOT}"/bin/sh)
|
||||
local tmp=$(emktemp "${ROOT}"/bin)
|
||||
ln -sf "${target}" "${tmp}"
|
||||
mv -f "${tmp}" "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# If /bin/sh does not exist, provide it
|
||||
if [[ ! -e ${ROOT}/bin/sh ]]; then
|
||||
ln -sf bash "${ROOT}"/bin/sh
|
||||
fi
|
||||
}
|
@ -0,0 +1,112 @@
|
||||
http://lists.gnu.org/archive/html/bug-bash/2012-11/msg00034.html
|
||||
|
||||
From 530d4988afd68ea9d2cf1b0267d4dc821d0d204f Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Mon, 19 Nov 2012 17:58:51 -0500
|
||||
Subject: [PATCH] bash: speed up `read -N`
|
||||
|
||||
Rather than using 1 byte reads, use the existing cache read logic.
|
||||
This could be sped up more, but this change is not as invasive and
|
||||
should (hopefully) be fairly safe.
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
builtins/read.def | 21 ++++++++++++++++-----
|
||||
externs.h | 1 +
|
||||
lib/sh/zread.c | 15 +++++++++++++--
|
||||
3 files changed, 30 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/builtins/read.def b/builtins/read.def
|
||||
index e32dec7..81a1b3f 100644
|
||||
--- a/builtins/read.def
|
||||
+++ b/builtins/read.def
|
||||
@@ -457,7 +457,10 @@ read_builtin (list)
|
||||
interrupt_immediately++;
|
||||
terminate_immediately++;
|
||||
|
||||
- unbuffered_read = (nchars > 0) || (delim != '\n') || input_is_pipe;
|
||||
+ if ((nchars > 0) && !input_is_tty && ignore_delim)
|
||||
+ unbuffered_read = 2;
|
||||
+ else if ((nchars > 0) || (delim != '\n') || input_is_pipe)
|
||||
+ unbuffered_read = 1;
|
||||
|
||||
if (prompt && edit == 0)
|
||||
{
|
||||
@@ -505,10 +508,18 @@ read_builtin (list)
|
||||
print_ps2 = 0;
|
||||
}
|
||||
|
||||
- if (unbuffered_read)
|
||||
- retval = zread (fd, &c, 1);
|
||||
- else
|
||||
- retval = zreadc (fd, &c);
|
||||
+ switch (unbuffered_read)
|
||||
+ {
|
||||
+ case 2:
|
||||
+ retval = zreadcn (fd, &c, nchars - nr);
|
||||
+ break;
|
||||
+ case 1:
|
||||
+ retval = zread (fd, &c, 1);
|
||||
+ break;
|
||||
+ default:
|
||||
+ retval = zreadc (fd, &c);
|
||||
+ break;
|
||||
+ }
|
||||
|
||||
if (retval <= 0)
|
||||
{
|
||||
diff --git a/externs.h b/externs.h
|
||||
index 09244fa..a5ad645 100644
|
||||
--- a/externs.h
|
||||
+++ b/externs.h
|
||||
@@ -479,6 +479,7 @@ extern ssize_t zread __P((int, char *, size_t));
|
||||
extern ssize_t zreadretry __P((int, char *, size_t));
|
||||
extern ssize_t zreadintr __P((int, char *, size_t));
|
||||
extern ssize_t zreadc __P((int, char *));
|
||||
+extern ssize_t zreadcn __P((int, char *, int));
|
||||
extern ssize_t zreadcintr __P((int, char *));
|
||||
extern void zreset __P((void));
|
||||
extern void zsyncfd __P((int));
|
||||
diff --git a/lib/sh/zread.c b/lib/sh/zread.c
|
||||
index 5db21a9..af7d02b 100644
|
||||
--- a/lib/sh/zread.c
|
||||
+++ b/lib/sh/zread.c
|
||||
@@ -101,15 +101,18 @@ static char lbuf[128];
|
||||
static size_t lind, lused;
|
||||
|
||||
ssize_t
|
||||
-zreadc (fd, cp)
|
||||
+zreadcn (fd, cp, len)
|
||||
int fd;
|
||||
char *cp;
|
||||
+ int len;
|
||||
{
|
||||
ssize_t nr;
|
||||
|
||||
if (lind == lused || lused == 0)
|
||||
{
|
||||
- nr = zread (fd, lbuf, sizeof (lbuf));
|
||||
+ if (len > sizeof (lbuf))
|
||||
+ len = sizeof (lbuf);
|
||||
+ nr = zread (fd, lbuf, len);
|
||||
lind = 0;
|
||||
if (nr <= 0)
|
||||
{
|
||||
@@ -123,6 +126,14 @@ zreadc (fd, cp)
|
||||
return 1;
|
||||
}
|
||||
|
||||
+ssize_t
|
||||
+zreadc (fd, cp)
|
||||
+ int fd;
|
||||
+ char *cp;
|
||||
+{
|
||||
+ return zreadcn (fd, cp, sizeof (lbuf));
|
||||
+}
|
||||
+
|
||||
/* Don't mix calls to zreadc and zreadcintr in the same function, since they
|
||||
use the same local buffer. */
|
||||
ssize_t
|
||||
--
|
||||
1.7.12.4
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pe-format/pe-format-2.9999.ebuild,v 1.1 2012/12/15 12:55:53 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#if LIVE
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}2.git"
|
||||
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
inherit autotools-utils fdo-mime systemd
|
||||
|
||||
DESCRIPTION="Intelligent PE executable wrapper for binfmt_misc"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/pe-format2/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}2/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<sys-apps/openrc-0.9.4"
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
|
||||
DEPEND="sys-devel/systemd-sdk"
|
||||
#endif
|
||||
|
||||
src_configure() {
|
||||
systemd_to_myeconfargs
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
keepdir /var/lib
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ebegin "Calling pe-format2-setup to update handler setup"
|
||||
pe-format2-setup
|
||||
eend ${?}
|
||||
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,328 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.52.0-r5.ebuild,v 1.1 2012/12/15 14:45:27 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
|
||||
|
||||
inherit eutils flag-o-matic multilib multiprocessing python-r1 toolchain-funcs versionator
|
||||
|
||||
MY_P=${PN}_$(replace_all_version_separators _)
|
||||
|
||||
DESCRIPTION="Boost Libraries for C++"
|
||||
HOMEPAGE="http://www.boost.org/"
|
||||
SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT=0
|
||||
MAJOR_V="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="debug doc icu +nls mpi python static-libs +threads tools"
|
||||
|
||||
RDEPEND="icu? ( >=dev-libs/icu-3.6:= )
|
||||
!icu? ( virtual/libiconv )
|
||||
mpi? ( || ( sys-cluster/openmpi[cxx] sys-cluster/mpich2[cxx,threads] ) )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
sys-libs/zlib
|
||||
!app-admin/eselect-boost"
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-util/boost-build-${MAJOR_V}*"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
create_user-config.jam() {
|
||||
local compiler compiler_version compiler_executable
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
compiler="darwin"
|
||||
compiler_version="$(gcc-fullversion)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
else
|
||||
compiler="gcc"
|
||||
compiler_version="$(gcc-version)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
fi
|
||||
local mpi_configuration python_configuration
|
||||
|
||||
if use mpi; then
|
||||
mpi_configuration="using mpi ;"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_configuration="using python : : ${PYTHON} ;"
|
||||
fi
|
||||
|
||||
cat > user-config.jam << __EOF__
|
||||
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
|
||||
${mpi_configuration}
|
||||
${python_configuration}
|
||||
__EOF__
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.48.0-mpi_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.51.0-support_dots_in_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-python_linking.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch" \
|
||||
"${FILESDIR}/remove-toolset-1.48.0.patch" \
|
||||
"${FILESDIR}/${PN}-1.52.0-tuple.patch"
|
||||
|
||||
# Avoid a patch for now
|
||||
for file in libs/context/src/asm/*.S; do
|
||||
cat - >> $file <<EOF
|
||||
|
||||
#if defined(__linux__) && defined(__ELF__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
#endif
|
||||
EOF
|
||||
done
|
||||
}
|
||||
|
||||
ejam() {
|
||||
echo b2 "$@"
|
||||
b2 "$@"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
OPTIONS="$(usex debug gentoodebug gentoorelease) -j$(makeopts_jobs) -q -d+2 --user-config=${S}/user-config.jam"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
# We need to add the prefix, and in two cases this exceeds, so prepare
|
||||
# for the largest possible space allocation.
|
||||
append-ldflags -Wl,-headerpad_max_install_names
|
||||
fi
|
||||
|
||||
# bug 298489
|
||||
if use ppc || use ppc64; then
|
||||
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
|
||||
fi
|
||||
|
||||
# Do _not_ use C++11 yet, make sure to force GNU C++ 98 standard.
|
||||
append-cxxflags -std=gnu++98
|
||||
|
||||
use icu && OPTIONS+=" -sICU_PATH=/usr"
|
||||
use icu || OPTIONS+=" --disable-icu boost.locale.icu=off"
|
||||
use mpi || OPTIONS+=" --without-mpi"
|
||||
use python || OPTIONS+=" --without-python"
|
||||
use nls || OPTIONS+=" --without-locale"
|
||||
|
||||
OPTIONS+=" pch=off --boost-build=/usr/share/boost-build --prefix=\"${D}usr\" --layout=system threading=$(usex threads multi single) link=$(usex static-libs shared,static shared) --without-context"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export BOOST_ROOT="${S}"
|
||||
PYTHON_DIRS=""
|
||||
MPI_PYTHON_MODULE=""
|
||||
|
||||
building() {
|
||||
create_user-config.jam
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
$(use python && echo --python-buildid=${EPYTHON#python}) \
|
||||
|| die "Building of Boost libraries failed"
|
||||
|
||||
if use python; then
|
||||
if [[ -z "${PYTHON_DIRS}" ]]; then
|
||||
PYTHON_DIRS="$(find bin.v2/libs -name python | sort)"
|
||||
else
|
||||
if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
mv ${dir} ${dir}-${EPYTHON} \
|
||||
|| die "Renaming of '${dir}' to '${dir}-${EPYTHON}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
if [[ -z "${MPI_PYTHON_MODULE}" ]]; then
|
||||
MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)"
|
||||
if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then
|
||||
die "Multiple mpi.so files found"
|
||||
fi
|
||||
else
|
||||
if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
mv stage/lib/mpi.so stage/lib/mpi.so-${EPYTHON} \
|
||||
|| die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${EPYTHON}' failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_foreach_impl building
|
||||
else
|
||||
building
|
||||
fi
|
||||
|
||||
if use tools; then
|
||||
pushd tools > /dev/null || die
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
|| die "Building of Boost tools failed"
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
installation() {
|
||||
create_user-config.jam
|
||||
|
||||
if use python; then
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
cp -pr ${dir}-${EPYTHON} ${dir} \
|
||||
|| die "Copying of '${dir}-${EPYTHON}' to '${dir}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} "${MPI_PYTHON_MODULE}" \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to '${MPI_PYTHON_MODULE}' failed"
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} stage/lib/mpi.so \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to 'stage/lib/mpi.so' failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
--includedir="${D}usr/include" \
|
||||
--libdir="${D}usr/$(get_libdir)" \
|
||||
$(use python && echo --python-buildid=${EPYTHON#python}) \
|
||||
install || die "Installation of Boost libraries failed"
|
||||
|
||||
if use python; then
|
||||
rm -r ${PYTHON_DIRS} || die
|
||||
|
||||
# Move mpi.so Python module to Python site-packages directory.
|
||||
# https://svn.boost.org/trac/boost/ticket/2838
|
||||
if use mpi; then
|
||||
local moddir=$(python_get_sitedir)/boost
|
||||
dodir "${moddir}"
|
||||
mv "${D}usr/$(get_libdir)/mpi.so" "${D}${moddir}" || die
|
||||
cat << EOF > "${D}${moddir}/__init__.py" || die
|
||||
import sys
|
||||
if sys.platform.startswith('linux'):
|
||||
import DLFCN
|
||||
flags = sys.getdlopenflags()
|
||||
sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
|
||||
from . import mpi
|
||||
sys.setdlopenflags(flags)
|
||||
del DLFCN, flags
|
||||
else:
|
||||
from . import mpi
|
||||
del sys
|
||||
EOF
|
||||
fi
|
||||
|
||||
python_optimize
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_foreach_impl installation
|
||||
else
|
||||
installation
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
rm -r "${D}"/usr/include/boost/python* || die
|
||||
fi
|
||||
|
||||
if ! use nls; then
|
||||
rm -r "${D}"/usr/include/boost/locale || die
|
||||
fi
|
||||
|
||||
rm -r "${D}"/usr/include/boost/context || die
|
||||
|
||||
if use doc; then
|
||||
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
|
||||
dohtml \
|
||||
-A pdf,txt,cpp,hpp \
|
||||
*.{htm,html,png,css} \
|
||||
-r doc
|
||||
dohtml -A pdf,txt -r tools
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r libs
|
||||
doins -r more
|
||||
|
||||
# To avoid broken links
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins LICENSE_1_0.txt
|
||||
|
||||
dosym /usr/include/boost /usr/share/doc/${PF}/html/boost
|
||||
fi
|
||||
|
||||
pushd "${D}usr/$(get_libdir)" > /dev/null || die
|
||||
|
||||
local ext=$(get_libname)
|
||||
if use threads; then
|
||||
local f
|
||||
for f in *${ext}; do
|
||||
dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}}
|
||||
done
|
||||
fi
|
||||
|
||||
popd > /dev/null || die
|
||||
|
||||
if use tools; then
|
||||
dobin dist/bin/*
|
||||
|
||||
insinto /usr/share
|
||||
doins -r dist/share/boostbook
|
||||
fi
|
||||
|
||||
# boost's build system truely sucks for not having a destdir. Because for
|
||||
# this reason we are forced to build with a prefix that includes the
|
||||
# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
|
||||
# DESTROOT instread of the actual EPREFIX. There is no way out of here
|
||||
# but to do it the dirty way of manually setting the right install_names.
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
einfo "Working around completely broken build-system(tm)"
|
||||
local d
|
||||
for d in "${ED}"usr/lib/*.dylib; do
|
||||
if [[ -f ${d} ]]; then
|
||||
# fix the "soname"
|
||||
ebegin " correcting install_name of ${d#${ED}}"
|
||||
install_name_tool -id "/${d#${D}}" "${d}"
|
||||
eend $?
|
||||
# fix references to other libs
|
||||
refs=$(otool -XL "${d}" | \
|
||||
sed -e '1d' -e 's/^\t//' | \
|
||||
grep "^libboost_" | \
|
||||
cut -f1 -d' ')
|
||||
local r
|
||||
for r in ${refs}; do
|
||||
ebegin " correcting reference to ${r}"
|
||||
install_name_tool -change \
|
||||
"${r}" \
|
||||
"${EPREFIX}/usr/lib/${r}" \
|
||||
"${d}"
|
||||
eend $?
|
||||
done
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Yai for having symlinks that are nigh-impossible to remove without
|
||||
# resorting to dirty hacks like these. Removes lingering symlinks
|
||||
# from the slotted versions.
|
||||
local symlink
|
||||
for symlink in "${EROOT}usr/include/boost" "${EROOT}usr/share/boostbook"; do
|
||||
[[ -L ${symlink} ]] && rm -f "${symlink}"
|
||||
done
|
||||
}
|
||||
|
||||
# the tests will never fail because these are not intended as sanity
|
||||
# tests at all. They are more a way for upstream to check their own code
|
||||
# on new compilers. Since they would either be completely unreliable
|
||||
# (failing for no good reason) or completely useless (never failing)
|
||||
# there is no point in having them in the ebuild to begin with.
|
||||
src_test() { :; }
|
@ -1,2 +1,3 @@
|
||||
DIST Botan-1.10.1.tbz 2195784 SHA256 205a3c011391d01ca3e4f127a2ffbf993a4f59788ffa45a6df06ef4ff382a89e SHA512 6e1fecf6cb9103428c444a13b89eb21983c054f1327fcc48ff89876749644c1e635e09d8af595e8ff31ab9c657a11cf4953e9c262a6ee42bce3f68370f0636fa WHIRLPOOL 39e881806a4ee24ed75c6ac1cad8cd7ded962026138641da70ea672a45982fe9d8c6d3b41302c5b5b96567809377bcbcf3801aea8e6792f9d5e8705f6b6c3533
|
||||
DIST Botan-1.10.3.tbz 2215991 SHA256 e1db6af2deb230699b076cde893ad949f0580d4fd7b030fcd791ae982d184734 SHA512 e14a961dca2ece04b20a574ad1eb4467f1d94ac1c1fb3b66db704d750aa9953dd78e5700065b896eea63effeffdeb6c529cc8de6eea30c3acef851cd7ddb872b WHIRLPOOL 2b400ec5f6bbaf235a88a057a5dbde05987894a6f8cbf3a8fc0447192d42ce13d4fe9a06060ef09d5eaafe5357ee726345b1e753654136f1612a7c7912688fd5
|
||||
DIST Botan-1.8.11.tbz 2808114 SHA256 c3b60a2c3dfcbe7b21626e8459e5134d3cbabe45b6d94f454860b99798739ba4 SHA512 03577a01e464841e7c985ce6323c4eeaf8d5fc968786d058139e8f965d81900ceb17c7e3f54c948b9dbb602717fec0eff153e1f140c4016aef97c7adb317e5d1 WHIRLPOOL a7f1283ca50d52ccff025a74c10cd7b973a196f873b8386e0efc73af84d0e765a127448f999be9e76e90e772dc20950bf0ae9972fad99840b0045caea41ee811
|
||||
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/botan-1.10.3.ebuild,v 1.1 2012/12/15 01:03:30 alonbl Exp $
|
||||
|
||||
EAPI="3"
|
||||
#PYTHON_BDEPEND="2"
|
||||
|
||||
inherit eutils multilib python toolchain-funcs
|
||||
|
||||
MY_PN="Botan"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="A C++ crypto library"
|
||||
HOMEPAGE="http://botan.randombit.net/"
|
||||
SRC_URI="http://files.randombit.net/botan/${MY_P}.tbz"
|
||||
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos"
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
IUSE="bzip2 gmp ssl threads zlib"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
|
||||
zlib? ( >=sys-libs/zlib-1.2.3 )
|
||||
gmp? ( >=dev-libs/gmp-4.2.2 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.8g )"
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-lang/python-2*"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Install documentation in /usr/share/doc/${PF}.
|
||||
sed -e "/^DOCDIR *=/s/Botan-\$(VERSION)/${PF}/" -i src/build-data/makefile/unix_shr.in || die "sed failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local disable_modules="proc_walk,unix_procs,cpu_counter"
|
||||
|
||||
if ! use threads; then
|
||||
disable_modules="${disable_modules},pthreads"
|
||||
fi
|
||||
|
||||
# Enable v9 instructions for sparc64
|
||||
if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then
|
||||
CHOSTARCH="sparc32-v9"
|
||||
else
|
||||
CHOSTARCH="${CHOST%%-*}"
|
||||
fi
|
||||
|
||||
cd "${S}"
|
||||
elog "Disabling modules: ${disable_modules}"
|
||||
|
||||
local myos=
|
||||
case ${CHOST} in
|
||||
*-darwin*) myos=darwin ;;
|
||||
*) myos=linux ;;
|
||||
esac
|
||||
|
||||
# foobared buildsystem, --prefix translates into DESTDIR, see also make
|
||||
# install in src_install, we need the correct live-system prefix here on
|
||||
# Darwin for a shared lib with correct install_name
|
||||
./configure.py \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--libdir=$(get_libdir) \
|
||||
--docdir=share/doc \
|
||||
--cc=gcc \
|
||||
--os=${myos} \
|
||||
--cpu=${CHOSTARCH} \
|
||||
--with-endian="$(tc-endian)" \
|
||||
--with-tr1=system \
|
||||
$(use_with bzip2) \
|
||||
$(use_with gmp gnump) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with zlib) \
|
||||
--disable-modules=${disable_modules} \
|
||||
|| die "configure.py failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CXX="$(tc-getCXX)" AR="$(tc-getAR) crs" LIB_OPT="${CXXFLAGS}" MACH_OPT="" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
chmod -R ugo+rX "${S}"
|
||||
emake CXX="$(tc-getCXX)" CHECK_OPT="${CXXFLAGS}" check || die "emake check failed"
|
||||
LD_LIBRARY_PATH="${S}" ./check --validate || die "Validation tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}usr" install || die "emake install failed"
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdivsufsort/libdivsufsort-9999.ebuild,v 1.1 2012/12/15 12:38:19 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit cmake-utils multilib
|
||||
|
||||
#if LIVE
|
||||
ESVN_REPO_URI="http://libdivsufsort.googlecode.com/svn/trunk/"
|
||||
inherit subversion
|
||||
#endif
|
||||
|
||||
DESCRIPTION="Suffix-sorting library (for BWT)"
|
||||
HOMEPAGE="http://code.google.com/p/libdivsufsort/"
|
||||
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
src_prepare() {
|
||||
# will appreciate saner approach, if there is any
|
||||
sed -i -e "s:\(DESTINATION \)lib:\1$(get_libdir):" \
|
||||
*/CMakeLists.txt || die
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
From 3f35444ca2ae842a546010180e2b16cdd0169b6c Mon Sep 17 00:00:00 2001
|
||||
From: Sean McGovern <gseanmcg@gmail.com>
|
||||
Date: Tue, 30 Oct 2012 19:23:27 -0400
|
||||
Subject: [PATCH] Probe for archiver tool
|
||||
|
||||
Gentoo bug#438160.
|
||||
---
|
||||
config.make.in | 2 +-
|
||||
configure.ac | 1 +
|
||||
2 files changed, 2 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/config.make.in b/config.make.in
|
||||
index 58ee19c..f42421f 100644
|
||||
--- a/config.make.in
|
||||
+++ b/config.make.in
|
||||
@@ -46,7 +46,7 @@ LIBHOGWEED_FORLINK = @LIBHOGWEED_FORLINK@
|
||||
LIBHOGWEED_LIBS = @LIBHOGWEED_LIBS@
|
||||
LIBHOGWEED_LINK = @LIBHOGWEED_LINK@
|
||||
|
||||
-AR = ar
|
||||
+AR = @AR@
|
||||
ARFLAGS = cru
|
||||
AUTOCONF = autoconf
|
||||
AUTOHEADER = autoheader
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index dea9bd4..737febb 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -104,6 +104,7 @@ AC_PROG_RANLIB
|
||||
AC_CHECK_TOOL(NM, nm, strings)
|
||||
# Used only for the GNU-stack configure test.
|
||||
AC_CHECK_TOOL(OBJDUMP, objdump, false)
|
||||
+AC_CHECK_TOOL(AR, ar, false)
|
||||
|
||||
if test "x$ac_cv_prog_cc_stdc" = xno ; then
|
||||
AC_ERROR([the C compiler doesn't handle ANSI-C]) #'
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -0,0 +1,108 @@
|
||||
From c4a57cf2b0ebf3b99309f40cfa1c5107ae038d84 Mon Sep 17 00:00:00 2001
|
||||
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
Date: Fri, 14 Dec 2012 23:31:10 +0200
|
||||
Subject: [PATCH] build: add --enable-static option
|
||||
|
||||
Gentoo bug#405525, support not installing static libraries.
|
||||
|
||||
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||
---
|
||||
Makefile.in | 16 ++++++++++------
|
||||
configure.ac | 12 ++++++++++++
|
||||
2 files changed, 22 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index be0de3c..d4a2a7d 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -21,7 +21,11 @@ include config.make
|
||||
PRE_CPPFLAGS = -I.
|
||||
# FIXME: Add configuration of LIBEXT?
|
||||
LIBTARGETS = libnettle.a @IF_HOGWEED@ libhogweed.a
|
||||
-SHLIBTARGETS = $(LIBNETTLE_FORLINK) @IF_HOGWEED@ $(LIBHOGWEED_FORLINK)
|
||||
+@IF_STATIC@INSTALL_LIBTARGETS = install-static
|
||||
+@IF_STATIC@UNINSTALL_LIBTARGETS = uninstall-static
|
||||
+@IF_SHARED@SHLIBTARGETS = $(LIBNETTLE_FORLINK) @IF_HOGWEED@ $(LIBHOGWEED_FORLINK)
|
||||
+@IF_SHARED@INSTALL_SHLIBTARGETS = install-shared-nettle @IF_HOGWEED@ install-shared-hogweed
|
||||
+@IF_SHARED@UNINSTALL_SHLIBTARGETS = uninstall-shared
|
||||
|
||||
getopt_SOURCES = getopt.c getopt1.c
|
||||
getopt_TARGETS = $(getopt_SOURCES:.c=.$(OBJEXT))
|
||||
@@ -32,7 +36,7 @@ internal_TARGETS = $(internal_SOURCES:.c=.$(OBJEXT))
|
||||
TARGETS = aesdata$(EXEEXT) desdata$(EXEEXT) twofishdata$(EXEEXT) \
|
||||
shadata$(EXEEXT) gcmdata$(EXEEXT) \
|
||||
$(getopt_TARGETS) $(internal_TARGETS) \
|
||||
- $(LIBTARGETS) @IF_SHARED@ $(SHLIBTARGETS)
|
||||
+ $(LIBTARGETS) $(SHLIBTARGETS)
|
||||
IMPLICIT_TARGETS = @IF_DLL@ $(LIBNETTLE_FILE) $(LIBHOGWEED_FILE)
|
||||
|
||||
DOCTARGETS = nettle.info nettle.html nettle.pdf
|
||||
@@ -302,8 +306,8 @@ hogweed.pc: hogweed.pc.in config.status
|
||||
./config.status $@
|
||||
|
||||
# Installation
|
||||
-install-here: install-info install-headers install-static install-pkgconfig \
|
||||
- @IF_SHARED@ install-shared-nettle @IF_HOGWEED@ install-shared-hogweed
|
||||
+install-here: install-info install-headers install-pkgconfig \
|
||||
+ $(INSTALL_LIBTARGETS) $(INSTALL_SHLIBTARGETS)
|
||||
|
||||
install-static: $(LIBTARGETS)
|
||||
$(MKDIR_P) $(DESTDIR)$(libdir)
|
||||
@@ -369,8 +373,8 @@ install-pkgconfig: $(PKGCONFIG_FILES)
|
||||
done
|
||||
|
||||
# Uninstall
|
||||
-uninstall-here: uninstall-info uninstall-headers uninstall-static \
|
||||
- uninstall-pkgconfig @IF_SHARED@ uninstall-shared
|
||||
+uninstall-here: uninstall-info uninstall-headers uninstall-pkgconfig \
|
||||
+ $(UNINSTALL_LIBTARGETS) $(UNINSTALL_SHLIBTARGETS)
|
||||
|
||||
uninstall-static:
|
||||
for f in $(LIBTARGETS) ; do \
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 6bf2b8b..994ee75 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -43,6 +43,10 @@ AC_ARG_ENABLE(assembler,
|
||||
AC_HELP_STRING([--disable-assembler],[Disable assembler code]),,
|
||||
[enable_assembler=yes])
|
||||
|
||||
+AC_ARG_ENABLE(static,
|
||||
+ AC_HELP_STRING([--disable-static], [Do not build any static library]),,
|
||||
+ [enable_static=yes])
|
||||
+
|
||||
AC_ARG_ENABLE(shared,
|
||||
AC_HELP_STRING([--disable-shared], [Do not build any shared library]),,
|
||||
[enable_shared=yes])
|
||||
@@ -566,6 +570,12 @@ else
|
||||
IF_HOGWEED='#'
|
||||
fi
|
||||
|
||||
+if test "x$enable_static" = xyes ; then
|
||||
+ IF_STATIC=''
|
||||
+else
|
||||
+ IF_STATIC='#'
|
||||
+fi
|
||||
+
|
||||
if test "x$enable_shared" = xyes ; then
|
||||
IF_SHARED=''
|
||||
else
|
||||
@@ -573,6 +583,7 @@ else
|
||||
fi
|
||||
|
||||
AC_SUBST(IF_HOGWEED)
|
||||
+AC_SUBST(IF_STATIC)
|
||||
AC_SUBST(IF_SHARED)
|
||||
AC_SUBST(IF_DLL)
|
||||
|
||||
@@ -654,6 +665,7 @@ AC_MSG_NOTICE([summary of build options:
|
||||
Install prefix: ${prefix}
|
||||
Library directory: ${libdir}
|
||||
Compiler: ${CC}
|
||||
+ Static libraries: ${enable_static}
|
||||
Shared libraries: ${enable_shared}
|
||||
Public key crypto: ${enable_public_key}
|
||||
])
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/nettle-2.5-r1.ebuild,v 1.2 2012/12/14 22:35:13 alonbl Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Low-level cryptographic library"
|
||||
HOMEPAGE="http://www.lysator.liu.se/~nisse/nettle/"
|
||||
SRC_URI="http://www.lysator.liu.se/~nisse/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( LGPL-3 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="static-libs +gmp"
|
||||
|
||||
DEPEND="gmp? ( dev-libs/gmp )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "/CFLAGS=/s: -ggdb3::" -i configure.ac || die
|
||||
epatch "${FILESDIR}"/${PN}-2.5-missing-libm-link.patch
|
||||
sed -i -e 's/solaris\*)/sunldsolaris*)/' configure.ac || die
|
||||
epatch "${FILESDIR}/${P}-static-libs.patch"
|
||||
epatch "${FILESDIR}/${P}-build-ar.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --disable-openssl bug #427526
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable gmp public-key) \
|
||||
--disable-openssl
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>mgorny@gentoo.org</email>
|
||||
<name>Michał Górny</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer status="active">
|
||||
<email>mgorny@gentoo.org</email>
|
||||
<name>Michał Górny</name>
|
||||
</maintainer>
|
||||
<bugs-to>https://bitbucket.org/mgorny/pyh2o/issues/</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyh2o/pyh2o-9999.ebuild,v 1.1 2012/12/15 12:59:16 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
#if LIVE
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="Library of routines for IF97 water & steam properties"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/libh2o/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymountboot/pymountboot-9999.ebuild,v 1.1 2012/12/15 12:40:23 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="Python extension module to (re)mount /boot"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/pymountboot/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=sys-apps/util-linux-2.20"
|
||||
DEPEND="${RDEPEND}"
|
||||
#if LIVE
|
||||
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-exec/python-exec-9999.ebuild,v 1.1 2012/12/15 12:48:22 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#if LIVE
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
inherit autotools-utils python-r1
|
||||
|
||||
DESCRIPTION="Python script wrapper"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/python-exec/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
append_impl() {
|
||||
pyimpls+="${EPYTHON} "
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local pyimpls
|
||||
python_foreach_impl append_impl
|
||||
|
||||
local myeconfargs=(
|
||||
--with-eprefix="${EPREFIX}"
|
||||
--with-python-impls="${pyimpls}"
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST bourne-1.1.2.gem 17408 SHA256 f092b958d22158311f899dd8f9b07e2ca85bd011164774c05b8f39ce7b3afa8f SHA512 dd8cc4c6bb169579d4c475a457e41701cdb75ff56d265895548e70f6d3918254369c4495b4ab0571f131059fcec8d8e87adf76e201168c5bea51e915f7d3b1c7 WHIRLPOOL 6330c83ad7d00aef962a36477dda01631223f17016365eec709f89e61f1bd072b9889f5979bd4666bb212782d7a38873a87dd255a0a59c58beb8487ab3f89810
|
||||
DIST bourne-1.2.0.gem 17408 SHA256 525a800909a49dceaf2508e2eed348265e712ce4b2eb4dbe680fa5600aeb1348 SHA512 3670ea124968afcf1485c94bfad2327e721687b8ea625161b84b63cd855d75783a2f4a028e444549f5b7099aad3cceebc704fd5b412927d4eaf76823c0e99aff WHIRLPOOL 2e86643ee02621ee7e92f74c15dae789044ce75bc5055b752d0b366add21c862fea643e5a0db7cc545707b25087ade6e5659dacdf745e7ca6f427dd5bd5620ef
|
||||
DIST bourne-1.3.0.gem 17408 SHA256 c5fd6a7451dbc811e15f52dee88f517a7a09a0e1b53a0506d35e5140c2e8b284 SHA512 e8f0441c385c1cdab5d8d02278b42ccc7cd42c24df7841f1cc7727626e9f6e22af1221e36a1e4324a81d9354e2ae608f57945a5cafc0a6e6253de6432d3dd80d WHIRLPOOL 9456847ca0e88e25b8c95ad2c61964ec0e587eb119dab5618eadebe3079176b3682a08c3803edad6e8bf7a25c9e481f18589a1ede3e65d61ecda921dae93c260
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bourne/bourne-1.3.0.ebuild,v 1.1 2012/12/15 08:21:26 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:units test:acceptance"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Extends mocha to allow detailed tracking and querying of stub and mock invocations."
|
||||
HOMEPAGE="http://github.com/thoughtbot/bourne"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "=dev-ruby/mocha-0.13*"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i \
|
||||
-e '/git ls-files/d' \
|
||||
-e '/dependency.*mocha/s:0.13.0:~> 0.13.0:' \
|
||||
"${RUBY_FAKEGEM_GEMSPEC}" || die
|
||||
|
||||
sed -i -e '/bundler/d' Rakefile || die
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST builder-2.1.2.tgz 20255 SHA256 9666250a78b4bfc31865da3ed07b9c714626d7cd976e7692071226554f2c3e7e SHA512 cb76bc699bc19d4a6679f39670683e40f60fc42c178beca4458180d17ab80f73cdc1166878ed874810a48f63839b39d15b68b160e8e44b62e243dd6eaccac67b WHIRLPOOL b020b15debc793087a7e33809d4cc9dfd00211b7b085a122344c8c25fbc41cfea99660e4f7160ad1721e5eaa9d767e6b00a6d4064b154f1b822f20b827a41e0b
|
||||
DIST builder-3.0.0.gem 609280 SHA256 fbd3e15e5de02245f7d649b3415b2c2875cdc9a14dccde89aa30fc14a314618e SHA512 c17a402085d031677bcda043a0386c1c01aa029ae7a60f9d82c98df97f4572b301dddbb7237d7042aebd95aa70949c75758fc0dde4a340c0e8ea7aca1dccda54 WHIRLPOOL 0032c884931ce7265fb82d3b058abd0c4adfd47ca2cda49c3d5a2c37ab248fd6e8607125732c681ac578c12c0f67d1bf8ec6ce93154e3a8ff8a29725442f84b1
|
||||
DIST builder-3.0.3.gem 26112 SHA256 1d5471cdee27648a8d7485821aff888be68b538ea631a21038b194ea2810a503 SHA512 5652f65571a436e35875bc7957050669937a2a8a75fa47180f59255deb35dc0648d32e4e1244928de872e8dcc34ad6dc3aee34e486b1dfa421e7fc58e1e0384d WHIRLPOOL 16a115e704c464631142ab00f601b84bfcbfc8d5b159402060610c8e4b98a6bb7821e4ad2a780d168e7542cd8e0d4141f5779424e55a0411e5214ec9dbb2463c
|
||||
DIST builder-3.0.4.gem 26112 SHA256 a1a31cc496700003b6809f09fc2fda5d22532a1551eed48ee402ed44040cc442 SHA512 5709d4ede932d3eb136ba42e162a5d4a6c033a68c4bafdb68eefb6912499dc8b98716301f341e2a9471f1e9a206e4f3cdd2843bf90068ca729daafd02cccd03b WHIRLPOOL eb02982825ae7c331ee1bf19dbc11e4554bb4ebf2fc4b0df3e91c45ad00d661a150f3dca84b44d435aec30b889006f0dec17b4a4b978bef895cb035511ec0341
|
||||
DIST builder-3.1.4.gem 26112 SHA256 b700924902c2680a4f6568aa8dee2879010754c305ea651ad7eb83b583970bdc SHA512 d9da48735ef719927e71b2bbd392424fbef1aa0b728ac0bff8b6924d752f1f4f3a615153b392803528dfcbf48add3793d411abed23437f64c828b457dd0f24e7 WHIRLPOOL f459d54e04fbbd3b53e52e31a6d52507f4cc401f52bb06048d8fdfe5d1b82d5df0c009a6dec97134573ef5433cc8a19bd483ed4cbeb148b63763bd580fc8c987
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/builder-2.1.2-r1.ebuild,v 1.22 2012/10/27 18:29:51 armin76 Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test_all"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README CHANGES"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="A builder to facilitate programatic generation of XML markup"
|
||||
HOMEPAGE="http://rubyforge.org/projects/builder/"
|
||||
SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/rdoc\.template .*jamis/d' Rakefile || die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-activesupport.patch
|
||||
epatch "${FILESDIR}"/${P}-fix-tests.patch
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/builder-2.1.2-r2.ebuild,v 1.10 2012/10/27 18:29:51 armin76 Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test_all"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README CHANGES"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="A builder to facilitate programatic generation of XML markup"
|
||||
HOMEPAGE="http://rubyforge.org/projects/builder/"
|
||||
SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/rdoc\.template .*jamis/d' Rakefile || die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-activesupport.patch
|
||||
epatch "${FILESDIR}"/${P}-fix-tests.patch
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/builder-3.0.0-r1.ebuild,v 1.3 2012/05/06 18:08:05 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test_all"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README CHANGES"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="A builder to facilitate programatic generation of XML markup"
|
||||
HOMEPAGE="http://rubyforge.org/projects/builder/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/rdoc )"
|
||||
|
||||
RDEPEND="${RDEPEND}"
|
||||
DEPEND+=" doc? ( dev-util/ctags )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i \
|
||||
-e '/rdoc\.template .*jamis/d' \
|
||||
-e 's:xctags:exuberant-ctags:' \
|
||||
Rakefile || die
|
||||
|
||||
# Remove file that should not be part of the distribution.
|
||||
rm test/test_cssbuilder.rb || die
|
||||
|
||||
epatch "${FILESDIR}"/${P}+ruby-1.9.2.patch
|
||||
epatch "${FILESDIR}"/${P}-tests.patch
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/builder-3.0.0.ebuild,v 1.6 2011/12/31 18:39:56 grobian Exp $
|
||||
|
||||
EAPI=2
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test_all"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README CHANGES"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="A builder to facilitate programatic generation of XML markup"
|
||||
HOMEPAGE="http://rubyforge.org/projects/builder/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/rdoc\.template .*jamis/d' Rakefile || die
|
||||
|
||||
# Remove file that should not be part of the distribution.
|
||||
rm test/test_cssbuilder.rb || die
|
||||
|
||||
epatch "${FILESDIR}"/${P}+ruby-1.9.2.patch
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/builder-3.0.3.ebuild,v 1.1 2012/10/04 05:57:45 graaff Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/builder/builder-3.1.4.ebuild,v 1.1 2012/12/15 11:27:06 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test_all"
|
@ -1,3 +1,4 @@
|
||||
DIST bundler-1.0.18.gem 172544 SHA256 abace9e70731ac1d3be808f6160a9540b80d23cd27e1a94077b3f95d57c4e167 SHA512 975cf14689b483eca7eb150fb208b66ca10a223b6f7f8d6bcee50663bcdf92a17c3f8c4c315df12c075f658dc18648705c90521de506705b1103d26d0a491082 WHIRLPOOL 96696ba60113ddf4e9bea5a889373278a84d2deb72df3ad54c337a4c1e946c6845d196915ff2180329c5389366d8c80b5df2b3bd9f334a6420b58e8ab1e92216
|
||||
DIST bundler-1.0.22.gem 175104 SHA256 c0e7285aa312240747b3a3b1de59786a04950a4240ec6c96b9d0efdd58d4ec43 SHA512 49b72751e093efa5a1a6965463a226c1f5d85596b6c26541d21b65176221f6d6393600e2db660a648cd5da0247b236a682fc1c9a2f91277259ed02bcbc3a30a3 WHIRLPOOL 11dcee6206e02d005c7f422527da66be7ecd865d75ad789de99dada15e737e9d427ca8d8a0c9f1dbc6715dec9a757b2fefb648e3fc2eefe6d03a11e441688902
|
||||
DIST bundler-1.1.5.gem 205312 SHA256 627270b2c18ff6747ea15427aaa5aec30c15718a3db27693d929fdbd431679bf SHA512 f62363222a8b8c8b3a80fa9bc92ef1a325dbb42c9ccfb5750abbd9a9d6144753cbf5105062c17dfef2dfb6978150b4a79ed5cde25234c336e4295effbc772c24 WHIRLPOOL b3f7e749a3280e2d1416a8ac0bcde9fa1f0419edf95e1c2bf7f3a7233a6c872ae5e647d8fcefb97234e543d0c4ec6c5e3ff1ec9a1662164eb557a34974806c40
|
||||
DIST bundler-1.2.3.gem 223232 SHA256 9c6c3553a94b93a1664337ead705d73a410c54269a97c7084e2d800498f5c62d SHA512 0ac244854200eeb50dd6b499528cf4f8f122ae9dc011127b306b8bc95a8df66bfb27fa867a2562423a542b63f37c04dba7cda8317be69a7f91edf8ba81ed87db WHIRLPOOL dae0255d5f145957f6e4ca3ee9b81865dc8e8c4927313a36641c8d7f8ec0a1c5df19af2f9a9fc14739fd93b9eb85d5575ecd8c1cd05470838daa8f12e66eb64b
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bundler/bundler-1.2.3.ebuild,v 1.1 2012/12/15 11:00:09 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# jruby → Many tests fail and test suite hangs.
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
# No documentation task
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md ISSUES.md UPGRADING.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An easy way to vendor gem dependencies"
|
||||
HOMEPAGE="http://github.com/carlhuda/bundler"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend virtual/rubygems
|
||||
|
||||
ruby_add_bdepend "test? ( app-text/ronn )"
|
||||
|
||||
RDEPEND+=" dev-vcs/git"
|
||||
DEPEND+=" test? ( dev-vcs/git )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Bundler only supports running the specs from git:
|
||||
# http://github.com/carlhuda/bundler/issues/issue/738
|
||||
sed -i -e '/when Bundler is bundled/,/^ end/ s:^:#:' spec/runtime/setup_spec.rb || die
|
||||
|
||||
# Fails randomly and no clear cause can be found. Might be related
|
||||
# to bug 346357. This was broken in previous releases without a
|
||||
# failing spec, so patch out this spec for now since it is not a
|
||||
# regression.
|
||||
sed -i -e '/works when you bundle exec bundle/,/^ end/ s:^:#:' spec/install/deploy_spec.rb || die
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-sftp/net-sftp-2.0.5-r1.ebuild,v 1.1 2012/12/15 13:05:29 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="SFTP in pure Ruby"
|
||||
HOMEPAGE="http://net-ssh.rubyforge.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/net-ssh-2.0.17-r1"
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? ( dev-ruby/echoe )
|
||||
test? (
|
||||
dev-ruby/echoe
|
||||
dev-ruby/mocha
|
||||
)"
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*ruby19)
|
||||
each_fakegem_test
|
||||
;;
|
||||
*)
|
||||
# Ignore tests since they hang, mostl likely due to bad
|
||||
# interaction with net-ssh:
|
||||
# https://github.com/net-ssh/net-sftp/issues/16 This seems
|
||||
# fixed in newer net-ssh versions but these are ruby19 only.
|
||||
;;
|
||||
esac
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/abi-compliance-checker/abi-compliance-checker-9999.ebuild,v 1.1 2012/12/15 12:47:24 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="git://github.com/lvc/${PN}.git
|
||||
http://github.com/lvc/${PN}.git"
|
||||
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="A tool for checking backward compatibility of a C/C++ library"
|
||||
HOMEPAGE="http://ispras.linuxbase.org/index.php/ABI_compliance_checker"
|
||||
SRC_URI="mirror://github/lvc/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
#if LIVE
|
||||
SRC_URI=
|
||||
KEYWORDS=
|
||||
#endif
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${D}"/usr || die
|
||||
perl Makefile.pl --install --prefix=/usr --destdir="${D}" || die
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/atomic-install/atomic-install-9999.ebuild,v 1.1 2012/12/15 12:45:07 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#if LIVE
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
EGIT_REPO_URI="git://github.com/mgorny/${PN}.git
|
||||
http://github.com/mgorny/${PN}.git"
|
||||
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="A library and tool to atomically install sets of files"
|
||||
HOMEPAGE="https://github.com/mgorny/atomic-install/"
|
||||
SRC_URI="mirror://github/mgorny/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc static-libs xattr"
|
||||
|
||||
RDEPEND="xattr? ( sys-apps/attr )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( >=dev-util/gtk-doc-1.18 )"
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
DEPEND="${DEPEND}
|
||||
>=dev-util/gtk-doc-1.18"
|
||||
#endif
|
||||
|
||||
src_configure() {
|
||||
myeconfargs=(
|
||||
$(use_enable doc gtk-doc)
|
||||
$(use_enable xattr libattr)
|
||||
)
|
||||
|
||||
autotools-utils_src_configure
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-bz/git-bz-9999.ebuild,v 1.1 2012/12/15 12:45:44 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND=2
|
||||
|
||||
inherit python
|
||||
|
||||
#if LIVE
|
||||
EGIT_REPO_URI="git://git.fishsoup.net/${PN}
|
||||
http://git.fishsoup.net/cgit/${PN}
|
||||
https://bitbucket.org/mgorny/${PN}.git"
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
DESCRIPTION="Bugzilla subcommand for git"
|
||||
HOMEPAGE="http://www.fishsoup.net/software/git-bz/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-vcs/git"
|
||||
|
||||
#if LIVE
|
||||
DEPEND="app-text/asciidoc
|
||||
app-text/xmlto"
|
||||
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs 2 ${PN}
|
||||
emake ${PN}.1
|
||||
}
|
||||
#endif
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
doman ${PN}.1
|
||||
dodoc TODO
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST torcs-1.3.1.tar.bz2 211422481 RMD160 4c03e4f3c4a5e5594d0560219ed215aa36b37595 SHA1 90a7cf9e6605d510d75103b4e1f28efc6faf933a SHA256 901b7baddbdc6c0aa343be1b35fe3ef2eb30100279ba9189d8ec8ed4b33d51fd
|
||||
DIST torcs-1.3.1.tar.bz2 211422481 SHA256 901b7baddbdc6c0aa343be1b35fe3ef2eb30100279ba9189d8ec8ed4b33d51fd SHA512 a4192698ac16e0cabb53c11ead9b5098dcfb4e40febb5313946019d2f1ccc7b9647e450691d26fe32f8eced6d307f393b4d73a06dab2398871b079f7f6c0972b WHIRLPOOL be46223cf2a0c2cb2b7eb8aafe5ddc245d3190ba29b16abc1e31b58e87e425b339b4ad60a8793a170ed09f94d775ebf2ea3b7e46f9535821919a35eb2c9629f4
|
||||
DIST torcs-1.3.4.tar.bz2 414704098 SHA256 be50a42e4a32b322411a786ce4ab2fed44a1a2431511aef9925017858168e485 SHA512 8998ebaa92cb9d6c45cef5743b0cf6da04d88bb3eea18c863c4b3542eaff4b4c09cf47755dd47f5103fe4c0701125c8492cf6220bec97f1825e8cc549aa8270e WHIRLPOOL a73f3b8c4334d0d6795e1053d6131de84d2179cfc2451abf27bff05f57fdc5281deffae4a1f4c48333846e4aaaee7a5a1f6965cc353ba3b718327e494dae757a
|
||||
|
@ -0,0 +1,106 @@
|
||||
--- torcs-1.3.4/configure.in
|
||||
+++ torcs-1.3.4/configure.in
|
||||
@@ -123,11 +123,10 @@
|
||||
AC_CHECK_LIB(Xxf86vm, XF86VidModeSetViewPort,,AC_MSG_ERROR([Can't find libXxf86vm. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"]))
|
||||
AC_CHECK_LIB(Xrender, XRenderSetSubpixelOrder,,AC_MSG_ERROR([Can't find libXrender. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"]))
|
||||
AC_CHECK_LIB(Xrandr, XRRQueryVersion,,AC_MSG_ERROR([Can't find libXrandr. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"]))
|
||||
-AC_CHECK_LIB(openal, alEnable, LDFLAGS="$LDFLAGS -lopenal", AC_MSG_ERROR([Can't find AL/al.h. OpenAL can be found on http://www.openal.org/]))
|
||||
+AC_CHECK_LIB(openal, alEnable, LIBS="$LIBS -lopenal", AC_MSG_ERROR([Can't find AL/al.h. OpenAL can be found on http://www.openal.org/]))
|
||||
AC_CHECK_LIB(alut, alutLoadWAVFile,
|
||||
- LDFLAGS="$LDFLAGS -lalut",
|
||||
- LDFLAGS="$LDFLAGS")
|
||||
-AC_CHECK_LIB(vorbisfile, ov_fopen, LDFLAGS="$LDFLAGS -lvorbisfile", AC_MSG_ERROR([Can't find libvorbis.]))
|
||||
+ LIBS="$LIBS -lalut", )
|
||||
+AC_CHECK_LIB(vorbisfile, ov_fopen, LIBS="$LIBS -lvorbisfile", AC_MSG_ERROR([Can't find libvorbis.]))
|
||||
|
||||
AC_CHECK_LIB(dl, dlopen)
|
||||
AC_CHECK_FUNC(dlopen,,AC_MSG_ERROR([Can't find dlopen function. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"]))
|
||||
--- torcs-1.3.4/Make-default.mk
|
||||
+++ torcs-1.3.4/Make-default.mk
|
||||
@@ -402,7 +402,7 @@
|
||||
ifdef PROGRAM
|
||||
|
||||
${PROGRAM}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a})
|
||||
- ${CXX} ${OBJECTS} ${LDFLAGS} ${LIBS} ${SOLIBS} ${EXT_LIBS} -o $@
|
||||
+ ${CXX} ${CXXFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS}
|
||||
|
||||
installprogram: ${PROGRAM}
|
||||
@ createdir="${INSTLIBBASE}" ; \
|
||||
@@ -420,14 +420,14 @@
|
||||
ifdef LOCALTOOLS
|
||||
|
||||
${LOCALTOOLS}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a})
|
||||
- ${CXX} ${OBJECTS} ${LDFLAGS} ${LIBS} ${EXT_LIBS} ${SOLIBS} -o $@
|
||||
+ ${CXX} ${CXXFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS}
|
||||
|
||||
endif
|
||||
|
||||
ifdef TOOLS
|
||||
|
||||
${TOOLS}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a})
|
||||
- ${CXX} ${OBJECTS} ${LDFLAGS} ${LIBS} ${EXT_LIBS} ${SOLIBS} -o $@
|
||||
+ ${CXX} ${CXXFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS}
|
||||
|
||||
installtools: ${TOOLS}
|
||||
@createdir="${INSTBINBASE}/${TOOLSDIR}" ; \
|
||||
@@ -478,7 +478,7 @@
|
||||
ifdef SOLIBRARY
|
||||
|
||||
${SOLIBRARY}: ${OBJECTS}
|
||||
- ${CXX} -shared -o ${SOLIBRARY} ${OBJECTS} ${LDFLAGS} ${LIBSPATH} ${LIBS} ${DEBUG_LIBS}
|
||||
+ ${CXX} ${CXXFLAGS} ${LDFLAGS} -shared -o ${SOLIBRARY} ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS}
|
||||
@D=`pwd` ; \
|
||||
createdir="${EXPORTBASE}/lib" ; \
|
||||
$(mkinstalldirs) $$createdir ; \
|
||||
@@ -509,7 +509,7 @@
|
||||
ifdef MODULE
|
||||
|
||||
${MODULE}: ${OBJECTS}
|
||||
- ${CXX} -shared -o ${MODULE} ${OBJECTS} ${LDFLAGS} ${LIBSPATH} ${LIBS}
|
||||
+ ${CXX} ${CXXFLAGS} ${LDFLAGS} -shared -o ${MODULE} ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS}
|
||||
@D=`pwd` ; \
|
||||
createdir="${EXPORTBASE}/${MODULEDIR}" ; \
|
||||
$(mkinstalldirs) $$createdir ; \
|
||||
--- torcs-1.3.4/src/libs/client/Makefile
|
||||
+++ torcs-1.3.4/src/libs/client/Makefile
|
||||
@@ -23,6 +23,8 @@
|
||||
SOURCES = entry.cpp mainmenu.cpp splash.cpp exitmenu.cpp \
|
||||
optionmenu.cpp
|
||||
|
||||
+SOLIBS = -lconfscreens -lraceengine
|
||||
+
|
||||
LIBS = -lplibssg -lplibsg -lplibul
|
||||
|
||||
EXPDIR = include
|
||||
--- torcs-1.3.4/src/libs/Makefile
|
||||
+++ torcs-1.3.4/src/libs/Makefile
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
TOOLSUBDIRS = txml
|
||||
|
||||
-SUBDIRS = confscreens racescreens robottools txml tgf tgfclient client raceengineclient learning \
|
||||
+SUBDIRS = confscreens racescreens robottools txml tgf tgfclient raceengineclient client learning \
|
||||
portability math musicplayer
|
||||
|
||||
PKGSUBDIRS = $(SUBDIRS)
|
||||
--- torcs-1.3.4/src/libs/raceengineclient/Makefile
|
||||
+++ torcs-1.3.4/src/libs/raceengineclient/Makefile
|
||||
@@ -23,6 +23,8 @@
|
||||
SOURCES = singleplayer.cpp raceinit.cpp racemain.cpp racemanmenu.cpp racestate.cpp racegl.cpp \
|
||||
raceengine.cpp raceresults.cpp
|
||||
|
||||
+SOLIBS = -lconfscreens -lrobottools -lracescreens
|
||||
+
|
||||
EXPDIR = include
|
||||
|
||||
EXPORTS = singleplayer.h raceinit.h
|
||||
--- torcs-1.3.4/src/libs/tgf/Makefile
|
||||
+++ torcs-1.3.4/src/libs/tgf/Makefile
|
||||
@@ -29,6 +29,7 @@
|
||||
profiler.cpp \
|
||||
hash.cpp
|
||||
|
||||
+SOLIBS = -ltxml
|
||||
|
||||
EXPDIR = include
|
||||
|
@ -0,0 +1,14 @@
|
||||
respect cflags
|
||||
|
||||
--- torcs-1.3.4/configure.in
|
||||
+++ torcs-1.3.4/configure.in
|
||||
@@ -50,8 +50,7 @@
|
||||
ADDCFLAGS="-Wall -fPIC -fno-strict-aliasing"
|
||||
AC_ARG_ENABLE(debug,
|
||||
[ --enable-debug set the debug mode],
|
||||
- ADDCFLAGS="$ADDCFLAGS -g -DDEBUG -DDEBUG_OUT",
|
||||
- ADDCFLAGS="$ADDCFLAGS -O2")
|
||||
+ ADDCFLAGS="$ADDCFLAGS -g -DDEBUG -DDEBUG_OUT")
|
||||
|
||||
AC_ARG_ENABLE(xrandr,
|
||||
[ --disable-xrandr reset the XRANDR mode],
|
@ -0,0 +1,21 @@
|
||||
torcs doesn't use automake, so it shouldn't be calling the macro
|
||||
|
||||
http://bugs.gentoo.org/408473
|
||||
|
||||
--- torcs-1.3.4/configure.in
|
||||
+++ torcs-1.3.4/configure.in
|
||||
@@ -15,9 +15,12 @@
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
-AC_INIT(Make-config.in)
|
||||
+AC_INIT(torcs, 1.3.4)
|
||||
AC_CONFIG_HEADERS(config.h)
|
||||
-AM_INIT_AUTOMAKE(torcs, 1.3.4)
|
||||
+dnl Workaround code using old VERSION instead of new PACKAGE_VERSION
|
||||
+VERSION=$PACKAGE_VERSION
|
||||
+AC_DEFINE_UNQUOTED([VERSION], "$VERSION", [old VERSION workaround])
|
||||
+AC_SUBST(VERSION)
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/torcs-1.3.4.ebuild,v 1.1 2012/12/14 22:57:22 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils multilib games
|
||||
|
||||
DESCRIPTION="The Open Racing Car Simulator"
|
||||
HOMEPAGE="http://torcs.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/torcs/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 FreeArt"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="media-libs/freealut
|
||||
media-libs/freeglut
|
||||
media-libs/libpng:0
|
||||
media-libs/libvorbis
|
||||
media-libs/openal
|
||||
>=media-libs/plib-1.8.4
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
virtual/glu
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXt"
|
||||
DEPEND="${RDEPEND}
|
||||
x11-proto/xf86vidmodeproto"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-no-automake.patch \
|
||||
"${FILESDIR}"/${P}-as-needed.patch \
|
||||
"${FILESDIR}"/${P}-flags.patch
|
||||
eautoreconf
|
||||
ecvs_clean
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict $(echo /dev/snd/controlC? | sed 's/ /:/g')
|
||||
[[ -e /dev/dsp ]] && addpredict /dev/dsp
|
||||
egamesconf \
|
||||
--datadir="${GAMES_DATADIR_BASE}" \
|
||||
--x-libraries=/usr/$(get_libdir) \
|
||||
--enable-xrandr
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${D}" install datainstall
|
||||
newicon Ticon.png ${PN}.png
|
||||
make_desktop_entry ${PN} TORCS
|
||||
dodoc README doc/history/history.txt
|
||||
doman doc/man/*.6
|
||||
dohtml -r doc/faq/faq.html doc/tutorials doc/userman
|
||||
prepgamesdirs
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
Copyright (c) 1986 by University of Toronto.
|
||||
Written by Henry Spencer. Not derived from licensed software.
|
||||
|
||||
Permission is granted to anyone to use this software for any
|
||||
purpose on any computer system, and to redistribute it freely,
|
||||
subject to the following restrictions:
|
||||
|
||||
1. The author is not responsible for the consequences of use of
|
||||
this software, no matter how awful, even if they arise
|
||||
from defects in it.
|
||||
|
||||
2. The origin of this software must not be misrepresented, either
|
||||
by explicit claim or by omission.
|
||||
|
||||
3. Altered versions must be plainly marked as such, and must not
|
||||
be misrepresented as being the original software.
|
@ -1 +1,2 @@
|
||||
DIST cptutils-1.45.tar.gz 515651 SHA256 34269f0ea75160ed8ee5badafca2b005ac63f06413ba7ed0dfb84d58431ef101 SHA512 6eb8f439bc9b103a6c9b8159ece38ebde97b031eb52d50e63047d42bc473bd3f7c1762aa71fb013f8d2f7813c434db73b7b151a69a61daff850f18c030a71a0f WHIRLPOOL 5dcd00e6fcc4b53c2f4808a3442e35996a2f24ba076430abe180275457248c31ae8f5adf17350bf51cd222fef3b73f06eddf330fecb5d7062783747c2011a849
|
||||
DIST cptutils-1.46.tar.gz 512818 SHA256 8540650abe5a96610bd012aa8d4531e5656a7b9e4bfa7db47d110805944620ee SHA512 e173a7cf11e902def53c5b91afa5dc63c8176040e9306359f53b1b62c38490450fe6b11b418ac9e8c56bfe5d3498f610f992fdb524ad97a14e8a59f03ac3d126 WHIRLPOOL 7a358b70ea6bb31fbcbcb7e71bba5b8f7db6ce4586b267064c2675dc5f137a1e1bf9a5815d9808ada48e5c584c5d3cea1f811d9c8a2d8d99abb79709a00d74e8
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/cptutils/cptutils-1.46.ebuild,v 1.1 2012/12/15 03:08:00 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="A number of utilities for the manipulation of color gradient files"
|
||||
HOMEPAGE="http://soliton.vm.bytemark.co.uk/pub/jjg/en/code/cptutils.html"
|
||||
SRC_URI="http://soliton.vm.bytemark.co.uk/pub/jjg/code/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="dev-libs/libxml2:2
|
||||
media-libs/libpng"
|
||||
RDEPEND="${CDEPEND}
|
||||
=dev-lang/python-2*"
|
||||
DEPEND="${CDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs 2 src/gradient-convert/gradient-convert.py
|
||||
}
|
@ -1 +1 @@
|
||||
DIST pixels2pgf-0.1.tar.bz2 52260 RMD160 0e1d1ec28ea97365ad1d76c15452d1e69b3984ee SHA1 ef5605089f9d9e865cf0fdc8e4584aa9e6343fe7 SHA256 d6aa4f92e9a23719e98882b8537137fcd20ca99708bd90e902a47ff259eae1be
|
||||
DIST pixels2pgf-0.1.tar.bz2 52260 SHA256 d6aa4f92e9a23719e98882b8537137fcd20ca99708bd90e902a47ff259eae1be SHA512 30ae063fcc6fe0a4b2ea98d9a4c90772e6f41d8923b5d0746e1fa22f92832bbca02c33d41fa3032f300c3e7cd866a735337cf0166d29cd39a6346474a3016204 WHIRLPOOL 04ade14cc447e9ebc4a7dd52b373b29f915bba87cf83af5b8ba4fd04ee075f3d28c7ed2cff367632dc76cf783fa8a327333a4cbcf6bc61b3718c7afb3f9f1807
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/pixels2pgf/pixels2pgf-9999.ebuild,v 1.1 2012/12/15 12:45:57 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#if LIVE
|
||||
AUTOTOOLS_AUTORECONF=yes
|
||||
EGIT_REPO_URI="http://bitbucket.org/mgorny/${PN}.git"
|
||||
|
||||
inherit git-2
|
||||
#endif
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
DESCRIPTION="Convert pixel images (e.g. QRCode) to PGF/Tikz rectangles"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/pixels2pgf/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="media-libs/libsdl
|
||||
media-libs/sdl-image"
|
||||
DEPEND="${RDEPEND}"
|
||||
#if LIVE
|
||||
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
@ -1,2 +1,2 @@
|
||||
DIST vdr-burn-0.1.0-pre21.tgz 257165 RMD160 a1c838c698c71b4be626ec5e1bd089a1655f68c4 SHA1 06f441b8641636a2a0a143d4c8006333eec39398 SHA256 43bdcb6d52fc01f56cb36e865f2ed98f7a05d689c565b18de20a0a6830a68159
|
||||
DIST vdr-burn-0.2.0.tgz 252811 RMD160 7e626c76c8d737d519574387555e036d57f8ee97 SHA1 f495c05f3332a861234153c7eae1c846e3538994 SHA256 86586c61ff3bfa73f54c1d258f87f9cc84fa5e1e2a0bc876ee2bbda5817d45e9
|
||||
DIST vdr-burn-0.1.0-pre21.tgz 257165 SHA256 43bdcb6d52fc01f56cb36e865f2ed98f7a05d689c565b18de20a0a6830a68159
|
||||
DIST vdr-burn-0.2.0.tgz 252811 SHA256 86586c61ff3bfa73f54c1d258f87f9cc84fa5e1e2a0bc876ee2bbda5817d45e9 SHA512 bc595ac39943f7b5b673875ab94df5fa172c6fd69d03b047b036854a8835becc840f4250b9683de6dab2dc6899a09154944897b941ec236fcae92fea4f8b4c5e WHIRLPOOL dd9617edc6548621e97a0f67771daa185044685df850673d7d0c52f7393125a524ab5356397d0b672482c41a6c1ddf69234aeefba5e10a1421fea562bc789d69
|
||||
|
@ -0,0 +1,17 @@
|
||||
--- vdr-1.7.32/PLUGINS/src/burn/scanner.c 2011-09-07 21:37:44.000000000 +0200
|
||||
+++ vdr-1.7.33/PLUGINS/src/burn/scanner.c 2012-12-08 20:37:44.462711233 +0100
|
||||
@@ -405,12 +405,12 @@
|
||||
if (!PmtFound) {
|
||||
if ( Pid == 0)
|
||||
PatPmtParser.ParsePat(DataPtr, TS_SIZE);
|
||||
- else if (Pid == PatPmtParser.PmtPid())
|
||||
+ else if (PatPmtParser.IsPmtPid(Pid))
|
||||
PatPmtParser.ParsePmt(DataPtr, TS_SIZE);
|
||||
else if (PatPmtParser.GetVersions(PatVersion, PmtVersion)) {
|
||||
PmtFound = true;
|
||||
int streams = 0;
|
||||
- logger::debug(format( "PID found: PMT PID=0x{0}, Vpid=0x{1}, Vtype=0x{2}") % format::base( PatPmtParser.PmtPid(), 16 ) % format::base( PatPmtParser.Vpid(), 16 ) % format::base( PatPmtParser.Vtype(), 16 ));
|
||||
+ logger::debug(format( "PID found: Vpid=0x{1}, Vtype=0x{2}") % format::base( PatPmtParser.Vpid(), 16 ) % format::base( PatPmtParser.Vtype(), 16 ));
|
||||
if ( PatPmtParser.Vpid() && (PatPmtParser.Vtype() == 2)) { // accept only MPEG2
|
||||
track_info track( PatPmtParser.Vpid(), track_info::streamtype_video );
|
||||
m_tracks.push_back( track );
|
@ -1,2 +1,2 @@
|
||||
DIST vdr-epgsearch-0.9.25.beta17.tgz 780599 RMD160 5c54efd9fdbdf179717bfacfc7b89df18de28531 SHA1 7f9da736d71cc8ff5ebc896421253be13daf2522 SHA256 856f2a2c8ccaa60ddad04587464f08d7b7e673ff3b307a1b3e1f7aa53e09e0ba
|
||||
DIST vdr-epgsearch-1.0.0.tgz 667633 RMD160 481f23a659a1a8275feb351af660b28a6034d8c7 SHA1 0fb78ef195c6b41a17c31f0859143167e363d8c8 SHA256 989c3ce611ad2b591783dcd7e52a4b462b3352a7657c478e7a3b3c38164b4a12
|
||||
DIST vdr-epgsearch-0.9.25.beta17.tgz 780599 SHA256 856f2a2c8ccaa60ddad04587464f08d7b7e673ff3b307a1b3e1f7aa53e09e0ba
|
||||
DIST vdr-epgsearch-1.0.0.tgz 667633 SHA256 989c3ce611ad2b591783dcd7e52a4b462b3352a7657c478e7a3b3c38164b4a12 SHA512 3105dc847a75ad54ca854418a83db847942ba1d85f1c65a94b88310dfcdd5d614b89f0f27fd3ffc8e8c5db6c1c1e0f36e8e7a33cc71299922287f2d19dd385af WHIRLPOOL a661d76f05739d8f411ff8c1dace9b1c059e33d04a87698578a9cecf31bdf4ebc6d41bf9fce21338bafd001f0d1d386a19b08d7a1188081d33ff6f7b9a45a979
|
||||
|
@ -0,0 +1,120 @@
|
||||
diff -Naur epgsearch-1.0.0.orig/epgsearchsvdrp.c epgsearch-1.0.0/epgsearchsvdrp.c
|
||||
--- epgsearch-1.0.0.orig/epgsearchsvdrp.c 2012-12-15 11:42:41.000000000 +0100
|
||||
+++ epgsearch-1.0.0/epgsearchsvdrp.c 2012-12-15 11:44:38.000000000 +0100
|
||||
@@ -564,7 +564,7 @@
|
||||
strftime(bufStart, sizeof(bufStart), "%H%M", localtime_r(&start, &tm_r));
|
||||
strftime(bufEnd, sizeof(bufEnd), "%H%M", localtime_r(&stop, &tm_r));
|
||||
|
||||
- int timerMatch;
|
||||
+ eTimerMatch timerMatch;
|
||||
bool hasTimer = false;
|
||||
if (Timers.GetMatch(pEvent, &timerMatch))
|
||||
hasTimer = (timerMatch == tmFull);
|
||||
diff -Naur epgsearch-1.0.0.orig/mail.c epgsearch-1.0.0/mail.c
|
||||
--- epgsearch-1.0.0.orig/mail.c 2012-12-15 11:42:41.000000000 +0100
|
||||
+++ epgsearch-1.0.0/mail.c 2012-12-15 11:45:02.000000000 +0100
|
||||
@@ -49,7 +49,7 @@
|
||||
const cEvent* pEvent = GetEvent();
|
||||
if (!pEvent) return "";
|
||||
|
||||
- int TimerMatch = tmNone;
|
||||
+ eTimerMatch TimerMatch = tmNone;
|
||||
cTimer* pTimer = Timers.GetMatch(pEvent, &TimerMatch);
|
||||
if (!pTimer) return "";
|
||||
|
||||
diff -Naur epgsearch-1.0.0.orig/menu_commands.c epgsearch-1.0.0/menu_commands.c
|
||||
--- epgsearch-1.0.0.orig/menu_commands.c 2012-12-15 11:42:41.000000000 +0100
|
||||
+++ epgsearch-1.0.0/menu_commands.c 2012-12-15 11:45:40.000000000 +0100
|
||||
@@ -121,7 +121,7 @@
|
||||
{
|
||||
if (!event) return osContinue;
|
||||
|
||||
- int timerMatch = tmNone;
|
||||
+ eTimerMatch timerMatch = tmNone;
|
||||
cTimer* timer = Timers.GetMatch(event, &timerMatch);
|
||||
if (timerMatch == tmFull)
|
||||
{
|
||||
diff -Naur epgsearch-1.0.0.orig/menu_event.c epgsearch-1.0.0/menu_event.c
|
||||
--- epgsearch-1.0.0.orig/menu_event.c 2012-12-15 11:42:41.000000000 +0100
|
||||
+++ epgsearch-1.0.0/menu_event.c 2012-12-15 11:46:17.000000000 +0100
|
||||
@@ -92,7 +92,7 @@
|
||||
cEventObj* eventObjPrev = GetPrev(event);
|
||||
cEventObj* eventObjNext = GetNext(event);
|
||||
|
||||
- int timerMatch = tmNone;
|
||||
+ eTimerMatch timerMatch = tmNone;
|
||||
Timers.GetMatch(event, &timerMatch);
|
||||
const char* szRed = trVDR("Button$Record");
|
||||
if (timerMatch == tmFull)
|
||||
diff -Naur epgsearch-1.0.0.orig/menu_main.c epgsearch-1.0.0/menu_main.c
|
||||
--- epgsearch-1.0.0.orig/menu_main.c 2012-12-15 11:42:41.000000000 +0100
|
||||
+++ epgsearch-1.0.0/menu_main.c 2012-12-15 11:47:08.000000000 +0100
|
||||
@@ -181,7 +181,7 @@
|
||||
if (item) {
|
||||
if (item->timerMatch == tmFull)
|
||||
{
|
||||
- int tm = tmNone;
|
||||
+ eTimerMatch tm = tmNone;
|
||||
cTimer *timer = Timers.GetMatch(item->event, &tm);
|
||||
if (timer)
|
||||
{
|
||||
diff -Naur epgsearch-1.0.0.orig/menu_searchresults.c epgsearch-1.0.0/menu_searchresults.c
|
||||
--- epgsearch-1.0.0.orig/menu_searchresults.c 2012-12-15 11:42:41.000000000 +0100
|
||||
+++ epgsearch-1.0.0/menu_searchresults.c 2012-12-15 11:51:12.000000000 +0100
|
||||
@@ -217,7 +217,7 @@
|
||||
if (item) {
|
||||
if (item->timerMatch == tmFull)
|
||||
{
|
||||
- int tm = tmNone;
|
||||
+ eTimerMatch tm = tmNone;
|
||||
cTimer *timer = Timers.GetMatch(item->event, &tm);
|
||||
if (timer)
|
||||
{
|
||||
diff -Naur epgsearch-1.0.0.orig/menu_searchresults.h epgsearch-1.0.0/menu_searchresults.h
|
||||
--- epgsearch-1.0.0.orig/menu_searchresults.h 2012-12-15 11:42:41.000000000 +0100
|
||||
+++ epgsearch-1.0.0/menu_searchresults.h 2012-12-15 11:51:57.000000000 +0100
|
||||
@@ -50,7 +50,7 @@
|
||||
bool episodeOnly;
|
||||
cMenuTemplate* menuTemplate;
|
||||
public:
|
||||
- int timerMatch;
|
||||
+ eTimerMatch timerMatch;
|
||||
bool inSwitchList;
|
||||
const cEvent *event;
|
||||
const cSearchExt* search;
|
||||
diff -Naur epgsearch-1.0.0.orig/menu_whatson.c epgsearch-1.0.0/menu_whatson.c
|
||||
--- epgsearch-1.0.0.orig/menu_whatson.c 2012-12-15 11:42:41.000000000 +0100
|
||||
+++ epgsearch-1.0.0/menu_whatson.c 2012-12-15 11:52:37.000000000 +0100
|
||||
@@ -527,7 +527,7 @@
|
||||
{
|
||||
if (item->timerMatch == tmFull)
|
||||
{
|
||||
- int tm = tmNone;
|
||||
+ eTimerMatch tm = tmNone;
|
||||
cTimer *timer = Timers.GetMatch(item->event, &tm);
|
||||
if (timer)
|
||||
{
|
||||
diff -Naur epgsearch-1.0.0.orig/menu_whatson.h epgsearch-1.0.0/menu_whatson.h
|
||||
--- epgsearch-1.0.0.orig/menu_whatson.h 2012-12-15 11:42:41.000000000 +0100
|
||||
+++ epgsearch-1.0.0/menu_whatson.h 2012-12-15 11:53:09.000000000 +0100
|
||||
@@ -35,7 +35,7 @@
|
||||
const cEvent *event;
|
||||
cChannel *channel;
|
||||
showMode mode;
|
||||
- int timerMatch;
|
||||
+ eTimerMatch timerMatch;
|
||||
bool inSwitchList;
|
||||
cMenuTemplate* menuTemplate;
|
||||
|
||||
diff -Naur epgsearch-1.0.0.orig/services.c epgsearch-1.0.0/services.c
|
||||
--- epgsearch-1.0.0.orig/services.c 2012-12-15 11:42:41.000000000 +0100
|
||||
+++ epgsearch-1.0.0/services.c 2012-12-15 11:53:34.000000000 +0100
|
||||
@@ -143,7 +143,7 @@
|
||||
strftime(bufStart, sizeof(bufStart), "%H%M", localtime_r(&start, &tm_r));
|
||||
strftime(bufEnd, sizeof(bufEnd), "%H%M", localtime_r(&stop, &tm_r));
|
||||
|
||||
- int timerMatch;
|
||||
+ eTimerMatch timerMatch;
|
||||
bool hasTimer = false;
|
||||
if (Timers.GetMatch(pEvent, &timerMatch))
|
||||
hasTimer = (timerMatch == tmFull);
|
@ -1,139 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/projectx-0.91.0.02.ebuild,v 1.6 2012/11/07 17:52:23 billie Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit eutils toolchain-funcs java-pkg-2 java-ant-2
|
||||
|
||||
XDG_P="xdg-20100731"
|
||||
|
||||
DESCRIPTION="Converts, splits and demuxes DVB and other MPEG recordings"
|
||||
HOMEPAGE="http://project-x.sourceforge.net/"
|
||||
SRC_URI="http://dev.gentoo.org/~billie/distfiles/${P}.tar.xz
|
||||
http://sbriesen.de/gentoo/distfiles/${PN}-idctfast.tar.xz
|
||||
http://sbriesen.de/gentoo/distfiles/${XDG_P}.java.xz
|
||||
http://sbriesen.de/gentoo/distfiles/${PN}-icon.png"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE="X mmx sse"
|
||||
|
||||
COMMON_DEP="dev-java/commons-net
|
||||
X? ( =dev-java/browserlauncher2-1* )"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/xz-utils
|
||||
virtual/libiconv
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/Project-X"
|
||||
|
||||
mainclass() {
|
||||
# read Main-Class from MANIFEST.MF
|
||||
sed -n "s/^Main-Class: \([^ ]\+\).*/\1/p" "${S}/MANIFEST.MF" || die
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
local X
|
||||
|
||||
# apply stdout corruption patch (zzam@gentoo.org)
|
||||
epatch "${FILESDIR}/${PN}-0.90.4.00_p33-stdout-corrupt.patch"
|
||||
|
||||
# apply BrowserLauncher2 patch
|
||||
use X && epatch "${FILESDIR}/${PN}-0.90.4.00_p33-bl2.patch"
|
||||
rm -rf src/edu || die
|
||||
|
||||
# apply IDCTFast patch
|
||||
epatch "${FILESDIR}/${PN}-0.90.4.00_p33-idctfast.patch"
|
||||
|
||||
# apply XDG patch
|
||||
cp -f "${WORKDIR}/${XDG_P}.java" "${S}/src/xdg.java" || die
|
||||
epatch "${FILESDIR}/${PN}-0.90.4.00_p33-xdg.patch"
|
||||
|
||||
# copy build.xml
|
||||
cp -f "${FILESDIR}/build-0.90.4.00_p33.xml" build.xml || die
|
||||
|
||||
# patch executable and icon
|
||||
sed -i -e "s:^\(Exec=\).*:\1${PN}_gui:g" \
|
||||
-e "s:^\(Icon=\).*:\1${PN}:g" *.desktop || die
|
||||
|
||||
# convert CRLF to LF
|
||||
edos2unix *.txt MANIFEST.MF
|
||||
|
||||
# convert docs to utf-8
|
||||
if [ -x "$(type -p iconv)" ]; then
|
||||
for X in zutun.txt; do
|
||||
iconv -f LATIN1 -t UTF8 -o "${X}~" "${X}" && mv -f "${X}~" "${X}" || die
|
||||
done
|
||||
fi
|
||||
|
||||
# merge/remove resources depending on USE="X"
|
||||
if use X; then
|
||||
mv -f htmls resources/ || die
|
||||
else
|
||||
rm -rf src/net/sourceforge/dvb/projectx/gui || die
|
||||
rm resources/*.gif || die
|
||||
fi
|
||||
|
||||
# update library packages
|
||||
cd lib || die
|
||||
rm -f {commons-net,jakarta-oro}*.jar || die
|
||||
java-pkg_jar-from commons-net
|
||||
use X && java-pkg_jar-from browserlauncher2-1.0
|
||||
java-pkg_ensure-no-bundled-jars
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local IDCT="idct-mjpeg" # default IDCT implementation
|
||||
if use x86 || use amd64; then
|
||||
use mmx && IDCT="idct-mjpeg-mmx"
|
||||
use sse && IDCT="idct-mjpeg-sse"
|
||||
fi
|
||||
|
||||
eant build $(use_doc) -Dmanifest.mainclass=$(mainclass)
|
||||
|
||||
cd lib/PORTABLE || die
|
||||
emake CC=$(tc-getCC) IDCT="${IDCT}" LDFLAGS="${LDFLAGS}" \
|
||||
CPLAT="${CFLAGS} -O3 -ffast-math -fPIC"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar dist/${PN}.jar
|
||||
java-pkg_doso lib/PORTABLE/libidctfast.so
|
||||
|
||||
java-pkg_dolauncher ${PN}_cli --main $(mainclass) \
|
||||
--java_args "-Djava.awt.headless=true -Xmx256m"
|
||||
|
||||
# compatibility symlink, should be removed
|
||||
dosym ${PN}_cli /usr/bin/${PN}_nogui
|
||||
|
||||
if use X; then
|
||||
java-pkg_dolauncher ${PN}_gui --main $(mainclass) \
|
||||
--java_args "-Xmx256m"
|
||||
dosym ${PN}_gui /usr/bin/${PN}
|
||||
newicon "${DISTDIR}/${PN}-icon.png" "${PN}.png"
|
||||
domenu *.desktop
|
||||
else
|
||||
dosym ${PN}_cli /usr/bin/${PN}
|
||||
fi
|
||||
|
||||
dodoc *.txt
|
||||
use doc && java-pkg_dojavadoc apidocs
|
||||
use source && java-pkg_dosrc src
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Default config file and location has changed!"
|
||||
elog
|
||||
elog "It is now located at \$XDG_CONFIG_HOME/Project-X.ini"
|
||||
elog "You should move your old X.ini into the new location."
|
||||
elog
|
||||
elog "Hint: \$XDG_CONFIG_HOME defaults to ~/.config"
|
||||
}
|
@ -1,139 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/projectx/projectx-0.91.0.03.ebuild,v 1.4 2012/11/07 17:52:23 billie Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit eutils toolchain-funcs java-pkg-2 java-ant-2
|
||||
|
||||
XDG_P="xdg-20100731"
|
||||
|
||||
DESCRIPTION="Converts, splits and demuxes DVB and other MPEG recordings"
|
||||
HOMEPAGE="http://project-x.sourceforge.net/"
|
||||
SRC_URI="http://dev.gentoo.org/~billie/distfiles/${P}.tar.xz
|
||||
http://sbriesen.de/gentoo/distfiles/${PN}-idctfast.tar.xz
|
||||
http://sbriesen.de/gentoo/distfiles/${XDG_P}.java.xz
|
||||
http://sbriesen.de/gentoo/distfiles/${PN}-icon.png"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
||||
IUSE="X mmx sse"
|
||||
|
||||
COMMON_DEP="dev-java/commons-net
|
||||
X? ( =dev-java/browserlauncher2-1* )"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/xz-utils
|
||||
virtual/libiconv
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/Project-X"
|
||||
|
||||
mainclass() {
|
||||
# read Main-Class from MANIFEST.MF
|
||||
sed -n "s/^Main-Class: \([^ ]\+\).*/\1/p" "${S}/MANIFEST.MF" || die
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
local X
|
||||
|
||||
# apply stdout corruption patch (zzam@gentoo.org)
|
||||
epatch "${FILESDIR}/${PN}-0.90.4.00_p33-stdout-corrupt.patch"
|
||||
|
||||
# apply BrowserLauncher2 patch
|
||||
use X && epatch "${FILESDIR}/${PN}-0.90.4.00_p33-bl2.patch"
|
||||
rm -rf src/edu || die
|
||||
|
||||
# apply IDCTFast patch
|
||||
epatch "${FILESDIR}/${PN}-0.90.4.00_p33-idctfast.patch"
|
||||
|
||||
# apply XDG patch
|
||||
cp -f "${WORKDIR}/${XDG_P}.java" "${S}/src/xdg.java" || die
|
||||
epatch "${FILESDIR}/${PN}-0.90.4.00_p33-xdg.patch"
|
||||
|
||||
# copy build.xml
|
||||
cp -f "${FILESDIR}/build-0.90.4.00_p33.xml" build.xml || die
|
||||
|
||||
# patch executable and icon
|
||||
sed -i -e "s:^\(Exec=\).*:\1${PN}_gui:g" \
|
||||
-e "s:^\(Icon=\).*:\1${PN}:g" *.desktop || die
|
||||
|
||||
# convert CRLF to LF
|
||||
edos2unix *.txt MANIFEST.MF
|
||||
|
||||
# convert docs to utf-8
|
||||
if [ -x "$(type -p iconv)" ]; then
|
||||
for X in zutun.txt; do
|
||||
iconv -f LATIN1 -t UTF8 -o "${X}~" "${X}" && mv -f "${X}~" "${X}" || die
|
||||
done
|
||||
fi
|
||||
|
||||
# merge/remove resources depending on USE="X"
|
||||
if use X; then
|
||||
mv -f htmls resources/ || die
|
||||
else
|
||||
rm -rf src/net/sourceforge/dvb/projectx/gui || die
|
||||
rm resources/*.gif || die
|
||||
fi
|
||||
|
||||
# update library packages
|
||||
cd lib || die
|
||||
rm -f {commons-net,jakarta-oro}*.jar || die
|
||||
java-pkg_jar-from commons-net
|
||||
use X && java-pkg_jar-from browserlauncher2-1.0
|
||||
java-pkg_ensure-no-bundled-jars
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local IDCT="idct-mjpeg" # default IDCT implementation
|
||||
if use x86 || use amd64; then
|
||||
use mmx && IDCT="idct-mjpeg-mmx"
|
||||
use sse && IDCT="idct-mjpeg-sse"
|
||||
fi
|
||||
|
||||
eant build $(use_doc) -Dmanifest.mainclass=$(mainclass)
|
||||
|
||||
cd lib/PORTABLE || die
|
||||
emake CC=$(tc-getCC) IDCT="${IDCT}" LDFLAGS="${LDFLAGS}" \
|
||||
CPLAT="${CFLAGS} -O3 -ffast-math -fPIC"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar dist/${PN}.jar
|
||||
java-pkg_doso lib/PORTABLE/libidctfast.so
|
||||
|
||||
java-pkg_dolauncher ${PN}_cli --main $(mainclass) \
|
||||
--java_args "-Djava.awt.headless=true -Xmx256m"
|
||||
|
||||
# compatibility symlink, should be removed
|
||||
dosym ${PN}_cli /usr/bin/${PN}_nogui
|
||||
|
||||
if use X; then
|
||||
java-pkg_dolauncher ${PN}_gui --main $(mainclass) \
|
||||
--java_args "-Xmx256m"
|
||||
dosym ${PN}_gui /usr/bin/${PN}
|
||||
newicon "${DISTDIR}/${PN}-icon.png" "${PN}.png"
|
||||
domenu *.desktop
|
||||
else
|
||||
dosym ${PN}_cli /usr/bin/${PN}
|
||||
fi
|
||||
|
||||
dodoc *.txt
|
||||
use doc && java-pkg_dojavadoc apidocs
|
||||
use source && java-pkg_dosrc src
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Default config file and location has changed!"
|
||||
elog
|
||||
elog "It is now located at \$XDG_CONFIG_HOME/Project-X.ini"
|
||||
elog "You should move your old X.ini into the new location."
|
||||
elog
|
||||
elog "Hint: \$XDG_CONFIG_HOME defaults to ~/.config"
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST stk11xx-2.1.0.tar.gz 67744 RMD160 17efa80920ed8a9482b395373df0c62b76d85c1c SHA1 e2fd96f8c1377994a7cecfc415831a67a2111807 SHA256 8058cece918b7ebca18524447b5d80b348a8156ad954134e01c7dace950d02d9
|
||||
DIST stk11xx-2.1.0_p104.tar.xz 52104 RMD160 bea1b896e6a3557b84b015d0a6bbf18bb7ba4325 SHA1 d5fa51215b21bd168872c804a6f9dd18cc5cc6cd SHA256 e4c88e5a135d68b38b87c65f4f2dc43b7d6e2e32e593c4076c9c9dad43cb8249
|
||||
DIST stk11xx-2.1.0.tar.gz 67744 SHA256 8058cece918b7ebca18524447b5d80b348a8156ad954134e01c7dace950d02d9
|
||||
DIST stk11xx-2.1.0_p104.tar.xz 52104 SHA256 e4c88e5a135d68b38b87c65f4f2dc43b7d6e2e32e593c4076c9c9dad43cb8249 SHA512 66afb473f080b72f25f88bc9d605ebcbd575ad5bd1e1464b57bed9e8e9d5404b66d78e4f64a194690d4d3ef80d368586f5c4ace88d54e830ee8f76bb7d31e445 WHIRLPOOL 3080a569b52e10c6fa2f09b842010053b427de8f133831cd364bfffce47e19ef68d5787dbe1bc7a1984854954207c4592118adafd5210f4ca52b05ccda0805e4
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/stk11xx/stk11xx-9999.ebuild,v 1.1 2012/12/15 12:44:02 mgorny Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit base linux-mod
|
||||
|
||||
#if LIVE
|
||||
ESVN_REPO_URI="https://syntekdriver.svn.sourceforge.net/svnroot/syntekdriver/trunk/driver"
|
||||
inherit subversion
|
||||
#endif
|
||||
|
||||
DESCRIPTION="A driver for Syntek webcams often found in Asus notebooks"
|
||||
HOMEPAGE="http://syntekdriver.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/syntekdriver/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
MODULE_NAMES="${PN}(media/video:)"
|
||||
CONFIG_CHECK="VIDEO_V4L2"
|
||||
|
||||
#if LIVE
|
||||
KEYWORDS=
|
||||
SRC_URI=
|
||||
#endif
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
|
||||
BUILD_TARGETS="${PN}.ko"
|
||||
BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S}"
|
||||
|
||||
MODULESD_STK11XX_DOCS=( README )
|
||||
}
|
||||
#if LIVE
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
}
|
||||
#endif
|
@ -0,0 +1,354 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-2.0.5.ebuild,v 1.1 2012/12/15 15:34:57 lu_zero Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
SCM=""
|
||||
if [ "${PV%9999}" != "${PV}" ] ; then
|
||||
SCM=git-2
|
||||
EGIT_BOOTSTRAP="bootstrap"
|
||||
if [ "${PV%.9999}" != "${PV}" ] ; then
|
||||
EGIT_REPO_URI="git://git.videolan.org/vlc/vlc-${PV%.9999}.git"
|
||||
else
|
||||
EGIT_REPO_URI="git://git.videolan.org/vlc.git"
|
||||
fi
|
||||
fi
|
||||
|
||||
inherit eutils multilib autotools toolchain-funcs flag-o-matic ${SCM}
|
||||
|
||||
MY_PV="${PV/_/-}"
|
||||
MY_PV="${MY_PV/-beta/-test}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
PATCHLEVEL="101"
|
||||
DESCRIPTION="VLC media player - Video player and streamer"
|
||||
HOMEPAGE="http://www.videolan.org/vlc/"
|
||||
if [ "${PV%9999}" != "${PV}" ] ; then # Live ebuild
|
||||
SRC_URI=""
|
||||
elif [[ "${MY_P}" == "${P}" ]]; then
|
||||
SRC_URI="http://download.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.xz"
|
||||
else
|
||||
SRC_URI="http://download.videolan.org/pub/videolan/testing/${MY_P}/${MY_P}.tar.xz"
|
||||
fi
|
||||
|
||||
SRC_URI="${SRC_URI}
|
||||
mirror://gentoo/${PN}-patches-${PATCHLEVEL}.tar.bz2
|
||||
"
|
||||
|
||||
LICENSE="LGPL-2.1 GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
if [ "${PV%9999}" = "${PV}" ] ; then
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 -sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
else
|
||||
KEYWORDS=""
|
||||
fi
|
||||
IUSE="a52 aac aalib alsa altivec atmo +audioqueue avahi +avcodec
|
||||
+avformat bidi bluray cdda cddb dbus dc1394 debug dirac direct2d
|
||||
directfb directx dshow dts dvb +dvbpsi dvd dxva2 elibc_glibc egl +encode
|
||||
fbosd fluidsynth +ffmpeg flac fontconfig +gcrypt gme gnome gnutls
|
||||
growl httpd ieee1394 ios-vout jack kate kde libass libcaca libnotify
|
||||
libproxy libsamplerate libtiger linsys libtar lirc live lua +macosx
|
||||
+macosx-audio +macosx-dialog-provider +macosx-eyetv +macosx-quartztext
|
||||
+macosx-qtkit +macosx-vout matroska media-library mmx modplug mp3 mpeg
|
||||
mtp musepack ncurses neon ogg omxil opengl opus optimisememory oss png
|
||||
portaudio +postproc projectm pulseaudio pvr +qt4 rtsp run-as-root samba
|
||||
schroedinger sdl sdl-image shine shout sid skins speex sqlite sse svg
|
||||
+swscale switcher taglib theora truetype twolame udev upnp vaapi v4l
|
||||
vcdx vlm vorbis waveout win32codecs wingdi wma-fixed +X x264 +xcb xml
|
||||
xosd xv zvbi"
|
||||
|
||||
RDEPEND="
|
||||
>=sys-libs/zlib-1.2.5.1-r2[minizip]
|
||||
a52? ( >=media-libs/a52dec-0.7.4-r3 )
|
||||
aalib? ( media-libs/aalib )
|
||||
aac? ( >=media-libs/faad2-2.6.1 )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.23 )
|
||||
avahi? ( >=net-dns/avahi-0.6[dbus] )
|
||||
avcodec? ( virtual/ffmpeg )
|
||||
avformat? ( virtual/ffmpeg )
|
||||
bidi? ( >=dev-libs/fribidi-0.10.4 )
|
||||
bluray? ( >=media-libs/libbluray-0.2.1 )
|
||||
cddb? ( >=media-libs/libcddb-1.2.0 )
|
||||
dbus? ( >=sys-apps/dbus-1.0.2 )
|
||||
dc1394? ( >=sys-libs/libraw1394-2.0.1 >=media-libs/libdc1394-2.0.2 )
|
||||
dirac? ( >=media-video/dirac-0.10.0 )
|
||||
directfb? ( dev-libs/DirectFB sys-libs/zlib )
|
||||
dts? ( media-libs/libdca )
|
||||
dvbpsi? ( >=media-libs/libdvbpsi-0.2.1 )
|
||||
dvd? ( media-libs/libdvdread >=media-libs/libdvdnav-0.1.9 )
|
||||
egl? ( virtual/opengl )
|
||||
elibc_glibc? ( >=sys-libs/glibc-2.8 )
|
||||
flac? ( media-libs/libogg >=media-libs/flac-1.1.2 )
|
||||
fluidsynth? ( media-sound/fluidsynth )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
gcrypt? ( >=dev-libs/libgcrypt-1.2.0 )
|
||||
gme? ( media-libs/game-music-emu )
|
||||
gnome? ( gnome-base/gnome-vfs )
|
||||
gnutls? ( >=net-libs/gnutls-2.0.0 )
|
||||
ieee1394? ( >=sys-libs/libraw1394-2.0.1 >=sys-libs/libavc1394-0.5.3 )
|
||||
ios-vout? ( virtual/opengl )
|
||||
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0-r1 )
|
||||
kate? ( >=media-libs/libkate-0.1.1 )
|
||||
libass? ( >=media-libs/libass-0.9.8 media-libs/fontconfig )
|
||||
libcaca? ( >=media-libs/libcaca-0.99_beta14 )
|
||||
libnotify? ( x11-libs/libnotify x11-libs/gtk+:2 )
|
||||
libproxy? ( net-libs/libproxy )
|
||||
libsamplerate? ( media-libs/libsamplerate )
|
||||
libtar? ( >=dev-libs/libtar-1.2.11-r3 )
|
||||
libtiger? ( media-libs/libtiger )
|
||||
linsys? ( >=media-libs/zvbi-0.2.28 )
|
||||
lirc? ( app-misc/lirc )
|
||||
live? ( >=media-plugins/live-2011.12.23 )
|
||||
lua? ( >=dev-lang/lua-5.1 )
|
||||
macosx-vout? ( virtual/opengl )
|
||||
matroska? ( >=dev-libs/libebml-1.0.0 >=media-libs/libmatroska-1.0.0 )
|
||||
modplug? ( >=media-libs/libmodplug-0.8.8.1 )
|
||||
mp3? ( media-libs/libmad )
|
||||
mpeg? ( >=media-libs/libmpeg2-0.3.2 )
|
||||
mtp? ( >=media-libs/libmtp-1.0.0 )
|
||||
musepack? ( >=media-sound/musepack-tools-444 )
|
||||
ncurses? ( >=sys-libs/ncurses-5.9-r2[unicode] )
|
||||
ogg? ( media-libs/libogg )
|
||||
opengl? ( virtual/opengl >=x11-libs/libX11-1.3.99.901 )
|
||||
opus? ( media-libs/opus )
|
||||
png? ( media-libs/libpng sys-libs/zlib )
|
||||
portaudio? ( >=media-libs/portaudio-19_pre )
|
||||
postproc? ( || ( media-video/ffmpeg media-libs/libpostproc ) )
|
||||
projectm? ( media-libs/libprojectm )
|
||||
pulseaudio? ( >=media-sound/pulseaudio-0.9.22 )
|
||||
qt4? ( x11-libs/qt-gui:4 x11-libs/qt-core:4 )
|
||||
samba? ( >=net-fs/samba-3.4.6[smbclient] )
|
||||
schroedinger? ( >=media-libs/schroedinger-1.0.10 )
|
||||
sdl? ( >=media-libs/libsdl-1.2.8
|
||||
sdl-image? ( media-libs/sdl-image sys-libs/zlib ) )
|
||||
shout? ( media-libs/libshout )
|
||||
sid? ( media-libs/libsidplay:2 )
|
||||
skins? ( x11-libs/libXext x11-libs/libXpm x11-libs/libXinerama )
|
||||
speex? ( media-libs/speex )
|
||||
sqlite? ( >=dev-db/sqlite-3.6.0:3 )
|
||||
svg? ( >=gnome-base/librsvg-2.9.0 )
|
||||
swscale? ( virtual/ffmpeg )
|
||||
taglib? ( >=media-libs/taglib-1.5 sys-libs/zlib )
|
||||
theora? ( >=media-libs/libtheora-1.0_beta3 )
|
||||
truetype? ( media-libs/freetype virtual/ttf-fonts
|
||||
!fontconfig? ( media-fonts/dejavu ) )
|
||||
twolame? ( media-sound/twolame )
|
||||
udev? ( virtual/udev )
|
||||
upnp? ( net-libs/libupnp )
|
||||
v4l? ( media-libs/libv4l )
|
||||
vaapi? ( x11-libs/libva )
|
||||
vcdx? ( >=dev-libs/libcdio-0.78.2 >=media-video/vcdimager-0.7.22 )
|
||||
vorbis? ( media-libs/libvorbis )
|
||||
win32codecs? ( media-libs/win32codecs )
|
||||
X? ( x11-libs/libX11 )
|
||||
x264? ( >=media-libs/x264-0.0.20090923 )
|
||||
xcb? ( >=x11-libs/libxcb-1.6 >=x11-libs/xcb-util-0.3.4 )
|
||||
xml? ( dev-libs/libxml2 )
|
||||
xosd? ( x11-libs/xosd )
|
||||
zvbi? ( >=media-libs/zvbi-0.2.25 )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
alsa? ( >=media-sound/alsa-headers-1.0.23 )
|
||||
fbosd? ( sys-kernel/linux-headers )
|
||||
kde? ( >=kde-base/kdelibs-4 )
|
||||
xcb? ( x11-proto/xproto )
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig"
|
||||
|
||||
REQUIRED_USE="
|
||||
aalib? ( X )
|
||||
bidi? ( truetype )
|
||||
cddb? ( cdda )
|
||||
dvb? ( dvbpsi )
|
||||
dxva2? ( avcodec )
|
||||
egl? ( X )
|
||||
ffmpeg? ( avcodec avformat swscale postproc )
|
||||
fontconfig? ( truetype )
|
||||
gnutls? ( gcrypt )
|
||||
httpd? ( lua )
|
||||
libcaca? ( X )
|
||||
libtar? ( skins )
|
||||
libtiger? ( kate )
|
||||
media-library? ( sqlite )
|
||||
qt4? ( X )
|
||||
sdl? ( X )
|
||||
skins? ( truetype qt4 X )
|
||||
switcher? ( avcodec )
|
||||
vaapi? ( avcodec X )
|
||||
vlm? ( encode )
|
||||
xosd? ( X )
|
||||
xv? ( xcb )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
if [ "${PV%9999}" != "${PV}" ] ; then
|
||||
git-2_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Make it build with libtool 1.5
|
||||
rm -f m4/lt* m4/libtool.m4
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# needs libresid-builder from libsidplay:2 which is in another directory...
|
||||
# FIXME!
|
||||
use sid && append-ldflags "-L/usr/$(get_libdir)/sidplay/builders/"
|
||||
|
||||
econf \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
$(use_enable a52) \
|
||||
$(use_enable aalib aa) \
|
||||
$(use_enable aac faad) \
|
||||
$(use_enable alsa) \
|
||||
$(use_enable altivec) \
|
||||
$(use_enable atmo) \
|
||||
$(use_enable audioqueue) \
|
||||
$(use_enable avahi bonjour) \
|
||||
$(use_enable avcodec) \
|
||||
$(use_enable avformat) \
|
||||
$(use_enable bidi fribidi) \
|
||||
$(use_enable bluray) \
|
||||
$(use_enable cdda vcd) \
|
||||
$(use_enable cddb libcddb) \
|
||||
$(use_enable dbus) $(use_enable dbus dbus-control) \
|
||||
$(use_enable dirac) \
|
||||
$(use_enable direct2d) \
|
||||
$(use_enable directfb) \
|
||||
$(use_enable directx) \
|
||||
$(use_enable dc1394) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable dshow) \
|
||||
$(use_enable dts dca) \
|
||||
$(use_enable dvbpsi) \
|
||||
$(use_enable dvd dvdread) $(use_enable dvd dvdnav) \
|
||||
$(use_enable dxva2) \
|
||||
$(use_enable egl) \
|
||||
$(use_enable encode sout) \
|
||||
$(use_enable fbosd) \
|
||||
$(use_enable flac) \
|
||||
$(use_enable fluidsynth) \
|
||||
$(use_enable fontconfig) \
|
||||
$(use_enable gcrypt libgcrypt) \
|
||||
$(use_enable gme) \
|
||||
$(use_enable gnome gnomevfs) \
|
||||
$(use_enable gnutls) \
|
||||
$(use_enable growl) \
|
||||
$(use_enable httpd) \
|
||||
$(use_enable ieee1394 dv) \
|
||||
$(use_enable ios-vout) \
|
||||
$(use_enable jack) \
|
||||
$(use_enable kate) \
|
||||
$(use_with kde kde-solid) \
|
||||
$(use_enable libass) \
|
||||
$(use_enable libcaca caca) \
|
||||
$(use_enable libnotify notify) \
|
||||
$(use_enable libproxy) \
|
||||
$(use_enable libsamplerate samplerate) \
|
||||
$(use_enable libtar) \
|
||||
$(use_enable libtiger tiger) \
|
||||
$(use_enable linsys) \
|
||||
$(use_enable lirc) \
|
||||
$(use_enable live live555) \
|
||||
$(use_enable lua) \
|
||||
$(use_enable macosx-audio) \
|
||||
$(use_enable macosx-dialog-provider) \
|
||||
$(use_enable macosx-eyetv) \
|
||||
$(use_enable macosx-qtkit) \
|
||||
$(use_enable macosx-quartztext) \
|
||||
$(use_enable macosx-vout) \
|
||||
$(use_enable matroska mkv) \
|
||||
$(use_enable media-library) \
|
||||
$(use_enable mmx) \
|
||||
$(use_enable modplug mod) \
|
||||
$(use_enable mp3 mad) \
|
||||
$(use_enable mpeg libmpeg2) \
|
||||
$(use_enable mtp) \
|
||||
$(use_enable musepack mpc) \
|
||||
$(use_enable ncurses) \
|
||||
$(use_enable neon) \
|
||||
$(use_enable ogg) $(use_enable ogg mux_ogg) \
|
||||
$(use_enable omxil) \
|
||||
$(use_enable opengl glx) \
|
||||
$(use_enable opus) \
|
||||
$(use_enable optimisememory optimize-memory) \
|
||||
$(use_enable oss) \
|
||||
$(use_enable png) \
|
||||
$(use_enable portaudio) \
|
||||
$(use_enable postproc) \
|
||||
$(use_enable projectm) \
|
||||
$(use_enable pulseaudio pulse) \
|
||||
$(use_enable pvr) \
|
||||
$(use_enable qt4) \
|
||||
$(use_enable rtsp realrtsp) \
|
||||
$(use_enable run-as-root) \
|
||||
$(use_enable samba smb) \
|
||||
$(use_enable schroedinger) \
|
||||
$(use_enable sdl) \
|
||||
$(use_enable sdl-image) \
|
||||
$(use_enable shine) \
|
||||
$(use_enable sid) \
|
||||
$(use_enable shout) \
|
||||
$(use_enable skins skins2) \
|
||||
$(use_enable speex) \
|
||||
$(use_enable sqlite) \
|
||||
$(use_enable sse) \
|
||||
$(use_enable svg) \
|
||||
$(use_enable switcher) \
|
||||
$(use_enable swscale) \
|
||||
$(use_enable taglib) \
|
||||
$(use_enable theora) \
|
||||
$(use_enable truetype freetype) \
|
||||
$(use_enable twolame) \
|
||||
$(use_enable udev) \
|
||||
$(use_enable upnp) \
|
||||
$(use_enable v4l v4l2) \
|
||||
$(use_enable vaapi libva) \
|
||||
$(use_enable vcdx) \
|
||||
$(use_enable vlm) \
|
||||
$(use_enable vorbis) \
|
||||
$(use_enable waveout) \
|
||||
$(use_enable win32codecs loader) \
|
||||
$(use_enable wingdi) \
|
||||
$(use_enable wma-fixed) \
|
||||
$(use_with X x) \
|
||||
$(use_enable x264) \
|
||||
$(use_enable xcb) \
|
||||
$(use_enable xml libxml2) \
|
||||
$(use_enable xosd) \
|
||||
$(use_enable xv xvideo) \
|
||||
$(use_enable zvbi) $(use_enable !zvbi telx) \
|
||||
--disable-optimizations \
|
||||
--without-tuning \
|
||||
--enable-fast-install
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
dodoc AUTHORS THANKS NEWS README \
|
||||
doc/fortunes.txt doc/intf-vcd.txt
|
||||
|
||||
# Punt useless libtool's .la files
|
||||
find "${D}" -name '*.la' -delete
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ "$ROOT" = "/" ] && [ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ] ; then
|
||||
einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/"
|
||||
"/usr/$(get_libdir)/vlc/vlc-cache-gen" -f "/usr/$(get_libdir)/vlc/plugins/"
|
||||
else
|
||||
ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)"
|
||||
ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually"
|
||||
ewarn "If you do not do it, vlc will take a long time to load."
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 14 Dec 2012 20:36:53 +0000
|
||||
Sat, 15 Dec 2012 17:36:53 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue