Date: Sunday, May 1, 2016 @ 16:26:18
  Author: jlichtblau
Revision: 173262

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

Added:
  sdcv/repos/community-i686/PKGBUILD
    (from rev 173261, sdcv/trunk/PKGBUILD)
  sdcv/repos/community-i686/sdcv.changelog
    (from rev 173261, sdcv/trunk/sdcv.changelog)
  sdcv/repos/community-x86_64/PKGBUILD
    (from rev 173261, sdcv/trunk/PKGBUILD)
  sdcv/repos/community-x86_64/sdcv.changelog
    (from rev 173261, sdcv/trunk/sdcv.changelog)
Deleted:
  sdcv/repos/community-i686/PKGBUILD
  sdcv/repos/community-i686/sdcv-0.4.2-headers.patch
  sdcv/repos/community-i686/sdcv.changelog
  sdcv/repos/community-x86_64/PKGBUILD
  sdcv/repos/community-x86_64/sdcv-0.4.2-headers.patch
  sdcv/repos/community-x86_64/sdcv.changelog

-------------------------------------------+
 /PKGBUILD                                 |   66 ++++++++++++++++++++++++++++
 /sdcv.changelog                           |   18 +++++++
 community-i686/PKGBUILD                   |   39 ----------------
 community-i686/sdcv-0.4.2-headers.patch   |   46 -------------------
 community-i686/sdcv.changelog             |    6 --
 community-x86_64/PKGBUILD                 |   39 ----------------
 community-x86_64/sdcv-0.4.2-headers.patch |   46 -------------------
 community-x86_64/sdcv.changelog           |    6 --
 8 files changed, 84 insertions(+), 182 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD     2016-05-01 14:25:52 UTC (rev 173261)
+++ community-i686/PKGBUILD     2016-05-01 14:26:18 UTC (rev 173262)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <[email protected]>
-
-pkgname=sdcv
-pkgver=0.4.2
-pkgrel=9
-pkgdesc="StarDict Console Version"
-arch=('i686' 'x86_64')
-url="http://sdcv.sourceforge.net/";
-license=('GPL')
-depends=('glib2' 'readline' 'zlib')
-makedepends=('patch')
-provides=('stardict')
-changelog=$pkgname.changelog
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
 \
-        $pkgname-$pkgver-headers.patch)
-sha256sums=('a164f079e93986814ea2d39f3a49cf9d1b71b01aad908254457fe3d0ded9deb2'
-            '4746e32a6aaddf7744f373b539879598b48219a3b35f41ceb839f04c27921eb4')
-
-build() {
-  cd "${srcdir}"/$pkgname-$pkgver
-
-  patch -Np1 -i "${srcdir}"/$pkgname-$pkgver-headers.patch
-
-  ./configure --prefix=/usr  --mandir=/usr/share/man
-
-#quick fix for x86_64
-  if [ "${CARCH}" == "x86_64" ]; then
-    sed -i 's|guint32 page_size|guint64 page_size|' src/lib/lib.cpp
-  fi
-
-  make
-}
-
-package() {
-  cd "${srcdir}"/$pkgname-$pkgver
-
-  make DESTDIR="${pkgdir}" install
-}

Copied: sdcv/repos/community-i686/PKGBUILD (from rev 173261, 
sdcv/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD                             (rev 0)
+++ community-i686/PKGBUILD     2016-05-01 14:26:18 UTC (rev 173262)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <[email protected]>
+
+pkgname=sdcv
+pkgver=0.5.0beta4
+pkgrel=1
+pkgdesc="StarDict Console Version"
+arch=('i686' 'x86_64')
+url="http://sdcv.sourceforge.net/";
+license=('GPL')
+depends=('glib2' 'readline' 'zlib')
+makedepends=('cmake')
+provides=('stardict')
+changelog=$pkgname.changelog
+source=(https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgname-0.5.0-beta4-Source.tar.bz2)
+sha256sums=('19e7ec25de76fc877d35d25542080907b4f89e44d8746f704a24304155483bad')
+
+build() {
+  cd "${srcdir}"/$pkgname-0.5.0-beta4-Source
+
+  mkdir build
+  cd build
+
+  cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
+  make
+  make lang
+}
+
+package() {
+  cd "${srcdir}"/$pkgname-0.5.0-beta4-Source/build
+
+  make DESTDIR="${pkgdir}" install
+}

Deleted: community-i686/sdcv-0.4.2-headers.patch
===================================================================
--- community-i686/sdcv-0.4.2-headers.patch     2016-05-01 14:25:52 UTC (rev 
173261)
+++ community-i686/sdcv-0.4.2-headers.patch     2016-05-01 14:26:18 UTC (rev 
173262)
@@ -1,46 +0,0 @@
-diff -ruN sdcv-0.4.2-orig/src/lib/lib.cpp sdcv-0.4.2/src/lib/lib.cpp
---- sdcv-0.4.2-orig/src/lib/lib.cpp    2006-04-24 10:17:27.000000000 +0200
-+++ sdcv-0.4.2/src/lib/lib.cpp 2009-12-19 21:15:37.000000000 +0100
-@@ -513,7 +513,7 @@
- {
-       fseek(idxfile, wordoffset[page_idx], SEEK_SET);
-       guint32 page_size=wordoffset[page_idx+1]-wordoffset[page_idx];
--      fread(wordentry_buf, std::min(sizeof(wordentry_buf), page_size), 1, 
idxfile); //TODO: check returned values, deal with word entry that strlen>255.
-+      fread(wordentry_buf, std::min(sizeof(wordentry_buf), 
(size_t)page_size), 1, idxfile); //TODO: check returned values, deal with word 
entry that strlen>255.
-       return wordentry_buf;
- }
-
-diff -ruN sdcv-0.4.2-orig/src/libwrapper.cpp sdcv-0.4.2/src/libwrapper.cpp
---- sdcv-0.4.2-orig/src/libwrapper.cpp 2006-04-24 12:40:29.000000000 +0200
-+++ sdcv-0.4.2/src/libwrapper.cpp      2009-12-19 21:15:37.000000000 +0100
-@@ -24,6 +24,7 @@
- 
- #include <glib/gi18n.h>
- #include <map>
-+#include <cstring>
- 
- #include "utils.hpp"
- 
-diff -ruN sdcv-0.4.2-orig/src/readline.cpp sdcv-0.4.2/src/readline.cpp
---- sdcv-0.4.2-orig/src/readline.cpp   2005-12-07 23:07:23.000000000 +0100
-+++ sdcv-0.4.2/src/readline.cpp        2009-12-19 21:15:37.000000000 +0100
-@@ -23,6 +23,7 @@
- #endif
- 
- #include <cstdio>
-+#include <cstdlib>
- #ifdef WITH_READLINE
- #  include <readline/readline.h>
- #  include <readline/history.h>
-diff -ruN sdcv-0.4.2-orig/src/utils.cpp sdcv-0.4.2/src/utils.cpp
---- sdcv-0.4.2-orig/src/utils.cpp      2006-04-24 11:03:47.000000000 +0200
-+++ sdcv-0.4.2/src/utils.cpp   2009-12-19 21:15:37.000000000 +0100
-@@ -22,6 +22,8 @@
- #  include "config.h"
- #endif
- 
-+#include <cstdio>
-+#include <cstdlib>
- #include <glib.h>
- #include <glib/gi18n.h>
- 

Deleted: community-i686/sdcv.changelog
===================================================================
--- community-i686/sdcv.changelog       2016-05-01 14:25:52 UTC (rev 173261)
+++ community-i686/sdcv.changelog       2016-05-01 14:26:18 UTC (rev 173262)
@@ -1,6 +0,0 @@
-2014-07-07 Jaroslav Lichtblau <[email protected]>
-       * sdcv 0.4.2-8 mtree rebuild
-
-2011-10-26 Jaroslav Lichtblau <[email protected]>
-       * sdcv 0.4.2-6
-       * moved to [community] with 206 votes

Copied: sdcv/repos/community-i686/sdcv.changelog (from rev 173261, 
sdcv/trunk/sdcv.changelog)
===================================================================
--- community-i686/sdcv.changelog                               (rev 0)
+++ community-i686/sdcv.changelog       2016-05-01 14:26:18 UTC (rev 173262)
@@ -0,0 +1,9 @@
+2016-05-01 Jaroslav Lichtblau <[email protected]>
+       * sdcv 0.5.0beta4-1
+
+2014-07-07 Jaroslav Lichtblau <[email protected]>
+       * sdcv 0.4.2-8 mtree rebuild
+
+2011-10-26 Jaroslav Lichtblau <[email protected]>
+       * sdcv 0.4.2-6
+       * moved to [community] with 206 votes

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD   2016-05-01 14:25:52 UTC (rev 173261)
+++ community-x86_64/PKGBUILD   2016-05-01 14:26:18 UTC (rev 173262)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <[email protected]>
-
-pkgname=sdcv
-pkgver=0.4.2
-pkgrel=9
-pkgdesc="StarDict Console Version"
-arch=('i686' 'x86_64')
-url="http://sdcv.sourceforge.net/";
-license=('GPL')
-depends=('glib2' 'readline' 'zlib')
-makedepends=('patch')
-provides=('stardict')
-changelog=$pkgname.changelog
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
 \
-        $pkgname-$pkgver-headers.patch)
-sha256sums=('a164f079e93986814ea2d39f3a49cf9d1b71b01aad908254457fe3d0ded9deb2'
-            '4746e32a6aaddf7744f373b539879598b48219a3b35f41ceb839f04c27921eb4')
-
-build() {
-  cd "${srcdir}"/$pkgname-$pkgver
-
-  patch -Np1 -i "${srcdir}"/$pkgname-$pkgver-headers.patch
-
-  ./configure --prefix=/usr  --mandir=/usr/share/man
-
-#quick fix for x86_64
-  if [ "${CARCH}" == "x86_64" ]; then
-    sed -i 's|guint32 page_size|guint64 page_size|' src/lib/lib.cpp
-  fi
-
-  make
-}
-
-package() {
-  cd "${srcdir}"/$pkgname-$pkgver
-
-  make DESTDIR="${pkgdir}" install
-}

Copied: sdcv/repos/community-x86_64/PKGBUILD (from rev 173261, 
sdcv/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD                           (rev 0)
+++ community-x86_64/PKGBUILD   2016-05-01 14:26:18 UTC (rev 173262)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <[email protected]>
+
+pkgname=sdcv
+pkgver=0.5.0beta4
+pkgrel=1
+pkgdesc="StarDict Console Version"
+arch=('i686' 'x86_64')
+url="http://sdcv.sourceforge.net/";
+license=('GPL')
+depends=('glib2' 'readline' 'zlib')
+makedepends=('cmake')
+provides=('stardict')
+changelog=$pkgname.changelog
+source=(https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgname-0.5.0-beta4-Source.tar.bz2)
+sha256sums=('19e7ec25de76fc877d35d25542080907b4f89e44d8746f704a24304155483bad')
+
+build() {
+  cd "${srcdir}"/$pkgname-0.5.0-beta4-Source
+
+  mkdir build
+  cd build
+
+  cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
+  make
+  make lang
+}
+
+package() {
+  cd "${srcdir}"/$pkgname-0.5.0-beta4-Source/build
+
+  make DESTDIR="${pkgdir}" install
+}

Deleted: community-x86_64/sdcv-0.4.2-headers.patch
===================================================================
--- community-x86_64/sdcv-0.4.2-headers.patch   2016-05-01 14:25:52 UTC (rev 
173261)
+++ community-x86_64/sdcv-0.4.2-headers.patch   2016-05-01 14:26:18 UTC (rev 
173262)
@@ -1,46 +0,0 @@
-diff -ruN sdcv-0.4.2-orig/src/lib/lib.cpp sdcv-0.4.2/src/lib/lib.cpp
---- sdcv-0.4.2-orig/src/lib/lib.cpp    2006-04-24 10:17:27.000000000 +0200
-+++ sdcv-0.4.2/src/lib/lib.cpp 2009-12-19 21:15:37.000000000 +0100
-@@ -513,7 +513,7 @@
- {
-       fseek(idxfile, wordoffset[page_idx], SEEK_SET);
-       guint32 page_size=wordoffset[page_idx+1]-wordoffset[page_idx];
--      fread(wordentry_buf, std::min(sizeof(wordentry_buf), page_size), 1, 
idxfile); //TODO: check returned values, deal with word entry that strlen>255.
-+      fread(wordentry_buf, std::min(sizeof(wordentry_buf), 
(size_t)page_size), 1, idxfile); //TODO: check returned values, deal with word 
entry that strlen>255.
-       return wordentry_buf;
- }
-
-diff -ruN sdcv-0.4.2-orig/src/libwrapper.cpp sdcv-0.4.2/src/libwrapper.cpp
---- sdcv-0.4.2-orig/src/libwrapper.cpp 2006-04-24 12:40:29.000000000 +0200
-+++ sdcv-0.4.2/src/libwrapper.cpp      2009-12-19 21:15:37.000000000 +0100
-@@ -24,6 +24,7 @@
- 
- #include <glib/gi18n.h>
- #include <map>
-+#include <cstring>
- 
- #include "utils.hpp"
- 
-diff -ruN sdcv-0.4.2-orig/src/readline.cpp sdcv-0.4.2/src/readline.cpp
---- sdcv-0.4.2-orig/src/readline.cpp   2005-12-07 23:07:23.000000000 +0100
-+++ sdcv-0.4.2/src/readline.cpp        2009-12-19 21:15:37.000000000 +0100
-@@ -23,6 +23,7 @@
- #endif
- 
- #include <cstdio>
-+#include <cstdlib>
- #ifdef WITH_READLINE
- #  include <readline/readline.h>
- #  include <readline/history.h>
-diff -ruN sdcv-0.4.2-orig/src/utils.cpp sdcv-0.4.2/src/utils.cpp
---- sdcv-0.4.2-orig/src/utils.cpp      2006-04-24 11:03:47.000000000 +0200
-+++ sdcv-0.4.2/src/utils.cpp   2009-12-19 21:15:37.000000000 +0100
-@@ -22,6 +22,8 @@
- #  include "config.h"
- #endif
- 
-+#include <cstdio>
-+#include <cstdlib>
- #include <glib.h>
- #include <glib/gi18n.h>
- 

Deleted: community-x86_64/sdcv.changelog
===================================================================
--- community-x86_64/sdcv.changelog     2016-05-01 14:25:52 UTC (rev 173261)
+++ community-x86_64/sdcv.changelog     2016-05-01 14:26:18 UTC (rev 173262)
@@ -1,6 +0,0 @@
-2014-07-07 Jaroslav Lichtblau <[email protected]>
-       * sdcv 0.4.2-8 mtree rebuild
-
-2011-10-26 Jaroslav Lichtblau <[email protected]>
-       * sdcv 0.4.2-6
-       * moved to [community] with 206 votes

Copied: sdcv/repos/community-x86_64/sdcv.changelog (from rev 173261, 
sdcv/trunk/sdcv.changelog)
===================================================================
--- community-x86_64/sdcv.changelog                             (rev 0)
+++ community-x86_64/sdcv.changelog     2016-05-01 14:26:18 UTC (rev 173262)
@@ -0,0 +1,9 @@
+2016-05-01 Jaroslav Lichtblau <[email protected]>
+       * sdcv 0.5.0beta4-1
+
+2014-07-07 Jaroslav Lichtblau <[email protected]>
+       * sdcv 0.4.2-8 mtree rebuild
+
+2011-10-26 Jaroslav Lichtblau <[email protected]>
+       * sdcv 0.4.2-6
+       * moved to [community] with 206 votes

Reply via email to