[arch-commits] Commit in alacarte/trunk (PKGBUILD fix-crash.patch)
Jan de Groot
jgc at nymeria.archlinux.org
Wed Apr 3 09:54:42 UTC 2013
Date: Wednesday, April 3, 2013 @ 11:54:42
Author: jgc
Revision: 181328
upgpkg: alacarte 3.7.90-1
Remove dependency on gnome-panel, remove from gnome-extra
Modified:
alacarte/trunk/PKGBUILD
Deleted:
alacarte/trunk/fix-crash.patch
-----------------+
PKGBUILD | 16 +++++-----------
fix-crash.patch | 21 ---------------------
2 files changed, 5 insertions(+), 32 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-03 09:47:59 UTC (rev 181327)
+++ PKGBUILD 2013-04-03 09:54:42 UTC (rev 181328)
@@ -3,28 +3,22 @@
# Contributor: pressh <pressh at gmail.com>
pkgname=alacarte
-pkgver=3.6.1
-pkgrel=2
+pkgver=3.7.90
+pkgrel=1
pkgdesc="Menu editor for gnome"
arch=(any)
license=('LGPL')
url="http://www.gnome.org"
-depends=('gnome-menus' 'hicolor-icon-theme' 'python2-gobject' 'gtk3' 'gnome-panel')
+depends=('gnome-menus' 'hicolor-icon-theme' 'python2-gobject' 'gtk3')
makedepends=('intltool')
install=alacarte.install
options=('!libtool')
-groups=('gnome-extra')
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/3.6/${pkgname}-${pkgver}.tar.xz
- fix-crash.patch)
-sha256sums=('7e17bd80e43130afea6372a957777d289c9b9b6d4893aa20ad3f45bbd48dd25e'
- '20ba4fb152996879c76571c9e26f993882314ff5fd0074279c71644c9e72dc01')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/3.7/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('379ae48422ff6bc7b9657d1f9968a83ee4eb8f8c69964dbb8ce2dac6e0b5ccf0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- # Fix crash when $XDG_MENU_PREFIX is not defined
- patch -Np1 -i "${srcdir}/fix-crash.patch"
-
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
}
Deleted: fix-crash.patch
===================================================================
--- fix-crash.patch 2013-04-03 09:47:59 UTC (rev 181327)
+++ fix-crash.patch 2013-04-03 09:54:42 UTC (rev 181328)
@@ -1,21 +0,0 @@
-From fe7211f2eb4c8bcf7cbddca75bf4e28ee7b98659 Mon Sep 17 00:00:00 2001
-From: Jasper St. Pierre <jstpierre at mecheye.net>
-Date: Tue, 23 Oct 2012 03:08:38 +0000
-Subject: MenuEditor: deal with the case of having no $XDG_MENU_PREFIX
-
----
-diff --git a/Alacarte/MenuEditor.py b/Alacarte/MenuEditor.py
-index 386b382..8d992ca 100644
---- a/Alacarte/MenuEditor.py
-+++ b/Alacarte/MenuEditor.py
-@@ -23,7 +23,7 @@ from gi.repository import GMenu, GLib
- from Alacarte import util
-
- class MenuEditor(object):
-- def __init__(self, name=os.environ['XDG_MENU_PREFIX'] + 'applications.menu'):
-+ def __init__(self, name=os.environ.get('XDG_MENU_PREFIX', '') + 'applications.menu'):
- self.name = name
-
- self.tree = GMenu.Tree.new(name, GMenu.TreeFlags.SHOW_EMPTY|GMenu.TreeFlags.INCLUDE_EXCLUDED|GMenu.TreeFlags.INCLUDE_NODISPLAY|GMenu.TreeFlags.SHOW_ALL_SEPARATORS|GMenu.TreeFlags.SORT_DISPLAY_NAME)
---
-cgit v0.9.0.2
More information about the arch-commits
mailing list