Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=c3249acd91d26dec329fb1cb21aeef246b772971
commit c3249acd91d26dec329fb1cb21aeef246b772971
Author: jercel jerce...@gmail.com
Date: Sat Jun 20 22:16:09 2009 +0200
ghemical-2.98-1-i686
* Add patch
* Fix pkgdesk
* Fix .desktop
* Fix depends
diff --git a/source/xapps-extra/ghemical/FrugalBuild
b/source/xapps-extra/ghemical/FrugalBuild
index f25da4d..8ed6e4a 100644
--- a/source/xapps-extra/ghemical/FrugalBuild
+++ b/source/xapps-extra/ghemical/FrugalBuild
@@ -1,24 +1,29 @@
-# Compiling Time: 0.46 SBU
+# Compiling Time: 0.29 SBU
# Maintainer: jercel jerce...@gmail.com
pkgname=ghemical
pkgver=2.98
pkgrel=1
-pkgdesc=Libghemical is a software library which contains all of the
computational chemistry functionality of the ghemical application.
+pkgdesc=An easy-to-use molecular editor and modeling package.
url=http://www.uku.fi/~thassine/projects/ghemical/;
-depends=('libghemical=2.96' 'gtk+2' 'gtkglext' 'libglade' 'openbabel'
'liboglappth')
-makedepends=('doxygen')
+depends=('libghemical=2.98' 'gtk+2' 'gtkglext' 'libglade' 'openbabel'
'liboglappth')
groups=('xapps-extra')
archs=('i686' 'x86_64')
options=('scriptlet')
up2date=lynx -dump http://www.uku.fi/~thassine/projects/download/current/ |
grep -v libghemical | Flasttar
# http://www.uku.fi/~thassine/projects/download/archive/read_me.txt
-source=(http://www.uku.fi/~thassine/projects/download/current/$pkgname-$pkgver.tar.gz)
-sha1sums=('d4212aefe12b4d1f98ce6859e0f0d0a658c64a5d')
+source=(http://www.uku.fi/~thassine/projects/download/current/$pkgname-$pkgver.tar.gz
ghemical.patch)
+sha1sums=('d4212aefe12b4d1f98ce6859e0f0d0a658c64a5d' \
+ '8fcdc644cf321c9d55295c54603ff8494cb68822')
-build() {
+_F_desktop_name=$pkgname
+_F_desktop_icon=/usr/share/$pkgname/$pkgver/pixmaps/$pkgname.png
+_F_desktop_categories=Science;Chemistry;
+
+build()
+{
Fbuild --enable-threads --enable-openbabel
- Fdesktop /usr/bin/ghemical
/usr/share/$pkgname/$pkgver/pixmaps/$pkgname.png GTK;Application;Utility;
+ Fdesktop2
}
# optimization OK
diff --git a/source/xapps-extra/ghemical/ghemical.patch
b/source/xapps-extra/ghemical/ghemical.patch
new file mode 100644
index 000..91896cd
--- /dev/null
+++ b/source/xapps-extra/ghemical/ghemical.patch
@@ -0,0 +1,10 @@
+--- a/src/pangofont_wcl.cpp2008-07-31 14:00:05.0 +0530
b/src/pangofont_wcl.cpp2008-08-01 09:53:09.0 +0530
+@@ -19,6 +19,8 @@
+
/**/
+
+ #include pangofont_wcl.h
++#include stdlib.h
++#include string.h
+
+ #include gtk/gtkgl.h
___
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git