parent
e5962838ca
commit
43b33929fa
@ -1,2 +1,3 @@
|
||||
DIST innoextract-1.2.tar.gz 106162 SHA256 a56b11bab2e209c7b37a93b3bd7416eb7359824071fc3ae1cf16a8421747cb9a SHA512 8e7fa55b1ed97ba8cc3f031904c29415c5e2f226f7963e439380bca287f4f034d2491a8d5c79e61a714d26e6e6b0997cc191ac7960ed564c69de58a92d47aced WHIRLPOOL d409057f8a90b6485c92be3b45f24cc8af1bd27dcd98df8c7ce97735c05a26556e5b62a795c0b61c64bcbc7674d205b6eabf1f995b64836dfd2e3d9d74c7f889
|
||||
DIST innoextract-1.3.tar.gz 130613 SHA256 bee65d1df2223870acb91ab90e9d933157167b8f7f5691ddd70f6a041d5bf671 SHA512 4faa263db00b847cf97b105696c49028fe80558b228ed840250be8abae9bfd0627488768eaa961fbe3a0c056d2e42487408ff3abc5b50bdf65b6bcb288721f66 WHIRLPOOL 47acd475ec776e4318a2f9a52dd57fc90106c2097180cbd6b8f962610ad486320896a6a58024c8625b5a3f6687d6444c1cd0eebdb47de5a6b261fa33031c2569
|
||||
DIST innoextract-1.4.tar.gz 151230 SHA256 5a494b5ae1e41043574096761d31695ed8b1d39dfe64895306d0d92623901cc9 SHA512 60700ef05ff50e3409b92571ebfc7342c0eadc8add5d1262f7e7740e1a14cfd186a8a9ac0ecab85f01ae50f21edb48f49ba9428369131f7cd46c4b07214838ea WHIRLPOOL 26b38b5c8fbc5c1f79c3d2b3f9cabbe439140ee174d31926ee6c1507815417dbab02632f2aaaf8681c2755ba6907f0a67ef91f2672deab9b2bdef16e3bd323fa
|
||||
|
@ -0,0 +1,30 @@
|
||||
--- innoextract-1.4/CMakeLists.txt
|
||||
+++ innoextract-1.4/CMakeLists.txt
|
||||
@@ -6,6 +6,7 @@
|
||||
# Define configuration options
|
||||
|
||||
option(USE_LZMA "Build lzma decompression support." ON)
|
||||
+option(WITH_DEBUG "Debug build" OFF)
|
||||
option(DEBUG_EXTRA "Expensive debug options" OFF)
|
||||
option(SET_WARNING_FLAGS "Adjust compiler warning flags" ON)
|
||||
option(SET_OPTIMIZATION_FLAGS "Adjust compiler optimization flags" ON)
|
||||
--- innoextract-1.4/cmake/BuildType.cmake
|
||||
+++ innoextract-1.4/cmake/BuildType.cmake
|
||||
@@ -8,7 +8,7 @@
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "")
|
||||
set(CMAKE_BUILD_TYPE "Release")
|
||||
endif()
|
||||
-if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
+if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR WITH_DEBUG)
|
||||
add_definitions(-DDEBUG)
|
||||
set(DEBUG 1)
|
||||
endif()
|
||||
@@ -64,7 +64,7 @@
|
||||
# Specifically, the need for libboost_system depends on the Boost version
|
||||
add_ldflag("-Wl,--as-needed")
|
||||
|
||||
- if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
+ if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR WITH_DEBUG)
|
||||
|
||||
# set debug symbol level to -g3
|
||||
check_compiler_flag(RESULT "-g3")
|
@ -0,0 +1,73 @@
|
||||
# Copyright 2013-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/innoextract/innoextract-1.4.ebuild,v 1.1 2013/03/11 19:12:15 hasufell Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs cmake-utils
|
||||
|
||||
DESCRIPTION="A tool to unpack installers created by Inno Setup"
|
||||
HOMEPAGE="http://innoextract.constexpr.org/"
|
||||
SRC_URI="mirror://github/dscharrer/InnoExtract/${P}.tar.gz
|
||||
mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="c++0x debug doc +lzma static"
|
||||
|
||||
RDEPEND="
|
||||
!static? (
|
||||
dev-libs/boost
|
||||
virtual/libiconv
|
||||
lzma? ( app-arch/xz-utils )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( >=app-doc/doxygen-1.8.3.1 )
|
||||
static? (
|
||||
app-arch/bzip2[static-libs]
|
||||
dev-libs/boost[static-libs]
|
||||
sys-libs/zlib[static-libs]
|
||||
virtual/libiconv
|
||||
lzma? ( app-arch/xz-utils[static-libs] )
|
||||
)"
|
||||
|
||||
DOCS=( README.md CHANGELOG )
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
# not sure about minimum clang req
|
||||
if use c++0x && [[ $(tc-getCXX) == *g++ && $(tc-getCXX) != *clang++ ]] ; then
|
||||
if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 7 || $(gcc-major-version) -lt 4 ]] ; then
|
||||
eerror "You need at least sys-devel/gcc-4.7.0 for C++0x capabilities"
|
||||
die "You need at least sys-devel/gcc-4.7.0 for C++0x capabilities"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-cmake.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_use lzma LZMA)
|
||||
$(cmake-utils_use_use static STATIC_LIBS)
|
||||
$(cmake-utils_use_use c++0x CXX11)
|
||||
$(cmake-utils_use_with debug DEBUG)
|
||||
-DSET_OPTIMIZATION_FLAGS=OFF
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
use doc && cmake-utils_src_compile doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
use doc && dohtml -r "${CMAKE_BUILD_DIR}"/doc/html/*
|
||||
}
|
@ -1,5 +1,2 @@
|
||||
DIST unrarsrc-4.1.4.tar.gz 157135 SHA256 705d93285fcd3b9c11f68e52d96395d942bf3c20172dcee14f0d78f1fee57361 SHA512 585e817d3246a4b5cc960298a40ae07c25d54becef680b67e59a441a279de3305a764ec455924eff09e8869dcceac2242e5657e8a3a9b741ca29e848e5f9c8e2 WHIRLPOOL 4c7f6658e3d34bf23ed7be293cf36f675cfda1a4a61f9bacaf4e6d980dc44f23c526dc3302f62c6d31ead005813f68535352175d8e2b2ba8f8e68154b6099751
|
||||
DIST unrarsrc-4.2.1.tar.gz 161564 SHA256 d5b59d98a6604ac41916311bc3b5dce1b94858008fc381aa975311d9248542c0 SHA512 481a1c174fcda7f0dc9b672cf4d94c71c2f3cdc587f45690664c9aaae3e1eab76fc04a2de3221073adc0973f1de529c736bd77a073f8b734b8f6c9e84c9c7d24 WHIRLPOOL caac3decb07011c4ece8cbcf1647ed1c8973f3eb3cfcb15bfff5e36af013ce4d35e8b952314520a15538c4c99077ddacf39ad883d60e4bfe58e47de40d9b3452
|
||||
DIST unrarsrc-4.2.2.tar.gz 164101 SHA256 efd5a7053a6efa923618be26f68ae85c2b97e59a27e2e3b3028636df4396820f SHA512 248ef8835e7aa029a5567d9e11475a8b539f9de52f6a00f9082d1e8aaf4d7b9e13b36e3a407c77e751ce98c90824cbba847d0705b31af8b4e032bec6d0bc2a7a WHIRLPOOL 8d9da66e204437c40b84b23e7c5d22e76e5837e9fdcf69122b6e39f78ee19630c09ca2342705a6a6107edb4c4b36f424f44b91f4fadee890252568031fe5c843
|
||||
DIST unrarsrc-4.2.3.tar.gz 164660 SHA256 4fdbd461c6fdd4cb9519b46d89a203307f6aed5b90a6b7afc86c50eb8de82582 SHA512 627612ce42253d11353d97f405b5f69c8a6d1f1373a07668e7a3cc894b70101df17148d0cd6a56c7f654a337adffba2c2d8ebe5770558c7314930f6bc08ee18f WHIRLPOOL d835161ac18d50eee876ed907db6f9743f35facdc1086780625fceb3a7b8c7c81a5ffab6c1aca5e2eb0a06db3d21e1af46f9078a163169071b88059dca4e75de
|
||||
DIST unrarsrc-4.2.4.tar.gz 164641 SHA256 9432bf798e5f7123f3060f37b75b7c07f36f0091305f46473dcae9154f8cd686 SHA512 54bdc16c940deb6e5759ddec9739381f0e1b5e2279548ac367eb32c4ff79cd496712692feaf46f4ce3b2ccfa8d622b7c45fb8070420b16315226627c45fef850 WHIRLPOOL 197310c41725280d6a5c4fa3da9d8411e419f20e41f6c645534b37d206ce67474c8b320811a7c7f2acbc375ef0341ec57adfe82a6be7f6bdabe2871841669739
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-4.1.4-r2.ebuild,v 1.10 2012/03/19 19:00:17 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_PN=${PN}src
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="http://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="unRAR"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
|
||||
|
||||
S=${WORKDIR}/unrar
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" \
|
||||
-e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" \
|
||||
makefile.unix || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local f=makefile.unix
|
||||
|
||||
emake -f ${f} CXX="$(tc-getCXX)" CXXFLAGS="-fPIC ${CXXFLAGS}" lib
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname)
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname ${PV})
|
||||
|
||||
emake -f ${f} clean
|
||||
|
||||
emake -f ${f} CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP="true"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin unrar
|
||||
dodoc readme.txt
|
||||
|
||||
dolib.so libunrar*
|
||||
|
||||
insinto /usr/include/libunrar${PV%.*.*}
|
||||
doins *.hpp
|
||||
dosym libunrar${PV%.*.*} /usr/include/libunrar
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-4.2.1.ebuild,v 1.1 2012/05/05 12:20:06 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_PN=${PN}src
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="http://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="unRAR"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
|
||||
|
||||
S=${WORKDIR}/unrar
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" \
|
||||
-e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" \
|
||||
makefile.unix || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unrar_make() {
|
||||
emake -f makefile.unix CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
|
||||
}
|
||||
|
||||
unrar_make CXXFLAGS+=" -fPIC" lib
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname)
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname ${PV})
|
||||
|
||||
unrar_make clean
|
||||
unrar_make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin unrar
|
||||
dodoc readme.txt
|
||||
|
||||
dolib.so libunrar*
|
||||
|
||||
insinto /usr/include/libunrar${PV%.*.*}
|
||||
doins *.hpp
|
||||
dosym libunrar${PV%.*.*} /usr/include/libunrar
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-4.2.2.ebuild,v 1.1 2012/05/17 12:00:51 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_PN=${PN}src
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="http://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="unRAR"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
|
||||
|
||||
S=${WORKDIR}/unrar
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" \
|
||||
-e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" \
|
||||
makefile.unix || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unrar_make() {
|
||||
emake -f makefile.unix CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
|
||||
}
|
||||
|
||||
unrar_make CXXFLAGS+=" -fPIC" lib
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname)
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname ${PV})
|
||||
|
||||
unrar_make clean
|
||||
unrar_make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin unrar
|
||||
dodoc readme.txt
|
||||
|
||||
dolib.so libunrar*
|
||||
|
||||
insinto /usr/include/libunrar${PV%.*.*}
|
||||
doins *.hpp
|
||||
dosym libunrar${PV%.*.*} /usr/include/libunrar
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST dar-2.3.8.tar.gz 1195944 SHA256 ae0b03440a218e674cbfdd0c3b3c419b5a628db616c8d3a06e70ef496dda25d3 SHA512 7815e587898973b6360a788c1851d6c66617bbc88f615f0575a39e737486218b11c44662332e24305a40e2f4dd33794c3aa77691a27c25c0ec50043cc4fc3a18 WHIRLPOOL fc9a4fcc7cf5c61d708109e708845db244ebcd01d084cb5d1dc50d42a039d66178cdcfeb41ca5005f16d5eff48fc2cacb8bb811c3dcbe3a7d66b7002a8f30e9d
|
||||
DIST dar-2.4.10.tar.gz 1760827 SHA256 c00111b60264d9ae957c8a2b80fe889ec8803b62b98510c38cd8f9e74be0a15c SHA512 d5fb8dacc813027aded4e2ad9b84506bf18bd89b8412704170d655b1f1249f0f7404696c577532e140b0fd3026a1a285abc0c4ccad0618c7d02c052498aa4be6 WHIRLPOOL 818fe0d20ff88caec5428e4895ca2bd4a0ea2665a76a00f26af8bfd3011710c11fc07c848435a1e78feef372a14c1647bfbd78163b9e00aa2b497cee92463d63
|
||||
DIST dar-2.4.2.tar.gz 1741695 SHA256 38fe1b324550d856fb58684a7e471d00afabeee54cf97ed7ae9c3cc67af26c33 SHA512 9c5c1dd7b562571744f3ebdf13d951053b9122679b9f82b5c424d6978cc45993d23304fb79a044063e3d711a4db46c804873cc3d92702c542fbe804d246cb896 WHIRLPOOL ec4d3097d41f7207df94889f4d2b46d7e716e24540942372008fbab6e01dd6617385cccef34e71665d710751b52a8da783ed17d616f86fd2a5597e79b36927d0
|
||||
DIST dar-2.4.9.tar.gz 1751738 SHA256 3d11159a290886dde968e16d36f32fa8640029708457bc87cc0da6d0eac71643 SHA512 9a9b972599747493694fd838bafaa690e70490b5c500f084f0d0225e93a54ce40d61bc495827519c88f6a94542b88a1be5d11e5a98e672abe8659364d1b4c51f WHIRLPOOL f700bf7bd393e6dc2cce11e7bc56af0f130ea3fb714de04617a940ec15d6174c06b7a1051eb9c6ffa7a0ec686b1f13c288af1b541d49b332932743d0d617b56b
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-backup/dar/dar-2.4.10.ebuild,v 1.1 2013/03/11 20:26:58 rich0 Exp $
|
||||
|
||||
EAPI="3"
|
||||
inherit confutils eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="A full featured backup tool, aimed for disks (floppy,CDR(W),DVDR(W),zip,jazz etc.)"
|
||||
HOMEPAGE="http://dar.linux.free.fr/"
|
||||
SRC_URI="mirror://sourceforge/dar/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux"
|
||||
IUSE="acl dar32 dar64 doc gcrypt lzo nls static static-libs"
|
||||
|
||||
RESTRICT="test" # need to be run as root
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.2.3
|
||||
!static? ( app-arch/bzip2 )
|
||||
acl? ( !static? ( sys-apps/attr ) )
|
||||
gcrypt? ( dev-libs/libgcrypt )
|
||||
lzo? ( !static? ( dev-libs/lzo ) )
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( app-arch/bzip2[static-libs] )
|
||||
static? ( sys-libs/zlib[static-libs] )
|
||||
acl? ( static? ( sys-apps/attr[static-libs] ) )
|
||||
lzo? ( static? ( dev-libs/lzo[static-libs] ) )
|
||||
nls? ( sys-devel/gettext )
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
pkg_setup() {
|
||||
confutils_use_conflict dar32 dar64
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--disable-upx"
|
||||
|
||||
# Bug 103741
|
||||
filter-flags -fomit-frame-pointer
|
||||
|
||||
use acl || myconf="${myconf} --disable-ea-support"
|
||||
use dar32 && myconf="${myconf} --enable-mode=32"
|
||||
use dar64 && myconf="${myconf} --enable-mode=64"
|
||||
use doc || myconf="${myconf} --disable-build-html"
|
||||
# use examples && myconf="${myconf} --enable-examples"
|
||||
use gcrypt || myconf="${myconf} --disable-libgcrypt-linking"
|
||||
use lzo || myconf="${myconf} --disable-liblzo2-linking"
|
||||
use nls || myconf="${myconf} --disable-nls"
|
||||
if ! use static ; then
|
||||
myconf="${myconf} --disable-dar-static"
|
||||
if ! use static-libs ; then
|
||||
myconf="${myconf} --disable-static"
|
||||
fi
|
||||
fi
|
||||
|
||||
econf ${myconf} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install || die
|
||||
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" "(" -name '*.la' -o -name '*.a' ")" -delete || die
|
||||
fi
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
--- a/lib/OpenSSL.pm.orig 2013-03-05 15:57:46.332286060 +0100
|
||||
+++ b/lib/OpenSSL.pm 2013-03-05 15:57:53.408466038 +0100
|
||||
@@ -605,6 +605,8 @@
|
||||
# dirty fix (incompleted) --curly
|
||||
$i = sprintf( "%x", $1);
|
||||
$tmp->{'SERIAL'} = length($i)%2?"0".uc($i):uc($i);
|
||||
+ } elsif ($_ =~ /^\s*([da-f]{2}:\w{2}:\w{2}:\w{2}:\w{2}:\w{2}:\w{2}:\w{2})\s*$/i) {
|
||||
+ $tmp->{'SERIAL'} = $1;
|
||||
} elsif ($_ =~ /Signature Algorithm.*: (\w+)/i) {
|
||||
$tmp->{'SIG_ALGORITHM'} = $1;
|
||||
} elsif ($_ =~ /Issuer: (.+)/i) {
|
||||
@@ -823,10 +825,10 @@
|
||||
$cmd = "$self->{'bin'} $opts->{'cmd'}";
|
||||
$cmd .= " -config $opts->{'config'}" if(defined($opts->{'config'}));
|
||||
$cmd .= " -inform $opts->{'inform'}";
|
||||
- $cmd .= " -out \"$file\"";
|
||||
if($opts->{'outform'} eq 'TEXT') {
|
||||
$cmd .= " -text -noout";
|
||||
} else {
|
||||
+ $cmd .= " -out \"$file\"";
|
||||
$cmd .= " -outform $opts->{'outform'}";
|
||||
}
|
||||
|
||||
@@ -859,13 +861,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
- open(IN, $file) || do {
|
||||
- my $t = sprintf(_("Can't open file %s: %s"), $file, $!);
|
||||
- GUI::HELPERS::print_warning($t);
|
||||
- return;
|
||||
- };
|
||||
- $tmp .= $_ while(<IN>);
|
||||
- close(IN);
|
||||
+ if ($opts->{'outform'} eq 'TEXT') {
|
||||
+ $tmp = $ext;
|
||||
+ } else {
|
||||
+ open(IN, $file) || do {
|
||||
+ my $t = sprintf(_("Can't open file %s: %s"), $file, $!);
|
||||
+ GUI::HELPERS::print_warning($t);
|
||||
+ return;
|
||||
+ };
|
||||
+ $tmp .= $_ while(<IN>);
|
||||
+ close(IN);
|
||||
+ }
|
||||
|
||||
unlink($file);
|
||||
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/tinyca/tinyca-2.0.7.5-r1.ebuild,v 1.1 2013/03/12 08:16:40 alonbl Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_P="${PN}${PV/./-}"
|
||||
DESCRIPTION="Simple Perl/Tk GUI to manage a small certification authority"
|
||||
HOMEPAGE="http://tinyca.sm-zone.net/"
|
||||
SRC_URI="http://tinyca.sm-zone.net/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
LANGS="en de cs es sv"
|
||||
|
||||
for X in ${LANGS} ; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
RDEPEND=">=dev-libs/openssl-0.9.7e
|
||||
dev-perl/Locale-gettext
|
||||
>=virtual/perl-MIME-Base64-2.12
|
||||
>=dev-perl/gtk2-perl-1.072"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-apps/sed-4"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${PN}-2.0.7.3-compositefix.patch"
|
||||
epatch "${FILESDIR}/${P}-openssl-1.patch"
|
||||
sed -i -e 's:./lib:/usr/share/tinyca/lib:g' \
|
||||
-e 's:./templates:/usr/share/tinyca/templates:g' \
|
||||
-e 's:./locale:/usr/share/locale:g' "${S}/tinyca2"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make -C po
|
||||
}
|
||||
|
||||
locale_install() {
|
||||
dodir /usr/share/locale/$@/LC_MESSAGES/
|
||||
insinto /usr/share/locale/$@/LC_MESSAGES/
|
||||
doins locale/$@/LC_MESSAGES/tinyca2.mo
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/bin
|
||||
newexe tinyca2 tinyca
|
||||
insinto /usr/share/tinyca/lib
|
||||
doins lib/*.pm
|
||||
insinto /usr/share/tinyca/lib/GUI
|
||||
doins lib/GUI/*.pm
|
||||
insinto /usr/share/tinyca/templates
|
||||
doins templates/*
|
||||
insinto /usr/share/
|
||||
strip-linguas ${LANGS}
|
||||
local l
|
||||
for l in ${LANGS}; do
|
||||
if [ "$l" != "en" ]; then
|
||||
use linguas_$l && locale_install $l
|
||||
fi
|
||||
done
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST emacs-24.2.93.tar.xz 35556548 SHA256 59b3971b14b1bc29244f3f98408045ba4dcd5be289792cb0330cb4223a350927 SHA512 3cc5a33f8407a72692c898f60e8725fce6b51472e74a005a8f987a4fe10327aeb2b41339a026d79641090ac91b86f9f4b9deff8bf364be029e3eb8117f85059e WHIRLPOOL b92c9ee6514a531e3c32fed9788763e2fc9850881518a30fe50a85ac31f157ca27b0331bee5d5763a7344fa2f4b8e73db1d28ebecf3921653f2c6857ce17b286
|
@ -1,344 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.2.93.ebuild,v 1.1 2013/02/07 23:55:15 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.xz
|
||||
mirror://gnu-alpha/emacs/pretest/emacs-${PV}.tar.xz"
|
||||
# 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}
|
||||
app-arch/xz-utils
|
||||
alsa? ( virtual/pkgconfig )
|
||||
dbus? ( virtual/pkgconfig )
|
||||
gnutls? ( virtual/pkgconfig )
|
||||
libxml2? ( virtual/pkgconfig )
|
||||
X? ( virtual/pkgconfig )
|
||||
gzip-el? ( app-arch/gzip )
|
||||
pax_kernel? ( sys-apps/paxctl )"
|
||||
|
||||
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
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST ibus-pinyin-1.3.99.20110706.tar.gz 1795648 SHA256 5b46156fa40e33034f7e754806f0014ec8510dc5a67e1f3a5679fd727c0d54a1 SHA512 7c47bf15ef2189c0b813ef397621df07a1304f0aac2f4e5ddbe96982efb0faee6185f73d38d8641bb596b42eb65de1ba676b2e2190eb231b98145d1ea4b089d9 WHIRLPOOL 9388696594232a1a2c1305b4c2fbd68e6ba1bb0766a79cfd5907a5d8d1f8055233a6807949126680f596dcd5769f552ec5d3b3fd88d604687cf1fe493596a2c7
|
||||
DIST ibus-pinyin-1.4.0.tar.gz 1813003 SHA256 4fcaef6ac0533945c7feb4cb36fc72c102aae63b3fb4cbf338cdcc816182c24a SHA512 3aecac95d5ccdc494b885901780ceb72353350ed6d317e8ac9f34251e7a9354c63ebc5666af46f2fc47b4c7adf69950cb0ddee0cbd32a3e2194910b4974591e4 WHIRLPOOL 6591943f83cec6442196a4007e231711ba2a3121757f7a50381e2278ea8b3b0cda39fac10c0d761addb7235fa6eba0c7bdb8769dea4bb64498e03517482468f1
|
||||
DIST ibus-pinyin-1.5.0.tar.gz 692516 SHA256 a85d458dcc51ea9fd65849e63002428b3fcb3b39adcbea9214b5cb4a4cbdbc96 SHA512 b0cd849ee3154543747dde8994eec9aed01d67e0d9be308a2f0230cf22f0281cd8fcabd9763b24238547a37e54400bcd8e541937767b93f005d04302f0c00241 WHIRLPOOL 80fd0ec7306d857870a0ceecce67166dd4d03529d5bdc404347dea6568c9b7271dbeb6feeebd8587bb5ab6856cec7f269fe5be9dbad5eb1b4297054eb9cb5ab2
|
||||
DIST pinyin-database-1.2.99.tar.bz2 9977983 SHA256 32c7d07b9f41e1dfc0f9008f54eca8e6cb367e7f2b19ac94c49754442694c321 SHA512 5a7248870407f7f92c418ada49a275062325f2eb33a7eb4b91492e4b706ae70ba931b04377a758ce429fa64cd22e8bee2ac4279d4f205bbce406248eda1decf7 WHIRLPOOL 07043adf9d83eb40b1a53409a31b3711f041e2b4dd5cf3f8c2034c129c31270fd37f2e53ecf2da5503562cf103ccb0a4487fa606928ac38a8775e90ff376ce3a
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus-pinyin/ibus-pinyin-1.5.0.ebuild,v 1.1 2013/03/12 12:19:21 naota Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
PYTHON_USE_WITH="sqlite"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="Chinese PinYin IMEngine for IBus Framework"
|
||||
HOMEPAGE="http://code.google.com/p/ibus/"
|
||||
SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="boost lua nls"
|
||||
|
||||
RDEPEND=">=app-i18n/ibus-1.4
|
||||
app-i18n/pyzy
|
||||
boost? ( >=dev-libs/boost-1.39 )
|
||||
lua? ( >=dev-lang/lua-5.1 )
|
||||
nls? ( virtual/libintl )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( >=sys-devel/gettext-0.16.1 )"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable boost) \
|
||||
$(use_enable lua lua-extension) \
|
||||
$(use_enable nls) \
|
||||
--enable-english-input-mode
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/share/${PN}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/share/${PN}
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST TaskCoach-1.3.18.tar.gz 2597941 SHA256 58a1ce7a65b58d71f2e029d69bfbf8c7e39b7623d11bfe5820faa6a224e83692 SHA512 07479e26a30ce66f7fc6f4ea8ef3fe3ddd842516ea68966b95dbb660fb0d61f9eb83d3920ca064c5ceeef6f6237d3fd5479c19899ec4cd2ef012ee90d1994e62 WHIRLPOOL 1943407958802b2d19fee638039f113ba2f62a69f74ee68d2859bfa0dfd005b4929b3c7329e79b5b2931ab7cbab511ec5499718425a1eed3a724ed76706f3ce5
|
||||
DIST TaskCoach-1.3.22.tar.gz 2684048 SHA256 b0d71f26d60d4b422d78fd2a90a9c3b06c198b30583e68bd3e64c08a9729bdb5 SHA512 5baa7c3f87ecf3e301f38cdef4a8056f901c2669d7904be83542b1a31386b994e5914a6dc34f87edf8a234c0ed74b827878cf4b4a77b2529e8f3373827e91de7 WHIRLPOOL 7addd05d8249a81032dc72e9d93cc96fd782b30852d3888c365061f445d9f186c17127ebec7e6738063479888136a02a00e3b8e535202853664dd98ad57ad4f7
|
||||
DIST TaskCoach-1.3.27.tar.gz 2750875 SHA256 37b7b5f94aef590593e7f5db0b8ea28b45aae7286b86fc15d6b514b25d0b4c51 SHA512 501944c9abaa6fa7834e3111cb20687216f81c48d6eb5eaf7dd5db1d2406a40819b786d5faa1db758aa90528ad6a18d196ecfc839fb0303cfe4bf6682c6558c2 WHIRLPOOL 63ea491777cb74df9a05ede3ba2cde02f036978dfc79eeb5b60ae5a912d7b0600c36a9c14ee7a8a9a895e3623dcb8676571c15f96c536c621a3b2b53a201e52e
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/taskcoach/taskcoach-1.3.22.ebuild,v 1.1 2013/01/16 09:46:21 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/taskcoach/taskcoach-1.3.27.ebuild,v 1.1 2013/03/13 09:00:13 ago Exp $
|
||||
|
||||
EAPI=3
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST texmaker-3.3.4.tar.bz2 13028203 SHA256 db9aa4d2633e6ad96ff4b0d893205d42c2220928f021c210146a41ecf87525f5 SHA512 014bfbe2a72aa2aef8d71972526959116a8dc39852475ea8e9da0d0fbbc4e8441c04b124be93911a0b637436f94ecab730150064f2bb3842e6566cd26116c28e WHIRLPOOL fb0a5d150ac463905b0c243e4402858e0142c42f1278f185e678e48a690369830a75848b342f0f22c3db6495580ee03eb65cbcf989bad52b63f87371d660970d
|
||||
DIST texmaker-3.5.2.tar.bz2 13165580 SHA256 5ffc96d64befa07656ee82e4f3cfc95a84d73759607d0229e864899d7629f312 SHA512 e81d553938102ec895641fbda364a5ad3d0cd09ddf0a0c3cc6c9034da67477711c01bcd13ca0b4daad78030513b5a2957dee021646efd4b9f2a22b9aea0fbe5b WHIRLPOOL 19ee0b138579f759f7eac29fe1976d5e8354c30719c4f0d29941f5d0aad41d29b4010c7eba77461f2051554dc05415feeead02d0d41637aa14bf757416293954
|
||||
DIST texmaker-4.0.tar.bz2 13120378 SHA256 7e8dd8ebf7ed2102c32b46640e3b030d9d8d4899067d50873cd9f9f6eabd2c21 SHA512 d25ebedb0a5d4f268c511af5ffbe850288d84bba70786d92ca5812b2b5f780441e51bdccad43f2af80b1d3f2a3cfb61eb42f8279c17cc1dbdd9e881a7660a9be WHIRLPOOL 5e21261253835c02487ac056600cdf5568ad0ea3b06f1c51679a5a8b4f619e427e9e2d986a5c8d102a7bf0469eb76cab63175cc8908078b203210ee0e5df5ef8
|
||||
|
@ -0,0 +1,73 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/texmaker/texmaker-4.0.ebuild,v 1.1 2013/03/12 17:42:57 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt4-r2 versionator
|
||||
|
||||
# The upstream version numbering is bad, so we have to remove a dot in the
|
||||
# minor version number
|
||||
MAJOR="$(get_major_version)"
|
||||
MINOR_1="$(($(get_version_component_range 2)/10))"
|
||||
MINOR_2="$(($(get_version_component_range 2)%10))"
|
||||
if [ ${MINOR_2} -eq "0" ] ; then
|
||||
MY_P="${PN}-${MAJOR}.${MINOR_1}"
|
||||
else
|
||||
MY_P="${PN}-${MAJOR}.${MINOR_1}.${MINOR_2}"
|
||||
fi
|
||||
|
||||
MY_P="${P}"
|
||||
|
||||
DESCRIPTION="A nice LaTeX-IDE"
|
||||
HOMEPAGE="http://www.xm1math.net/texmaker/"
|
||||
SRC_URI="http://www.xm1math.net/texmaker/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-text/hunspell
|
||||
app-text/poppler[qt4]
|
||||
sys-libs/zlib
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtwebkit:4
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/latex-base
|
||||
app-text/psutils
|
||||
app-text/ghostscript-gpl
|
||||
media-libs/netpbm"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-3.5.2-hunspell.patch
|
||||
)
|
||||
src_configure() {
|
||||
eqmake4 \
|
||||
${PN}.pro \
|
||||
PREFIX="${EPREFIX}"/usr \
|
||||
DESKTOPDIR=/usr/share/applications \
|
||||
ICONDIR=/usr/share/pixmaps
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${ED}" install
|
||||
|
||||
doicon utilities/texmaker*.png utilities/texmaker.svg
|
||||
|
||||
dodoc utilities/AUTHORS utilities/CHANGELOG.txt
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "A user manual with many screenshots is available at:"
|
||||
elog "${EPREFIX}/usr/share/${PN}/usermanual_en.html"
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
From 95648e0369e74d65582ee3ef44b0a0a338f82cf0 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Tue, 12 Mar 2013 12:08:56 -0400
|
||||
Subject: [PATCH] equery: respect PORTAGE_CONFIGROOT too
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
pym/gentoolkit/package.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/pym/gentoolkit/package.py b/pym/gentoolkit/package.py
|
||||
index 2a103de..da9d65c 100644
|
||||
--- a/pym/gentoolkit/package.py
|
||||
+++ b/pym/gentoolkit/package.py
|
||||
@@ -61,6 +61,7 @@ from gentoolkit.eprefix import EPREFIX
|
||||
def _NewPortageConfig(local_config):
|
||||
ret = portage.config(local_config=local_config,
|
||||
eprefix=EPREFIX if EPREFIX else None,
|
||||
+ config_root=os.environ.get('PORTAGE_CONFIGROOT', None),
|
||||
target_root=os.environ.get('ROOT', None))
|
||||
ret.lock()
|
||||
return ret
|
||||
--
|
||||
1.8.1.2
|
||||
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.7-r2.ebuild,v 1.1 2013/03/12 16:14:57 vapier Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
PYTHON_USE_WITH="xml"
|
||||
PYTHON_NONVERSIONED_EXECUTABLES=(".*")
|
||||
|
||||
inherit distutils python eutils
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# Note: dev-lang/python dependencies are so emerge will print a blocker if any
|
||||
# installed slot of python is not built with +xml. This is used since
|
||||
# PYTHON_USE_WITH just dies in the middle of the emerge. See bug 399331.
|
||||
DEPEND="sys-apps/portage"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-lang/python-2.6[xml]
|
||||
!>=dev-lang/python-2.6[-xml]
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
sys-apps/gawk
|
||||
sys-apps/grep
|
||||
virtual/python-argparse"
|
||||
|
||||
distutils_src_compile_pre_hook() {
|
||||
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version
|
||||
VERSION="${PVR}" "$(PYTHON)" setup.py set_version \
|
||||
|| die "setup.py set_version failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-root.patch
|
||||
epatch "${FILESDIR}"/${PV}-configroot.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_convert_shebangs -r "" build-*/scripts-*
|
||||
distutils_src_install
|
||||
|
||||
# Rename the python versions of revdep-rebuild, since we are not ready
|
||||
# to switch to the python version yet. Link /usr/bin/revdep-rebuild to
|
||||
# revdep-rebuild.sh. Leaving the python version available for potential
|
||||
# testing by a wider audience.
|
||||
mv "${ED}"/usr/bin/revdep-rebuild "${ED}"/usr/bin/revdep-rebuild.py
|
||||
dosym revdep-rebuild.sh /usr/bin/revdep-rebuild
|
||||
|
||||
# Create cache directory for revdep-rebuild
|
||||
dodir /var/cache/revdep-rebuild
|
||||
keepdir /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:root /var/cache/revdep-rebuild
|
||||
fperms 0700 /var/cache/revdep-rebuild
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild*
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
|
||||
# Can distutils handle this?
|
||||
dosym eclean /usr/bin/eclean-dist
|
||||
dosym eclean /usr/bin/eclean-pkg
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
einfo
|
||||
einfo "For further information on gentoolkit, please read the gentoolkit"
|
||||
einfo "guide: http://www.gentoo.org/doc/en/gentoolkit.xml"
|
||||
einfo
|
||||
einfo "Another alternative to equery is app-portage/portage-utils"
|
||||
einfo
|
||||
einfo "Additional tools that may be of interest:"
|
||||
einfo
|
||||
einfo " app-admin/eclean-kernel"
|
||||
einfo " app-portage/diffmask"
|
||||
einfo " app-portage/flaggie"
|
||||
einfo " app-portage/install-mask"
|
||||
einfo " app-portage/portpeek"
|
||||
einfo " app-portage/smart-live-rebuild"
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
From 44757a653cb547ae7b556e8c92629d296d3c1f12 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Stephenson <pws@users.sourceforge.net>
|
||||
Date: Tue, 22 Jan 2013 16:28:58 +0000
|
||||
Subject: [PATCH] 30993: fix parameter modifier crash with :wq on empty string
|
||||
|
||||
---
|
||||
ChangeLog | 8 +++++++-
|
||||
Src/subst.c | 10 +++++++++-
|
||||
Test/D04parameter.ztst | 7 +++++++
|
||||
3 files changed, 23 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/Src/subst.c b/Src/subst.c
|
||||
index 974a845..a4df256 100644
|
||||
--- a/Src/subst.c
|
||||
+++ b/Src/subst.c
|
||||
@@ -3707,6 +3707,11 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int pf_flags)
|
||||
char *y;
|
||||
|
||||
x = val;
|
||||
+ if (!x) {
|
||||
+ /* Shouldn't have got here with a NULL string. */
|
||||
+ DPUTS(1, "value is NULL in paramsubst");
|
||||
+ return NULL;
|
||||
+ }
|
||||
if (prenum || postnum)
|
||||
x = dopadding(x, prenum, postnum, preone, postone,
|
||||
premul, postmul
|
||||
@@ -4021,7 +4026,10 @@ modify(char **str, char **ptr)
|
||||
all = tmp;
|
||||
t = e;
|
||||
}
|
||||
- *str = all;
|
||||
+ if (!all)
|
||||
+ *str = dupstring("");
|
||||
+ else
|
||||
+ *str = all;
|
||||
|
||||
} else {
|
||||
switch (c) {
|
||||
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
|
||||
index 01f8412..bea9459 100644
|
||||
--- a/Test/D04parameter.ztst
|
||||
+++ b/Test/D04parameter.ztst
|
||||
@@ -1544,3 +1544,10 @@
|
||||
0:Regression test for shwordsplit with null or unset IFS and quoted array
|
||||
>abc
|
||||
>a b c
|
||||
+
|
||||
+ foo=
|
||||
+ print ${foo:wq}
|
||||
+ print ${:wq}
|
||||
+0:Empty parameter shouldn't cause modifiers to crash the shell
|
||||
+>
|
||||
+>
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -0,0 +1,180 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/zsh/zsh-5.0.2-r1.ebuild,v 1.1 2013/03/12 21:47:40 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# doc package for -dev version exists?
|
||||
doc_available=true
|
||||
|
||||
inherit eutils flag-o-matic multilib prefix
|
||||
|
||||
MY_PV=${PV/_p/-dev-}
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
zsh_ftp="ftp://ftp.zsh.org/pub"
|
||||
|
||||
if [[ ${PV} != "${MY_PV}" ]] ; then
|
||||
ZSH_URI="${zsh_ftp}/development/${PN}-${MY_PV}.tar.bz2"
|
||||
if ${doc_available} ; then
|
||||
ZSH_DOC_URI="${zsh_ftp}/development/${PN}-${MY_PV}-doc.tar.bz2"
|
||||
else
|
||||
ZSH_DOC_URI="${zsh_ftp}/${PN}-${PV%_*}-doc.tar.bz2"
|
||||
fi
|
||||
else
|
||||
ZSH_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
|
||||
${zsh_ftp}/${P}.tar.bz2"
|
||||
ZSH_DOC_URI="${zsh_ftp}/${PN}-${PV%_*}-doc.tar.bz2"
|
||||
fi
|
||||
|
||||
DESCRIPTION="UNIX Shell similar to the Korn shell"
|
||||
HOMEPAGE="http://www.zsh.org/"
|
||||
SRC_URI="${ZSH_URI}
|
||||
doc? ( ${ZSH_DOC_URI} )"
|
||||
|
||||
LICENSE="ZSH gdbm? ( GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="caps debug doc examples gdbm maildir pcre static unicode"
|
||||
|
||||
RDEPEND="
|
||||
>=sys-libs/ncurses-5.1
|
||||
static? ( >=sys-libs/ncurses-5.7-r4[static-libs] )
|
||||
caps? ( sys-libs/libcap )
|
||||
pcre? ( >=dev-libs/libpcre-3.9
|
||||
static? ( >=dev-libs/libpcre-3.9[static-libs] ) )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
"
|
||||
DEPEND="sys-apps/groff
|
||||
${RDEPEND}"
|
||||
PDEPEND="
|
||||
examples? ( app-doc/zsh-lovers )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# fix zshall problem with soelim
|
||||
ln -s Doc man1
|
||||
mv Doc/zshall.1 Doc/zshall.1.soelim
|
||||
soelim Doc/zshall.1.soelim > Doc/zshall.1
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-init.d-gentoo-r1.diff
|
||||
epatch "${FILESDIR}"/${PN}-fix-parameter-modifier-crash.patch
|
||||
|
||||
cp "${FILESDIR}"/zprofile-1 "${T}"/zprofile || die
|
||||
eprefixify "${T}"/zprofile || die
|
||||
if use prefix ; then
|
||||
sed -i -e 's|@ZSH_PREFIX@||' -e '/@ZSH_NOPREFIX@/d' "${T}"/zprofile || die
|
||||
else
|
||||
sed -i -e 's|@ZSH_NOPREFIX@||' -e '/@ZSH_PREFIX@/d' -e 's|""||' "${T}"/zprofile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
if use static ; then
|
||||
myconf+=" --disable-dynamic"
|
||||
append-ldflags -static
|
||||
fi
|
||||
if use debug ; then
|
||||
myconf+=" \
|
||||
--enable-zsh-debug \
|
||||
--enable-zsh-mem-debug \
|
||||
--enable-zsh-mem-warning \
|
||||
--enable-zsh-secure-free \
|
||||
--enable-zsh-hash-debug"
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
myconf+=" --enable-libs=-liconv"
|
||||
append-ldflags -Wl,-x
|
||||
fi
|
||||
|
||||
econf \
|
||||
--bindir="${EPREFIX}"/bin \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--enable-etcdir="${EPREFIX}"/etc/zsh \
|
||||
--enable-fndir="${EPREFIX}"/usr/share/zsh/${PV%_*}/functions \
|
||||
--enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions \
|
||||
--enable-function-subdirs \
|
||||
--with-term-lib="ncursesw ncurses" \
|
||||
--with-tcsetpgrp \
|
||||
$(use_enable maildir maildir-support) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable caps cap) \
|
||||
$(use_enable unicode multibyte) \
|
||||
$(use_enable gdbm ) \
|
||||
${myconf}
|
||||
|
||||
if use static ; then
|
||||
# compile all modules statically, see Bug #27392
|
||||
# removed cap and curses because linking failes
|
||||
sed -i \
|
||||
-e "s,link=no,link=static,g" \
|
||||
-e "/^name=zsh\/cap/s,link=static,link=no," \
|
||||
-e "/^name=zsh\/curses/s,link=static,link=no," \
|
||||
"${S}"/config.modules || die
|
||||
if ! use gdbm ; then
|
||||
sed -i '/^name=zsh\/db\/gdbm/s,link=static,link=no,' \
|
||||
"${S}"/config.modules || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local i
|
||||
addpredict /dev/ptmx
|
||||
for i in C02cond.ztst Y01completion.ztst Y02compmatch.ztst Y03arguments.ztst ; do
|
||||
rm "${S}"/Test/${i} || die
|
||||
done
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install install.info
|
||||
|
||||
insinto /etc/zsh
|
||||
doins "${T}"/zprofile
|
||||
|
||||
keepdir /usr/share/zsh/site-functions
|
||||
insinto /usr/share/zsh/${PV%_*}/functions/Prompts
|
||||
newins "${FILESDIR}"/prompt_gentoo_setup-1 prompt_gentoo_setup
|
||||
|
||||
# install miscellaneous scripts; bug #54520
|
||||
local i
|
||||
sed -i -e "s:/usr/local/bin/perl:${EPREFIX}/usr/bin/perl:g" \
|
||||
-e "s:/usr/local/bin/zsh:${EPREFIX}/bin/zsh:g" "${S}"/{Util,Misc}/* || die
|
||||
for i in Util Misc ; do
|
||||
insinto /usr/share/zsh/${PV%_*}/${i}
|
||||
doins ${i}/*
|
||||
done
|
||||
|
||||
dodoc ChangeLog* META-FAQ NEWS README config.modules
|
||||
|
||||
if use doc ; then
|
||||
pushd "${WORKDIR}/${PN}-${PV%_*}" >/dev/null
|
||||
dohtml -r Doc/*
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins Doc/zsh.{dvi,pdf}
|
||||
popd >/dev/null
|
||||
fi
|
||||
|
||||
docinto StartupFiles
|
||||
dodoc StartupFiles/z*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# should link to http://www.gentoo.org/doc/en/zsh.xml
|
||||
elog
|
||||
elog "If you want to enable Portage completions and Gentoo prompt,"
|
||||
elog "emerge app-shells/zsh-completion and add"
|
||||
elog " autoload -U compinit promptinit"
|
||||
elog " compinit"
|
||||
elog " promptinit; prompt gentoo"
|
||||
elog "to your ~/.zshrc"
|
||||
elog
|
||||
elog "Also, if you want to enable cache for the completions, add"
|
||||
elog " zstyle ':completion::complete:*' use-cache 1"
|
||||
elog "to your ~/.zshrc"
|
||||
elog
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST poppler-0.20.4.tar.gz 2154257 SHA256 bdb9b2579bc43f034a69612fc1eebead0c468767c949c6c6548ee71b71abd72a SHA512 3e0603cae90667fec11cbd4e2778d779d56a7b38f621c47cabba8be31fb1cdac8dcbf936295560528098838aa0db516baaeb4234dd585947413816db344bb778 WHIRLPOOL 8c56d7da64f9e86290142efd6364b458f449ff9f306b170348c4d5965100c17470ae4069bcea1033d65f62870aaf144fc7fb2b53d3044f1bc0b0c483f0deffa4
|
||||
DIST poppler-0.20.5.tar.gz 2158387 SHA256 c6d7048a5f011dbde1f579d21bcfdd652b472d9d1c607dde9aa89eff960454b6 SHA512 2c9245d8a43c1daedcedc7916540cb5e9def8429382e9b3f3992d4a1fad081c035a9fc07d63998e210257d3dfd0b3b754e31be8f75fd2d94a8e50c7efbd1bb01 WHIRLPOOL cab7068d0b1b678797b9d63aa71e42bb3b70fd6d3f956a43b093734f445ce577a75638ebc4c2a2786ac592c2860f1090db22743cf01da8dab65ceb9a16ebc136
|
||||
DIST poppler-0.22.1.tar.gz 2213552 SHA256 12b6a6d3c0bfda065653b7507cda49e22773693c913f8e563d55fb33031197c0 SHA512 038729dbdba8800f4944613fe40c6925cf424ee86e88048ffe50c72c5e86650dfd79fe39296480c837873dbf8f2c0acee8d803721c24203d9e355858a10ef9e2 WHIRLPOOL f513a89a8fd761f25b4ee5ee3f7c365d1a1e0bd55e08686b57eba36cb413c1a485a5188eb2fd2111a4dd120277bc5387565f1339185f16d9fb1cd96e4489988e
|
||||
DIST poppler-0.22.2.tar.gz 2215737 SHA256 108736ef84069317f6c5beacb5268f3b799ecf401e353e239611772eae8a662d SHA512 ce962f12a87f873a46cf8d02c0620694893a6e1857ac680174c4d9388d2255b5011e62e28b34a6e0abec9c8779530bf91ac123206a619a6eba59be92adb02d42 WHIRLPOOL 80b744f1cf4687a936a1eb9ce40567602935535e8fc1faca010171e433ea4948284b8eba3fca866b6b27034319efa46d54d1e2f71ba14c8e5554ee3b137d935d
|
||||
|
@ -0,0 +1,98 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.22.2.ebuild,v 1.2 2013/03/12 12:26:07 kensington Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
||||
HOMEPAGE="http://poppler.freedesktop.org/"
|
||||
SRC_URI="http://poppler.freedesktop.org/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0/35"
|
||||
IUSE="cairo cjk curl cxx debug doc +introspection jpeg jpeg2k +lcms png qt4 tiff +utils"
|
||||
|
||||
# No test data provided
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=media-libs/fontconfig-2.6.0
|
||||
>=media-libs/freetype-2.3.9
|
||||
sys-libs/zlib
|
||||
cairo? (
|
||||
dev-libs/glib:2
|
||||
>=x11-libs/cairo-1.10.0
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.32.1 )
|
||||
)
|
||||
curl? ( net-misc/curl )
|
||||
jpeg? ( virtual/jpeg )
|
||||
jpeg2k? ( media-libs/openjpeg )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
png? ( >=media-libs/libpng-1.4:0 )
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
)
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!dev-libs/poppler
|
||||
!dev-libs/poppler-glib
|
||||
!dev-libs/poppler-qt3
|
||||
!dev-libs/poppler-qt4
|
||||
!app-text/poppler-utils
|
||||
cjk? ( >=app-text/poppler-data-0.4.4 )
|
||||
"
|
||||
|
||||
DOCS=(AUTHORS ChangeLog NEWS README README-XPDF TODO)
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DBUILD_GTK_TESTS=OFF
|
||||
-DBUILD_QT4_TESTS=OFF
|
||||
-DBUILD_CPP_TESTS=OFF
|
||||
-DENABLE_SPLASH=ON
|
||||
-DENABLE_ZLIB=ON
|
||||
-DENABLE_XPDF_HEADERS=ON
|
||||
$(cmake-utils_use_enable curl LIBCURL)
|
||||
$(cmake-utils_use_enable cxx CPP)
|
||||
$(cmake-utils_use_enable jpeg2k LIBOPENJPEG)
|
||||
$(cmake-utils_use_enable utils)
|
||||
$(cmake-utils_use_with cairo)
|
||||
$(cmake-utils_use_with introspection GObjectIntrospection)
|
||||
$(cmake-utils_use_with jpeg)
|
||||
$(cmake-utils_use_with png)
|
||||
$(cmake-utils_use_with qt4)
|
||||
$(cmake-utils_use_with tiff)
|
||||
)
|
||||
if use lcms; then
|
||||
mycmakeargs+=(-DENABLE_CMS=lcms2)
|
||||
else
|
||||
mycmakeargs+=(-DENABLE_CMS=)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use cairo && use doc; then
|
||||
# For now install gtk-doc there
|
||||
insinto /usr/share/gtk-doc/html/poppler
|
||||
doins -r "${S}"/glib/reference/html/*
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "After upgrading app-text/poppler you may need to reinstall packages"
|
||||
ewarn "linking to it. For EAPI=5 subslot-capable packages this may be done"
|
||||
ewarn "automatically. Anyway, if you're not a portage-2.2_rc user, you're advised"
|
||||
ewarn "to run revdep-rebuild."
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST xchm-1.20.tar.gz 409976 SHA256 76c717074ed178abae63692cfa843083922e6d6e3052207d8a3d9d2e8b8db627 SHA512 86bb3cc70f2f0f7b89581763b3803a6e2bcb694cea1dbd82e918de25ad2bab2c4820e3239ab40de16befebceaa20ffb9364abb74efd941f1c522c7290ceb841a WHIRLPOOL ef6aeacd882d7630b7fe8fb370a303c55d05ae387d1b67fba7d31702617b714613c3c331a5b1e0cf0a80b329ce6ae26177fa5cb3171f88489df930a3f5bea114
|
||||
DIST xchm-1.21.tar.gz 411252 SHA256 b3c7e54f5c4075a679910ff2166d76bc761afbcfd8c1a1cc5e10ad73634ed6a6 SHA512 7feb1dc5ba3113dfdc7cdf15c4ea48de8caeca659f77ae4e46b7d67073eac6f2a97dab2f9a8a1bf07b3f758461b41daaadc3ca237e021abe94c24b91bb4d520a WHIRLPOOL 78bddf2d9fca92b7c1fe2d8d52a5a684a313b446964b7c6a7cb1aa8e8987edd4ba76ac89640086e7bf56d5f802a29959cdf98f6ff2dbab3c44adcf5ce8c25fb1
|
||||
DIST xchm-1.22.tar.gz 416992 SHA256 30801106d5ce08481c97084a540cb7a67fb271a27e95ca61170063c6cc134559 SHA512 b037fca4a73e41cb219de7a10154fd8804fde19b1b1936eb189945950b3f349abdda797cad8ab201e85a5070533c3f4dcb4c8c3c3911db4a86588651169c370d WHIRLPOOL 24d8091fa86cfffd7c9d80e6e43eb00c5b69499cf286c7e6d57c6375717db630d4ba857559e630f5474bf8ea1bab7169e7aec438a3bbbcceddbe060c689cbc3c
|
||||
|
@ -1,2 +1,2 @@
|
||||
DIST gigi-0.8_pre20120910.tar.bz2 3483001 SHA256 a59423e554e56b8b59aa8c4231b9e572479895534f64c6e7f79ebaa264e42f26 SHA512 a92ceed601c46794d2b410f90ae22b10273d27a92cc56d28da77985d599bec4afcfbdfee71432398fe15283e11a92964b8a1428e1eeec4337687a555e34a18cf WHIRLPOOL 7f226d4e73886f54cd34e8fa45a331785fdc82fc9686146d6ca89df19238ade0daa053216852d32f075740d885f3764c4d956d6b3f7cebb0805cb1287e2ce9d3
|
||||
DIST gigi-0.8_pre20121225.tar.bz2 1910269 SHA256 0a2bc7beeaea3614b4caa9317b51b410bb4a8d77025ed8ca4f98fc207b9fe4e0 SHA512 51d0b7cae4b46b973830cfe2ea7b60d82b99ca398e3d120171eb523c738d977c365be211373cf0d1ee21d760d373772666867bb2864dabaa435e91878e8124ea WHIRLPOOL 9490dbeb0747f875dbe5065a00e8fe76b3f6ced9b8f3618a7c12fd05dc36005335c8093bbb972df35868d8ef4b8d383d1b65ce4bd5cb5dbe40776bc30766d016
|
||||
DIST gigi-0.8_pre20130312.tar.bz2 1909976 SHA256 c20779039e2a2adfece8b0cc6396803a81584cb6779b6b951d366027061bb79a SHA512 d73cc634144436076f1e8458afdfcebd0160b1e061d507152c41902866c1fc6d48d0811324bae6bca9b54227893a9dc1cf192a580354d6daede7b2c4b4d959af WHIRLPOOL 48ffa8a822b9151ef1759fbaa2f0f90a7eb94cb7eb3fa078f3e7d256e31949ffcb0bde94e472fe747092a39bf955873830dc01f40bcb911eaa8fb33a307d3d2b
|
||||
|
@ -0,0 +1,116 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.16.3.ebuild,v 1.1 2013/03/12 04:38:09 tove Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils alternatives flag-o-matic toolchain-funcs multilib multiprocessing
|
||||
|
||||
PATCH_VER=1
|
||||
|
||||
PERL_OLDVERSEN="5.16.2 5.16.1 5.16.0"
|
||||
MODULE_AUTHOR=RJBS
|
||||
|
||||
SHORT_PV="${PV%.*}"
|
||||
MY_P="perl-${PV/_rc/-RC}"
|
||||
MY_PV="${PV%_rc*}"
|
||||
|
||||
DESCRIPTION="Larry Wall's Practical Extraction and Report Language"
|
||||
|
||||
SRC_URI="
|
||||
mirror://cpan/src/${MY_P}.tar.bz2
|
||||
mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MY_P}.tar.bz2
|
||||
mirror://gentoo/${MY_P}-${PATCH_VER}.tar.bz2
|
||||
http://dev.gentoo.org/~tove/distfiles/${CATEGORY}/${PN}/${MY_P}-${PATCH_VER}.tar.bz2
|
||||
"
|
||||
HOMEPAGE="http://www.perl.org/"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1+ )"
|
||||
SLOT="0/${SHORT_PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="berkdb build debug doc gdbm ithreads"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.3 )
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
!prefix? ( elibc_FreeBSD? ( sys-freebsd/freebsd-mk-defs ) )
|
||||
"
|
||||
PDEPEND=">=app-admin/perl-cleaner-2.5"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
dual_scripts() {
|
||||
src_remove_dual perl-core/Archive-Tar 1.820.0 ptar ptardiff ptargrep
|
||||
src_remove_dual perl-core/Digest-SHA 5.710.0 shasum
|
||||
src_remove_dual perl-core/CPAN 1.980.0 cpan
|
||||
src_remove_dual perl-core/CPANPLUS 0.912.100 cpanp cpan2dist
|
||||
src_remove_dual_file perl-core/CPANPLUS 0.912.100 /usr/bin/cpanp-run-perl
|
||||
src_remove_dual perl-core/Encode 2.440.0 enc2xs piconv
|
||||
src_remove_dual perl-core/ExtUtils-MakeMaker 6.630.200_rc instmodsh
|
||||
src_remove_dual perl-core/ExtUtils-ParseXS 3.160.0 xsubpp
|
||||
src_remove_dual perl-core/IO-Compress 2.48.0 zipdetails
|
||||
src_remove_dual perl-core/JSON-PP 2.272.0 json_pp
|
||||
src_remove_dual perl-core/Module-Build 0.390.100_rc config_data
|
||||
src_remove_dual perl-core/Module-CoreList 2.840.0 corelist
|
||||
src_remove_dual perl-core/PodParser 1.510.0 pod2usage podchecker podselect
|
||||
src_remove_dual perl-core/Pod-Perldoc 1.170.0 perldoc
|
||||
src_remove_dual perl-core/Test-Harness 3.230.0 prove
|
||||
src_remove_dual perl-core/podlators 2.4.0 pod2man pod2text
|
||||
src_remove_dual_man perl-core/podlators 2.4.0 /usr/share/man/man1/perlpodstyle.1
|
||||
}
|
||||
|
||||
# eblit-include [--skip] <function> [version]
|
||||
eblit-include() {
|
||||
local skipable=false
|
||||
[[ $1 == "--skip" ]] && skipable=true && shift
|
||||
[[ $1 == pkg_* ]] && skipable=true
|
||||
|
||||
local e v func=$1 ver=$2
|
||||
[[ -z ${func} ]] && die "Usage: eblit-include <function> [version]"
|
||||
for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do
|
||||
e="${FILESDIR}/eblits/${func}${v}.eblit"
|
||||
if [[ -e ${e} ]] ; then
|
||||
. "${e}"
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
${skipable} && return 0
|
||||
die "Could not locate requested eblit '${func}' in ${FILESDIR}/eblits/"
|
||||
}
|
||||
|
||||
# eblit-run-maybe <function>
|
||||
# run the specified function if it is defined
|
||||
eblit-run-maybe() {
|
||||
[[ $(type -t "$@") == "function" ]] && "$@"
|
||||
}
|
||||
|
||||
# eblit-run <function> [version]
|
||||
# aka: src_unpack() { eblit-run src_unpack ; }
|
||||
eblit-run() {
|
||||
eblit-include --skip common "${*:2}"
|
||||
eblit-include "$@"
|
||||
eblit-run-maybe eblit-$1-pre
|
||||
eblit-${PN}-$1
|
||||
eblit-run-maybe eblit-$1-post
|
||||
}
|
||||
|
||||
#src_unpack() { eblit-run src_unpack v50160001 ; }
|
||||
src_prepare() { eblit-run src_prepare v50160001 ; }
|
||||
src_configure() { eblit-run src_configure v50160001 ; }
|
||||
#src_compile() { eblit-run src_compile v50160001 ; }
|
||||
src_test() { eblit-run src_test v50160001 ; }
|
||||
src_install() { eblit-run src_install v50160001 ; }
|
||||
|
||||
# FILESDIR might not be available during binpkg install
|
||||
# FIXME: version passing
|
||||
for x in setup {pre,post}{inst,rm} ; do
|
||||
e="${FILESDIR}/eblits/pkg_${x}-v50160001.eblit"
|
||||
if [[ -e ${e} ]] ; then
|
||||
. "${e}"
|
||||
eval "pkg_${x}() { eblit-run pkg_${x} v50160001 ; }"
|
||||
fi
|
||||
done
|
@ -1,2 +1,3 @@
|
||||
DIST MicroJSON-0.2.0.tar.bz2 4681 SHA256 9cb90f1b529475a39894584a79abfe7c1274261f2d1d789cf87425f98ca43766 SHA512 926a41b2f2abe36116864f3d063c4f047f8e18d772b56bf47ecb6b2e5907f72cf85e7b49f253e62813d2df74b2d575bd4a7b267dca367623678f17f95fb23560 WHIRLPOOL c9cedf289c306eb4017f04c2f3c6bb2bd6e74fc3634c77d6d8a3cca232e88e2459e3779f2cbc75e4a63447545d1729c969bde7e736e146779b736ee825f06666
|
||||
DIST MicroJSON-0.2.1.tar.bz2 5309 SHA256 bc20ec1336fdc0bcd0ee14bfb2224bf067eed25bd817b2c08ee6369081f47df2 SHA512 90b571aa87bd5625f9b94db77e453168b0f1ff38eaef04403d979cf8ca65c875f47a6b8632ff6441226ddef26fd47459c3ca036bc2eb9e3b79aba21880f28c88 WHIRLPOOL 15768c232d11ee2a6f4eca71a6de046e2f989a8241b965a96e0d2761370ee82c0189e4edc1d58aee8fb70cb151e3dca6f3391d6688d15d43ecb422661b4e3f78
|
||||
DIST MicroJSON-0.3.0.tar.bz2 5558 SHA256 562b1a016eab711c9017e3ede5a16fdaedd87a89fd6464a6259b7ac378493ddb SHA512 cf02e44531ee512397128b7893861af9f8bf330aed5cb97fdb0915341f62a0570b32653eb361081f37a055ba959ca58c30fefa05b96373c96b0eb485b96720de WHIRLPOOL 7403354de6ede792fd57f6a78c588c8d357f00c466b442076a04d765c048680824020d8a1877a28d0194f45d1fbd86e15c47f7da88e9e583d1f2888311d00344
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/MicroJSON/MicroJSON-0.3.0.ebuild,v 1.1 2013/03/12 15:06:45 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Small and simple to use JSON generation and parsing library."
|
||||
HOMEPAGE="http://grigory.info/${PN}.About.html"
|
||||
SRC_URI="http://grigory.info/distfiles/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=dev-libs/UTF8Strings-1.12.0"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
@ -1,4 +1,5 @@
|
||||
DIST UTF8Strings-1.12.0.tar.bz2 6616 SHA256 7acf9b0123dd0178a0bb06218895fec3e8ff4679d03688efddb9625696999df8 SHA512 db1eda28481ad38c37d48a297924957efe310d15177437ab4923881e4a98bec52005fdb9d841824806604224cc94211d506636d471c535ba0d3a9330bfd6543a WHIRLPOOL c624ec2cf6342a388f1e9fc1c600fafb9997a20151c97ff26a776e1fcd7e507a3c2ac35670c169f7755f82f9c5d7c64079f61d48e2467ca2e0fdaa09e72a8724
|
||||
DIST UTF8Strings-1.12.1.tar.bz2 6699 SHA256 73f464e23fd30ca8770c0b22141740a195453c6c866cb329d3ad6f1626703981 SHA512 936d357c7a8310bcee5b00d82ec7193b590385026ea37460e6f4976eb9a1b2bf9b5c8b8af029163e012baf373f33c1f3c5dd254b9ceda4369cb74495d6947c74 WHIRLPOOL 1541316b7b4bf189ded8cab446d37dcb3dccaea0473797ba01336ac9bf1babffb0cc326b760deebe6b5fe784e8d497df5fba63a627d46f41f0ce81368ebb92f6
|
||||
DIST UTF8Strings-1.13.0.tar.bz2 7073 SHA256 c8d9af929b986e7f9a3ac5a7b3e6f8306e4f0a402f37b7002f2a132e75b4d657 SHA512 7fe02d096cb9d52adff15365f8a827fa1b4f10951e5b716f4df76df25ca6d937611c261a33cb9acb3fecce9e0ffb00fa105c2d6eb0c9af00d2f7062b99bc40c2 WHIRLPOOL 5cf868caf6dacce8da21aa791e66fce998e559ad00329939d520205e9ef56fe36c9d4a171849d60106a431ecea078904535074163bea5e75879e4b37e9db030b
|
||||
DIST UTF8Strings-1.13.1.tar.bz2 7083 SHA256 efbbdcb75f11419b6b951361434a8745259807b3f9451c4e1e627ba8b6c11820 SHA512 1f6e09c6d8cf40d7963f7826a30fbd2dfab8078d8a96ce2522e954395c51e07eaa9c127062d5a3d4e206acc1e18b7b4135ed8fbf945cce300169053191d700a0 WHIRLPOOL 35cd3053021aee93cec9a31d90959d70a71dd68cc75adb0159f0af7f8c4e12c87d7c7d91a24653de1cbd5c29e726922283376f3db75f97b0e99730c2fc1ef9df
|
||||
DIST UTF8Strings-1.9.tar.bz2 5708 SHA256 7933b8a56fc83da34a49f0da67c056eb0340d20b544aa403ed2c5a076c72a054 SHA512 9d965a05fdd21109f14ca2b72a2c03484230f2824063beb676eda6eb022df0289c7596af0dbaa8732dc05b884a4cba695471dc47769c91792fee5ea3aafc398a WHIRLPOOL 7cc2bc5457c32bd00bc9a1932d9f5d16d3cf818ccb9b1b4556d19146243fac4697c28b82cbc155cd106c1b969699488417ad1b151529bd487028b2dfb4407d4d
|
||||
|
@ -0,0 +1,15 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/UTF8Strings/UTF8Strings-1.13.1.ebuild,v 1.1 2013/03/12 15:13:47 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="C++ library that provides ability to work natively with UTF8 strings in a very simple way."
|
||||
HOMEPAGE="http://grigory.info/${PN}.About.html"
|
||||
SRC_URI="http://grigory.info/distfiles/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
@ -0,0 +1,12 @@
|
||||
diff -urN a/mozilla/nsprpub/config/nspr-config.in b/mozilla/nsprpub/config/nspr-config.in
|
||||
--- a/mozilla/nsprpub/config/nspr-config.in 2012-03-06 07:13:39.000000000 -0600
|
||||
+++ b/mozilla/nsprpub/config/nspr-config.in 2013-02-16 20:53:53.893489345 -0600
|
||||
@@ -126,7 +126,7 @@
|
||||
fi
|
||||
|
||||
if test "$echo_libs" = "yes"; then
|
||||
- libdirs=-L$libdir
|
||||
+ libdirs=""
|
||||
if test -n "$lib_plds"; then
|
||||
libdirs="$libdirs -lplds${major_version}"
|
||||
fi
|
@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.9.5-r1.ebuild,v 1.1 2013/03/12 01:53:37 anarchy Exp $
|
||||
|
||||
EAPI=3
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
inherit autotools eutils multilib toolchain-funcs versionator
|
||||
|
||||
MIN_PV="$(get_version_component_range 2)"
|
||||
|
||||
DESCRIPTION="Netscape Portable Runtime"
|
||||
HOMEPAGE="http://www.mozilla.org/projects/nspr/"
|
||||
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug"
|
||||
|
||||
src_prepare() {
|
||||
mkdir build inst
|
||||
epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
|
||||
# Patch needs updating
|
||||
#epatch "${FILESDIR}"/${PN}-4.8.3-aix-soname.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.9-link-flags.patch
|
||||
# We do not need to pass -L$libdir via nspr-config --libs
|
||||
epatch "${FILESDIR}"/${PN}-4.9.5_nspr_config.patch
|
||||
|
||||
# We must run eautoconf to regenerate configure
|
||||
cd "${S}"/mozilla/nsprpub
|
||||
eautoconf
|
||||
|
||||
# make sure it won't find Perl out of Prefix
|
||||
sed -i -e "s/perl5//g" "${S}"/mozilla/nsprpub/configure || die
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
|
||||
"${S}"/mozilla/nsprpub/config/rules.mk || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${S}"/build
|
||||
|
||||
# We use the standard BUILD_xxx but nspr uses HOST_xxx
|
||||
tc-export_build_env BUILD_CC
|
||||
export HOST_CC=${BUILD_CC} HOST_CFLAGS=${BUILD_CFLAGS} HOST_LDFLAGS=${BUILD_LDFLAGS}
|
||||
tc-export AR CC CXX RANLIB
|
||||
[[ ${CBUILD} != ${CHOST} ]] \
|
||||
&& export CROSS_COMPILE=1 \
|
||||
|| unset CROSS_COMPILE
|
||||
|
||||
local myconf
|
||||
echo > "${T}"/test.c
|
||||
${CC} ${CFLAGS} ${CPPFLAGS} -c "${T}"/test.c -o "${T}"/test.o || die
|
||||
case $(file "${T}"/test.o) in
|
||||
*32-bit*x86-64*|*64-bit*|*ppc64*|*x86_64*) myconf+=" --enable-64bit";;
|
||||
*32-bit*|*ppc*|*i386*) ;;
|
||||
*) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
|
||||
esac
|
||||
|
||||
# Ancient autoconf needs help finding the right tools.
|
||||
LC_ALL="C" ECONF_SOURCE="../mozilla/nsprpub" \
|
||||
ac_cv_path_AR="${AR}" \
|
||||
econf \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
$(use_enable debug) \
|
||||
$(use_enable !debug optimize) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/build
|
||||
emake || die "failed to build"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Their build system is royally confusing, as usual
|
||||
MINOR_VERSION=${MIN_PV} # Used for .so version
|
||||
cd "${S}"/build
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
cd "${ED}"/usr/$(get_libdir)
|
||||
einfo "removing static libraries as upstream has requested!"
|
||||
rm -f *.a || die "failed to remove static libraries."
|
||||
|
||||
local n=
|
||||
# aix-soname.patch does this already
|
||||
[[ ${CHOST} == *-aix* ]] ||
|
||||
for file in *$(get_libname); do
|
||||
n=${file%$(get_libname)}$(get_libname ${MINOR_VERSION})
|
||||
mv ${file} ${n} || die "failed to mv files around"
|
||||
ln -s ${n} ${file} || die "failed to symlink files."
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${n}" ${n} || die
|
||||
fi
|
||||
done
|
||||
|
||||
# install nspr-config
|
||||
dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config"
|
||||
|
||||
# Remove stupid files in /usr/bin
|
||||
rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.9.5-r2.ebuild,v 1.1 2013/03/12 15:16:23 vapier Exp $
|
||||
|
||||
EAPI=3
|
||||
WANT_AUTOCONF="2.1"
|
||||
|
||||
inherit autotools eutils multilib toolchain-funcs versionator
|
||||
|
||||
MIN_PV="$(get_version_component_range 2)"
|
||||
|
||||
DESCRIPTION="Netscape Portable Runtime"
|
||||
HOMEPAGE="http://www.mozilla.org/projects/nspr/"
|
||||
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug"
|
||||
|
||||
src_prepare() {
|
||||
mkdir build inst
|
||||
epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
|
||||
epatch "${FILESDIR}"/${PN}-4.8.9-link-flags.patch
|
||||
# We do not need to pass -L$libdir via nspr-config --libs
|
||||
epatch "${FILESDIR}"/${PN}-4.9.5_nspr_config.patch
|
||||
|
||||
# We must run eautoconf to regenerate configure
|
||||
cd "${S}"/mozilla/nsprpub
|
||||
eautoconf
|
||||
|
||||
# make sure it won't find Perl out of Prefix
|
||||
sed -i -e "s/perl5//g" "${S}"/mozilla/nsprpub/configure || die
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
|
||||
"${S}"/mozilla/nsprpub/config/rules.mk || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd "${S}"/build
|
||||
|
||||
# We use the standard BUILD_xxx but nspr uses HOST_xxx
|
||||
tc-export_build_env BUILD_CC
|
||||
export HOST_CC=${BUILD_CC} HOST_CFLAGS=${BUILD_CFLAGS} HOST_LDFLAGS=${BUILD_LDFLAGS}
|
||||
tc-export AR CC CXX RANLIB
|
||||
[[ ${CBUILD} != ${CHOST} ]] \
|
||||
&& export CROSS_COMPILE=1 \
|
||||
|| unset CROSS_COMPILE
|
||||
|
||||
local myconf
|
||||
echo > "${T}"/test.c
|
||||
${CC} ${CFLAGS} ${CPPFLAGS} -c "${T}"/test.c -o "${T}"/test.o || die
|
||||
case $(file "${T}"/test.o) in
|
||||
*32-bit*x86-64*|*64-bit*|*ppc64*|*x86_64*) myconf+=" --enable-64bit";;
|
||||
*32-bit*|*ppc*|*i386*) ;;
|
||||
*) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
|
||||
esac
|
||||
|
||||
# Ancient autoconf needs help finding the right tools.
|
||||
LC_ALL="C" ECONF_SOURCE="../mozilla/nsprpub" \
|
||||
ac_cv_path_AR="${AR}" \
|
||||
econf \
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)" \
|
||||
$(use_enable debug) \
|
||||
$(use_enable !debug optimize) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${S}"/build
|
||||
emake || die "failed to build"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Their build system is royally confusing, as usual
|
||||
MINOR_VERSION=${MIN_PV} # Used for .so version
|
||||
cd "${S}"/build
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
cd "${ED}"/usr/$(get_libdir)
|
||||
einfo "removing static libraries as upstream has requested!"
|
||||
rm -f *.a || die "failed to remove static libraries."
|
||||
|
||||
# install nspr-config
|
||||
dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config"
|
||||
|
||||
# Remove stupid files in /usr/bin
|
||||
rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST PyQt-x11-gpl-4.10.tar.gz 9353719 SHA256 03eaa01a59b13dc85cad0318dd5ae01d0bd6fb3339f502967bae85c6e8c499df SHA512 caf856d84659375cdaee9eead34d05f7bb0cbacbebf6e53bcfefa054335a774c09475d2e2b4be62967443700fc88e97389484e26e1a7d3ef4e3aa43a20afaade WHIRLPOOL e8ff59b78702c5cfaca81cfca1542339fe96c61c49b4e19adb62b95c617f46b3f0b9d568481bae26419bef6233cd66fcdc6de9fa185ef783fda5498d0df02bca
|
||||
DIST PyQt-x11-gpl-4.9.4.tar.gz 9801300 SHA256 29416e9b2dd394d39c3034e103717a40b9090ec05f457600a4d62b6f29b27e48 SHA512 719abd2dc5504c9fdab3151d9649915d80d4b9e59f4f122127c7d9c5938cb4116ba993d7ff1a8468d098bb76d49c7f36aa5f13b30f44fedc38192e89e751e1f3 WHIRLPOOL 294a6d77ecf6540561795219ea02d687d906fd635b1de0c8d78cc60ddf51bf870f819127f58c9bb406edb942a3c8caaf4d581045920b99ecd4b9bb831d16d214
|
||||
DIST PyQt-x11-gpl-4.9.6.tar.gz 9349834 SHA256 a350f9e5c6d8062671c0f29bf1a70824719b18175ce8372c29bf7c1eda44b18d SHA512 1d0ca00d529f67d33e51b947b9e2c49a64611a842f1a78220c9390afd1657e909451d9b758d0c008b6efbba7ed047f18ca41323e4db2269d685b9d2400a604aa WHIRLPOOL fd9e2339014e2cce9c4106f92593abca3d71881c57a90e6084a08fdc55213cd640723b988fa792bf4e20e448fb7f6fc43fb72bb45fb7c81bf5819684620ad4ae
|
||||
|
@ -0,0 +1,203 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/PyQt4/PyQt4-4.10.ebuild,v 1.1 2013/03/12 09:12:18 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
|
||||
|
||||
inherit eutils qt4-r2 python-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Python bindings for the Qt toolkit"
|
||||
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/pyqt/intro/ http://pypi.python.org/pypi/PyQt"
|
||||
|
||||
if [[ ${PV} == *_pre* ]]; then
|
||||
MY_P="PyQt-x11-gpl-snapshot-${PV%_pre*}-${REVISION}"
|
||||
SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz"
|
||||
else
|
||||
MY_P="PyQt-x11-gpl-${PV}"
|
||||
SRC_URI="mirror://sourceforge/pyqt/${MY_P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="|| ( GPL-2 GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
IUSE="X dbus debug declarative doc examples help kde multimedia opengl phonon script scripttools sql svg webkit xmlpatterns"
|
||||
REQUIRED_USE="
|
||||
declarative? ( X )
|
||||
help? ( X )
|
||||
multimedia? ( X )
|
||||
opengl? ( X )
|
||||
phonon? ( X )
|
||||
scripttools? ( X script )
|
||||
sql? ( X )
|
||||
svg? ( X )
|
||||
webkit? ( X )
|
||||
"
|
||||
|
||||
# Minimal supported version of Qt.
|
||||
QT_PV="4.8.0:4"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=dev-python/sip-4.14.3:=[${PYTHON_USEDEP}]
|
||||
>=dev-qt/qtcore-${QT_PV}
|
||||
X? (
|
||||
>=dev-qt/qtgui-${QT_PV}[dbus?]
|
||||
>=dev-qt/qttest-${QT_PV}
|
||||
)
|
||||
dbus? (
|
||||
>=dev-python/dbus-python-0.80
|
||||
>=dev-qt/qtdbus-${QT_PV}
|
||||
)
|
||||
declarative? ( >=dev-qt/qtdeclarative-${QT_PV} )
|
||||
help? ( >=dev-qt/qthelp-${QT_PV} )
|
||||
multimedia? ( >=dev-qt/qtmultimedia-${QT_PV} )
|
||||
opengl? ( >=dev-qt/qtopengl-${QT_PV} )
|
||||
phonon? (
|
||||
kde? ( media-libs/phonon )
|
||||
!kde? ( || ( >=dev-qt/qtphonon-${QT_PV} media-libs/phonon ) )
|
||||
)
|
||||
script? ( >=dev-qt/qtscript-${QT_PV} )
|
||||
sql? ( >=dev-qt/qtsql-${QT_PV} )
|
||||
svg? ( >=dev-qt/qtsvg-${QT_PV} )
|
||||
webkit? ( >=dev-qt/qtwebkit-${QT_PV} )
|
||||
xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dbus? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
qt4-r2_src_prepare
|
||||
|
||||
# Support qreal on arm architecture (bug 322349).
|
||||
use arm && epatch "${FILESDIR}/${PN}-4.7.3-qreal_float_support.patch"
|
||||
|
||||
# Allow building against KDE's phonon (bug 433944 and others).
|
||||
sed -i \
|
||||
-e "s:VideoWidget()\":&, extra_include_dirs=[\"${EPREFIX}/usr/include/qt4/QtGui\"]:" \
|
||||
-e "s:^\s\+generate_code(\"phonon\":&, extra_include_dirs=[\"${EPREFIX}/usr/include/phonon\"]:" \
|
||||
configure.py || die
|
||||
|
||||
if ! use dbus; then
|
||||
sed -i -e 's/^\(\s\+\)check_dbus()/\1pass/' configure.py || die
|
||||
fi
|
||||
|
||||
python_copy_sources
|
||||
|
||||
preparation() {
|
||||
if [[ ${EPYTHON} == python3.* ]]; then
|
||||
rm -fr pyuic/uic/port_v2
|
||||
else
|
||||
rm -fr pyuic/uic/port_v3
|
||||
fi
|
||||
}
|
||||
python_foreach_impl run_in_build_dir preparation
|
||||
}
|
||||
|
||||
pyqt4_use_enable() {
|
||||
use $1 && echo --enable=${2:-Qt$(tr 'a-z' 'A-Z' <<< ${1:0:1})${1:1}}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local myconf=(
|
||||
"${PYTHON}" configure.py
|
||||
--confirm-license
|
||||
--bindir="${EPREFIX}/usr/bin"
|
||||
--destdir="$(python_get_sitedir)"
|
||||
--sipdir="${EPREFIX}/usr/share/sip"
|
||||
--assume-shared
|
||||
--no-timestamp
|
||||
--qsci-api
|
||||
$(use debug && echo --debug)
|
||||
--enable=QtCore
|
||||
--enable=QtNetwork
|
||||
--enable=QtXml
|
||||
$(pyqt4_use_enable X QtDesigner) $(use X || echo --no-designer-plugin)
|
||||
$(pyqt4_use_enable X QtGui)
|
||||
$(pyqt4_use_enable X QtTest)
|
||||
$(pyqt4_use_enable dbus QtDBus)
|
||||
$(pyqt4_use_enable declarative)
|
||||
$(pyqt4_use_enable help)
|
||||
$(pyqt4_use_enable multimedia)
|
||||
$(pyqt4_use_enable opengl QtOpenGL)
|
||||
$(pyqt4_use_enable phonon phonon)
|
||||
$(pyqt4_use_enable script)
|
||||
$(pyqt4_use_enable scripttools QtScriptTools)
|
||||
$(pyqt4_use_enable sql)
|
||||
$(pyqt4_use_enable svg)
|
||||
$(pyqt4_use_enable webkit QtWebKit)
|
||||
$(pyqt4_use_enable xmlpatterns QtXmlPatterns)
|
||||
AR="$(tc-getAR) cqs"
|
||||
CC="$(tc-getCC)"
|
||||
CFLAGS="${CFLAGS}"
|
||||
CFLAGS_RELEASE=
|
||||
CXX="$(tc-getCXX)"
|
||||
CXXFLAGS="${CXXFLAGS}"
|
||||
CXXFLAGS_RELEASE=
|
||||
LINK="$(tc-getCXX)"
|
||||
LINK_SHLIB="$(tc-getCXX)"
|
||||
LFLAGS="${LDFLAGS}"
|
||||
LFLAGS_RELEASE=
|
||||
RANLIB=
|
||||
STRIP=
|
||||
)
|
||||
echo "${myconf[@]}"
|
||||
"${myconf[@]}" || die
|
||||
|
||||
local mod
|
||||
for mod in QtCore \
|
||||
$(use X && echo QtDesigner QtGui) \
|
||||
$(use dbus && echo QtDBus) \
|
||||
$(use declarative && echo QtDeclarative) \
|
||||
$(use opengl && echo QtOpenGL); do
|
||||
# Run eqmake4 inside the qpy subdirectories to respect
|
||||
# CC, CXX, CFLAGS, CXXFLAGS, LDFLAGS and avoid stripping.
|
||||
pushd qpy/${mod} > /dev/null || return
|
||||
eqmake4 $(ls w_qpy*.pro)
|
||||
popd > /dev/null || return
|
||||
|
||||
# Fix insecure runpaths.
|
||||
sed -i -e "/^LFLAGS\s*=/ s:-Wl,-rpath,${BUILD_DIR}/qpy/${mod}::" \
|
||||
${mod}/Makefile || die "failed to fix rpath for ${mod}"
|
||||
done
|
||||
|
||||
# Avoid stripping of libpythonplugin.so.
|
||||
if use X; then
|
||||
pushd designer > /dev/null || return
|
||||
eqmake4 python.pro
|
||||
popd > /dev/null || return
|
||||
fi
|
||||
}
|
||||
python_parallel_foreach_impl run_in_build_dir configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
# INSTALL_ROOT is used by designer/Makefile, other Makefiles use DESTDIR.
|
||||
emake DESTDIR="${D}" INSTALL_ROOT="${D}" install
|
||||
mv "${ED}"/usr/bin/pyuic4{,-${EPYTHON}} || die
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installation
|
||||
|
||||
dosym python-exec /usr/bin/pyuic4
|
||||
dodoc NEWS THANKS
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/html/*
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pylint/pylint-0.27.0-r1.ebuild,v 1.2 2013/03/13 07:10:14 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_{5,6,7} python{3_1,3_2} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python code static checker"
|
||||
HOMEPAGE="http://www.logilab.org/project/pylint http://pypi.python.org/pypi/pylint"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/${PN}/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE="examples"
|
||||
|
||||
# Versions specified in __pkginfo__.py.
|
||||
RDEPEND=">=dev-python/logilab-common-0.53.0
|
||||
>=dev-python/astng-0.21.1"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
|
||||
DOCS=( doc/FAQ.txt doc/features.txt doc/manual.txt doc/quickstart.txt )
|
||||
|
||||
python_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.26.0-gtktest.patch
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Test suite broken with Python 3, 2.5
|
||||
[[ "${EPYTHON:6:1}" == 3 || "${EPYTHON:6:3}" == '2.5' ]] && return
|
||||
pytest || die
|
||||
}
|
||||
|
||||
src_install_all() {
|
||||
doman man/{pylint,pyreverse}.1 || die "doman failed"
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/* || die "dodoc failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Optional dependency on "tk" USE flag would break support for Jython.
|
||||
elog "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled."
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST pyquery-0.6.1.tar.gz 16176 SHA256 ccbb9ccf7d41f546b28103ddd59fa584927dad1cb817800dadbb8eb1886656b2 SHA512 ae194ce7de3ce7b24954d1302d171db2831be79696e2aab211be481be2cb83896fa0e560b6e7dc9d49ab980c5e186cd7f92a1509108c20774558f56852770768 WHIRLPOOL a0e0d9fd24f44aa5e2fa1758d1cddb31c7f07a597ff21bd6a9fcdb3a4d6f8ea933a2c025a238c39bf73e612fcab02b45183b72b35b09ea524f37624e4d0d730d
|
||||
DIST pyquery-1.0.tar.gz 17226 SHA256 fb2345065647211507d23355b1026d995ded40e088d86fcae262562921d80408 SHA512 0a650ecf908dffceea8e62762ac7204006c4e18fadf688c5bea3306348444f7fddc0d3c094d2132e1a3276359c5f6d9e48659ee27e0af6ac89989a656ef42fe8 WHIRLPOOL 055c7a9ef77477526025fce7335c09027defb5dd1cd0bd5be9ca96c89b3aad6f5c19811984bd72ce71c81e17dad465237022d9f0ad82f6bf301d079deb9a45f1
|
||||
DIST pyquery-1.1.1.tar.gz 21108 SHA256 4bdc4b5add5d65055aeb05860c24f53557540db1d945413093c74b554db62a44 SHA512 a0cd95f67231d4b95605dad6f15163d2e352ad1fa5277e9d12bbfdd04b3a52ad76f1a130d5a5adf48475fdb1b67fbf67b1a5c587affd17b3114ea6a177a6b816 WHIRLPOOL 979caf9c95e1cae89312bb882689d03bb66a08acc08eed15216e9a056c302c175ae41bc1aa4360395740ad87d14701e1bc292859e4b9d15b00de4293029afeb1
|
||||
DIST pyquery-1.2.1.tar.gz 21534 SHA256 a607f81a628887e2cf03d5dddee6f092faf411e51b894130a2b4c839e60c408f SHA512 9de68360c0718283876c36f7cdfb3cd9016cdc24fccbfc208ea81ee63b1f3916a337599886df3816772404b3bc2032dd398415fccb4b55a91829d8975d5277a1 WHIRLPOOL ac5ef377fb549211bc757bca5b50a7a5d72675a57dbe2a0844bbae909ac99087fa3f93b651bec2124b587e9bdc5ff8a006231872102d03f8cf2d34beb78cea81
|
||||
DIST pyquery-1.2.4.tar.gz 23999 SHA256 1c39f786c42430279eadf787f1ef06873f15c9acba2698c23dfd925ac7b169d7 SHA512 77ec2efab157f693361e1dcbeabd7cac0709d3a8a25b6c47eb333be49c1485c7fa50b4fd9238bfff69657368130c2886cf6e0705415bdf1b48dc434365539c29 WHIRLPOOL 3fece4f710d69a0b57ab858f759196b269984a38af568003f7280215763c67b1e229feaf80f27b359a5da923248a11335026af4de85806ea6fc969c61c197685
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyquery/pyquery-0.6.1.ebuild,v 1.4 2012/10/13 18:45:57 armin76 Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A jquery-like library for python"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/pyquery"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~s390 ~sh ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/lxml-2.1"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS="CHANGES.txt"
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyquery/pyquery-1.0.ebuild,v 1.11 2012/10/13 18:45:57 armin76 Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 *-jython 2.7-pypy-*"
|
||||
#DISTUTILS_SRC_TEST="nosetests" somewhat works, tries to test docs
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A jquery-like library for python"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/pyquery"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/lxml-2.1"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/webob
|
||||
dev-python/nose
|
||||
)"
|
||||
|
||||
DOCS="CHANGES.txt"
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyquery/pyquery-1.2.4.ebuild,v 1.1 2013/03/13 06:05:30 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A jQuery-like library for python"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/pyquery"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/lxml-2.1[${PYTHON_USEDEP}]
|
||||
dev-python/cssselect[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2_rc1[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
DOCS=( CHANGES.txt README.txt docs/index.txt )
|
||||
|
||||
python_prepare_all() {
|
||||
# Disable tests that access the net
|
||||
for file in docs/{ajax.txt,manipulating.txt,scrap.txt,tips.txt}
|
||||
do
|
||||
mv ${file} ${file/.txt/} || die
|
||||
done
|
||||
sed -e 's:>>> d = pq(url:>>> # d = pq(url:' -i README.rst || die
|
||||
sed -e 's:class TestWebScrapping:class _TestWebScrapping:' -i ${PN}/test.py || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pysvn-1.7.5.tar.gz 333366 SHA256 cb9664de62a85adba8471eda1894c3831d3400131feeea0e7b9cdd7c15d671ef SHA512 439b39b3f4a46b77ee8b4e10f8bb3b45fe7e1f03e37a34c073b7cc14f47451199f184385222c7ff53798546a7d9870df60e2218bfd6b2df4f644d4f638742c25 WHIRLPOOL 26fbcd0ad804cbc9e9af9ff113c79bb546debf8725dd420aa2ad494d42f6c1eda7df3bf733c502734bca402dd97c5c937ff445a6b1b37b7f8710483383bda934
|
||||
DIST pysvn-1.7.6.tar.gz 331549 SHA256 47252408a1b18add18634395108737eaca77d12fbb22e5f187280b9e074c8b73 SHA512 21c78521d34167ebb751c832ed2cc954f1afa1941caf073f1d3cca2d487dceffbf81feaf0761ed3a9fd94e7289d81228b54f556019b9851386bdbf7577320ed2 WHIRLPOOL b1e4cf890c658a83988d709deaded4fd5f4150f282d3d4c651fee89db4e7c4c7cbc50cf078ae4261409b61ec530b79ed302cb96b5f6d5fbd74c7777a6496d6db
|
||||
DIST pysvn-1.7.7.tar.gz 331956 SHA256 2f088e57df77c3779fc0060dab6d65b8f965a098beeaee91e45eb6b54c4d92cb SHA512 8dfdf4287c0216ec1437fa5f1f6af14df62c94ae08a4b182ffc008264fabc6036595081d05a7c41db70563bf2e740c281ff9c09aa2c6fcd0e05e7f3247fbe69d WHIRLPOOL d86feb4a08a1f28c9c119cd46b5482570c7ec260d6445b78a7b415366affc36f704888d424e36355e9d9ff4b829699418fae7576c3b4399349c6798964aec4a6
|
||||
|
@ -0,0 +1,95 @@
|
||||
--- Source/setup_configure.py
|
||||
+++ Source/setup_configure.py
|
||||
@@ -830,8 +830,8 @@
|
||||
def __init__( self, setup ):
|
||||
Compiler.__init__( self, setup )
|
||||
|
||||
- self._addVar( 'CCC', 'g++' )
|
||||
- self._addVar( 'CC', 'gcc' )
|
||||
+ self._addVar( 'CCC', '$(CXX)' )
|
||||
+ self._addVar( 'CC', '$(CC)' )
|
||||
|
||||
def getPythonExtensionFileExt( self ):
|
||||
return '.so'
|
||||
@@ -948,8 +948,8 @@
|
||||
else:
|
||||
arch_options = ''
|
||||
|
||||
- self._addVar( 'CCC', 'g++ %s' % (arch_options,) )
|
||||
- self._addVar( 'CC', 'gcc %s' % (arch_options,) )
|
||||
+ self._addVar( 'CCC', '$(CXX) %s' % (arch_options,) )
|
||||
+ self._addVar( 'CC', '$(CC) %s' % (arch_options,) )
|
||||
|
||||
self._find_paths_pycxx_dir = [
|
||||
'../Import/pycxx-%d.%d.%d' % pycxx_version,
|
||||
@@ -1014,12 +1014,12 @@
|
||||
|
||||
def setupUtilities( self ):
|
||||
self._addVar( 'CCCFLAGS',
|
||||
- '-g '
|
||||
+ '$(CXXFLAGS) '
|
||||
'-no-long-double '
|
||||
'-Wall -fPIC -fexceptions -frtti '
|
||||
'-I. -I%(APR_INC)s -I%(SVN_INC)s '
|
||||
'-D%(DEBUG)s' )
|
||||
- self._addVar( 'LDEXE', '%(CCC)s -g' )
|
||||
+ self._addVar( 'LDEXE', '$(CXX) $(LDFLAGS)' )
|
||||
|
||||
def setupPySvn( self ):
|
||||
self._pysvnModuleSetup()
|
||||
@@ -1031,7 +1031,7 @@
|
||||
self._addVar( 'PYTHON_INC', distutils.sysconfig.get_python_inc() )
|
||||
|
||||
py_cflags_list = [
|
||||
- '-g',
|
||||
+ '$(CXXFLAGS)',
|
||||
'-no-long-double',
|
||||
'-Wall -fPIC -fexceptions -frtti',
|
||||
'-I. -I%(APR_INC)s -I%(SVN_INC)s',
|
||||
@@ -1058,13 +1058,12 @@
|
||||
|
||||
self._addVar( 'CCCFLAGS', ' '.join( py_cflags_list ) )
|
||||
self._addVar( 'LDLIBS', ' '.join( py_ld_libs ) )
|
||||
- self._addVar( 'LDSHARED', '%(CCC)s -bundle -g '
|
||||
+ self._addVar( 'LDSHARED', '$(CXX) $(LDFLAGS) -bundle '
|
||||
'-framework System '
|
||||
'%(PYTHON_FRAMEWORK)s '
|
||||
'-framework CoreFoundation '
|
||||
'-framework Kerberos '
|
||||
- '-framework Security '
|
||||
- '%(LDLIBS)s' )
|
||||
+ '-framework Security' )
|
||||
|
||||
class UnixCompilerGCC(CompilerGCC):
|
||||
def __init__( self, setup ):
|
||||
@@ -1124,11 +1123,11 @@
|
||||
|
||||
def setupUtilities( self ):
|
||||
self._addVar( 'CCCFLAGS',
|
||||
- '-g '
|
||||
+ '$(CXXFLAGS) '
|
||||
'-Wall -fPIC -fexceptions -frtti '
|
||||
'-I. -I%(APR_INC)s -I%(SVN_INC)s '
|
||||
'-D%(DEBUG)s' )
|
||||
- self._addVar( 'LDEXE', '%(CCC)s -g' )
|
||||
+ self._addVar( 'LDEXE', '$(CXX) $(LDFLAGS)' )
|
||||
|
||||
def setupPySvn( self ):
|
||||
self._pysvnModuleSetup()
|
||||
@@ -1138,6 +1137,7 @@
|
||||
self._addVar( 'PYTHON_INC', distutils.sysconfig.get_python_inc() )
|
||||
|
||||
py_cflags_list = [
|
||||
+ '$(CXXFLAGS)',
|
||||
'-Wall -fPIC -fexceptions -frtti',
|
||||
'-I. -I%(APR_INC)s -I%(SVN_INC)s',
|
||||
'-DPYCXX_PYTHON_2TO3 -I%(PYCXX)s -I%(PYCXX_SRC)s -I%(PYTHON_INC)s',
|
||||
@@ -1154,7 +1154,7 @@
|
||||
|
||||
self._addVar( 'CCCFLAGS', ' '.join( py_cflags_list ) )
|
||||
self._addVar( 'LDLIBS', ' '.join( self._getLdLibs() ) )
|
||||
- self._addVar( 'LDSHARED', '%(CCC)s -shared -g' )
|
||||
+ self._addVar( 'LDSHARED', '$(CXX) $(LDFLAGS) -shared' )
|
||||
|
||||
#--------------------------------------------------------------------------------
|
||||
class LinuxCompilerGCC(UnixCompilerGCC):
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pysvn/pysvn-1.7.7.ebuild,v 1.1 2013/03/12 16:56:52 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} )
|
||||
|
||||
inherit eutils distutils-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Object-oriented python bindings for subversion"
|
||||
HOMEPAGE="http://pysvn.tigris.org/"
|
||||
SRC_URI="http://pysvn.barrys-emacs.org/source_kits/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND="
|
||||
>=dev-python/pycxx-6.2.0
|
||||
<dev-vcs/subversion-1.8" # (bug #395533)
|
||||
RDEPEND="${DEPEND}"
|
||||
# Currently fail, no facility to add new issue upstream
|
||||
RESTRICT="test"
|
||||
|
||||
python_prepare() {
|
||||
# Don't use internal copy of dev-python/pycxx.
|
||||
rm -fr Import
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.7.7-respect_flags.patch
|
||||
|
||||
# http://pysvn.tigris.org/source/browse/pysvn?view=rev&revision=1469
|
||||
sed -e "s/PYSVN_HAS_SVN_CLIENT_CTX_T__CONFLICT_FUNC_16/PYSVN_HAS_SVN_CLIENT_CTX_T__CONFLICT_FUNC_1_6/" -i Source/pysvn_svnenv.hpp
|
||||
|
||||
pushd Source > /dev/null
|
||||
if [[ "${EPYTHON:6:3}" == "2.5" ]]; then
|
||||
"${PYTHON}" setup.py backport || die "Backport failed"
|
||||
fi
|
||||
}
|
||||
|
||||
python_configure() {
|
||||
cd Source
|
||||
# all config options from 1.7.6 are all already set
|
||||
"${PYTHON}" setup.py configure
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
cd Source
|
||||
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cd Tests
|
||||
LC_ALL="en_US.UTF-8" emake
|
||||
}
|
||||
|
||||
python_install() {
|
||||
cd Source/pysvn
|
||||
exeinto "$(python_get_sitedir)"/pysvn
|
||||
doexe _pysvn*$(get_modname)
|
||||
insinto "$(python_get_sitedir)"/pysvn
|
||||
doins __init__.py
|
||||
|
||||
use doc && dohtml -r Docs/
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc Examples/Client/*
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST python-gtkmvc-1.2.2.tar.gz 1977755 SHA256 c8f04578d66c9187e48b312d89c8c5c120ea4d0eee4b42b7f7090342f66c85a2 SHA512 bd2911e328801f8296fb4a5d0d23b4d19930142f35498a504e70336b4d749bc3cf89b60566ea59e84a92b48b15d2b43536002fc81b78f3d8627059bad4e7cc0c WHIRLPOOL dd7dff502b7ce8c76dab4e6911c42f376ae88e498e692b2bb7e82ea39b60bfa032943402fdbf48adecc631908006920ef247d09ea9ed9949c8730f70d47099bc
|
||||
DIST python-gtkmvc-1.99.1.tar.gz 1426052 SHA256 a8a74fb0a21d9e229950927a906f5f83ee19e459547138b360a6c60418667ab7 SHA512 f82bbe0f769a57120d3858f77a6531778f4ffbf16191a2f8b3f0cd7da047f756db560e2896504530a92d142c27d61cd010c0ceada059e5dce9428b58950490a0 WHIRLPOOL ded448a1e9ddf4380ea0b0b00fea1f79550a27dc91f05bbf978e00477a7045313507e4baa3c920b24df0c0519fd716bdf8e3c30acd1a16ad7b6db6c377a3ec28
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-gtkmvc/python-gtkmvc-1.99.1.ebuild,v 1.1 2013/03/12 08:47:21 idella4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="model-view-controller (MVC) implementation for pygtk"
|
||||
HOMEPAGE="http://pygtkmvc.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/pygtkmvc/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=dev-python/pygtk-2.24.0"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
dodoc README
|
||||
use doc && dohtml -r docs/_build/html/
|
||||
|
||||
if use examples; then
|
||||
docompress -x usr/share/doc/${P}/examples/
|
||||
insinto usr/share/doc/${P}/
|
||||
doins -r examples/
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST sip-4.13.3.tar.gz 734458 SHA256 ec295f71ef339c5b98db5650865f2c6c1200c4085b7a3f33f284111e1f534ac1 SHA512 2e27bfbb79285e420c8989f620dca52b7bf5f0c70377c4e50def20f3440bae60c5a4cd12d03ec40f1270ddcce4f2137b3b1accd6f6646292855c8b344afd9059 WHIRLPOOL 3304b0865f3cc7f015b719a083d6632efeafa7b9233a5138397c222ef01f1a2ed74f2e793b193b8576571f0af1b549111a964ee21106d3b1818eba696943ae1a
|
||||
DIST sip-4.14.3.tar.gz 747092 SHA256 a84fcaf0e400a45496fe70f0cf1adc7eddf0788ade44a4567d51db8bf1ff5770 SHA512 8e91ef5efbdb84d22812b392e2fb7bfdd6e8b798d49245b7ba945f24a452475be4f5bee0d11a7a00553ec8d1628ee80542a910f87e24fe5dcc1b81fd8b9b122a WHIRLPOOL 0d8634aa175239066c387244e9296a51123ae4219419c346ff93ff68dc451af75b0cd8d136e03658ea280930b3bde7acb50d65a4e138ffbe9268a7acd69a9e62
|
||||
DIST sip-4.14.4.tar.gz 749748 SHA256 325f5933e8bac94e04c29a800f872073f8fcd20260477dca7039f45fb4935eb3 SHA512 e58c002c2e1e4895907230e63715931615e36d051e5f01f458c7e9ec9d872868b0ee6231b989630970924e40e321ee895f08d80bc8da289b9da7342dbc8aad59 WHIRLPOOL 92cf7fbf2d25829c7a5640b3b159f8eae32a357d5176a29aff6eb0dccd80b62ccd9ed6988b652c7979de3b7ea447d381dd2c3e7489b22ed99f36bd105322c1c0
|
||||
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/sip/sip-4.14.4.ebuild,v 1.1 2013/03/12 06:21:02 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
|
||||
|
||||
inherit eutils python-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Python extension module generator for C and C++ libraries"
|
||||
HOMEPAGE="http://www.riverbankcomputing.co.uk/software/sip/intro http://pypi.python.org/pypi/SIP"
|
||||
LICENSE="|| ( GPL-2 GPL-3 sip )"
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
# live version from mercurial repo
|
||||
EHG_REPO_URI="http://www.riverbankcomputing.com/hg/sip"
|
||||
inherit mercurial
|
||||
elif [[ ${PV} == *_pre* ]]; then
|
||||
# development snapshot
|
||||
HG_REVISION=
|
||||
MY_P=${PN}-${PV%_pre*}-snapshot-${HG_REVISION}
|
||||
SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
else
|
||||
# official release
|
||||
SRC_URI="mirror://sourceforge/pyqt/${P}.tar.gz"
|
||||
fi
|
||||
|
||||
# Sub-slot based on SIP_API_MAJOR_NR from siplib/sip.h.in
|
||||
SLOT="0/9"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="debug doc"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
[[ ${PV} == *9999* ]] && DEPEND+="
|
||||
=dev-lang/python-2*
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
doc? ( dev-python/sphinx[$(python_gen_usedep python2*)] )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-4.9.3-darwin.patch
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
python2 build.py prepare || die
|
||||
if use doc; then
|
||||
python2 build.py doc || die
|
||||
fi
|
||||
fi
|
||||
|
||||
# Sub-slot sanity check
|
||||
local sub_slot=${SLOT#*/}
|
||||
local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h.in)
|
||||
if [[ ${sub_slot} != ${sip_api_major_nr} ]]; then
|
||||
eerror
|
||||
eerror "Ebuild sub-slot (${sub_slot}) does not match SIP_API_MAJOR_NR (${sip_api_major_nr})"
|
||||
eerror "Please update SLOT variable as follows:"
|
||||
eerror " SLOT=\"${SLOT%%/*}/${sip_api_major_nr}\""
|
||||
eerror
|
||||
die "sub-slot sanity check failed"
|
||||
fi
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local myconf=(
|
||||
"${PYTHON}" configure.py
|
||||
--bindir="${EPREFIX}/usr/bin"
|
||||
--destdir="$(python_get_sitedir)"
|
||||
--incdir="$(python_get_includedir)"
|
||||
--sipdir="${EPREFIX}/usr/share/sip"
|
||||
$(use debug && echo --debug)
|
||||
AR="$(tc-getAR) cqs"
|
||||
CC="$(tc-getCC)"
|
||||
CFLAGS="${CFLAGS}"
|
||||
CFLAGS_RELEASE=
|
||||
CXX="$(tc-getCXX)"
|
||||
CXXFLAGS="${CXXFLAGS}"
|
||||
CXXFLAGS_RELEASE=
|
||||
LINK="$(tc-getCXX)"
|
||||
LINK_SHLIB="$(tc-getCXX)"
|
||||
LFLAGS="${LDFLAGS}"
|
||||
LFLAGS_RELEASE=
|
||||
RANLIB=
|
||||
STRIP=
|
||||
)
|
||||
echo "${myconf[@]}"
|
||||
"${myconf[@]}"
|
||||
}
|
||||
python_foreach_impl run_in_build_dir configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
emake DESTDIR="${D}" install
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installation
|
||||
|
||||
dodoc NEWS
|
||||
use doc && dohtml -r doc/html/*
|
||||
}
|
@ -1,179 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtcore/qtcore-4.8.4.ebuild,v 1.2 2013/03/03 03:31:54 pesa Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit qt4-build
|
||||
|
||||
DESCRIPTION="The Qt toolkit is a comprehensive C++ application development framework"
|
||||
SLOT="4"
|
||||
if [[ ${QT4_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
IUSE="+glib iconv icu qt3support ssl"
|
||||
|
||||
DEPEND="
|
||||
sys-libs/zlib
|
||||
glib? ( dev-libs/glib:2 )
|
||||
icu? ( >=dev-libs/icu-49 )
|
||||
ssl? ( dev-libs/openssl )
|
||||
!<x11-libs/cairo-1.10.2-r2
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
PDEPEND="
|
||||
qt3support? ( ~dev-qt/qtgui-${PV}[aqua=,debug=,glib=,qt3support] )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/moc-workaround-for-boost-1.48.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
QT4_TARGET_DIRECTORIES="
|
||||
src/tools/bootstrap
|
||||
src/tools/moc
|
||||
src/tools/rcc
|
||||
src/tools/uic
|
||||
src/corelib
|
||||
src/xml
|
||||
src/network
|
||||
src/plugins/codecs
|
||||
tools/linguist/lconvert
|
||||
tools/linguist/lrelease
|
||||
tools/linguist/lupdate"
|
||||
|
||||
QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
|
||||
include/Qt
|
||||
include/QtCore
|
||||
include/QtDeclarative
|
||||
include/QtGui
|
||||
include/QtNetwork
|
||||
include/QtScript
|
||||
include/QtXml
|
||||
src/plugins/plugins.pro
|
||||
src/plugins/qpluginbase.pri
|
||||
src/src.pro
|
||||
src/3rdparty/des
|
||||
src/3rdparty/harfbuzz
|
||||
src/3rdparty/md4
|
||||
src/3rdparty/md5
|
||||
src/3rdparty/sha1
|
||||
src/3rdparty/easing
|
||||
src/3rdparty/zlib_dependency.pri
|
||||
src/declarative
|
||||
src/gui
|
||||
src/script
|
||||
tools/shared
|
||||
tools/linguist/shared
|
||||
translations"
|
||||
|
||||
qt4-build_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Don't pre-strip, bug 235026
|
||||
for i in kr jp cn tw; do
|
||||
echo "CONFIG+=nostrip" >> "${S}"/src/plugins/codecs/${i}/${i}.pro
|
||||
done
|
||||
|
||||
qt4-build_src_prepare
|
||||
|
||||
# bug 172219
|
||||
sed -i -e "s:CXXFLAGS.*=:CXXFLAGS=${CXXFLAGS} :" \
|
||||
"${S}/qmake/Makefile.unix" || die "sed qmake/Makefile.unix CXXFLAGS failed"
|
||||
sed -i -e "s:LFLAGS.*=:LFLAGS=${LDFLAGS} :" \
|
||||
"${S}/qmake/Makefile.unix" || die "sed qmake/Makefile.unix LDFLAGS failed"
|
||||
|
||||
# bug 427782
|
||||
sed -i -e "/^CPPFLAGS/s/-g//" \
|
||||
"${S}/qmake/Makefile.unix" || die "sed qmake/Makefile.unix CPPFLAGS failed"
|
||||
sed -i -e "s/setBootstrapVariable QMAKE_CFLAGS_RELEASE/QMakeVar set QMAKE_CFLAGS_RELEASE/" \
|
||||
-e "s/setBootstrapVariable QMAKE_CXXFLAGS_RELEASE/QMakeVar set QMAKE_CXXFLAGS_RELEASE/" \
|
||||
"${S}/configure" || die "sed configure setBootstrapVariable failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myconf+="
|
||||
-no-accessibility -no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon
|
||||
-no-phonon-backend -no-svg -no-webkit -no-script -no-scripttools -no-declarative
|
||||
-system-zlib -no-gif -no-libtiff -no-libpng -no-libmng -no-libjpeg
|
||||
-no-cups -no-dbus -no-gtkstyle -no-nas-sound -no-opengl -no-openvg
|
||||
-no-sm -no-xshape -no-xvideo -no-xsync -no-xinerama -no-xcursor -no-xfixes
|
||||
-no-xrandr -no-xrender -no-mitshm -no-fontconfig -no-freetype -no-xinput -no-xkb
|
||||
$(qt_use glib)
|
||||
$(qt_use iconv)
|
||||
$(qt_use icu)
|
||||
$(use ssl && echo -openssl-linked || echo -no-openssl)
|
||||
$(qt_use qt3support)"
|
||||
|
||||
qt4-build_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/{qmake,moc,rcc,uic,lconvert,lrelease,lupdate}
|
||||
|
||||
install_directories src/{corelib,xml,network,plugins/codecs}
|
||||
|
||||
emake INSTALL_ROOT="${D}" install_mkspecs
|
||||
|
||||
# install private headers
|
||||
insinto "${QTHEADERDIR#${EPREFIX}}"/QtCore/private
|
||||
find "${S}"/src/corelib -type f -name "*_p.h" -exec doins {} +
|
||||
|
||||
# use freshly built libraries
|
||||
local DYLD_FPATH=
|
||||
[[ -d "${S}"/lib/QtCore.framework ]] \
|
||||
&& DYLD_FPATH=$(for x in "${S}"/lib/*.framework; do echo -n ":$x"; done)
|
||||
DYLD_LIBRARY_PATH="${S}/lib${DYLD_FPATH}" \
|
||||
LD_LIBRARY_PATH="${S}/lib" \
|
||||
"${S}"/bin/lrelease translations/*.ts \
|
||||
|| die "generating translations failed"
|
||||
insinto "${QTTRANSDIR#${EPREFIX}}"
|
||||
doins translations/*.qm
|
||||
|
||||
setqtenv
|
||||
fix_library_files
|
||||
|
||||
# List all the multilib libdirs
|
||||
local libdirs=
|
||||
for libdir in $(get_all_libdirs); do
|
||||
libdirs+=":${EPREFIX}/usr/${libdir}/qt4"
|
||||
done
|
||||
|
||||
cat <<-EOF > "${T}"/44qt4
|
||||
LDPATH="${libdirs:1}"
|
||||
EOF
|
||||
doenvd "${T}"/44qt4
|
||||
|
||||
dodir "${QTDATADIR#${EPREFIX}}"/mkspecs/gentoo
|
||||
mv "${D}/${QTDATADIR}"/mkspecs/qconfig.pri "${D}${QTDATADIR}"/mkspecs/gentoo \
|
||||
|| die "failed to move qconfig.pri"
|
||||
|
||||
# Framework hacking
|
||||
if use aqua && [[ ${CHOST#*-darwin} -ge 9 ]]; then
|
||||
# TODO: do this better
|
||||
sed -i -e '2a#include <QtCore/Gentoo/gentoo-qconfig.h>\n' \
|
||||
"${D}${QTLIBDIR}"/QtCore.framework/Headers/qconfig.h \
|
||||
|| die "sed for qconfig.h failed."
|
||||
dosym "${QTHEADERDIR#${EPREFIX}}"/Gentoo "${QTLIBDIR#${EPREFIX}}"/QtCore.framework/Headers/Gentoo
|
||||
else
|
||||
sed -i -e '2a#include <Gentoo/gentoo-qconfig.h>\n' \
|
||||
"${D}${QTHEADERDIR}"/QtCore/qconfig.h \
|
||||
"${D}${QTHEADERDIR}"/Qt/qconfig.h \
|
||||
|| die "sed for qconfig.h failed"
|
||||
fi
|
||||
|
||||
QCONFIG_DEFINE="QT_ZLIB"
|
||||
install_qconfigs
|
||||
|
||||
# remove .la files
|
||||
prune_libtool_files
|
||||
|
||||
keepdir "${QTSYSCONFDIR#${EPREFIX}}"
|
||||
|
||||
# Framework magic
|
||||
fix_includes
|
||||
}
|
@ -1,249 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtgui/qtgui-4.8.4.ebuild,v 1.1 2013/03/02 15:27:36 yngwin Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils qt4-build
|
||||
|
||||
DESCRIPTION="The GUI module for the Qt toolkit"
|
||||
SLOT="4"
|
||||
if [[ ${QT4_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
IUSE="+accessibility cups dbus egl gif +glib gtkstyle mng nas nis qt3support tiff trace xinerama +xv"
|
||||
|
||||
REQUIRED_USE="
|
||||
gtkstyle? ( glib )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
app-admin/eselect-qtgraphicssystem
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
media-libs/libpng:0
|
||||
sys-libs/zlib
|
||||
virtual/jpeg
|
||||
~dev-qt/qtcore-${PV}[aqua=,debug=,glib=,qt3support=]
|
||||
~dev-qt/qtscript-${PV}[aqua=,debug=]
|
||||
!aqua? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xv? ( x11-libs/libXv )
|
||||
)
|
||||
cups? ( net-print/cups )
|
||||
dbus? ( ~dev-qt/qtdbus-${PV}[aqua=,debug=] )
|
||||
egl? ( media-libs/mesa[egl] )
|
||||
gtkstyle? ( x11-libs/gtk+:2[aqua=] )
|
||||
mng? ( >=media-libs/libmng-1.0.9 )
|
||||
nas? ( >=media-libs/nas-1.5 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
!aqua? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
xinerama? ( x11-proto/xineramaproto )
|
||||
xv? ( x11-proto/videoproto )
|
||||
)
|
||||
"
|
||||
PDEPEND="qt3support? ( ~dev-qt/qt3support-${PV}[aqua=,debug=] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.7.3-cups.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# this belongs to pkg_pretend, we have to upgrade to EAPI 4 :)
|
||||
# was planning to use a dep, but to reproduce this you have to
|
||||
# clean-emerge qt-gui[gtkstyle] while having cairo[qt4] installed.
|
||||
# no need to restrict normal first time users for that :)
|
||||
if use gtkstyle && ! has_version dev-qt/qtgui && has_version x11-libs/cairo[qt4]; then
|
||||
echo
|
||||
eerror "When building qt-gui[gtkstyle] from scratch with cairo present,"
|
||||
eerror "cairo must have the qt4 use flag disabled, otherwise the gtk"
|
||||
eerror "style cannot be built."
|
||||
ewarn
|
||||
eerror "You have the following options:"
|
||||
eerror " - rebuild cairo with -qt4 USE"
|
||||
eerror " - build qt-gui with -gtkstyle USE"
|
||||
ewarn
|
||||
eerror "After you successfully install qt-gui, you'll be able to"
|
||||
eerror "re-enable the disabled use flag and/or reinstall cairo."
|
||||
ewarn
|
||||
echo
|
||||
die "can't build ${PN} with USE=gtkstyle if cairo has 'qt4' USE flag enabled"
|
||||
fi
|
||||
|
||||
QT4_TARGET_DIRECTORIES="
|
||||
src/gui
|
||||
src/scripttools
|
||||
tools/designer
|
||||
tools/linguist/linguist
|
||||
src/plugins/imageformats/gif
|
||||
src/plugins/imageformats/ico
|
||||
src/plugins/imageformats/jpeg
|
||||
src/plugins/inputmethods"
|
||||
|
||||
QT4_EXTRACT_DIRECTORIES="
|
||||
include
|
||||
src
|
||||
tools"
|
||||
|
||||
use accessibility && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/accessible/widgets"
|
||||
use dbus && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} tools/qdbus/qdbusviewer"
|
||||
use mng && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/imageformats/mng"
|
||||
use tiff && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/imageformats/tiff"
|
||||
use trace && QT4_TARGET_DIRECTORIES="${QT4_TARGET_DIRECTORIES} src/plugins/graphicssystems/trace"
|
||||
|
||||
# mac version does not contain qtconfig?
|
||||
[[ ${CHOST} == *-darwin* ]] || QT4_TARGET_DIRECTORIES+=" tools/qtconfig"
|
||||
|
||||
QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES} ${QT4_EXTRACT_DIRECTORIES}"
|
||||
|
||||
qt4-build_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
qt4-build_src_prepare
|
||||
|
||||
# Add -xvideo to the list of accepted configure options
|
||||
sed -i -e 's:|-xinerama|:&-xvideo|:' configure
|
||||
|
||||
# Don't build plugins this go around, because they depend on qt3support lib
|
||||
sed -i -e 's:CONFIG(shared:# &:g' tools/designer/src/src.pro
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export PATH="${S}/bin:${PATH}"
|
||||
export LD_LIBRARY_PATH="${S}/lib:${LD_LIBRARY_PATH}"
|
||||
|
||||
myconf="$(qt_use accessibility)
|
||||
$(qt_use cups)
|
||||
$(use gif || echo -no-gif)
|
||||
$(qt_use glib)
|
||||
$(qt_use mng libmng system)
|
||||
$(qt_use nas nas-sound system)
|
||||
$(qt_use nis)
|
||||
$(qt_use tiff libtiff system)
|
||||
$(qt_use dbus qdbus)
|
||||
$(qt_use dbus)
|
||||
$(qt_use egl)
|
||||
$(qt_use qt3support)
|
||||
$(qt_use gtkstyle)
|
||||
$(qt_use xinerama)
|
||||
$(qt_use xv xvideo)"
|
||||
|
||||
myconf+="
|
||||
-system-libpng -system-libjpeg -system-zlib
|
||||
-no-sql-mysql -no-sql-psql -no-sql-ibase -no-sql-sqlite -no-sql-sqlite2 -no-sql-odbc
|
||||
-sm -xshape -xsync -xcursor -xfixes -xrandr -xrender -mitshm -xinput -xkb
|
||||
-fontconfig -no-svg -no-webkit -no-phonon -no-opengl"
|
||||
|
||||
[[ ${CHOST} == *86*-apple-darwin* ]] && myconf+=" -no-ssse3" #367045
|
||||
|
||||
qt4-build_src_configure
|
||||
|
||||
if use gtkstyle; then
|
||||
einfo "patching the Makefile to fix qgtkstyle compilation"
|
||||
sed "s:-I/usr/include/qt4 ::" -i src/gui/Makefile ||
|
||||
die "sed failed"
|
||||
fi
|
||||
sed -i -e "s:-I/usr/include/qt4/QtGui ::" src/gui/Makefile || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
QCONFIG_ADD="
|
||||
mitshm tablet x11sm xcursor xfixes xinput xkb xrandr xrender xshape xsync
|
||||
fontconfig gif png system-png jpeg system-jpeg
|
||||
$(usev accessibility)
|
||||
$(usev cups)
|
||||
$(use mng && echo system-mng)
|
||||
$(usev nas)
|
||||
$(usev nis)
|
||||
$(use tiff && echo system-tiff)
|
||||
$(usev xinerama)
|
||||
$(use xv && echo xvideo)"
|
||||
QCONFIG_REMOVE="no-gif no-jpeg no-png"
|
||||
QCONFIG_DEFINE="$(use accessibility && echo QT_ACCESSIBILITY)
|
||||
$(use cups && echo QT_CUPS)
|
||||
$(use egl && echo QT_EGL)
|
||||
QT_FONTCONFIG
|
||||
$(use gtkstyle && echo QT_STYLE_GTK)
|
||||
QT_IMAGEFORMAT_JPEG QT_IMAGEFORMAT_PNG
|
||||
$(use mng && echo QT_IMAGEFORMAT_MNG)
|
||||
$(use nas && echo QT_NAS)
|
||||
$(use nis && echo QT_NIS)
|
||||
$(use tiff && echo QT_IMAGEFORMAT_TIFF)
|
||||
QT_SESSIONMANAGER QT_SHAPE QT_TABLET QT_XCURSOR QT_XFIXES
|
||||
$(use xinerama && echo QT_XINERAMA)
|
||||
QT_XINPUT QT_XKB QT_XRANDR QT_XRENDER QT_XSYNC
|
||||
$(use xv && echo QT_XVIDEO)"
|
||||
|
||||
qt4-build_src_install
|
||||
|
||||
# qt-creator
|
||||
# some qt-creator headers are located
|
||||
# under /usr/include/qt4/QtDesigner/private.
|
||||
# those headers are just includes of the headers
|
||||
# which are located under tools/designer/src/lib/*
|
||||
# So instead of installing both, we create the private folder
|
||||
# and drop tools/designer/src/lib/* headers in it.
|
||||
if use aqua && [[ ${CHOST##*-darwin} -ge 9 ]]; then
|
||||
insinto "${QTLIBDIR#${EPREFIX}}"/QtDesigner.framework/Headers/private/
|
||||
else
|
||||
insinto "${QTHEADERDIR#${EPREFIX}}"/QtDesigner/private/
|
||||
fi
|
||||
doins "${S}"/tools/designer/src/lib/shared/*
|
||||
doins "${S}"/tools/designer/src/lib/sdk/*
|
||||
|
||||
# install private headers
|
||||
if use aqua && [[ ${CHOST##*-darwin} -ge 9 ]]; then
|
||||
insinto "${QTLIBDIR#${EPREFIX}}"/QtGui.framework/Headers/private/
|
||||
else
|
||||
insinto "${QTHEADERDIR#${EPREFIX}}"/QtGui/private
|
||||
fi
|
||||
find "${S}"/src/gui -type f -name '*_p.h' -exec doins {} +
|
||||
|
||||
if use aqua && [[ ${CHOST##*-darwin} -ge 9 ]]; then
|
||||
# rerun to get links to headers right
|
||||
fix_includes
|
||||
fi
|
||||
|
||||
# touch the available graphics systems
|
||||
dodir /usr/share/qt4/graphicssystems
|
||||
echo "default" > "${ED}"/usr/share/qt4/graphicssystems/raster || die
|
||||
touch "${ED}"/usr/share/qt4/graphicssystems/native || die
|
||||
|
||||
doicon tools/designer/src/designer/images/designer.png
|
||||
newicon tools/linguist/linguist/images/icons/linguist-128-32.png linguist.png
|
||||
newicon tools/qtconfig/images/appicon.png qtconfig.png
|
||||
use dbus && newicon tools/qdbus/qdbusviewer/images/qdbusviewer-128.png qdbusviewer.png
|
||||
make_desktop_entry designer Designer designer 'Qt;Development;GUIDesigner'
|
||||
make_desktop_entry linguist Linguist linguist 'Qt;Development;Translation'
|
||||
make_desktop_entry qtconfig 'Qt Configuration Tool' qtconfig 'Qt;Settings;DesktopSettings'
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
qt4-build_pkg_postinst
|
||||
|
||||
# raster is the default graphicssystem, set it on first install
|
||||
eselect qtgraphicssystem set raster --use-old
|
||||
|
||||
if use gtkstyle; then
|
||||
# see bug 388551
|
||||
elog "For Qt's GTK style to work, you need to either export"
|
||||
elog "the following variable into your environment:"
|
||||
elog ' GTK2_RC_FILES="$HOME/.gtkrc-2.0"'
|
||||
elog "or alternatively install gnome-base/libgnomeui"
|
||||
fi
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST kramdown-0.13.8.gem 274432 SHA256 7e53304830127fba58e0a2a3ad0f54b342832776a878aa808d9a82238c472985 SHA512 0b729bce4bc48be747b070c290c3a777b437d741faf202aaedbd6388cd3fe1993006fb16f21a87eb2b0b4808271942a9ce8a2030afb721ff2565fa2ceb72f47f WHIRLPOOL 36e6f6be645d43b308ef7d87c1f118e7104190a025953a023a62a86dcc86e41a9f05d16ce4104c25b45352560841cae752092001dc2490c1a0098e8347141805
|
||||
DIST kramdown-0.14.0.gem 276480 SHA256 f163e9a156a4b51902cab238f3fac8a88da1cad31f18162ee8ab8935d1595d5c SHA512 bd8c250e4413e78f6cf63795ebd3abf71834ff2da76578c16774318ad71a335ecb9cc1ccaf10956db1846d84c454a2714b69f2ea98fa27b3621747d6eef767a5 WHIRLPOOL b67f93bf03b6d6ba6428a1675e167255946a4ba23bdc45ad761f6274b58e06a96676ca7ba8322dfc01d7d9158c9359c71f8bda34a16e3cb1a0cbc83da8b348af
|
||||
DIST kramdown-0.14.1.gem 277504 SHA256 e79fe2df71f0a411407d55aa58ddeb8d04d88be9bbbd99629945de02c878373f SHA512 0cc55ae3f316bbfd3d6bbdca8939944b5087370c892fc47ad4234f094b5f979f03163323d8953f28d9129fa28504cd5d387fd814c6073d206b27bee0b5caf113 WHIRLPOOL ebb195c85f849c6b4c133f5c38910564b0dd9cb002996af3567ba682f798f5b3fc8a6e5f2341c5661a8b81631103b87aecdc9b82ee8239f05d0ca60983dbaf27
|
||||
DIST kramdown-0.14.2.gem 278528 SHA256 4351344ebf3b986990341987320d076486d5b1b63032bdf5bfb5eb10d1a43eb7 SHA512 07f3f3b300497196463f660d3d5ec3548c91df79592320e8469a475ced70df21da921d0b00daa1410a9ee9d3ebc0bc4aa12338eabc76d1303264385d6e6f86d2 WHIRLPOOL 473669c9267ed914407214fee7c4c16cf058be4bed5cbef498728578f57fe8550fe2cf7b57889e644a269442560fb2b7b9771f16e3b0c254b20b3760139344cd
|
||||
|
@ -1,46 +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/kramdown/kramdown-0.14.0.ebuild,v 1.1 2012/09/16 22:53:16 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS ChangeLog CONTRIBUTERS"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOC_SOURCES="lib README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="data"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="yet-another-markdown-parser but fast, pure Ruby, using a strict syntax definition."
|
||||
HOMEPAGE="http://kramdown.rubyforge.org/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="latex"
|
||||
|
||||
LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )"
|
||||
RDEPEND+=" ${LATEX_DEPS}"
|
||||
DEPEND+=" test? ( ${LATEX_DEPS} )"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/rdoc )
|
||||
test? ( >=dev-ruby/coderay-1.0.0 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
if ! use latex; then
|
||||
# Remove latex tests. They will fail gracefully when latex isn't
|
||||
# present at all, but not when components are missing (most
|
||||
# notable ucs.sty).
|
||||
sed -i -e '/latex -v/,/^ end/ s:^:#:' test/test_files.rb || die
|
||||
fi
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doman man/man1/kramdown.1
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST liquid-2.3.0.gem 39936 SHA256 58c26a4e54cc30692bc81499649a7c40e10a18734f495ce66fa123c9fda1ec4b SHA512 8bc4dec8442d53331cb6ea59a01fa741758ef2aa42b016e595b2e6f2c0a61dbc6ba7413d788300d14ae864fef13e6b4d7c441ae44e38f12e7fcf31787669496e WHIRLPOOL 569e3183c8f5b130af00202e764c415bce1402c972cbbe08072a20ab9b1a802ae04a95860947ba3934d97ed1c1748757e70538fa9625b8786b68f15700319436
|
||||
DIST liquid-2.4.1.gem 40960 SHA256 8d2681ee8fb1167191bd6064fda0ca4abbe882f4f51f7f534a64600ade231f1a SHA512 b892d6f0ab590623428dd86b130abb4bb87bd491eca91f38f4333b89f345936ed06b1931317d7cc37a705cc9bba1c7559f7727ae698a7d348e1cfc1e12910292 WHIRLPOOL 0335bba5298b0413c3747db87e2a528b94bc3064ec5ae652cc972fa509b1307d89c956a3842468ea91be7f840ab20cdae159b1a3a066f21743a0565ad91527dc
|
||||
DIST liquid-2.5.0.gem 43008 SHA256 1374383297f3bb03b399ac437584a8197a40087d6e66ddc37404728dfaf656ab SHA512 3f990dd02d4a555fdcd7457fe482febf041193b64ea0ed3bdd470b8e5dbc9261bc666dd762002ead69017807122a08358663f822ec5755f81c85996cafe52a41 WHIRLPOOL a3288485ef61ad0988466250de0bd885a1277a65de13c21aed22fd119c9e9f6c14f250a10fd21e67591d634c161679f5287027598c35a740e8d309519b769b71
|
||||
|
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/liquid/liquid-2.3.0.ebuild,v 1.3 2012/08/16 13:58:49 flameeyes Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/liquid/liquid-2.5.0.ebuild,v 1.1 2013/03/13 06:50:18 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ree18 jruby"
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue