diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2005-08-03 03:20:10 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2005-08-03 03:20:10 +0000 |
commit | 2b479131194066b1d2838c70b0df8f0e7685d2c7 (patch) | |
tree | a95fbc3af75281d46ff432ba7a2a04ea37c69da9 /x11-themes | |
parent | Version Bump. Add support for ssl. Fix RDEPEND/DEPEND. (diff) | |
download | gentoo-2-2b479131194066b1d2838c70b0df8f0e7685d2c7.tar.gz gentoo-2-2b479131194066b1d2838c70b0df8f0e7685d2c7.tar.bz2 gentoo-2-2b479131194066b1d2838c70b0df8f0e7685d2c7.zip |
Moving from x11-themes/qtpixmap. Don't inherit from gtk-engines2.eclass.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'x11-themes')
6 files changed, 226 insertions, 0 deletions
diff --git a/x11-themes/gtk-engines-qtpixmap/ChangeLog b/x11-themes/gtk-engines-qtpixmap/ChangeLog new file mode 100644 index 000000000000..493c2c49a13a --- /dev/null +++ b/x11-themes/gtk-engines-qtpixmap/ChangeLog @@ -0,0 +1,65 @@ +# ChangeLog for x11-themes/gtk-engines-qtpixmap +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-qtpixmap/ChangeLog,v 1.1 2005/08/03 03:20:10 leonardop Exp $ + +*gtk-engines-qtpixmap-0.28-r1 (02 Aug 2005) + + 02 Aug 2005; Leonardo Boshell <leonardop@gentoo.org> + gtk-engines-qtpixmap-0.28-r1.ebuild, metadata.xml, + files/gtk-engines-qtpixmap-0.28-gtk-switches.patch: + Moving from x11-themes/qtpixmap. Don't inherit from gtk-engines2.eclass. + Only install one engine according to the 'gtk2' USE flag. Added + metadata.xml. + + 17 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> qtpixmap-0.28.ebuild: + Stable on ppc. + + 12 Nov 2004; Bryan Østergaard <kloeri@gentoo.org> qtpixmap-0.28.ebuild: + Stable on alpha. + + 06 Nov 2004; <pyrania@gentoo.org> qtpixmap-0.28.ebuild: + Marked stable on x86. + + 31 Aug 2004; Gustavo Zacarias <gustavoz@gentoo.org> qtpixmap-0.28.ebuild: + Stable on sparc + + 08 Aug 2004; Tom Martin <slarti@gentoo.org> qtpixmap-0.25.ebuild, + qtpixmap-0.26.ebuild, qtpixmap-0.27.ebuild, qtpixmap-0.28.ebuild: + Typo in DESCRIPTION: modifed -> modified. Bug 59717. + +*qtpixmap-0.28 (03 Jul 2004) + + 03 Jul 2004; <pyrania@gentoo.org> +qtpixmap-0.28.ebuild: + Version bump. Closing bug #54075. + + 13 Mar 2004; Stephen P. Becker <geoman@gentoo.org> qtpixmap-0.27.ebuild: + Added ~mips keyword. + + 01 Mar 2004; Markus Nigbur <pyrania@gentoo.org> qtpixmap-0.26.ebuild, + qtpixmap-0.27.ebuild: + Stable on x86. + + 06 Feb 2004; Aron Griffis <agriffis@gentoo.org> qtpixmap-0.27.ebuild: + stable on alpha + + 01 Feb 2004; Jon Portnoy <avenj@gentoo.org> qtpixmap-0.27.ebuild : + AMD64 keywords. + +*qtpixmap-0.27 (23 Oct 2003) + + 23 Oct 2003; Caleb Tennis <caleb@gentoo.org> qtpixmap-0.27.ebuild: + New version - fixes bug in older version with gcc 3.3 + + 31 Aug 2003; Mike Gardiner <obz@gentoo.org> qtpixmap-0.25.ebuild: + Marked stable on x86 + +*qtpixmap-0.26 (31 Aug 2003) + + 31 Aug 2003; Mike Gardiner <obz@gentoo.org> qtpixmap-0.26.ebuild: + New version + +*qtpixmap-0.25 (22 Jul 2003) + + 22 Jul 2003; Brad Laue <brad@gentoo.org> qtpixmap-0.25.ebuild: + Add qtpixmap, a dependency of gtk-engines-geramik + diff --git a/x11-themes/gtk-engines-qtpixmap/Manifest b/x11-themes/gtk-engines-qtpixmap/Manifest new file mode 100644 index 000000000000..433a638f110a --- /dev/null +++ b/x11-themes/gtk-engines-qtpixmap/Manifest @@ -0,0 +1,5 @@ +MD5 f63937c9b72f8306599dd022768120f5 ChangeLog 1798 +MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158 +MD5 0398badd0bdb9106277c772d46e0dce7 gtk-engines-qtpixmap-0.28-r1.ebuild 1267 +MD5 321ec9a96a2261d0c4243871045afa21 files/gtk-engines-qtpixmap-0.28-gtk_switches.patch 3612 +MD5 a97c99ae5788b9fcb012c99b38f5e803 files/digest-gtk-engines-qtpixmap-0.28-r1 65 diff --git a/x11-themes/gtk-engines-qtpixmap/files/digest-gtk-engines-qtpixmap-0.28-r1 b/x11-themes/gtk-engines-qtpixmap/files/digest-gtk-engines-qtpixmap-0.28-r1 new file mode 100644 index 000000000000..0d9cb00235be --- /dev/null +++ b/x11-themes/gtk-engines-qtpixmap/files/digest-gtk-engines-qtpixmap-0.28-r1 @@ -0,0 +1 @@ +MD5 b68557f815af944a177f25307438727a QtPixmap-0.28.tar.gz 429698 diff --git a/x11-themes/gtk-engines-qtpixmap/files/gtk-engines-qtpixmap-0.28-gtk_switches.patch b/x11-themes/gtk-engines-qtpixmap/files/gtk-engines-qtpixmap-0.28-gtk_switches.patch new file mode 100644 index 000000000000..8f5e10d6681c --- /dev/null +++ b/x11-themes/gtk-engines-qtpixmap/files/gtk-engines-qtpixmap-0.28-gtk_switches.patch @@ -0,0 +1,98 @@ +diff -NurdB QtPixmap-0.28/configure.in QtPixmap-0.28-patched/configure.in +--- QtPixmap-0.28/configure.in 2004-02-03 06:26:07.000000000 -0500 ++++ QtPixmap-0.28-patched/configure.in 2005-08-02 21:59:35.000000000 -0500 +@@ -19,23 +19,28 @@ + FOUND_IMLIB=0 + FOUND_GTK2=0 + +-AC_PATH_PROG(gtkconf, gtk-config, no) +-if test -n "$gtkconf"; then +- vers=`$gtkconf --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` +- if test -n "$vers" && test "$vers" -ge 1002009; then +- GTK_LIBS="`$gtkconf --libs`" +- GTK_CFLAGS="`$gtkconf --cflags`" +- AC_SUBST(GTK_LIBS) +- AC_SUBST(GTK_CFLAGS) +- FOUND_GTK1=1 ++AC_ARG_ENABLE([gtk1], ++ AS_HELP_STRING([--enable-gtk1],[Enable Gtk+1 engine (default=yes)]), ++ [enable_gtk1=$enableval], ++ [enable_gtk1=yes]) ++ ++if test x$enable_gtk1 = xyes; then ++ AC_PATH_PROG(gtkconf, gtk-config, no) ++ if test -n "$gtkconf"; then ++ vers=`$gtkconf --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` ++ if test -n "$vers" && test "$vers" -ge 1002009; then ++ GTK_LIBS="`$gtkconf --libs`" ++ GTK_CFLAGS="`$gtkconf --cflags`" ++ AC_SUBST(GTK_LIBS) ++ AC_SUBST(GTK_CFLAGS) ++ FOUND_GTK1=1 ++ else ++ AC_MSG_ERROR([Not compiling for GTK1.x - you need at least Gtk v1.2.9]) ++ fi + else +- AC_MSG_WARN([Not compiling for GTK1.x - you need at least Gtk v1.2.9]) ++ AC_MSG_ERROR([Not compiling for GTK1.x - Gtk1.x not installed, need at least v1.2.9]) + fi +-else +- AC_MSG_WARN([Not compiling for GTK1.x - Gtk1.x not installed, need at least v1.2.9]) +-fi + +-if test $FOUND_GTK1 -eq 1; then + AC_PATH_PROG(imlibconf, imlib-config, no) + if test -n "$imlibconf"; then + vers=`$imlibconf --version 2>/dev/null | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` +@@ -46,29 +51,36 @@ + AC_SUBST(GDK_IMLIB_CFLAGS) + FOUND_IMLIB=1 + else +- AC_MSG_WARN([Not compiling for GTK1.x - you need at least IMLIB v1.8.0]) ++ AC_MSG_ERROR([Not compiling for GTK1.x - you need at least IMLIB v1.8.0]) + fi + else +- AC_MSG_WARN([Not compiling for GTK1.x - IMLIB not installed, need at least v1.8.0]) ++ AC_MSG_ERROR([Not compiling for GTK1.x - IMLIB not installed, need at least v1.8.0]) + fi + fi + + +-AC_PATH_PROG(pkgconfig, pkg-config, no) +-if test -n "$pkg-config"; then +- GTK2_VERSION=`$pkgconfig --variable=gtk_binary_version gtk+-2.0` +- if test -n "$GTK2_VERSION"; then +- GTK2_CFLAGS=`$pkgconfig gtk+-2.0 --cflags` +- GTK2_LIBS=`$pkgconfig gtk+-2.0 --libs` +- AC_SUBST(GTK2_CFLAGS) +- AC_SUBST(GTK2_LIBS) +- AC_SUBST(GTK2_VERSION) +- FOUND_GTK2=1 ++AC_ARG_ENABLE([gtk2], ++ AS_HELP_STRING([--enable-gtk2],[Enable Gtk+2 engine (default=yes)]), ++ [enable_gtk2=$enableval], ++ [enable_gtk2=yes]) ++ ++if test x$enable_gtk2 = xyes; then ++ AC_PATH_PROG(pkgconfig, pkg-config, no) ++ if test -n "$pkg-config"; then ++ GTK2_VERSION=`$pkgconfig --variable=gtk_binary_version gtk+-2.0` ++ if test -n "$GTK2_VERSION"; then ++ GTK2_CFLAGS=`$pkgconfig gtk+-2.0 --cflags` ++ GTK2_LIBS=`$pkgconfig gtk+-2.0 --libs` ++ AC_SUBST(GTK2_CFLAGS) ++ AC_SUBST(GTK2_LIBS) ++ AC_SUBST(GTK2_VERSION) ++ FOUND_GTK2=1 ++ else ++ AC_MSG_ERROR([Not compiling for GTK2.x - Gtk2.x not installed]) ++ fi + else +- AC_MSG_WARN([Not compiling for GTK2.x - Gtk2.x not installed]) ++ AC_MSG_ERROR([Not compiling for GTK2.x - pkg-config not installed]) + fi +-else +- AC_MSG_WARN([Not compiling for GTK2.x - pkg-config not installed]) + fi + + if (test $FOUND_IMLIB -eq 0) && (test $FOUND_GTK2 -eq 0); then diff --git a/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r1.ebuild b/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r1.ebuild new file mode 100644 index 000000000000..4f60da9e5e78 --- /dev/null +++ b/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r1.ebuild,v 1.1 2005/08/03 03:20:10 leonardop Exp $ + +inherit eutils + +MY_P="QtPixmap-${PV}" + +DESCRIPTION="A modified version of the original GTK pixmap engine which follows the KDE color scheme" +HOMEPAGE="http://www.kde-look.org/content/show.php?content=7043" +SRC_URI="http://www.cpdrummond.freeuk.com/${MY_P}.tar.gz" +KEYWORDS="alpha ~amd64 ~mips ppc sparc x86" +LICENSE="GPL-2" +SLOT="0" +IUSE="gtk2" + +RDEPEND="!gtk2? ( + >=media-libs/imlib-1.8 + =x11-libs/gtk+-1.2* ) + gtk2? ( >=x11-libs/gtk+-2 )" + +DEPEND="${RDEPEND} + gtk2? ( dev-util/pkgconfig )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S} + + # Add switches to enable/disable gtk1 and gtk2 engines in the configure + # script. + epatch ${FILESDIR}/${P}-gtk_switches.patch + + autoconf || die "autoconf failed" +} + +src_compile() { + local myconf="$(use_enable gtk2)" + + use gtk2 && myconf="${myconf} --disable-gtk1" + use gtk2 || myconf="${myconf} --enable-gtk1" + + econf $myconf || die "Configuration failed" + emake || die "Compilation failed" +} + +src_install() { + make DESTDIR="${D}" install || die "Installation failed" + + dodoc AUTHORS ChangeLog README +} diff --git a/x11-themes/gtk-engines-qtpixmap/metadata.xml b/x11-themes/gtk-engines-qtpixmap/metadata.xml new file mode 100644 index 000000000000..da6fd63d0085 --- /dev/null +++ b/x11-themes/gtk-engines-qtpixmap/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnome</herd> +</pkgmetadata> |