[arch-commits] Commit in hugin/trunk (PKGBUILD hugin-build.patch)

Eric Bélanger eric at nymeria.archlinux.org
Sun Jan 12 01:29:03 UTC 2014


    Date: Sunday, January 12, 2014 @ 02:29:03
  Author: eric
Revision: 203507

upgpkg: hugin 2013.0.0-5

Fix issue with wxgtk, Add build patch

Added:
  hugin/trunk/hugin-build.patch
Modified:
  hugin/trunk/PKGBUILD

-------------------+
 PKGBUILD          |   12 +++++++++---
 hugin-build.patch |   11 +++++++++++
 2 files changed, 20 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-11 20:25:08 UTC (rev 203506)
+++ PKGBUILD	2014-01-12 01:29:03 UTC (rev 203507)
@@ -6,7 +6,7 @@
 
 pkgname=hugin
 pkgver=2013.0.0
-pkgrel=4
+pkgrel=5
 pkgdesc='Panorama photo stitcher'
 url='http://hugin.sourceforge.net/'
 license=('GPL')
@@ -15,11 +15,17 @@
 makedepends=('cmake' 'boost' 'tclap' 'mesa' 'python2' 'swig')
 depends=('wxgtk' 'boost-libs' 'enblend-enfuse' 'exiv2' 'libpano13'
          'lensfun' 'lapack' 'make' 'perl-image-exiftool' 'desktop-file-utils')
-source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
-sha1sums=('0e0689cf2ca0c4a2730cffe06380eda976b6772d')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" hugin-build.patch)
+sha1sums=('0e0689cf2ca0c4a2730cffe06380eda976b6772d'
+          '45a8d8f5ee9b3c013cbc1ae3cfad14a2705c0dd4')
 
 install=install
 
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p1 -i ../hugin-build.patch
+}
+
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
 	cmake . \

Added: hugin-build.patch
===================================================================
--- hugin-build.patch	                        (rev 0)
+++ hugin-build.patch	2014-01-12 01:29:03 UTC (rev 203507)
@@ -0,0 +1,11 @@
+--- a/src/hugin1/ptbatcher/PTBatcherGUI.cpp
++++ b/src/hugin1/ptbatcher/PTBatcherGUI.cpp
+@@ -150,7 +150,7 @@
+         { wxCMD_LINE_SWITCH, "v", "verbose",  "show verbose output when processing projects" },
+         { wxCMD_LINE_SWITCH, "a", "assistant", "run the assistant on the given projects" },
+         {
+-            wxCMD_LINE_PARAM,  NULL, NULL, _("stitch_project.pto [output prefix]|assistant_project.pto"),
++            wxCMD_LINE_PARAM,  NULL, NULL, "stitch_project.pto [output prefix]|assistant_project.pto",
+             wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_OPTIONAL + wxCMD_LINE_PARAM_MULTIPLE
+         },
+         { wxCMD_LINE_NONE }




More information about the arch-commits mailing list