[arch-commits] Commit in gnome-applets/repos (12 files)

Balló György bgyorgy at nymeria.archlinux.org
Tue Apr 9 09:52:33 UTC 2013


    Date: Tuesday, April 9, 2013 @ 11:52:32
  Author: bgyorgy
Revision: 87953

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

Added:
  gnome-applets/repos/community-staging-i686/
  gnome-applets/repos/community-staging-i686/PKGBUILD
    (from rev 87952, gnome-applets/trunk/PKGBUILD)
  gnome-applets/repos/community-staging-i686/disable-gweather-applet.patch
    (from rev 87952, gnome-applets/trunk/disable-gweather-applet.patch)
  gnome-applets/repos/community-staging-i686/fix-autoconf.patch
    (from rev 87952, gnome-applets/trunk/fix-autoconf.patch)
  gnome-applets/repos/community-staging-i686/gnome-applets-cpupower.patch
    (from rev 87952, gnome-applets/trunk/gnome-applets-cpupower.patch)
  gnome-applets/repos/community-staging-i686/gnome-applets.install
    (from rev 87952, gnome-applets/trunk/gnome-applets.install)
  gnome-applets/repos/community-staging-x86_64/
  gnome-applets/repos/community-staging-x86_64/PKGBUILD
    (from rev 87952, gnome-applets/trunk/PKGBUILD)
  gnome-applets/repos/community-staging-x86_64/disable-gweather-applet.patch
    (from rev 87952, gnome-applets/trunk/disable-gweather-applet.patch)
  gnome-applets/repos/community-staging-x86_64/fix-autoconf.patch
    (from rev 87952, gnome-applets/trunk/fix-autoconf.patch)
  gnome-applets/repos/community-staging-x86_64/gnome-applets-cpupower.patch
    (from rev 87952, gnome-applets/trunk/gnome-applets-cpupower.patch)
  gnome-applets/repos/community-staging-x86_64/gnome-applets.install
    (from rev 87952, gnome-applets/trunk/gnome-applets.install)

--------------------------------------------------------+
 community-staging-i686/PKGBUILD                        |   56 +++++++++++++++
 community-staging-i686/disable-gweather-applet.patch   |   12 +++
 community-staging-i686/fix-autoconf.patch              |   12 +++
 community-staging-i686/gnome-applets-cpupower.patch    |   12 +++
 community-staging-i686/gnome-applets.install           |   24 ++++++
 community-staging-x86_64/PKGBUILD                      |   56 +++++++++++++++
 community-staging-x86_64/disable-gweather-applet.patch |   12 +++
 community-staging-x86_64/fix-autoconf.patch            |   12 +++
 community-staging-x86_64/gnome-applets-cpupower.patch  |   12 +++
 community-staging-x86_64/gnome-applets.install         |   24 ++++++
 10 files changed, 232 insertions(+)

Copied: gnome-applets/repos/community-staging-i686/PKGBUILD (from rev 87952, gnome-applets/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-04-09 09:52:32 UTC (rev 87953)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-applets
+pkgver=3.5.92
+pkgrel=2
+pkgdesc="Small applications for the GNOME panel"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('cpupower' 'gucharmap' 'gstreamer0.10-base' 'gnome-panel' 'libgtop')
+makedepends=('gnome-common' 'gnome-doc-utils' 'intltool' 'networkmanager' 'rarian')
+url="http://www.gnome.org"
+install=$pkgname.install
+source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+        gnome-applets-cpupower.patch
+        disable-gweather-applet.patch
+        fix-autoconf.patch)
+sha256sums=('f6178cb702a39a4103fcb97e9a266bf6d05f05ac5064818f119c023d76170e83'
+            '942276d7cc18224d9f5b1b57314746ad4d713ee0dcf4aedb25fa72e92db75e65'
+            '47f6b477c0f76ebb1e8ffc6fe9bd2fac9ac7f511f059cf4bb2687f8425bfb4a8'
+            '0acd58aee458345e378d5f77256e04b13e3a4c06b166aac390a92309b864e8a4')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  sed -i 's@^#!.*python$@#!/usr/bin/python2@' invest-applet/invest/*
+
+  # Use cpupower instead of cpufreq
+  patch -Np1 -i "$srcdir/gnome-applets-cpupower.patch"
+
+  # Disable gweather applet, because it's not compatible with libgweather 3.8
+  patch -Np1 -i "$srcdir/disable-gweather-applet.patch"
+
+  # Fix build
+  patch -Np1 -i "$srcdir/fix-autoconf.patch"
+
+  # Turn off some unneeded warnings
+  CFLAGS="$CFLAGS -Wno-missing-prototypes"
+
+  autoreconf -fi
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
+              --disable-static --disable-schemas-install --disable-scrollkeeper \
+              --enable-mixer-applet \
+              PYTHON=/usr/bin/python2
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  mkdir -m755 -p "$pkgdir/usr/share/gconf/schemas"
+  gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" "$pkgdir"/etc/gconf/schemas/*.schemas
+  rm -r "$pkgdir"/etc/gconf
+}

Copied: gnome-applets/repos/community-staging-i686/disable-gweather-applet.patch (from rev 87952, gnome-applets/trunk/disable-gweather-applet.patch)
===================================================================
--- community-staging-i686/disable-gweather-applet.patch	                        (rev 0)
+++ community-staging-i686/disable-gweather-applet.patch	2013-04-09 09:52:32 UTC (rev 87953)
@@ -0,0 +1,12 @@
+diff -Naur gnome-applets-3.5.92.orig/configure.in gnome-applets-3.5.92/configure.in
+--- gnome-applets-3.5.92.orig/configure.in	2012-09-20 03:07:34.000000000 +0200
++++ gnome-applets-3.5.92/configure.in	2013-04-09 10:39:54.214243015 +0200
+@@ -251,7 +251,7 @@
+ 
+  dnl -- check for libgweather (required for gweather applet) ------------------
+ build_libgweather_applets=false
+-PKG_CHECK_MODULES(LIBGWEATHER, gweather-3.0 >= $GWEATHER_REQUIRED,
++PKG_CHECK_MODULES(LIBGWEATHER, gweather-3.0 >= $GWEATHER_REQUIRED gweather-3.0 <= 3.7,
+ 	          build_libgweather_applets=true,
+ 		  AC_MSG_WARN([libgweather not found. Not building the weather applet.]))
+ AC_SUBST(LIBGWEATHER_CFLAGS)

Copied: gnome-applets/repos/community-staging-i686/fix-autoconf.patch (from rev 87952, gnome-applets/trunk/fix-autoconf.patch)
===================================================================
--- community-staging-i686/fix-autoconf.patch	                        (rev 0)
+++ community-staging-i686/fix-autoconf.patch	2013-04-09 09:52:32 UTC (rev 87953)
@@ -0,0 +1,12 @@
+diff -Naur gnome-applets-3.5.92.orig/configure.in gnome-applets-3.5.92/configure.in
+--- gnome-applets-3.5.92.orig/configure.in	2012-09-20 03:07:34.000000000 +0200
++++ gnome-applets-3.5.92/configure.in	2013-04-09 09:48:48.427334056 +0200
+@@ -4,7 +4,7 @@
+ AC_INIT(gnome-applets, 3.5.92)
+ AC_PREREQ(2.59)
+ 
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+ AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz tar-ustar])
+ AC_CONFIG_MACRO_DIR(m4)
+ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])

Copied: gnome-applets/repos/community-staging-i686/gnome-applets-cpupower.patch (from rev 87952, gnome-applets/trunk/gnome-applets-cpupower.patch)
===================================================================
--- community-staging-i686/gnome-applets-cpupower.patch	                        (rev 0)
+++ community-staging-i686/gnome-applets-cpupower.patch	2013-04-09 09:52:32 UTC (rev 87953)
@@ -0,0 +1,12 @@
+diff -up gnome-applets-3.1.90/configure.in.cpupower gnome-applets-3.1.90/configure.in
+--- gnome-applets-3.1.90/configure.in.cpupower	2011-08-31 18:49:00.628945807 -0400
++++ gnome-applets-3.1.90/configure.in	2011-08-31 18:49:17.397946966 -0400
+@@ -518,7 +518,7 @@ AC_CHECK_HEADER(cpufreq.h, have_libcpufr
+ LIBCPUFREQ_LIBS=
+ if test "x$have_libcpufreq" = "xyes"; then
+    AC_DEFINE([HAVE_LIBCPUFREQ], [1], [Have libcpufreq.])
+-   LIBCPUFREQ_LIBS=-lcpufreq
++   LIBCPUFREQ_LIBS=-lcpupower
+ fi
+ AM_CONDITIONAL(HAVE_LIBCPUFREQ, test x$have_libcpufreq = xyes)
+ AC_SUBST(LIBCPUFREQ_LIBS)

Copied: gnome-applets/repos/community-staging-i686/gnome-applets.install (from rev 87952, gnome-applets/trunk/gnome-applets.install)
===================================================================
--- community-staging-i686/gnome-applets.install	                        (rev 0)
+++ community-staging-i686/gnome-applets.install	2013-04-09 09:52:32 UTC (rev 87953)
@@ -0,0 +1,24 @@
+pkgname=gnome-applets
+
+post_install() {
+  gconfpkg --install ${pkgname}
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}

Copied: gnome-applets/repos/community-staging-x86_64/PKGBUILD (from rev 87952, gnome-applets/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-04-09 09:52:32 UTC (rev 87953)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-applets
+pkgver=3.5.92
+pkgrel=2
+pkgdesc="Small applications for the GNOME panel"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('cpupower' 'gucharmap' 'gstreamer0.10-base' 'gnome-panel' 'libgtop')
+makedepends=('gnome-common' 'gnome-doc-utils' 'intltool' 'networkmanager' 'rarian')
+url="http://www.gnome.org"
+install=$pkgname.install
+source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+        gnome-applets-cpupower.patch
+        disable-gweather-applet.patch
+        fix-autoconf.patch)
+sha256sums=('f6178cb702a39a4103fcb97e9a266bf6d05f05ac5064818f119c023d76170e83'
+            '942276d7cc18224d9f5b1b57314746ad4d713ee0dcf4aedb25fa72e92db75e65'
+            '47f6b477c0f76ebb1e8ffc6fe9bd2fac9ac7f511f059cf4bb2687f8425bfb4a8'
+            '0acd58aee458345e378d5f77256e04b13e3a4c06b166aac390a92309b864e8a4')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  sed -i 's@^#!.*python$@#!/usr/bin/python2@' invest-applet/invest/*
+
+  # Use cpupower instead of cpufreq
+  patch -Np1 -i "$srcdir/gnome-applets-cpupower.patch"
+
+  # Disable gweather applet, because it's not compatible with libgweather 3.8
+  patch -Np1 -i "$srcdir/disable-gweather-applet.patch"
+
+  # Fix build
+  patch -Np1 -i "$srcdir/fix-autoconf.patch"
+
+  # Turn off some unneeded warnings
+  CFLAGS="$CFLAGS -Wno-missing-prototypes"
+
+  autoreconf -fi
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
+              --disable-static --disable-schemas-install --disable-scrollkeeper \
+              --enable-mixer-applet \
+              PYTHON=/usr/bin/python2
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  mkdir -m755 -p "$pkgdir/usr/share/gconf/schemas"
+  gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" "$pkgdir"/etc/gconf/schemas/*.schemas
+  rm -r "$pkgdir"/etc/gconf
+}

Copied: gnome-applets/repos/community-staging-x86_64/disable-gweather-applet.patch (from rev 87952, gnome-applets/trunk/disable-gweather-applet.patch)
===================================================================
--- community-staging-x86_64/disable-gweather-applet.patch	                        (rev 0)
+++ community-staging-x86_64/disable-gweather-applet.patch	2013-04-09 09:52:32 UTC (rev 87953)
@@ -0,0 +1,12 @@
+diff -Naur gnome-applets-3.5.92.orig/configure.in gnome-applets-3.5.92/configure.in
+--- gnome-applets-3.5.92.orig/configure.in	2012-09-20 03:07:34.000000000 +0200
++++ gnome-applets-3.5.92/configure.in	2013-04-09 10:39:54.214243015 +0200
+@@ -251,7 +251,7 @@
+ 
+  dnl -- check for libgweather (required for gweather applet) ------------------
+ build_libgweather_applets=false
+-PKG_CHECK_MODULES(LIBGWEATHER, gweather-3.0 >= $GWEATHER_REQUIRED,
++PKG_CHECK_MODULES(LIBGWEATHER, gweather-3.0 >= $GWEATHER_REQUIRED gweather-3.0 <= 3.7,
+ 	          build_libgweather_applets=true,
+ 		  AC_MSG_WARN([libgweather not found. Not building the weather applet.]))
+ AC_SUBST(LIBGWEATHER_CFLAGS)

Copied: gnome-applets/repos/community-staging-x86_64/fix-autoconf.patch (from rev 87952, gnome-applets/trunk/fix-autoconf.patch)
===================================================================
--- community-staging-x86_64/fix-autoconf.patch	                        (rev 0)
+++ community-staging-x86_64/fix-autoconf.patch	2013-04-09 09:52:32 UTC (rev 87953)
@@ -0,0 +1,12 @@
+diff -Naur gnome-applets-3.5.92.orig/configure.in gnome-applets-3.5.92/configure.in
+--- gnome-applets-3.5.92.orig/configure.in	2012-09-20 03:07:34.000000000 +0200
++++ gnome-applets-3.5.92/configure.in	2013-04-09 09:48:48.427334056 +0200
+@@ -4,7 +4,7 @@
+ AC_INIT(gnome-applets, 3.5.92)
+ AC_PREREQ(2.59)
+ 
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADERS(config.h)
+ AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz tar-ustar])
+ AC_CONFIG_MACRO_DIR(m4)
+ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])

Copied: gnome-applets/repos/community-staging-x86_64/gnome-applets-cpupower.patch (from rev 87952, gnome-applets/trunk/gnome-applets-cpupower.patch)
===================================================================
--- community-staging-x86_64/gnome-applets-cpupower.patch	                        (rev 0)
+++ community-staging-x86_64/gnome-applets-cpupower.patch	2013-04-09 09:52:32 UTC (rev 87953)
@@ -0,0 +1,12 @@
+diff -up gnome-applets-3.1.90/configure.in.cpupower gnome-applets-3.1.90/configure.in
+--- gnome-applets-3.1.90/configure.in.cpupower	2011-08-31 18:49:00.628945807 -0400
++++ gnome-applets-3.1.90/configure.in	2011-08-31 18:49:17.397946966 -0400
+@@ -518,7 +518,7 @@ AC_CHECK_HEADER(cpufreq.h, have_libcpufr
+ LIBCPUFREQ_LIBS=
+ if test "x$have_libcpufreq" = "xyes"; then
+    AC_DEFINE([HAVE_LIBCPUFREQ], [1], [Have libcpufreq.])
+-   LIBCPUFREQ_LIBS=-lcpufreq
++   LIBCPUFREQ_LIBS=-lcpupower
+ fi
+ AM_CONDITIONAL(HAVE_LIBCPUFREQ, test x$have_libcpufreq = xyes)
+ AC_SUBST(LIBCPUFREQ_LIBS)

Copied: gnome-applets/repos/community-staging-x86_64/gnome-applets.install (from rev 87952, gnome-applets/trunk/gnome-applets.install)
===================================================================
--- community-staging-x86_64/gnome-applets.install	                        (rev 0)
+++ community-staging-x86_64/gnome-applets.install	2013-04-09 09:52:32 UTC (rev 87953)
@@ -0,0 +1,24 @@
+pkgname=gnome-applets
+
+post_install() {
+  gconfpkg --install ${pkgname}
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}




More information about the arch-commits mailing list