From 266f378d2c4648cea0d029618902dfd83db31837 Mon Sep 17 00:00:00 2001 From: Krzysztof Pawlik Date: Sun, 28 Jan 2007 20:28:17 +0000 Subject: [PATCH] Version bump. Package-Manager: portage-2.1.2-r4 --- x11-themes/redhat-artwork/ChangeLog | 10 +- x11-themes/redhat-artwork/Manifest | 26 ++- .../files/digest-redhat-artwork-5.0.8-r4 | 3 + .../redhat-artwork-5.0.8-r4.ebuild | 168 ++++++++++++++++++ 4 files changed, 201 insertions(+), 6 deletions(-) create mode 100644 x11-themes/redhat-artwork/files/digest-redhat-artwork-5.0.8-r4 create mode 100644 x11-themes/redhat-artwork/redhat-artwork-5.0.8-r4.ebuild diff --git a/x11-themes/redhat-artwork/ChangeLog b/x11-themes/redhat-artwork/ChangeLog index 28ee478c0563..1fd5856fc0fb 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/redhat-artwork/ChangeLog,v 1.89 2006/11/18 08:34:09 compnerd Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/redhat-artwork/ChangeLog,v 1.90 2007/01/28 20:28:16 nelchael Exp $ + +*redhat-artwork-5.0.8-r4 (28 Jan 2007) + + 28 Jan 2007; Krzysiek Pawlik + +redhat-artwork-5.0.8-r4.ebuild: + Version bump. 18 Nov 2006; Saleem Abdulrasool redhat-artwork-0.243-r1.ebuild: diff --git a/x11-themes/redhat-artwork/Manifest b/x11-themes/redhat-artwork/Manifest index f173b8a7e02f..1524a3527939 100644 --- a/x11-themes/redhat-artwork/Manifest +++ b/x11-themes/redhat-artwork/Manifest @@ -1,12 +1,20 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST redhat-artwork-0.243-2.src.rpm 8239362 RMD160 6a3c4d390c971ff570ca48353395c64731ac2c56 SHA1 4115e4b375d5150c3d2fa50ec8bffd75d290b33d SHA256 1db38e29e4f5b553ad09cb04bdfc3f93aacdf228faa4b8740146c994286cfe84 +DIST redhat-artwork-5.0.8-4.fc7.src.rpm 8298864 RMD160 16fb661589d91fd29bddcc1598ad21cda2166af7 SHA1 1bbeb56d2eb13825bd3ccaad26e82818c584aedd SHA256 ca4372b0174999d249400150365c48bcc2e2f8cd8564ce7b5cf8d8bab1dae268 EBUILD redhat-artwork-0.243-r1.ebuild 5154 RMD160 b2dd7d34d66d248def83d893a92a2c930bfef088 SHA1 805292bf9621d22add7c7cbc893c9f5fc42c80dc SHA256 eb3d921ea455ab0ab110cab0c0af14f49745f48f59f82dc8ac97475138e40506 MD5 c621b0b7062f73e522e5f1e0c550648f redhat-artwork-0.243-r1.ebuild 5154 RMD160 b2dd7d34d66d248def83d893a92a2c930bfef088 redhat-artwork-0.243-r1.ebuild 5154 SHA256 eb3d921ea455ab0ab110cab0c0af14f49745f48f59f82dc8ac97475138e40506 redhat-artwork-0.243-r1.ebuild 5154 -MISC ChangeLog 12491 RMD160 93d282473879545d4dbba1a2eba18faf9ea1e541 SHA1 bd85b58d67a29c243c03e6e65cc66bb096df251f SHA256 3d2ebeeeb7622a5445d9584006c45462966045c1ad1a1de0a03839e770f12c9c -MD5 8eb520e0e75439356660f53f195e3c0c ChangeLog 12491 -RMD160 93d282473879545d4dbba1a2eba18faf9ea1e541 ChangeLog 12491 -SHA256 3d2ebeeeb7622a5445d9584006c45462966045c1ad1a1de0a03839e770f12c9c ChangeLog 12491 +EBUILD redhat-artwork-5.0.8-r4.ebuild 4863 RMD160 28a3be7f05852f89793ac7c7b339e932ebb211d9 SHA1 088e344bcd8d2183993e93a155be311eeb748e3c SHA256 cab0f4e8756fb2797d5688c430184b5a7a06a00a2bdc58dedc8a753fc826da8d +MD5 51170a12276e77be5e8aed0106b525ff redhat-artwork-5.0.8-r4.ebuild 4863 +RMD160 28a3be7f05852f89793ac7c7b339e932ebb211d9 redhat-artwork-5.0.8-r4.ebuild 4863 +SHA256 cab0f4e8756fb2797d5688c430184b5a7a06a00a2bdc58dedc8a753fc826da8d redhat-artwork-5.0.8-r4.ebuild 4863 +MISC ChangeLog 12636 RMD160 ea298fce3ceabbbddea557124092cf232edf8cfa SHA1 1f8f79fc575b0704d2185d8bbc98d0e97670b45e SHA256 328eccc8b67da4d7d82a6cd416fcd3fe13c56664718f281a927311a920ed846c +MD5 e91ea32ee993bd901d732912b7d3e4aa ChangeLog 12636 +RMD160 ea298fce3ceabbbddea557124092cf232edf8cfa ChangeLog 12636 +SHA256 328eccc8b67da4d7d82a6cd416fcd3fe13c56664718f281a927311a920ed846c ChangeLog 12636 MISC metadata.xml 318 RMD160 859b460cd0491f4da02222344414b9a384bb309a SHA1 81e1b1e17685e0070d9aa247530199ba2681cb27 SHA256 ffcf55c4ff84e5a102a2a19e68d4f8839f2af2f268efc403b7c1af1136445972 MD5 1c94384c99f530fc87eab2d9b0e16385 metadata.xml 318 RMD160 859b460cd0491f4da02222344414b9a384bb309a metadata.xml 318 @@ -14,3 +22,13 @@ SHA256 ffcf55c4ff84e5a102a2a19e68d4f8839f2af2f268efc403b7c1af1136445972 metadata MD5 a853e476f05ae2128b53cbc6530a2cf0 files/digest-redhat-artwork-0.243-r1 274 RMD160 e6349ba3c62ab981a0c54c21921e02a528df6b21 files/digest-redhat-artwork-0.243-r1 274 SHA256 86018ba774a0cd1e7c2b89a3f60d3d46dec94a2c1e9ebde883f0c9efef8c07ee files/digest-redhat-artwork-0.243-r1 274 +MD5 911a6b146140e5da3a63b70846dcd9fc files/digest-redhat-artwork-5.0.8-r4 286 +RMD160 3d315b85e39253961d1c1d85f6623052498ff0d8 files/digest-redhat-artwork-5.0.8-r4 286 +SHA256 4eb06ce68f4aca8b3e086aacfd8f079f84d3fb4ed3384c3a1523697bd8276106 files/digest-redhat-artwork-5.0.8-r4 286 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.1 (GNU/Linux) + +iD8DBQFFvQdogo/w9rxVVVERAluZAJ0RvG8u7Q6izw185i/iw83m7f757wCdFZ6r +OqxJgd1djHLG3AO1z/GKehk= +=Voso +-----END PGP SIGNATURE----- diff --git a/x11-themes/redhat-artwork/files/digest-redhat-artwork-5.0.8-r4 b/x11-themes/redhat-artwork/files/digest-redhat-artwork-5.0.8-r4 new file mode 100644 index 000000000000..1eadb5396ffb --- /dev/null +++ b/x11-themes/redhat-artwork/files/digest-redhat-artwork-5.0.8-r4 @@ -0,0 +1,3 @@ +MD5 e9ad79a4d7624ecffbcecb8165125650 redhat-artwork-5.0.8-4.fc7.src.rpm 8298864 +RMD160 16fb661589d91fd29bddcc1598ad21cda2166af7 redhat-artwork-5.0.8-4.fc7.src.rpm 8298864 +SHA256 ca4372b0174999d249400150365c48bcc2e2f8cd8564ce7b5cf8d8bab1dae268 redhat-artwork-5.0.8-4.fc7.src.rpm 8298864 diff --git a/x11-themes/redhat-artwork/redhat-artwork-5.0.8-r4.ebuild b/x11-themes/redhat-artwork/redhat-artwork-5.0.8-r4.ebuild new file mode 100644 index 000000000000..3f16482ac4e8 --- /dev/null +++ b/x11-themes/redhat-artwork/redhat-artwork-5.0.8-r4.ebuild @@ -0,0 +1,168 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/redhat-artwork/redhat-artwork-5.0.8-r4.ebuild,v 1.1 2007/01/28 20:28:16 nelchael Exp $ + +inherit eutils rpm kde-functions autotools + +MY_R=${PR/r/} +DESCRIPTION="RedHat's Bluecurve theme for GTK2, KDE, GDM, Metacity and Nautilus" +HOMEPAGE="http://www.redhat.com" +SRC_URI="http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/${P}-${MY_R}.fc7.src.rpm" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" +IUSE="kde audacious" + +# See end of src_install(): +IUSE="${IUSE} gdm kdm cursors icons nautilus" + +RDEPEND=">=x11-libs/gtk+-2.0 + kde? ( || ( ( kde-base/kcontrol kde-base/kwin ) + kde-base/kdebase ) )" + +DEPEND="${RDEPEND} + dev-util/intltool + media-gfx/icon-slicer + =sys-devel/automake-1.8*" + +src_compile() { + + cd "${S}" + epatch ${WORKDIR}/redhat-artwork-5.0.5-add-dirs-to-bluecurve-theme-index.patch + epatch ${WORKDIR}/redhat-artwork-5.0.8-echo.patch + + 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 -f 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 + + 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 + + sed -i -e 's| $(datadir)| $(DESTDIR)$(datadir)|' \ + art/cursor/Bluecurve/Makefile.am \ + art/cursor/Bluecurve-inverse/Makefile.am \ + art/cursor/LBluecurve/Makefile.am \ + art/cursor/LBluecurve-inverse/Makefile.am \ + art/icon/Makefile.am \ + art/icon/Bluecurve/sheets/Makefile.am || die + + eautoreconf --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, use .svg if >=gnome-base/gdm-2.14 installed + if has_version gnome-base/gdm >=2.14; then + sed -i -e 's|||' \ + -e 's|||' Bluecurve.xml || die + else + sed -i -e 's|||' \ + -e 's|||' Bluecurve.xml || die + fi + + # Bluecurve GDM screenshot has redhat logo + # Theme copyright notice left intact... do not modify it + sed -i -e 's|Screenshot=|#Screenshot=|' GdmGreeterTheme.desktop + + X11_IMPLEM="xorg-x11" + + 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 audacious skin if unneeded + if ! use audacious; then + rm -rf "${D}/usr/share/xmms" + else + mv "${D}/usr/share/xmms" "${D}/usr/share/audacious" + fi + + cd ${S} + dodoc AUTHORS NEWS README ChangeLog + + ### + # Some extra features - allows redhat-artwork to be very light: + ### + use gdm || rm -rf ${D}/usr/share/gdm + use kdm || rm -rf ${D}/usr/share/apps/kdm + use cursors || rm -rf ${D}/usr/share/cursors + use icons || { + rm -rf ${D}/usr/share/icons + rm -rf ${D}/usr/share/pixmaps/*.png + } + use nautilus || rm -rf ${D}/usr/share/pixmaps/nautilus + +} + +pkg_postinst() { + + einfo + einfo "This version provides more control over what is installed" + einfo "than previous version." + einfo + einfo "Please check your USE flags." + einfo + + epause + +} -- 2.26.2