Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=generic.git;a=commitdiff;h=28c796098ed6d972f1c25f6740e5a8bcdb089377

commit 28c796098ed6d972f1c25f6740e5a8bcdb089377
Author: bouleetbil <[EMAIL PROTECTED]>
Date:   Wed Jul 16 22:37:58 2008 +0200

gnomeartng-0.6.0-1-i686
*version bump
*delete useless patch
*added patch for change theme gdm

diff --git a/source/gnome-extra/gnomeartng/Fix_GDM.diff 
b/source/gnome-extra/gnomeartng/Fix_GDM.diff
new file mode 100644
index 0000000..39bc368
--- /dev/null
+++ b/source/gnome-extra/gnomeartng/Fix_GDM.diff
@@ -0,0 +1,30 @@
+--- gnomeartng-0.6.0old/src/CConfiguration.cs  2008-07-15 15:48:44.000000000 
+0200
++++ gnomeartng-0.6.0/src/CConfiguration.cs     2008-07-16 21:26:22.000000000 
+0200
+@@ -281,24 +281,10 @@
+
+               private void setDistributionDependendSettings(){
+                       getDistribution();
+-                      gdmFile="gdm.conf";
+-                      gdmCustomFile="gdm.conf-custom";
++                      gdmFile="custom.conf";
++                      gdmCustomFile="custom.conf";
++                      sudoCommand="gksudo";
+                       attribPrep="";
+-                      switch (distribution) {
+-                       case DistriType.dtKubuntu:
+-                              sudoCommand="kdesu";
+-                              break;
+-                       case DistriType.dtUbuntu:
+-                              sudoCommand="gksudo";
+-                              break;
+-                       case DistriType.dtSuse:
+-                              sudoCommand="gnomesu";
+-                              gdmFile="custom.conf";
+-                              gdmCustomFile="custom.conf";
+-                              attribPrep="--command=";
+-                              break;
+-                       default: throw new Exception("Unknown 
distribution...aborting!!");
+-                       }
+                       gdmPath="/etc/gdm/";
+               }
+
diff --git a/source/gnome-extra/gnomeartng/FrugalBuild 
b/source/gnome-extra/gnomeartng/FrugalBuild
index a68663a..984bf7e 100644
--- a/source/gnome-extra/gnomeartng/FrugalBuild
+++ b/source/gnome-extra/gnomeartng/FrugalBuild
@@ -2,17 +2,17 @@
# Maintainer: bouleetbil <[EMAIL PROTECTED]>

pkgname=gnomeartng
-pkgver=0.5.1
+pkgver=0.6.0
pkgrel=1
pkgdesc="Manage your Gnome Desktop from arts.gnome.org"
depends=('gnome-sharp')
options=('scriptlet')
Finclude berlios mono
-source=($source fixe_UserAgent.diff)
+source=($source Fix_GDM.diff)
groups=('gnome-extra')
archs=('i686')
-sha1sums=('704fd022b4ddebdd321b3ff9308a0bc2ceb88469' \
-          'de4a91413da77e8968556fa89631bb6ff1d91008')
+sha1sums=('1dcf448fecd97dcebb4b13c84128f7aac2bb2550' \
+          'e68e6c72aacf673f91a27915b4179b69ce3fd695')
_F_desktop_categories="Utility;"
_F_desktop_icon="$pkgname"

@@ -21,12 +21,13 @@ build() {
Fpatchall
Fmonoexport
gmcs `pkg-config --libs gtk-sharp-2.0 glade-sharp-2.0 gnome-sharp-2.0 
gconf-sharp-2.0` \
-               -resource:gui.glade -r:/usr/lib/mono/2.0/Mono.Posix.dll 
-recurse:*.cs -out:GnomeArtNg.exe || Fdie
+               -resource:gui.glade -r:/usr/lib/mono/2.0/Mono.Posix.dll 
-r:ICSharpCode.SharpZipLib \
+               -r:System.Windows.Forms.dll -recurse:./src/*.cs 
-out:GnomeArtNg.exe || Fdie
Fmonocleanup
Fmkdir /usr/lib/$pkgname/
Fcp "$pkgname-$pkgver/GnomeArtNg.exe" "usr/lib/$pkgname/GnomeArtNg.exe"
Fwrapper "mono /usr/lib/$pkgname/GnomeArtNg.exe" $pkgname
-       mv gnome.png $pkgname.png || Fdie
-       Ficonrel $pkgname.png
+       mv images/gnome.png images/$pkgname.png || Fdie
+       Ficonrel images/$pkgname.png
Fdesktop2
}
diff --git a/source/gnome-extra/gnomeartng/fixe_UserAgent.diff 
b/source/gnome-extra/gnomeartng/fixe_UserAgent.diff
deleted file mode 100644
index 4c57ada..0000000
--- a/source/gnome-extra/gnomeartng/fixe_UserAgent.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- gnomeartng-0.5.1/CFileDownloader.cs.old    2008-05-23 19:10:57.000000000 
+0200
-+++ gnomeartng-0.5.1/CFileDownloader.cs        2008-06-25 15:48:47.000000000 
+0200
-@@ -62,7 +62,9 @@
-                       try     {
-                               // Create a request to the file we are 
downloading
-                               webRequest = 
(HttpWebRequest)WebRequest.Create(From);
--                              webRequest.UserAgent="Gnome-Art NexGen";
-+                              //webRequest.UserAgent="Gnome-Art NexGen";
-+                              //Spoof the user-agent
-+                              webRequest.UserAgent="Mozilla/5.0 (X11; U; 
Linux i686; fr; rv:1.9b5) Gecko/2008041514 Firefox/3.0b5";
-                               webRequest.Timeout = 4000;
-                               webRequest.KeepAlive=holdConnection;
-                               // Set default authentication for retrieving 
the file
-@@ -81,7 +83,8 @@
-
-                               // Open the URL for download
-                               WebClient client = new WebClient ();
--                              client.Headers.Add ("user-agent", "Gnome-Art 
NexGen");
-+                              //client.Headers.Add ("user-agent", "Gnome-Art 
NexGen");
-+                              client.Headers.Add ("user-agent", "Mozilla/5.0 
(X11; U; Linux i686; fr; rv:1.9b5) Gecko/2008041514 Firefox/3.0b5");
-                               strResponse = client.OpenRead (From);
-
-                               // Create a new file stream where we will be 
saving the data (local drive)
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to