[arch-commits] Commit in librcc/repos (8 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Aug 5 11:31:08 UTC 2013
Date: Monday, August 5, 2013 @ 13:31:08
Author: spupykin
Revision: 95081
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
librcc/repos/community-staging-i686/
librcc/repos/community-staging-i686/PKGBUILD
(from rev 95080, librcc/trunk/PKGBUILD)
librcc/repos/community-staging-i686/librcc-strnlen.patch
(from rev 95080, librcc/trunk/librcc-strnlen.patch)
librcc/repos/community-staging-i686/librcc.install
(from rev 95080, librcc/trunk/librcc.install)
librcc/repos/community-staging-x86_64/
librcc/repos/community-staging-x86_64/PKGBUILD
(from rev 95080, librcc/trunk/PKGBUILD)
librcc/repos/community-staging-x86_64/librcc-strnlen.patch
(from rev 95080, librcc/trunk/librcc-strnlen.patch)
librcc/repos/community-staging-x86_64/librcc.install
(from rev 95080, librcc/trunk/librcc.install)
-----------------------------------------------+
community-staging-i686/PKGBUILD | 49 ++++++++++++++++++++++++
community-staging-i686/librcc-strnlen.patch | 17 ++++++++
community-staging-i686/librcc.install | 6 ++
community-staging-x86_64/PKGBUILD | 49 ++++++++++++++++++++++++
community-staging-x86_64/librcc-strnlen.patch | 17 ++++++++
community-staging-x86_64/librcc.install | 6 ++
6 files changed, 144 insertions(+)
Copied: librcc/repos/community-staging-i686/PKGBUILD (from rev 95080, librcc/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-08-05 11:31:08 UTC (rev 95081)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=librcc
+pkgver=0.2.10
+pkgrel=1
+pkgdesc="Charset Conversion Library"
+arch=(i686 x86_64)
+url="http://rusxmms.sourceforge.net/"
+license=('GPL')
+depends=(aspell enca libxml2 db librcd)
+makedepends=(patch gtk gtk2)
+install=librcc.install
+options=('!libtool')
+source=(http://downloads.sourceforge.net/rusxmms/${pkgname}-${pkgver}.tar.bz2
+ librcc-strnlen.patch)
+md5sums=('077260cf58ae9624c964652b79fbb5fb'
+ '040313d1d8f166ccf2b128cea4c05f21')
+
+build() {
+ cd $srcdir/$pkgname-${pkgver}
+ ./configure --prefix=/usr
+# patch -p1 <$srcdir/librcc-strnlen.patch
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-${pkgver}
+ mkdir -p $pkgdir/etc/rcc
+ mkdir -p $pkgdir/usr/lib/rcc/engines
+ mkdir -p $pkgdir/usr/bin
+
+ make DESTDIR=$pkgdir install
+
+ make -C examples
+ make -C examples install DESTDIR=$pkgdir
+ rm -f $pkgdir/usr/bin/example*
+
+ install -m 644 examples/rcc.xml $pkgdir/etc
+
+ if [ -f $pkgdir/usr/bin/rcc-gtk2-config ]; then
+ ln -s rcc-gtk2-config $pkgdir/usr/bin/rcc-config
+ elif [ -f $pkgdir/usr/bin/rcc-gtk-config ]; then
+ ln -s rcc-gtk-config $pkgdir/usr/bin/rcc-config
+ else
+ echo "#!/bin/bash" > $pkgdir/usr/bin/rcc-config
+ echo "echo \"Configuration UI is not available!\"" >> $pkgdir/usr/bin/rcc-config
+ fi
+}
Copied: librcc/repos/community-staging-i686/librcc-strnlen.patch (from rev 95080, librcc/trunk/librcc-strnlen.patch)
===================================================================
--- community-staging-i686/librcc-strnlen.patch (rev 0)
+++ community-staging-i686/librcc-strnlen.patch 2013-08-05 11:31:08 UTC (rev 95081)
@@ -0,0 +1,17 @@
+diff -wbBur librcc-0.2.6/src/rccstring.h librcc-0.2.6.qwe/src/rccstring.h
+--- librcc-0.2.6/src/rccstring.h 2006-01-08 15:42:59.000000000 +0000
++++ librcc-0.2.6.qwe/src/rccstring.h 2009-09-28 08:45:37.000000000 +0000
+@@ -18,13 +18,6 @@
+ int rccStringFixID(rcc_string string, rcc_context ctx);
+ int rccStringChangeID(rcc_string string, rcc_language_id language_id);
+
+-#ifdef HAVE_STRNLEN
+-# ifndef strnlen
+-int strnlen(const char *str, size_t size);
+-# endif /* !strnlen */
+-#else
+-int rccStrnlen(const char *str, size_t size);
+-#endif /* HAVE_STRNLEN */
+ int rccIsASCII(const char *str);
+ size_t rccStringSizedGetChars(const char *str, size_t size);
+
Copied: librcc/repos/community-staging-i686/librcc.install (from rev 95080, librcc/trunk/librcc.install)
===================================================================
--- community-staging-i686/librcc.install (rev 0)
+++ community-staging-i686/librcc.install 2013-08-05 11:31:08 UTC (rev 95081)
@@ -0,0 +1,6 @@
+post_install() {
+ echo "-- Don't forget to install gtk or/and gtk2 packages to enable librcc"
+ echo " gui features"
+ echo "-- Also you may change /usr/bin/rcc-config symlink to switch between"
+ echo " gtk and gtk2 (rcc-gtk-config and rcc-gtk2-config)"
+}
Copied: librcc/repos/community-staging-x86_64/PKGBUILD (from rev 95080, librcc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-08-05 11:31:08 UTC (rev 95081)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=librcc
+pkgver=0.2.10
+pkgrel=1
+pkgdesc="Charset Conversion Library"
+arch=(i686 x86_64)
+url="http://rusxmms.sourceforge.net/"
+license=('GPL')
+depends=(aspell enca libxml2 db librcd)
+makedepends=(patch gtk gtk2)
+install=librcc.install
+options=('!libtool')
+source=(http://downloads.sourceforge.net/rusxmms/${pkgname}-${pkgver}.tar.bz2
+ librcc-strnlen.patch)
+md5sums=('077260cf58ae9624c964652b79fbb5fb'
+ '040313d1d8f166ccf2b128cea4c05f21')
+
+build() {
+ cd $srcdir/$pkgname-${pkgver}
+ ./configure --prefix=/usr
+# patch -p1 <$srcdir/librcc-strnlen.patch
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-${pkgver}
+ mkdir -p $pkgdir/etc/rcc
+ mkdir -p $pkgdir/usr/lib/rcc/engines
+ mkdir -p $pkgdir/usr/bin
+
+ make DESTDIR=$pkgdir install
+
+ make -C examples
+ make -C examples install DESTDIR=$pkgdir
+ rm -f $pkgdir/usr/bin/example*
+
+ install -m 644 examples/rcc.xml $pkgdir/etc
+
+ if [ -f $pkgdir/usr/bin/rcc-gtk2-config ]; then
+ ln -s rcc-gtk2-config $pkgdir/usr/bin/rcc-config
+ elif [ -f $pkgdir/usr/bin/rcc-gtk-config ]; then
+ ln -s rcc-gtk-config $pkgdir/usr/bin/rcc-config
+ else
+ echo "#!/bin/bash" > $pkgdir/usr/bin/rcc-config
+ echo "echo \"Configuration UI is not available!\"" >> $pkgdir/usr/bin/rcc-config
+ fi
+}
Copied: librcc/repos/community-staging-x86_64/librcc-strnlen.patch (from rev 95080, librcc/trunk/librcc-strnlen.patch)
===================================================================
--- community-staging-x86_64/librcc-strnlen.patch (rev 0)
+++ community-staging-x86_64/librcc-strnlen.patch 2013-08-05 11:31:08 UTC (rev 95081)
@@ -0,0 +1,17 @@
+diff -wbBur librcc-0.2.6/src/rccstring.h librcc-0.2.6.qwe/src/rccstring.h
+--- librcc-0.2.6/src/rccstring.h 2006-01-08 15:42:59.000000000 +0000
++++ librcc-0.2.6.qwe/src/rccstring.h 2009-09-28 08:45:37.000000000 +0000
+@@ -18,13 +18,6 @@
+ int rccStringFixID(rcc_string string, rcc_context ctx);
+ int rccStringChangeID(rcc_string string, rcc_language_id language_id);
+
+-#ifdef HAVE_STRNLEN
+-# ifndef strnlen
+-int strnlen(const char *str, size_t size);
+-# endif /* !strnlen */
+-#else
+-int rccStrnlen(const char *str, size_t size);
+-#endif /* HAVE_STRNLEN */
+ int rccIsASCII(const char *str);
+ size_t rccStringSizedGetChars(const char *str, size_t size);
+
Copied: librcc/repos/community-staging-x86_64/librcc.install (from rev 95080, librcc/trunk/librcc.install)
===================================================================
--- community-staging-x86_64/librcc.install (rev 0)
+++ community-staging-x86_64/librcc.install 2013-08-05 11:31:08 UTC (rev 95081)
@@ -0,0 +1,6 @@
+post_install() {
+ echo "-- Don't forget to install gtk or/and gtk2 packages to enable librcc"
+ echo " gui features"
+ echo "-- Also you may change /usr/bin/rcc-config symlink to switch between"
+ echo " gtk and gtk2 (rcc-gtk-config and rcc-gtk2-config)"
+}
More information about the arch-commits
mailing list