From ba5d1256a4d186999e4cf6218e42e8d19edb300e Mon Sep 17 00:00:00 2001 From: Leonardo Boshell Date: Thu, 4 Aug 2005 09:36:53 +0000 Subject: New package (bug #33928) Package-Manager: portage-2.0.51.22-r2 --- x11-themes/smooth-themes/ChangeLog | 9 ++++ x11-themes/smooth-themes/Manifest | 5 ++ .../smooth-themes/files/digest-smooth-themes-0.5.8 | 1 + .../files/smooth-themes-0.5.8-remove_checks.patch | 55 ++++++++++++++++++++++ x11-themes/smooth-themes/metadata.xml | 15 ++++++ .../smooth-themes/smooth-themes-0.5.8.ebuild | 41 ++++++++++++++++ 6 files changed, 126 insertions(+) create mode 100644 x11-themes/smooth-themes/ChangeLog create mode 100644 x11-themes/smooth-themes/Manifest create mode 100644 x11-themes/smooth-themes/files/digest-smooth-themes-0.5.8 create mode 100644 x11-themes/smooth-themes/files/smooth-themes-0.5.8-remove_checks.patch create mode 100644 x11-themes/smooth-themes/metadata.xml create mode 100644 x11-themes/smooth-themes/smooth-themes-0.5.8.ebuild (limited to 'x11-themes/smooth-themes') diff --git a/x11-themes/smooth-themes/ChangeLog b/x11-themes/smooth-themes/ChangeLog new file mode 100644 index 000000000000..bcd9132c1656 --- /dev/null +++ b/x11-themes/smooth-themes/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for x11-themes/smooth-themes +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/smooth-themes/ChangeLog,v 1.1 2005/08/04 09:36:53 leonardop Exp $ + +*smooth-themes-0.5.8 (04 Aug 2005) + + 04 Aug 2005; Leonardo Boshell + smooth-themes-0.5.8.ebuild: + New package, reported on bug #33928. Initial work by Anton Romanov. diff --git a/x11-themes/smooth-themes/Manifest b/x11-themes/smooth-themes/Manifest new file mode 100644 index 000000000000..4fb0384a50c0 --- /dev/null +++ b/x11-themes/smooth-themes/Manifest @@ -0,0 +1,5 @@ +MD5 a50d6e165e07ea157dfe22ceef559433 metadata.xml 580 +MD5 022e35ad84630edd6d6d911c35f8608a ChangeLog 415 +MD5 6fc0eaa6aa899faac7b623a6e93445a9 smooth-themes-0.5.8.ebuild 1247 +MD5 49c17e757d5c60cc925dda14c37b5314 files/digest-smooth-themes-0.5.8 71 +MD5 e00695d75397a040b1e3fe3038b8b0ce files/smooth-themes-0.5.8-remove_checks.patch 2016 diff --git a/x11-themes/smooth-themes/files/digest-smooth-themes-0.5.8 b/x11-themes/smooth-themes/files/digest-smooth-themes-0.5.8 new file mode 100644 index 000000000000..860eb87e4a03 --- /dev/null +++ b/x11-themes/smooth-themes/files/digest-smooth-themes-0.5.8 @@ -0,0 +1 @@ +MD5 a46c592261c4d371498d644eece6493e smooth-themes-0.5.8.tar.gz 117158 diff --git a/x11-themes/smooth-themes/files/smooth-themes-0.5.8-remove_checks.patch b/x11-themes/smooth-themes/files/smooth-themes-0.5.8-remove_checks.patch new file mode 100644 index 000000000000..ec8343a83b49 --- /dev/null +++ b/x11-themes/smooth-themes/files/smooth-themes-0.5.8-remove_checks.patch @@ -0,0 +1,55 @@ +diff -NurdB smooth-themes-0.5.8/configure.in smooth-themes-0.5.8-patched/configure.in +--- smooth-themes-0.5.8/configure.in 2004-06-20 15:25:50.000000000 -0500 ++++ smooth-themes-0.5.8-patched/configure.in 2005-08-04 03:57:51.000000000 -0500 +@@ -12,45 +12,13 @@ + + AC_PROG_INSTALL + +-AC_ARG_ENABLE(gtk-1, [ --enable-gtk-1 Only install for GTK+ 1.2.X], gtk_1=$enableval, gtk_1="no") +-AC_ARG_ENABLE(gtk-2, [ --enable-gtk-2 Only install for GTK+ 2.X], gtk_2=$enableval, gtk_2="yes") +-AC_ARG_ENABLE(local-install, [ --enable-local-install try to install local for the user, instead of system wide] , local_install=$enableval, local_install="no") +- +-if test $gtk_1 = "yes"; then +- gtk_config_progs="gtk-config gtk12-config" +- AC_PATH_PROGS(gtk_config, $gtk_config_progs, no, $prefix/bin) +- if test $gtk_config = "no"; then +- AC_MSG_ERROR(Could not find installation of GTK+ 1.2.X. Try ./configure --help) +- fi +- +- AC_PATH_PROGS(gdk_pixbuf_config, "gdk-pixbuf-config", no, $prefix/bin) +- if test $gdk_pixbuf_config = "no"; then +- AC_MSG_ERROR(Could not find installation of GDK-Pixbuf, this probably means you also are missing smooth-engine for GTK 1.2.X, otherwise try ./configure --help) +- fi +- +- if test $local_install = "yes"; then +- SMOOTH_GTK1_THEMES_DIR="~/.themes" +- else +- SMOOTH_GTK1_THEMES_DIR="$datadir/themes" +- fi +- +- AC_SUBST(SMOOTH_GTK1_THEMES_DIR) +- BUILD_SUBDIRS="gtk" +-fi +- +-if test $gtk_2 = "yes"; then +- PKG_CHECK_MODULES(SMOOTH_GTK2, gtk+-2.0 >= 2.0.0, , +- AC_MSG_ERROR([GTK+-2.0 is required])) +- +- if test $local_install = "yes"; then +- SMOOTH_GTK2_THEMES_DIR="~/.themes" +- else +- SMOOTH_GTK2_THEMES_DIR="$datadir/themes" +- fi +- AC_SUBST(SMOOTH_GTK2_THEMES_DIR) ++SMOOTH_GTK1_THEMES_DIR="$datadir/themes" ++AC_SUBST(SMOOTH_GTK1_THEMES_DIR) ++BUILD_SUBDIRS="gtk" + +- BUILD_SUBDIRS="$BUILD_SUBDIRS gtk-2.0" +-fi ++SMOOTH_GTK2_THEMES_DIR="$datadir/themes" ++AC_SUBST(SMOOTH_GTK2_THEMES_DIR) ++BUILD_SUBDIRS="$BUILD_SUBDIRS gtk-2.0" + + AC_SUBST(BUILD_SUBDIRS) + diff --git a/x11-themes/smooth-themes/metadata.xml b/x11-themes/smooth-themes/metadata.xml new file mode 100644 index 000000000000..9b6568c4dc15 --- /dev/null +++ b/x11-themes/smooth-themes/metadata.xml @@ -0,0 +1,15 @@ + + + + gnome + + leonardop@gentoo.org + Leonardo Boshell + + + Smooth-Themes aims to be a good clean set of smooth based themes, + useable in their own right, but sufficiently documented inline and + well organized so as to allow a good basis for learning and + adequate frameworks for others to build their own themes off of. + + diff --git a/x11-themes/smooth-themes/smooth-themes-0.5.8.ebuild b/x11-themes/smooth-themes/smooth-themes-0.5.8.ebuild new file mode 100644 index 000000000000..326ee166f5e2 --- /dev/null +++ b/x11-themes/smooth-themes/smooth-themes-0.5.8.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/smooth-themes/smooth-themes-0.5.8.ebuild,v 1.1 2005/08/04 09:36:53 leonardop Exp $ + +inherit eutils + +DESCRIPTION="A clean set of GTK+2 themes based on the Smooth engine" +HOMEPAGE="http://sourceforge.net/projects/smooth-engine/" +SRC_URI="mirror://sourceforge/smooth-engine/${P}.tar.gz" + +KEYWORDS="~x86" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="gtk2" + +# This package installs both GTK+1 and GTK+2 themes, and tries to set the +# correct runtime dependencies according to the 'gtk2' USE flag. It is a poor +# way to handle the dependencies and themes to install, but it is pretty much +# the best alternative at the moment. +DEPEND="" +RDEPEND="gtk2? ( >=x11-themes/gtk-engines-2 ) + !gtk2? ( x11-themes/gtk-engines-smooth )" + +src_unpack() { + unpack ${A} + cd ${S} + + # Remove unnecessary checks in the configure script + epatch ${FILESDIR}/${P}-remove_checks.patch + + export WANT_AUTOMAKE=1.8 + aclocal || die "aclocal failed" + autoconf || die "autoconf failed" + automake || die "automake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "Installation failed" + + dodoc AUTHORS ChangeLog NEWS README +} -- cgit v1.2.3-65-gdbad