[arch-commits] Commit in gnome-menus/repos (6 files)

Ionut Biru ibiru at archlinux.org
Fri Mar 9 21:34:34 UTC 2012


    Date: Friday, March 9, 2012 @ 16:34:34
  Author: ibiru
Revision: 152847

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  gnome-menus/repos/gnome-unstable-i686/
  gnome-menus/repos/gnome-unstable-i686/PKGBUILD
    (from rev 152846, gnome-menus/trunk/PKGBUILD)
  gnome-menus/repos/gnome-unstable-i686/menus.patch
    (from rev 152846, gnome-menus/trunk/menus.patch)
  gnome-menus/repos/gnome-unstable-x86_64/
  gnome-menus/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 152846, gnome-menus/trunk/PKGBUILD)
  gnome-menus/repos/gnome-unstable-x86_64/menus.patch
    (from rev 152846, gnome-menus/trunk/menus.patch)

-----------------------------------+
 gnome-unstable-i686/PKGBUILD      |   36 ++++++++++++++++++++++++++++++++++++
 gnome-unstable-i686/menus.patch   |   25 +++++++++++++++++++++++++
 gnome-unstable-x86_64/PKGBUILD    |   36 ++++++++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/menus.patch |   25 +++++++++++++++++++++++++
 4 files changed, 122 insertions(+)

Copied: gnome-menus/repos/gnome-unstable-i686/PKGBUILD (from rev 152846, gnome-menus/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2012-03-09 21:34:34 UTC (rev 152847)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan de Groot <jan at archlinux.org>
+
+pkgname=gnome-menus
+pkgver=3.3.5
+pkgrel=1
+pkgdesc="GNOME menu specifications"
+arch=('i686' 'x86_64')
+depends=('glib2' 'python2')
+makedepends=('intltool' 'gobject-introspection')
+options=('!libtool')
+license=('GPL' 'LGPL')
+url="http://www.gnome.org"
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+        menus.patch)
+sha256sums=('92f640bdb96dacbfcbf183bac1657cc52dd2ddf866b4b33504d01719dbd951d5'
+            'df2779777906b038fa911dc745534564ede9524a64ab368e2f6f8e38d54e7acc')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  patch -Np0 -i "$srcdir/menus.patch"
+
+  PYTHON=/usr/bin/python2 ./configure \
+      --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var  --disable-static
+  make
+}
+
+package(){
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  sed -i "1s|#!/usr/bin/env python$|&2|" \
+    "$pkgdir/usr/lib/python2.7/site-packages/GMenuSimpleEditor/config.py"
+}

Copied: gnome-menus/repos/gnome-unstable-i686/menus.patch (from rev 152846, gnome-menus/trunk/menus.patch)
===================================================================
--- gnome-unstable-i686/menus.patch	                        (rev 0)
+++ gnome-unstable-i686/menus.patch	2012-03-09 21:34:34 UTC (rev 152847)
@@ -0,0 +1,25 @@
+--- layout/applications.menu	2005-06-28 10:16:39.000000000 +0200
++++ layout/applications.menu	2005-09-12 23:21:20.000000000 +0200
+@@ -7,7 +7,6 @@
+   <Directory>Applications.directory</Directory>
+ 
+   <!-- Scan legacy dirs first, as later items take priority -->
+-  <KDELegacyDirs/>
+   <LegacyDir>/etc/X11/applnk</LegacyDir>
+   <LegacyDir>/usr/share/gnome/apps</LegacyDir>
+ 
+@@ -18,6 +17,14 @@
+   <!-- Read in overrides and child menus from applications-merged/ -->
+   <DefaultMergeDirs/>
+ 
++  <!-- Archlinux submenu -->
++  <Menu>
++    <Name>Archlinux</Name>
++    <Directory>Archlinux.directory</Directory>
++    <Include>
++      <Category>Archlinux</Category>
++    </Include>
++  </Menu> <!-- End Archlinux -->
+   <!-- Accessories submenu -->
+   <Menu>
+     <Name>Accessories</Name>

Copied: gnome-menus/repos/gnome-unstable-x86_64/PKGBUILD (from rev 152846, gnome-menus/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2012-03-09 21:34:34 UTC (rev 152847)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan de Groot <jan at archlinux.org>
+
+pkgname=gnome-menus
+pkgver=3.3.5
+pkgrel=1
+pkgdesc="GNOME menu specifications"
+arch=('i686' 'x86_64')
+depends=('glib2' 'python2')
+makedepends=('intltool' 'gobject-introspection')
+options=('!libtool')
+license=('GPL' 'LGPL')
+url="http://www.gnome.org"
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+        menus.patch)
+sha256sums=('92f640bdb96dacbfcbf183bac1657cc52dd2ddf866b4b33504d01719dbd951d5'
+            'df2779777906b038fa911dc745534564ede9524a64ab368e2f6f8e38d54e7acc')
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  patch -Np0 -i "$srcdir/menus.patch"
+
+  PYTHON=/usr/bin/python2 ./configure \
+      --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var  --disable-static
+  make
+}
+
+package(){
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  sed -i "1s|#!/usr/bin/env python$|&2|" \
+    "$pkgdir/usr/lib/python2.7/site-packages/GMenuSimpleEditor/config.py"
+}

Copied: gnome-menus/repos/gnome-unstable-x86_64/menus.patch (from rev 152846, gnome-menus/trunk/menus.patch)
===================================================================
--- gnome-unstable-x86_64/menus.patch	                        (rev 0)
+++ gnome-unstable-x86_64/menus.patch	2012-03-09 21:34:34 UTC (rev 152847)
@@ -0,0 +1,25 @@
+--- layout/applications.menu	2005-06-28 10:16:39.000000000 +0200
++++ layout/applications.menu	2005-09-12 23:21:20.000000000 +0200
+@@ -7,7 +7,6 @@
+   <Directory>Applications.directory</Directory>
+ 
+   <!-- Scan legacy dirs first, as later items take priority -->
+-  <KDELegacyDirs/>
+   <LegacyDir>/etc/X11/applnk</LegacyDir>
+   <LegacyDir>/usr/share/gnome/apps</LegacyDir>
+ 
+@@ -18,6 +17,14 @@
+   <!-- Read in overrides and child menus from applications-merged/ -->
+   <DefaultMergeDirs/>
+ 
++  <!-- Archlinux submenu -->
++  <Menu>
++    <Name>Archlinux</Name>
++    <Directory>Archlinux.directory</Directory>
++    <Include>
++      <Category>Archlinux</Category>
++    </Include>
++  </Menu> <!-- End Archlinux -->
+   <!-- Accessories submenu -->
+   <Menu>
+     <Name>Accessories</Name>




More information about the arch-commits mailing list