diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-08 22:09:54 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-08 22:09:54 +0000 |
commit | 00e0841f0aec69d290c127cb178ef3a527407ce0 (patch) | |
tree | d9e6386113f7949c77bbf7d9871c141b9edb15b4 /x11-themes/redhat-artwork | |
parent | Stable on ppc; bug #134760. (diff) | |
download | historical-00e0841f0aec69d290c127cb178ef3a527407ce0.tar.gz historical-00e0841f0aec69d290c127cb178ef3a527407ce0.tar.bz2 historical-00e0841f0aec69d290c127cb178ef3a527407ce0.zip |
This version allows more control over what is installed.
Package-Manager: portage-2.1.1_pre2-r4
Diffstat (limited to 'x11-themes/redhat-artwork')
-rw-r--r-- | x11-themes/redhat-artwork/ChangeLog | 9 | ||||
-rw-r--r-- | x11-themes/redhat-artwork/Manifest | 21 | ||||
-rw-r--r-- | x11-themes/redhat-artwork/files/digest-redhat-artwork-0.243-r1 | 3 | ||||
-rw-r--r-- | x11-themes/redhat-artwork/redhat-artwork-0.243-r1.ebuild | 184 |
4 files changed, 209 insertions, 8 deletions
diff --git a/x11-themes/redhat-artwork/ChangeLog b/x11-themes/redhat-artwork/ChangeLog index ed07d471359e..83578cce9c1e 100644 --- a/x11-themes/redhat-artwork/ChangeLog +++ b/x11-themes/redhat-artwork/ChangeLog @@ -1,6 +1,13 @@ # 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.78 2006/07/01 19:01:39 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-themes/redhat-artwork/ChangeLog,v 1.79 2006/07/08 22:09:54 nelchael Exp $ + +*redhat-artwork-0.243-r1 (08 Jul 2006) + + 08 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +redhat-artwork-0.243-r1.ebuild: + Revision bump: this version allows more control over what is installed. Be + sure to check your USE flags. *redhat-artwork-0.243 (01 Jul 2006) diff --git a/x11-themes/redhat-artwork/Manifest b/x11-themes/redhat-artwork/Manifest index ff427bcadca4..552455b9cdf2 100644 --- a/x11-themes/redhat-artwork/Manifest +++ b/x11-themes/redhat-artwork/Manifest @@ -7,14 +7,18 @@ EBUILD redhat-artwork-0.131.ebuild 3996 RMD160 db81c4e8b689f003e6303bcb40ebc4f32 MD5 352c56fc56c51e54f0d377425ed03d54 redhat-artwork-0.131.ebuild 3996 RMD160 db81c4e8b689f003e6303bcb40ebc4f323d4466e redhat-artwork-0.131.ebuild 3996 SHA256 95bac5462cbaf1e8331f1c13f2b94d290984e4060a000f139c45582d725cb71c redhat-artwork-0.131.ebuild 3996 +EBUILD redhat-artwork-0.243-r1.ebuild 5153 RMD160 6de1b9d67cf36f6e2f016f43ba402c5ecc8a6917 SHA1 ff1c63bbe2dcfbb4ca0635e19452357d2c76bd31 SHA256 7ca8f5e6a64d595c13d4b27e1e3cdac66d728a28cfba979bc58ec0836deaac01 +MD5 1eab2e986c9614f00d9c49938da21f7e redhat-artwork-0.243-r1.ebuild 5153 +RMD160 6de1b9d67cf36f6e2f016f43ba402c5ecc8a6917 redhat-artwork-0.243-r1.ebuild 5153 +SHA256 7ca8f5e6a64d595c13d4b27e1e3cdac66d728a28cfba979bc58ec0836deaac01 redhat-artwork-0.243-r1.ebuild 5153 EBUILD redhat-artwork-0.243.ebuild 4354 RMD160 9def9d59583a0d7ce2f6fe82f1cde3aac2244d4f SHA1 b6c41ce71c407793329816f0ac25069718bc3854 SHA256 e391e4cb9c80cde3e97352c8ec43232ba5e80c7c6a60b2f072788b677dc8a464 MD5 5800e4666ec06687b970b46e96881532 redhat-artwork-0.243.ebuild 4354 RMD160 9def9d59583a0d7ce2f6fe82f1cde3aac2244d4f redhat-artwork-0.243.ebuild 4354 SHA256 e391e4cb9c80cde3e97352c8ec43232ba5e80c7c6a60b2f072788b677dc8a464 redhat-artwork-0.243.ebuild 4354 -MISC ChangeLog 10853 RMD160 2d25d95d2c3b1dc4be15815ea48cf9879623f444 SHA1 035aaebd0a4644758bba122edf024ef34beaf242 SHA256 20c1e0bc5d67605226f3a6da46ea6f80bac619d0f9d4f65bb0d5728776b1fab8 -MD5 254220a4d26029cfc0235b7ddd2ee237 ChangeLog 10853 -RMD160 2d25d95d2c3b1dc4be15815ea48cf9879623f444 ChangeLog 10853 -SHA256 20c1e0bc5d67605226f3a6da46ea6f80bac619d0f9d4f65bb0d5728776b1fab8 ChangeLog 10853 +MISC ChangeLog 11091 RMD160 b50780390ec5fd3c2c2af102fc99379ba4f4eb12 SHA1 0c92e93fe4b0b18d6b1f40556b0654d18efc4cb2 SHA256 df22ab63ab9c1f34ef1b2899e76b7d9afe75922e11005277a1732390b6a0ed94 +MD5 c5fc2beb1a4b3c9b5c3cade0e87ff009 ChangeLog 11091 +RMD160 b50780390ec5fd3c2c2af102fc99379ba4f4eb12 ChangeLog 11091 +SHA256 df22ab63ab9c1f34ef1b2899e76b7d9afe75922e11005277a1732390b6a0ed94 ChangeLog 11091 MISC metadata.xml 318 RMD160 859b460cd0491f4da02222344414b9a384bb309a SHA1 81e1b1e17685e0070d9aa247530199ba2681cb27 SHA256 ffcf55c4ff84e5a102a2a19e68d4f8839f2af2f268efc403b7c1af1136445972 MD5 1c94384c99f530fc87eab2d9b0e16385 metadata.xml 318 RMD160 859b460cd0491f4da02222344414b9a384bb309a metadata.xml 318 @@ -25,10 +29,13 @@ SHA256 604308e11b06e16abd9e369436bc35372fca6be5a2abb696c3ea7350841b3871 files/di MD5 a853e476f05ae2128b53cbc6530a2cf0 files/digest-redhat-artwork-0.243 274 RMD160 e6349ba3c62ab981a0c54c21921e02a528df6b21 files/digest-redhat-artwork-0.243 274 SHA256 86018ba774a0cd1e7c2b89a3f60d3d46dec94a2c1e9ebde883f0c9efef8c07ee files/digest-redhat-artwork-0.243 274 +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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) -iD8DBQFEpsabgo/w9rxVVVERAphzAJ9LLVrNA/GG2xcb3ckUWKjpQAsorQCggCzu -09r62S8GuTKVPskRnF+sU4w= -=RSM4 +iD8DBQFEsC1Igo/w9rxVVVERAlf0AKCFclIcObx+/yecOiAINpf7miIKawCgvOpw +lfgYWndhqQ7+POjtTbKzTys= +=WAbV -----END PGP SIGNATURE----- diff --git a/x11-themes/redhat-artwork/files/digest-redhat-artwork-0.243-r1 b/x11-themes/redhat-artwork/files/digest-redhat-artwork-0.243-r1 new file mode 100644 index 000000000000..5a7fcb2b84a9 --- /dev/null +++ b/x11-themes/redhat-artwork/files/digest-redhat-artwork-0.243-r1 @@ -0,0 +1,3 @@ +MD5 cd0c860cb10e90b142fd441f68d940c7 redhat-artwork-0.243-2.src.rpm 8239362 +RMD160 6a3c4d390c971ff570ca48353395c64731ac2c56 redhat-artwork-0.243-2.src.rpm 8239362 +SHA256 1db38e29e4f5b553ad09cb04bdfc3f93aacdf228faa4b8740146c994286cfe84 redhat-artwork-0.243-2.src.rpm 8239362 diff --git a/x11-themes/redhat-artwork/redhat-artwork-0.243-r1.ebuild b/x11-themes/redhat-artwork/redhat-artwork-0.243-r1.ebuild new file mode 100644 index 000000000000..f609028ca339 --- /dev/null +++ b/x11-themes/redhat-artwork/redhat-artwork-0.243-r1.ebuild @@ -0,0 +1,184 @@ +# Copyright 1999-2006 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.243-r1.ebuild,v 1.1 2006/07/08 22:09:54 nelchael Exp $ + +inherit eutils rpm versionator kde-functions + +MY_PV="${PV}-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/source/SRPMS/${PN}-${MY_PV}.src.rpm" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="gtk kde xmms" + +# See end of src_install(): +IUSE="${IUSE} gdm kdm cursors icons nautilus" + +RDEPEND=">=x11-libs/gtk+-2.0 + gtk? ( >=media-libs/gdk-pixbuf-0.2.5 + >=x11-libs/gtk+-1.2.9 ) + kde? ( || ( ( kde-base/kcontrol kde-base/kwin ) + kde-base/kdebase ) )" + +DEPEND="${RDEPEND} + media-gfx/icon-slicer + dev-util/intltool + || ( x11-apps/xcursorgen virtual/x11 )" + +MY_SV=$(get_version_component_range 1-2) +S=${WORKDIR}/${PN}-${MY_SV} + +pkg_setup() { + + einfo + einfo "This version provides more control over what is installed" + einfo "than previous version." + einfo + einfo "Please check your USE flags." + einfo + + epause + +} + +src_compile() { + + epatch ${WORKDIR}/redhat-artwork-0.122-padding-fix.patch + epatch ${WORKDIR}/redhat-artwork-0.129-remove-throbber.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 + + if ! use gtk; 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/cursor/LBluecurve/Makefile.am \ + art/cursor/LBluecurve-inverse/Makefile.am \ + art/icon/Makefile.am \ + art/icon/Bluecurve/sheets/Makefile.am || die + + autoreconf --force --install || die "autoreconf failed" + intltoolize --force + + 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|<normal file="rh_logo-header.png"/>|<normal file="/usr/share/gdm/themes/happygnome/gnome-logo.svg"/>|' \ + -e 's|<pos x="3%" y="5%" width="398" height="128" anchor="nw"/>|<pos x="3%" y="3%"/>|' Bluecurve.xml || die + else + 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 + 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 xmms skin if unneeded + use xmms || rm -rf "${D}/usr/share/xmms" + + 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 + +} |