summaryrefslogtreecommitdiffstats
path: root/x11-libs/gtk+/gtk+-1.2.10-r15.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/gtk+/gtk+-1.2.10-r15.ebuild')
-rw-r--r--x11-libs/gtk+/gtk+-1.2.10-r15.ebuild129
1 files changed, 0 insertions, 129 deletions
diff --git a/x11-libs/gtk+/gtk+-1.2.10-r15.ebuild b/x11-libs/gtk+/gtk+-1.2.10-r15.ebuild
deleted file mode 100644
index bac36ea..0000000
--- a/x11-libs/gtk+/gtk+-1.2.10-r15.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2007 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-r12.ebuild,v 1.12 2007/01/06 05:09:58 geoman Exp $
-
-GNOME_TARBALL_SUFFIX="gz"
-WANT_AUTOMAKE=1.11
-inherit eutils toolchain-funcs autotools
-
-DESCRIPTION="The GIMP Toolkit"
-HOMEPAGE="http://www.gtk.org/"
-SRC_URI="ftp://ftp.gtk.org/pub/gtk/v1.2/gtk+-1.2.10.tar.gz 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*
- || (
- ( x11-libs/libXi x11-libs/libXt )
- virtual/x11
- )"
-DEPEND="${RDEPEND}
- || (
- ( x11-proto/inputproto x11-proto/xextproto )
- virtual/x11
- )
- nls? ( sys-devel/gettext dev-util/intltool )"
-
-src_unpack() {
- unpack ${P}.tar.gz
- cd "${S}"
- epatch "${FILESDIR}"/${P}-m4.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
-# epatch "${FILESDIR}"/gtk+-ds-gentooalt.patch
-
-## epatch "${FILESDIR}"/gtk+-1.2.10-alt-linkage.patch
-# epatch "${FILESDIR}"/gtk+-1.2.10-cvs-border.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-cvs-dndnewwindow.patch
-# epatch "${FILESDIR}"/gtk+-1.2.10-cvs-expose.patch
-# epatch "${FILESDIR}"/gtk+-1.2.10-cvs-focus.patch
-# epatch "${FILESDIR}"/gtk+-1.2.10-cvs-labelvariable.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-cvs-netwmpid.patch
-### epatch "${FILESDIR}"/gtk+-1.2.10-cvs-rclocale.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-mdk-argb.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-mdk-defaultcolor.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-mdk-fileselectorfallback.patch
-# epatch "${FILESDIR}"/gtk+-1.2.10-mdk-gtklist.patch
-### epatch "${FILESDIR}"/gtk+-1.2.10-mdk-gtkrc_files.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-mdk-libdir.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-mdk-themeswitch.patch
-# epatch "${FILESDIR}"/gtk+-1.2.10-rh-alignment.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-rh-bellvolume.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-rh-clistfocusrow.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-rh-ctext.patch
-### epatch "${FILESDIR}"/gtk+-1.2.10-rh-deletedir.patch
-# epatch "${FILESDIR}"/gtk+-1.2.10-rh-encoding.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-rh-fontwarning.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-rh-kpenter.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-rh-localecrash.patch
-# epatch "${FILESDIR}"/gtk+-1.2.10-rh-m4.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-rh-missingchar.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-rh-pixmapref.patch
- epatch "${FILESDIR}"/gtk+-1.2.10-rh-troughpaint.patch
-# epatch "${FILESDIR}"/gtk+-1.2.6-ximian-noborder.patch
-# epatch "${FILESDIR}"/gtk+-1.2.8-advanced-gtkfilesel.patch
-# epatch "${FILESDIR}"/gtk+-1.2.9-be.patch
-# epatch "${FILESDIR}"/gtk+-1.2.9-rc2.patch
-# epatch "${FILESDIR}"/gtk+-1.2.9-rc.patch
-
- epatch "${FILESDIR}"/gtk+-1.2.10-automake.diff
-
- eautoreconf
-}
-
-src_compile() {
- 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 \
- --sysconfdir=/etc \
- --with-xinput=xfree \
- --with-x \
- ${myconf} || die
-
- rm -f "${S}"/libtool
- cp /usr/bin/libtool "${S}"/
- SED="sed" emake CC="$(tc-getCC)" || die
-}
-
-src_install() {
- SED="sed" make install DESTDIR="${D}" || die
-
- dodoc AUTHORS ChangeLog* HACKING
- dodoc NEWS* README* TODO
- 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."
-}