[arch-commits] Commit in anjuta/repos (8 files)
Jan Steffens
heftig at nymeria.archlinux.org
Sun Mar 31 12:15:50 UTC 2013
Date: Sunday, March 31, 2013 @ 14:15:49
Author: heftig
Revision: 181095
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64
Added:
anjuta/repos/gnome-unstable-i686/
anjuta/repos/gnome-unstable-i686/PKGBUILD
(from rev 181094, anjuta/trunk/PKGBUILD)
anjuta/repos/gnome-unstable-i686/anjuta.install
(from rev 181094, anjuta/trunk/anjuta.install)
anjuta/repos/gnome-unstable-i686/fix-compile-error.patch
(from rev 181094, anjuta/trunk/fix-compile-error.patch)
anjuta/repos/gnome-unstable-x86_64/
anjuta/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 181094, anjuta/trunk/PKGBUILD)
anjuta/repos/gnome-unstable-x86_64/anjuta.install
(from rev 181094, anjuta/trunk/anjuta.install)
anjuta/repos/gnome-unstable-x86_64/fix-compile-error.patch
(from rev 181094, anjuta/trunk/fix-compile-error.patch)
-----------------------------------------------+
gnome-unstable-i686/PKGBUILD | 59 ++++++++++++++++++++++++
gnome-unstable-i686/anjuta.install | 15 ++++++
gnome-unstable-i686/fix-compile-error.patch | 24 +++++++++
gnome-unstable-x86_64/PKGBUILD | 59 ++++++++++++++++++++++++
gnome-unstable-x86_64/anjuta.install | 15 ++++++
gnome-unstable-x86_64/fix-compile-error.patch | 24 +++++++++
6 files changed, 196 insertions(+)
Copied: anjuta/repos/gnome-unstable-i686/PKGBUILD (from rev 181094, anjuta/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2013-03-31 12:15:49 UTC (rev 181095)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Harley Laue <losinggeneration at yahoo.com>
+
+pkgbase=anjuta
+pkgname=('libanjuta' 'anjuta')
+pkgver=3.8.0
+pkgrel=1
+pkgdesc="GNOME Integrated Development Environment (IDE)"
+arch=(i686 x86_64)
+license=(GPL)
+makedepends=(gdl vte3 autogen devhelp glade libgda subversion gnome-icon-theme vala dconf
+ gtk-doc yelp-tools gnome-common intltool gobject-introspection itstool gjs)
+url="http://www.anjuta.org/"
+options=('!libtool' '!emptydirs')
+source=(ftp://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
+ fix-compile-error.patch)
+sha256sums=('c95caac9ad56a26457b76c49ec27b38e67de05df5f6656e0fbdac0508d59f117'
+ 'd072af4c1c52ce65f84026b83baa642a9bcfa06b10913b356b5cd99d98931b1d')
+
+build() {
+ cd "$pkgbase-$pkgver"
+
+ patch -Np1 -i ../fix-compile-error.patch
+
+ # Bump vala version
+ sed -i '/vala/s/-0\.18/-0.20/' configure.ac
+
+ PYTHON=/usr/bin/python2 ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --enable-glade-catalog
+ make
+}
+
+package_libanjuta(){
+ pkgdesc="Anjuta runtime library"
+ depends=(gdl)
+ conflicts=('anjuta<3.4.4')
+
+ cd "$pkgbase-$pkgver/libanjuta"
+
+ # j1: Race during linking
+ make -j1 DESTDIR="$pkgdir" install
+}
+
+package_anjuta(){
+ pkgdesc="GNOME Integrated Development Environment (IDE)"
+ depends=(libanjuta vte3 autogen devhelp glade libgda subversion gnome-icon-theme vala dconf)
+
+ install=anjuta.install
+
+ cd "$pkgbase-$pkgver"
+ make -j1 DESTDIR="$pkgdir" install
+
+ cd libanjuta
+ make -j1 DESTDIR="$pkgdir" uninstall
+
+ sed -i "1s|#!/usr/bin/python$|&2|" \
+ $pkgdir/usr/share/anjuta/project/{pygtk,python}/src/main.py
+}
Copied: anjuta/repos/gnome-unstable-i686/anjuta.install (from rev 181094, anjuta/trunk/anjuta.install)
===================================================================
--- gnome-unstable-i686/anjuta.install (rev 0)
+++ gnome-unstable-i686/anjuta.install 2013-03-31 12:15:49 UTC (rev 181095)
@@ -0,0 +1,15 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ gtk-update-icon-cache -q -t -f /usr/share/icons/gnome
+ update-mime-database /usr/share/mime > /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: anjuta/repos/gnome-unstable-i686/fix-compile-error.patch (from rev 181094, anjuta/trunk/fix-compile-error.patch)
===================================================================
--- gnome-unstable-i686/fix-compile-error.patch (rev 0)
+++ gnome-unstable-i686/fix-compile-error.patch 2013-03-31 12:15:49 UTC (rev 181095)
@@ -0,0 +1,24 @@
+diff -u -r anjuta-3.8.0/libanjuta/anjuta-token.c anjuta-3.8.0-fix/libanjuta/anjuta-token.c
+--- anjuta-3.8.0/libanjuta/anjuta-token.c 2013-01-14 22:45:09.000000000 +0100
++++ anjuta-3.8.0-fix/libanjuta/anjuta-token.c 2013-03-31 13:56:11.722332230 +0200
+@@ -329,7 +329,7 @@
+ if (string == NULL)
+ {
+ /* Value doesn't contain a newline */
+- fprintf (stderr, "(%lu)", length);
++ fprintf (stderr, "(%lu)", (long unsigned)length);
+ }
+ else
+ {
+diff -u -r anjuta-3.8.0/plugins/dir-project/dir-project.c anjuta-3.8.0-fix/plugins/dir-project/dir-project.c
+--- anjuta-3.8.0/plugins/dir-project/dir-project.c 2012-11-19 00:34:57.000000000 +0100
++++ anjuta-3.8.0-fix/plugins/dir-project/dir-project.c 2013-03-31 13:55:35.922610895 +0200
+@@ -268,7 +268,7 @@
+ {
+ ptr++;
+ } while (*ptr == '?');
+- g_string_append_printf (regex, "(.{%d})", ptr - next);
++ g_string_append_printf (regex, "(.{%ld})", (long)(ptr - next));
+ }
+ else if (*ptr == '\\')
+ {
Copied: anjuta/repos/gnome-unstable-x86_64/PKGBUILD (from rev 181094, anjuta/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2013-03-31 12:15:49 UTC (rev 181095)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Harley Laue <losinggeneration at yahoo.com>
+
+pkgbase=anjuta
+pkgname=('libanjuta' 'anjuta')
+pkgver=3.8.0
+pkgrel=1
+pkgdesc="GNOME Integrated Development Environment (IDE)"
+arch=(i686 x86_64)
+license=(GPL)
+makedepends=(gdl vte3 autogen devhelp glade libgda subversion gnome-icon-theme vala dconf
+ gtk-doc yelp-tools gnome-common intltool gobject-introspection itstool gjs)
+url="http://www.anjuta.org/"
+options=('!libtool' '!emptydirs')
+source=(ftp://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
+ fix-compile-error.patch)
+sha256sums=('c95caac9ad56a26457b76c49ec27b38e67de05df5f6656e0fbdac0508d59f117'
+ 'd072af4c1c52ce65f84026b83baa642a9bcfa06b10913b356b5cd99d98931b1d')
+
+build() {
+ cd "$pkgbase-$pkgver"
+
+ patch -Np1 -i ../fix-compile-error.patch
+
+ # Bump vala version
+ sed -i '/vala/s/-0\.18/-0.20/' configure.ac
+
+ PYTHON=/usr/bin/python2 ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --enable-glade-catalog
+ make
+}
+
+package_libanjuta(){
+ pkgdesc="Anjuta runtime library"
+ depends=(gdl)
+ conflicts=('anjuta<3.4.4')
+
+ cd "$pkgbase-$pkgver/libanjuta"
+
+ # j1: Race during linking
+ make -j1 DESTDIR="$pkgdir" install
+}
+
+package_anjuta(){
+ pkgdesc="GNOME Integrated Development Environment (IDE)"
+ depends=(libanjuta vte3 autogen devhelp glade libgda subversion gnome-icon-theme vala dconf)
+
+ install=anjuta.install
+
+ cd "$pkgbase-$pkgver"
+ make -j1 DESTDIR="$pkgdir" install
+
+ cd libanjuta
+ make -j1 DESTDIR="$pkgdir" uninstall
+
+ sed -i "1s|#!/usr/bin/python$|&2|" \
+ $pkgdir/usr/share/anjuta/project/{pygtk,python}/src/main.py
+}
Copied: anjuta/repos/gnome-unstable-x86_64/anjuta.install (from rev 181094, anjuta/trunk/anjuta.install)
===================================================================
--- gnome-unstable-x86_64/anjuta.install (rev 0)
+++ gnome-unstable-x86_64/anjuta.install 2013-03-31 12:15:49 UTC (rev 181095)
@@ -0,0 +1,15 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ gtk-update-icon-cache -q -t -f /usr/share/icons/gnome
+ update-mime-database /usr/share/mime > /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: anjuta/repos/gnome-unstable-x86_64/fix-compile-error.patch (from rev 181094, anjuta/trunk/fix-compile-error.patch)
===================================================================
--- gnome-unstable-x86_64/fix-compile-error.patch (rev 0)
+++ gnome-unstable-x86_64/fix-compile-error.patch 2013-03-31 12:15:49 UTC (rev 181095)
@@ -0,0 +1,24 @@
+diff -u -r anjuta-3.8.0/libanjuta/anjuta-token.c anjuta-3.8.0-fix/libanjuta/anjuta-token.c
+--- anjuta-3.8.0/libanjuta/anjuta-token.c 2013-01-14 22:45:09.000000000 +0100
++++ anjuta-3.8.0-fix/libanjuta/anjuta-token.c 2013-03-31 13:56:11.722332230 +0200
+@@ -329,7 +329,7 @@
+ if (string == NULL)
+ {
+ /* Value doesn't contain a newline */
+- fprintf (stderr, "(%lu)", length);
++ fprintf (stderr, "(%lu)", (long unsigned)length);
+ }
+ else
+ {
+diff -u -r anjuta-3.8.0/plugins/dir-project/dir-project.c anjuta-3.8.0-fix/plugins/dir-project/dir-project.c
+--- anjuta-3.8.0/plugins/dir-project/dir-project.c 2012-11-19 00:34:57.000000000 +0100
++++ anjuta-3.8.0-fix/plugins/dir-project/dir-project.c 2013-03-31 13:55:35.922610895 +0200
+@@ -268,7 +268,7 @@
+ {
+ ptr++;
+ } while (*ptr == '?');
+- g_string_append_printf (regex, "(.{%d})", ptr - next);
++ g_string_append_printf (regex, "(.{%ld})", (long)(ptr - next));
+ }
+ else if (*ptr == '\\')
+ {
More information about the arch-commits
mailing list