You are not logged in.
I figured out how to build redhat-artwork (Bluecurve) for GNOME only, so that configure doesn't fail when it finds out you don't have hundreds of KDE/Qt dependencies installed. It's my first PKGBUILD so it's probably crappy, but it works.
PKGBUILD:
# Contributer: bitmap
pkgname=redhat-artwork
pkgver=5.0.8
pkgrel=4
pkgdesc="Redhat artwork for GTK2 and Metacity"
url="http://fedoraproject.org/wiki/Artwork"
depends=('gtk2' 'metacity' 'libpng' 'intltool')
makedepends=('xorg-apps' 'icon-slicer' 'rpmextract')
arch=(i686)
source=(http://ftp.linux.ncsu.edu/pub/fedora/linux/core/development/source/SRPMS/${pkgname}-${pkgver}-${pkgrel}.fc7.src.rpm remove-kde-qt-xmms.patch)
md5sums=('e9ad79a4d7624ecffbcecb8165125650' '876982d17ca0ca1dcc4db10ee715284d')
build() {
cd ${startdir}/src
rpmextract.sh ${pkgname}-${pkgver}-${pkgrel}.fc7.src.rpm
tar -xzf ${pkgname}-${pkgver}.tar.gz
cd ${pkgname}-${pkgver}
patch -Np1 -i ../remove-kde-qt-xmms.patch || return 1
rm configure *.m4
aclocal && automake && autoconf
rm -r autom4te.cache
./configure --prefix=/usr
make || return 1
make DESTDIR=${startdir}/pkg install
cd ${startdir}/pkg
mkdir -p opt/gnome/share/themes/Bluecurve
mkdir -p opt/gnome/share/gdm/themes
mkdir -p opt/gnome/share/pixmaps/nautilus
mv usr/share/themes/Bluecurve/metacity-1 opt/gnome/share/themes/Bluecurve
mv usr/share/themes/Bluecurve-classic opt/gnome/share/themes
mv usr/share/gdm/themes/* opt/gnome/share/gdm/themes
mv usr/share/pixmaps/nautilus/Bluecurve opt/gnome/share/pixmaps/nautilus
rm -r usr/share/gdm
rm -r usr/share/pixmaps
rm usr/lib/gtk-2.0/2.10.0/engines/libbluecurve.la
}
remove-kde-qt-xmms.patch:
--- old/art/Makefile.am
+++ new/art/Makefile.am
@@ -1,5 +1,5 @@
## icon must be built before gtk, or the gtkrc won't get the stock icons
-SUBDIRS=tools cursor nautilus xmms gdm kdm icon gtk metacity kde qt
+SUBDIRS=tools cursor nautilus gdm icon gtk metacity
themedir = $(datadir)/themes/Bluecurve
theme_DATA = index.theme
--- old/configure.in
+++ new/configure.in
@@ -57,12 +57,6 @@
AC_SUBST(GDK_PIXBUF2_CFLAGS)
AC_SUBST(GDK_PIXBUF2_LIBS)
-KDE_SET_PREFIX
-KDE_CHECK_FINAL
-
-dnl KDE_USE_QT
-AC_PATH_KDE
-
AC_OUTPUT([
Makefile
po/Makefile.in
@@ -71,22 +65,13 @@
art/gdm/Bluecurve/Makefile
art/gdm/FedoraBubbles/Makefile
art/gdm/FedoraDNA/Makefile
-art/kdm/Makefile
-art/kdm/Bluecurve/Makefile
-art/kdm/FedoraDNA/Makefile
art/gtk/Makefile
art/gtk/Bluecurve/Makefile
art/gtk/Bluecurve/gtk-2.0/Makefile
-art/qt/Makefile
-art/qt/Bluecurve/Makefile
-art/kde/Makefile
-art/kde/kwin/Makefile
-art/kde/kwin/Bluecurve/Makefile
art/metacity/Makefile
art/icon/Makefile
art/icon/Bluecurve/Makefile
art/icon/Bluecurve/sheets/Makefile
-art/xmms/Makefile
art/nautilus/Makefile
art/nautilus/Bluecurve/Makefile
art/nautilus/Bluecurve/sidebar_tab_pieces/Makefile
This builds the Bluecurve GTK2 theme, Metacity theme, and icon set that we all know and love. It also builds some new Fedora GDM themes, but I haven't tried them. Also: I'm sure it would be trivial to do this the other way around (only build KDE stuff) so I could make a PKGBUILD for that, too (if anyone wants it).
Last edited by Bitmap (2007-02-05 19:28:09)
Offline