diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-themes/gtk-engines-qtpixmap | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-themes/gtk-engines-qtpixmap')
4 files changed, 153 insertions, 0 deletions
diff --git a/x11-themes/gtk-engines-qtpixmap/Manifest b/x11-themes/gtk-engines-qtpixmap/Manifest new file mode 100644 index 000000000000..bf9bc2ee000a --- /dev/null +++ b/x11-themes/gtk-engines-qtpixmap/Manifest @@ -0,0 +1 @@ +DIST QtPixmap-0.28.tar.gz 429698 SHA256 514090d808db0c9ff04792663e24ac5ab663ae5b15ea4914cae8b76f4663a407 SHA512 42a16ed163ed12665d5db587bec3babcd5d802e63a3c282a9382041dc22e0dbcdfc9ae739b8ce224525c877b31f9c615d2c731a633722151a9b1185621a96e55 WHIRLPOOL 04ad32ca0561632203303efa56cd7bc4d407ca244a304a3c4e03289d245f229ffc965324209c122e5f3f62dc9f53014e875f9a043e317c7a2dcca0bb34d6df45 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-r2.ebuild b/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild new file mode 100644 index 000000000000..145305272d39 --- /dev/null +++ b/x11-themes/gtk-engines-qtpixmap/gtk-engines-qtpixmap-0.28-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" + +inherit autotools eutils gnome2 + +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 ia64 ~mips ppc sparc x86" +LICENSE="GPL-2" +SLOT="0" + +IUSE="" + +RDEPEND="x11-libs/gtk+:2" + +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + # Add switches to enable/disable gtk1 and gtk2 engines in the configure + # script. + epatch "${FILESDIR}/${P}-gtk_switches.patch" + + sed -i -e 's/AC_CHECK_COMPILERS/AC_PROG_CC/' configure.in || die + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die + + rm acinclude.m4 + + eautoreconf + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --enable-gtk2 \ + --disable-gtk1 +} 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> |