Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=fe04d805118343b810ae6e79a7cb375b5ef8c054

commit fe04d805118343b810ae6e79a7cb375b5ef8c054
Author: Devil505 <devil505li...@gmail.com>
Date:   Mon Feb 15 20:17:09 2010 +0100

gnome-theme-ubuntu-sunrise-2.2.2-1-i686
* new package

diff --git a/source/gnome-extra/gnome-theme-ubuntu-sunrise/FrugalBuild 
b/source/gnome-extra/gnome-theme-ubuntu-sunrise/FrugalBuild
new file mode 100644
index 0000000..60e3254
--- /dev/null
+++ b/source/gnome-extra/gnome-theme-ubuntu-sunrise/FrugalBuild
@@ -0,0 +1,55 @@
+# Compiling Time: 0.03 SBU
+# Maintainer: Devil505 <devil505li...@gmail.com>
+
+pkgname=gnome-theme-ubuntu-sunrise
+pkgver=2.2.2
+pkgrel=1
+pkgdesc="Ubuntu sunrise theme for Gnome."
+url="http://www.bisigi-project.org";
+depends=('gtk+2-engines-murrine')
+makedepends=('imagemagick')
+groups=('gnome-extra')
+archs=('i686' 'x86_64')
+_F_archive_name="ubuntu-sunrise-theme"
+Fpkgversep="_"
+up2date="elinks -dump 'https://launchpad.net/~bisigi/+archive/ppa/+packages' | 
Flasttar | sed 's/.karmic.ppa1+nmu1//g'"
+source=("https://launchpad.net/~bisigi/+archive/ppa/+files/ubuntu-sunrise-theme_2.2.2.karmic.ppa1+nmu1.tar.gz";
 \
+       "logo_fw128darkorange.png" \
+       "ub-sunrise.patch")
+sha1sums=('a91c947862252286e1a7e9f3430df442d4c14b7b' \
+          '1d0781d0f67b2365baba5c78c3d6f8d982c10006' \
+          '38ca1bc6ed7b5645115eebb70c2ee94f01520760')
+
+build() {
+       Fcd "ubuntu-sunrise-theme"
+       Fmkdir 
usr/share/{themes,icons,pixmaps/backgrounds/gnome/nature,gnome-background-properties,emerald/themes}
+       tar -xzf Gtk/ubuntu-sunrise.tar.gz -C Gtk/ || Fdie
+
+       #Icons theme
+       tar -xjf Icons/ubuntu-sunrise.tar.bz2 -C Icons/ || Fdie
+
+       # fix some bad file permissions
+       find Icons/ -type f -exec chmod -R 644 {} \;
+       local _w=""
+       for _w in {16x16,22x22,24x24,32x32}; do
+               convert -resize $_w $Fsrcdir/logo_fw128darkorange.png 
Icons/ubuntu-sunrise/$_w/places/distributor-logo.png
+               convert -resize $_w $Fsrcdir/logo_fw128darkorange.png 
Icons/ubuntu-sunrise/$_w/places/gnome-main-menu.png
+               convert -resize $_w $Fsrcdir/logo_fw128darkorange.png 
Icons/ubuntu-sunrise/$_w/places/start-here.png
+       done
+       install -D -m644 $Fsrcdir/logo_fw128darkorange.png 
Icons/ubuntu-sunrise/scalable/places/distributor-logo.png || Fdie
+       install -D -m644 $Fsrcdir/logo_fw128darkorange.png 
Icons/ubuntu-sunrise/scalable/places/gnome-main-menu.png || Fdie
+       install -D -m644 $Fsrcdir/logo_fw128darkorange.png 
Icons/ubuntu-sunrise/scalable/places/start-here.png || Fdie
+
+       #Emerald theme
+       mkdir Emerald/ubuntu-sunrise || Fdie
+       tar -xzf Emerald/ubuntu-sunrise.emerald -C Emerald/ubuntu-sunrise || 
Fdie
+
+       # install files
+       Fpatchall
+       Fcprel Gtk/ubuntu-sunrise/ usr/share/themes/
+       Fcprel Icons/ubuntu-sunrise/ usr/share/icons
+       Finstallrel 644 Wallpaper/A_day_at_the_savannah.jpg 
usr/share/pixmaps/backgrounds/gnome/nature/
+       Finstallrel 644 Wallpaper/A_day_at_the_savannah_wide.jpg 
usr/share/pixmaps/backgrounds/gnome/nature/
+       Finstallrel 644 Wallpaper/ubuntu-sunrise-wallpaper.xml 
usr/share/gnome-background-properties
+       Fcprel Emerald/ubuntu-sunrise usr/share/emerald/themes/
+}
diff --git 
a/source/gnome-extra/gnome-theme-ubuntu-sunrise/logo_fw128darkorange.png 
b/source/gnome-extra/gnome-theme-ubuntu-sunrise/logo_fw128darkorange.png
new file mode 100644
index 0000000..7a45efd
Binary files /dev/null and 
b/source/gnome-extra/gnome-theme-ubuntu-sunrise/logo_fw128darkorange.png differ
diff --git a/source/gnome-extra/gnome-theme-ubuntu-sunrise/ub-sunrise.patch 
b/source/gnome-extra/gnome-theme-ubuntu-sunrise/ub-sunrise.patch
new file mode 100644
index 0000000..c8e73ce
--- /dev/null
+++ b/source/gnome-extra/gnome-theme-ubuntu-sunrise/ub-sunrise.patch
@@ -0,0 +1,31 @@
+--- Gtk/ubuntu-sunrise/index.theme     2010-01-28 17:19:45.058609147 +0100
++++ Gtk/ubuntu-sunrise/index.theme.1   2010-01-28 17:20:31.514853818 +0100
+@@ -1,6 +1,7 @@
+ [X-GNOME-Metatheme]
+-Name=ubuntu-sunrise
++Name=Ubuntu-Sunrise
+ Encoding=UTF-8
+ GtkTheme=ubuntu-sunrise
+ MetacityTheme=ubuntu-sunrise
+ IconTheme=ubuntu-sunrise
++BackgroundImage=/usr/share/pixmaps/backgrounds/gnome/nature/A_day_at_the_savannah.jpg
+--- Wallpaper/ubuntu-sunrise-wallpaper.xml     2010-01-30 22:29:03.161467952 
+0100
++++ Wallpaper/ubuntu-sunrise-wallpaper1.xml    2010-01-30 22:29:37.354798567 
+0100
+@@ -3,7 +3,7 @@
+ <wallpapers>
+   <wallpaper>
+     <name>Ubuntu-sunrise 16_9</name>
+-    <filename>/usr/share/backgrounds/A_day_at_the_savannah_wide.jpg</filename>
++    
<filename>/usr/share/pixmaps/backgrounds/gnome/nature/A_day_at_the_savannah_wide.jpg</filename>
+     <options>zoom</options>
+     <pcolor>#b4c078</pcolor>
+     <scolor>#b4c078</scolor>
+@@ -11,7 +11,7 @@
+   </wallpaper>
+   <wallpaper>
+    <name>ubuntu-sunrise 4_3</name>
+-    <filename>/usr/share/backgrounds/A_day_at_the_savannah.jpg</filename>
++    
<filename>/usr/share/pixmaps/backgrounds/gnome/nature/A_day_at_the_savannah.jpg</filename>
+     <options>zoom</options>
+     <pcolor>#b4c078</pcolor>
+     <scolor>#b4c078</scolor>
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to