summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-07-01 19:01:39 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-07-01 19:01:39 +0000
commit743fa4ae6aa8604e41afadd5be2478324cb7ffa5 (patch)
treeb3afbcce1964df56ff2eaeb54b7677289d1e7770 /x11-themes/redhat-artwork
parentAdjust gaim depend version due to incompaitibility with 2.0.0betas (diff)
downloadgentoo-2-743fa4ae6aa8604e41afadd5be2478324cb7ffa5.tar.gz
gentoo-2-743fa4ae6aa8604e41afadd5be2478324cb7ffa5.tar.bz2
gentoo-2-743fa4ae6aa8604e41afadd5be2478324cb7ffa5.zip
Version bump, see bug #130113.
(Portage version: 2.1.1_pre1-r5)
Diffstat (limited to 'x11-themes/redhat-artwork')
-rw-r--r--x11-themes/redhat-artwork/ChangeLog8
-rw-r--r--x11-themes/redhat-artwork/files/digest-redhat-artwork-0.2433
-rw-r--r--x11-themes/redhat-artwork/redhat-artwork-0.243.ebuild143
3 files changed, 153 insertions, 1 deletions
diff --git a/x11-themes/redhat-artwork/ChangeLog b/x11-themes/redhat-artwork/ChangeLog
index 78c9c54dbb4f..ed07d471359e 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.77 2006/04/14 16:18:41 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/redhat-artwork/ChangeLog,v 1.78 2006/07/01 19:01:39 nelchael Exp $
+
+*redhat-artwork-0.243 (01 Jul 2006)
+
+ 01 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ -redhat-artwork-0.241.ebuild, +redhat-artwork-0.243.ebuild:
+ Version bump, thanks to Alex Maclean <monkeh@monkeh.net>, see bug #130113.
*redhat-artwork-0.241 (14 Apr 2006)
diff --git a/x11-themes/redhat-artwork/files/digest-redhat-artwork-0.243 b/x11-themes/redhat-artwork/files/digest-redhat-artwork-0.243
new file mode 100644
index 000000000000..5a7fcb2b84a9
--- /dev/null
+++ b/x11-themes/redhat-artwork/files/digest-redhat-artwork-0.243
@@ -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.ebuild b/x11-themes/redhat-artwork/redhat-artwork-0.243.ebuild
new file mode 100644
index 000000000000..019dfb8caab7
--- /dev/null
+++ b/x11-themes/redhat-artwork/redhat-artwork-0.243.ebuild
@@ -0,0 +1,143 @@
+# 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.ebuild,v 1.1 2006/07/01 19:01:39 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"
+
+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}
+
+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
+
+}