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

commit 4a4e5d59aa3f9782f5011021d2b4f9f63b55a2fc
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Fri Jul 17 11:00:54 2009 +0200

gnomeartng-0.7.0-1-i686
*version bump
*added patch for detect Frugalware
*will send the patch to the devel for add it to upstream

diff --git a/source/gnome-extra/gnomeartng/Fix_FwDistribution.diff 
b/source/gnome-extra/gnomeartng/Fix_FwDistribution.diff
new file mode 100644
index 0000000..7ad7bf4
--- /dev/null
+++ b/source/gnome-extra/gnomeartng/Fix_FwDistribution.diff
@@ -0,0 +1,33 @@
+--- gnomeartng-0.7.0/src/CConfiguration.cs     2009-07-16 17:56:09.000000000 
+0200
++++ gnomeartng-0.7.0new/src/CConfiguration.cs  2009-07-17 10:48:03.000000000 
+0200
+@@ -76,6 +76,7 @@
+                       Suse,
+                       Fedora,
+                       PcLinuxOs,
++                      Frugalware,
+                       Unknown
+               }
+
+@@ -319,6 +320,11 @@
+                        case DistriType.PcLinuxOs:
+                               sudoCommand="gksu";
+                               break;
++                       case DistriType.Frugalware:
++                              gdmFile="custom.conf";
++                              gdmCustomFile="custom.conf";
++                              sudoCommand="gksudo";
++                              break;
+                        default: throw new Exception("Unknown 
distribution...aborting!!");
+                        }
+                       gdmPath="/etc/gdm/";
+@@ -330,6 +336,10 @@
+                       distribution = DistriType.Unknown;
+                       distributionVersion = DistriVersion.Unknown;
+
++                      //Frugalware
++                      if 
(sContent.IndexOf("frugalware",StringComparison.CurrentCulture)>-1)
++                              distribution=DistriType.Frugalware;
++
+                       //(K)Ubuntu, Suse
+                       if 
(sContent.IndexOf("kubuntu",StringComparison.CurrentCulture)>-1)
+                               distribution=DistriType.Kubuntu;
diff --git a/source/gnome-extra/gnomeartng/Fix_GDM.diff 
b/source/gnome-extra/gnomeartng/Fix_GDM.diff
deleted file mode 100644
index 39bc368..0000000
--- a/source/gnome-extra/gnomeartng/Fix_GDM.diff
+++ /dev/null
@@ -1,30 +0,0 @@
---- 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 e21532c..57483ee 100644
--- a/source/gnome-extra/gnomeartng/FrugalBuild
+++ b/source/gnome-extra/gnomeartng/FrugalBuild
@@ -2,17 +2,17 @@
# Maintainer: bouleetbil <bouleet...@frogdev.info>

pkgname=gnomeartng
-pkgver=0.6.0
-pkgrel=2
+pkgver=0.7.0
+pkgrel=1
pkgdesc="Manage your Gnome Desktop from arts.gnome.org"
depends=('gnome-sharp' 'gnome-desktop-sharp>=2.24.0-1')
options=('scriptlet')
Finclude berlios mono
-source=($source Fix_GDM.diff)
+source=($source Fix_FwDistribution.diff)
groups=('gnome-extra')
archs=('i686' 'x86_64' 'ppc')
-sha1sums=('1dcf448fecd97dcebb4b13c84128f7aac2bb2550' \
-          'e68e6c72aacf673f91a27915b4179b69ce3fd695')
+sha1sums=('168476d7421b57043285fe7588c5a353bae2e07e' \
+          '774420a0c601ea07336094c9c99410915fe8f60d')
_F_desktop_categories="Utility;"
_F_desktop_icon="$pkgname"
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to