[arch-commits] Commit in hugin/repos (5 files)

Jan de Groot jgc at archlinux.org
Fri May 8 18:28:54 EDT 2009


    Date: Friday, May 8, 2009 @ 18:28:54
  Author: jgc
Revision: 38552

Merged revisions 38541 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/hugin/trunk

........
  r38541 | jgc | 2009-05-09 00:07:36 +0200 (Sat, 09 May 2009) | 2 lines
  
  upgpkg: hugin 0.7.0-4
      Fix desktop-file-utils mess, add patch to compile with gcc 4.4
........

Added:
  hugin/repos/extra-i686/gcc-4.4.patch
    (from rev 38541, hugin/trunk/gcc-4.4.patch)
Modified:
  hugin/repos/extra-i686/	(properties)
  hugin/repos/extra-i686/PKGBUILD
  hugin/repos/extra-i686/hugin.desktop
Deleted:
  hugin/repos/extra-i686/hugin.install

---------------+
 PKGBUILD      |   18 ++++++++++--------
 gcc-4.4.patch |   31 +++++++++++++++++++++++++++++++
 hugin.desktop |    3 +--
 hugin.install |   29 -----------------------------
 4 files changed, 42 insertions(+), 39 deletions(-)


Property changes on: hugin/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /hugin/trunk:1-32346
   + /hugin/trunk:1-38551

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2009-05-08 22:25:20 UTC (rev 38551)
+++ extra-i686/PKGBUILD	2009-05-08 22:28:54 UTC (rev 38552)
@@ -4,24 +4,26 @@
 
 pkgname=hugin
 pkgver=0.7.0
-pkgrel=3
+pkgrel=4
 pkgdesc="A frontend to the panorama-tools"
 arch=(i686 x86_64)
 license=('LGPL')
-depends=('wxgtk>=2.8.0.1' 'libpano13' 'boost' 'enblend-enfuse' 'exiv2' 'openexr'
+depends=('wxgtk>=2.8.9.2' 'libpano13' 'boost' 'enblend-enfuse' 'exiv2' 'openexr'
          'autopano-sift-c')
 makedepends=('zip' 'cmake')
 url="http://hugin.sourceforge.net/"
 options=(force)
-install=${pkgname}.install
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
+	gcc-4.4.patch)
+md5sums=('6efbfc72ceba028ca3dff3c23806a7f3'
+         '7446bcf8d0d50f31ee64702ddd9c4256')
 
 build() {
-  #cd ${startdir}/src/${pkgname}-${pkgver}
-  cd ${startdir}/src/${pkgname}-0.7.0
+  cd ${startdir}/src/${pkgname}-${pkgver}
+  patch -Np1 -i "${srcdir}/gcc-4.4.patch" || return 1
   mkdir mybuild
   cd mybuild
-  cmake -DCMAKE_INSTALL_PREFIX=/usr ../ -DCMAKE_EXE_LINKER_FLAGS="-lpthread"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr ../ -DCMAKE_EXE_LINKER_FLAGS="-lpthread" || return 1
   make || return 1
-  make DESTDIR=${startdir}/pkg install
+  make DESTDIR=${startdir}/pkg install || return 1
 }

Copied: hugin/repos/extra-i686/gcc-4.4.patch (from rev 38541, hugin/trunk/gcc-4.4.patch)
===================================================================
--- extra-i686/gcc-4.4.patch	                        (rev 0)
+++ extra-i686/gcc-4.4.patch	2009-05-08 22:28:54 UTC (rev 38552)
@@ -0,0 +1,31 @@
+--- hugin-0.7.0/src/hugin_base/appbase/ProgressDisplayOld.cpp~	2008-09-14 21:00:41.000000000 +0000
++++ hugin-0.7.0/src/hugin_base/appbase/ProgressDisplayOld.cpp	2009-05-08 21:53:02.000000000 +0000
+@@ -22,6 +22,7 @@
+  */
+ 
+ #include "ProgressDisplayOld.h"
++#include <cstdio>
+ 
+ #ifdef WIN32
+ #define snprintf _snprintf
+--- hugin-0.7.0/src/hugin_base/hugin_utils/utils.cpp~	2008-09-14 21:00:41.000000000 +0000
++++ hugin-0.7.0/src/hugin_base/hugin_utils/utils.cpp	2009-05-08 21:56:25.000000000 +0000
+@@ -30,7 +30,7 @@
+     #include <sys/time.h>
+ #endif
+ #include <time.h>
+-#include <stdio.h>
++#include <cstdio>
+ 
+ 
+ namespace hugin_utils {
+--- hugin-0.7.0/src/hugin_base/panodata/PTScriptParsing.cpp~	2008-09-14 21:00:41.000000000 +0000
++++ hugin-0.7.0/src/hugin_base/panodata/PTScriptParsing.cpp	2009-05-08 21:59:52.000000000 +0000
+@@ -25,6 +25,7 @@
+ #include "PTScriptParsing.h"
+ 
+ #include <hugin_utils/utils.h>
++#include <cstdio>
+ 
+ 
+ namespace HuginBase {

Modified: extra-i686/hugin.desktop
===================================================================
--- extra-i686/hugin.desktop	2009-05-08 22:25:20 UTC (rev 38551)
+++ extra-i686/hugin.desktop	2009-05-08 22:28:54 UTC (rev 38552)
@@ -1,6 +1,5 @@
 [Desktop Entry]
 Version=1.0
-Encoding=UTF-8
 Name=Hugin panorama creator
 Name[de]=Hugin panorama tool
 Comment=Frontend for the pnaramatools - Stitch images to panoramas
@@ -13,4 +12,4 @@
 StartupNotify=true
 Terminal=false
 Type=Application
-Categories=Application;Graphics;2DGraphics;RasterGraphics;
+Categories=Graphics;2DGraphics;RasterGraphics;

Deleted: extra-i686/hugin.install
===================================================================
--- extra-i686/hugin.install	2009-05-08 22:25:20 UTC (rev 38551)
+++ extra-i686/hugin.install	2009-05-08 22:28:54 UTC (rev 38552)
@@ -1,29 +0,0 @@
-# arg 1:  the new package version
-post_install() {
-  cat << EOM
-
---> autopano-sift was replaced by auto-pano-sift-c and became a hard dependency
---> in order to make the experienc less painful and confusing. Same deal with
---> enblend which turned into enblend-enfuse. Too much functionality would be
---> missing without those packages.
---> CHECK YOUR PREFERENCES to get rid of any old binary names.
-
-EOM
-  echo "update desktop mime database..."
-  update-desktop-database -q
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-# arg 1:  the old package version
-post_remove() {
-  echo "update desktop mime database..."
-  update-desktop-database -q
-}
-
-op=$1
-shift
-$op $*
-# vim: ft=sh



More information about the arch-commits mailing list