parent
ee3d1677c8
commit
b09463df15
@ -1,2 +1 @@
|
|||||||
DIST bcfg2-1.2.0.tar.gz 1945551 RMD160 db89ee0b8975bf50ad68bfac122e50253ded1906 SHA1 4fb57f24d2fbce3d6afc0d0b4fbecdd7e05bc5a9 SHA256 138d792423475ae6516a95578a3df191504afaff31007877c7c2b36830d1a260
|
|
||||||
DIST bcfg2-1.2.2.tar.gz 1957621 RMD160 9db086e7f5961cf96ed6e796b9fed10a2f7dcdcb SHA1 9531b3ed204c1100104dd1c8ac5b335698fb6ab1 SHA256 78449bbb37cd446876fed9356a6ccd53b5eb2493cf0db6fa2944e28e0c8b769b
|
DIST bcfg2-1.2.2.tar.gz 1957621 RMD160 9db086e7f5961cf96ed6e796b9fed10a2f7dcdcb SHA1 9531b3ed204c1100104dd1c8ac5b335698fb6ab1 SHA256 78449bbb37cd446876fed9356a6ccd53b5eb2493cf0db6fa2944e28e0c8b769b
|
||||||
|
@ -1,57 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/bcfg2/bcfg2-1.2.0.ebuild,v 1.2 2012/04/14 09:48:37 xmw Exp $
|
|
||||||
|
|
||||||
EAPI="3"
|
|
||||||
PYTHON_DEPEND="2:2.6"
|
|
||||||
SUPPORT_PYTHON_ABIS="1"
|
|
||||||
# ssl module required.
|
|
||||||
RESTRICT_PYTHON_ABIS="2.4 2.5 3.*"
|
|
||||||
|
|
||||||
inherit distutils
|
|
||||||
|
|
||||||
DESCRIPTION="configuration management tool"
|
|
||||||
HOMEPAGE="http://bcfg2.org"
|
|
||||||
SRC_URI="ftp://ftp.mcs.anl.gov/pub/bcfg/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
|
|
||||||
IUSE="server"
|
|
||||||
|
|
||||||
DEPEND=""
|
|
||||||
RDEPEND="app-portage/gentoolkit
|
|
||||||
server? (
|
|
||||||
dev-python/lxml
|
|
||||||
dev-libs/libgamin[python] )"
|
|
||||||
|
|
||||||
PYTHON_MODNAME="Bcfg2"
|
|
||||||
|
|
||||||
distutils_src_install_post_hook() {
|
|
||||||
if ! use server; then
|
|
||||||
rm -f "$(distutils_get_intermediate_installation_image)${EPREFIX}/usr/sbin/bcfg2-"*
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils_src_install --record=PY_SERVER_LIBS --install-scripts "${EPREFIX}/usr/sbin"
|
|
||||||
|
|
||||||
if ! use server; then
|
|
||||||
rm -rf "${ED}usr/share/bcfg2"
|
|
||||||
rm -rf "${ED}usr/share/man/man8"
|
|
||||||
else
|
|
||||||
newinitd "${FILESDIR}/${PN}-server-${PV}.rc" bcfg2-server
|
|
||||||
fi
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
doins examples/bcfg2.conf || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst () {
|
|
||||||
distutils_pkg_postinst
|
|
||||||
|
|
||||||
if use server; then
|
|
||||||
einfo "If this is a new installation, you probably need to run:"
|
|
||||||
einfo " bcfg2-admin init"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST aldo-0.7.5.tar.bz2 98612 RMD160 57937a40b35bc6def41ec2fa7ca4f7b4b2ef5f5b SHA1 44ca9462375461cecafdd45b56229863421d4b6a SHA256 15f9dbcab48c6ba3fba6a4d3e9a030bad3255d4a4b47677388a1e46782aa84ea
|
DIST aldo-0.7.5.tar.bz2 98612 RMD160 57937a40b35bc6def41ec2fa7ca4f7b4b2ef5f5b SHA1 44ca9462375461cecafdd45b56229863421d4b6a SHA256 15f9dbcab48c6ba3fba6a4d3e9a030bad3255d4a4b47677388a1e46782aa84ea
|
||||||
DIST aldo-0.7.6.tar.bz2 110209 RMD160 a42fb1e17aa6581872fb221319e91b176421def5 SHA1 235bce2c9f2eba2d581a9c7a2ed954ea0934119a SHA256 738e06280ce082eb78a84dc57837ec5fe2e9e1ee811eac62eab71b99ff9f7484
|
DIST aldo-0.7.6.tar.bz2 110209 RMD160 a42fb1e17aa6581872fb221319e91b176421def5 SHA1 235bce2c9f2eba2d581a9c7a2ed954ea0934119a SHA256 738e06280ce082eb78a84dc57837ec5fe2e9e1ee811eac62eab71b99ff9f7484
|
||||||
|
DIST aldo-0.7.7.tar.bz2 112000 RMD160 9d9de14344450cee8589df4e6fd7fb1d2e5eb88e SHA1 c37589f8cb0855d33814b7462b3e5ded21caa8ea SHA256 f1b8849d09267fff3c1f5122097d90fec261291f51b1e075f37fad8f1b7d9f92
|
||||||
|
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-misc/aldo/aldo-0.7.7.ebuild,v 1.2 2012/06/04 15:44:43 kensington Exp $
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
DESCRIPTION="A morse tutor"
|
||||||
|
HOMEPAGE="http://www.nongnu.org/aldo"
|
||||||
|
SRC_URI="mirror://nongnu/${PN}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=">=media-libs/libao-0.8.5"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
DOCS=( AUTHORS ChangeLog NEWS README THANKS )
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake LDFLAGS="${LDFLAGS}"
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST esearch-1.0.tar.gz 18071 RMD160 6ffc724b3979cc322f73369331372eb8cd34002b SHA1 a25795d5b092b8eb9716135c4578994a2a2dc550 SHA256 456ece57d9b55e8d9c70920904770c858701d56b7fbb56af32536a5fdd3c8832
|
DIST esearch-1.0.tar.gz 18071 RMD160 6ffc724b3979cc322f73369331372eb8cd34002b SHA1 a25795d5b092b8eb9716135c4578994a2a2dc550 SHA256 456ece57d9b55e8d9c70920904770c858701d56b7fbb56af32536a5fdd3c8832
|
||||||
DIST esearch-1.1.tar.gz 18855 RMD160 c3eb634caa93473416b9777322e5c3e8a7acf31c SHA1 4f4f0b903a5a940479baba280cf24bc86ea833e0 SHA256 2c9234d9ecdbe1460a58140fd0c25cf6b7fe2e894e2f880dd26c6d03dca7be16
|
DIST esearch-1.1.tar.gz 18855 RMD160 c3eb634caa93473416b9777322e5c3e8a7acf31c SHA1 4f4f0b903a5a940479baba280cf24bc86ea833e0 SHA256 2c9234d9ecdbe1460a58140fd0c25cf6b7fe2e894e2f880dd26c6d03dca7be16
|
||||||
|
DIST esearch-1.2.tar.gz 19319 RMD160 4a233d27e8ab53a25245b108059440bc87815741 SHA1 ff6bafc40b5474275a75141ff6c0b098d79c4985 SHA256 961c3251d8a84983b29a5359f895f86c1457bf066be620390d12e54bd01de769
|
||||||
|
@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/esearch-1.2.ebuild,v 1.1 2012/06/04 21:20:28 fuzzyray Exp $
|
||||||
|
|
||||||
|
EAPI="3"
|
||||||
|
SUPPORT_PYTHON_ABIS="1"
|
||||||
|
RESTRICT_PYTHON_ABIS="2.[45] 2.7-pypy-* *-jython"
|
||||||
|
PYTHON_USE_WITH="readline"
|
||||||
|
PYTHON_NONVERSIONED_EXECUTABLES=(".*")
|
||||||
|
|
||||||
|
inherit base distutils python
|
||||||
|
|
||||||
|
DESCRIPTION="Replacement for 'emerge --search' with search-index"
|
||||||
|
HOMEPAGE="http://david-peter.de/esearch.html"
|
||||||
|
SRC_URI="mirror://github/fuzzyray/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="linguas_fr linguas_it"
|
||||||
|
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
|
||||||
|
|
||||||
|
DEPEND="sys-apps/portage"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
# Populate the patches array for any patches for -rX releases
|
||||||
|
# It is an array of patch file names of the form:
|
||||||
|
# "${FILESDIR}"/${PV}-fix-EPREFIX-capability.patch
|
||||||
|
PATCHES=()
|
||||||
|
|
||||||
|
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() {
|
||||||
|
base_src_prepare
|
||||||
|
distutils_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
distutils_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
python_convert_shebangs -r "" build-*/scripts-*
|
||||||
|
distutils_src_install
|
||||||
|
dodoc eupdatedb.cron || die "dodoc failed"
|
||||||
|
|
||||||
|
# Remove unused man pages according to the linguas flags
|
||||||
|
if ! use linguas_fr ; then
|
||||||
|
rm -rf "${ED}"/usr/share/man/fr
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use linguas_it ; then
|
||||||
|
rm -rf "${ED}"/usr/share/man/it
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
--- ./viewer/svutil.cpp.ori 2012-04-28 01:59:58.441072997 +0200
|
||||||
|
+++ ./viewer/svutil.cpp 2012-04-28 02:00:35.085467955 +0200
|
||||||
|
@@ -37,6 +37,7 @@
|
||||||
|
#include <signal.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
+#include <unistd.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#ifdef __linux__
|
@ -0,0 +1,20 @@
|
|||||||
|
http://bugs.python.org/issue15000
|
||||||
|
|
||||||
|
x32 has 64bit values for the first two args
|
||||||
|
|
||||||
|
--- a/Modules/_posixsubprocess.c
|
||||||
|
+++ b/Modules/_posixsubprocess.c
|
||||||
|
@@ -175,8 +175,13 @@
|
||||||
|
* chooses to break compatibility with all existing binaries. Highly Unlikely.
|
||||||
|
*/
|
||||||
|
struct linux_dirent {
|
||||||
|
+#if defined(__x86_64__) && defined(__ILP32__)
|
||||||
|
+ unsigned long long d_ino;
|
||||||
|
+ unsigned long long d_off;
|
||||||
|
+#else
|
||||||
|
unsigned long d_ino; /* Inode number */
|
||||||
|
unsigned long d_off; /* Offset to next linux_dirent */
|
||||||
|
+#endif
|
||||||
|
unsigned short d_reclen; /* Length of this linux_dirent */
|
||||||
|
char d_name[256]; /* Filename (null-terminated) */
|
||||||
|
};
|
@ -1,236 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/Ice/Ice-3.3.1-r2.ebuild,v 1.3 2011/11/14 11:22:34 flameeyes Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
|
|
||||||
PYTHON_DEPEND="python? 2"
|
|
||||||
RESTRICT_PYTHON_ABIS="3.*"
|
|
||||||
RUBY_OPTIONAL="yes"
|
|
||||||
USE_RUBY="ruby18"
|
|
||||||
|
|
||||||
inherit eutils toolchain-funcs versionator python mono ruby-ng
|
|
||||||
|
|
||||||
DESCRIPTION="ICE middleware C++ library and generator tools"
|
|
||||||
HOMEPAGE="http://www.zeroc.com/"
|
|
||||||
SRC_URI="http://www.zeroc.com/download/Ice/$(get_version_component_range 1-2)/${P}.tar.gz
|
|
||||||
doc? ( http://www.zeroc.com/download/Ice/$(get_version_component_range 1-2)/${P}.pdf.gz )"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE="doc examples +ncurses mono python ruby test debug"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/expat-2.0.1
|
|
||||||
>=app-arch/bzip2-1.0.4
|
|
||||||
>=dev-libs/openssl-0.9.8g
|
|
||||||
>=sys-libs/db-4.6.21:4.6[cxx]
|
|
||||||
=dev-cpp/libmcpp-2.7.2
|
|
||||||
ruby? ( $(ruby_implementation_depend ruby18) )
|
|
||||||
mono? ( dev-lang/mono )
|
|
||||||
!dev-python/IcePy
|
|
||||||
!dev-ruby/IceRuby"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
ncurses? ( sys-libs/ncurses sys-libs/readline )
|
|
||||||
test? ( >=dev-lang/python-2.4 )"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use python && python_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
# prevent ruby-ng.eclass from messing with src_unpack
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}/${P}-openssl.patch"
|
|
||||||
|
|
||||||
if tc-is-cross-compiler ; then
|
|
||||||
export CROSS_COMPILE=yes
|
|
||||||
epatch "${FILESDIR}/${P}-cross-compile.patch"
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e 's|\(install_docdir[[:space:]]*\):=|\1?=|' \
|
|
||||||
-e 's|\(install_configdir[[:space:]]*\):=|\1?=|' \
|
|
||||||
cpp/config/Make.rules || die "sed failed"
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e 's|\(install_pythondir[[:space:]]*\):=|\1?=|' \
|
|
||||||
-e 's|\(install_rubydir[[:space:]]*\):=|\1?=|' \
|
|
||||||
-e 's|\(install_libdir[[:space:]]*\):=|\1?=|' \
|
|
||||||
{py,rb}/config/Make.rules || die "sed failed"
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e 's|-O2 ||g' \
|
|
||||||
cpp/config/Make.rules.Linux || die "sed failed"
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e 's|install-common||' \
|
|
||||||
-e 's|demo||' \
|
|
||||||
{cpp,cs,php,py,rb}/Makefile || die "sed failed"
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e 's|-f -root|-f -gacdir $(GAC_DIR) -root|' \
|
|
||||||
cs/config/Make.rules.cs || die "sed failed"
|
|
||||||
|
|
||||||
if ! use test ; then
|
|
||||||
sed -i \
|
|
||||||
-e 's|^\(SUBDIRS.*\)test|\1|' \
|
|
||||||
{cpp,cs,php,py,rb}/Makefile || die "sed failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
MAKE_RULES="prefix=\"${D}/usr\"
|
|
||||||
install_docdir=\"${D}/usr/share/doc/${PF}\"
|
|
||||||
install_configdir=\"${D}/usr/share/Ice-${PV}/config\"
|
|
||||||
embedded_runpath_prefix=\"\"
|
|
||||||
LP64=yes"
|
|
||||||
|
|
||||||
use ncurses && OPTIONS="${MAKE_RULES} USE_READLINE=yes" || MAKE_RULES="${MAKE_RULES} USE_READLINE=no"
|
|
||||||
use debug && OPTIONS"${MAKE_RULES} OPTIMIZE=no" || MAKE_RULES="${MAKE_RULES} OPTIMIZE=yes"
|
|
||||||
|
|
||||||
MAKE_RULES="${MAKE_RULES} DB_FLAGS=-I/usr/include/db4.6"
|
|
||||||
sed -i \
|
|
||||||
-e "s|c++|$(tc-getCXX)|" \
|
|
||||||
-e "s|\(CFLAGS[[:space:]]*=\)|\1 ${CFLAGS}|" \
|
|
||||||
-e "s|\(CXXFLAGS[[:space:]]*=\)|\1 ${CXXFLAGS}|" \
|
|
||||||
-e "s|\(LDFLAGS[[:space:]]*=\)|\1 ${LDFLAGS}|" \
|
|
||||||
-e "s|\(DB_LIBS[[:space:]]*=\) \-ldb_cxx|\1 -ldb_cxx-4.6|" \
|
|
||||||
cpp/config/Make.rules{,.Linux} py/config/Make.rules || die "sed failed"
|
|
||||||
|
|
||||||
if use python ; then
|
|
||||||
MAKE_RULES_PY="install_pythondir=\"${D}/$(python_get_sitedir)\"
|
|
||||||
install_libdir=\"${D}/$(python_get_sitedir)\""
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use ruby ; then
|
|
||||||
SITERUBY="$(ruby -r rbconfig -e 'print Config::CONFIG["sitedir"]')"
|
|
||||||
MAKE_RULES_RB="install_rubydir=\"${D}/${SITERUBY}\"
|
|
||||||
install_libdir=\"${D}/${SITERUBY}\""
|
|
||||||
|
|
||||||
# make it use ruby18 only
|
|
||||||
sed -i \
|
|
||||||
-e 's|RUBY = ruby|\018|' \
|
|
||||||
rb/config/Make.rules || die "sed failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
MAKE_RULES_CS="GACINSTALL=yes GAC_ROOT=\"${D}/usr/$(get_libdir)\" GAC_DIR=/usr/$(get_libdir)"
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if tc-is-cross-compiler ; then
|
|
||||||
export CXX="${CHOST}-g++"
|
|
||||||
fi
|
|
||||||
|
|
||||||
emake -C cpp ${MAKE_RULES} || die "emake failed"
|
|
||||||
|
|
||||||
if use doc ; then
|
|
||||||
emake -C cpp/doc || die "building docs failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use python ; then
|
|
||||||
emake -C py ${MAKE_RULES} ${MAKE_RULES_PY} || die "emake py failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use ruby ; then
|
|
||||||
emake -C rb ${MAKE_RULES} ${MAKE_RULES_RB} || die "emake rb failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use mono ; then
|
|
||||||
emake -C cs ${MAKE_RULES} ${MAKE_RULES_CS} || die "emake cs failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodoc CHANGES README
|
|
||||||
|
|
||||||
insinto /usr/share/${P}
|
|
||||||
doins -r slice
|
|
||||||
|
|
||||||
emake -C cpp ${MAKE_RULES} install || die "emake install failed"
|
|
||||||
|
|
||||||
docinto cpp
|
|
||||||
dodoc CHANGES README
|
|
||||||
|
|
||||||
if use examples ; then
|
|
||||||
insinto /usr/share/doc/${PF}/examples-cpp
|
|
||||||
doins cpp/config/*.cfg
|
|
||||||
doins -r cpp/demo/*
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use doc ; then
|
|
||||||
dohtml -r cpp/doc/reference/*
|
|
||||||
dodoc "${WORKDIR}/${P}.pdf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use python ; then
|
|
||||||
dodir $(python_get_sitedir)
|
|
||||||
emake -C py ${MAKE_RULES} ${MAKE_RULES_PY} install || die "emake py install failed"
|
|
||||||
|
|
||||||
docinto py
|
|
||||||
dodoc py/CHANGES py/README
|
|
||||||
|
|
||||||
if use examples ; then
|
|
||||||
insinto /usr/share/doc/${PF}/examples-py
|
|
||||||
doins -r py/demo/*
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd "${D}/$(python_get_sitedir)"
|
|
||||||
PYTHON_MODULES=(*.py)
|
|
||||||
PYTHON_MODULES+=(Glacier2 IceBox IceGrid IcePatch2 IceStorm)
|
|
||||||
cd "${S}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use ruby ; then
|
|
||||||
dodir "${SITERUBY}"
|
|
||||||
emake -C rb ${MAKE_RULES} ${MAKE_RULES_RB} install || die "emake rb install failed"
|
|
||||||
|
|
||||||
docinto rb
|
|
||||||
dodoc rb/CHANGES rb/README
|
|
||||||
|
|
||||||
if use examples ; then
|
|
||||||
insinto /usr/share/doc/${PF}/examples-rb
|
|
||||||
doins -r rb/demo/*
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use mono ; then
|
|
||||||
emake -C cs ${MAKE_RULES} ${MAKE_RULES_CS} install || die "emake cs install failed"
|
|
||||||
|
|
||||||
docinto cs
|
|
||||||
dodoc cs/CHANGES cs/README
|
|
||||||
|
|
||||||
if use examples ; then
|
|
||||||
insinto /usr/share/doc/${PF}/examples-cs
|
|
||||||
doins -r cs/demo/*
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake -C cpp ${MAKE_RULES} test || die "emake test failed"
|
|
||||||
|
|
||||||
if use python ; then
|
|
||||||
emake -C py ${MAKE_RULES} ${MAKE_RULES_PY} test || die "emake py test failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use ruby ; then
|
|
||||||
emake -C rb ${MAKE_RULES} ${MAKE_RULES_RB} test || die "emake rb test failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use mono ; then
|
|
||||||
ewarn "Tests for C# are currently disabled."
|
|
||||||
# emake -C cs ${MAKE_RULES} ${MAKE_RULES_CS} test || die "emake cs test failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
use python && EAPI="3" python_mod_optimize "${PYTHON_MODULES[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
use python && EAPI="3" python_mod_cleanup "${PYTHON_MODULES[@]}"
|
|
||||||
}
|
|
@ -1,242 +0,0 @@
|
|||||||
# Copyright 1999-2011 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/Ice/Ice-3.4.0.ebuild,v 1.4 2011/11/14 11:22:34 flameeyes Exp $
|
|
||||||
|
|
||||||
EAPI="2"
|
|
||||||
|
|
||||||
PYTHON_DEPEND="python? 2"
|
|
||||||
RESTRICT_PYTHON_ABIS="3.*"
|
|
||||||
RUBY_OPTIONAL="yes"
|
|
||||||
USE_RUBY="ruby18"
|
|
||||||
|
|
||||||
inherit eutils toolchain-funcs versionator python mono ruby-ng
|
|
||||||
|
|
||||||
DESCRIPTION="ICE middleware C++ library and generator tools"
|
|
||||||
HOMEPAGE="http://www.zeroc.com/"
|
|
||||||
SRC_URI="http://www.zeroc.com/download/Ice/$(get_version_component_range 1-2)/${P}.tar.gz
|
|
||||||
doc? ( http://www.zeroc.com/download/Ice/$(get_version_component_range 1-2)/${P}.pdf.gz )"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
IUSE="doc examples +ncurses mono python ruby test debug"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/expat-2.0.1
|
|
||||||
>=app-arch/bzip2-1.0.4
|
|
||||||
>=dev-libs/openssl-0.9.8o
|
|
||||||
>=sys-libs/db-4.8.30:4.8[cxx]
|
|
||||||
=dev-cpp/libmcpp-2.7.2
|
|
||||||
ruby? ( $(ruby_implementation_depend ruby18) )
|
|
||||||
mono? ( dev-lang/mono )
|
|
||||||
!dev-python/IcePy
|
|
||||||
!dev-ruby/IceRuby"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
ncurses? ( sys-libs/ncurses sys-libs/readline )
|
|
||||||
test? ( >=dev-lang/python-2.4 )"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use python && python_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
# prevent ruby-ng.eclass from messing with src_unpack
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch \
|
|
||||||
"${FILESDIR}/${P}-openssl.patch" \
|
|
||||||
"${FILESDIR}/${P}-stream1.patch" \
|
|
||||||
"${FILESDIR}/${P}-stream2.patch"
|
|
||||||
|
|
||||||
if tc-is-cross-compiler ; then
|
|
||||||
export CROSS_COMPILE=yes
|
|
||||||
epatch "${FILESDIR}/${P}-cross-compile.patch"
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e 's|\(install_docdir[[:space:]]*\):=|\1?=|' \
|
|
||||||
-e 's|\(install_configdir[[:space:]]*\):=|\1?=|' \
|
|
||||||
cpp/config/Make.rules || die "sed failed"
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e 's|\(install_pythondir[[:space:]]*\):=|\1?=|' \
|
|
||||||
-e 's|\(install_rubydir[[:space:]]*\):=|\1?=|' \
|
|
||||||
-e 's|\(install_libdir[[:space:]]*\):=|\1?=|' \
|
|
||||||
{py,rb}/config/Make.rules || die "sed failed"
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e 's|-O2 ||g' \
|
|
||||||
cpp/config/Make.rules.Linux || die "sed failed"
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e 's|install-common||' \
|
|
||||||
-e 's|demo||' \
|
|
||||||
{cpp,cs,php,py,rb}/Makefile || die "sed failed"
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e 's|-f -root|-f -gacdir $(GAC_DIR) -root|' \
|
|
||||||
cs/config/Make.rules.cs || die "sed failed"
|
|
||||||
|
|
||||||
if ! use test ; then
|
|
||||||
sed -i \
|
|
||||||
-e 's|^\(SUBDIRS.*\)test|\1|' \
|
|
||||||
{cpp,cs,php,py,rb}/Makefile || die "sed failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
MAKE_RULES="prefix=\"${D}/usr\"
|
|
||||||
install_docdir=\"${D}/usr/share/doc/${PF}\"
|
|
||||||
install_configdir=\"${D}/usr/share/Ice-${PV}/config\"
|
|
||||||
embedded_runpath_prefix=\"\"
|
|
||||||
LP64=yes"
|
|
||||||
|
|
||||||
use ncurses && OPTIONS="${MAKE_RULES} USE_READLINE=yes" || MAKE_RULES="${MAKE_RULES} USE_READLINE=no"
|
|
||||||
use debug && OPTIONS"${MAKE_RULES} OPTIMIZE=no" || MAKE_RULES="${MAKE_RULES} OPTIMIZE=yes"
|
|
||||||
|
|
||||||
MAKE_RULES="${MAKE_RULES} DB_FLAGS=-I/usr/include/db4.8"
|
|
||||||
sed -i \
|
|
||||||
-e "s|c++|$(tc-getCXX)|" \
|
|
||||||
-e "s|\(CFLAGS[[:space:]]*=\)|\1 ${CFLAGS}|" \
|
|
||||||
-e "s|\(CXXFLAGS[[:space:]]*=\)|\1 ${CXXFLAGS}|" \
|
|
||||||
-e "s|\(LDFLAGS[[:space:]]*=\)|\1 ${LDFLAGS}|" \
|
|
||||||
-e "s|\(DB_LIBS[[:space:]]*=\) \-ldb_cxx|\1 -ldb_cxx-4.8|" \
|
|
||||||
cpp/config/Make.rules{,.Linux} py/config/Make.rules || die "sed failed"
|
|
||||||
|
|
||||||
if use python ; then
|
|
||||||
MAKE_RULES_PY="install_pythondir=\"${D}/$(python_get_sitedir)\"
|
|
||||||
install_libdir=\"${D}/$(python_get_sitedir)\""
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use ruby ; then
|
|
||||||
SITERUBY="$(ruby -r rbconfig -e 'print Config::CONFIG["sitedir"]')"
|
|
||||||
MAKE_RULES_RB="install_rubydir=\"${D}/${SITERUBY}\"
|
|
||||||
install_libdir=\"${D}/${SITERUBY}\""
|
|
||||||
|
|
||||||
# make it use ruby18 only
|
|
||||||
sed -i \
|
|
||||||
-e 's|RUBY = ruby|\018|' \
|
|
||||||
rb/config/Make.rules || die "sed failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
MAKE_RULES_CS="GACINSTALL=yes GAC_ROOT=\"${D}/usr/$(get_libdir)\" GAC_DIR=/usr/$(get_libdir)"
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if tc-is-cross-compiler ; then
|
|
||||||
export CXX="${CHOST}-g++"
|
|
||||||
fi
|
|
||||||
|
|
||||||
emake -C cpp ${MAKE_RULES} || die "emake failed"
|
|
||||||
|
|
||||||
if use doc ; then
|
|
||||||
emake -C cpp/doc || die "building docs failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use python ; then
|
|
||||||
emake -C py ${MAKE_RULES} ${MAKE_RULES_PY} || die "emake py failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use ruby ; then
|
|
||||||
emake -C rb ${MAKE_RULES} ${MAKE_RULES_RB} || die "emake rb failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use mono ; then
|
|
||||||
emake -C cs ${MAKE_RULES} ${MAKE_RULES_CS} || die "emake cs failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodoc CHANGES README
|
|
||||||
|
|
||||||
insinto /usr/share/${P}
|
|
||||||
doins -r slice
|
|
||||||
|
|
||||||
emake -C cpp ${MAKE_RULES} install || die "emake install failed"
|
|
||||||
|
|
||||||
docinto cpp
|
|
||||||
dodoc CHANGES README
|
|
||||||
|
|
||||||
if use examples ; then
|
|
||||||
insinto /usr/share/doc/${PF}/examples-cpp
|
|
||||||
doins cpp/config/*.cfg
|
|
||||||
doins -r cpp/demo/*
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use doc ; then
|
|
||||||
dohtml -r cpp/doc/reference/*
|
|
||||||
dodoc "${WORKDIR}/${P}.pdf"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use python ; then
|
|
||||||
dodir $(python_get_sitedir)
|
|
||||||
emake -C py ${MAKE_RULES} ${MAKE_RULES_PY} install || die "emake py install failed"
|
|
||||||
|
|
||||||
docinto py
|
|
||||||
dodoc py/CHANGES py/README
|
|
||||||
|
|
||||||
if use examples ; then
|
|
||||||
insinto /usr/share/doc/${PF}/examples-py
|
|
||||||
doins -r py/demo/*
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd "${D}/$(python_get_sitedir)"
|
|
||||||
PYTHON_MODULES=(*.py)
|
|
||||||
PYTHON_MODULES+=(Glacier2 IceBox IceGrid IcePatch2 IceStorm)
|
|
||||||
cd "${S}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use ruby ; then
|
|
||||||
dodir "${SITERUBY}"
|
|
||||||
emake -C rb ${MAKE_RULES} ${MAKE_RULES_RB} install || die "emake rb install failed"
|
|
||||||
|
|
||||||
docinto rb
|
|
||||||
dodoc rb/CHANGES rb/README
|
|
||||||
|
|
||||||
if use examples ; then
|
|
||||||
insinto /usr/share/doc/${PF}/examples-rb
|
|
||||||
doins -r rb/demo/*
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use mono ; then
|
|
||||||
emake -C cs ${MAKE_RULES} ${MAKE_RULES_CS} install || die "emake cs install failed"
|
|
||||||
|
|
||||||
# TODO: anyone has an idea what those are for?
|
|
||||||
rm "${D}"/usr/bin/*.xml
|
|
||||||
|
|
||||||
docinto cs
|
|
||||||
dodoc cs/CHANGES cs/README
|
|
||||||
|
|
||||||
if use examples ; then
|
|
||||||
insinto /usr/share/doc/${PF}/examples-cs
|
|
||||||
doins -r cs/demo/*
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
emake -C cpp ${MAKE_RULES} test || die "emake test failed"
|
|
||||||
|
|
||||||
if use python ; then
|
|
||||||
emake -C py ${MAKE_RULES} ${MAKE_RULES_PY} test || die "emake py test failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use ruby ; then
|
|
||||||
emake -C rb ${MAKE_RULES} ${MAKE_RULES_RB} test || die "emake rb test failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use mono ; then
|
|
||||||
ewarn "Tests for C# are currently disabled."
|
|
||||||
# emake -C cs ${MAKE_RULES} ${MAKE_RULES_CS} test || die "emake cs test failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
use python && EAPI="3" python_mod_optimize "${PYTHON_MODULES[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
use python && EAPI="3" python_mod_cleanup "${PYTHON_MODULES[@]}"
|
|
||||||
}
|
|
@ -1,103 +0,0 @@
|
|||||||
--- ./Ice-3.3.1/cpp/config/Make.rules.orig 2009-07-28 12:35:31.000000000 +0300
|
|
||||||
+++ ./Ice-3.3.1/cpp/config/Make.rules 2009-07-28 12:39:50.000000000 +0300
|
|
||||||
@@ -214,18 +214,26 @@
|
|
||||||
$(error You need to define mkshlib in Make.rules.$(UNAME))
|
|
||||||
endif
|
|
||||||
|
|
||||||
-ifdef ice_src_dist
|
|
||||||
+ifndef ice_cross_compile
|
|
||||||
+ ifdef ice_src_dist
|
|
||||||
SLICEPARSERLIB = $(libdir)/$(call mklibfilename,Slice,$(VERSION))
|
|
||||||
SLICE2CPP = $(bindir)/slice2cpp
|
|
||||||
SLICE2XSD = $(bindir)/slice2xsd
|
|
||||||
SLICE2FREEZE = $(bindir)/slice2freeze
|
|
||||||
SLICE2DOCBOOK = $(bindir)/slice2docbook
|
|
||||||
-else
|
|
||||||
+ else
|
|
||||||
SLICEPARSERLIB = $(ice_dir)/$(libsubdir)/$(call mklibfilename,Slice,$(VERSION))
|
|
||||||
SLICE2CPP = $(ice_dir)/$(binsubdir)/slice2cpp
|
|
||||||
SLICE2XSD = $(ice_dir)/$(binsubdir)/slice2xsd
|
|
||||||
SLICE2FREEZE = $(ice_dir)/$(binsubdir)/slice2freeze
|
|
||||||
SLICE2DOCBOOK = $(ice_dir)/$(binsubdir)/slice2docbook
|
|
||||||
+ endif
|
|
||||||
+else
|
|
||||||
+ SLICEPARSERLIB = /usr/lib/$(call mklibfilename,Slice,$(VERSION))
|
|
||||||
+ SLICE2CPP = /usr/bin/slice2cpp
|
|
||||||
+ SLICE2XSD = /usr/bin/slice2xsd
|
|
||||||
+ SLICE2FREEZE = /usr/bin/slice2freeze
|
|
||||||
+ SLICE2DOCBOOK = /usr/bin/slice2docbook
|
|
||||||
endif
|
|
||||||
|
|
||||||
EVERYTHING = all depend clean install
|
|
||||||
--- ./Ice-3.3.1/cpp/config/Make.rules.Linux.orig 2009-07-28 12:03:52.000000000 +0300
|
|
||||||
+++ ./Ice-3.3.1/cpp/config/Make.rules.Linux 2009-07-28 12:25:15.000000000 +0300
|
|
||||||
@@ -78,7 +78,7 @@
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
- CXXFLAGS = $(CXXARCHFLAGS) -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl
|
|
||||||
+ CXXFLAGS = $(CXXARCHFLAGS) -ftemplate-depth-128 -Wall -D_REENTRANT
|
|
||||||
|
|
||||||
ifneq ($(GENPIC),no)
|
|
||||||
CXXFLAGS += -fPIC
|
|
||||||
@@ -154,9 +154,7 @@
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
-NPTL_LIB = /usr/$(libsubdir)/nptl
|
|
||||||
-
|
|
||||||
-BASELIBS = -lIceUtil -L$(NPTL_LIB) -lpthread -lrt
|
|
||||||
+BASELIBS = -lIceUtil -lpthread -lrt
|
|
||||||
LIBS = $(BZIP2_RPATH_LINK) -lIce $(BASELIBS)
|
|
||||||
|
|
||||||
ICEUTIL_OS_LIBS =
|
|
||||||
--- ./Ice-3.3.1/cpp/include/IceUtil/Config.h.orig 2009-07-28 12:17:41.000000000 +0300
|
|
||||||
+++ ./Ice-3.3.1/cpp/include/IceUtil/Config.h 2009-07-28 12:26:02.000000000 +0300
|
|
||||||
@@ -16,16 +16,8 @@
|
|
||||||
// Most CPUs support only one endianness, with the notable exceptions
|
|
||||||
// of Itanium (IA64) and MIPS.
|
|
||||||
//
|
|
||||||
-#if defined(__i386) || defined(_M_IX86) || defined(__x86_64) || \
|
|
||||||
- defined(_M_X64) || defined(_M_IA64) || defined(__alpha__) || \
|
|
||||||
- defined(__MIPSEL__)
|
|
||||||
-# define ICE_LITTLE_ENDIAN
|
|
||||||
-#elif defined(__sparc) || defined(__sparc__) || defined(__hppa) || \
|
|
||||||
- defined(__ppc__) || defined(__powerpc) || defined(_ARCH_COM) || \
|
|
||||||
- defined(__MIPSEB__)
|
|
||||||
-# define ICE_BIG_ENDIAN
|
|
||||||
-#else
|
|
||||||
-# error "Unknown architecture"
|
|
||||||
+#ifdef __GLIBC__
|
|
||||||
+ #include <endian.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//
|
|
||||||
--- ./Ice-3.3.1/cpp/Makefile.orig 2009-07-28 12:02:58.000000000 +0300
|
|
||||||
+++ ./Ice-3.3.1/cpp/Makefile 2009-07-28 12:17:05.000000000 +0300
|
|
||||||
@@ -11,11 +11,11 @@
|
|
||||||
|
|
||||||
include $(top_srcdir)/config/Make.rules
|
|
||||||
|
|
||||||
-SUBDIRS = config src include test demo
|
|
||||||
+SUBDIRS = config src include
|
|
||||||
|
|
||||||
INSTALL_SUBDIRS = $(install_bindir) $(install_libdir) $(install_includedir) $(install_configdir)
|
|
||||||
|
|
||||||
-install:: install-common
|
|
||||||
+install::
|
|
||||||
@for subdir in $(INSTALL_SUBDIRS); \
|
|
||||||
do \
|
|
||||||
if test ! -d $$subdir ; \
|
|
||||||
--- ./Ice-3.3.1/config/Make.common.rules.orig 2009-07-28 12:12:17.000000000 +0300
|
|
||||||
+++ ./Ice-3.3.1/config/Make.common.rules 2009-07-28 12:25:41.000000000 +0300
|
|
||||||
@@ -40,6 +40,10 @@
|
|
||||||
ice_bin_dist = 1
|
|
||||||
endif
|
|
||||||
|
|
||||||
+ifeq ($(CROSS_COMPILE),yes)
|
|
||||||
+ice_cross_compile = 1
|
|
||||||
+endif
|
|
||||||
+
|
|
||||||
ifeq ($(UNAME),SunOS)
|
|
||||||
ifeq ($(MACHINE_TYPE),sun4u)
|
|
||||||
lp64suffix = /sparcv9
|
|
@ -1,11 +0,0 @@
|
|||||||
--- ./cpp/src/IceSSL/Instance.cpp.orig 2010-04-03 16:00:51.000000000 -0400
|
|
||||||
+++ ./cpp/src/IceSSL/Instance.cpp 2010-04-03 16:03:45.000000000 -0400
|
|
||||||
@@ -1058,7 +1058,7 @@
|
|
||||||
{
|
|
||||||
Trace out(_logger, _securityTraceCategory);
|
|
||||||
out << "SSL summary for " << (incoming ? "incoming" : "outgoing") << " connection\n";
|
|
||||||
- SSL_CIPHER* cipher = SSL_get_current_cipher(ssl);
|
|
||||||
+ const SSL_CIPHER* cipher = SSL_get_current_cipher(ssl);
|
|
||||||
if(!cipher)
|
|
||||||
{
|
|
||||||
out << "unknown cipher\n";
|
|
@ -1,47 +0,0 @@
|
|||||||
--- ./cpp/src/slice2cpp/Gen.cpp
|
|
||||||
+++ ./cpp/src/slice2cpp/Gen.cpp
|
|
||||||
@@ -6629,21 +6629,34 @@ Slice::Gen::StreamVisitor::visitModuleStart(const ModulePtr& m)
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
- H.zeroIndent();
|
|
||||||
- H << nl << "#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug"; // COMPILERFIX
|
|
||||||
- H << nl << "#else";
|
|
||||||
- H.restoreIndent();
|
|
||||||
- H << nl << "namespace Ice" << nl << '{';
|
|
||||||
+ if(UnitPtr::dynamicCast(m->container()))
|
|
||||||
+ {
|
|
||||||
+ //
|
|
||||||
+ // Only emit this for the top-level module.
|
|
||||||
+ //
|
|
||||||
+ H << sp;
|
|
||||||
+ H.zeroIndent();
|
|
||||||
+ H << nl << "#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug"; // COMPILERFIX
|
|
||||||
+ H << nl << "#else";
|
|
||||||
+ H.restoreIndent();
|
|
||||||
+ H << nl << "namespace Ice" << nl << '{';
|
|
||||||
+ }
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
-Slice::Gen::StreamVisitor::visitModuleEnd(const ModulePtr&)
|
|
||||||
+Slice::Gen::StreamVisitor::visitModuleEnd(const ModulePtr& m)
|
|
||||||
{
|
|
||||||
- H << nl << '}';
|
|
||||||
- H.zeroIndent();
|
|
||||||
- H << nl << "#endif";
|
|
||||||
- H.restoreIndent();
|
|
||||||
+ if(UnitPtr::dynamicCast(m->container()))
|
|
||||||
+ {
|
|
||||||
+ //
|
|
||||||
+ // Only emit this for the top-level module.
|
|
||||||
+ //
|
|
||||||
+ H << nl << '}';
|
|
||||||
+ H.zeroIndent();
|
|
||||||
+ H << nl << "#endif";
|
|
||||||
+ H.restoreIndent();
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
|
|
||||||
bool
|
|
@ -1,13 +0,0 @@
|
|||||||
--- ./cpp/src/slice2cpp/Gen.cpp
|
|
||||||
+++ ./cpp/src/slice2cpp/Gen.cpp
|
|
||||||
@@ -354,6 +354,10 @@ Slice::Gen::generate(const UnitPtr& p)
|
|
||||||
{
|
|
||||||
H << "\n#include <Ice/Stream.h>";
|
|
||||||
}
|
|
||||||
+ else
|
|
||||||
+ {
|
|
||||||
+ H << "\n#include <Ice/StreamF.h>";
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
|
|
||||||
if(_checksum)
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST cxxtools-1.4.8.tar.gz 451807 RMD160 842f180cbfa15b4a23c4f7cd7223fac090b2fa06 SHA1 a25cf5f2e1d8c5c7ccf9333d803e87a3ad09c23b SHA256 95476dce9f47c87b46806b072d2327d221e50b1502ad44413074d70fc084bde1
|
DIST cxxtools-1.4.8.tar.gz 451807 RMD160 842f180cbfa15b4a23c4f7cd7223fac090b2fa06 SHA1 a25cf5f2e1d8c5c7ccf9333d803e87a3ad09c23b SHA256 95476dce9f47c87b46806b072d2327d221e50b1502ad44413074d70fc084bde1
|
||||||
DIST cxxtools-2.0.tar.gz 679749 RMD160 a9a13a72f2e88d7f5a5b3de5fba4cb21ee71386d SHA1 332976f6ae29a55c7b81192d3d9a08e8b02557b6 SHA256 ca0eb1beb8cbb78cdaf5672a4105f8cbbdc9f0c64a9ae8ab47a694a740212bee
|
DIST cxxtools-2.0.tar.gz 679749 RMD160 a9a13a72f2e88d7f5a5b3de5fba4cb21ee71386d SHA1 332976f6ae29a55c7b81192d3d9a08e8b02557b6 SHA256 ca0eb1beb8cbb78cdaf5672a4105f8cbbdc9f0c64a9ae8ab47a694a740212bee
|
||||||
|
DIST cxxtools-2.1.1.tar.gz 801199 RMD160 f761f67cb116d3eea3d448ddb901e24b2bd8bada SHA1 0c367636261168eb268c7454433e14bafd2b912b SHA256 8de01001ab72226444e641c020582d8bd0c7df0966f37073273fee9a66e6054a
|
||||||
|
@ -0,0 +1,29 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-libs/cxxtools/cxxtools-2.1.1.ebuild,v 1.1 2012/06/04 16:31:13 idl0r Exp $
|
||||||
|
|
||||||
|
EAPI="4"
|
||||||
|
|
||||||
|
DESCRIPTION="Collection of general purpose C++-classes"
|
||||||
|
HOMEPAGE="http://www.tntnet.org/cxxtools.hms"
|
||||||
|
SRC_URI="http://www.tntnet.org/download/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~sparc ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="virtual/libiconv"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
--disable-dependency-tracking \
|
||||||
|
--disable-demos \
|
||||||
|
--disable-unittest
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
dodoc AUTHORS ChangeLog
|
||||||
|
}
|
@ -1,5 +1,3 @@
|
|||||||
DIST gobject-introspection-0.10.8.tar.bz2 1024874 RMD160 f542f75920ee95c067563f14215127c3ff95f304 SHA1 410268f5fd16cf0e219038c7dfe393249161b446 SHA256 5b1387ff37f03db880a2b1cbd6c6b6dfb923a29468d4d8367c458abf7704c61e
|
|
||||||
DIST gobject-introspection-1.30.0-patches-1.tar.xz 5776 RMD160 6cf7893558cdf7b41e6084d787efe006b8a8c7b4 SHA1 1d621ce328683a4f2b8405589c89e3f97239534d SHA256 90a01c8b3ce6b112d58e9781460f3664d652bed169ddbdd9451a5e0a9fe2d37c
|
DIST gobject-introspection-1.30.0-patches-1.tar.xz 5776 RMD160 6cf7893558cdf7b41e6084d787efe006b8a8c7b4 SHA1 1d621ce328683a4f2b8405589c89e3f97239534d SHA256 90a01c8b3ce6b112d58e9781460f3664d652bed169ddbdd9451a5e0a9fe2d37c
|
||||||
DIST gobject-introspection-1.30.0.tar.xz 1063720 RMD160 c5e66f2e818e0cdbe38b42516ea3a36e7fbb09e6 SHA1 107425f49e03657c931ee180ffa454dcec201b71 SHA256 8e4274579096e983fad3148cdab50295a4701e45cd9a4e02f7242fc0a04c47b2
|
DIST gobject-introspection-1.30.0.tar.xz 1063720 RMD160 c5e66f2e818e0cdbe38b42516ea3a36e7fbb09e6 SHA1 107425f49e03657c931ee180ffa454dcec201b71 SHA256 8e4274579096e983fad3148cdab50295a4701e45cd9a4e02f7242fc0a04c47b2
|
||||||
DIST gobject-introspection-1.32.0.tar.xz 1120376 RMD160 a9d7acef59b049cc301f920848898fe2adfc710f SHA1 461c9b8e1fab503995fbdf7e4b17ee8a6f51b460 SHA256 346a729eb8a2a5dc49197d2195e71295167504cc2671298dfd92a32f8e5a01b3
|
|
||||||
DIST gobject-introspection-1.32.1.tar.xz 1120996 RMD160 7546532aed866451e0f934257c4b9bbc75f460e5 SHA1 289df976328490a2d5d4187032cf6d429dcef121 SHA256 44f3fb933f76e4728818cc360cb5f9e2edcbdf9bc8a8f9aded99b3e3ef5cb858
|
DIST gobject-introspection-1.32.1.tar.xz 1120996 RMD160 7546532aed866451e0f934257c4b9bbc75f460e5 SHA1 289df976328490a2d5d4187032cf6d429dcef121 SHA256 44f3fb933f76e4728818cc360cb5f9e2edcbdf9bc8a8f9aded99b3e3ef5cb858
|
||||||
|
@ -1,104 +0,0 @@
|
|||||||
From 3a308bb438246f7d6e87ebe2f6efeb1795fdcd1e Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alexandre Rostovtsev <tetromino@gmail.com>
|
|
||||||
Date: Mon, 22 Aug 2011 06:49:51 +0000
|
|
||||||
Subject: tests: build tests only on make check
|
|
||||||
|
|
||||||
Use automake's check_ prefix and avoid putting anything nontrivial in
|
|
||||||
BUILT_SOURCES so that tests are build only on make check.
|
|
||||||
|
|
||||||
The dummy -rpath in AM_LDFLAGS in tests/scanner/Makefile.am is needed to
|
|
||||||
force libtool to build shared libraries for check_LTLIBRARIESS targets
|
|
||||||
(automake builds check_LTLIBRARIES as static by default); see
|
|
||||||
http://lists.gnu.org/archive/html/automake/2005-10/msg00107.html
|
|
||||||
|
|
||||||
https://bugzilla.gnome.org/show_bug.cgi?id=657066
|
|
||||||
---
|
|
||||||
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
|
||||||
index 20ecc17..2d395a3 100644
|
|
||||||
--- a/tests/Makefile.am
|
|
||||||
+++ b/tests/Makefile.am
|
|
||||||
@@ -16,16 +16,14 @@ tests_DATA = \
|
|
||||||
gimarshallingtests.c \
|
|
||||||
gimarshallingtests.h
|
|
||||||
|
|
||||||
-testlib_LTLIBRARIES = libeverything-1.0.la libgimarshallingtests-1.0.la
|
|
||||||
-testlibdir=$(prefix)/unused
|
|
||||||
-install-testlibLTLIBRARIES: # prevent it from being installed
|
|
||||||
+check_LTLIBRARIES = libeverything-1.0.la libgimarshallingtests-1.0.la
|
|
||||||
|
|
||||||
libeverything_1_0_la_SOURCES = everything.c
|
|
||||||
libgimarshallingtests_1_0_la_SOURCES = gimarshallingtests.c
|
|
||||||
|
|
||||||
EXTRA_DIST += gimarshallingtests.h
|
|
||||||
|
|
||||||
-BUILT_SOURCES += everything.c everything.h Everything-1.0.gir GIMarshallingTests-1.0.gir
|
|
||||||
+BUILT_SOURCES += everything.c everything.h
|
|
||||||
|
|
||||||
CLEANFILES += \
|
|
||||||
$(BUILT_SOURCES) \
|
|
||||||
diff --git a/tests/repository/Makefile.am b/tests/repository/Makefile.am
|
|
||||||
index 268d9f9..ffc635f 100644
|
|
||||||
--- a/tests/repository/Makefile.am
|
|
||||||
+++ b/tests/repository/Makefile.am
|
|
||||||
@@ -2,7 +2,7 @@ AM_CFLAGS = $(GOBJECT_CFLAGS)
|
|
||||||
AM_LDFLAGS = -module -avoid-version
|
|
||||||
LIBS = $(GOBJECT_LIBS)
|
|
||||||
|
|
||||||
-noinst_PROGRAMS = gitestrepo gitestthrows gitypelibtest
|
|
||||||
+check_PROGRAMS = gitestrepo gitestthrows gitypelibtest
|
|
||||||
|
|
||||||
gitestrepo_SOURCES = $(srcdir)/gitestrepo.c
|
|
||||||
gitestrepo_CPPFLAGS = $(GIREPO_CFLAGS) -I$(top_srcdir)/girepository
|
|
||||||
diff --git a/tests/scanner/Makefile.am b/tests/scanner/Makefile.am
|
|
||||||
index 6b78ee7..fc2e260 100644
|
|
||||||
--- a/tests/scanner/Makefile.am
|
|
||||||
+++ b/tests/scanner/Makefile.am
|
|
||||||
@@ -3,24 +3,21 @@ include $(top_srcdir)/Makefile.introspection
|
|
||||||
|
|
||||||
INTROSPECTION_SCANNER_ARGS += --warn-all --warn-error -I.
|
|
||||||
|
|
||||||
-# We need to build a shared library, which can be dlopened
|
|
||||||
-# it does not work with noinst_LTLIBRARIES
|
|
||||||
-testlib_LTLIBRARIES = \
|
|
||||||
+check_LTLIBRARIES = \
|
|
||||||
libannotation.la \
|
|
||||||
libtestinherit.la \
|
|
||||||
libfoo.la \
|
|
||||||
libutility.la \
|
|
||||||
libgtkfrob.la
|
|
||||||
if HAVE_CAIRO
|
|
||||||
-testlib_LTLIBRARIES += libregress.la
|
|
||||||
+check_LTLIBRARIES += libregress.la
|
|
||||||
endif
|
|
||||||
|
|
||||||
-testlibdir = $(prefix)/unused
|
|
||||||
-install-testlibLTLIBRARIES: # prevent it from being installed
|
|
||||||
-
|
|
||||||
AM_CPPFLAGS = -I$(top_srcdir)/girepository
|
|
||||||
AM_CFLAGS = $(GIO_CFLAGS) $(GOBJECT_CFLAGS) $(GTHREAD_CFLAGS)
|
|
||||||
-AM_LDFLAGS = -avoid-version
|
|
||||||
+# -rpath needed to force libtool to build a shared library for a check_LTLIBRARIES
|
|
||||||
+# target. See http://lists.gnu.org/archive/html/automake/2005-10/msg00107.html
|
|
||||||
+AM_LDFLAGS = -rpath /unused -avoid-version
|
|
||||||
LIBS = $(GOBJECT_LIBS) $(GTHREAD_LIBS)
|
|
||||||
|
|
||||||
libannotation_la_SOURCES = $(srcdir)/annotation.c $(srcdir)/annotation.h
|
|
||||||
@@ -49,7 +46,6 @@ CHECKGIRS = $(GIRS:.gir=.gir.check)
|
|
||||||
EXPECTEDGIRS = $(GIRS:.gir=-expected.gir)
|
|
||||||
INTROSPECTION_GIRS = $(GIRS)
|
|
||||||
CLEANFILES = $(TYPELIBS) $(GIRS)
|
|
||||||
-BUILT_SOURCES = $(TYPELIBS) $(GIRS)
|
|
||||||
EXTRA_DIST = $(EXPECTEDGIRS)
|
|
||||||
|
|
||||||
Regress-1.0.gir: $(top_builddir)/Gio-2.0.gir libregress.la
|
|
||||||
@@ -102,7 +98,7 @@ GtkFrob_1_0_gir_FILES = $(libgtkfrob_la_SOURCES)
|
|
||||||
GtkFrob_1_0_gir_SCANNERFLAGS = --identifier-prefix=Gtk --symbol-prefix=gtk_frob
|
|
||||||
GIRS += GtkFrob-1.0.gir
|
|
||||||
|
|
||||||
-noinst_PROGRAMS = barapp
|
|
||||||
+check_PROGRAMS = barapp
|
|
||||||
|
|
||||||
barapp_SOURCES = $(srcdir)/barapp.c $(srcdir)/barapp.h
|
|
||||||
barapp_LDADD = $(top_builddir)/libgirepository-1.0.la
|
|
||||||
--
|
|
||||||
cgit v0.9.0.2
|
|
@ -1,69 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-0.10.8.ebuild,v 1.20 2012/06/04 07:30:23 tetromino Exp $
|
|
||||||
|
|
||||||
EAPI="3"
|
|
||||||
GCONF_DEBUG="no"
|
|
||||||
GNOME2_LA_PUNT="yes"
|
|
||||||
PYTHON_DEPEND="2:2.5"
|
|
||||||
PYTHON_USE_WITH="xml"
|
|
||||||
|
|
||||||
inherit gnome2 multilib python libtool eutils autotools
|
|
||||||
|
|
||||||
DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
|
|
||||||
HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2 GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="doc test"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/glib-2.24:2
|
|
||||||
virtual/libffi"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
sys-devel/bison
|
|
||||||
sys-devel/flex
|
|
||||||
virtual/yacc
|
|
||||||
doc? ( >=dev-util/gtk-doc-1.12 )
|
|
||||||
test? ( x11-libs/cairo )"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
|
|
||||||
G2CONF="${G2CONF}
|
|
||||||
--disable-static
|
|
||||||
$(use_enable test tests)"
|
|
||||||
|
|
||||||
python_set_active_version 2
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# FIXME: Parallel compilation failure with USE=doc
|
|
||||||
use doc && MAKEOPTS="-j1"
|
|
||||||
|
|
||||||
# Don't pre-compile .py
|
|
||||||
echo '#!/bin/sh' > py-compile
|
|
||||||
|
|
||||||
# tests: build tests only on make check
|
|
||||||
epatch "${FILESDIR}/${P}-build-tests.patch"
|
|
||||||
eautoreconf
|
|
||||||
|
|
||||||
# Uncomment the following once we don't need full eautoreconf
|
|
||||||
# Fix Darwin bundles
|
|
||||||
# elibtoolize
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
gnome2_src_install
|
|
||||||
python_convert_shebangs 2 "${ED}"usr/bin/g-ir-scanner
|
|
||||||
python_convert_shebangs 2 "${ED}"usr/bin/g-ir-annotation-tool
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner
|
|
||||||
python_need_rebuild
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
python_mod_cleanup /usr/lib*/${PN}/giscanner
|
|
||||||
}
|
|
@ -1,72 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.30.0-r1.ebuild,v 1.11 2012/06/04 07:30:23 tetromino Exp $
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
GCONF_DEBUG="no"
|
|
||||||
GNOME2_LA_PUNT="yes"
|
|
||||||
PYTHON_DEPEND="2:2.5"
|
|
||||||
PYTHON_USE_WITH="xml"
|
|
||||||
|
|
||||||
inherit eutils gnome2 multilib python
|
|
||||||
|
|
||||||
DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
|
|
||||||
HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
|
|
||||||
SRC_URI="${SRC_URI} mirror://gentoo/${P}-patches-1.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2 GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
|
|
||||||
IUSE="doc test"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/glib-2.29.7:2
|
|
||||||
virtual/libffi"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
sys-devel/flex
|
|
||||||
virtual/yacc
|
|
||||||
doc? ( >=dev-util/gtk-doc-1.15 )
|
|
||||||
test? ( x11-libs/cairo )"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
|
|
||||||
G2CONF="${G2CONF}
|
|
||||||
--disable-static
|
|
||||||
YACC=$(type -p yacc)
|
|
||||||
$(use_enable test tests)"
|
|
||||||
|
|
||||||
python_set_active_version 2
|
|
||||||
python_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Useful upstream patches, will be in 1.31
|
|
||||||
epatch ../patches/*.patch
|
|
||||||
|
|
||||||
# https://bugzilla.gnome.org/show_bug.cgi?id=659824
|
|
||||||
sed -i -e '/^TAGS/s/[{}]//g' "${S}/giscanner/docbookdescription.py" || die
|
|
||||||
|
|
||||||
# FIXME: Parallel compilation failure with USE=doc
|
|
||||||
use doc && MAKEOPTS="-j1"
|
|
||||||
|
|
||||||
# Don't pre-compile .py
|
|
||||||
echo '#!/bin/sh' > py-compile
|
|
||||||
echo '#!/bin/sh' > build-aux/py-compile
|
|
||||||
|
|
||||||
gnome2_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
gnome2_src_install
|
|
||||||
python_convert_shebangs 2 "${ED}"usr/bin/g-ir-{annotation-tool,doc-tool,scanner}
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner
|
|
||||||
python_need_rebuild
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
python_mod_cleanup /usr/lib*/${PN}/giscanner
|
|
||||||
}
|
|
@ -1,94 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.32.0.ebuild,v 1.4 2012/06/04 07:30:23 tetromino Exp $
|
|
||||||
|
|
||||||
EAPI="4"
|
|
||||||
GCONF_DEBUG="no"
|
|
||||||
GNOME2_LA_PUNT="yes"
|
|
||||||
PYTHON_DEPEND="2:2.7"
|
|
||||||
PYTHON_USE_WITH="xml"
|
|
||||||
|
|
||||||
inherit gnome2 python
|
|
||||||
|
|
||||||
DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
|
|
||||||
HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2 GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
|
|
||||||
IUSE="doc doctool test"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/gobject-introspection-common-${PV}
|
|
||||||
>=dev-libs/glib-2.31.22:2
|
|
||||||
doctool? ( dev-python/mako )
|
|
||||||
virtual/libffi"
|
|
||||||
# Wants real bison, not virtual/yacc
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig
|
|
||||||
sys-devel/bison
|
|
||||||
sys-devel/flex
|
|
||||||
doc? ( >=dev-util/gtk-doc-1.15 )"
|
|
||||||
# PDEPEND to avoid circular dependencies, bug #391213
|
|
||||||
PDEPEND="x11-libs/cairo[glib]"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
|
|
||||||
G2CONF="${G2CONF}
|
|
||||||
--disable-static
|
|
||||||
YACC=$(type -p yacc)
|
|
||||||
$(use_enable doctool)
|
|
||||||
$(use_enable test tests)"
|
|
||||||
|
|
||||||
python_set_active_version 2
|
|
||||||
python_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# FIXME: Parallel compilation failure with USE=doc
|
|
||||||
use doc && MAKEOPTS="-j1"
|
|
||||||
|
|
||||||
gnome2_src_prepare
|
|
||||||
|
|
||||||
python_clean_py-compile_files
|
|
||||||
|
|
||||||
gi_skip_tests=
|
|
||||||
if ! has_version "x11-libs/cairo[glib]"; then
|
|
||||||
# Bug #391213: enable cairo-gobject support even if it's not installed
|
|
||||||
# We only PDEPEND on cairo to avoid circular dependencies
|
|
||||||
export CAIRO_LIBS="-lcairo"
|
|
||||||
export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
|
|
||||||
export CAIRO_GOBJECT_LIBS="-lcairo-gobject"
|
|
||||||
export CAIRO_GOBJECT_CFLAGS="-I${EPREFIX}/usr/include/cairo"
|
|
||||||
if use test; then
|
|
||||||
G2CONF="${G2CONF} --disable-tests"
|
|
||||||
gi_skip_tests=yes
|
|
||||||
ewarn "Tests will be skipped because x11-libs/cairo[glib] is not present"
|
|
||||||
ewarn "on your system. Consider installing it to get tests to run."
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
[[ -z ${gi_skip_tests} ]] && default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
gnome2_src_install
|
|
||||||
python_convert_shebangs 2 "${ED}"usr/bin/g-ir-{annotation-tool,scanner}
|
|
||||||
use doctool && python_convert_shebangs 2 "${ED}"usr/bin/g-ir-doc-tool
|
|
||||||
|
|
||||||
# Prevent collision with gobject-introspection-common
|
|
||||||
rm -v "${ED}"usr/share/aclocal/introspection.m4 \
|
|
||||||
"${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die
|
|
||||||
rmdir "${ED}"usr/share/aclocal || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner
|
|
||||||
python_need_rebuild
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
python_mod_cleanup /usr/$(get_libdir)/${PN}/giscanner
|
|
||||||
}
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST tntnet-1.6.3.tar.gz 1952122 RMD160 321b40dbcb1bfd9b1b0e69130c2b9c141106fe25 SHA1 dc4cf0b4fb4b0a62a806fb5b6aef75cdb812df6e SHA256 1c16547e4fe6c07f8fe1b9d2eeb750cb2061032f31880f93f2080b049d54a3a4
|
DIST tntnet-1.6.3.tar.gz 1952122 RMD160 321b40dbcb1bfd9b1b0e69130c2b9c141106fe25 SHA1 dc4cf0b4fb4b0a62a806fb5b6aef75cdb812df6e SHA256 1c16547e4fe6c07f8fe1b9d2eeb750cb2061032f31880f93f2080b049d54a3a4
|
||||||
DIST tntnet-2.0.tar.gz 1553215 RMD160 c3f3bc7c4955a4a2040dc0888e95d68ebcfb20c2 SHA1 01800d6aabac1b268acb08993f2ccfa942e4e5d3 SHA256 8e5daf06f9ae1ec05654c3f2b3c2a74cfd64cc2a9f6267f6e4bb604842315b1a
|
DIST tntnet-2.0.tar.gz 1553215 RMD160 c3f3bc7c4955a4a2040dc0888e95d68ebcfb20c2 SHA1 01800d6aabac1b268acb08993f2ccfa942e4e5d3 SHA256 8e5daf06f9ae1ec05654c3f2b3c2a74cfd64cc2a9f6267f6e4bb604842315b1a
|
||||||
|
DIST tntnet-2.1.tar.gz 1705181 RMD160 babbf37d09ba694690cc7a1db1fb9242af9417ef SHA1 03deff283eef6c8875356d2ee00adbe79a432758 SHA256 8623275f78e532a16f73a8b49b79a84fbf5eea314c22e8a7f7b8d50b3d081ab6
|
||||||
|
@ -0,0 +1,90 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-libs/tntnet/tntnet-2.1.ebuild,v 1.1 2012/06/04 16:38:22 idl0r Exp $
|
||||||
|
|
||||||
|
EAPI="4"
|
||||||
|
|
||||||
|
inherit autotools eutils
|
||||||
|
|
||||||
|
DESCRIPTION="Modular, multithreaded webapplicationserver extensible with C++"
|
||||||
|
HOMEPAGE="http://www.tntnet.org/index.hms"
|
||||||
|
SRC_URI="http://www.tntnet.org/download/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~sparc ~x86"
|
||||||
|
IUSE="cgi doc examples gnutls server sdk ssl"
|
||||||
|
|
||||||
|
RDEPEND="=dev-libs/cxxtools-2.1*
|
||||||
|
sys-libs/zlib[minizip]
|
||||||
|
ssl? (
|
||||||
|
gnutls? (
|
||||||
|
>=net-libs/gnutls-1.2.0
|
||||||
|
dev-libs/libgcrypt
|
||||||
|
)
|
||||||
|
!gnutls? ( dev-libs/openssl )
|
||||||
|
)"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig
|
||||||
|
examples? ( app-arch/zip )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# Both fixed in the next release
|
||||||
|
epatch "${FILESDIR}"/${PN}-2.0-zlib-minizip.patch
|
||||||
|
rm framework/common/{ioapi,unzip}.[ch] || die
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
|
||||||
|
sed -i -e 's:@localstatedir@:/var:' etc/tntnet/tntnet.conf.in || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=""
|
||||||
|
|
||||||
|
# Prefer gnutls above SSL
|
||||||
|
if use gnutls; then
|
||||||
|
einfo "Using gnutls for ssl support."
|
||||||
|
myconf="${myconf} --with-ssl=gnutls"
|
||||||
|
elif use ssl; then
|
||||||
|
einfo "Using openssl for ssl support."
|
||||||
|
myconf="${myconf} --with-ssl=openssl"
|
||||||
|
else
|
||||||
|
myconf="${myconf} --with-ssl=no"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# demos/examples depend upon sdk
|
||||||
|
if use examples && ! use sdk; then
|
||||||
|
myconf="${myconf} --with-sdk"
|
||||||
|
fi
|
||||||
|
|
||||||
|
econf \
|
||||||
|
$(use_with examples demos) \
|
||||||
|
$(use_with sdk) \
|
||||||
|
$(use_with cgi) \
|
||||||
|
$(use_with server) \
|
||||||
|
${myconf}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install || die
|
||||||
|
|
||||||
|
dodoc AUTHORS ChangeLog README TODO
|
||||||
|
if use doc; then
|
||||||
|
dodoc doc/*.pdf || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
cd "${S}/sdk/demos"
|
||||||
|
emake clean
|
||||||
|
rm -rf .deps */.deps .libs */.libs
|
||||||
|
cd "${S}"
|
||||||
|
|
||||||
|
insinto /usr/share/doc/${PF}/examples
|
||||||
|
doins -r sdk/demos/* || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use server; then
|
||||||
|
rm -f "${D}/etc/init.d/tntnet"
|
||||||
|
newinitd "${FILESDIR}/tntnet.initd" tntnet
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,29 @@
|
|||||||
|
certifi is not necessary: requests picks up the same ca-certificates
|
||||||
|
bundle it gets via certifi.
|
||||||
|
|
||||||
|
chardet2 is a fork of chardet that has the exact same code we're
|
||||||
|
installing, but with the name in egg-info (not the python package
|
||||||
|
name!) changed to chardet2. Fix that up so anyone wanting to
|
||||||
|
pkg_resources.require requests gets it.
|
||||||
|
|
||||||
|
--- setup.py
|
||||||
|
+++ setup.py
|
||||||
|
@@ -34,15 +34,13 @@
|
||||||
|
# On certain supported platforms (e.g., Red Hat / Debian / FreeBSD), Requests can
|
||||||
|
# use the system CA bundle instead; see `requests.utils` for details.
|
||||||
|
# If your platform is supported, set `requires` to [] instead:
|
||||||
|
-requires = ['certifi>=0.0.7']
|
||||||
|
+requires = []
|
||||||
|
|
||||||
|
# chardet is used to optimally guess the encodings of pages that don't declare one.
|
||||||
|
# At this time, chardet is not a required dependency. However, it's sufficiently
|
||||||
|
# important that pip/setuptools should install it when it's unavailable.
|
||||||
|
-if is_py3:
|
||||||
|
- chardet_package = 'chardet2'
|
||||||
|
-else:
|
||||||
|
- chardet_package = 'chardet>=1.0.0'
|
||||||
|
+chardet_package = 'chardet>=1.0.0'
|
||||||
|
+if not is_py3:
|
||||||
|
requires.append('oauthlib>=0.1.0,<0.2.0')
|
||||||
|
|
||||||
|
requires.append(chardet_package)
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-0.12.1-r1.ebuild,v 1.1 2012/06/04 11:48:46 marienz Exp $
|
||||||
|
|
||||||
|
EAPI="4"
|
||||||
|
PYTHON_DEPEND="*:2.6"
|
||||||
|
SUPPORT_PYTHON_ABIS="1"
|
||||||
|
RESTRICT_PYTHON_ABIS="2.4 2.5"
|
||||||
|
DISTUTILS_SRC_TEST="nosetests"
|
||||||
|
|
||||||
|
inherit distutils eutils
|
||||||
|
|
||||||
|
DESCRIPTION="HTTP library for human beings"
|
||||||
|
HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
|
||||||
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="ISC"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="dev-python/setuptools"
|
||||||
|
RDEPEND="app-misc/ca-certificates
|
||||||
|
>=dev-python/chardet-1.0.0
|
||||||
|
>=dev-python/oauthlib-0.1.0 <dev-python/oauthlib-0.2.0"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# This is dead code that does not work with python 3, see
|
||||||
|
# https://github.com/kennethreitz/requests/issues/596
|
||||||
|
rm -rf requests/packages/oreos || die
|
||||||
|
|
||||||
|
# Fix up dependencies (gentoo-specific), see patch for details
|
||||||
|
epatch "${FILESDIR}/${P}-setup.py.patch"
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
src/kmk/Makefile.kmk | 2 +-
|
||||||
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/kmk/Makefile.kmk b/src/kmk/Makefile.kmk
|
||||||
|
index fe2cd43..135431e 100644
|
||||||
|
--- a/src/kmk/Makefile.kmk
|
||||||
|
+++ b/src/kmk/Makefile.kmk
|
||||||
|
@@ -59,7 +59,7 @@ TEMPLATE_BIN-KMK_INCS.dragonfly = glob
|
||||||
|
TEMPLATE_BIN-KMK_INCS.freebsd = glob
|
||||||
|
TEMPLATE_BIN-KMK_INCS.openbsd = glob
|
||||||
|
TEMPLATE_BIN-KMK_INCS.solaris = glob
|
||||||
|
-TEMPLATE_BIN-KMK_LIBS = $(TEMPLATE_BIN-THREADED_LIBS) $(kmkmissing_1_TARGET) $(LIB_KUTIL)
|
||||||
|
+TEMPLATE_BIN-KMK_LIBS = $(TEMPLATE_BIN-THREADED_LIBS) $(kmkmissing_1_TARGET) $(LIB_KUTIL) pthread
|
||||||
|
ifdef ELECTRIC_HEAP # for electric heap (see electric.c) - windows only.
|
||||||
|
ifeq ($(KBUILD_TARGET),win)
|
||||||
|
TEMPLATE_BIN-KMK_CFLAGS = $(TEMPLATE_BIN-THREADED_CFLAGS) /FI$(kmk_DEFPATH)/electric.h -DELECTRIC_HEAP=1
|
@ -0,0 +1,89 @@
|
|||||||
|
From 364ed4f14c5edb5ddbc79c72d22498219033b29d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mike Frysinger <vapier@gentoo.org>
|
||||||
|
Date: Mon, 4 Jun 2012 13:19:42 -0400
|
||||||
|
Subject: [PATCH] x32: update syscall table
|
||||||
|
|
||||||
|
This syncs with the syscall table as it is in linux 3.4.
|
||||||
|
|
||||||
|
* linux/x32/syscallent.h (59): Fix comment typo.
|
||||||
|
(78): Add missing getdents entry.
|
||||||
|
(174): Delete create_module entry (not in the kernel).
|
||||||
|
(181, 182, 183, 184, 185): Add missing entries.
|
||||||
|
(524, 536, 539, 540): Fix spacing.
|
||||||
|
|
||||||
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||||
|
---
|
||||||
|
linux/x32/syscallent.h | 24 ++++++++++++------------
|
||||||
|
1 file changed, 12 insertions(+), 12 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h
|
||||||
|
index fcb6a23..ee4c4ce 100644
|
||||||
|
--- a/linux/x32/syscallent.h
|
||||||
|
+++ b/linux/x32/syscallent.h
|
||||||
|
@@ -57,7 +57,7 @@
|
||||||
|
{ 5, TP, sys_clone, "clone" }, /* 56 */
|
||||||
|
{ 0, TP, sys_fork, "fork" }, /* 57 */
|
||||||
|
{ 0, TP, sys_vfork, "vfork" }, /* 58 */
|
||||||
|
- { }, /* 47 */
|
||||||
|
+ { }, /* 59 */
|
||||||
|
{ 1, TP, sys_exit, "_exit" }, /* 60 */
|
||||||
|
{ 4, TP, sys_wait4, "wait4" }, /* 61 */
|
||||||
|
{ 2, TS, sys_kill, "kill" }, /* 62 */
|
||||||
|
@@ -76,7 +76,7 @@
|
||||||
|
{ 1, TD, sys_fdatasync, "fdatasync" }, /* 75 */
|
||||||
|
{ 2, TF, sys_truncate, "truncate" }, /* 76 */
|
||||||
|
{ 2, TD, sys_ftruncate, "ftruncate" }, /* 77 */
|
||||||
|
- { }, /* 78 */
|
||||||
|
+ { 3, TD, sys_getdents, "getdents" }, /* 78 */
|
||||||
|
{ 2, TF, sys_getcwd, "getcwd" }, /* 79 */
|
||||||
|
{ 1, TF, sys_chdir, "chdir" }, /* 80 */
|
||||||
|
{ 1, TD, sys_fchdir, "fchdir" }, /* 81 */
|
||||||
|
@@ -172,18 +172,18 @@
|
||||||
|
{ 2, 0, sys_setdomainname, "setdomainname" }, /* 171 */
|
||||||
|
{ 1, 0, sys_iopl, "iopl" }, /* 172 */
|
||||||
|
{ 3, 0, sys_ioperm, "ioperm" }, /* 173 */
|
||||||
|
- { 2, 0, sys_create_module, "create_module" }, /* 174 */
|
||||||
|
+ { }, /* 174 */
|
||||||
|
{ 3, 0, sys_init_module, "init_module" }, /* 175 */
|
||||||
|
{ 2, 0, sys_delete_module, "delete_module" }, /* 176 */
|
||||||
|
{ }, /* 177 */
|
||||||
|
{ }, /* 178 */
|
||||||
|
{ 4, 0, sys_quotactl, "quotactl" }, /* 179 */
|
||||||
|
{ }, /* 180 */
|
||||||
|
- { }, /* 181 */
|
||||||
|
- { }, /* 182 */
|
||||||
|
- { }, /* 183 */
|
||||||
|
- { }, /* 184 */
|
||||||
|
- { }, /* 185 */
|
||||||
|
+ { 5, 0, sys_getpmsg, "getpmsg" }, /* 181 */
|
||||||
|
+ { 5, 0, sys_putpmsg, "putpmsg" }, /* 182 */
|
||||||
|
+ { 5, 0, sys_afs_syscall, "afs_syscall" }, /* 183 */
|
||||||
|
+ { 3, 0, sys_tuxcall, "tuxcall" }, /* 184 */
|
||||||
|
+ { 3, 0, sys_security, "security" }, /* 185 */
|
||||||
|
{ 0, 0, sys_gettid, "gettid" }, /* 186 */
|
||||||
|
{ 4, TD, sys_readahead, "readahead" }, /* 187 */
|
||||||
|
{ 5, TF, sys_setxattr, "setxattr" }, /* 188 */
|
||||||
|
@@ -325,7 +325,7 @@
|
||||||
|
{ 4, 0, sys_ptrace, "ptrace" }, /* 521 */
|
||||||
|
{ 2, TS, sys_rt_sigpending, "rt_sigpending" }, /* 522 */
|
||||||
|
{ 4, TS, sys_rt_sigtimedwait, "rt_sigtimedwait" }, /* 523 */
|
||||||
|
- { 3, TS, sys_rt_sigqueueinfo, "rt_sigqueueinfo" }, /* 524 */
|
||||||
|
+ { 3, TS, sys_rt_sigqueueinfo, "rt_sigqueueinfo" }, /* 524 */
|
||||||
|
{ 2, TS, sys_sigaltstack, "sigaltstack" }, /* 525 */
|
||||||
|
{ 3, 0, sys_timer_create, "timer_create" }, /* 526 */
|
||||||
|
{ 2, 0, sys_mq_notify, "mq_notify" }, /* 527 */
|
||||||
|
@@ -337,8 +337,8 @@
|
||||||
|
{ 6, 0, sys_move_pages, "move_pages" }, /* 533 */
|
||||||
|
{ 5, TD, sys_preadv, "preadv" }, /* 534 */
|
||||||
|
{ 5, TD, sys_pwritev, "pwritev" }, /* 535 */
|
||||||
|
- { 4, TP|TS, sys_rt_tgsigqueueinfo, "rt_tgsigqueueinfo"}, /* 536 */
|
||||||
|
+ { 4, TP|TS, sys_rt_tgsigqueueinfo, "rt_tgsigqueueinfo" }, /* 536 */
|
||||||
|
{ 5, TN, sys_recvmmsg, "recvmmsg" }, /* 537 */
|
||||||
|
{ 4, TN, sys_sendmmsg, "sendmmsg" }, /* 538 */
|
||||||
|
- { 6, 0, sys_process_vm_readv, "process_vm_readv"}, /* 539 */
|
||||||
|
- { 6, 0, sys_process_vm_writev, "process_vm_writev"}, /* 540 */
|
||||||
|
+ { 6, 0, sys_process_vm_readv, "process_vm_readv" }, /* 539 */
|
||||||
|
+ { 6, 0, sys_process_vm_writev, "process_vm_writev" }, /* 540 */
|
||||||
|
--
|
||||||
|
1.7.9.7
|
||||||
|
|
@ -1,2 +1 @@
|
|||||||
DIST rabbitvcs-0.14.2.1.tar.gz 818105 RMD160 6e35480c8865ad771094b8d2395cae987ee1fe30 SHA1 6a2f7c51a7f484e73ba0dfa9b59924316e322a37 SHA256 e602197e2d13e3dbc04bb3bdfb0ac066b93406ee46c770ff23f0a3e5f835127e
|
|
||||||
DIST rabbitvcs-0.15.0.5.tar.bz2 536235 RMD160 c1cfd3cd41b38a167ed4fa8638508e26b1585c44 SHA1 a9e1e741a3e665e3ce2769b2730fafde26955b53 SHA256 cdda568e4206490e97c287743b632802c729ad44f70743bc7ab9ddc84ada66b3
|
DIST rabbitvcs-0.15.0.5.tar.bz2 536235 RMD160 c1cfd3cd41b38a167ed4fa8638508e26b1585c44 SHA1 a9e1e741a3e665e3ce2769b2730fafde26955b53 SHA256 cdda568e4206490e97c287743b632802c729ad44f70743bc7ab9ddc84ada66b3
|
||||||
|
@ -0,0 +1,309 @@
|
|||||||
|
Description: Fix the gedit plugin for Gedit3
|
||||||
|
From: Adam Plumb <adamplumb@gmail.com>
|
||||||
|
Origin: upstream, http://code.google.com/p/rabbitvcs/source/detail?r=3022
|
||||||
|
Bug: http://code.google.com/p/rabbitvcs/issues/detail?id=622
|
||||||
|
Bug-Debian: http://bugs.debian.org/635123
|
||||||
|
|
||||||
|
--- a/rabbitvcs/util/contextmenuitems.py
|
||||||
|
+++ b/rabbitvcs/util/contextmenuitems.py
|
||||||
|
@@ -204,7 +204,7 @@
|
||||||
|
)
|
||||||
|
|
||||||
|
return action
|
||||||
|
-
|
||||||
|
+
|
||||||
|
def make_gtk_menu_item(self, id_magic = None):
|
||||||
|
action = self.make_action(id_magic)
|
||||||
|
|
||||||
|
@@ -217,6 +217,17 @@
|
||||||
|
else:
|
||||||
|
menuitem = action.create_menu_item()
|
||||||
|
|
||||||
|
+ return menuitem
|
||||||
|
+
|
||||||
|
+ def make_gtk3_menu_item(self, id_magic = None):
|
||||||
|
+ action = self.make_action(id_magic)
|
||||||
|
+
|
||||||
|
+ if self.icon:
|
||||||
|
+ menuitem = action.create_menu_item()
|
||||||
|
+ menuitem.set_image(gtk.Image.new_from_icon_name(self.icon, gtk.IconSize.MENU))
|
||||||
|
+ else:
|
||||||
|
+ menuitem = action.create_menu_item()
|
||||||
|
+
|
||||||
|
return menuitem
|
||||||
|
|
||||||
|
def make_nautilus_menu_item(self, id_magic = None):
|
||||||
|
--- a/clients/gedit/rabbitvcs.gedit-plugin
|
||||||
|
+++ /dev/null
|
||||||
|
@@ -1,10 +0,0 @@
|
||||||
|
-[Gedit Plugin]
|
||||||
|
-Loader=python
|
||||||
|
-Module=rabbitvcs-plugin
|
||||||
|
-IAge=2
|
||||||
|
-Name=RabbitVCS
|
||||||
|
-Description=RabbitVCS plugin for Gedit
|
||||||
|
-Authors=Adam Plumb <adamplumb@gmail.com>
|
||||||
|
-Copyright=Copyright © 2009 Adam Plumb
|
||||||
|
-Website=http://www.rabbitvcs.org
|
||||||
|
-
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/clients/gedit/rabbitvcs-gedit2.gedit-plugin
|
||||||
|
@@ -0,0 +1,10 @@
|
||||||
|
+[Gedit Plugin]
|
||||||
|
+Loader=python
|
||||||
|
+Module=rabbitvcs-plugin
|
||||||
|
+IAge=2
|
||||||
|
+Name=RabbitVCS
|
||||||
|
+Description=RabbitVCS plugin for Gedit
|
||||||
|
+Authors=Adam Plumb <adamplumb@gmail.com>
|
||||||
|
+Copyright=Copyright © 2011 Adam Plumb
|
||||||
|
+Website=http://www.rabbitvcs.org
|
||||||
|
+
|
||||||
|
--- a/clients/gedit/rabbitvcs-plugin.py
|
||||||
|
+++ b/clients/gedit/rabbitvcs-plugin.py
|
||||||
|
@@ -2,7 +2,7 @@
|
||||||
|
# This is a Gedit plugin to allow for RabbitVCS integration in the Gedit
|
||||||
|
# text editor.
|
||||||
|
#
|
||||||
|
-# Copyright (C) 2008-2008 by Adam Plumb <adamplumb@gmail.com>
|
||||||
|
+# Copyright (C) 2008-2011 by Adam Plumb <adamplumb@gmail.com>
|
||||||
|
#
|
||||||
|
# RabbitVCS is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@@ -21,8 +21,17 @@
|
||||||
|
from gettext import gettext as _
|
||||||
|
|
||||||
|
import os
|
||||||
|
-import gtk
|
||||||
|
-import gedit
|
||||||
|
+
|
||||||
|
+try:
|
||||||
|
+ from gi.repository import Gedit
|
||||||
|
+ os.environ["NAUTILUS_PYTHON_REQUIRE_GTK3"] = "1"
|
||||||
|
+ GTK3 = True
|
||||||
|
+except ImportError:
|
||||||
|
+ import gedit
|
||||||
|
+ GTK3 = False
|
||||||
|
+
|
||||||
|
+from gi.repository import GObject
|
||||||
|
+from gi.repository import Gtk as gtk
|
||||||
|
|
||||||
|
import rabbitvcs.util.helper
|
||||||
|
from rabbitvcs.vcs import create_vcs_instance
|
||||||
|
@@ -327,8 +336,15 @@
|
||||||
|
|
||||||
|
manager = self._window.get_ui_manager()
|
||||||
|
for menu_path in self._menu_paths:
|
||||||
|
- widget = manager.get_widget(menu_path)
|
||||||
|
- self._menubar_menu.update_action(widget.get_action())
|
||||||
|
+ # Gtk3 changes how we access a widget's action. Get it from the
|
||||||
|
+ # UI Manager instead of the widget directly
|
||||||
|
+ if hasattr(manager, "get_action"):
|
||||||
|
+ action = manager.get_action(menu_path)
|
||||||
|
+ else:
|
||||||
|
+ widget = manager.get_widget(menu_path)
|
||||||
|
+ action = widget.get_action()
|
||||||
|
+
|
||||||
|
+ self._menubar_menu.update_action(action)
|
||||||
|
|
||||||
|
# Menu activate handlers
|
||||||
|
def reload_settings(self, proc):
|
||||||
|
@@ -337,49 +353,100 @@
|
||||||
|
def on_context_menu_command_finished(self):
|
||||||
|
self.update_ui()
|
||||||
|
|
||||||
|
-class RabbitVCSPlugin(gedit.Plugin):
|
||||||
|
- def __init__(self):
|
||||||
|
- gedit.Plugin.__init__(self)
|
||||||
|
- self._instances = {}
|
||||||
|
- self.id_name = "RabbitVCSContextMenuID"
|
||||||
|
-
|
||||||
|
- def activate(self, window):
|
||||||
|
- self._instances[window] = RabbitVCSWindowHelper(self, window)
|
||||||
|
-
|
||||||
|
- handler_ids = []
|
||||||
|
- for signal in ('tab-added', 'tab-removed'):
|
||||||
|
- method = getattr(self, 'on_window_' + signal.replace('-', '_'))
|
||||||
|
- handler_ids.append(window.connect(signal, method))
|
||||||
|
-
|
||||||
|
- window.set_data(self.id_name, handler_ids)
|
||||||
|
- if window in self._instances:
|
||||||
|
- for view in window.get_views():
|
||||||
|
- self._instances[window].connect_view(view, self.id_name)
|
||||||
|
-
|
||||||
|
- def deactivate(self, window):
|
||||||
|
- widgets = [window] + window.get_views()
|
||||||
|
- for widget in widgets:
|
||||||
|
- handler_ids = widget.get_data(self.id_name)
|
||||||
|
- if handler_ids is not None:
|
||||||
|
- for handler_id in handler_ids:
|
||||||
|
- widget.disconnect(handler_id)
|
||||||
|
- widget.set_data(self.id_name, None)
|
||||||
|
-
|
||||||
|
- if window in self._instances:
|
||||||
|
- self._instances[window].deactivate()
|
||||||
|
- del self._instances[window]
|
||||||
|
-
|
||||||
|
- def update_ui(self, window):
|
||||||
|
- if window in self._instances:
|
||||||
|
- self._instances[window].update_ui()
|
||||||
|
-
|
||||||
|
- def on_window_tab_added(self, window, tab):
|
||||||
|
- if window in self._instances:
|
||||||
|
- self._instances[window].connect_view(tab.get_view(), self.id_name)
|
||||||
|
-
|
||||||
|
- def on_window_tab_removed(self, window, tab):
|
||||||
|
- if window in self._instances:
|
||||||
|
- self._instances[window].disconnect_view(tab.get_view(), self.id_name)
|
||||||
|
+if GTK3:
|
||||||
|
+ class RabbitVCSGedit3Plugin(GObject.Object, Gedit.WindowActivatable):
|
||||||
|
+ __gtype_name__ = "RabbitVCSGedit3Plugin"
|
||||||
|
+ window = GObject.property(type=Gedit.Window)
|
||||||
|
+
|
||||||
|
+ def __init__(self):
|
||||||
|
+ GObject.Object.__init__(self)
|
||||||
|
+ self._instances = {}
|
||||||
|
+ self.id_name = "RabbitVCSContextMenuID"
|
||||||
|
+
|
||||||
|
+ def do_activate(self):
|
||||||
|
+ self._instances[self.window] = RabbitVCSWindowHelper(self, self.window)
|
||||||
|
+
|
||||||
|
+ handler_ids = []
|
||||||
|
+ for signal in ('tab-added', 'tab-removed'):
|
||||||
|
+ method = getattr(self, 'on_window_' + signal.replace('-', '_'))
|
||||||
|
+ handler_ids.append(self.window.connect(signal, method))
|
||||||
|
+
|
||||||
|
+ self.window.set_data(self.id_name, handler_ids)
|
||||||
|
+ if self.window in self._instances:
|
||||||
|
+ for view in self.window.get_views():
|
||||||
|
+ self._instances[self.window].connect_view(view, self.id_name)
|
||||||
|
+
|
||||||
|
+ def do_deactivate(self):
|
||||||
|
+ widgets = [self.window] + self.window.get_views()
|
||||||
|
+ for widget in widgets:
|
||||||
|
+ handler_ids = widget.get_data(self.id_name)
|
||||||
|
+ if handler_ids is not None:
|
||||||
|
+ for handler_id in handler_ids:
|
||||||
|
+ widget.disconnect(handler_id)
|
||||||
|
+ widget.set_data(self.id_name, None)
|
||||||
|
+
|
||||||
|
+ if self.window in self._instances:
|
||||||
|
+ self._instances[self.window].deactivate()
|
||||||
|
+ del self._instances[self.window]
|
||||||
|
+
|
||||||
|
+ def do_update_state(self):
|
||||||
|
+ self.update_ui()
|
||||||
|
+
|
||||||
|
+ def update_ui(self):
|
||||||
|
+ if self.window in self._instances:
|
||||||
|
+ self._instances[self.window].update_ui()
|
||||||
|
+
|
||||||
|
+ def on_window_tab_added(self, window, tab):
|
||||||
|
+ if self.window in self._instances:
|
||||||
|
+ self._instances[self.window].connect_view(tab.get_view(), self.id_name)
|
||||||
|
+
|
||||||
|
+ def on_window_tab_removed(self, window, tab):
|
||||||
|
+ if window in self._instances:
|
||||||
|
+ self._instances[self.window].disconnect_view(tab.get_view(), self.id_name)
|
||||||
|
+else:
|
||||||
|
+ class RabbitVCSGedit2Plugin(gedit.Plugin):
|
||||||
|
+ def __init__(self):
|
||||||
|
+ gedit.Plugin.__init__(self)
|
||||||
|
+ self._instances = {}
|
||||||
|
+ self.id_name = "RabbitVCSContextMenuID"
|
||||||
|
+
|
||||||
|
+ def activate(self, window):
|
||||||
|
+ self._instances[window] = RabbitVCSWindowHelper(self, window)
|
||||||
|
+
|
||||||
|
+ handler_ids = []
|
||||||
|
+ for signal in ('tab-added', 'tab-removed'):
|
||||||
|
+ method = getattr(self, 'on_window_' + signal.replace('-', '_'))
|
||||||
|
+ handler_ids.append(window.connect(signal, method))
|
||||||
|
+
|
||||||
|
+ window.set_data(self.id_name, handler_ids)
|
||||||
|
+ if window in self._instances:
|
||||||
|
+ for view in window.get_views():
|
||||||
|
+ self._instances[window].connect_view(view, self.id_name)
|
||||||
|
+
|
||||||
|
+ def deactivate(self, window):
|
||||||
|
+ widgets = [window] + window.get_views()
|
||||||
|
+ for widget in widgets:
|
||||||
|
+ handler_ids = widget.get_data(self.id_name)
|
||||||
|
+ if handler_ids is not None:
|
||||||
|
+ for handler_id in handler_ids:
|
||||||
|
+ widget.disconnect(handler_id)
|
||||||
|
+ widget.set_data(self.id_name, None)
|
||||||
|
+
|
||||||
|
+ if window in self._instances:
|
||||||
|
+ self._instances[window].deactivate()
|
||||||
|
+ del self._instances[window]
|
||||||
|
+
|
||||||
|
+ def update_ui(self, window):
|
||||||
|
+ if window in self._instances:
|
||||||
|
+ self._instances[window].update_ui()
|
||||||
|
+
|
||||||
|
+ def on_window_tab_added(self, window, tab):
|
||||||
|
+ if window in self._instances:
|
||||||
|
+ self._instances[window].connect_view(tab.get_view(), self.id_name)
|
||||||
|
+
|
||||||
|
+ def on_window_tab_removed(self, window, tab):
|
||||||
|
+ if window in self._instances:
|
||||||
|
+ self._instances[window].disconnect_view(tab.get_view(), self.id_name)
|
||||||
|
|
||||||
|
class MenuIgnoreByFilename(MenuItem):
|
||||||
|
identifier = "RabbitVCS::Ignore_By_Filename"
|
||||||
|
@@ -593,7 +660,10 @@
|
||||||
|
signal = "activate"
|
||||||
|
|
||||||
|
def make_menu_item(self, item, id_magic):
|
||||||
|
- return item.make_gtk_menu_item(id_magic)
|
||||||
|
+ if GTK3:
|
||||||
|
+ return item.make_gtk3_menu_item(id_magic)
|
||||||
|
+ else:
|
||||||
|
+ return item.make_gtk_menu_item(id_magic)
|
||||||
|
|
||||||
|
def attach_submenu(self, menu_node, submenu_list):
|
||||||
|
submenu = gtk.Menu()
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/clients/gedit/rabbitvcs-gedit3.plugin
|
||||||
|
@@ -0,0 +1,9 @@
|
||||||
|
+[Plugin]
|
||||||
|
+Loader=python
|
||||||
|
+Module=rabbitvcs-plugin
|
||||||
|
+IAge=3
|
||||||
|
+Name=RabbitVCS
|
||||||
|
+Description=RabbitVCS plugin for Gedit
|
||||||
|
+Authors=Adam Plumb <adamplumb@gmail.com>
|
||||||
|
+Copyright=Copyright © 2011 Adam Plumb
|
||||||
|
+Website=http://www.rabbitvcs.org
|
||||||
|
--- a/clients/gedit/README
|
||||||
|
+++ b/clients/gedit/README
|
||||||
|
@@ -8,14 +8,24 @@
|
||||||
|
* gedit
|
||||||
|
* (all other RabbitVCS requirements)
|
||||||
|
|
||||||
|
-To install:
|
||||||
|
+To install for Gedit 3:
|
||||||
|
To install for all users, copy rabbitvcs-plugin.py and
|
||||||
|
- rabbitvcs.gedit-plugin to:
|
||||||
|
+ rabbitvcs-gedit3.plugin to:
|
||||||
|
+ /usr/share/gedit/plugins
|
||||||
|
+
|
||||||
|
+ To install for a single user, copy rabbitvcs-plugin.py and
|
||||||
|
+ rabbitvcs-gedit3.plugin to:
|
||||||
|
+ ~/.local/share/gedit/plugins
|
||||||
|
+
|
||||||
|
+To install for Gedit 2:
|
||||||
|
+ To install for all users, copy rabbitvcs-plugin.py and
|
||||||
|
+ rabbitvcs-gedit2.gedit-plugin to:
|
||||||
|
/usr/lib/gedit-2/plugins
|
||||||
|
|
||||||
|
To install for a single user, copy rabbitvcs-plugin.py and
|
||||||
|
- rabbitvcs.gedit-plugin to:
|
||||||
|
- ~/.gnome2/gedit/plugins
|
||||||
|
+ rabbitvcs-gedit2.gedit-plugin to:
|
||||||
|
+ ~/.gnome2/gedit/plugins
|
||||||
|
+
|
||||||
|
|
||||||
|
Troubleshooting:
|
||||||
|
|
@ -1,88 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/rabbitvcs/rabbitvcs-0.14.2.1.ebuild,v 1.4 2012/02/05 01:43:47 floppym Exp $
|
|
||||||
|
|
||||||
EAPI=2
|
|
||||||
|
|
||||||
PYTHON_DEPEND="2:2.5"
|
|
||||||
SUPPORT_PYTHON_ABIS="1"
|
|
||||||
RESTRICT_PYTHON_ABIS="2.4 3.*"
|
|
||||||
|
|
||||||
inherit gnome2-utils multilib distutils
|
|
||||||
|
|
||||||
DESCRIPTION="Integrated version control support for your desktop"
|
|
||||||
HOMEPAGE="http://rabbitvcs.org"
|
|
||||||
SRC_URI="http://rabbitvcs.googlecode.com/files/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="cli diff gedit git nautilus spell thunar"
|
|
||||||
|
|
||||||
RDEPEND="dev-python/configobj
|
|
||||||
dev-python/pygobject:2
|
|
||||||
dev-python/pygtk
|
|
||||||
dev-python/pysvn
|
|
||||||
dev-python/simplejson
|
|
||||||
diff? ( dev-util/meld )
|
|
||||||
gedit? ( app-editors/gedit )
|
|
||||||
git? ( dev-python/dulwich )
|
|
||||||
nautilus? ( >=dev-python/nautilus-python-0.7.0
|
|
||||||
dev-python/dbus-python
|
|
||||||
dev-python/gnome-vfs-python )
|
|
||||||
spell? ( dev-python/gtkspell-python )
|
|
||||||
thunar? ( dev-python/thunarx-python
|
|
||||||
dev-python/dbus-python )"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
python_convert_shebangs -r 2 .
|
|
||||||
|
|
||||||
distutils_src_prepare
|
|
||||||
|
|
||||||
# we should not do gtk-update-icon-cache from setup script
|
|
||||||
# we prefer portage for that
|
|
||||||
sed -e 's/"install"/"fakeinstall"/' -i "${S}/setup.py" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils_src_install
|
|
||||||
|
|
||||||
if use cli ; then
|
|
||||||
dobin clients/cli/${PN} || die
|
|
||||||
fi
|
|
||||||
if use gedit ; then
|
|
||||||
insinto /usr/$(get_libdir)/gedit-2/plugins
|
|
||||||
doins clients/gedit/${PN}-plugin.py || die
|
|
||||||
doins clients/gedit/${PN}.gedit-plugin || die
|
|
||||||
fi
|
|
||||||
if use nautilus ; then
|
|
||||||
insinto /usr/$(get_libdir)/nautilus/extensions-2.0/python
|
|
||||||
doins clients/nautilus/RabbitVCS.py || die
|
|
||||||
fi
|
|
||||||
if use thunar ; then
|
|
||||||
has_version '>=xfce-base/thunar-1.1.0' && tv=2 || tv=1
|
|
||||||
insinto "/usr/$(get_libdir)/thunarx-${tv}/python"
|
|
||||||
doins clients/thunar/RabbitVCS.py || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
gnome2_icon_savelist
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
distutils_pkg_postinst
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
|
|
||||||
elog "You should restart file manager to changes take effect:"
|
|
||||||
use nautilus && elog "\$ nautilus -q"
|
|
||||||
use thunar && elog "\$ thunar -q && thunar &"
|
|
||||||
elog ""
|
|
||||||
elog "Also you should really look at known issues page:"
|
|
||||||
elog "http://wiki.rabbitvcs.org/wiki/support/known-issues"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
distutils_pkg_postrm
|
|
||||||
gnome2_icon_cache_update
|
|
||||||
}
|
|
@ -1 +1,2 @@
|
|||||||
DIST rapidsvn-0.12.0-1.tar.gz 1246675 RMD160 2c6e28f5b3a6450cfb8a749fc27490877ccdfa40 SHA1 b25820ee98517b2b070c9b5a3a18463607799081 SHA256 ef7d0db528ba5c660f8e8ce4dd7b6d098707b43b04932257e092a6d4ab746ac4
|
DIST rapidsvn-0.12.0-1.tar.gz 1246675 RMD160 2c6e28f5b3a6450cfb8a749fc27490877ccdfa40 SHA1 b25820ee98517b2b070c9b5a3a18463607799081 SHA256 ef7d0db528ba5c660f8e8ce4dd7b6d098707b43b04932257e092a6d4ab746ac4
|
||||||
|
DIST rapidsvn-0.12.1_pre8247.tar.xz 1897960 RMD160 411f09edd08e01c5d2fdd9653cf8772cc7932fa6 SHA1 4ad117bda3a4342a687bfdedef638d6fbbbcfc9d SHA256 83b9725f46149b5d3f92e7304ae04eb40d5aa7341be3b86f14bac716f6ee63d3
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
Index: src/svncpp/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- libsvncpp/Makefile.am
|
||||||
|
+++ libsvncpp/Makefile.am
|
||||||
|
@@ -27,3 +27,7 @@
|
||||||
|
url.cpp \
|
||||||
|
wc.cpp
|
||||||
|
|
||||||
|
+libsvncpp_la_LIBADD= $(SVN_LIBS) \
|
||||||
|
+ $(NEON_LIBS) \
|
||||||
|
+ $(APR_LIBS) \
|
||||||
|
+ -lstdc++
|
@ -0,0 +1,93 @@
|
|||||||
|
# Copyright 1999-2012 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/rapidsvn/rapidsvn-0.12.1_pre8247.ebuild,v 1.2 2012/06/04 12:33:55 jlec Exp $
|
||||||
|
|
||||||
|
EAPI=4
|
||||||
|
|
||||||
|
WANT_AUTOCONF="2.5"
|
||||||
|
WX_GTK_VER=2.8
|
||||||
|
|
||||||
|
AUTOTOOLS_AUTORECONF=true
|
||||||
|
|
||||||
|
inherit autotools-utils fdo-mime flag-o-matic versionator wxwidgets
|
||||||
|
|
||||||
|
MY_PV=$(get_version_component_range 1-2)
|
||||||
|
MY_REL="1"
|
||||||
|
|
||||||
|
DESCRIPTION="Cross-platform GUI front-end for the Subversion revision system"
|
||||||
|
HOMEPAGE="http://rapidsvn.tigris.org/"
|
||||||
|
#SRC_URI="http://www.rapidsvn.org/download/release/${MY_PV}/${P}-${MY_REL}.tar.gz"
|
||||||
|
SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2 LGPL-2.1 FDL-1.2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="doc static-libs"
|
||||||
|
|
||||||
|
COMMON_DEP="
|
||||||
|
dev-libs/apr
|
||||||
|
dev-libs/apr-util
|
||||||
|
dev-vcs/subversion
|
||||||
|
x11-libs/wxGTK:2.8[X]"
|
||||||
|
DEPEND="${COMMON_DEP}
|
||||||
|
doc? (
|
||||||
|
dev-libs/libxslt
|
||||||
|
app-text/docbook-sgml-utils
|
||||||
|
app-doc/doxygen
|
||||||
|
app-text/docbook-xsl-stylesheets )"
|
||||||
|
RDEPEND="${COMMON_DEP}"
|
||||||
|
|
||||||
|
#S="${WORKDIR}/${P}-${MY_REL}"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}/${P}-svncpp_link.patch" )
|
||||||
|
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||||
|
DOCS=( HACKING.txt TRANSLATIONS )
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
wxwidgets_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myeconfargs=( --with-wx-config=${WX_CONFIG} )
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
myeconfargs+=( --with-manpage=yes )
|
||||||
|
else
|
||||||
|
myeconfargs+=(
|
||||||
|
--without-xsltproc
|
||||||
|
--with-manpage=no
|
||||||
|
--without-doxygen
|
||||||
|
--without-dot )
|
||||||
|
fi
|
||||||
|
|
||||||
|
append-flags $( "${EPREFIX}"/usr/bin/apr-1-config --cppflags )
|
||||||
|
|
||||||
|
myeconfargs+=(
|
||||||
|
--with-svn-lib="${EPREFIX}"/usr/$(get_libdir)
|
||||||
|
--with-svn-include="${EPREFIX}"/usr/include
|
||||||
|
--with-apr-config="${EPREFIX}/usr/bin/apr-1-config"
|
||||||
|
--with-apu-config="${EPREFIX}/usr/bin/apu-1-config"
|
||||||
|
)
|
||||||
|
autotools-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
autotools-utils_src_install
|
||||||
|
|
||||||
|
doicon src/res/rapidsvn.ico
|
||||||
|
make_desktop_entry rapidsvn "RapidSVN ${PV}" \
|
||||||
|
"${EPREFIX}/usr/share/pixmaps/rapidsvn.ico" \
|
||||||
|
"RevisionControl;Development"
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
dohtml "${S}"/doc/svncpp/html/*
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
fdo-mime_desktop_database_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
fdo-mime_desktop_database_update
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
Fix compile with gcc47
|
||||||
|
Bug #419635
|
||||||
|
https://bugs.gentoo.org/show_bug.cgi?id=419635
|
||||||
|
Submitted by Nikos Chantziaras
|
||||||
|
|
||||||
|
--- a/src/tools/depbuild.cpp
|
||||||
|
+++ b/src/tools/depbuild.cpp
|
||||||
|
@@ -25,6 +25,7 @@
|
||||||
|
#include <string>
|
||||||
|
#include <cstdio>
|
||||||
|
#include <cstdlib>
|
||||||
|
+#include <unistd.h>
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
|
#include "fileutil.h"
|
@ -0,0 +1,10 @@
|
|||||||
|
--- solutions/qtsingleapplication/qtlocalpeer.cpp
|
||||||
|
+++ solutions/qtsingleapplication/qtlocalpeer.cpp
|
||||||
|
@@ -48,6 +48,7 @@
|
||||||
|
#include "qtlocalpeer.h"
|
||||||
|
#include <QtCore/QCoreApplication>
|
||||||
|
#include <QtCore/QTime>
|
||||||
|
+#include <unistd.h>
|
||||||
|
|
||||||
|
#if defined(Q_OS_WIN)
|
||||||
|
#include <QtCore/QLibrary>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue