parent
01a6dcfa62
commit
b598d8e694
@ -1,2 +1,3 @@
|
||||
DIST gedit-plugins-2.32.0.tar.bz2 616927 SHA256 2ef7bf48e9500556d84ae4c2950f4eadcc3f9cb9c58c90f2c83956b0ddad1107 SHA512 c00535a8a166752ef764319eb79fd7dd5a55df495bf0f3de32e287214f5da8ddd32a52c5538d5e8714843e7e724d24aab9f6fca0f1f339fe299a1ffdf264761b WHIRLPOOL d7385fe3682efaeaa5fbc57a8e8fb68480983140daf78643392b6a7b335a2a5e8ce21cc8f04136efcfac6133dd1c1cd65c50eab0b0cbde766eebb850889796eb
|
||||
DIST gedit-plugins-3.4.0.tar.xz 1454320 SHA256 a66138b43e1a77f39258f04936be35163b4c6bfd49643791ca445cb3c3d60e0a SHA512 fab94c9c7f824fb90429a7e446ad6a0c155d1c50cb128bbfdb7f4e454ba40778c63b6f835d5e0805e401117cac41c78c32fecc0c7aaa2549d26e4fc86edde2ac WHIRLPOOL 97d31ae70b993bbd503b1e3e6e00f4c512df4a95cbf42c00bc9a6ea09ab55464382ef617663cc2f19d95ac48f87a371da7c53a119b2992b8479aacd6922d5513
|
||||
DIST gedit-plugins-3.6.1.tar.xz 1402568 SHA256 c5e92830e6029110bf1117bd9f31b23a9ad907210b8cb37039772f5bfcf6d174 SHA512 71bdcbe427125be1a3b73086c5d1e2c9f51e9fab6e66c6142578cbf2e30f4b2de3264e1301f6232dbc2fee84202ab1d449b1fff6e13c1a7477e23a9418f10b49 WHIRLPOOL 11e860e567f13ace41a09de0585b0e5248589f09ae22d7cd0d8b84d1381617d45c40b865050e9f4d89a243b59624c45bbd493062d6c7fea539a7ee086d72491a
|
||||
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-3.6.1-r1.ebuild,v 1.1 2012/12/16 21:43:34 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes" # plugins are dlopened
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit eutils gnome2 multilib python-single-r1
|
||||
|
||||
DESCRIPTION="Offical plugins for gedit"
|
||||
HOMEPAGE="http://live.gnome.org/GeditPlugins"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
IUSE_plugins="charmap terminal"
|
||||
IUSE="+python ${IUSE_plugins}"
|
||||
REQUIRED_USE="charmap? ( python ) terminal? ( python )"
|
||||
|
||||
RDEPEND=">=app-editors/gedit-3.2.1[python?]
|
||||
>=dev-libs/glib-2.32:2
|
||||
>=dev-libs/libpeas-0.7.3[gtk,python?]
|
||||
>=x11-libs/gtk+-3.4:3
|
||||
>=x11-libs/gtksourceview-3:3.0
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
>=app-editors/gedit-3[introspection,${PYTHON_USEDEP}]
|
||||
dev-libs/libpeas[${PYTHON_USEDEP}]
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo
|
||||
dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
|
||||
>=x11-libs/gtk+-3.4:3[introspection]
|
||||
>=x11-libs/gtksourceview-3:3.0[introspection]
|
||||
x11-libs/pango[introspection]
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
)
|
||||
charmap? ( >=gnome-extra/gucharmap-3:2.90[introspection] )
|
||||
terminal? ( x11-libs/vte:2.90[introspection] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.40.0
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# DEFAULT_PLUGINS from configure.ac
|
||||
local myplugins="bookmarks,drawspaces,wordcompletion,taglist"
|
||||
|
||||
# python plugins with no extra dependencies beyond what USE=python brings
|
||||
use python && myplugins="${myplugins},bracketcompletion,codecomment,colorpicker,commander,dashboard,joinlines,multiedit,textsize,sessionsaver,smartspaces,synctex"
|
||||
|
||||
# python plugins with extra dependencies
|
||||
for plugin in ${IUSE_plugins/+}; do
|
||||
use ${plugin} && myplugins="${myplugins},${plugin}"
|
||||
done
|
||||
|
||||
G2CONF="${G2CONF}
|
||||
--with-plugins=${myplugins}
|
||||
$(use_enable python)"
|
||||
|
||||
gnome2_src_prepare
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST gedit-2.30.4.tar.bz2 4705692 SHA256 a561fe3dd1d199baede1bd07c4ee65f06fc7c494dd4d3327117f04149a608e3c SHA512 31d96a86d4d207fe83aa1c8b8faadd82c2c6eeca019f2df4fdf75a8678233e76edf7a09f32dba6350ab9fc003029cbb585608d864632e1d13c42650d1894b5e1 WHIRLPOOL fe5183f33992d6ec1ce8365321f829828d6c9606b42a6872e323351ac4bee0c488fb5ed06dda8e1aac4a09be3dbad7196e48d9cccf5d0f1c6dd759224051eca6
|
||||
DIST gedit-3.2.6.tar.xz 2887264 SHA256 92b5c44203dbc222c79cb35ba43d32de115e2ef89b7bb80451239d0c3fa02f7f SHA512 07b9f5909112e30d73ceb233ab9a930c7b1070196122609e09a606a52fc006d614090362a7b24d996a76ae4a6bac0ba7cf8b514636a2d6beb717de8c74422b21 WHIRLPOOL c8d63039acb1ff5198933d0dd98ee6df31dc456cdf6fd93fc71135e5923c169a6963e32c8b70a6cf3dab31d27f9c9595063f98b4b377935a5178cc7e5622c818
|
||||
DIST gedit-3.4.1.tar.xz 2900712 SHA256 9b1f0164d6c6bc08e391efde7e6a2aa9290a65bda543fe3a7adc6ef73b722a64 SHA512 d2237f799c9ea9edaa64ef7bbf68a58ef53ad5896b4d3e3d385952b3ce283b3b3cae88c298155e78b25ab689ade8ed9a63fc76206ec36b39ca6acd0f3a28883a WHIRLPOOL e8bd29ae72477b1c2f0688b32b235ae1d3ddd940ad5e8c8bea1e2386c4d4bd56fdb7192c1e549be71f3e93b7d0abaf6a91bc0786e19c1b7990a9cc6bf6d72f3f
|
||||
DIST gedit-3.4.2.tar.xz 2948840 SHA256 4bd81156de3da433d93eaf3df9cae4aa28356c2bda23fd88ca68ba6e184a9e6d SHA512 891e53c43f9845ece4fd35a1b6be421227a6f36dac8f4b560d94323c2d518a8dd34f3e5c954a37112d699045125bc70abe73dcb94c2e7d884f91544582e05124 WHIRLPOOL f4bde4093beb8bd9d4de83c90e880be855965a98ed5011eb1085a0d5693cc0f747a382e63bff14bae5b812e36c22d3f3901011a2f7253896cec70069dc48fe36
|
||||
DIST gedit-3.6.2.tar.xz 3060832 SHA256 ad4c6837a7e844e000f7cf2c248e636febdcc9b9b9559cf9e27b99392f5735c3 SHA512 772fc51f19eaf7a8231e8f7d758e8968f096fa234636323d10e3c655116ce96768e13670380b337d346a047b8f3dd2d18fd1ff99d88637ab28d31c5772e667a1 WHIRLPOOL a8ce3752c90f4059845125a96a78660841f4d64fb38d784a21415a5ea349c783efd4e6037b02571aa821bd7a2c48bfac3f2110f519a7bed532f2e2375d86e65f
|
||||
|
@ -1,112 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit/gedit-3.2.6.ebuild,v 1.5 2012/05/03 18:33:00 jdhore Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes" # plugins are dlopened
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit gnome2 multilib python eutils virtualx
|
||||
|
||||
DESCRIPTION="A text editor for the GNOME desktop"
|
||||
HOMEPAGE="http://live.gnome.org/Gedit"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="doc +introspection +python spell zeitgeist"
|
||||
KEYWORDS="~amd64 ~mips ~sh ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux"
|
||||
|
||||
# X libs are not needed for OSX (aqua)
|
||||
COMMON_DEPEND="
|
||||
>=x11-libs/libSM-1.0
|
||||
>=dev-libs/libxml2-2.5.0:2
|
||||
>=dev-libs/glib-2.28:2
|
||||
>=x11-libs/gtk+-3.1.6:3[introspection?]
|
||||
>=x11-libs/gtksourceview-3.0.0:3.0[introspection?]
|
||||
>=dev-libs/libpeas-1.1.0[gtk]
|
||||
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
gnome-base/gvfs
|
||||
|
||||
x11-libs/libX11
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
|
||||
net-libs/libsoup:2.4
|
||||
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.3 )
|
||||
python? (
|
||||
>=dev-libs/gobject-introspection-0.9.3
|
||||
>=x11-libs/gtk+-3.0:3[introspection]
|
||||
>=x11-libs/gtksourceview-2.91.9:3.0[introspection]
|
||||
dev-python/pycairo
|
||||
>=dev-python/pygobject-3.0.0:3[cairo] )
|
||||
spell? (
|
||||
>=app-text/enchant-1.2
|
||||
>=app-text/iso-codes-0.35 )
|
||||
zeitgeist? ( dev-libs/libzeitgeist )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
x11-themes/gnome-icon-theme-symbolic"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=sys-devel/gettext-0.17
|
||||
>=dev-util/intltool-0.40
|
||||
virtual/pkgconfig
|
||||
>=app-text/scrollkeeper-0.3.11
|
||||
>=app-text/gnome-doc-utils-0.9.0
|
||||
~app-text/docbook-xml-dtd-4.1.2
|
||||
doc? ( >=dev-util/gtk-doc-1 )"
|
||||
# gnome-common and gtk-doc-am needed to eautoreconf
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS BUGS ChangeLog MAINTAINERS NEWS README"
|
||||
G2CONF="${G2CONF}
|
||||
--disable-deprecations
|
||||
--disable-schemas-compile
|
||||
--disable-scrollkeeper
|
||||
--enable-updater
|
||||
--enable-gvfs-metadata
|
||||
$(use_enable introspection)
|
||||
$(use_enable python)
|
||||
$(use_enable spell)
|
||||
$(use_enable zeitgeist)"
|
||||
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
# disable pyc compiling
|
||||
echo > py-compile
|
||||
|
||||
# Fix missing file in POTFILES.in
|
||||
echo "plugins/quickopen/quickopen/__init__.py" >> po/POTFILES.in
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# FIXME: this should be handled at eclass level
|
||||
"${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
|
||||
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
if use python; then
|
||||
python_mod_optimize /usr/$(get_libdir)/gedit/plugins
|
||||
# FIXME: take care of gi.overrides with USE=introspection
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
if use python; then
|
||||
python_mod_cleanup /usr/$(get_libdir)/gedit/plugins
|
||||
fi
|
||||
}
|
@ -0,0 +1,100 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ca-certificates-20121114.ebuild,v 1.1 2012/12/17 00:32:01 vapier Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Common CA Certificates PEM files"
|
||||
HOMEPAGE="http://packages.debian.org/sid/ca-certificates"
|
||||
#NMU_PR="1"
|
||||
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb"
|
||||
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-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 ~x86-winnt"
|
||||
IUSE=""
|
||||
|
||||
# platforms like AIX don't have a good ar
|
||||
DEPEND="kernel_AIX? ( app-arch/deb2targz )
|
||||
!<sys-apps/portage-2.1.10.41"
|
||||
# openssl: we run `c_rehash`
|
||||
# debianutils: we run `run-parts`
|
||||
RDEPEND="${DEPEND}
|
||||
dev-libs/openssl
|
||||
sys-apps/debianutils"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
pkg_setup() {
|
||||
# For the conversion to having it in CONFIG_PROTECT_MASK,
|
||||
# we need to tell users about it once manually first.
|
||||
[[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \
|
||||
|| ewarn "You should run update-ca-certificates manually after etc-update"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ -n ${EPREFIX} ]] ; then
|
||||
# need to perform everything in the offset, #381937
|
||||
mkdir -p "./${EPREFIX}"
|
||||
cd "./${EPREFIX}" || die
|
||||
fi
|
||||
unpack ${A}
|
||||
unpack ./data.tar.gz
|
||||
rm -f control.tar.gz data.tar.gz debian-binary
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cd "./${EPREFIX}" || die
|
||||
epatch "${FILESDIR}"/${PN}-20110502-root.patch
|
||||
local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g')
|
||||
sed -i \
|
||||
-e '/="$ROOT/s:ROOT/:ROOT'"${EPREFIX}"'/:' \
|
||||
-e '/RELPATH="\.\./s:"$:'"${relp}"'":' \
|
||||
usr/sbin/update-ca-certificates || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
(
|
||||
echo "# Automatically generated by ${CATEGORY}/${PF}"
|
||||
echo "# $(date -u)"
|
||||
echo "# Do not edit."
|
||||
cd "${S}${EPREFIX}"/usr/share/ca-certificates
|
||||
find * -name '*.crt' | LC_ALL=C sort
|
||||
) > "${S}${EPREFIX}"/etc/ca-certificates.conf
|
||||
|
||||
sh "${S}${EPREFIX}"/usr/sbin/update-ca-certificates --root "${S}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cp -pPR * "${D}"/ || die
|
||||
|
||||
mv "${ED}"/usr/share/doc/{ca-certificates,${PF}} || die
|
||||
prepalldocs
|
||||
|
||||
echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates
|
||||
doenvd 98ca-certificates
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then
|
||||
# if the user has local certs, we need to rebuild again
|
||||
# to include their stuff in the db.
|
||||
# However it's too overzealous when the user has custom certs in place.
|
||||
# --fresh is to clean up dangling symlinks
|
||||
"${EROOT}"/usr/sbin/update-ca-certificates --root "${EROOT}"
|
||||
fi
|
||||
|
||||
local c badcerts=0
|
||||
for c in $(find -L "${EROOT}"etc/ssl/certs/ -type l) ; do
|
||||
ewarn "Broken symlink for a certificate at $c"
|
||||
badcerts=1
|
||||
done
|
||||
if [ $badcerts -eq 1 ]; then
|
||||
ewarn "You MUST remove the above broken symlinks"
|
||||
ewarn "Otherwise any SSL validation that use the directory may fail!"
|
||||
ewarn "To batch-remove them, run:"
|
||||
ewarn "find -L ${EROOT}etc/ssl/certs/ -type l -exec rm {} +"
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST layman-1.4.2.tar.gz 60655 SHA256 a10418aa33f4f849c190b5c15b37abac81058858be3cb107d084057cef56ccfd SHA512 b3e4c706873b594876dfe9664b6debd5e75332ea5016a4eb7a91dfdca116c217dba6fe9235ebfbed148e8f05bda44859a2c145ae59f4d45cf5e59fdb89a7370b WHIRLPOOL 05a0953555617f29213e920cf2449ecc281a23348255362701d32d1c6b46e5b770055c3e588a23d9e3344e6bcdcd126e876275599eb4b017b45ab8b07a98afc5
|
||||
DIST layman-2.0.0.tar.gz 81184 SHA256 5843035ae4cc069693c05cf9821dae3d89d3ea7e2115b8137ea5a4a6c2807f33 SHA512 30756464d71ab1e047036550b6500d7e57999d808ebe3efba1d1ae6c037f8ca777ba704a4981d75a90285133635027a7bc13f1890f34823de33ae991ed99e2da WHIRLPOOL ec362189c4757ee032dc93e079ea0f5b291d5652231a84f1175fb308ca5622882d5008f23fd6a3d5143ff0dc98c91632d19c2e6604dcaa9b6a550bc902d79c1a
|
||||
DIST layman-2.0.0_rc5.tar.gz 81064 SHA256 9332afeb18bf3310e57aafe2fb3d01a7e550488e4befc56aa816780a3441fadf SHA512 90edb23fbf159f65c09c020383d1bfe84a43668af2b0076e2a5c735bf49909f55178db4ae5ff809f617dc7afab70d201b57740859b4689ac74957d0eead63168 WHIRLPOOL 0188b25a8f9122051997d9538f20fb2acfb286bc5ab5931a39521a3390829b445e070b92d2a5d547de75177d771a580805cb39dea737977220be7c5dd31ac256
|
||||
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/layman/layman-2.0.0.ebuild,v 1.1 2012/12/16 19:15:47 dolsen Exp $
|
||||
|
||||
EAPI="4"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
RESTRICT_PYTHON_ABIS="2.4 3.*"
|
||||
PYTHON_USE_WITH="xml(+)"
|
||||
|
||||
inherit eutils distutils prefix
|
||||
|
||||
DESCRIPTION="Tool to manage Gentoo overlays"
|
||||
HOMEPAGE="http://layman.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="bazaar cvs darcs +git mercurial subversion test"
|
||||
|
||||
COMMON_DEPS="dev-lang/python"
|
||||
DEPEND="${COMMON_DEPS}
|
||||
test? ( dev-vcs/subversion )"
|
||||
RDEPEND="${COMMON_DEPS}
|
||||
bazaar? ( dev-vcs/bzr )
|
||||
cvs? ( dev-vcs/cvs )
|
||||
darcs? ( dev-vcs/darcs )
|
||||
git? ( dev-vcs/git )
|
||||
mercurial? ( dev-vcs/mercurial )
|
||||
subversion? (
|
||||
|| (
|
||||
>=dev-vcs/subversion-1.5.4[webdav-neon]
|
||||
>=dev-vcs/subversion-1.5.4[webdav-serf]
|
||||
)
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
eprefixify etc/layman.cfg layman/config.py
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
for suite in layman/tests/{dtest,external}.py ; do
|
||||
PYTHONPATH="." "$(PYTHON)" ${suite} \
|
||||
|| die "test suite '${suite}' failed"
|
||||
done
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
insinto /etc/layman
|
||||
doins etc/layman.cfg || die
|
||||
|
||||
doman doc/layman.8
|
||||
dohtml doc/layman.8.html
|
||||
|
||||
keepdir /var/lib/layman
|
||||
keepdir /etc/layman/overlays
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
# now run layman's update utility
|
||||
einfo "Running layman-updater..."
|
||||
"${EROOT}"/usr/bin/layman-updater
|
||||
einfo
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST include-0.3.2.tar.bz2 85520 SHA256 25f37b026df39fc1331a772f1c0ecd982beaa802e615ed8da3fa642eaea7b94e SHA512 34e164b716c90d5356f9525160f8b01cdd092fc365921f66f149d442f6b59290decaa7e7b4569557885108be5ed8931408d0d74fc8b58db72fdc52f96786231a WHIRLPOOL 518a7c9f504f7b68a39796c11fe500df16359e1bc3c7dc8b0fd5dad1506c8b18520f0a9cdd97f810bff0eb5d4bd569257f963cfa60196e1b85d18d8ba95d7b62
|
||||
DIST include-0.4.2.tar.bz2 110312 SHA256 952bb8f4d166da3715e502a7c647d916b4c5dee14007768f58d0782eb0986283 SHA512 5c8f6eab27bfbc7628107162cae71d2e88ce6d96b655427468b81de052abf02ef48b7fe05435fc1468855e21665e4e973ef63d94265351f09e078119180dc07b WHIRLPOOL 7c4f0418e4e82ec575198e481cd0092ecad3bc72ffa635b65600de38f2ec35607008ad8a58d6fee78614047f91c374e3567e9bbe2d880862e002b7304b99aa39
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/include/include-0.3.2.ebuild,v 1.12 2012/08/28 07:07:48 radhermit Exp $
|
||||
|
||||
DESCRIPTION="A collection of useful, independent include files for C/Assembler developers."
|
||||
HOMEPAGE="http://openwince.sourceforge.net/include/"
|
||||
SRC_URI="mirror://sourceforge/openwince/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="ppc sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-apps/grep
|
||||
sys-apps/gawk"
|
||||
RDEPEND=""
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST libpeas-1.6.0.tar.xz 521520 SHA256 23c1385cba2e32201588c988ea6894b27a115efc01cb4acb927e984456ffd63c SHA512 e6b0bc9c8efe954dbf30fe8363d8e45224c03f53b64d41a217d9aee6f29e4e7a826877bd392dea5d555ce339cc91fc730d8ccd986fa3d78468cdf0b70878380c WHIRLPOOL 22f8f44fa8868444f523a848bbcea045cc3408f61d7d38bfd5243b38d26d52a4d3e4d7ba647f30e4990bf49900e0ecbe1210659e32cc5b25ebcd50d32dc4768e
|
||||
DIST libpeas-1.6.1.tar.xz 523800 SHA256 7f133f44101594e0f96a0e5fe69c5893cde500f3edf916f680467dfd74de5c39 SHA512 8160730bd6f97e1e9d01c497c9053e5f070a7f555fa0c073a5f257220b9525a65a94ced2651ca3897bf0f2a0915082fc10915aad67906cf3afff9c8734de7f38 WHIRLPOOL 68e87c21580a962d4cf0d8f00358a8d94e25465fde3c55b34821b43faeb7eb869733558a4c6837f1a25cd9319bf7a0ad41d240c0e80590958a754414044e421c
|
||||
DIST libpeas-1.6.2.tar.xz 525540 SHA256 26fb143ce4e89eb809f96113cd010d33fd337833bd70ab3b29c567f19376a65f SHA512 d8c21bb808f8cdd440fc5dfb2e5376b0935a4d6599eb3951fd03d700aa212688c0fecd112adefede9911be9db9b9dff4e1e866f032a79153bd0e750b5fdbdd25 WHIRLPOOL 9b876c43880d4548777b6ad1325caf6b84ed33fac7843b166769805b2be37cccc2ae33f9274faaaefe122910e48228ae7961e083fc1e26ba4d2864d0ebec0934
|
||||
|
@ -1,57 +0,0 @@
|
||||
From afa50c526ce1aab53eff3c3373a97180fc90abe2 Mon Sep 17 00:00:00 2001
|
||||
From: Garrett Regier <garrettregier@gmail.com>
|
||||
Date: Thu, 29 Sep 2011 15:46:49 -0700
|
||||
Subject: [PATCH] Annotate PeasPluginInfo return values as transfer none
|
||||
|
||||
Otherwise GObject-Introspection says that it is transfer full.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=660524
|
||||
---
|
||||
libpeas-gtk/peas-gtk-plugin-manager-view.c | 2 +-
|
||||
libpeas/peas-engine.c | 2 +-
|
||||
libpeas/peas-extension-base.c | 3 ++-
|
||||
3 files changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/libpeas-gtk/peas-gtk-plugin-manager-view.c b/libpeas-gtk/peas-gtk-plugin-manager-view.c
|
||||
index 7eb7361..5f8f55f 100644
|
||||
--- a/libpeas-gtk/peas-gtk-plugin-manager-view.c
|
||||
+++ b/libpeas-gtk/peas-gtk-plugin-manager-view.c
|
||||
@@ -952,7 +952,7 @@ peas_gtk_plugin_manager_view_set_selected_plugin (PeasGtkPluginManagerView *view
|
||||
*
|
||||
* Returns the currently selected plugin, or %NULL if a plugin is not selected.
|
||||
*
|
||||
- * Returns: the selected plugin.
|
||||
+ * Returns: (transfer none): the selected plugin.
|
||||
*/
|
||||
PeasPluginInfo *
|
||||
peas_gtk_plugin_manager_view_get_selected_plugin (PeasGtkPluginManagerView *view)
|
||||
diff --git a/libpeas/peas-engine.c b/libpeas/peas-engine.c
|
||||
index 1adf4ff..7b57d56 100644
|
||||
--- a/libpeas/peas-engine.c
|
||||
+++ b/libpeas/peas-engine.c
|
||||
@@ -733,7 +733,7 @@ compare_plugin_info_and_name (PeasPluginInfo *info,
|
||||
* Gets the #PeasPluginInfo corresponding with @plugin_name,
|
||||
* or %NULL if @plugin_name was not found.
|
||||
*
|
||||
- * Returns: the #PeasPluginInfo corresponding with
|
||||
+ * Returns: (transfer none): the #PeasPluginInfo corresponding with
|
||||
* a given plugin module name.
|
||||
*/
|
||||
PeasPluginInfo *
|
||||
diff --git a/libpeas/peas-extension-base.c b/libpeas/peas-extension-base.c
|
||||
index 329a25f..7c4cba0 100644
|
||||
--- a/libpeas/peas-extension-base.c
|
||||
+++ b/libpeas/peas-extension-base.c
|
||||
@@ -141,7 +141,8 @@ peas_extension_base_class_init (PeasExtensionBaseClass *klass)
|
||||
*
|
||||
* Get information relative to @extbase.
|
||||
*
|
||||
- * Return value: the #PeasPluginInfo relative to the #PeasExtensionBase.
|
||||
+ * Return value: (transfer none): the #PeasPluginInfo relative
|
||||
+ * to the #PeasExtensionBase.
|
||||
*/
|
||||
PeasPluginInfo *
|
||||
peas_extension_base_get_plugin_info (PeasExtensionBase *extbase)
|
||||
--
|
||||
1.7.7.2
|
||||
|
@ -1,25 +0,0 @@
|
||||
From 2d6ea307cf45af6b92b1cd708d0ee288aca0b3fe Mon Sep 17 00:00:00 2001
|
||||
From: Olav Vitters <olav@vitters.nl>
|
||||
Date: Wed, 28 Mar 2012 15:28:40 +0200
|
||||
Subject: [PATCH] fix forgotten @ in pkgconfig file
|
||||
|
||||
---
|
||||
data/libpeas-1.0.pc.in | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/data/libpeas-1.0.pc.in b/data/libpeas-1.0.pc.in
|
||||
index 9523067..704d686 100644
|
||||
--- a/data/libpeas-1.0.pc.in
|
||||
+++ b/data/libpeas-1.0.pc.in
|
||||
@@ -5,7 +5,7 @@ includedir=@includedir@
|
||||
|
||||
Name: libpeas
|
||||
Description: libpeas, a GObject plugins library
|
||||
-Requires: glib-2.0 >= @GLIB_REQUIRED@, gobject-2.0 >= @GLIB_REQUIRED@, gmodule-2.0 >= @GLIB_REQUIRED@, gio-2.0 >= @GIO_REQUIRED gobject-introspection-1.0 >= @INTROSPECTION_REQUIRED@
|
||||
+Requires: glib-2.0 >= @GLIB_REQUIRED@, gobject-2.0 >= @GLIB_REQUIRED@, gmodule-2.0 >= @GLIB_REQUIRED@, gio-2.0 >= @GIO_REQUIRED@ gobject-introspection-1.0 >= @INTROSPECTION_REQUIRED@
|
||||
Version: @VERSION@
|
||||
Cflags: -I${includedir}/libpeas-1.0
|
||||
Libs: -L${libdir} -lpeas-1.0
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -1,73 +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/libpeas/libpeas-1.6.0.ebuild,v 1.1 2012/09/30 07:36:54 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
|
||||
inherit eutils gnome2 multilib python virtualx
|
||||
|
||||
DESCRIPTION="A GObject plugins library"
|
||||
HOMEPAGE="http://www.gnome.org/"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="doc gjs +gtk glade +python seed"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux"
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.32:2
|
||||
>=dev-libs/gobject-introspection-0.10.1
|
||||
gjs? ( >=dev-libs/gjs-1.31.11 )
|
||||
glade? ( >=dev-util/glade-3.9.1:3.10 )
|
||||
gtk? ( >=x11-libs/gtk+-3:3[introspection] )
|
||||
python? ( >=dev-python/pygobject-3.0.0:3 )
|
||||
seed? ( >=dev-libs/seed-2.91.91 )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/intltool-0.40
|
||||
>=sys-devel/gettext-0.17
|
||||
doc? ( >=dev-util/gtk-doc-1.11 )"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
$(use_enable gjs)
|
||||
$(use_enable glade glade-catalog)
|
||||
$(use_enable gtk)
|
||||
$(use_enable python)
|
||||
$(use_enable seed)
|
||||
--disable-deprecation
|
||||
--disable-static"
|
||||
# Wtf, --disable-gcov, --enable-gcov=no, --enable-gcov, all enable gcov
|
||||
# What do we do about gdb, valgrind, gcov, etc?
|
||||
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use python && python_clean_py-compile_files
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# FIXME: Tests fail because of some bug involving Xvfb and Gtk.IconTheme
|
||||
# DO NOT REPORT UPSTREAM, this is not a libpeas bug.
|
||||
# To reproduce:
|
||||
# >>> from gi.repository import Gtk
|
||||
# >>> Gtk.IconTheme.get_default().has_icon("gtk-about")
|
||||
# This should return True, it returns False for Xvfb
|
||||
Xemake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_pkg_postinst
|
||||
use python && python_mod_optimize /usr/$(get_libdir)/peas-demo
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_pkg_postrm
|
||||
use python && python_mod_cleanup /usr/$(get_libdir)/peas-demo
|
||||
}
|
@ -1,10 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer>
|
||||
<email>lordvan@gentoo.org</email>
|
||||
<!-- <description>Description of the maintainership</description> -->
|
||||
</maintainer>
|
||||
<longdescription>Provides an unified API for handling Atom/RSS</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -1,4 +1,3 @@
|
||||
DIST pygobject-2.28.6.tar.xz 747248 SHA256 fb8a1d4f665130a125011659bd347c7339c944232163dbb9a34fd0686577adb8 SHA512 37544ea2377258758169b25a2969d5ee1c9ffb9b6e63e05bc7a0471a49ac9169c51ec587d4489172c7d256f53df878a81c1992a08059aa7e43dbbb69f799545c WHIRLPOOL 402f764d6ca73f238784738a1e09832858fd95af5a633e825412e9e6a21e89ab6b2090d3995902ed404fc4fde445cf970c76fcd93f8f64cf9def742452776c00
|
||||
DIST pygobject-3.0.4.tar.xz 547180 SHA256 f457b1d7f6b8bfa727593c3696d2b405da66b4a8d34cd7d3362ebda1221f0661 SHA512 46bc73e8650bdc7bef4216ab097d24fee7049dbf75472b7478ad735a33b23d06a25cb48e8e34d5518ddb44dc61259f9c2b3ca46a8a39ff4be7302a17af8dc750 WHIRLPOOL 811e1bb19c370039f5a0d622e2be39b0eef3eaaeb75e91dd02ec57196d18c696985555674b65c4c99da131779d8f6c5533f846bd1a858f2a54f81bbcae3adaaf
|
||||
DIST pygobject-3.2.2.tar.xz 564712 SHA256 4653790baaff0176fd814b88cfb5378c45906a120b25d01be2554f423b726eb0 SHA512 b22c8fd4bcff0d110a08d7f0927df086d4e1e11546e3d7aa08f4e5ec66643d1ba88ac199b0354dca145bf06532c8ab8a427ea9450751ee52b914f355a6d7e9e7 WHIRLPOOL f3e4aaafadfeae5e6fafd0e173c856c2f8c937eb097732760c21ccaced6c7c96e36e5b683d729e78b0043302fafa92818ea90fa845fe266caf5e2d0a8ae8ff8f
|
||||
DIST pygobject-3.4.2.tar.xz 615032 SHA256 2b87ef3170be3a20a53fbdb348ae4ecb41a72a17ec6531baa67147c3437d2aad SHA512 ff22d2825896246564230949b93e6d6075f885cbe4c633b8fdd6505287bc167dd50d3c3a3f4ed9ff690c0b70a81fb893a9fbf947ed9ff043ad61a61af192412d WHIRLPOOL df50588c9da9b56b50370530b1b70a10addc1d89e44ede7efbbcc7e9039e35816c105477c9e33caa52bbae9d6bd33b6532e6a0b8df3b8de0aab6f838bf00a10f
|
||||
|
@ -1,85 +0,0 @@
|
||||
From 228ce7f0f99d2f5fa7d4ac86784d4e81032f9a3a Mon Sep 17 00:00:00 2001
|
||||
From: Gilles Dartiguelongue <eva@gentoo.org>
|
||||
Date: Fri, 8 Apr 2011 15:43:39 +0200
|
||||
Subject: [PATCH 2/3] Enable support to build against multiple version of
|
||||
python
|
||||
|
||||
---
|
||||
gi/Makefile.am | 2 +-
|
||||
gi/_glib/Makefile.am | 14 +++++++-------
|
||||
gi/_gobject/Makefile.am | 2 +-
|
||||
3 files changed, 9 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/gi/Makefile.am b/gi/Makefile.am
|
||||
index 0584cc9..9abb61d 100644
|
||||
--- a/gi/Makefile.am
|
||||
+++ b/gi/Makefile.am
|
||||
@@ -83,7 +83,7 @@ _gi_la_CPPFLAGS = \
|
||||
_gi_la_LIBADD = \
|
||||
$(extension_libadd) \
|
||||
$(GI_LIBS) \
|
||||
- $(top_builddir)/gi/_glib/libpyglib-gi-2.0-@PYTHON_BASENAME@.la
|
||||
+ $(top_builddir)/gi/_glib/libpyglib-gi-2.0-@PYTHON_BASENAME@@PYTHON_VERSION@.la
|
||||
_gi_la_LDFLAGS = \
|
||||
$(extension_ldflags) \
|
||||
-export-symbols-regex "init_gi|PyInit__gi"
|
||||
diff --git a/gi/_glib/Makefile.am b/gi/_glib/Makefile.am
|
||||
index 3cf2593..eaa0ce9 100644
|
||||
--- a/gi/_glib/Makefile.am
|
||||
+++ b/gi/_glib/Makefile.am
|
||||
@@ -27,24 +27,24 @@ pyglib_PYTHON = \
|
||||
__init__.py \
|
||||
option.py
|
||||
|
||||
-lib_LTLIBRARIES = libpyglib-gi-2.0-@PYTHON_BASENAME@.la
|
||||
+lib_LTLIBRARIES = libpyglib-gi-2.0-@PYTHON_BASENAME@@PYTHON_VERSION@.la
|
||||
|
||||
-libpyglib_gi_2_0_@PYTHON_BASENAME@_la_SOURCES = \
|
||||
+libpyglib_gi_2_0_@PYTHON_BASENAME@@PYTHON_VERSION@_la_SOURCES = \
|
||||
pyglib.c \
|
||||
pyglib.h \
|
||||
pyglib-private.h \
|
||||
pyglib-python-compat.h
|
||||
-libpyglib_gi_2_0_@PYTHON_BASENAME@_la_CPPFLAGS = \
|
||||
+libpyglib_gi_2_0_@PYTHON_BASENAME@@PYTHON_VERSION@_la_CPPFLAGS = \
|
||||
$(extension_cppflags)
|
||||
-libpyglib_gi_2_0_@PYTHON_BASENAME@_la_CFLAGS = \
|
||||
+libpyglib_gi_2_0_@PYTHON_BASENAME@@PYTHON_VERSION@_la_CFLAGS = \
|
||||
$(GLIB_CFLAGS)
|
||||
-libpyglib_gi_2_0_@PYTHON_BASENAME@_la_LIBADD = \
|
||||
+libpyglib_gi_2_0_@PYTHON_BASENAME@@PYTHON_VERSION@_la_LIBADD = \
|
||||
$(extension_libadd) \
|
||||
$(FFI_LIBS) \
|
||||
$(GLIB_LIBS)
|
||||
|
||||
if OS_WIN32
|
||||
-libpyglib_gi_2_0_@PYTHON_BASENAME@_la_LDFLAGS = \
|
||||
+libpyglib_gi_2_0_@PYTHON_BASENAME@@PYTHON_VERSION@_la_LDFLAGS = \
|
||||
-no-undefined
|
||||
endif
|
||||
|
||||
@@ -73,7 +73,7 @@ _glib_la_CPPFLAGS = \
|
||||
_glib_la_LIBADD = \
|
||||
$(extension_libadd) \
|
||||
$(GLIB_LIBS) \
|
||||
- libpyglib-gi-2.0-@PYTHON_BASENAME@.la
|
||||
+ libpyglib-gi-2.0-@PYTHON_BASENAME@@PYTHON_VERSION@.la
|
||||
_glib_la_LDFLAGS = \
|
||||
$(extension_ldflags) \
|
||||
-export-symbols-regex "_glib|PyInit__glib"
|
||||
diff --git a/gi/_gobject/Makefile.am b/gi/_gobject/Makefile.am
|
||||
index 6bddcf7..023907f 100644
|
||||
--- a/gi/_gobject/Makefile.am
|
||||
+++ b/gi/_gobject/Makefile.am
|
||||
@@ -65,7 +65,7 @@ _gobject_la_LIBADD = \
|
||||
$(extension_libadd) \
|
||||
$(GLIB_LIBS) \
|
||||
$(FFI_LIBS) \
|
||||
- $(top_builddir)/gi/_glib/libpyglib-gi-2.0-@PYTHON_BASENAME@.la
|
||||
+ $(top_builddir)/gi/_glib/libpyglib-gi-2.0-@PYTHON_BASENAME@@PYTHON_VERSION@.la
|
||||
_gobject_la_LDFLAGS = \
|
||||
$(extension_ldflags) \
|
||||
-export-symbols-regex "_gobject|PyInit__gobject"
|
||||
--
|
||||
1.7.6.1
|
||||
|
@ -1,69 +0,0 @@
|
||||
Disable tests requiring >=gobject-introspection-1.31
|
||||
|
||||
diff --git a/tests/test_everything.py b/tests/test_everything.py
|
||||
index 43735e5..ecfdef4 100644
|
||||
--- a/tests/test_everything.py
|
||||
+++ b/tests/test_everything.py
|
||||
@@ -507,22 +507,3 @@ class TestAdvancedInterfaces(unittest.TestCase):
|
||||
self.assertEquals(ret[0], 51);
|
||||
self.assertEquals(ret[1], 61);
|
||||
self.assertEquals(ret[2], 32);
|
||||
-
|
||||
- def test_obj_skip_return_val_no_out(self):
|
||||
- obj = Everything.TestObj();
|
||||
- # raises an error for 0, succeeds for any other value
|
||||
- self.assertRaises(GLib.GError, obj.skip_return_val_no_out, 0)
|
||||
-
|
||||
- ret = obj.skip_return_val_no_out(1)
|
||||
- self.assertEquals(ret, None)
|
||||
-
|
||||
-class TestSignals(unittest.TestCase):
|
||||
- def test_object_param_signal(self):
|
||||
- obj = Everything.TestObj();
|
||||
-
|
||||
- def callback (obj_param):
|
||||
- self.assertEquals(obj_param.props.int, 3)
|
||||
- self.assertEquals(obj_param.__grefcount__, 2)
|
||||
-
|
||||
- obj.connect('sig-with-obj', callback)
|
||||
- obj.emit_sig_with_obj()
|
||||
diff --git a/tests/test_gi.py b/tests/test_gi.py
|
||||
index 0a9b1b2..7e24778 100644
|
||||
--- a/tests/test_gi.py
|
||||
+++ b/tests/test_gi.py
|
||||
@@ -770,18 +770,6 @@ class TestArray(unittest.TestCase):
|
||||
def test_gstrv_inout(self):
|
||||
self.assertEquals(['-1', '0', '1', '2'], GIMarshallingTests.gstrv_inout(['0', '1', '2']))
|
||||
|
||||
- def test_array_gvariant_none_in(self):
|
||||
- v = [GLib.Variant("i", 27), GLib.Variant("s", "Hello")]
|
||||
- self.assertEquals([27, "Hello"], map(GLib.Variant.unpack, GIMarshallingTests.array_gvariant_none_in(v)))
|
||||
-
|
||||
- def test_array_gvariant_container_in(self):
|
||||
- v = [GLib.Variant("i", 27), GLib.Variant("s", "Hello")]
|
||||
- self.assertEquals([27, "Hello"], map(GLib.Variant.unpack, GIMarshallingTests.array_gvariant_none_in(v)))
|
||||
-
|
||||
- def test_array_gvariant_full_in(self):
|
||||
- v = [GLib.Variant("i", 27), GLib.Variant("s", "Hello")]
|
||||
- self.assertEquals([27, "Hello"], map(GLib.Variant.unpack, GIMarshallingTests.array_gvariant_none_in(v)))
|
||||
-
|
||||
def test_bytearray_gvariant(self):
|
||||
v = GLib.Variant.new_bytestring("foo")
|
||||
self.assertEquals(v.get_bytestring(), "foo")
|
||||
@@ -1651,16 +1639,6 @@ class TestPythonGObject(unittest.TestCase):
|
||||
def do_method_not_a_vfunc(self):
|
||||
pass
|
||||
|
||||
- def test_subsubobject(self):
|
||||
- class SubSubSubObject(GIMarshallingTests.SubSubObject):
|
||||
- def do_method_deep_hierarchy(self, num):
|
||||
- self.props.int = num * 2
|
||||
-
|
||||
- sub_sub_sub_object = SubSubSubObject()
|
||||
- GIMarshallingTests.SubSubObject.do_method_deep_hierarchy(sub_sub_sub_object, 5)
|
||||
- self.assertEqual(sub_sub_sub_object.props.int, 5)
|
||||
-
|
||||
-
|
||||
class TestMultiOutputArgs(unittest.TestCase):
|
||||
|
||||
def test_int_out_out(self):
|
@ -1,28 +0,0 @@
|
||||
From 8d88283688797b8fc70a7cbccd42a71b8518098d Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Mon, 26 Dec 2011 00:44:56 -0500
|
||||
Subject: [PATCH] Fix bytearray test compatibility with python3
|
||||
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=321879
|
||||
---
|
||||
tests/test_gi.py | 4 ++--
|
||||
1 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/test_gi.py b/tests/test_gi.py
|
||||
index 0a9b1b2..8726187 100644
|
||||
--- a/tests/test_gi.py
|
||||
+++ b/tests/test_gi.py
|
||||
@@ -783,8 +783,8 @@ class TestArray(unittest.TestCase):
|
||||
self.assertEquals([27, "Hello"], map(GLib.Variant.unpack, GIMarshallingTests.array_gvariant_none_in(v)))
|
||||
|
||||
def test_bytearray_gvariant(self):
|
||||
- v = GLib.Variant.new_bytestring("foo")
|
||||
- self.assertEquals(v.get_bytestring(), "foo")
|
||||
+ v = GLib.Variant.new_bytestring(b"foo")
|
||||
+ self.assertEquals(v.get_bytestring(), b"foo")
|
||||
|
||||
class TestGArray(unittest.TestCase):
|
||||
|
||||
--
|
||||
1.7.8.1
|
||||
|
@ -0,0 +1,26 @@
|
||||
From 62c2e962a225ec2527aa3d7406aa0dae232a0886 Mon Sep 17 00:00:00 2001
|
||||
From: "Jasper St. Pierre" <jstpierre@mecheye.net>
|
||||
Date: Fri, 25 May 2012 17:09:55 -0400
|
||||
Subject: [PATCH] Fix build
|
||||
|
||||
libregress now needs cairo-gobject
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 4210730..08d6a9c 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -185,7 +185,7 @@ dnl gio
|
||||
PKG_CHECK_MODULES(GIO, gio-2.0 >= gio_required_version)
|
||||
|
||||
# we always need cairo (not pycairo) for building the tests
|
||||
-PKG_CHECK_MODULES(CAIRO, cairo)
|
||||
+PKG_CHECK_MODULES(CAIRO, cairo cairo-gobject)
|
||||
|
||||
AC_ARG_ENABLE(cairo,
|
||||
AC_HELP_STRING([--enable-cairo], [Enable Cairo bindings using introspection information]),
|
||||
--
|
||||
1.8.0.2
|
||||
|
@ -0,0 +1,81 @@
|
||||
From fd7f8eefbe8aba0b29d80e3eb9d985d33a268c8a Mon Sep 17 00:00:00 2001
|
||||
From: Martin Pitt <martinpitt@gnome.org>
|
||||
Date: Thu, 3 May 2012 09:38:56 +0200
|
||||
Subject: [PATCH] Fix building with --disable-cairo
|
||||
|
||||
Build gobject-introspection's regress.c against cairo, not pycairo/py3cairo. We
|
||||
always need cairo to build, so unconditionally check for this in configure.ac.
|
||||
|
||||
In test_everything.py, gracefully handle the absence of the "cairo" Python
|
||||
module, which we do not have when building without cairo support.
|
||||
---
|
||||
configure.ac | 3 +++
|
||||
tests/Makefile.am | 4 ++--
|
||||
tests/test_everything.py | 8 +++++++-
|
||||
3 files changed, 12 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 8606bbd..ef5d7b6 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -184,6 +184,9 @@ AC_SUBST(LIBFFI_PC)
|
||||
dnl gio
|
||||
PKG_CHECK_MODULES(GIO, gio-2.0 >= gio_required_version)
|
||||
|
||||
+# we always need cairo (not pycairo) for building the tests
|
||||
+PKG_CHECK_MODULES(CAIRO, cairo)
|
||||
+
|
||||
AC_ARG_ENABLE(cairo,
|
||||
AC_HELP_STRING([--enable-cairo], [Enable Cairo bindings using introspection information]),
|
||||
enable_cairo=$enableval,
|
||||
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
||||
index fa9ab8c..a54bed8 100644
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -2,8 +2,8 @@ CLEANFILES =
|
||||
noinst_LTLIBRARIES = libregress.la libgimarshallingtests.la
|
||||
|
||||
nodist_libregress_la_SOURCES = $(GI_DATADIR)/tests/regress.c $(GI_DATADIR)/tests/regress.h
|
||||
-libregress_la_CFLAGS = $(GIO_CFLAGS) $(PYCAIRO_CFLAGS)
|
||||
-libregress_la_LDFLAGS = -module -avoid-version $(GIO_LIBS) $(PYCAIRO_LIBS)
|
||||
+libregress_la_CFLAGS = $(GIO_CFLAGS) $(CAIRO_CFLAGS)
|
||||
+libregress_la_LDFLAGS = -module -avoid-version $(GIO_LIBS) $(CAIRO_LIBS)
|
||||
nodist_libgimarshallingtests_la_SOURCES = $(GI_DATADIR)/tests/gimarshallingtests.c $(GI_DATADIR)/tests/gimarshallingtests.h
|
||||
libgimarshallingtests_la_CFLAGS = $(GLIB_CFLAGS)
|
||||
libgimarshallingtests_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS)
|
||||
diff --git a/tests/test_everything.py b/tests/test_everything.py
|
||||
index 47408d4..dfe6eea 100644
|
||||
--- a/tests/test_everything.py
|
||||
+++ b/tests/test_everything.py
|
||||
@@ -9,7 +9,11 @@ sys.path.insert(0, "../")
|
||||
from sys import getrefcount
|
||||
|
||||
import copy
|
||||
-import cairo
|
||||
+try:
|
||||
+ import cairo
|
||||
+ has_cairo = True
|
||||
+except ImportError:
|
||||
+ has_cairo = False
|
||||
|
||||
from gi.repository import GObject
|
||||
from gi.repository import GLib
|
||||
@@ -25,6 +29,7 @@ else:
|
||||
|
||||
class TestEverything(unittest.TestCase):
|
||||
|
||||
+ @unittest.skipUnless(has_cairo, 'built without cairo support')
|
||||
def test_cairo_context(self):
|
||||
context = Everything.test_cairo_context_full_return()
|
||||
self.assertTrue(isinstance(context, cairo.Context))
|
||||
@@ -33,6 +38,7 @@ class TestEverything(unittest.TestCase):
|
||||
context = cairo.Context(surface)
|
||||
Everything.test_cairo_context_none_in(context)
|
||||
|
||||
+ @unittest.skipUnless(has_cairo, 'built without cairo support')
|
||||
def test_cairo_surface(self):
|
||||
surface = Everything.test_cairo_surface_none_return()
|
||||
self.assertTrue(isinstance(surface, cairo.ImageSurface))
|
||||
--
|
||||
1.8.0.2
|
||||
|
@ -1,126 +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/pygobject/pygobject-3.0.4.ebuild,v 1.15 2012/10/02 01:32:04 floppym Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_DEPEND="2:2.6 3:3.1:3.2"
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 3.3 *-jython 2.7-pypy-*"
|
||||
|
||||
# XXX: Is the alternatives stuff needed anymore?
|
||||
inherit alternatives autotools eutils gnome2 python virtualx
|
||||
|
||||
DESCRIPTION="GLib's GObject library bindings for Python"
|
||||
HOMEPAGE="http://www.pygtk.org/"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="3"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+cairo examples test +threads" # doc
|
||||
REQUIRED_USE="test? ( cairo )"
|
||||
|
||||
COMMON_DEPEND=">=dev-libs/glib-2.24.0:2
|
||||
>=dev-libs/gobject-introspection-1.29
|
||||
virtual/libffi
|
||||
cairo? ( >=dev-python/pycairo-1.10.0 )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
test? (
|
||||
dev-libs/atk[introspection]
|
||||
media-fonts/font-cursor-misc
|
||||
media-fonts/font-misc-misc
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
x11-libs/gtk+:3[introspection]
|
||||
x11-libs/pango[introspection] )
|
||||
virtual/pkgconfig"
|
||||
# docs disabled for now per upstream default since they are very out of date
|
||||
# doc? (
|
||||
# app-text/docbook-xml-dtd:4.1.2
|
||||
# dev-libs/libxslt
|
||||
# >=app-text/docbook-xsl-stylesheets-1.70.1 )
|
||||
|
||||
# We now disable introspection support in slot 2 per upstream recommendation
|
||||
# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
|
||||
# older versions of slot 2 installed their own site-packages/gi, and
|
||||
# slot 3 will collide with them.
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<dev-python/pygtk-2.13
|
||||
!<dev-python/pygobject-2.28.6-r50:2[introspection]"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog* NEWS README"
|
||||
# Hard-enable libffi support since both gobject-introspection and
|
||||
# glib-2.29.x rdepend on it anyway
|
||||
G2CONF="${G2CONF}
|
||||
--disable-dependency-tracking
|
||||
--with-ffi
|
||||
$(use_enable cairo)
|
||||
$(use_enable threads thread)"
|
||||
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Do not build tests if unneeded, bug #226345
|
||||
epatch "${FILESDIR}/${PN}-2.90.1-make_check.patch"
|
||||
|
||||
# Support installation for multiple Python versions, upstream bug #648292
|
||||
epatch "${FILESDIR}/${PN}-3.0.0-support_multiple_python_versions.patch"
|
||||
|
||||
# Disable tests that fail
|
||||
#epatch "${FILESDIR}/${PN}-2.28.3-disable-failing-tests.patch"
|
||||
|
||||
# FIXME: disable tests that require >=gobject-introspection-1.31
|
||||
epatch "${FILESDIR}/${PN}-3.0.3-disable-new-gi-tests.patch"
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=666852
|
||||
epatch "${FILESDIR}/${PN}-3.0.3-tests-python3.patch"
|
||||
|
||||
python_clean_py-compile_files
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_execute_function -s gnome2_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_src_compile
|
||||
}
|
||||
|
||||
# FIXME: With python multiple ABI support, tests return 1 even when they pass
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
export GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
|
||||
|
||||
testing() {
|
||||
export XDG_CACHE_HOME="${T}/$(PYTHON --ABI)"
|
||||
Xemake check PYTHON=$(PYTHON -a)
|
||||
unset XDG_CACHE_HOME
|
||||
}
|
||||
python_execute_function -s testing
|
||||
unset GIO_USE_VFS
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_execute_function -s gnome2_src_install
|
||||
python_clean_installation_image
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize gi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup gi
|
||||
}
|
@ -0,0 +1,106 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.2.2-r1.ebuild,v 1.1 2012/12/16 20:57:36 tetromino Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2} )
|
||||
|
||||
inherit autotools eutils gnome2 python-r1 virtualx
|
||||
|
||||
DESCRIPTION="GLib's GObject library bindings for Python"
|
||||
HOMEPAGE="http://www.pygtk.org/"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="+cairo examples test +threads"
|
||||
|
||||
REQUIRED_USE="test? ( cairo )"
|
||||
|
||||
COMMON_DEPEND=">=dev-libs/glib-2.31.0:2
|
||||
>=dev-libs/gobject-introspection-1.31.20
|
||||
virtual/libffi:=
|
||||
cairo? ( >=dev-python/pycairo-1.10.0 )
|
||||
${PYTHON_DEPS}"
|
||||
# TODO: should be >=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}]
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
x11-libs/cairo[glib]
|
||||
virtual/pkgconfig
|
||||
test? (
|
||||
dev-libs/atk[introspection]
|
||||
media-fonts/font-cursor-misc
|
||||
media-fonts/font-misc-misc
|
||||
x11-libs/gdk-pixbuf:2[introspection]
|
||||
x11-libs/gtk+:3[introspection]
|
||||
x11-libs/pango[introspection] )"
|
||||
|
||||
# We now disable introspection support in slot 2 per upstream recommendation
|
||||
# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
|
||||
# older versions of slot 2 installed their own site-packages/gi, and
|
||||
# slot 3 will collide with them.
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<dev-python/pygtk-2.13
|
||||
!<dev-python/pygobject-2.28.6-r50:2[introspection]"
|
||||
|
||||
src_prepare() {
|
||||
DOCS="AUTHORS ChangeLog* NEWS README"
|
||||
# Hard-enable libffi support since both gobject-introspection and
|
||||
# glib-2.29.x rdepend on it anyway
|
||||
# docs disabled by upstream default since they are very out of date
|
||||
G2CONF="${G2CONF}
|
||||
--disable-dependency-tracking
|
||||
--with-ffi
|
||||
$(use_enable cairo)
|
||||
$(use_enable threads thread)"
|
||||
|
||||
# Do not build tests if unneeded, bug #226345
|
||||
epatch "${FILESDIR}/${PN}-2.90.1-make_check.patch"
|
||||
|
||||
# Fix cairo-using tests; in 3.4
|
||||
epatch "${FILESDIR}/${P}-cairo-tests.patch"
|
||||
epatch "${FILESDIR}/${P}-cairo-gobject.patch"
|
||||
|
||||
eautoreconf
|
||||
gnome2_src_prepare
|
||||
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_compile
|
||||
}
|
||||
|
||||
# FIXME: With python multiple ABI support, tests return 1 even when they pass
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
export GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
|
||||
|
||||
testing() {
|
||||
export XDG_CACHE_HOME="${T}/${EPYTHON}"
|
||||
run_in_build_dir Xemake check
|
||||
unset XDG_CACHE_HOME
|
||||
}
|
||||
python_foreach_impl testing
|
||||
unset GIO_USE_VFS
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl run_in_build_dir gnome2_src_install
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
run_in_build_dir() {
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
"$@"
|
||||
popd > /dev/null
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST elfix-0.5.2.tar.gz 133386 SHA256 d03255e63f12f0431c7e3d63107b0dd78d949e321b82cccd1df6a582cf03ce05 SHA512 9136d063ab1f2e232f3f9ed4474a6d3fcfe62b02afa5bead73a016706de4653ca00711eb767cbfcb95543cbd905aaafc49fe709d23b12f98d0ac6300eea952f8 WHIRLPOOL 90b2035ba538987ee2e51a53fbb837d2deeba7baa88f2ef9af46db646523c4a0e1bc0a335a4af9465e5f0877806f2e23734496f940cc62bbf8677bd7eb46ff64
|
||||
DIST elfix-0.6.0.tar.gz 134110 SHA256 7e7f8d1755d492d6000135e9cf137bb932bd591f0684b61c887c566c3c1988a3 SHA512 3e55f80762fe737aa56ea5800a7d72e46ec7a5618b1bb5d1c1334697ef1e700047063fd3cc7a41a08d23a12ddc9984259a011ffffa31587435b0136be7c1b421 WHIRLPOOL bff25c55526995c88d5d55da5228e8bd8e7ed14a83eb4dfaee3f2739cfd549cca8259581a4e8a2c515e3cf1ebba4c820852de6705dd2430d297665deb23a9a7b
|
||||
DIST elfix-0.7.0.tar.gz 362381 SHA256 18feb53c8588c3660906cf2cb35fb5a168a9394302f9bd5b69e29cab5582cde5 SHA512 fd880ee3389b79f02854ccbd7949d052c31e90231e0b8ad58f10cf4def85545a41a92ac6e8c6231ef20dd4450f91df5334e29c93dcfea201af4c1efacd17b84d WHIRLPOOL d3542ff7dbae7057687bc713bbfca4d76482539c679d266dfee436cd2fff1ebdb296b899a014c141355b158e9d5fc100259307fbcf732477969d06540be24ab5
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pypax/pypax-0.7.0.ebuild,v 1.1 2012/12/17 00:36:15 blueness Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python module for reading or writing PaX flags to an ELF."
|
||||
HOMEPAGE="http://dev.gentoo.org/~blueness/elfix/"
|
||||
SRC_URI="http://dev.gentoo.org/~blueness/elfix/elfix-${PV}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/elfix-${PV}/scripts"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="+ptpax xtpax"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/elfutils
|
||||
xtpax? ( sys-apps/attr )"
|
||||
|
||||
RDEPEND=""
|
||||
|
||||
src_compile() {
|
||||
unset PTPAX
|
||||
unset XTPAX
|
||||
use ptpax && export PTPAX="yes"
|
||||
use xtpax && export XTPAX="yes"
|
||||
distutils_src_compile
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST mingwrt-3.16-mingw32-src.tar.gz 381251 SHA256 68cc000f3efd7c5437d29c86e09e2cb4e89aafdff4ac6194fb3c7d92f6e09266 SHA512 f2c92fb229b261119afb94272f3c26cb15d1546c9f82f784eb97f851055131d4e0d6954645994b6777b727517a6c012eda1ddefe637e639a212134c24f76e224 WHIRLPOOL 116eb47d3cdf2b859f53b57a0c90e0814a9a61532967a5e62c190ffbfa46e86fc4e9617100955e59211866546eb21129fca7f044fbe07bd2b79d274caa6274a2
|
||||
DIST mingwrt-3.18-mingw32-src.tar.gz 391939 SHA256 de4979fd6eedeb21d2d506fe4880a838706dc88cbebe031e38561967fb7cbd42 SHA512 87778f08469a806dda606b0945d00511fccd0f7e0d545a33e2b4685db2490ec6a3e5e4267090b79a88eb963f97035fe8149097892f1f4a6e85f3a4661eb5e977 WHIRLPOOL c8883fcb3a4d04e9bf28e8ee15c9d5eb1fea62d7d3aed1dcfd4ae90f7186468296dc67dcd27f2e11b4af762e0fd833749a0065f4744992295c45a881aa58817a
|
||||
DIST mingwrt-3.20-2-mingw32-src.tar.lzma 302072 SHA256 398d300407861dda1d11cc5e2a4e44a1798503f364169459633020ea224a987c SHA512 ffb8e3d46a4646b236b67df0d9d21571a0ee8b78125989d506c176e03922e520201770a03093f27789f0e4373bf64f69d41e377d861ddd008b5e29da65fb1d55 WHIRLPOOL 46efda9e299fb29d538b4bb3aba9743f141e96bb60b15c62668a0b565bb84825d5a0e6accc97dafba5ec51dac904c917d6cea7c1e48676050be8ef3b7744c2e7
|
||||
DIST mingwrt-3.20-mingw32-src.tar.gz 393946 SHA256 f1869483318ed1df5e15e49b8315173e90c1caa2968c4956b7657854c36bfe0a SHA512 2d2d3c7decc7b35ab4759034dcd291c8e322a46205ae70fd4c4d68224c9d7c75454b908f61ba8ca7e0fdf18ff121c5b7ffd02e0658b7557e3af1f89ed28ed58c WHIRLPOOL c66a805cdd4500f142e0d38cd3add06046608addba67e1c0167d96dc4838eacd938c6d38c5d423ab7dd6344070445df5105eeac9bbe3529ca528d02c3f31bad3
|
||||
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/mingw-runtime/mingw-runtime-3.20.2.ebuild,v 1.1 2012/12/17 00:04:11 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
if [[ ${CTARGET} == ${CHOST} ]] ; then
|
||||
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
|
||||
export CTARGET=${CATEGORY/cross-}
|
||||
fi
|
||||
fi
|
||||
|
||||
inherit flag-o-matic autotools versionator
|
||||
|
||||
MY_P="mingwrt-$(version_format_string '$1.$2-$3')-mingw32"
|
||||
DESCRIPTION="Free Win32 runtime and import library definitions"
|
||||
HOMEPAGE="http://www.mingw.org/"
|
||||
# http://sourceforge.net/projects/mingw/files/MinGW/Base/mingw-rt/
|
||||
SRC_URI="mirror://sourceforge/mingw/${MY_P}-src.tar.lzma"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="crosscompile_opts_headers-only"
|
||||
RESTRICT="strip"
|
||||
|
||||
DEPEND="app-arch/xz-utils"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
is_crosscompile() {
|
||||
[[ ${CHOST} != ${CTARGET} ]]
|
||||
}
|
||||
just_headers() {
|
||||
use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then
|
||||
die "Invalid configuration"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-3.20-LDBL_MIN_EXP.patch #395893
|
||||
eautoconf
|
||||
sed -i \
|
||||
-e '/^install_dlls_host:/s:$: install-dirs:' \
|
||||
Makefile.in || die # fix parallel install
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
just_headers && return 0
|
||||
|
||||
CHOST=${CTARGET} strip-unsupported-flags
|
||||
econf \
|
||||
--host=${CTARGET} \
|
||||
--with-w32api-srcdir="/usr/${CTARGET}/usr"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if just_headers ; then
|
||||
insinto /usr/${CTARGET}/usr/include
|
||||
doins -r include/* || die
|
||||
else
|
||||
local insdir
|
||||
is_crosscompile \
|
||||
&& insdir="${D}/usr/${CTARGET}" \
|
||||
|| insdir="${D}"
|
||||
emake install DESTDIR="${insdir}" || die
|
||||
env -uRESTRICT CHOST=${CTARGET} prepallstrip
|
||||
rm -rf "${insdir}"/usr/doc
|
||||
docinto ${CTARGET} # Avoid collisions with other cross-compilers.
|
||||
dodoc CONTRIBUTORS ChangeLog README TODO readme.txt
|
||||
fi
|
||||
is_crosscompile && dosym usr /usr/${CTARGET}/mingw
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST gnome-keyring-2.32.1.tar.bz2 1619245 SHA256 31fecec1430a97f59a6159a5a2ea8d6a1b44287f1e9e595b3594df46bf7f18f9 SHA512 23b91bc11be2805df228de98513a5f96386a89d6ead6434b7fdf4a3bee86b6601bb994b9de4524f8751c7d7f1ac9462c592bcd9b77c32234fc709148450e382b WHIRLPOOL fa9ed1d79a8af912ca8c4957d6dba30322a0239dd2c9b40f5c6adbfc66147402870a6400ae8bbdb56380c250e095b601ab9689f65ea17c95a76e7e2defe27c7d
|
||||
DIST gnome-keyring-3.2.2.tar.xz 1579860 SHA256 f4cdc2c492a9b0157d59439310093e611e1f718a16f7ee2391ac03aadacfaaa3 SHA512 61ca66046183d3c4b9eb3209ffc51653cc6be209b9cff716c815e1ba5d8fdf7b187005a1f13e0b73662a28a5b51569fe96f9037887a01f4d5080d1fac581d806 WHIRLPOOL a90507204089587813f262aa3c4507ed701d335d55bbd7dffea954d31bb398f6b08212360cfdb5df2aab29deb4f26cf512edd830b0059c79f8abc9e4362f293c
|
||||
DIST gnome-keyring-3.4.1.tar.xz 1107820 SHA256 9e90267721198cbe6ebc08f6390d24901d9c0de39b180cd2ad1bbcdd7b30b249 SHA512 3a27a62d1f074fcf4f95de2cbce9ab017aecf63be3f48f9371945b4b0a10a7e1dabe3fe4dc557e9aff8e67e9000769ab895d9c96bcd8187423a418f0dabaeddb WHIRLPOOL 8901777f34f05522a7f805b0369de8ed7366baf3aec9bfc1e5ca651f1b25e0b8e5f21eb5c2a469d7904a11f386b259713b4e40e442ae9c71c3d0559774a0a061
|
||||
DIST gnome-keyring-3.6.2.tar.xz 1139836 SHA256 ae60558d60171325ddd90603328393d35d7b560a70b7ab45c4d2718d01130cd6 SHA512 d469e7cf5721aa3fd22bcf87799f303d01135698af7919f9bb9421ae043729bc8924d6e245b1e7c16d501897c259df35e9e015e79ae4d4c17af473a48dc337c5 WHIRLPOOL 0b24551a964d68e9f6dab211d409e80c49808640cd613a9d8b0cc47edfe288ac167dbc71e3164a81cbad64a1a3f1376f84ecbd023a3443b442da13770969d2ec
|
||||
|
@ -1,42 +0,0 @@
|
||||
configure.ac | 8 ++++----
|
||||
gcr/Makefile.am | 1 +
|
||||
2 files changed, 5 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 70be49e..0fe24a1 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -69,8 +69,8 @@ AC_SUBST(GLIB_CFLAGS)
|
||||
AC_SUBST(GLIB_LIBS)
|
||||
|
||||
PKG_CHECK_MODULES(GMODULE, gmodule-no-export-2.0)
|
||||
-AC_SUBST(GLIB_CFLAGS)
|
||||
-AC_SUBST(GLIB_LIBS)
|
||||
+AC_SUBST(GMODULE_CFLAGS)
|
||||
+AC_SUBST(GMODULE_LIBS)
|
||||
|
||||
PKG_CHECK_MODULES(GTHREAD, gthread-2.0 >= 2.8.0)
|
||||
AC_SUBST(GTHREAD_CFLAGS)
|
||||
@@ -88,8 +88,8 @@ PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.0)
|
||||
AC_SUBST(GTK_CFLAGS)
|
||||
AC_SUBST(GTK_LIBS)
|
||||
|
||||
-DAEMON_CFLAGS="$DAEMON_CFLAGS $GLIB_CFLAGS $GTHREAD_CFLAGS $GOBJECT_CFLAGS $GIO_CFLAGS"
|
||||
-DAEMON_LIBS="$DAEMON_LIBS $GLIB_LIBS $GTHREAD_LIBS $GOBJECT_LIBS $GIO_LIBS"
|
||||
+DAEMON_CFLAGS="$DAEMON_CFLAGS $GLIB_CFLAGS $GTHREAD_CFLAGS $GOBJECT_CFLAGS $GIO_CFLAGS $GMODULE_CFLAGS"
|
||||
+DAEMON_LIBS="$DAEMON_LIBS $GLIB_LIBS $GTHREAD_LIBS $GOBJECT_LIBS $GIO_LIBS $GMODULE_LIBS"
|
||||
|
||||
GETTEXT_PACKAGE=gnome-keyring
|
||||
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [The gettext domain name])
|
||||
diff --git a/gcr/Makefile.am b/gcr/Makefile.am
|
||||
index 0e40215..1f75aa3 100644
|
||||
--- a/gcr/Makefile.am
|
||||
+++ b/gcr/Makefile.am
|
||||
@@ -148,6 +148,7 @@ libgcr_@GCR_MAJOR@_la_LIBADD = \
|
||||
$(top_builddir)/gck/libgck-@GCK_MAJOR@.la \
|
||||
$(GOBJECT_LIBS) \
|
||||
$(GLIB_LIBS) \
|
||||
+ $(GMODULE_LIBS) \
|
||||
$(LIBGCRYPT_LIBS) \
|
||||
$(GTK_LIBS) \
|
||||
$(P11_KIT_LIBS)
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-2.32.1.ebuild,v 1.16 2012/10/24 07:11:50 tetromino Exp $
|
||||
|
||||
EAPI="3"
|
||||
GCONF_DEBUG="yes"
|
||||
|
||||
inherit gnome2 multilib pam virtualx
|
||||
|
||||
DESCRIPTION="Password and keyring managing daemon"
|
||||
HOMEPAGE="http://www.gnome.org/"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
||||
IUSE="debug pam test"
|
||||
# USE=valgrind is probably not a good idea for the tree
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.25:2
|
||||
>=x11-libs/gtk+-2.20:2
|
||||
gnome-base/gconf:2
|
||||
>=sys-apps/dbus-1.0
|
||||
pam? ( virtual/pam )
|
||||
>=dev-libs/libgcrypt-1.2.2
|
||||
>=dev-libs/libtasn1-1"
|
||||
# valgrind? ( dev-util/valgrind )"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.9
|
||||
>=dev-util/intltool-0.35
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
PDEPEND="gnome-base/libgnome-keyring"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
|
||||
# tests fail in several ways, they should be fixed in the next cycle (bug #340283),
|
||||
# revisit then.
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
G2CONF="${G2CONF}
|
||||
$(use_enable debug)
|
||||
$(use_enable test tests)
|
||||
$(use_enable pam)
|
||||
$(use_with pam pam-dir $(getpam_mod_dir))
|
||||
--with-root-certs=${EPREFIX}/usr/share/ca-certificates/
|
||||
--enable-acl-prompts
|
||||
--enable-ssh-agent
|
||||
--enable-gpg-agent
|
||||
--with-gtk=2.0"
|
||||
# $(use_enable valgrind)
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
gnome2_src_prepare
|
||||
|
||||
# Remove silly CFLAGS
|
||||
sed 's:CFLAGS="$CFLAGS -Werror:CFLAGS="$CFLAGS:' \
|
||||
-i configure.in configure || die "sed failed"
|
||||
|
||||
# Remove DISABLE_DEPRECATED flags
|
||||
sed -e '/-D[A-Z_]*DISABLE_DEPRECATED/d' \
|
||||
-i configure.in configure || die "sed 2 failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
Xemake check || die "emake check failed!"
|
||||
}
|
@ -1,120 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.2.2.ebuild,v 1.10 2012/10/24 07:11:50 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
|
||||
inherit autotools eutils gnome2 multilib pam versionator virtualx
|
||||
|
||||
DESCRIPTION="Password and keyring managing daemon"
|
||||
HOMEPAGE="http://www.gnome.org/"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="+caps debug pam test"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
|
||||
|
||||
# USE=valgrind is probably not a good idea for the tree
|
||||
RDEPEND=">=dev-libs/glib-2.25:2
|
||||
>=x11-libs/gtk+-2.90.0:3
|
||||
>=app-crypt/p11-kit-0.6
|
||||
app-misc/ca-certificates
|
||||
>=dev-libs/libgcrypt-1.2.2
|
||||
>=dev-libs/libtasn1-1
|
||||
>=sys-apps/dbus-1.0
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
pam? ( virtual/pam )
|
||||
"
|
||||
# valgrind? ( dev-util/valgrind )
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.9
|
||||
>=dev-util/intltool-0.35
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig"
|
||||
PDEPEND=">=gnome-base/libgnome-keyring-3.1.92"
|
||||
|
||||
# FIXME: tests are flaky and write to /tmp (instead of TMPDIR)
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
G2CONF="${G2CONF}
|
||||
$(use_enable debug)
|
||||
$(use_enable test tests)
|
||||
$(use_with caps libcap-ng)
|
||||
$(use_enable pam)
|
||||
$(use_with pam pam-dir $(getpam_mod_dir))
|
||||
--with-root-certs=${EPREFIX}/etc/ssl/certs/
|
||||
--enable-ssh-agent
|
||||
--enable-gpg-agent
|
||||
--disable-update-mime"
|
||||
# $(use_enable valgrind)
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Disable gcr tests due to weirdness with opensc
|
||||
# ** WARNING **: couldn't load PKCS#11 module: /usr/lib64/pkcs11/gnome-keyring-pkcs11.so: Couldn't initialize module: The device was removed or unplugged
|
||||
sed -e 's/^\(SUBDIRS = \.\)\(.*\)/\1/' \
|
||||
-i gcr/Makefile.* || die "sed failed"
|
||||
|
||||
# gold plus glib-2.32 underlinking fix
|
||||
epatch "${FILESDIR}"/${P}-gold-glib-2.32.patch
|
||||
|
||||
gnome2_src_prepare
|
||||
AT_NOELIBTOOLIZE=yes eautoreconf
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
Xemake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use caps && fcaps 0:0 755 cap_ipc_lock "${ROOT}"/usr/bin/gnome-keyring-daemon
|
||||
|
||||
gnome2_pkg_postinst
|
||||
}
|
||||
|
||||
# borrowed from GSoC2010_Gentoo_Capabilities by constanze and Flameeyes
|
||||
# @FUNCTION: fcaps
|
||||
# @USAGE: fcaps {uid:gid} {file-mode} {cap1[,cap2,...]} {file}
|
||||
# @RETURN: 0 if all okay; non-zero if failure and fallback
|
||||
# @DESCRIPTION:
|
||||
# fcaps sets the specified capabilities in the effective and permitted set of
|
||||
# the given file. In case of failure fcaps sets the given file-mode.
|
||||
# Requires versionator.eclass
|
||||
fcaps() {
|
||||
local uid_gid=$1
|
||||
local perms=$2
|
||||
local capset=$3
|
||||
local path=$4
|
||||
local res
|
||||
|
||||
chmod $perms $path && \
|
||||
chown $uid_gid $path
|
||||
res=$?
|
||||
|
||||
use caps || return $res
|
||||
|
||||
#set the capability
|
||||
setcap "$capset=ep" "$path" &> /dev/null
|
||||
#check if the capabilitiy got set correctly
|
||||
setcap -v "$capset=ep" "$path" &> /dev/null
|
||||
res=$?
|
||||
|
||||
if [ $res -ne 0 ]; then
|
||||
ewarn "Failed to set capabilities. Probable reason is missing kernel support."
|
||||
ewarn "Your kernel must have <FS>_FS_SECURITY enabled (e.g. EXT4_FS_SECURITY)"
|
||||
ewarn "where <FS> is the filesystem to store ${path}"
|
||||
if ! version_is_at_least 2.6.33 "$(uname -r)"; then
|
||||
ewarn "For kernel 2.6.32 or older, you will also need to enable"
|
||||
ewarn "SECURITY_FILE_CAPABILITIES."
|
||||
fi
|
||||
ewarn
|
||||
ewarn "Falling back to suid now..."
|
||||
chmod u+s ${path}
|
||||
fi
|
||||
return $res
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue