Date: Wednesday, April 10, 2013 @ 21:20:21
  Author: heftig
Revision: 88058

db-move: moved shotwell from [community-staging] to [community-testing] (i686, 
x86_64)

Added:
  shotwell/repos/community-testing-i686/
  shotwell/repos/community-testing-i686/PKGBUILD
    (from rev 88050, shotwell/repos/community-staging-i686/PKGBUILD)
  shotwell/repos/community-testing-i686/no-libexec.patch
    (from rev 88050, shotwell/repos/community-staging-i686/no-libexec.patch)
  shotwell/repos/community-testing-i686/shotwell.install
    (from rev 88050, shotwell/repos/community-staging-i686/shotwell.install)
  shotwell/repos/community-testing-x86_64/
  shotwell/repos/community-testing-x86_64/PKGBUILD
    (from rev 88050, shotwell/repos/community-staging-x86_64/PKGBUILD)
  shotwell/repos/community-testing-x86_64/no-libexec.patch
    (from rev 88050, shotwell/repos/community-staging-x86_64/no-libexec.patch)
  shotwell/repos/community-testing-x86_64/shotwell.install
    (from rev 88050, shotwell/repos/community-staging-x86_64/shotwell.install)
Deleted:
  shotwell/repos/community-staging-i686/
  shotwell/repos/community-staging-x86_64/

-------------------------------------------+
 community-testing-i686/PKGBUILD           |   38 ++++++++++++++++++++++++++++
 community-testing-i686/no-libexec.patch   |   26 +++++++++++++++++++
 community-testing-i686/shotwell.install   |   17 ++++++++++++
 community-testing-x86_64/PKGBUILD         |   38 ++++++++++++++++++++++++++++
 community-testing-x86_64/no-libexec.patch |   26 +++++++++++++++++++
 community-testing-x86_64/shotwell.install |   17 ++++++++++++
 6 files changed, 162 insertions(+)

Copied: shotwell/repos/community-testing-i686/PKGBUILD (from rev 88050, 
shotwell/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD                             (rev 0)
+++ community-testing-i686/PKGBUILD     2013-04-10 19:20:21 UTC (rev 88058)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Maintainer : Ionut Biru <ib...@archlinux.org>
+# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
+
+pkgname=shotwell
+pkgver=0.14.1
+pkgrel=2
+pkgdesc="A digital photo organizer designed for the GNOME desktop environment"
+arch=('i686' 'x86_64')
+url="http://yorba.org/shotwell/";
+license=('LGPL2.1')
+depends=('libgee' 'libwebkit3' 'libgexiv2' 'libraw' 'rest'
+        'desktop-file-utils' 'dconf' 'hicolor-icon-theme' 'json-glib'
+        'gst-plugins-base' 'libgphoto2')
+makedepends=('intltool' 'vala>=0.17.2' 'libunique3')
+install=shotwell.install
+source=("http://yorba.org/download/shotwell/stable/shotwell-$pkgver.tar.xz";
+       "no-libexec.patch")
+md5sums=('bb5783f9265e1ce2d4c9f354987c3ab1'
+         'b4124e022c98b4382530e6fbcef965e2')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  patch -p1 <$srcdir/no-libexec.patch
+
+  ./configure --prefix=/usr \
+       --disable-schemas-compile \
+       --disable-desktop-update \
+       --disable-icon-update
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: shotwell/repos/community-testing-i686/no-libexec.patch (from rev 88050, 
shotwell/repos/community-staging-i686/no-libexec.patch)
===================================================================
--- community-testing-i686/no-libexec.patch                             (rev 0)
+++ community-testing-i686/no-libexec.patch     2013-04-10 19:20:21 UTC (rev 
88058)
@@ -0,0 +1,26 @@
+diff -Naur shotwell-0.13.1.orig/Makefile shotwell-0.13.1/Makefile
+--- shotwell-0.13.1.orig/Makefile      2012-10-05 20:07:37.000000000 +0200
++++ shotwell-0.13.1/Makefile   2012-10-31 22:27:30.382869896 +0100
+@@ -558,8 +558,8 @@
+       mkdir -p $(DESTDIR)$(PREFIX)/bin
+       $(INSTALL_PROGRAM) $(PROGRAM) $(DESTDIR)$(PREFIX)/bin
+       $(INSTALL_PROGRAM) $(THUMBNAILER_BIN) $(DESTDIR)$(PREFIX)/bin
+-      mkdir -p $(DESTDIR)$(PREFIX)/libexec/shotwell
+-      $(INSTALL_PROGRAM) $(MIGRATOR_BIN) $(DESTDIR)$(PREFIX)/libexec/shotwell
++      mkdir -p $(DESTDIR)$(PREFIX)/lib/shotwell
++      $(INSTALL_PROGRAM) $(MIGRATOR_BIN) $(DESTDIR)$(PREFIX)/lib/shotwell
+       mkdir -p $(DESTDIR)$(PREFIX)/share/shotwell/icons
+       $(INSTALL_DATA) icons/* $(DESTDIR)$(PREFIX)/share/shotwell/icons
+       mkdir -p $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps
+diff -Naur shotwell-0.13.1.orig/src/AppDirs.vala 
shotwell-0.13.1/src/AppDirs.vala
+--- shotwell-0.13.1.orig/src/AppDirs.vala      2012-10-05 19:56:07.000000000 
+0200
++++ shotwell-0.13.1/src/AppDirs.vala   2012-10-31 22:28:17.634388872 +0100
+@@ -109,7 +109,7 @@
+                 // not installed yet - use wherever we were run from
+                 libexec_dir = get_exec_dir();
+             } else {
+-                libexec_dir = File.new_for_path(Resources.PREFIX + 
"/libexec/shotwell");
++                libexec_dir = File.new_for_path(Resources.PREFIX + 
"/lib/shotwell");
+             }
+         }
+ 

Copied: shotwell/repos/community-testing-i686/shotwell.install (from rev 88050, 
shotwell/repos/community-staging-i686/shotwell.install)
===================================================================
--- community-testing-i686/shotwell.install                             (rev 0)
+++ community-testing-i686/shotwell.install     2013-04-10 19:20:21 UTC (rev 
88058)
@@ -0,0 +1,17 @@
+pkgname=shotwell
+
+post_install() {
+  gtk-update-icon-cache -fq -t usr/share/icons/hicolor
+  update-desktop-database -q
+  glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  update-desktop-database -q
+  gtk-update-icon-cache -fq -t usr/share/icons/hicolor
+  glib-compile-schemas usr/share/glib-2.0/schemas
+}

Copied: shotwell/repos/community-testing-x86_64/PKGBUILD (from rev 88050, 
shotwell/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2013-04-10 19:20:21 UTC (rev 88058)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Maintainer : Ionut Biru <ib...@archlinux.org>
+# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
+
+pkgname=shotwell
+pkgver=0.14.1
+pkgrel=2
+pkgdesc="A digital photo organizer designed for the GNOME desktop environment"
+arch=('i686' 'x86_64')
+url="http://yorba.org/shotwell/";
+license=('LGPL2.1')
+depends=('libgee' 'libwebkit3' 'libgexiv2' 'libraw' 'rest'
+        'desktop-file-utils' 'dconf' 'hicolor-icon-theme' 'json-glib'
+        'gst-plugins-base' 'libgphoto2')
+makedepends=('intltool' 'vala>=0.17.2' 'libunique3')
+install=shotwell.install
+source=("http://yorba.org/download/shotwell/stable/shotwell-$pkgver.tar.xz";
+       "no-libexec.patch")
+md5sums=('bb5783f9265e1ce2d4c9f354987c3ab1'
+         'b4124e022c98b4382530e6fbcef965e2')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  patch -p1 <$srcdir/no-libexec.patch
+
+  ./configure --prefix=/usr \
+       --disable-schemas-compile \
+       --disable-desktop-update \
+       --disable-icon-update
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: shotwell/repos/community-testing-x86_64/no-libexec.patch (from rev 
88050, shotwell/repos/community-staging-x86_64/no-libexec.patch)
===================================================================
--- community-testing-x86_64/no-libexec.patch                           (rev 0)
+++ community-testing-x86_64/no-libexec.patch   2013-04-10 19:20:21 UTC (rev 
88058)
@@ -0,0 +1,26 @@
+diff -Naur shotwell-0.13.1.orig/Makefile shotwell-0.13.1/Makefile
+--- shotwell-0.13.1.orig/Makefile      2012-10-05 20:07:37.000000000 +0200
++++ shotwell-0.13.1/Makefile   2012-10-31 22:27:30.382869896 +0100
+@@ -558,8 +558,8 @@
+       mkdir -p $(DESTDIR)$(PREFIX)/bin
+       $(INSTALL_PROGRAM) $(PROGRAM) $(DESTDIR)$(PREFIX)/bin
+       $(INSTALL_PROGRAM) $(THUMBNAILER_BIN) $(DESTDIR)$(PREFIX)/bin
+-      mkdir -p $(DESTDIR)$(PREFIX)/libexec/shotwell
+-      $(INSTALL_PROGRAM) $(MIGRATOR_BIN) $(DESTDIR)$(PREFIX)/libexec/shotwell
++      mkdir -p $(DESTDIR)$(PREFIX)/lib/shotwell
++      $(INSTALL_PROGRAM) $(MIGRATOR_BIN) $(DESTDIR)$(PREFIX)/lib/shotwell
+       mkdir -p $(DESTDIR)$(PREFIX)/share/shotwell/icons
+       $(INSTALL_DATA) icons/* $(DESTDIR)$(PREFIX)/share/shotwell/icons
+       mkdir -p $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps
+diff -Naur shotwell-0.13.1.orig/src/AppDirs.vala 
shotwell-0.13.1/src/AppDirs.vala
+--- shotwell-0.13.1.orig/src/AppDirs.vala      2012-10-05 19:56:07.000000000 
+0200
++++ shotwell-0.13.1/src/AppDirs.vala   2012-10-31 22:28:17.634388872 +0100
+@@ -109,7 +109,7 @@
+                 // not installed yet - use wherever we were run from
+                 libexec_dir = get_exec_dir();
+             } else {
+-                libexec_dir = File.new_for_path(Resources.PREFIX + 
"/libexec/shotwell");
++                libexec_dir = File.new_for_path(Resources.PREFIX + 
"/lib/shotwell");
+             }
+         }
+ 

Copied: shotwell/repos/community-testing-x86_64/shotwell.install (from rev 
88050, shotwell/repos/community-staging-x86_64/shotwell.install)
===================================================================
--- community-testing-x86_64/shotwell.install                           (rev 0)
+++ community-testing-x86_64/shotwell.install   2013-04-10 19:20:21 UTC (rev 
88058)
@@ -0,0 +1,17 @@
+pkgname=shotwell
+
+post_install() {
+  gtk-update-icon-cache -fq -t usr/share/icons/hicolor
+  update-desktop-database -q
+  glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  update-desktop-database -q
+  gtk-update-icon-cache -fq -t usr/share/icons/hicolor
+  glib-compile-schemas usr/share/glib-2.0/schemas
+}

Reply via email to