diff options
author | 2015-06-05 01:30:00 +0000 | |
---|---|---|
committer | 2015-06-05 01:30:00 +0000 | |
commit | f9a93403aa106708b02db85a34280e6af0615907 (patch) | |
tree | 09945fc79146e877bcff81a154ef26ccdd9d255f /x11-libs | |
parent | Add multilib support for glib-1 since it seems a few users still need it; tha... (diff) | |
download | gentoo-2-f9a93403aa106708b02db85a34280e6af0615907.tar.gz gentoo-2-f9a93403aa106708b02db85a34280e6af0615907.tar.bz2 gentoo-2-f9a93403aa106708b02db85a34280e6af0615907.zip |
Add multilib support for gtk+-1 since it seems a few users still need it; thanks to Ian Stakenvicius for the ebuild (bug #534016).
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x18E5B6F2D8D5EC8D)
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/gtk+/ChangeLog | 9 | ||||
-rw-r--r-- | x11-libs/gtk+/gtk+-1.2.10-r13.ebuild | 101 |
2 files changed, 109 insertions, 1 deletions
diff --git a/x11-libs/gtk+/ChangeLog b/x11-libs/gtk+/ChangeLog index ecb44bc755f5..91caab2e6da9 100644 --- a/x11-libs/gtk+/ChangeLog +++ b/x11-libs/gtk+/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for x11-libs/gtk+ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.778 2015/05/25 02:53:12 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/ChangeLog,v 1.779 2015/06/05 01:30:00 tetromino Exp $ + +*gtk+-1.2.10-r13 (05 Jun 2015) + + 05 Jun 2015; Alexandre Rostovtsev <tetromino@gentoo.org> + +gtk+-1.2.10-r13.ebuild: + Add multilib support for gtk+-1 since it seems a few users still need it; + thanks to Ian Stakenvicius for the ebuild (bug #534016). *gtk+-2.24.28-r1 (25 May 2015) diff --git a/x11-libs/gtk+/gtk+-1.2.10-r13.ebuild b/x11-libs/gtk+/gtk+-1.2.10-r13.ebuild new file mode 100644 index 000000000000..13bbbd4e9c53 --- /dev/null +++ b/x11-libs/gtk+/gtk+-1.2.10-r13.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+/gtk+-1.2.10-r13.ebuild,v 1.1 2015/06/05 01:30:00 tetromino Exp $ + +EAPI=5 + +GNOME_TARBALL_SUFFIX="gz" +GNOME2_LA_PUNT="yes" + +inherit autotools eutils gnome2 toolchain-funcs multilib-minimal + +DESCRIPTION="The GIMP Toolkit" +HOMEPAGE="http://www.gtk.org/" +SRC_URI="${SRC_URI} http://www.ibiblio.org/gentoo/distfiles/gtk+-1.2.10-r8-gentoo.diff.bz2" + +LICENSE="LGPL-2.1+" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="nls debug" + +# Supported languages and translated documentation +# Be sure all languages are prefixed with a single space! +MY_AVAILABLE_LINGUAS=" az ca cs da de el es et eu fi fr ga gl hr hu it ja ko lt nl nn no pl pt_BR pt ro ru sk sl sr sv tr uk vi" +IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}" + +RDEPEND=">=dev-libs/glib-1.2.10-r6:1[${MULTILIB_USEDEP}] + >=x11-libs/libX11-1.5.0-r1[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.1-r1[${MULTILIB_USEDEP}] + >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}] + >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND} + >=x11-proto/inputproto-2.2-r1[${MULTILIB_USEDEP}] + >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}] + nls? ( sys-devel/gettext dev-util/intltool )" + +MULTILIB_CHOST_TOOLS=(/usr/bin/gtk-config) + +src_prepare() { + epatch "${FILESDIR}"/${P}-m4.patch + epatch "${FILESDIR}"/${P}-automake.patch + epatch "${FILESDIR}"/${P}-cleanup.patch + epatch "${DISTDIR}"/gtk+-1.2.10-r8-gentoo.diff.bz2 + epatch "${FILESDIR}"/${PN}-1.2-locale_fix.patch + epatch "${FILESDIR}"/${P}-as-needed.patch + sed -i '/libtool.m4/,/AM_PROG_NM/d' acinclude.m4 #168198 + epatch "${FILESDIR}"/${P}-automake-1.13.patch #467520 + eautoreconf + gnome2_src_prepare +} + +multilib_src_configure() { + local myconf= + use nls || myconf="${myconf} --disable-nls" + strip-linguas ${MY_AVAILABLE_LINGUAS} + + if use debug ; then + myconf="${myconf} --enable-debug=yes" + else + myconf="${myconf} --enable-debug=minimum" + fi + + ECONF_SOURCE="${S}" \ + gnome2_src_configure \ + --disable-static \ + --sysconfdir="${EPREFIX}"/etc \ + --with-xinput=xfree \ + --with-x \ + ${myconf} \ + GLIB_CONFIG="/usr/bin/${CHOST}-glib-config" +} + +multilib_src_compile() { + emake CC="$(tc-getCC)" +} + +multilib_src_install() { + gnome2_src_install +} + +multilib_src_install_all() { + einstalldocs + docinto docs + cd docs + dodoc *.txt *.gif text/* + dohtml -r html + + #install nice, clean-looking gtk+ style + insinto /usr/share/themes/Gentoo/gtk + doins "${FILESDIR}"/gtkrc +} + +pkg_postinst() { + if [[ -e /etc/X11/gtk/gtkrc ]] ; then + ewarn "Older versions added /etc/X11/gtk/gtkrc which changed settings for" + ewarn "all themes it seems. Please remove it manually as it will not due" + ewarn "to /env protection." + fi + + echo "" + einfo "The old gtkrc is available through the new Gentoo gtk theme." +} |