summaryrefslogtreecommitdiffstats
path: root/package/metacity/metacity.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2007-01-25 20:47:19 +0000
committerEric Andersen <andersen@codepoet.org>2007-01-25 20:47:19 +0000
commit6583459fb2be7233169856dd4491c7fe56d72256 (patch)
tree4ed171e080417303b4c0352e72943d9407e8a64a /package/metacity/metacity.mk
parentdcfcfe5d571484fb63dabb8944c559d61389b9d4 (diff)
downloadbuildroot-novena-6583459fb2be7233169856dd4491c7fe56d72256.tar.gz
buildroot-novena-6583459fb2be7233169856dd4491c7fe56d72256.zip
Use stable version 2.16.3, as 2.17.x misplaces topbar icons and whatnot.
download and install the Clearlooks theme
Diffstat (limited to 'package/metacity/metacity.mk')
-rw-r--r--package/metacity/metacity.mk24
1 files changed, 19 insertions, 5 deletions
diff --git a/package/metacity/metacity.mk b/package/metacity/metacity.mk
index 0cf83e890..e618873a3 100644
--- a/package/metacity/metacity.mk
+++ b/package/metacity/metacity.mk
@@ -4,18 +4,28 @@
#
#############################################################
-METACITY_VER:=2.17.3
+# Seems to be broken -- topbar icons and such are misplaced etc
+#METACITY_VER:=2.17.5
+
+METACITY_VER:=2.16.3
METACITY_SOURCE:=metacity-$(METACITY_VER).tar.bz2
-METACITY_SITE:=http://ftp.gnome.org/pub/gnome/sources/metacity/2.17
+METACITY_SITE:=http://ftp.gnome.org/pub/gnome/sources/metacity/2.16
METACITY_DIR:=$(BUILD_DIR)/metacity-$(METACITY_VER)
METACITY_CAT:=$(BZCAT)
+METACITY_SOURCE2:=MCity-Clearlooks2.tar.gz
+METACITY_CAT2:=$(ZCAT)
+METACITY_SITE2:=http://art.gnome.org/download/themes/metacity/1190
+
$(DL_DIR)/$(METACITY_SOURCE):
$(WGET) -P $(DL_DIR) $(METACITY_SITE)/$(METACITY_SOURCE)
-metacity-source: $(DL_DIR)/$(METACITY_SOURCE)
+$(DL_DIR)/$(METACITY_SOURCE2):
+ $(WGET) -P $(DL_DIR) $(METACITY_SITE2)/$(METACITY_SOURCE2)
+
+metacity-source: $(DL_DIR)/$(METACITY_SOURCE) $(DL_DIR)/$(METACITY_SOURCE2)
-$(METACITY_DIR)/.unpacked: $(DL_DIR)/$(METACITY_SOURCE)
+$(METACITY_DIR)/.unpacked: $(DL_DIR)/$(METACITY_SOURCE) $(DL_DIR)/$(METACITY_SOURCE2)
$(METACITY_CAT) $(DL_DIR)/$(METACITY_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(METACITY_DIR) package/metacity/ \*.patch*
(cd $(METACITY_DIR); libtoolize --force;)
@@ -121,7 +131,11 @@ $(TARGET_DIR)/lib/*metacity*.so: $(STAGING_DIR)/lib/*metacity*.so
mkdir -p $(TARGET_DIR)/usr/share/metacity/icons
cp -dpf $(STAGING_DIR)/usr/share/metacity/icons/* $(TARGET_DIR)/usr/share/metacity/icons/
mkdir -p $(TARGET_DIR)/usr/share/themes
- cp -a $(STAGING_DIR)/usr/share/themes/* $(TARGET_DIR)/usr/share/themes/
+ $(METACITY_CAT2) $(DL_DIR)/$(METACITY_SOURCE2) | \
+ tar -C $(STAGING_DIR)/usr/share/themes $(TAR_OPTIONS) -
+ cp -a $(STAGING_DIR)/usr/share/themes/Clearlooks \
+ $(TARGET_DIR)/usr/share/themes/
+ (cd $(TARGET_DIR)/usr/share/themes; rm -rf Atlanta; ln -s Clearlooks Atlanta)
cp -a package/metacity/Xsession $(TARGET_DIR)/etc/X11/
metacity: uclibc zlib xorg libgtk2 $(TARGET_DIR)/lib/*metacity*.so