Date: Friday, January 24, 2014 @ 14:21:54
  Author: lcarlier
Revision: 104664

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  pinot/repos/community-staging-i686/
  pinot/repos/community-staging-i686/PKGBUILD
    (from rev 104663, pinot/trunk/PKGBUILD)
  pinot/repos/community-staging-i686/namespace_clash.patch
    (from rev 104663, pinot/trunk/namespace_clash.patch)
  pinot/repos/community-staging-i686/pinot.changelog
    (from rev 104663, pinot/trunk/pinot.changelog)
  pinot/repos/community-staging-i686/pinot.install
    (from rev 104663, pinot/trunk/pinot.install)
  pinot/repos/community-staging-x86_64/
  pinot/repos/community-staging-x86_64/PKGBUILD
    (from rev 104663, pinot/trunk/PKGBUILD)
  pinot/repos/community-staging-x86_64/namespace_clash.patch
    (from rev 104663, pinot/trunk/namespace_clash.patch)
  pinot/repos/community-staging-x86_64/pinot.changelog
    (from rev 104663, pinot/trunk/pinot.changelog)
  pinot/repos/community-staging-x86_64/pinot.install
    (from rev 104663, pinot/trunk/pinot.install)

------------------------------------------------+
 community-staging-i686/PKGBUILD                |   64 +++++++++++++++++++++++
 community-staging-i686/namespace_clash.patch   |   12 ++++
 community-staging-i686/pinot.changelog         |   14 +++++
 community-staging-i686/pinot.install           |   15 +++++
 community-staging-x86_64/PKGBUILD              |   64 +++++++++++++++++++++++
 community-staging-x86_64/namespace_clash.patch |   12 ++++
 community-staging-x86_64/pinot.changelog       |   14 +++++
 community-staging-x86_64/pinot.install         |   15 +++++
 8 files changed, 210 insertions(+)

Copied: pinot/repos/community-staging-i686/PKGBUILD (from rev 104663, 
pinot/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2014-01-24 13:21:54 UTC (rev 104664)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonl...@aur.archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: William Rea <sillywi...@gmail.com>
+# Contributor: Daniel J Griffiths <ghost1...@archlinux.us>
+# Contributor: Alexander Rødseth <rods...@gmail.com>
+
+pkgname=pinot
+pkgver=1.06
+pkgrel=3
+pkgdesc='Personal search and metasearch tool'
+arch=('i686' 'x86_64')
+url='http://code.google.com/p/pinot-search/'
+license=('GPL')
+depends=('gtkmm3' 'xapian-core' 'libtextcat' 'sqlite' 'libxml++' 'curl' 
'gmime' 
+         'dbus-glib' 'shared-mime-info' 'libexif' 'taglib' 
'hicolor-icon-theme' 
+         'cairo' 'exiv2' 'boost-libs')
+makedepends=('boost' 'desktop-file-utils')
+optdepends=('unzip: ZIP files extraction'
+            'poppler: PDF to text conversion'
+            'catdvi: DVI to text conversion'
+            'djvulibre: DjVu text extraction'
+            'unrtf: RTF to HTML conversion'
+            'antiword: MS Word to text conversion'
+            'catdoc: XLS and PPT to text conversion')
+options=('!emptydirs')
+install=$pkgname.install
+changelog=$pkgname.changelog
+source=(http://pinot-search.googlecode.com/files/$pkgname-$pkgver.tar.gz 
namespace_clash.patch)
+sha256sums=('bba6f412553890ef7cccd6d7bb28df9a6c4d122ea74a2902e5de33953cd1872d'
+            '7b4fee7b43f73539803954075af2ce577b65ca732ab8115d257068ffaa5a750f')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  x='/usr/share/libtextcat/'
+  sed -i 's|/LM/russian.lm|/LM/russian-windows1251.lm|' textcat_conf.txt
+  sed -i "s|$x|${x}LM/|" \
+    textcat_conf.txt \
+    textcat3_conf.txt \
+    textcat31_conf.txt \
+    textcat32_conf.txt
+  sed -i -e "s|.*russian$|${x}LM/russian-iso8859_5.lm   russian-iso8859_5\n\
+${x}LM/russian-koi8_r.lm      russian-koi8_r\n\
+${x}LM/russian-windows1251.lm russian-windows1251|" textcat3_conf.txt
+
+  patch -Np1 -i $srcdir/namespace_clash.patch
+
+
+  LIBS="-lboost_system" ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+    --enable-gtkmm3=yes \
+    --enable-mempool=no
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: pinot/repos/community-staging-i686/namespace_clash.patch (from rev 
104663, pinot/trunk/namespace_clash.patch)
===================================================================
--- community-staging-i686/namespace_clash.patch                                
(rev 0)
+++ community-staging-i686/namespace_clash.patch        2014-01-24 13:21:54 UTC 
(rev 104664)
@@ -0,0 +1,12 @@
+diff -aur pinot-1.06/UI/GTK2/src/mainWindow.cc 
pinot-1.06.new/UI/GTK2/src/mainWindow.cc
+--- pinot-1.06/UI/GTK2/src/mainWindow.cc       2013-01-14 13:47:06.000000000 
+0100
++++ pinot-1.06.new/UI/GTK2/src/mainWindow.cc   2013-11-30 19:22:17.792587309 
+0100
+@@ -1766,7 +1766,7 @@
+                                               viewDoc = true;
+                                       }
+ 
+-                                      close(inFd);
++                                      ::close(inFd);
+                               }
+ 
+                               if (viewDoc == true)

Copied: pinot/repos/community-staging-i686/pinot.changelog (from rev 104663, 
pinot/trunk/pinot.changelog)
===================================================================
--- community-staging-i686/pinot.changelog                              (rev 0)
+++ community-staging-i686/pinot.changelog      2014-01-24 13:21:54 UTC (rev 
104664)
@@ -0,0 +1,14 @@
+2012-09-29 Alexander Rødseth <rods...@gmail.com>
+       * fix FS#31510, adding --enable-mempool=no
+
+2012-09-12 Jaroslav Lichtblau <dragonl...@aur.archlinux.org>
+       * pinot 1.01-1
+
+2012-07-31  Eric Belanger  <e...@archlinux.org>
+       * pinot 1.0-2 : Rebuild against exiv2 0.23, Add boost-libs depends
+
+2012-07-14 Jaroslav Lichtblau <dragonl...@aur.archlinux.org>
+       * pinot 1.0-1
+
+2011-12-18 Jaroslav Lichtblau <dragonl...@aur.archlinux.org>
+       * pinot 0.98-1

Copied: pinot/repos/community-staging-i686/pinot.install (from rev 104663, 
pinot/trunk/pinot.install)
===================================================================
--- community-staging-i686/pinot.install                                (rev 0)
+++ community-staging-i686/pinot.install        2014-01-24 13:21:54 UTC (rev 
104664)
@@ -0,0 +1,15 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  echo "Starting with 0.63, the service is auto-started. "
+  echo "The file that enables this is located at "
+  echo "/etc/xdg/autostart/pinot-dbus-daemon.desktop"
+  echo "Delete this file if you don't want the auto-start."
+}
+
+post_upgrade() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}

Copied: pinot/repos/community-staging-x86_64/PKGBUILD (from rev 104663, 
pinot/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2014-01-24 13:21:54 UTC (rev 104664)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonl...@aur.archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: William Rea <sillywi...@gmail.com>
+# Contributor: Daniel J Griffiths <ghost1...@archlinux.us>
+# Contributor: Alexander Rødseth <rods...@gmail.com>
+
+pkgname=pinot
+pkgver=1.06
+pkgrel=3
+pkgdesc='Personal search and metasearch tool'
+arch=('i686' 'x86_64')
+url='http://code.google.com/p/pinot-search/'
+license=('GPL')
+depends=('gtkmm3' 'xapian-core' 'libtextcat' 'sqlite' 'libxml++' 'curl' 
'gmime' 
+         'dbus-glib' 'shared-mime-info' 'libexif' 'taglib' 
'hicolor-icon-theme' 
+         'cairo' 'exiv2' 'boost-libs')
+makedepends=('boost' 'desktop-file-utils')
+optdepends=('unzip: ZIP files extraction'
+            'poppler: PDF to text conversion'
+            'catdvi: DVI to text conversion'
+            'djvulibre: DjVu text extraction'
+            'unrtf: RTF to HTML conversion'
+            'antiword: MS Word to text conversion'
+            'catdoc: XLS and PPT to text conversion')
+options=('!emptydirs')
+install=$pkgname.install
+changelog=$pkgname.changelog
+source=(http://pinot-search.googlecode.com/files/$pkgname-$pkgver.tar.gz 
namespace_clash.patch)
+sha256sums=('bba6f412553890ef7cccd6d7bb28df9a6c4d122ea74a2902e5de33953cd1872d'
+            '7b4fee7b43f73539803954075af2ce577b65ca732ab8115d257068ffaa5a750f')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  x='/usr/share/libtextcat/'
+  sed -i 's|/LM/russian.lm|/LM/russian-windows1251.lm|' textcat_conf.txt
+  sed -i "s|$x|${x}LM/|" \
+    textcat_conf.txt \
+    textcat3_conf.txt \
+    textcat31_conf.txt \
+    textcat32_conf.txt
+  sed -i -e "s|.*russian$|${x}LM/russian-iso8859_5.lm   russian-iso8859_5\n\
+${x}LM/russian-koi8_r.lm      russian-koi8_r\n\
+${x}LM/russian-windows1251.lm russian-windows1251|" textcat3_conf.txt
+
+  patch -Np1 -i $srcdir/namespace_clash.patch
+
+
+  LIBS="-lboost_system" ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib \
+    --enable-gtkmm3=yes \
+    --enable-mempool=no
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: pinot/repos/community-staging-x86_64/namespace_clash.patch (from rev 
104663, pinot/trunk/namespace_clash.patch)
===================================================================
--- community-staging-x86_64/namespace_clash.patch                              
(rev 0)
+++ community-staging-x86_64/namespace_clash.patch      2014-01-24 13:21:54 UTC 
(rev 104664)
@@ -0,0 +1,12 @@
+diff -aur pinot-1.06/UI/GTK2/src/mainWindow.cc 
pinot-1.06.new/UI/GTK2/src/mainWindow.cc
+--- pinot-1.06/UI/GTK2/src/mainWindow.cc       2013-01-14 13:47:06.000000000 
+0100
++++ pinot-1.06.new/UI/GTK2/src/mainWindow.cc   2013-11-30 19:22:17.792587309 
+0100
+@@ -1766,7 +1766,7 @@
+                                               viewDoc = true;
+                                       }
+ 
+-                                      close(inFd);
++                                      ::close(inFd);
+                               }
+ 
+                               if (viewDoc == true)

Copied: pinot/repos/community-staging-x86_64/pinot.changelog (from rev 104663, 
pinot/trunk/pinot.changelog)
===================================================================
--- community-staging-x86_64/pinot.changelog                            (rev 0)
+++ community-staging-x86_64/pinot.changelog    2014-01-24 13:21:54 UTC (rev 
104664)
@@ -0,0 +1,14 @@
+2012-09-29 Alexander Rødseth <rods...@gmail.com>
+       * fix FS#31510, adding --enable-mempool=no
+
+2012-09-12 Jaroslav Lichtblau <dragonl...@aur.archlinux.org>
+       * pinot 1.01-1
+
+2012-07-31  Eric Belanger  <e...@archlinux.org>
+       * pinot 1.0-2 : Rebuild against exiv2 0.23, Add boost-libs depends
+
+2012-07-14 Jaroslav Lichtblau <dragonl...@aur.archlinux.org>
+       * pinot 1.0-1
+
+2011-12-18 Jaroslav Lichtblau <dragonl...@aur.archlinux.org>
+       * pinot 0.98-1

Copied: pinot/repos/community-staging-x86_64/pinot.install (from rev 104663, 
pinot/trunk/pinot.install)
===================================================================
--- community-staging-x86_64/pinot.install                              (rev 0)
+++ community-staging-x86_64/pinot.install      2014-01-24 13:21:54 UTC (rev 
104664)
@@ -0,0 +1,15 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  echo "Starting with 0.63, the service is auto-started. "
+  echo "The file that enables this is located at "
+  echo "/etc/xdg/autostart/pinot-dbus-daemon.desktop"
+  echo "Delete this file if you don't want the auto-start."
+}
+
+post_upgrade() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}

Reply via email to