diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-04-04 16:07:14 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-04-04 16:07:14 +0000 |
commit | 4bf3e1deab25a10ebb5453f1a957595f220ede5f (patch) | |
tree | 827cfc34fdb29ef9b47a4e610fecbcac173915b4 /x11-themes | |
parent | stable on amd64 wrt #87903 (diff) | |
download | historical-4bf3e1deab25a10ebb5453f1a957595f220ede5f.tar.gz historical-4bf3e1deab25a10ebb5453f1a957595f220ede5f.tar.bz2 historical-4bf3e1deab25a10ebb5453f1a957595f220ede5f.zip |
New version. General cleanup and simplification of the ebuild.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/redhat-artwork/ChangeLog | 8 | ||||
-rw-r--r-- | x11-themes/redhat-artwork/Manifest | 4 | ||||
-rw-r--r-- | x11-themes/redhat-artwork/files/digest-redhat-artwork-0.122.1 | 1 | ||||
-rw-r--r-- | x11-themes/redhat-artwork/redhat-artwork-0.122.1.ebuild | 134 |
4 files changed, 145 insertions, 2 deletions
diff --git a/x11-themes/redhat-artwork/ChangeLog b/x11-themes/redhat-artwork/ChangeLog index 3ea8e45bf16e..d9599bcd06f5 100644 --- a/x11-themes/redhat-artwork/ChangeLog +++ b/x11-themes/redhat-artwork/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-themes/redhat-artwork # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/redhat-artwork/ChangeLog,v 1.51 2005/04/03 21:35:38 greg_g Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/redhat-artwork/ChangeLog,v 1.52 2005/04/04 16:07:14 greg_g Exp $ + +*redhat-artwork-0.122.1 (04 Apr 2005) + + 04 Apr 2005; Gregorio Guidi <greg_g@gentoo.org> + +redhat-artwork-0.122.1.ebuild: + New version. General cleanup and simplification of the ebuild. 03 Apr 2005; Gregorio Guidi <greg_g@gentoo.org> redhat-artwork-0.120.1.2.ebuild: diff --git a/x11-themes/redhat-artwork/Manifest b/x11-themes/redhat-artwork/Manifest index 7af8f88334de..17a638645e28 100644 --- a/x11-themes/redhat-artwork/Manifest +++ b/x11-themes/redhat-artwork/Manifest @@ -1,11 +1,13 @@ MD5 8f906ffe0aa837e5e26fe03af3043461 metadata.xml 219 MD5 29e1557a988e86e3ae51c78b949fea23 redhat-artwork-0.73.ebuild 5289 MD5 dd670ef76cb1d27806060601cb49100a redhat-artwork-0.96.ebuild 5324 +MD5 37e4d278167b6acfac54f4ff95fd233b redhat-artwork-0.122.1.ebuild 4031 MD5 847feb9f261cf173e0e45c7fa681401d redhat-artwork-0.120.1.2.ebuild 5007 -MD5 e5e7786d97812bd40acc0795ab646518 ChangeLog 7697 +MD5 f68f4331f6f10bdd7fa58b8d3c59088c ChangeLog 7886 MD5 65696d4166b0dd367e00c8c995f650e0 redhat-artwork-0.120.ebuild 5326 MD5 78e7b042fa08cfb372e656b3b2cb3831 redhat-artwork-0.95.ebuild 5169 MD5 dd889dbdcebae49dc59d0d60dff259de files/redhat-artwork-0.63-cursors.patch 1071 +MD5 5d907e18affa414570d39790d791b072 files/digest-redhat-artwork-0.122.1 76 MD5 9912a3c64a0b848f2ccf2673f2b3093d files/redhat-artwork-0.63-gcc2.patch 483 MD5 17e6ab0b628ed039eb471b3dba20157a files/digest-redhat-artwork-0.95 75 MD5 bd1e13df0214635279d65b8c6c245759 files/digest-redhat-artwork-0.96 75 diff --git a/x11-themes/redhat-artwork/files/digest-redhat-artwork-0.122.1 b/x11-themes/redhat-artwork/files/digest-redhat-artwork-0.122.1 new file mode 100644 index 000000000000..b8a1348b4fc5 --- /dev/null +++ b/x11-themes/redhat-artwork/files/digest-redhat-artwork-0.122.1 @@ -0,0 +1 @@ +MD5 4a961c093d227264383fa6de2cb00636 redhat-artwork-0.122-1.src.rpm 7773603 diff --git a/x11-themes/redhat-artwork/redhat-artwork-0.122.1.ebuild b/x11-themes/redhat-artwork/redhat-artwork-0.122.1.ebuild new file mode 100644 index 000000000000..f535b014ed13 --- /dev/null +++ b/x11-themes/redhat-artwork/redhat-artwork-0.122.1.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/redhat-artwork/redhat-artwork-0.122.1.ebuild,v 1.1 2005/04/04 16:07:14 greg_g Exp $ + +inherit eutils rpm versionator kde-functions + +MY_PV=$(replace_version_separator 2 '-') +DESCRIPTION="RedHat's Bluecurve theme for GTK1, GTK2, KDE, GDM, Metacity and Nautilus" +HOMEPAGE="http://www.redhat.com" +SRC_URI="http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/${PN}-${MY_PV}.src.rpm" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86 ~ppc ~alpha ~sparc ~amd64" +IUSE="gtk gtk2 kde xmms" + +RDEPEND=">=x11-libs/gtk+-2.0 + gtk? ( !gtk2? ( >=media-libs/gdk-pixbuf-0.2.5 + =x11-libs/gtk+-1.2* ) ) + kde? ( || ( ( kde-base/kcontrol kde-base/kwin ) + kde-base/kdebase ) )" + +DEPEND="${RDEPEND} + sys-devel/autoconf + sys-devel/automake + media-gfx/icon-slicer + dev-util/intltool" + +MY_SV=$(get_version_component_range 1-2) +S=${WORKDIR}/${PN}-${MY_SV} + +src_compile() { + if use kde; then + set-qtdir 3 + set-kdedir 3 + fi + + # dies if LANG has UTF-8 + export LANG=C + export LC_ALL=C + + export WANT_AUTOCONF=2.5 + export WANT_AUTOMAKE=1.8 + + rm configure + sed -i -e "s|.*MCOPIDL.*||" \ + -e "s|.*ARTSCCONFIG.*||" \ + acinclude.m4 + + if ! use kde; then + sed -i -e "s|KDE_SET_PREFIX||" \ + -e "s|KDE_CHECK_FINAL||" \ + -e "s|dnl KDE_USE_QT||" \ + -e "s|AC_PATH_KDE||" \ + -e "s|art/kde/Makefile||" \ + -e "s|art/kde/kwin/Makefile||" \ + -e "s|art/kde/kwin/Bluecurve/Makefile||" \ + configure.in + + sed -i -e "s|kde||" \ + -e "s|qt||" \ + art/Makefile.am + fi + + # enable gtk 1.x support only if gtk2 flag is not set + if ! use gtk || use gtk2; then + sed -i -e "s|AM_PATH_GTK(1.2.9, ,||" \ + -e "s|AC_MSG_ERROR(.*GTK+-1.*||" \ + -e "s|AC_CHECK_LIB(gtk, gtk_style_set_prop_experimental, :,||" \ + -e "s|AC_MSG_ERROR(.*gtk_style.*||" \ + -e "s| \$GTK_LIBS)||" \ + -e "s|AM_PATH_GDK_PIXBUF||" \ + -e "s|art/gtk/Bluecurve1/Makefile||" \ + -e "s|art/gtk/Bluecurve1/gtk/Makefile||" \ + configure.in + + sed -i -e "s|Bluecurve1||" \ + art/gtk/Makefile.am + fi + + sed -i -e 's| $(datadir)| $(DESTDIR)$(datadir)|' \ + art/cursor/Bluecurve/Makefile.am \ + art/cursor/Bluecurve-inverse/Makefile.am \ + art/icon/Makefile.am \ + art/icon/Bluecurve/sheets/Makefile.am || die + + autoreconf --force --install || die "autoreconf failed" + + sed -i -e "s|GtkStyle|4|" art/qt/Bluecurve/bluecurve.cpp || die + + econf || die + emake QTDIR="${QTDIR}" styledir="${QTDIR}/plugins/styles" || die +} + +src_install () { + # dies if LANG has UTF-8 + export LANG=C + export LC_ALL=C + + make QTDIR="${QTDIR}" styledir="${QTDIR}/plugins/styles" \ + DESTDIR="${D}" install || die + + # yank redhat logos (registered trademarks, etc) + rm -f ${D}/usr/share/gdm/themes/Bluecurve/rh_logo-header.png + rm -f ${D}/usr/share/gdm/themes/Bluecurve/screenshot.png + + cd ${D}/usr/share/gdm/themes/Bluecurve/ + + # replace redhat logo with gnome logo from happygnome theme + sed -i -e 's|<normal file="rh_logo-header.png"/>|<normal file="/usr/share/gdm/themes/happygnome/gnome-logo.png"/>|' \ + -e 's|<pos x="3%" y="5%" width="398" height="128" anchor="nw"/>|<pos x="3%" y="3%"/>|' \ + Bluecurve.xml || die + + # Bluecurve GDM screenshot has redhat logo + # Theme copyright notice left intact... do not modify it + sed -i -e 's|Screenshot=|#Screenshot=|' GdmGreeterTheme.desktop + + # move cursors to /usr/share/cursors/${X11_IMPL} + X11_IMPLEM_P="$(best_version virtual/x11)" + X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" + X11_IMPLEM="${X11_IMPLEM##*\/}" + + for x in Bluecurve Bluecurve-inverse; do + dodir /usr/share/cursors/${X11_IMPLEM}/${x} + mv ${D}/usr/share/icons/${x}/cursors ${D}/usr/share/cursors/${X11_IMPLEM}/${x} + dosym /usr/share/cursors/${X11_IMPLEM}/${x}/cursors /usr/share/icons/${x}/cursors + done + + # remove xmms skin if unneeded + use xmms || rm -rf "${D}/usr/share/xmms" + + cd ${S} + dodoc AUTHORS NEWS README ChangeLog +} |