[arch-commits] Commit in gnome-menus/repos (8 files)
Jan de Groot
jgc at archlinux.org
Thu Oct 18 19:26:44 UTC 2012
Date: Thursday, October 18, 2012 @ 15:26:43
Author: jgc
Revision: 169224
db-move: moved gnome-menus from [gnome-unstable] to [testing] (i686, x86_64)
Added:
gnome-menus/repos/testing-i686/
gnome-menus/repos/testing-i686/PKGBUILD
(from rev 169138, gnome-menus/repos/gnome-unstable-i686/PKGBUILD)
gnome-menus/repos/testing-i686/menus.patch
(from rev 169138, gnome-menus/repos/gnome-unstable-i686/menus.patch)
gnome-menus/repos/testing-x86_64/
gnome-menus/repos/testing-x86_64/PKGBUILD
(from rev 169138, gnome-menus/repos/gnome-unstable-x86_64/PKGBUILD)
gnome-menus/repos/testing-x86_64/menus.patch
(from rev 169138, gnome-menus/repos/gnome-unstable-x86_64/menus.patch)
Deleted:
gnome-menus/repos/gnome-unstable-i686/
gnome-menus/repos/gnome-unstable-x86_64/
----------------------------+
testing-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
testing-i686/menus.patch | 25 +++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
testing-x86_64/menus.patch | 25 +++++++++++++++++++++++++
4 files changed, 122 insertions(+)
Copied: gnome-menus/repos/testing-i686/PKGBUILD (from rev 169138, gnome-menus/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-10-18 19:26:43 UTC (rev 169224)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan de Groot <jan at archlinux.org>
+
+pkgname=gnome-menus
+pkgver=3.6.0
+pkgrel=1
+pkgdesc="GNOME menu specifications"
+arch=('i686' 'x86_64')
+depends=('glib2' 'python2-gobject')
+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=('523ac10729e28f9acde4785e61dcb895828fd89e39b38b68f6c14ec815805a0b'
+ '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/testing-i686/menus.patch (from rev 169138, gnome-menus/repos/gnome-unstable-i686/menus.patch)
===================================================================
--- testing-i686/menus.patch (rev 0)
+++ testing-i686/menus.patch 2012-10-18 19:26:43 UTC (rev 169224)
@@ -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/testing-x86_64/PKGBUILD (from rev 169138, gnome-menus/repos/gnome-unstable-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-10-18 19:26:43 UTC (rev 169224)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan de Groot <jan at archlinux.org>
+
+pkgname=gnome-menus
+pkgver=3.6.0
+pkgrel=1
+pkgdesc="GNOME menu specifications"
+arch=('i686' 'x86_64')
+depends=('glib2' 'python2-gobject')
+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=('523ac10729e28f9acde4785e61dcb895828fd89e39b38b68f6c14ec815805a0b'
+ '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/testing-x86_64/menus.patch (from rev 169138, gnome-menus/repos/gnome-unstable-x86_64/menus.patch)
===================================================================
--- testing-x86_64/menus.patch (rev 0)
+++ testing-x86_64/menus.patch 2012-10-18 19:26:43 UTC (rev 169224)
@@ -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