]> saetta.ns0.it Git - msys2/commitdiff
organigramma: aggiornamenti e nuove patch.
authorAndrea Zagli <andrea.zagli@email.it>
Tue, 4 Apr 2017 10:34:29 +0000 (12:34 +0200)
committerAndrea Zagli <andrea.zagli@email.it>
Tue, 4 Apr 2017 10:34:29 +0000 (12:34 +0200)
packages/mingw-w64-organigramma/001-path.patch
packages/mingw-w64-organigramma/002-path_resource.patch [new file with mode: 0644]
packages/mingw-w64-organigramma/PKGBUILD

index e5cc41273f3f4d0d48a5417b3fd1563c10c404fa..6158a8ce9855de6d56f46bc800cfe3d4e7e666ca 100644 (file)
@@ -1,29 +1,19 @@
 diff --git a/src/Makefile.am b/src/Makefile.am
 index 95a1226..82a664d 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -21,11 +21,11 @@ resources.o: resources.rc
+--- a/libreria/Makefile.am
++++ b/libreria/Makefile.am
+@@ -19,11 +19,10 @@ endif
  
bin_PROGRAMS = organigramma
lib_LTLIBRARIES = liborganigramma.la
  
--marshal.c: marshal.h organigramma_marshal.list $(GLIB_GENMARSHAL)
--      $(GLIB_GENMARSHAL) organigramma_marshal.list --body --prefix=_organigramma_marshal > $@
-+marshal.c: organigramma_marshal.list $(GLIB_GENMARSHAL)
-+      $(GLIB_GENMARSHAL) $< --body --prefix=_organigramma_marshal > $@
+-marshal.c: marshal.h ../src/organigramma_marshal.list $(GLIB_GENMARSHAL)
+-      $(GLIB_GENMARSHAL) ../src/organigramma_marshal.list --body --prefix=_organigramma_marshal > $@
++marshal.c marshal.h: $(top_srcdir)/src/organigramma_marshal.list $(GLIB_GENMARSHAL)
++      $(GLIB_GENMARSHAL) $< --body --prefix=_organigramma_marshal > marshal.c
++      $(GLIB_GENMARSHAL) $< --header --prefix=_organigramma_marshal > marshal.h
  
- marshal.h: organigramma_marshal.list $(GLIB_GENMARSHAL)
--      $(GLIB_GENMARSHAL) organigramma_marshal.list --header --prefix=_organigramma_marshal > $@
-+      $(GLIB_GENMARSHAL) $< --header --prefix=_organigramma_marshal > $@
+-marshal.h: ../src/organigramma_marshal.list $(GLIB_GENMARSHAL)
+-      $(GLIB_GENMARSHAL) ../src/organigramma_marshal.list --header --prefix=_organigramma_marshal > $@
  
- organigramma_SOURCES = \
-                 commons.h \
-diff --git a/src/resources.rc.in b/src/resources.rc.in
-index 8b83290..f976b81 100644
---- a/src/resources.rc.in
-+++ b/src/resources.rc.in
-@@ -1,4 +1,4 @@
--AppIcon ICON "..\\data\\organigramma\\images\\organigramma.ico"
-+AppIcon ICON "@top_srcdir@\\data\\organigramma\\images\\organigramma.ico"
- 1 VERSIONINFO
- FILEVERSION     @V_MAJOR@,@V_MINOR@,@V_MICRO@,0
+ liborganigramma_la_SOURCES = \
+                 ../src/commons.c \
diff --git a/packages/mingw-w64-organigramma/002-path_resource.patch b/packages/mingw-w64-organigramma/002-path_resource.patch
new file mode 100644 (file)
index 0000000..d55d517
--- /dev/null
@@ -0,0 +1,17 @@
+--- ./src/resources.rc.in\r
++++ ./src/resources.rc.in\r
+@@ -1,4 +1,4 @@\r
+-AppIcon ICON "..\\data\\organigramma\\images\\organigramma.ico"\r
++AppIcon ICON "@top_srcdir@\\data\\organigramma\\images\\organigramma.ico"\r
+\r
+ 1 VERSIONINFO\r
+ FILEVERSION     @V_MAJOR@,@V_MINOR@,@V_MICRO@,0\r
+@@ -12,7 +12,7 @@\r
+       VALUE "FileDescription", "Organigramma"\r
+       VALUE "FileVersion", "@V_MAJOR@.@V_MINOR@.@V_MICRO@"\r
+       VALUE "InternalName", "organigramma"\r
+-      VALUE "LegalCopyright", "Copyright 2013 Andrea Zagli <a.zagli@comune.scandicci.fi.it>"\r
++      VALUE "LegalCopyright", "Copyright 2013-2017 Andrea Zagli <a.zagli@comune.scandicci.fi.it>"\r
+       VALUE "OriginalFilename", "organigramma.exe"\r
+       VALUE "ProductName", "Organigramma"\r
+       VALUE "ProductVersion", "@V_MAJOR@.@V_MINOR@.@V_MICRO@"\r
index 81dd3c8e096dd1973b67cde83896eff5f487e875..a04a8e16f18862c9d94c53f8c2017e2eb6c57c57 100644 (file)
@@ -4,26 +4,35 @@ _realname=organigramma
 _base_ver=0.0.1
 pkgbase=mingw-w64-${_realname}
 pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
-pkgver=0.0.1.79.b695ec4
+pkgver=0.0.1.144.05d01ae
 pkgrel=1
 arch=('any')
 pkgdesc="Gestione dati territoriali (mingw-w64)"
 depends=("${MINGW_PACKAGE_PREFIX}-libgdaex"
+         "${MINGW_PACKAGE_PREFIX}-libgdaexgrid"
          "${MINGW_PACKAGE_PREFIX}-libgtkform"
+         "${MINGW_PACKAGE_PREFIX}-libzakform"
+         "${MINGW_PACKAGE_PREFIX}-libzakformgtk"
+         "${MINGW_PACKAGE_PREFIX}-libzakformgdaex"
+         "${MINGW_PACKAGE_PREFIX}-libzakformgtkdecoder"
+         "${MINGW_PACKAGE_PREFIX}-libzakconfi"
          "${MINGW_PACKAGE_PREFIX}-libzakauthe"
          "${MINGW_PACKAGE_PREFIX}-libzakautho"
+         "${MINGW_PACKAGE_PREFIX}-libzakutils"
          "${MINGW_PACKAGE_PREFIX}-territorio"
-                "${MINGW_PACKAGE_PREFIX}-postgresql")
+          "${MINGW_PACKAGE_PREFIX}-postgresql")
 makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
              "gtk-doc"
              "${MINGW_PACKAGE_PREFIX}-gnome-common")
 options=('!strip' 'debug' 'staticlibs')
 license=("GPL 2")
 url="http://saetta.ns0.it/"
-source=(git+http://saetta.ns0.it/git/solipa/${_realname}#branch=develop
-        001-path.patch)
+source=(git+http://saetta.ns0.it/git/solipa/${_realname}#branch=zakform
+        001-path.patch
+        002-path_resource.patch)
 sha256sums=('SKIP'
-            '386873ec9873c3d8f438d8ff43eb9de3a23159721644c23f418a165a048dc953')
+            'af39df959c19fe12d1ed4f966b4fe1690ae77c2f1ce0fbabcf1d397190a52834'
+            '38c986392bbb26978edf7787f9eb1b0a380a842aadcbe30d38a7a460fa35888b')
 
 pkgver() {
   cd "$srcdir/$_realname"
@@ -34,6 +43,7 @@ prepare() {
   cd ${_realname}
 
   patch -p1 -i ${srcdir}/001-path.patch
+  patch -p1 -i ${srcdir}/002-path_resource.patch
 }
 
 build() {