[arch-commits] Commit in pinot/repos/community-x86_64 (7 files)
Jaroslav Lichtblau
jlichtblau at nymeria.archlinux.org
Sat Jun 28 16:17:15 UTC 2014
Date: Saturday, June 28, 2014 @ 18:17:15
Author: jlichtblau
Revision: 113713
archrelease: copy trunk to community-x86_64
Added:
pinot/repos/community-x86_64/PKGBUILD
(from rev 113712, pinot/trunk/PKGBUILD)
pinot/repos/community-x86_64/pinot.changelog
(from rev 113712, pinot/trunk/pinot.changelog)
pinot/repos/community-x86_64/pinot.install
(from rev 113712, pinot/trunk/pinot.install)
Deleted:
pinot/repos/community-x86_64/PKGBUILD
pinot/repos/community-x86_64/namespace_clash.patch
pinot/repos/community-x86_64/pinot.changelog
pinot/repos/community-x86_64/pinot.install
-----------------------+
PKGBUILD | 146 ++++++++++++++++++++++++++----------------------
namespace_clash.patch | 12 ---
pinot.changelog | 31 +++++-----
pinot.install | 30 ++++-----
4 files changed, 114 insertions(+), 105 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-06-28 16:17:06 UTC (rev 113712)
+++ PKGBUILD 2014-06-28 16:17:15 UTC (rev 113713)
@@ -1,64 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Alexander Fehr <pizzapunk gmail com>
-# Contributor: William Rea <sillywilly at gmail.com>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-# Contributor: Alexander Rødseth <rodseth at 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-x86_64/PKGBUILD (from rev 113712, pinot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-06-28 16:17:15 UTC (rev 113713)
@@ -0,0 +1,82 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: William Rea <sillywilly at gmail.com>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+
+pkgname=pinot
+pkgver=1.07
+pkgrel=1
+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' 'svn' 'autoconf' 'automake')
+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=()
+sha256sums=()
+
+_svntrunk=http://pinot-search.googlecode.com/svn/tags/v${pkgver}
+
+prepare() {
+ cd "${srcdir}"
+
+ msg "Connecting to SVN server...."
+ svn co "$_svntrunk"
+ msg "SVN checkout done or server timeout"
+
+ msg "Starting build..."
+ rm -rf "${srcdir}/${pkgver}-build"
+ svn export "${srcdir}/v${pkgver}" "${srcdir}/${pkgver}-build"
+ cd "${srcdir}/${pkgver}-build"
+
+ 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
+
+#configure to be run with the desired below args
+ sed -i '$s/^/#/' autogen.sh
+}
+
+
+build() {
+ cd "${srcdir}/${pkgver}-build"
+
+ ./autogen.sh
+
+ LIBS="-lboost_system" ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --enable-gtkmm3=yes
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgver}-build"
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: namespace_clash.patch
===================================================================
--- namespace_clash.patch 2014-06-28 16:17:06 UTC (rev 113712)
+++ namespace_clash.patch 2014-06-28 16:17:15 UTC (rev 113713)
@@ -1,12 +0,0 @@
-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)
Deleted: pinot.changelog
===================================================================
--- pinot.changelog 2014-06-28 16:17:06 UTC (rev 113712)
+++ pinot.changelog 2014-06-28 16:17:15 UTC (rev 113713)
@@ -1,14 +0,0 @@
-2012-09-29 Alexander Rødseth <rodseth at gmail.com>
- * fix FS#31510, adding --enable-mempool=no
-
-2012-09-12 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
- * pinot 1.01-1
-
-2012-07-31 Eric Belanger <eric at archlinux.org>
- * pinot 1.0-2 : Rebuild against exiv2 0.23, Add boost-libs depends
-
-2012-07-14 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
- * pinot 1.0-1
-
-2011-12-18 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
- * pinot 0.98-1
Copied: pinot/repos/community-x86_64/pinot.changelog (from rev 113712, pinot/trunk/pinot.changelog)
===================================================================
--- pinot.changelog (rev 0)
+++ pinot.changelog 2014-06-28 16:17:15 UTC (rev 113713)
@@ -0,0 +1,17 @@
+2014-06-28 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+ * pinot 1.07-1
+
+2012-09-29 Alexander Rødseth <rodseth at gmail.com>
+ * fix FS#31510, adding --enable-mempool=no
+
+2012-09-12 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+ * pinot 1.01-1
+
+2012-07-31 Eric Belanger <eric at archlinux.org>
+ * pinot 1.0-2 : Rebuild against exiv2 0.23, Add boost-libs depends
+
+2012-07-14 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+ * pinot 1.0-1
+
+2011-12-18 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+ * pinot 0.98-1
Deleted: pinot.install
===================================================================
--- pinot.install 2014-06-28 16:17:06 UTC (rev 113712)
+++ pinot.install 2014-06-28 16:17:15 UTC (rev 113713)
@@ -1,15 +0,0 @@
-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-x86_64/pinot.install (from rev 113712, pinot/trunk/pinot.install)
===================================================================
--- pinot.install (rev 0)
+++ pinot.install 2014-06-28 16:17:15 UTC (rev 113713)
@@ -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
+}
More information about the arch-commits
mailing list