Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=1cd7feee453b2bac9d0e727be8b25f5771c43568
commit 1cd7feee453b2bac9d0e727be8b25f5771c43568 Author: Priyank <[EMAIL PROTECTED]> Date: Mon Jan 14 21:28:51 2008 +0530 gerbv-1.0.3-1-i686 * Version bump * Removed gerbv-1.0.0-Xinerama.patch (fixed in upstream) diff --git a/source/xapps-extra/gerbv/FrugalBuild b/source/xapps-extra/gerbv/FrugalBuild index 7f7457c..5b85d6f 100644 --- a/source/xapps-extra/gerbv/FrugalBuild +++ b/source/xapps-extra/gerbv/FrugalBuild @@ -2,7 +2,7 @@ # Maintainer: Priyank Gosalia <[EMAIL PROTECTED]> pkgname=gerbv -pkgver=1.0.2 +pkgver=1.0.3 pkgrel=1 pkgdesc="The gEDA Gerber Viewer." url="http://geda.seul.org/" @@ -10,11 +10,9 @@ depends=('gtk+2' 'libpng') groups=('xapps-extra' 'geda-suite') archs=('i686') up2date="lynx -dump $url/sources.html | grep $pkgname | grep -m1 tar.gz | Flasttar" -source=($url/dist/$pkgname-$pkgver.tar.gz \ - $pkgname-1.0.0-Xinerama.patch) +source=($url/dist/$pkgname-$pkgver.tar.gz) Fconfopts="[EMAIL PROTECTED] --enable-gtk2" -sha1sums=('4ed3bd604eaf6bbefc868f3eb6e379d28ecc0f84'\ - '8c3dfe7343a83708ece91b9f5bad036a2267ca31') +sha1sums=('510f9a44c7e205496eba555ee7d6c97c192a2549') build() { diff --git a/source/xapps-extra/gerbv/gerbv-1.0.0-Xinerama.patch b/source/xapps-extra/gerbv/gerbv-1.0.0-Xinerama.patch deleted file mode 100644 index 40e296b..0000000 --- a/source/xapps-extra/gerbv/gerbv-1.0.0-Xinerama.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -ur gerbv-1.0.0/ChangeLog gerbv-1.0.0.new/ChangeLog ---- gerbv-1.0.0/ChangeLog 2004-12-27 23:31:10.000000000 +0000 -+++ gerbv-1.0.0.new/ChangeLog 2005-01-02 01:54:21.074734456 +0000 -@@ -269,6 +269,10 @@ - * src/gerber.c: Doesn't warn anymore if a gerber file requests an - image rotate on zero degrees. Reported by Balaji V. - -+2003-03-03 Jeffrey W. Baker <[EMAIL PROTECTED]> -+ -+ * src/gerbv.c: fix initial window size for multihead systems. -+ - 2003-03-02 Stefan Petersen <[EMAIL PROTECTED]> - - * src/draw_amacro.c: Aperture macro primitive 1 is a filled circle. -diff -ur gerbv-1.0.0/src/gerbv.c gerbv-1.0.0.new/src/gerbv.c ---- gerbv-1.0.0/src/gerbv.c 2004-09-24 20:12:25.000000000 +0100 -+++ gerbv-1.0.0.new/src/gerbv.c 2005-01-02 01:53:21.241830440 +0000 -@@ -2485,7 +2485,7 @@ - GtkWidget *hbox; - GtkWidget *menubar; - GtkStyle *textStyle; -- gint screen_width, width, height; -+ gint width, height; - int read_opt; - int i; - int req_width = -1, req_height = -1, req_x = 0, req_y = 0; -@@ -2611,9 +2610,14 @@ - width = req_width; - height = req_height; - } else { -- screen_width = gdk_screen_width(); -- width = screen_width * 3/4; -- height = width * 3/4; -+ GdkScreen *screen; -+ int nmonitors; -+ -+ screen = gdk_screen_get_default(); -+ nmonitors = gdk_screen_get_n_monitors(screen); -+ -+ width = gdk_screen_get_width(screen) * 3/4 / nmonitors; -+ height = gdk_screen_get_height(screen) * 3/4 / nmonitors; - } - - /* _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
