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

Giovanni Scafora giovanni at archlinux.org
Tue Dec 1 22:57:26 UTC 2009


    Date: Tuesday, December 1, 2009 @ 17:57:26
  Author: giovanni
Revision: 60188

Merged revisions 58392,60186 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/hugin/trunk

........
  r58392 | andrea | 2009-11-07 08:45:02 -0800 (sab, 07 nov 2009) | 1 line
  
  missing optdependence FS#15119
........
  r60186 | giovanni | 2009-12-01 14:52:34 -0800 (mar, 01 dic 2009) | 2 lines
  
  upgpkg: hugin 2009.2.0-1
      upstream release
........

Added:
  hugin/repos/extra-x86_64/hugin.install
    (from rev 60186, hugin/trunk/hugin.install)
Modified:
  hugin/repos/extra-x86_64/	(properties)
  hugin/repos/extra-x86_64/PKGBUILD
Deleted:
  hugin/repos/extra-x86_64/hugin.desktop

---------------+
 PKGBUILD      |   20 +++++++++++---------
 hugin.desktop |   15 ---------------
 hugin.install |   15 +++++++++++++++
 3 files changed, 26 insertions(+), 24 deletions(-)


Property changes on: hugin/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /hugin/trunk:1-55108
   + /hugin/trunk:1-60187

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-12-01 22:53:22 UTC (rev 60187)
+++ extra-x86_64/PKGBUILD	2009-12-01 22:57:26 UTC (rev 60188)
@@ -1,23 +1,25 @@
 # $Id$
 # Maintainer: tobias <tobias at archlinux.org>
-#Contributor: Dominik Ryba <domryba at post.pl>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Dominik Ryba <domryba at post.pl>
 
 pkgname=hugin
-pkgver=0.8.0
+pkgver=2009.2.0
 pkgrel=1
 pkgdesc="A frontend to the panorama-tools"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
+url="http://hugin.sourceforge.net/"
 license=('LGPL')
 depends=('wxgtk>=2.8.9.2' 'libpano13>=2.9.14' 'boost' 'enblend-enfuse' 'exiv2' \
-         'openexr' 'autopano-sift-c')
+         'openexr' 'autopano-sift-c' 'desktop-file-utils')
 makedepends=('zip' 'cmake')
-url="http://hugin.sourceforge.net/"
-options=(force)
+optdepends=('perl-exiftool: write metadata on output images')
+install=hugin.install
 source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('0c88afbd7f8159aac29404ff40370400')
+md5sums=('856fa8016bc990874a71a19cc162f6be')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd "${srcdir}/${pkgname}-${pkgver}"
   mkdir mybuild
   cd mybuild
   cmake \
@@ -25,5 +27,5 @@
     ../ \
     -DCMAKE_EXE_LINKER_FLAGS="-lpthread" || return 1
   make || return 1
-  make DESTDIR=${pkgdir} install || return 1
+  make DESTDIR="${pkgdir}" install || return 1
 }

Deleted: extra-x86_64/hugin.desktop
===================================================================
--- extra-x86_64/hugin.desktop	2009-12-01 22:53:22 UTC (rev 60187)
+++ extra-x86_64/hugin.desktop	2009-12-01 22:57:26 UTC (rev 60188)
@@ -1,15 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Name=Hugin panorama creator
-Name[de]=Hugin panorama tool
-Comment=Frontend for the pnaramatools - Stitch images to panoramas
-Comment[de]=Oberfläche für die Panoramatools - Erzeugt Panoramabildern aus mehreren Einzelbildern.
-GenericName=Panorama stitcher
-GenericName[de]=Panorama Stitcher
-Exec=hugin
-TryExec=PTOptimizer
-Icon=/usr/share/hugin/xrc/data/icon.png
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Graphics;2DGraphics;RasterGraphics;

Copied: hugin/repos/extra-x86_64/hugin.install (from rev 60186, hugin/trunk/hugin.install)
===================================================================
--- extra-x86_64/hugin.install	                        (rev 0)
+++ extra-x86_64/hugin.install	2009-12-01 22:57:26 UTC (rev 60188)
@@ -0,0 +1,15 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/gnome
+  update-desktop-database -q
+  update-mime-database usr/share/mime > /dev/null
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/gnome
+  update-desktop-database -q
+  update-mime-database usr/share/mime > /dev/null
+}




More information about the arch-commits mailing list