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

commit 838db4b04e3cd2444d5a9687b881b2bb7d9d3ef9
Author: Priyank <[EMAIL PROTECTED]>
Date:   Wed Sep 5 22:18:46 2007 +0530

gfpm-1.0.1-1-i686
* Version bump
* Added a patch to workaround the scriptlet crash bug

diff --git a/source/xapps/gfpm/FrugalBuild b/source/xapps/gfpm/FrugalBuild
index 2ed27ca..64d3c36 100644
--- a/source/xapps/gfpm/FrugalBuild
+++ b/source/xapps/gfpm/FrugalBuild
@@ -2,8 +2,8 @@
# Maintainer: Priyank Gosalia <[EMAIL PROTECTED]>

pkgname=gfpm
-pkgver=1.0.0
-pkgrel=3
+pkgver=1.0.1
+pkgrel=1
pkgdesc="Graphical Frugalware Package Manager"
url="http://ftp.frugalware.org/pub/other/gfpm";
depends=('glib2' 'gtk+2' 'libglade' 'pacman-g2')
@@ -12,24 +12,16 @@ groups=('xapps')
archs=('i686' 'x86_64')
_F_gnome_iconcache="y"
Finclude gnome-scriptlet
-_F_desktop_name="Gfpm"
-_F_desktop_icon="gfpm"
-_F_desktop_exec="gksu gfpm"
-_F_desktop_categories="GTK;System;"
-_F_desktop_onlyshowin="GNOME;XFCE;"
up2date="lynx -dump $url | Flasttar"
-source=($url/$pkgname-$pkgver.tar.gz gfpm-kde.desktop)
-sha1sums=('2aaaf1633b52391aa298a7debb4580a80eb5fa34' \
-          '1d583bd8f54f1804d8c8aa82eb3e599fe8f36d91')
+source=($url/$pkgname-$pkgver.tar.gz 
$pkgname-$pkgver-scriptlet-workaround.diff)
+sha1sums=('81d146bd5d01592a3f9cd66227a13303b903d1f2' \
+          'fb2380bb23c2022b2a903a40d3e3c31fcb30b749')
signatures=(${source[0]}.asc '')

build()
{
Fbuild
Fbuild_gnome_scriptlet
-       Fdesktop2
-       Fmkdir /usr/share/applications/kde
-       Ffile gfpm-kde.desktop /usr/share/applications/kde/gfpm.desktop
}

# optimization OK
diff --git a/source/xapps/gfpm/gfpm-1.0.1-scriptlet-workaround.diff 
b/source/xapps/gfpm/gfpm-1.0.1-scriptlet-workaround.diff
new file mode 100644
index 0000000..dc76626
--- /dev/null
+++ b/source/xapps/gfpm/gfpm-1.0.1-scriptlet-workaround.diff
@@ -0,0 +1,14 @@
+diff -Naur gfpm-1.0.1/src/gfpm-progress.c gfpm-1.0.1.new/src/gfpm-progress.c
+--- gfpm-1.0.1/src/gfpm-progress.c     2007-09-05 22:01:50.000000000 +0530
++++ gfpm-1.0.1.new/src/gfpm-progress.c 2007-09-05 22:05:20.000000000 +0530
+@@ -194,8 +194,8 @@
+               return;
+       gtk_widget_hide (rate_box);
+       gtk_widget_hide (rec_label);
+-      while (gtk_events_pending ())
+-              gtk_main_iteration ();
++      //while (gtk_events_pending ())
++      //      gtk_main_iteration ();
+       switch (event)
+       {
+               case PM_TRANS_EVT_CHECKDEPS_START:
diff --git a/source/xapps/gfpm/gfpm-kde.desktop 
b/source/xapps/gfpm/gfpm-kde.desktop
deleted file mode 100644
index 69bcb2f..0000000
--- a/source/xapps/gfpm/gfpm-kde.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Name=Gfpm
-Comment=Graphical Frugalware Package Manager
-Exec=kdesu gfpm
-Icon=gfpm.png
-Terminal=false
-Type=Application
-Categories=KDE;Application;System;
-OnlyShowIn=KDE
-
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to