Package Details: alacarte-xfce 3.11.91-1

Git Clone URL: https://aur.archlinux.org/alacarte-xfce.git (read-only)
Package Base: alacarte-xfce
Description: Menu editor for Xfce
Upstream URL: http://www.gnome.org
Licenses: LGPL
Groups: xfce4-goodies
Conflicts: alacarte, alacarte-git, alacarte-xfce-devel
Provides: alacarte=3.11.91
Submitter: Barthalion
Maintainer: jamesan
Last Packager: jamesan
Votes: 58
Popularity: 1.728065
First Submitted: 2011-07-20 07:46
Last Updated: 2016-01-26 03:15

Latest Comments

lopardo commented on 2015-11-05 13:00

This still needs to be updated. It's not working as it is right now.

freddie commented on 2015-01-03 14:02

Is it any difference between offical repo alacarte or this except exo,gtk3?? because it looks the same and behave just like alacarte-xfce. So is this package even needed anymore??

jamesan commented on 2014-12-04 23:05

Latest upstream version is 3.11.91. These two lines in the PKGBUILD need to be updated:

majorpkgver=3.11
pkgver=$majorpkgver.91

MrPontificator commented on 2014-05-06 19:25

I intend to get this package in a working state - I can't say whether I will continue to maintain it after that point.

plp commented on 2013-11-07 20:15

OK, here's how things are:

The use of PyXML was an "inspiration" of my own that fixed a bug in Alacarte that frequently rendered all menus unusable under XFCE. However, it looks like PyXML has recently been abandoned by its developers.

Furthermore, I'm not really using Alacarte anymore.

Thus, I'm going to abandon this package to anyone else who might be interested in it. Thanks for all the fun and sorry for the inconvenience.

plp commented on 2013-11-06 21:27

Sorry, I've been abroad for a few days. I'll look into this tomorrow.

orlfman commented on 2013-11-06 19:59

"
==> Building and installing package
==> Install or build missing dependencies for alacarte-xfce:
Password:
error: target not found: pyxml
"

Seems like pyxml is missing from the AUR and prevent building of alacarte-xfce..

mattalexx commented on 2013-10-31 18:11

I'm getting an error:

error: target not found: pyxml

plp commented on 2013-04-28 15:54

taotedice, jlacroix:

OK, here's the document that explains how menus in XFCE work:

http://wiki.xfce.org/howto/customize-menu

It looks like there are quite a few changes that need to be done to Alacarte's code before it can work properly with XFCE. I can spot a couple at first glance:

1. Alacarte creates the .directory files for new menus correctly, but XFCE requires a <menu> entry in xfce-applications.menu for each menu, as well. Alacarte doesn't add this.

2. XFCE puts items in menus using the Category field in their .desktop files. However, Alacarte always leaves Category empty. This results in all new items being placed into the 'Other' menu.

I plan to implement these changes when I have some time. In the meantime, if someone wants to give it a go, please do so and send me the results.

plp commented on 2013-04-26 17:49

New release 3.7.90-2 adds python2-gobject as a dependency.

taotedice commented on 2013-04-26 16:07

plp:

Right - thanks for checking that code. I do not think the solution is to implement a previous version.

Question about the fundamental purpose of alacarte, now (ver 3.7.x): It is primarily a gnome3 support package, and I don't think the new gnome3 DE has much use for menu 'folders' any longer - true? Maybe the code that handles 'folders' has been ignored, since it is no longer really necessary for the gnome3 interface? Just a thought...

ShyPixie commented on 2013-04-26 12:43

Add python2-gobject in depends.

Traceback (most recent call last):
File "/usr/bin/alacarte", line 21, in <module>
from Alacarte.MainWindow import main
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 20, in <module>
import gi
ImportError: No module named gi

plp commented on 2013-04-26 05:40

taotedice:

I don't think this is the problem. I looked into MenuEditor.py, and it looks like the $XDG_MENU_PREFIX bug has already been fixed upstream in 3.7.90. (Which actually makes sense, as nothing would have worked with XFCE if it hadn't been.)

Here's the actual code:

def get_default_menu():
prefix = os.environ.get('XDG_MENU_PREFIX', '')
return prefix + 'applications.menu'

class MenuEditor(object):
def __init__(self, basename=None):
basename = basename or get_default_menu()

Unless I'm mistaken, the problem with Ubuntu's patches is that they are for a very old version of Alacarte (3.5.5) that will probably not even run under Arch. So, we either have to go through all of them and try to re-write them for 3.7.90, or revert back to 3.5.5, apply Ubuntu's patches to it, and then try to modify it to make it work.

I don't know which you guys think would be the best option.

taotedice commented on 2013-04-26 00:44

Good suggestion jlacroix.

Xubuntu 12.10's original menu editor, alacarte-3.5.5, had similar issues and was patched: '40-xdg-menu-prefix: updated and reenabled to bring back support of $XDG_MENU_PREFIX'. The patched code does work. I'm not familiar enough with the alacarte package to apply it myself to the current version, unless I do more homework...

Link to the Ubuntu alacarte page describing the issue and patch: https://code.launchpad.net/~ubuntu-branches/ubuntu/quantal/alacarte/quantal-updates

jlacroix commented on 2013-04-25 20:30

For what it may be worth, Alacarte is working perfectly fine in Xubuntu 12.10 and 13.04. It may be worth browsing their notes or bug reports to find out how they made it work.

plp commented on 2013-04-25 17:15

taotedice:

I also noticed that menus don't work but never got around to investigating why that is. The .directory files created by Alacarte appear to be valid, but XFCE doesn't want to honour them.

If you want to try and figure out what's happening, please do so and let me know about your findings. If you can figure this out, I can help you patch Alacarte to make menus work.

taotedice commented on 2013-04-25 09:02

Thanks for maintaining this package. I have the current xfce, gnome and alacarte-xfce packages installed. As of now I can add and remove items (applications) from the menu, but cannot add or remove menus; I would like to add the 'Science' and Engineering' menu folders. Is this functionality normal?

The new entries are being created in my ~/.local/share/desktop-directories/ as 'alacarte-made.directory' (for example), but the entry doesn't show up in the menu. Is there something else I need to do to get allow menu folder editing? Thanks.

plp commented on 2013-04-25 05:32

It's OK, I can handle it.

Though I'm more interested in saving whatever money I can. This way, my children won't go hungry and will be able to continue enjoying their childhood by playing League of Legends and Call of Duty all day and complaining about how slow their 30 Mbps Internet is.

Anonymous comment on 2013-04-24 23:38

If you want I can take this package over so you and whoever else can revolt against your capitalist government.

plp commented on 2013-04-24 19:56

Bump version 3.7.90.

I somehow managed to make the time needed to do this, after all. :-)

plp commented on 2013-04-24 19:07

It looks like glib 2.36.1 is causing havock everywhere.

The problem will probably be resolved by upgrading to the latest version, and I hope I'll be able to do this soon. However, I'll be very busy the next few days. So, I'm going to disown the package in the hope that someone is going to pick it up and do it. If noone does by the time I'm free to tackle it, I'll own it again.

Anonymous comment on 2013-04-24 19:01

Traceback (most recent call last):
File "/usr/bin/alacarte", line 21, in <module>
from Alacarte.MainWindow import main
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 35, in <module>
from Alacarte.MenuEditor import MenuEditor
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 25, in <module>
from Alacarte import util
File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 28, in <module>
from gi._glib import GError
ImportError: cannot import name GError


doesn't start, flagged

plp commented on 2013-03-29 14:45

laracraft304: Done.

BTW, sorry I haven't had time to upgrade to the latest version. You see, I live in Cyprus. You might have heard the news...

ShyPixie commented on 2013-03-28 13:19

And add provides=("alacarte=$pkgver")

ShyPixie commented on 2013-03-28 13:16

Change "../../alacarte.desktop" by "$srcdir/alacarte.desktop"

plp commented on 2013-03-14 11:01

New release 3.7.3-4.

Now with .desktop menu entry. :-)

plp commented on 2013-03-14 10:06

Sorry, I accidentally uploaded an old version of the package. Please try again.

Jristz commented on 2013-03-14 10:04

Traceback (most recent call last):
File "/usr/bin/alacarte", line 21, in <module>
from Alacarte.MainWindow import main
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 35, in <module>
from Alacarte.MenuEditor import MenuEditor
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 24, in <module>
from xml.dom.ext import PrettyPrint
ImportError: No module named ext

Aditionally I not find a .desktop for launch the alacarte menueditor

plp commented on 2013-03-14 09:52

Updated to version 3.7.3.

plp commented on 2013-03-13 20:22

Noted. If no one else has an objection, I'll adopt this by tomorrow.

There's also a new version available, 3.7.90, which I'll try to push within the next few days.

Kotus commented on 2013-03-13 18:38

Thanks, now patch is valid, but i got this error message by running alacarte:
" File "/usr/bin/alacarte", line 21, in <module>
from Alacarte.MainWindow import main
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 35, in <module>
from Alacarte.MenuEditor import MenuEditor
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 24, in <module>
from xml.dom.ext import PrettyPrint
ImportError: No module named ext"

The problem resolves by installing "pyxml", so you need to add this package in dependency list of PKGBUILD.
Thank you for your contribution for this package, I think you should take over maintance of this package because many will have benefit from this updated package.
Once again, thanks a lot.

plp commented on 2013-03-13 17:57

Sorry Kotus, this website's comment box appears to eat whitespace. Can you try copying it from here?

https://snipt.net/plp13/aur-alacarte-xfcetoprettyxml-and-unicode-fixespatch/

The patch is important because of a bug in Python's self.dom.toprettyxml() that will corrupt your xfce-applications.menu if you try to add or edit anything using Alacarte.

Kotus commented on 2013-03-13 17:35

@plp
Thank you for updated PKGBUILD
I just installed your PKGBUILD and it works as a charm, but the patch you provided don't work so I had to coment out the patch section of the PKGBUILD

When I try to build with patch enabled i get:
"patching file Alacarte/MenuEditor.py
patch: **** malformed patch at line 5: import xml.dom.minidom"

plp commented on 2013-01-21 10:47

Hi, I got tired of having an old version of alacarte-xfce on my system, so I tried to make a PKGBUILD for the latest version 3.7.3.

It didn't work correctly at first: it put extra whitespace in xfce-applications.menu, and it kept throwing Unicode-related exceptions. So, I dag into the code and tried to fix it. Now, it sort of works OK for me, though I'm sure there are still bugs out there.

Maybe someone can try this out and let me know?


Here's the revised PKGBUILD:

=== BEGIN
# Maintainer: Bartek Piotrowski <barthalion@gmail.com>
# Contributor: 3ED <krzysztof1987 at googlemail>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: pressh <pressh@gmail.com>

pkgname=alacarte-xfce
_realname=${pkgname/-xfce/}
pkgver=3.7.3
pkgrel=2
pkgdesc="Menu editor for Xfce (with debian patchset)"
arch=(any)
license=('LGPL')
url="http://www.gnome.org"
depends=('gnome-menus' 'exo' 'hicolor-icon-theme' 'pygtk')
makedepends=('intltool')
conflicts=('alacarte' 'alacarte-git' 'alacarte-xfce-devel')
install=alacarte.install
options=('!libtool')
groups=('xfce4-goodies')
source=(http://ftp.gnome.org/pub/gnome/sources/${_realname}/3.7/${_realname}-${pkgver}.tar.xz toprettyxml-and-unicode-fixes.patch)
md5sums=('59e1e9041400e57a77e896460555067a' '4bb6b558687f6ffde356758a6c4a7c28')

build() {
cd "${srcdir}/${_realname}-${pkgver}"
patch -p1 -i $srcdir/toprettyxml-and-unicode-fixes.patch
sed -e 's/gnome-desktop-item-edit/exo-desktop-item-edit/g' -i Alacarte/MainWindow.py
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
}

check() {
cd "${srcdir}/${_realname}-${pkgver}"
make check
}

package() {
cd "${srcdir}/${_realname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
=== END


And here's toprettyxml-and-unicode-fixes.patch:

=== BEGIN
diff -aur alacarte-3.7.3/Alacarte/MenuEditor.py alacarte-3.7.3.new/Alacarte/MenuEditor.py
--- alacarte-3.7.3/Alacarte/MenuEditor.py 2013-01-11 02:50:22.000000000 +0200
+++ alacarte-3.7.3.new/Alacarte/MenuEditor.py 2013-01-21 12:12:43.338832019 +0200
@@ -21,6 +21,7 @@
import xml.dom.minidom
import xml.parsers.expat
from gi.repository import GMenu, GLib
+from xml.dom.ext import PrettyPrint
from Alacarte import util

def get_default_menu():
@@ -54,7 +55,7 @@

def save(self):
with codecs.open(self.path, 'w', 'utf8') as f:
- f.write(self.dom.toprettyxml())
+ PrettyPrint(self.dom, stream=f)

def restoreToSystem(self):
self.restoreTree(self.tree.get_root_directory())
@@ -262,6 +263,7 @@
out_path = os.path.join(util.getUserItemPath(), file_id)

contents, length = keyfile.to_data()
+ contents = unicode(contents, 'utf8')

with codecs.open(out_path, 'w', 'utf8') as f:
f.write(contents)
@@ -402,6 +404,7 @@
file_id = util.getUniqueFileId(keyfile.get_string(GLib.KEY_FILE_DESKTOP_GROUP, 'Name'), '.desktop')

contents, length = keyfile.to_data()
+ contents = unicode(contents, 'utf8')

path = os.path.join(util.getUserItemPath(), file_id)
with codecs.open(path, 'w', 'utf8') as f:
@@ -424,6 +427,7 @@
util.fillKeyFile(keyfile, kwargs)

contents, length = keyfile.to_data()
+ contents = unicode(contents, 'utf8')

path = os.path.join(util.getUserDirectoryPath(), file_id)
with codecs.open(path, 'w', 'utf8') as f:
=== END

jlacroix commented on 2013-01-06 02:23

The package builds and installs fine, but when I make changes in Alacarte, it has no effect on the menu at all.

Barthalion commented on 2012-08-17 15:29

I've switched to menulibre. I doubt if Alacarte will work with Xfce again, so if you want to maintain the package, contact me.

Barthalion commented on 2012-08-17 15:27

I've switched to menulibre. I doubt if Alacarte will work with Xfce again, so feel free to take it.

GuestOne commented on 2012-08-05 20:45

You can fix my bug packing the latest dev version of gnome-menus and add it to dependencies.

GuestOne commented on 2012-08-04 17:22

Crash to startup with:

Traceback (most recent call last):
File "/usr/bin/alacarte", line 36, in <module>
main()
File "/usr/bin/alacarte", line 33, in main
app.run()
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 62, in run
self.loadMenus()
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 199, in loadMenus
self.on_menu_tree_cursor_changed(menu_tree)
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 339, in on_menu_tree_cursor_changed
self.loadItems(self.menu_store[menu_path][2])
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 213, in loadItems
for item, show in self.editor.getItems(menu):
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 151, in getItems
item = item_iter.get_separator()
AttributeError: 'TreeIter' object has no attribute 'get_separator'

Barthalion commented on 2012-07-31 10:19

Done, thank you.

However, it still doesn't work as it's supposed to. I recommend switching to menulibre.

ShyPixie commented on 2012-07-30 21:52

it has not worked here.

Use this PKGBUILD:

http://sprunge.us/ARjW

patch here:

http://sprunge.us/YHBj

benoliver999 commented on 2012-07-29 18:43

Yep, menulibre works a treat for me too, and doesn't have all the dependencies.

JesusMcCloud commented on 2012-07-22 13:20

I can recommend menulibre as alternative

oboedad55 commented on 2012-07-21 21:13

Hi, I can't get this new version to build. I get this error; ==> ERROR: A failure occurred in build().
Not much help...

Spike29 commented on 2012-07-20 16:44

Indeed, gnome-menus>=3.5.3 is required, but is not in Arch repos yet.
I didn't notice that when I declared package out-of-date :/

ork commented on 2012-07-20 13:05

I can't build the package. The ./configure output gives me this error:

configure: error: Package requirements (libgnome-menu-3.0 >= 3.5.3 pygobject-3.0) were not met:
Requested 'libgnome-menu-3.0 >= 3.5.3' but version of libgnome-menu is 3.4.2

Spike29 commented on 2012-07-18 11:59

Hi, version 3.4.5 is out.

But it doesn't seem to fix bug bug #677343 :(

taotedice commented on 2012-07-05 23:43

ditto - thanks, but still no joy.

Spike29 commented on 2012-07-05 18:48

Thanks for the update.

Unfortunately, it still doesn't work for me either.

Barthalion commented on 2012-07-05 18:09

Still doesn't edit menu for me, but as usually YMMV.

Spike29 commented on 2012-07-05 09:26

Hi, alacarte 3.5.3 is available : http://ftp.gnome.org/pub/gnome/sources/alacarte/3.5/

The bug #677343 cyberpatrol mentioned seems to be fixed.

Spike29 commented on 2012-07-05 09:26

Hi, alacarte 3.5.3 is available : http://ftp.gnome.org/pub/gnome/sources/alacarte/3.5/

The bug #677343 cyberpatrol mentioned seems to be fixed.

pezcurrel commented on 2012-06-30 15:57

Hi, on my system alacarte-xfce 0.13.4-2 installs and launches ok, but has many problems making it almost useless:
- can't create new folders (dialog window appears, I fill it, click "create", no result)
- ticking-unticking the checkbox for visibility on/off doesn't produce any change
- can't create new separators
- can't change launchers-separators order by clicking the up-down buttons
- can't drag and drop launchers to sort them or copy them in other folders

I only get errors notification when trying to create new separators...

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 293, in on_new_separator_button_clicked
self.editor.createSeparator(parent, after=after)
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 221, in createSeparator
self.positionItem(parent, ('Separator',), before, after)
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 553, in positionItem
index = contents.index(after) + 1
ValueError: <GMenuTreeEntry at 0x1bdacc0> is not in list

...and when trying to sort menu entries...

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 461, in on_move_down_button_clicked
self.editor.moveItem(item, item.get_parent(), after=after)
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 279, in moveItem
file_id = self.copyItem(item, new_parent)
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 258, in copyItem
util.fillKeyFile(keyfile, dict(Categories=[], Hidden=False))
File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 35, in fillKeyFile
keyfile.set_string_list(DESKTOP_GROUP, key, item)
File "/usr/lib/python2.7/site-packages/gi/types.py", line 43, in function
return info.invoke(*args, **kwargs)
TypeError: set_string_list() takes exactly 5 arguments (4 given)

...which also makes the selected entry disappear.

Previously I had 0.13.2 installed and it had no problems. I have its aur pkg saved, but it no longer installs because the patches makepkg tries to dl from patch-tracker.debian.org are no longer available.

Anonymous comment on 2012-06-24 18:15

Maybe you should try it again when gnome-menus in [extra] is updated to 3.5.2.

Barthalion commented on 2012-06-24 17:15

I tried patches posted by cyberpatrol, but even if they have anything to bug, they don't fix anything.

Anonymous comment on 2012-06-07 00:36

The bug, Spike29 mentioned, is an upstream bug. The AUR package alacarte is affected, too, I guess.

Here are the relevant bug reports:
https://bugzilla.gnome.org/show_bug.cgi?id=677343
https://bugzilla.gnome.org/show_bug.cgi?id=677344

headkase commented on 2012-06-04 19:55

I get the same error as Spike29 when running alacarte-xfce 0.13.4-2 as a normal user. If I run it as root then it launches, but, then I'm not editing my users menus obviously.

Spike29 commented on 2012-06-04 08:38

Hi, alacarte-xfce successfully built with gnome-menus dependency replacing gnome-menus2, but then it doesn't launch.
I've got the following errors : http://pastebin.com/0x20hZ0T

Spike29 commented on 2012-06-03 15:23

Yes, please add gnome-menus.
I have the following error while compiling :

"configure: error: Package requirements (libgnome-menu-3.0 >= 3.2.0.1 pygobject-3.0) were not met:

No package 'libgnome-menu-3.0' found"

Spike29 commented on 2012-06-03 14:43

Barthalion commented on 2012-06-03 13:51

There is gnome-menus2 already.

Anonymous comment on 2012-06-03 13:50

Add gnome-menus to build-depends.

Spike29 commented on 2012-06-03 13:24

Source link is dead.

Spike29 commented on 2012-06-03 13:23

Source link is dead.

Anonymous comment on 2012-03-27 18:31

python2-gobject2 is a dep

Anonymous comment on 2012-02-20 15:09

You should remove
groups=('xfce4-goodies')
from the PKGBUILD since groups only work in the binary repos but not with AUR packages.

Barthalion commented on 2012-01-20 08:29

Then use diff - you should notice line with sed, which prepare alacarte for Xfce menus.

Anonymous comment on 2012-01-20 08:23

What is the difference to the package alacarte? The source file and the PKGBUILD seem to be or do the same.

Barthalion commented on 2011-10-20 04:03

You was faster, I noticed location change today. ;) Thanks, and updated of course.

Anonymous comment on 2011-10-19 14:26

Applied patches with new locations found on debian website, problem solved. Here's the updated PKGBUILD I used.


pkgname=alacarte-xfce
_realname=${pkgname/-xfce/}
pkgver=0.13.2
pkgrel=2
pkgdesc="Menu editor for Xfce (with debian patchset)"
arch=(any)
license=('LGPL')
url="http://www.gnome.org"
depends=('gnome-menus2' 'exo' 'hicolor-icon-theme' 'pygtk')
makedepends=('intltool')
conflicts=('alacarte' 'alacarte-git' 'alacarte-xfce-devel')
install=alacarte.install
options=('!libtool')
groups=('xfce4-goodies')
source=(http://ftp.gnome.org/pub/gnome/sources/${_realname}/0.13/${_realname}-${pkgver}.tar.bz2
http://patch-tracker.debian.org/patch/series/dl/${_realname}/${pkgver}-3/01-new_item_location.patch
http://patch-tracker.debian.org/patch/series/dl/${_realname}/${pkgver}-3/02-fix_delete_undo.patch
http://patch-tracker.debian.org/patch/series/dl/${_realname}/${pkgver}-3/03-bind_textdomain_codeset.patch
http://patch-tracker.debian.org/patch/series/dl/${_realname}/${pkgver}-3/10_settings_menu.patch)
sha256sums=('9fa36e5181b1eea947b184cb0f79d796b25cc5a5f122819a1ac2ff01bc7ee4ed'
'3a1d48d8104b7b9c6274906bf4a4f336ce4c96316d382e78a38f4bbe82d00172'
'd7637ee59cae0501f803514b9c26c4d9806c2b61ea948670ec3ac20b169c8e44'
'46c260029ae5b001648776f5b89806f1126c502bd828a879d1002495088742e8'
'64610f00ed9f0f78c28d6cadbb00e59ca5dc18e1675a8011141199bcecf33deb')

build() {
cd "${srcdir}/${_realname}-${pkgver}"
patch -Np1 < "${srcdir}/01-new_item_location.patch"
patch -Np1 < "${srcdir}/02-fix_delete_undo.patch"
patch -Np1 < "${srcdir}/03-bind_textdomain_codeset.patch"
patch -Np1 < "${srcdir}/10_settings_menu.patch"
sed -e 's/gnome-desktop-item-edit/exo-desktop-item-edit/g' -i Alacarte/MainWindow.py

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
}

check() {
cd "${srcdir}/${_realname}-${pkgver}"
make check
}

package() {
cd "${srcdir}/${_realname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}

Anonymous comment on 2011-10-19 14:15

New patch locations can be found here:
http://patch-tracker.debian.org/package/alacarte/0.13.2-3

Anonymous comment on 2011-10-19 14:11

Package compiles but does not work. Application crashes immediately at launch, I presume this is because of the missing patches as my googling seems to indicate.


$ alacarte
Traceback (most recent call last):
File "/usr/bin/alacarte", line 36, in <module>
main()
File "/usr/bin/alacarte", line 32, in main
app = MainWindow(datadir, version, sys.argv)
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 48, in __init__
self.editor = MenuEditor()
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 36, in __init__
self.__loadMenus()
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 56, in __loadMenus
self.settings.path = os.path.join(util.getUserMenuPath(), self.settings.tree.get_menu_file())
File "/usr/lib/python2.7/posixpath.py", line 66, in join
if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'

Barthalion commented on 2011-10-17 13:25

Temporarily I commented lines associated with patches. If someone have backups of these files, send links here, please.

Aerion commented on 2011-10-17 05:33

The patches cannot be found. When following the links, the following error appears:

There was an error processing ur request

can not find diff file for alacarte-xfce / -xfce

mukhametshin commented on 2011-10-05 21:59

It works now, thanks a lot!

Barthalion commented on 2011-10-05 14:13

Fixed - package uses now gnome-menus2[1] from AUR.

[2] https://aur.archlinux.org/packages.php?ID=52784

Barthalion commented on 2011-10-05 03:58

Package "libgnome-menu" never existed, there is gnome-menus and downgrade will help. I will provide package like xfce-menus soon.

mukhametshin commented on 2011-10-04 19:10

Please update the dependences, there is no more package named "libgnome-menu". The build function call returns an error:

...
checking pkg-config is at least version 0.9.0... yes
checking for ALACARTE... no
configure: error: Package requirements (libgnome-menu >= 2.27.92) were not met:

No package 'libgnome-menu' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ALACARTE_CFLAGS
and ALACARTE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
==> ОШИБКА: Произошел сбой в build().
Преждевременный выход...
==> ERROR: Makepkg was unable to build alacarte-xfce.

Neschur commented on 2011-10-03 15:17

Thanks, works.

Barthalion commented on 2011-10-03 14:04

Probably gnome-menus downgrade will help, but it's short-term fix.

Neschur commented on 2011-10-02 18:02

I am also use xfce. Recently gnome update to 3.2 and updated some packages.

Neschur commented on 2011-10-02 17:59

I am also use xfce. Recently gnome update to 3.2 and alacarte not start in xfce.

Barthalion commented on 2011-10-02 17:17

I'm not using it with Gnome, only with Xfce as description and package name suggest.

Neschur commented on 2011-10-02 17:07

not launch after update from gnome3.0 to gnome3.2
Error:...
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 19, in <module>

Barthalion commented on 2011-08-31 05:47

Of course.

Jristz commented on 2011-08-30 22:00

this build w actual gnome-menus and gnome3 ans xfce 4.8???????????

gadget3000 commented on 2011-08-07 15:59

Hi magicrhesus. If this project is dead and doesn't build you should let aur-general@archlinux.org know and request it's deletion. Send them a link to this page and a reason why it can be deleted.

b9anders commented on 2011-05-14 19:37

this error is also reported in the arch bugs with the following comment:

"is broken because the Settings category doesn't exist in gnome 3.

i think alacarte is a dead project and shouldn't be used"

If it's dead, it doesn't look like this well ever get fixed. Shame, we finally had a menu editor for xfce.

Jristz commented on 2011-05-13 05:46

alacarte-xfce-devel depend of exo-devel, but exo-devel in AUR is outdated
if is secure change exo-devel to exo, changed, instead, update another solution or update exo-devel

Wbuild correctly usin exo from stable version but launch the app mark this error:


Traceback (most recent call last):
File "/usr/bin/alacarte", line 36, in <module>
main()
File "/usr/bin/alacarte", line 32, in main
app = MainWindow(datadir, version, sys.argv)
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 48, in __init__
self.editor = MenuEditor()
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 36, in __init__
self.__loadMenus()
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 56, in __loadMenus
self.settings.path = os.path.join(util.getUserMenuPath(), self.settings.tree.get_menu_file())
File "/usr/lib/python2.7/posixpath.py", line 66, in join
if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'

Jristz commented on 2011-05-11 01:58

alacarte-xfce-devel depend of exo-devel, but exo-devel in AUR is outdated
if is secure change exo-devel to exo, changed, instead, update another solution or update exo-devel

xdevla commented on 2010-12-28 15:21

@twa022: from my side, I have no issues
@Barthalion: I ran out of time for now

Barthalion commented on 2010-12-27 07:47

Why don't include it in xfce4-devel repo?

twa022 commented on 2010-12-23 05:55

The applications that have the line "OnlyShowIn=XFCE;" don't show up in the Menu Editor list while the "OnlyShowIn=GNOME;" ones do.

Also, when I unmark an application, it still shows up in the "Other" menu.