Date: Wednesday, October 23, 2019 @ 23:01:09
  Author: kkeen
Revision: 518776

upgpkg: geda-gaf 1.10.0-1

Modified:
  geda-gaf/trunk/ChangeLog
  geda-gaf/trunk/PKGBUILD

-----------+
 ChangeLog |    4 ++++
 PKGBUILD  |   34 +++++++++++++++++++++++-----------
 2 files changed, 27 insertions(+), 11 deletions(-)

Modified: ChangeLog
===================================================================
--- ChangeLog   2019-10-23 20:57:47 UTC (rev 518775)
+++ ChangeLog   2019-10-23 23:01:09 UTC (rev 518776)
@@ -1,3 +1,7 @@
+2019-10-20 Kyle Keen <keen...@gmail.com>
+       * 1.10.0-1
+       - Upstream removed GPG sig
+
 2017-03-29 Kyle Keen <keen...@gmail.com>
        * 1.8.2-3
        - Guile 2.2.0 rebuild

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-10-23 20:57:47 UTC (rev 518775)
+++ PKGBUILD    2019-10-23 23:01:09 UTC (rev 518776)
@@ -3,26 +3,38 @@
 # Contributor: Stefan Husmann <stefan-husm...@t-online.de>
 
 pkgname=geda-gaf
-pkgver=1.8.2
-pkgrel=4
+pkgver=1.10.0
+pkgrel=1
 pkgdesc="gEDA/gaf suite - Contains gschem, gnetlist, gsymcheck, gattrib, 
utilities and documentation from the gEDA project"
 arch=('x86_64')
 url="http://geda-project.org/";
 license=('GPL')
 depends=('gtk2' 'guile' 'guile2.0' 'libstroke' 'shared-mime-info' 
'hicolor-icon-theme')
-makedepends=('pkg-config' 'perl-xml-parser' 'flex' 'gawk')
-optdepends=('python2: for two of the commands (garchive, tragesym)'
-  'gawk: for sw2asc')
+makedepends=('pkg-config' 'perl-xml-parser' 'flex' 'gawk' 'python2')
+optdepends=('python2: for several of the commands (garchive, tragesym, xorn)'
+            'gawk: for sw2asc'
+            'imagemagick: png/pdf output'
+            'graphviz: graph output')
 replaces=('geda-suite' 'geda-libs')
-source=(http://ftp.geda-project.org/geda-gaf/stable/v1.8/$pkgver/$pkgname-$pkgver.tar.gz{,.asc})
-md5sums=('fa8a807615decf47027e22a217dd0ded'
-         'SKIP')
+source=(http://ftp.geda-project.org/geda-gaf/stable/v1.10/$pkgver/$pkgname-$pkgver.tar.gz)
+# signature was dropped in 1.10.0
+md5sums=('09f2558661b39e97170721a57b2d7b66')
 validpgpkeys=('6073BA0D62E91251C421C17067B19BABB83BBE9A')
 
-build ()
-{
+# 1.10.0 adds an optional dep on libfam/libgamin (prefers gamin?)
+# why was gamin removed from the repos a few months ago?
+
+prepare() {
   cd "$srcdir/$pkgname-$pkgver/"
-  ./configure --prefix=/usr --disable-update-xdg-database
+  # gamin's optional-ness is overstated
+  sed -i 's|^.*<fam.h>|//&|' gschem/src/gschem_change_notification.c
+  sed -i 's| enum FAMCodes | int |' gschem/src/gschem_change_notification.c
+}
+
+build () {
+  cd "$srcdir/$pkgname-$pkgver/"
+  #CFLAGS+=' -Wno-deprecated-declarations'
+  ./configure --prefix=/usr --disable-update-xdg-database --without-libfam
   make
 }
 

Reply via email to