From e87fbefcec0c44579495b1bcb22ac59814029566 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Thu, 12 Jan 2012 18:28:35 +0100 Subject: import from Mate-Extra --- AUTHORS | 1 + Alacarte/MainWindow.py | 624 +++ Alacarte/Makefile.am | 24 + Alacarte/Makefile.in | 482 ++ Alacarte/MenuEditor.py | 775 +++ Alacarte/__init__.py | 0 Alacarte/config.py.in | 9 + Alacarte/util.py | 244 + COPYING | 481 ++ ChangeLog.pre-git | 527 ++ INSTALL | 237 + MAINTAINERS | 3 + Makefile.am | 38 + Makefile.in | 812 +++ NEWS | 434 ++ README | 17 + acinclude.m4 | 132 + aclocal.m4 | 2034 +++++++ alacarte.in | 37 + config.h.in | 76 + configure | 7779 ++++++++++++++++++++++++++ configure.ac | 80 + data/Makefile.am | 18 + data/Makefile.in | 647 +++ data/alacarte.desktop.in.in | 14 + data/alacarte.ui | 781 +++ data/icons/Makefile.am | 81 + data/icons/Makefile.in | 439 ++ data/icons/hicolor_apps_16x16_alacarte.png | Bin 0 -> 685 bytes data/icons/hicolor_apps_22x22_alacarte.png | Bin 0 -> 1044 bytes data/icons/hicolor_apps_24x24_alacarte.png | Bin 0 -> 1009 bytes data/icons/hicolor_apps_256x256_alacarte.png | Bin 0 -> 21572 bytes data/icons/hicolor_apps_32x32_alacarte.png | Bin 0 -> 1456 bytes data/icons/hicolor_apps_48x48_alacarte.png | Bin 0 -> 2481 bytes install-sh | 520 ++ missing | 376 ++ mkinstalldirs | 162 + po/ChangeLog | 984 ++++ po/LINGUAS | 91 + po/Makefile.in.in | 217 + po/POTFILES.in | 5 + po/POTFILES.skip | 1 + po/an.po | 81 + po/ar.po | 85 + po/as.po | 86 + po/ast.po | 82 + po/be.po | 83 + po/be@latin.po | 82 + po/bem.po | 80 + po/bg.po | 85 + po/bn.po | 153 + po/bn_IN.po | 84 + po/br.po | 82 + po/ca.po | 125 + po/ca@valencia.po | 125 + po/crh.po | 84 + po/cs.po | 87 + po/cy.po | 83 + po/da.po | 82 + po/de.po | 133 + po/dz.po | 125 + po/el.po | 131 + po/en@shaw.po | 82 + po/en_CA.po | 81 + po/en_GB.po | 127 + po/eo.po | 86 + po/es.po | 86 + po/et.po | 153 + po/eu.po | 82 + po/fa.po | 139 + po/fi.po | 173 + po/fr.po | 87 + po/fur.po | 82 + po/fy.po | 82 + po/ga.po | 82 + po/gl.po | 86 + po/gu.po | 85 + po/he.po | 134 + po/hi.po | 86 + po/hr.po | 84 + po/hu.po | 84 + po/hy.po | 80 + po/id.po | 87 + po/io.po | 83 + po/it.po | 140 + po/ja.po | 81 + po/ka.po | 81 + po/kk.po | 86 + po/kn.po | 85 + po/ko.po | 79 + po/ku.po | 140 + po/lt.po | 83 + po/lv.po | 83 + po/mai.po | 83 + po/mg.po | 130 + po/mk.po | 83 + po/ml.po | 85 + po/mn.po | 134 + po/mr.po | 84 + po/ms.po | 82 + po/nb.po | 81 + po/nds.po | 81 + po/nl.po | 186 + po/nn.po | 147 + po/oc.po | 82 + po/or.po | 84 + po/pa.po | 84 + po/pl.po | 85 + po/ps.po | 82 + po/pt.po | 125 + po/pt_BR.po | 149 + po/ro.po | 90 + po/ru.po | 83 + po/si.po | 143 + po/sk.po | 80 + po/sl.po | 153 + po/sq.po | 81 + po/sr.po | 131 + po/sr@latin.po | 131 + po/sv.po | 297 + po/ta.po | 85 + po/te.po | 131 + po/th.po | 148 + po/tr.po | 85 + po/ug.po | 82 + po/uk.po | 81 + po/uz@cyrillic.po | 81 + po/vi.po | 147 + po/zh_CN.po | 82 + po/zh_HK.po | 150 + po/zh_TW.po | 150 + py-compile | 146 + 132 files changed, 28573 insertions(+) create mode 100644 AUTHORS create mode 100644 Alacarte/MainWindow.py create mode 100644 Alacarte/Makefile.am create mode 100644 Alacarte/Makefile.in create mode 100644 Alacarte/MenuEditor.py create mode 100644 Alacarte/__init__.py create mode 100644 Alacarte/config.py.in create mode 100644 Alacarte/util.py create mode 100644 COPYING create mode 100644 ChangeLog.pre-git create mode 100644 INSTALL create mode 100644 MAINTAINERS create mode 100644 Makefile.am create mode 100644 Makefile.in create mode 100644 NEWS create mode 100644 README create mode 100644 acinclude.m4 create mode 100644 aclocal.m4 create mode 100644 alacarte.in create mode 100644 config.h.in create mode 100755 configure create mode 100644 configure.ac create mode 100644 data/Makefile.am create mode 100644 data/Makefile.in create mode 100644 data/alacarte.desktop.in.in create mode 100644 data/alacarte.ui create mode 100644 data/icons/Makefile.am create mode 100644 data/icons/Makefile.in create mode 100644 data/icons/hicolor_apps_16x16_alacarte.png create mode 100644 data/icons/hicolor_apps_22x22_alacarte.png create mode 100644 data/icons/hicolor_apps_24x24_alacarte.png create mode 100644 data/icons/hicolor_apps_256x256_alacarte.png create mode 100644 data/icons/hicolor_apps_32x32_alacarte.png create mode 100644 data/icons/hicolor_apps_48x48_alacarte.png create mode 100755 install-sh create mode 100755 missing create mode 100755 mkinstalldirs create mode 100644 po/ChangeLog create mode 100644 po/LINGUAS create mode 100644 po/Makefile.in.in create mode 100644 po/POTFILES.in create mode 100644 po/POTFILES.skip create mode 100644 po/an.po create mode 100644 po/ar.po create mode 100644 po/as.po create mode 100644 po/ast.po create mode 100644 po/be.po create mode 100644 po/be@latin.po create mode 100644 po/bem.po create mode 100644 po/bg.po create mode 100644 po/bn.po create mode 100644 po/bn_IN.po create mode 100644 po/br.po create mode 100644 po/ca.po create mode 100644 po/ca@valencia.po create mode 100644 po/crh.po create mode 100644 po/cs.po create mode 100644 po/cy.po create mode 100644 po/da.po create mode 100644 po/de.po create mode 100644 po/dz.po create mode 100644 po/el.po create mode 100644 po/en@shaw.po create mode 100644 po/en_CA.po create mode 100644 po/en_GB.po create mode 100644 po/eo.po create mode 100644 po/es.po create mode 100644 po/et.po create mode 100644 po/eu.po create mode 100644 po/fa.po create mode 100644 po/fi.po create mode 100644 po/fr.po create mode 100644 po/fur.po create mode 100644 po/fy.po create mode 100644 po/ga.po create mode 100644 po/gl.po create mode 100644 po/gu.po create mode 100644 po/he.po create mode 100644 po/hi.po create mode 100644 po/hr.po create mode 100644 po/hu.po create mode 100644 po/hy.po create mode 100644 po/id.po create mode 100644 po/io.po create mode 100644 po/it.po create mode 100644 po/ja.po create mode 100644 po/ka.po create mode 100644 po/kk.po create mode 100644 po/kn.po create mode 100644 po/ko.po create mode 100644 po/ku.po create mode 100644 po/lt.po create mode 100644 po/lv.po create mode 100644 po/mai.po create mode 100644 po/mg.po create mode 100644 po/mk.po create mode 100644 po/ml.po create mode 100644 po/mn.po create mode 100644 po/mr.po create mode 100644 po/ms.po create mode 100644 po/nb.po create mode 100644 po/nds.po create mode 100644 po/nl.po create mode 100644 po/nn.po create mode 100644 po/oc.po create mode 100644 po/or.po create mode 100644 po/pa.po create mode 100644 po/pl.po create mode 100644 po/ps.po create mode 100644 po/pt.po create mode 100644 po/pt_BR.po create mode 100644 po/ro.po create mode 100644 po/ru.po create mode 100644 po/si.po create mode 100644 po/sk.po create mode 100644 po/sl.po create mode 100644 po/sq.po create mode 100644 po/sr.po create mode 100644 po/sr@latin.po create mode 100644 po/sv.po create mode 100644 po/ta.po create mode 100644 po/te.po create mode 100644 po/th.po create mode 100644 po/tr.po create mode 100644 po/ug.po create mode 100644 po/uk.po create mode 100644 po/uz@cyrillic.po create mode 100644 po/vi.po create mode 100644 po/zh_CN.po create mode 100644 po/zh_HK.po create mode 100644 po/zh_TW.po create mode 100755 py-compile diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..d188ce8 --- /dev/null +++ b/AUTHORS @@ -0,0 +1 @@ +Travis Watkins diff --git a/Alacarte/MainWindow.py b/Alacarte/MainWindow.py new file mode 100644 index 0000000..07467d0 --- /dev/null +++ b/Alacarte/MainWindow.py @@ -0,0 +1,624 @@ +# -*- coding: utf-8 -*- +# Alacarte Menu Editor - Simple fd.o Compliant Menu Editor +# Copyright (C) 2006 Travis Watkins +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Library General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +import gtk, matemenu, gobject, gio +import cgi, os +import gettext +import subprocess +import urllib +try: + from Alacarte import config + gettext.bindtextdomain(config.GETTEXT_PACKAGE,config.localedir) + gettext.textdomain(config.GETTEXT_PACKAGE) +except: + pass +_ = gettext.gettext +from Alacarte.MenuEditor import MenuEditor +from Alacarte import util + +class MainWindow: + timer = None + #hack to make editing menu properties work + allow_update = True + #drag-and-drop stuff + dnd_items = [('ALACARTE_ITEM_ROW', gtk.TARGET_SAME_APP, 0), ('text/plain', 0, 1)] + dnd_menus = [('ALACARTE_MENU_ROW', gtk.TARGET_SAME_APP, 0)] + dnd_both = [dnd_items[0],] + dnd_menus + drag_data = None + edit_pool = [] + + def __init__(self, datadir, version, argv): + self.file_path = datadir + self.version = version + self.editor = MenuEditor() + gtk.window_set_default_icon_name('alacarte') + self.tree = gtk.Builder() + self.tree.set_translation_domain(config.GETTEXT_PACKAGE) + self.tree.add_from_file(os.path.join(self.file_path, 'alacarte.ui')) + self.tree.connect_signals(self) + self.setupMenuTree() + self.setupItemTree() + self.tree.get_object('edit_delete').set_sensitive(False) + self.tree.get_object('edit_revert_to_original').set_sensitive(False) + self.tree.get_object('edit_properties').set_sensitive(False) + self.tree.get_object('move_up_button').set_sensitive(False) + self.tree.get_object('move_down_button').set_sensitive(False) + self.tree.get_object('new_separator_button').set_sensitive(False) + accelgroup = gtk.AccelGroup() + keyval, modifier = gtk.accelerator_parse('Z') + accelgroup.connect_group(keyval, modifier, gtk.ACCEL_VISIBLE, self.on_mainwindow_undo) + keyval, modifier = gtk.accelerator_parse('Z') + accelgroup.connect_group(keyval, modifier, gtk.ACCEL_VISIBLE, self.on_mainwindow_redo) + keyval, modifier = gtk.accelerator_parse('F1') + accelgroup.connect_group(keyval, modifier, gtk.ACCEL_VISIBLE, self.on_help_button_clicked) + self.tree.get_object('mainwindow').add_accel_group(accelgroup) + + def run(self): + self.loadMenus() + self.editor.applications.tree.add_monitor(self.menuChanged, None) + self.editor.settings.tree.add_monitor(self.menuChanged, None) + self.tree.get_object('mainwindow').show_all() + gtk.main() + + def menuChanged(self, *a): + if self.timer: + gobject.source_remove(self.timer) + self.timer = None + self.timer = gobject.timeout_add(3, self.loadUpdates) + + def loadUpdates(self): + if not self.allow_update: + return False + menu_tree = self.tree.get_object('menu_tree') + item_tree = self.tree.get_object('item_tree') + items, iter = item_tree.get_selection().get_selected() + update_items = False + item_id, separator_path = None, None + if iter: + update_items = True + if items[iter][3].get_type() == matemenu.TYPE_DIRECTORY: + item_id = os.path.split(items[iter][3].get_desktop_file_path())[1] + update_items = True + elif items[iter][3].get_type() == matemenu.TYPE_ENTRY: + item_id = items[iter][3].get_desktop_file_id() + update_items = True + elif items[iter][3].get_type() == matemenu.TYPE_SEPARATOR: + item_id = items.get_path(iter) + update_items = True + menus, iter = menu_tree.get_selection().get_selected() + update_menus = False + menu_id = None + if iter: + if menus[iter][2].get_desktop_file_path(): + menu_id = os.path.split(menus[iter][2].get_desktop_file_path())[1] + else: + menu_id = menus[iter][2].get_menu_id() + update_menus = True + self.loadMenus() + #find current menu in new tree + if update_menus: + menu_tree.get_model().foreach(self.findMenu, menu_id) + menus, iter = menu_tree.get_selection().get_selected() + if iter: + self.on_menu_tree_cursor_changed(menu_tree) + #find current item in new list + if update_items: + i = 0 + for item in item_tree.get_model(): + found = False + if item[3].get_type() == matemenu.TYPE_ENTRY and item[3].get_desktop_file_id() == item_id: + found = True + if item[3].get_type() == matemenu.TYPE_DIRECTORY and item[3].get_desktop_file_path(): + if os.path.split(item[3].get_desktop_file_path())[1] == item_id: + found = True + if item[3].get_type() == matemenu.TYPE_SEPARATOR: + if not isinstance(item_id, tuple): + continue + #separators have no id, have to find them manually + #probably won't work with two separators together + if (item_id[0] - 1,) == (i,): + found = True + elif (item_id[0] + 1,) == (i,): + found = True + elif (item_id[0],) == (i,): + found = True + if found: + item_tree.get_selection().select_path((i,)) + self.on_item_tree_cursor_changed(item_tree) + break + i += 1 + return False + + def findMenu(self, menus, path, iter, menu_id): + if not menus[path][2].get_desktop_file_path(): + if menu_id == menus[path][2].get_menu_id(): + menu_tree = self.tree.get_object('menu_tree') + menu_tree.expand_to_path(path) + menu_tree.get_selection().select_path(path) + return True + return False + if os.path.split(menus[path][2].get_desktop_file_path())[1] == menu_id: + menu_tree = self.tree.get_object('menu_tree') + menu_tree.expand_to_path(path) + menu_tree.get_selection().select_path(path) + return True + + def setupMenuTree(self): + self.menu_store = gtk.TreeStore(gtk.gdk.Pixbuf, str, object) + menus = self.tree.get_object('menu_tree') + column = gtk.TreeViewColumn(_('Name')) + column.set_spacing(4) + cell = gtk.CellRendererPixbuf() + column.pack_start(cell, False) + column.set_attributes(cell, pixbuf=0) + cell = gtk.CellRendererText() + cell.set_fixed_size(-1, 25) + column.pack_start(cell, True) + column.set_attributes(cell, markup=1) + column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED) + menus.append_column(column) + menus.enable_model_drag_source(gtk.gdk.BUTTON1_MASK, self.dnd_menus, gtk.gdk.ACTION_COPY) + menus.enable_model_drag_dest(self.dnd_both, gtk.gdk.ACTION_PRIVATE) + + def setupItemTree(self): + items = self.tree.get_object('item_tree') + column = gtk.TreeViewColumn(_('Show')) + cell = gtk.CellRendererToggle() + cell.connect('toggled', self.on_item_tree_show_toggled) + column.pack_start(cell, True) + column.set_attributes(cell, active=0) + #hide toggle for separators + column.set_cell_data_func(cell, self._cell_data_toggle_func) + items.append_column(column) + column = gtk.TreeViewColumn(_('Item')) + column.set_spacing(4) + cell = gtk.CellRendererPixbuf() + column.pack_start(cell, False) + column.set_attributes(cell, pixbuf=1) + cell = gtk.CellRendererText() + cell.set_fixed_size(-1, 25) + column.pack_start(cell, True) + column.set_attributes(cell, markup=2) + items.append_column(column) + self.item_store = gtk.ListStore(bool, gtk.gdk.Pixbuf, str, object) + items.set_model(self.item_store) + items.enable_model_drag_source(gtk.gdk.BUTTON1_MASK, self.dnd_items, gtk.gdk.ACTION_COPY) + items.enable_model_drag_dest(self.dnd_items, gtk.gdk.ACTION_PRIVATE) + + def _cell_data_toggle_func(self, tree_column, renderer, model, treeiter): + if model[treeiter][3].get_type() == matemenu.TYPE_SEPARATOR: + renderer.set_property('visible', False) + else: + renderer.set_property('visible', True) + + def loadMenus(self): + self.menu_store.clear() + for menu in self.editor.getMenus(): + iters = [None]*20 + self.loadMenu(iters, menu) + menu_tree = self.tree.get_object('menu_tree') + menu_tree.set_model(self.menu_store) + for menu in self.menu_store: + #this might not work for some reason + try: + menu_tree.expand_to_path(menu.path) + except: + pass + menu_tree.get_selection().select_path((0,)) + self.on_menu_tree_cursor_changed(menu_tree) + + def loadMenu(self, iters, parent, depth=0): + if depth == 0: + icon = util.getIcon(parent) + iters[depth] = self.menu_store.append(None, (icon, cgi.escape(parent.get_name()), parent)) + depth += 1 + for menu, show in self.editor.getMenus(parent): + if show: + name = cgi.escape(menu.get_name()) + else: + name = '' + cgi.escape(menu.get_name()) + '' + icon = util.getIcon(menu) + iters[depth] = self.menu_store.append(iters[depth-1], (icon, name, menu)) + self.loadMenu(iters, menu, depth) + depth -= 1 + + def loadItems(self, menu, menu_path): + self.item_store.clear() + for item, show in self.editor.getItems(menu): + menu_icon = None + if item.get_type() == matemenu.TYPE_SEPARATOR: + name = '---' + icon = None + elif item.get_type() == matemenu.TYPE_ENTRY: + if show: + name = cgi.escape(item.get_display_name()) + else: + name = '' + cgi.escape(item.get_display_name()) + '' + icon = util.getIcon(item) + else: + if show: + name = cgi.escape(item.get_name()) + else: + name = '' + cgi.escape(item.get_name()) + '' + icon = util.getIcon(item) + self.item_store.append((show, icon, name, item)) + + #this is a little timeout callback to insert new items after + #mate-desktop-item-edit has finished running + def waitForNewItemProcess(self, process, parent_id, file_path): + if process.poll() != None: + if os.path.isfile(file_path): + self.editor.insertExternalItem(os.path.split(file_path)[1], parent_id) + return False + return True + + def waitForNewMenuProcess(self, process, parent_id, file_path): + if process.poll() != None: + #hack for broken mate-desktop-item-edit + broken_path = os.path.join(os.path.split(file_path)[0], '.directory') + if os.path.isfile(broken_path): + os.rename(broken_path, file_path) + if os.path.isfile(file_path): + self.editor.insertExternalMenu(os.path.split(file_path)[1], parent_id) + return False + return True + + #this callback keeps you from editing the same item twice + def waitForEditProcess(self, process, file_path): + if process.poll() != None: + self.edit_pool.remove(file_path) + return False + return True + + def on_new_menu_button_clicked(self, button): + menu_tree = self.tree.get_object('menu_tree') + menus, iter = menu_tree.get_selection().get_selected() + if not iter: + parent = menus[(0,)][2] + menu_tree.expand_to_path((0,)) + menu_tree.get_selection().select_path((0,)) + else: + parent = menus[iter][2] + file_path = os.path.join(util.getUserDirectoryPath(), util.getUniqueFileId('alacarte-made', '.directory')) + process = subprocess.Popen(['mate-desktop-item-edit', file_path], env=os.environ) + gobject.timeout_add(100, self.waitForNewMenuProcess, process, parent.menu_id, file_path) + + def on_new_item_button_clicked(self, button): + menu_tree = self.tree.get_object('menu_tree') + menus, iter = menu_tree.get_selection().get_selected() + if not iter: + parent = menus[(0,)][2] + menu_tree.expand_to_path((0,)) + menu_tree.get_selection().select_path((0,)) + else: + parent = menus[iter][2] + file_path = os.path.join(util.getUserItemPath(), util.getUniqueFileId('alacarte-made', '.desktop')) + process = subprocess.Popen(['mate-desktop-item-edit', file_path], env=os.environ) + gobject.timeout_add(100, self.waitForNewItemProcess, process, parent.menu_id, file_path) + + def on_new_separator_button_clicked(self, button): + item_tree = self.tree.get_object('item_tree') + items, iter = item_tree.get_selection().get_selected() + if not iter: + return + else: + after = items[iter][3] + menu_tree = self.tree.get_object('menu_tree') + menus, iter = menu_tree.get_selection().get_selected() + parent = menus[iter][2] + self.editor.createSeparator(parent, after=after) + + def on_edit_delete_activate(self, menu): + item_tree = self.tree.get_object('item_tree') + items, iter = item_tree.get_selection().get_selected() + if not iter: + return + item = items[iter][3] + if item.get_type() == matemenu.TYPE_ENTRY: + self.editor.deleteItem(item) + elif item.get_type() == matemenu.TYPE_DIRECTORY: + self.editor.deleteMenu(item) + elif item.get_type() == matemenu.TYPE_SEPARATOR: + self.editor.deleteSeparator(item) + + def on_edit_revert_to_original_activate(self, menu): + item_tree = self.tree.get_object('item_tree') + items, iter = item_tree.get_selection().get_selected() + if not iter: + return + item = items[iter][3] + if item.get_type() == matemenu.TYPE_ENTRY: + self.editor.revertItem(item) + elif item.get_type() == matemenu.TYPE_DIRECTORY: + self.editor.revertMenu(item) + + def on_edit_properties_activate(self, menu): + item_tree = self.tree.get_object('item_tree') + items, iter = item_tree.get_selection().get_selected() + if not iter: + return + item = items[iter][3] + if item.get_type() not in (matemenu.TYPE_ENTRY, matemenu.TYPE_DIRECTORY): + return + + if item.get_type() == matemenu.TYPE_ENTRY: + file_path = os.path.join(util.getUserItemPath(), item.get_desktop_file_id()) + file_type = 'Item' + elif item.get_type() == matemenu.TYPE_DIRECTORY: + if item.get_desktop_file_path() == None: + file_path = util.getUniqueFileId('alacarte-made', '.directory') + parser = util.DesktopParser(file_path, 'Directory') + parser.set('Name', item.get_name()) + parser.set('Comment', item.get_comment()) + parser.set('Icon', item.get_icon()) + parser.write(open(file_path)) + else: + file_path = os.path.join(util.getUserDirectoryPath(), os.path.split(item.get_desktop_file_path())[1]) + file_type = 'Menu' + + if not os.path.isfile(file_path): + data = open(item.get_desktop_file_path()).read() + open(file_path, 'w').write(data) + self.editor._MenuEditor__addUndo([(file_type, os.path.split(file_path)[1]),]) + else: + self.editor._MenuEditor__addUndo([item,]) + if file_path not in self.edit_pool: + self.edit_pool.append(file_path) + process = subprocess.Popen(['mate-desktop-item-edit', file_path], env=os.environ) + gobject.timeout_add(100, self.waitForEditProcess, process, file_path) + + def on_menu_tree_cursor_changed(self, treeview): + menus, iter = treeview.get_selection().get_selected() + menu_path = menus.get_path(iter) + item_tree = self.tree.get_object('item_tree') + item_tree.get_selection().unselect_all() + self.loadItems(self.menu_store[menu_path][2], menu_path) + self.tree.get_object('edit_delete').set_sensitive(False) + self.tree.get_object('edit_revert_to_original').set_sensitive(False) + self.tree.get_object('edit_properties').set_sensitive(False) + self.tree.get_object('move_up_button').set_sensitive(False) + self.tree.get_object('move_down_button').set_sensitive(False) + self.tree.get_object('new_separator_button').set_sensitive(False) + + def on_menu_tree_drag_data_get(self, treeview, context, selection, target_id, etime): + menus, iter = treeview.get_selection().get_selected() + self.drag_data = menus[iter][2] + + def on_menu_tree_drag_data_received(self, treeview, context, x, y, selection, info, etime): + menus = treeview.get_model() + drop_info = treeview.get_dest_row_at_pos(x, y) + if drop_info: + path, position = drop_info + types = (gtk.TREE_VIEW_DROP_INTO_OR_BEFORE, gtk.TREE_VIEW_DROP_INTO_OR_AFTER) + if position not in types: + context.finish(False, False, etime) + return False + if selection.target in ('ALACARTE_ITEM_ROW', 'ALACARTE_MENU_ROW'): + if self.drag_data == None: + return False + item = self.drag_data + new_parent = menus[path][2] + treeview.get_selection().select_path(path) + if item.get_type() == matemenu.TYPE_ENTRY: + self.editor.copyItem(item, new_parent) + elif item.get_type() == matemenu.TYPE_DIRECTORY: + if self.editor.moveMenu(item, new_parent) == False: + self.loadUpdates() + else: + context.finish(False, False, etime) + context.finish(True, True, etime) + self.drag_data = None + + def on_item_tree_show_toggled(self, cell, path): + item = self.item_store[path][3] + if item.get_type() == matemenu.TYPE_SEPARATOR: + return + if self.item_store[path][0]: + self.editor.setVisible(item, False) + else: + self.editor.setVisible(item, True) + self.item_store[path][0] = not self.item_store[path][0] + + def on_item_tree_cursor_changed(self, treeview): + items, iter = treeview.get_selection().get_selected() + if iter is None: + return + item = items[iter][3] + self.tree.get_object('edit_delete').set_sensitive(True) + self.tree.get_object('new_separator_button').set_sensitive(True) + if self.editor.canRevert(item): + self.tree.get_object('edit_revert_to_original').set_sensitive(True) + else: + self.tree.get_object('edit_revert_to_original').set_sensitive(False) + if not item.get_type() == matemenu.TYPE_SEPARATOR: + self.tree.get_object('edit_properties').set_sensitive(True) + else: + self.tree.get_object('edit_properties').set_sensitive(False) + + # If first item... + if items.get_path(iter)[0] == 0: + self.tree.get_object('move_up_button').set_sensitive(False) + else: + self.tree.get_object('move_up_button').set_sensitive(True) + + # If last item... + if items.get_path(iter)[0] == (len(items)-1): + self.tree.get_object('move_down_button').set_sensitive(False) + else: + self.tree.get_object('move_down_button').set_sensitive(True) + + def on_item_tree_row_activated(self, treeview, path, column): + self.on_edit_properties_activate(None) + + def on_item_tree_popup_menu(self, item_tree, event=None): + model, iter = item_tree.get_selection().get_selected() + if event: + #don't show if it's not the right mouse button + if event.button != 3: + return + button = event.button + event_time = event.time + info = item_tree.get_path_at_pos(int(event.x), int(event.y)) + if info != None: + path, col, cellx, celly = info + item_tree.grab_focus() + item_tree.set_cursor(path, col, 0) + else: + path = model.get_path(iter) + button = 0 + event_time = 0 + item_tree.grab_focus() + item_tree.set_cursor(path, item_tree.get_columns()[0], 0) + popup = self.tree.get_object('edit_menu') + popup.popup(None, None, None, button, event_time) + #without this shift-f10 won't work + return True + + def on_item_tree_drag_data_get(self, treeview, context, selection, target_id, etime): + items, iter = treeview.get_selection().get_selected() + self.drag_data = items[iter][3] + + def on_item_tree_drag_data_received(self, treeview, context, x, y, selection, info, etime): + items = treeview.get_model() + types = (gtk.TREE_VIEW_DROP_BEFORE, gtk.TREE_VIEW_DROP_INTO_OR_BEFORE) + if selection.target == 'ALACARTE_ITEM_ROW': + drop_info = treeview.get_dest_row_at_pos(x, y) + before = None + after = None + if self.drag_data == None: + return False + item = self.drag_data + if drop_info: + path, position = drop_info + if position in types: + before = items[path][3] + else: + after = items[path][3] + else: + path = (len(items) - 1,) + after = items[path][3] + if item.get_type() == matemenu.TYPE_ENTRY: + self.editor.moveItem(item, item.get_parent(), before, after) + elif item.get_type() == matemenu.TYPE_DIRECTORY: + if self.editor.moveMenu(item, item.get_parent(), before, after) == False: + self.loadUpdates() + elif item.get_type() == matemenu.TYPE_SEPARATOR: + self.editor.moveSeparator(item, item.get_parent(), before, after) + context.finish(True, True, etime) + elif selection.target == 'text/plain': + if selection.data == None: + return False + menus, iter = self.tree.get_object('menu_tree').get_selection().get_selected() + parent = menus[iter][2] + drop_info = treeview.get_dest_row_at_pos(x, y) + before = None + after = None + if drop_info: + path, position = drop_info + if position in types: + before = items[path][3] + else: + after = items[path][3] + else: + path = (len(items) - 1,) + after = items[path][3] + file_path = urllib.unquote(selection.data).strip() + if not file_path.startswith('file:'): + return + myfile = gio.File(uri=file_path) + file_info = myfile.query_info(gio.FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE) + content_type = file_info.get_content_type() + if content_type == 'application/x-desktop': + input_stream = myfile.read() + open('/tmp/alacarte-dnd.desktop', 'w').write(input_stream.read()) + parser = util.DesktopParser('/tmp/alacarte-dnd.desktop') + self.editor.createItem(parent, parser.get('Icon'), parser.get('Name', self.editor.locale), parser.get('Comment', self.editor.locale), parser.get('Exec'), parser.get('Terminal'), before, after) + elif content_type in ('application/x-shellscript', 'application/x-executable'): + self.editor.createItem(parent, None, os.path.split(file_path)[1].strip(), None, file_path.replace('file://', '').strip(), False, before, after) + self.drag_data = None + + def on_item_tree_key_press_event(self, item_tree, event): + if event.keyval == gtk.keysyms.Delete: + self.on_edit_delete_activate(item_tree) + + def on_move_up_button_clicked(self, button): + item_tree = self.tree.get_object('item_tree') + items, iter = item_tree.get_selection().get_selected() + if not iter: + return + path = items.get_path(iter) + #at top, can't move up + if path[0] == 0: + return + item = items[path][3] + before = items[(path[0] - 1,)][3] + if item.get_type() == matemenu.TYPE_ENTRY: + self.editor.moveItem(item, item.get_parent(), before=before) + elif item.get_type() == matemenu.TYPE_DIRECTORY: + self.editor.moveMenu(item, item.get_parent(), before=before) + elif item.get_type() == matemenu.TYPE_SEPARATOR: + self.editor.moveSeparator(item, item.get_parent(), before=before) + + def on_move_down_button_clicked(self, button): + item_tree = self.tree.get_object('item_tree') + items, iter = item_tree.get_selection().get_selected() + if not iter: + return + path = items.get_path(iter) + #at bottom, can't move down + if path[0] == (len(items) - 1): + return + item = items[path][3] + after = items[path][3] + if item.get_type() == matemenu.TYPE_ENTRY: + self.editor.moveItem(item, item.get_parent(), after=after) + elif item.get_type() == matemenu.TYPE_DIRECTORY: + self.editor.moveMenu(item, item.get_parent(), after=after) + elif item.get_type() == matemenu.TYPE_SEPARATOR: + self.editor.moveSeparator(item, item.get_parent(), after=after) + + def on_mainwindow_undo(self, accelgroup, window, keyval, modifier): + self.editor.undo() + + def on_mainwindow_redo(self, accelgroup, window, keyval, modifier): + self.editor.redo() + + def on_help_button_clicked(self, *args): + gtk.show_uri(gtk.gdk.screen_get_default(), "ghelp:user-guide#menu-editor", gtk.get_current_event_time()) + + def on_revert_button_clicked(self, button): + dialog = self.tree.get_object('revertdialog') + dialog.set_transient_for(self.tree.get_object('mainwindow')) + dialog.show_all() + if dialog.run() == gtk.RESPONSE_YES: + self.editor.revert() + dialog.hide() + + def on_close_button_clicked(self, button): + try: + self.tree.get_object('mainwindow').hide() + except: + pass + gobject.timeout_add(10, self.quit) + + def on_style_set(self, *args): + self.loadUpdates() + + def quit(self): + self.editor.quit() + gtk.main_quit() diff --git a/Alacarte/Makefile.am b/Alacarte/Makefile.am new file mode 100644 index 0000000..6359d93 --- /dev/null +++ b/Alacarte/Makefile.am @@ -0,0 +1,24 @@ +## Process this file with automake to produce Makefile.in + +appdir = $(pythondir)/Alacarte +app_PYTHON = __init__.py MainWindow.py MenuEditor.py util.py +nodist_app_PYTHON = config.py + +config.py: config.py.in + sed \ + -e s!\@prefix\@!$(prefix)! \ + -e s!\@datadir\@!$(datadir)! \ + -e s!\@pkgdatadir\@!$(pkgdatadir)! \ + -e s!\@libexecdir\@!$(libexecdir)! \ + -e s!\@libdir\@!$(libdir)! \ + -e s!\@PACKAGE\@!$(PACKAGE)! \ + -e s!\@VERSION\@!$(VERSION)! \ + -e s!\@GETTEXT_PACKAGE\@!$(GETTEXT_PACKAGE)! \ + < $< > $@ +config.py: Makefile + +CLEANFILES = config.py +EXTRA_DIST = config.py.in + +all-local: config.py + diff --git a/Alacarte/Makefile.in b/Alacarte/Makefile.in new file mode 100644 index 0000000..f4f6510 --- /dev/null +++ b/Alacarte/Makefile.in @@ -0,0 +1,482 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = Alacarte +DIST_COMMON = $(app_PYTHON) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +SOURCES = +DIST_SOURCES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(appdir)" "$(DESTDIR)$(appdir)" +py_compile = $(top_srcdir)/py-compile +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALACARTE_CFLAGS = @ALACARTE_CFLAGS@ +ALACARTE_LIBS = @ALACARTE_LIBS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PYTHON = @PYTHON@ +PYTHON2_4 = @PYTHON2_4@ +PYTHON2_5 = @PYTHON2_5@ +PYTHON2_6 = @PYTHON2_6@ +PYTHON2_7 = @PYTHON2_7@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +appdir = $(pythondir)/Alacarte +app_PYTHON = __init__.py MainWindow.py MenuEditor.py util.py +nodist_app_PYTHON = config.py +CLEANFILES = config.py +EXTRA_DIST = config.py.in +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Alacarte/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu Alacarte/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-appPYTHON: $(app_PYTHON) + @$(NORMAL_INSTALL) + test -z "$(appdir)" || $(MKDIR_P) "$(DESTDIR)$(appdir)" + @list='$(app_PYTHON)'; dlist=; list2=; test -n "$(appdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ + if test -f $$b$$p; then \ + $(am__strip_dir) \ + dlist="$$dlist $$f"; \ + list2="$$list2 $$b$$p"; \ + else :; fi; \ + done; \ + for file in $$list2; do echo $$file; done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(appdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(appdir)" || exit $$?; \ + done || exit $$?; \ + if test -n "$$dlist"; then \ + if test -z "$(DESTDIR)"; then \ + PYTHON=$(PYTHON) $(py_compile) --basedir "$(appdir)" $$dlist; \ + else \ + PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(appdir)" $$dlist; \ + fi; \ + else :; fi + +uninstall-appPYTHON: + @$(NORMAL_UNINSTALL) + @list='$(app_PYTHON)'; test -n "$(appdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + filesc=`echo "$$files" | sed 's|$$|c|'`; \ + fileso=`echo "$$files" | sed 's|$$|o|'`; \ + echo " ( cd '$(DESTDIR)$(appdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(appdir)" && rm -f $$files || exit $$?; \ + echo " ( cd '$(DESTDIR)$(appdir)' && rm -f" $$filesc ")"; \ + cd "$(DESTDIR)$(appdir)" && rm -f $$filesc || exit $$?; \ + echo " ( cd '$(DESTDIR)$(appdir)' && rm -f" $$fileso ")"; \ + cd "$(DESTDIR)$(appdir)" && rm -f $$fileso +install-nodist_appPYTHON: $(nodist_app_PYTHON) + @$(NORMAL_INSTALL) + test -z "$(appdir)" || $(MKDIR_P) "$(DESTDIR)$(appdir)" + @list='$(nodist_app_PYTHON)'; dlist=; list2=; test -n "$(appdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ + if test -f $$b$$p; then \ + $(am__strip_dir) \ + dlist="$$dlist $$f"; \ + list2="$$list2 $$b$$p"; \ + else :; fi; \ + done; \ + for file in $$list2; do echo $$file; done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(appdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(appdir)" || exit $$?; \ + done || exit $$?; \ + if test -n "$$dlist"; then \ + if test -z "$(DESTDIR)"; then \ + PYTHON=$(PYTHON) $(py_compile) --basedir "$(appdir)" $$dlist; \ + else \ + PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(appdir)" $$dlist; \ + fi; \ + else :; fi + +uninstall-nodist_appPYTHON: + @$(NORMAL_UNINSTALL) + @list='$(nodist_app_PYTHON)'; test -n "$(appdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + filesc=`echo "$$files" | sed 's|$$|c|'`; \ + fileso=`echo "$$files" | sed 's|$$|o|'`; \ + echo " ( cd '$(DESTDIR)$(appdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(appdir)" && rm -f $$files || exit $$?; \ + echo " ( cd '$(DESTDIR)$(appdir)' && rm -f" $$filesc ")"; \ + cd "$(DESTDIR)$(appdir)" && rm -f $$filesc || exit $$?; \ + echo " ( cd '$(DESTDIR)$(appdir)' && rm -f" $$fileso ")"; \ + cd "$(DESTDIR)$(appdir)" && rm -f $$fileso +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile all-local +installdirs: + for dir in "$(DESTDIR)$(appdir)" "$(DESTDIR)$(appdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-appPYTHON install-nodist_appPYTHON + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-appPYTHON uninstall-nodist_appPYTHON + +.MAKE: install-am install-strip + +.PHONY: all all-am all-local check check-am clean clean-generic \ + distclean distclean-generic distdir dvi dvi-am html html-am \ + info info-am install install-am install-appPYTHON install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-nodist_appPYTHON \ + install-pdf install-pdf-am install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \ + uninstall-appPYTHON uninstall-nodist_appPYTHON + + +config.py: config.py.in + sed \ + -e s!\@prefix\@!$(prefix)! \ + -e s!\@datadir\@!$(datadir)! \ + -e s!\@pkgdatadir\@!$(pkgdatadir)! \ + -e s!\@libexecdir\@!$(libexecdir)! \ + -e s!\@libdir\@!$(libdir)! \ + -e s!\@PACKAGE\@!$(PACKAGE)! \ + -e s!\@VERSION\@!$(VERSION)! \ + -e s!\@GETTEXT_PACKAGE\@!$(GETTEXT_PACKAGE)! \ + < $< > $@ +config.py: Makefile + +all-local: config.py + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/Alacarte/MenuEditor.py b/Alacarte/MenuEditor.py new file mode 100644 index 0000000..5ec5b21 --- /dev/null +++ b/Alacarte/MenuEditor.py @@ -0,0 +1,775 @@ +# -*- coding: utf-8 -*- +# Alacarte Menu Editor - Simple fd.o Compliant Menu Editor +# Copyright (C) 2006 Travis Watkins, Heinrich Wendel +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Library General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +import os, re, xml.dom.minidom, locale +import matemenu +from Alacarte import util + +class Menu: + tree = None + visible_tree = None + path = None + dom = None + +class MenuEditor: + #lists for undo/redo functionality + __undo = [] + __redo = [] + + def __init__(self): + self.locale = locale.getdefaultlocale()[0] + self.__loadMenus() + + def __loadMenus(self): + self.applications = Menu() + self.applications.tree = matemenu.lookup_tree('mate-applications.menu', matemenu.FLAGS_SHOW_EMPTY|matemenu.FLAGS_INCLUDE_EXCLUDED|matemenu.FLAGS_INCLUDE_NODISPLAY|matemenu.FLAGS_SHOW_ALL_SEPARATORS) + self.applications.visible_tree = matemenu.lookup_tree('mate-applications.menu') + self.applications.tree.sort_key = matemenu.SORT_DISPLAY_NAME + self.applications.visible_tree.sort_key = matemenu.SORT_DISPLAY_NAME + self.applications.path = os.path.join(util.getUserMenuPath(), self.applications.tree.get_menu_file()) + if not os.path.isfile(self.applications.path): + self.applications.dom = xml.dom.minidom.parseString(util.getUserMenuXml(self.applications.tree)) + else: + self.applications.dom = xml.dom.minidom.parse(self.applications.path) + self.__remove_whilespace_nodes(self.applications.dom) + + self.settings = Menu() + self.settings.tree = matemenu.lookup_tree('mate-settings.menu', matemenu.FLAGS_SHOW_EMPTY|matemenu.FLAGS_INCLUDE_EXCLUDED|matemenu.FLAGS_INCLUDE_NODISPLAY|matemenu.FLAGS_SHOW_ALL_SEPARATORS) + self.settings.visible_tree = matemenu.lookup_tree('mate-settings.menu') + self.settings.tree.sort_key = matemenu.SORT_DISPLAY_NAME + self.settings.visible_tree.sort_key = matemenu.SORT_DISPLAY_NAME + self.settings.path = os.path.join(util.getUserMenuPath(), self.settings.tree.get_menu_file()) + if not os.path.isfile(self.settings.path): + self.settings.dom = xml.dom.minidom.parseString(util.getUserMenuXml(self.settings.tree)) + else: + self.settings.dom = xml.dom.minidom.parse(self.settings.path) + self.__remove_whilespace_nodes(self.settings.dom) + + self.save(True) + + def save(self, from_loading=False): + for menu in ('applications', 'settings'): + fd = open(getattr(self, menu).path, 'w') + fd.write(re.sub("\n[\s]*([^\n<]*)\n[\s]*\n', ''))) + fd.close() + if not from_loading: + self.__loadMenus() + + def quit(self): + for file_name in os.listdir(util.getUserItemPath()): + if file_name[-6:-2] in ('redo', 'undo'): + file_path = os.path.join(util.getUserItemPath(), file_name) + os.unlink(file_path) + for file_name in os.listdir(util.getUserDirectoryPath()): + if file_name[-6:-2] in ('redo', 'undo'): + file_path = os.path.join(util.getUserDirectoryPath(), file_name) + os.unlink(file_path) + for file_name in os.listdir(util.getUserMenuPath()): + if file_name[-6:-2] in ('redo', 'undo'): + file_path = os.path.join(util.getUserMenuPath(), file_name) + os.unlink(file_path) + + def revert(self): + for name in ('applications', 'settings'): + menu = getattr(self, name) + self.revertTree(menu.tree.root) + path = os.path.join(util.getUserMenuPath(), menu.tree.get_menu_file()) + try: + os.unlink(path) + except OSError: + pass + #reload DOM for each menu + if not os.path.isfile(menu.path): + menu.dom = xml.dom.minidom.parseString(util.getUserMenuXml(menu.tree)) + else: + menu.dom = xml.dom.minidom.parse(menu.path) + self.__remove_whilespace_nodes(menu.dom) + #reset undo/redo, no way to recover from this + self.__undo, self.__redo = [], [] + self.save() + + def revertTree(self, menu): + for child in menu.get_contents(): + if child.get_type() == matemenu.TYPE_DIRECTORY: + self.revertTree(child) + elif child.get_type() == matemenu.TYPE_ENTRY: + self.revertItem(child) + self.revertMenu(menu) + + def undo(self): + if len(self.__undo) == 0: + return + files = self.__undo.pop() + redo = [] + for file_path in files: + new_path = file_path.rsplit('.', 1)[0] + redo_path = util.getUniqueRedoFile(new_path) + data = open(new_path).read() + open(redo_path, 'w').write(data) + data = open(file_path).read() + open(new_path, 'w').write(data) + os.unlink(file_path) + redo.append(redo_path) + #reload DOM to make changes stick + for name in ('applications', 'settings'): + menu = getattr(self, name) + if not os.path.isfile(menu.path): + menu.dom = xml.dom.minidom.parseString(util.getUserMenuXml(menu.tree)) + else: + menu.dom = xml.dom.minidom.parse(menu.path) + self.__remove_whilespace_nodes(menu.dom) + self.__redo.append(redo) + + def redo(self): + if len(self.__redo) == 0: + return + files = self.__redo.pop() + undo = [] + for file_path in files: + new_path = file_path.rsplit('.', 1)[0] + undo_path = util.getUniqueUndoFile(new_path) + data = open(new_path).read() + open(undo_path, 'w').write(data) + data = open(file_path).read() + open(new_path, 'w').write(data) + os.unlink(file_path) + undo.append(undo_path) + #reload DOM to make changes stick + for name in ('applications', 'settings'): + menu = getattr(self, name) + if not os.path.isfile(menu.path): + menu.dom = xml.dom.minidom.parseString(util.getUserMenuXml(menu.tree)) + else: + menu.dom = xml.dom.minidom.parse(menu.path) + self.__remove_whilespace_nodes(menu.dom) + self.__undo.append(undo) + + def getMenus(self, parent=None): + if parent == None: + yield self.applications.tree.root + yield self.settings.tree.root + else: + for menu in parent.get_contents(): + if menu.get_type() == matemenu.TYPE_DIRECTORY: + yield (menu, self.__isVisible(menu)) + + def getItems(self, menu): + for item in menu.get_contents(): + if item.get_type() == matemenu.TYPE_SEPARATOR: + yield (item, True) + else: + if item.get_type() == matemenu.TYPE_ENTRY and item.get_desktop_file_id()[-19:] == '-usercustom.desktop': + continue + yield (item, self.__isVisible(item)) + + def canRevert(self, item): + if item.get_type() == matemenu.TYPE_ENTRY: + if util.getItemPath(item.get_desktop_file_id()): + path = util.getUserItemPath() + if os.path.isfile(os.path.join(path, item.get_desktop_file_id())): + return True + elif item.get_type() == matemenu.TYPE_DIRECTORY: + if item.get_desktop_file_path(): + file_id = os.path.split(item.get_desktop_file_path())[1] + else: + file_id = item.get_menu_id() + '.directory' + if util.getDirectoryPath(file_id): + path = util.getUserDirectoryPath() + if os.path.isfile(os.path.join(path, file_id)): + return True + return False + + def setVisible(self, item, visible): + dom = self.__getMenu(item).dom + if item.get_type() == matemenu.TYPE_ENTRY: + self.__addUndo([self.__getMenu(item), item]) + menu_xml = self.__getXmlMenu(self.__getPath(item.get_parent()), dom, dom) + if visible: + self.__addXmlFilename(menu_xml, dom, item.get_desktop_file_id(), 'Include') + self.__writeItem(item, no_display=False) + else: + self.__addXmlFilename(menu_xml, dom, item.get_desktop_file_id(), 'Exclude') + self.__addXmlTextElement(menu_xml, 'AppDir', util.getUserItemPath(), dom) + elif item.get_type() == matemenu.TYPE_DIRECTORY: + self.__addUndo([self.__getMenu(item), item]) + #don't mess with it if it's empty + if len(item.get_contents()) == 0: + return + menu_xml = self.__getXmlMenu(self.__getPath(item), dom, dom) + for node in self.__getXmlNodesByName(['Deleted', 'NotDeleted'], menu_xml): + node.parentNode.removeChild(node) + if visible: + self.__writeMenu(item, no_display=False) + else: + self.__writeMenu(item, no_display=True) + self.__addXmlTextElement(menu_xml, 'DirectoryDir', util.getUserDirectoryPath(), dom) + self.save() + + def createItem(self, parent, icon, name, comment, command, use_term, before=None, after=None): + file_id = self.__writeItem(None, icon, name, comment, command, use_term) + self.insertExternalItem(file_id, parent.menu_id, before, after) + + def insertExternalItem(self, file_id, parent_id, before=None, after=None): + parent = self.__findMenu(parent_id) + dom = self.__getMenu(parent).dom + self.__addItem(parent, file_id, dom) + self.__positionItem(parent, ('Item', file_id), before, after) + self.__addUndo([self.__getMenu(parent), ('Item', file_id)]) + self.save() + + def createMenu(self, parent, icon, name, comment, before=None, after=None): + file_id = self.__writeMenu(None, icon, name, comment) + self.insertExternalMenu(file_id, parent.menu_id, before, after) + + def insertExternalMenu(self, file_id, parent_id, before=None, after=None): + menu_id = file_id.rsplit('.', 1)[0] + parent = self.__findMenu(parent_id) + dom = self.__getMenu(parent).dom + self.__addXmlDefaultLayout(self.__getXmlMenu(self.__getPath(parent), dom, dom) , dom) + menu_xml = self.__getXmlMenu(self.__getPath(parent) + '/' + menu_id, dom, dom) + self.__addXmlTextElement(menu_xml, 'Directory', file_id, dom) + self.__positionItem(parent, ('Menu', menu_id), before, after) + self.__addUndo([self.__getMenu(parent), ('Menu', file_id)]) + self.save() + + def createSeparator(self, parent, before=None, after=None): + self.__positionItem(parent, ('Separator',), before, after) + self.__addUndo([self.__getMenu(parent), ('Separator',)]) + self.save() + + def editItem(self, item, icon, name, comment, command, use_term, parent=None, final=True): + #if nothing changed don't make a user copy + if icon == item.get_icon() and name == item.get_display_name() and comment == item.get_comment() and command == item.get_exec() and use_term == item.get_launch_in_terminal(): + return + #hack, item.get_parent() seems to fail a lot + if not parent: + parent = item.get_parent() + if final: + self.__addUndo([self.__getMenu(parent), item]) + self.__writeItem(item, icon, name, comment, command, use_term) + if final: + dom = self.__getMenu(parent).dom + menu_xml = self.__getXmlMenu(self.__getPath(parent), dom, dom) + self.__addXmlTextElement(menu_xml, 'AppDir', util.getUserItemPath(), dom) + self.save() + + def editMenu(self, menu, icon, name, comment, final=True): + #if nothing changed don't make a user copy + if icon == menu.get_icon() and name == menu.get_name() and comment == menu.get_comment(): + return + #we don't use this, we just need to make sure the exists + #otherwise changes won't show up + dom = self.__getMenu(menu).dom + menu_xml = self.__getXmlMenu(self.__getPath(menu), dom, dom) + file_id = self.__writeMenu(menu, icon, name, comment) + if final: + self.__addXmlTextElement(menu_xml, 'DirectoryDir', util.getUserDirectoryPath(), dom) + self.__addUndo([self.__getMenu(menu), menu]) + self.save() + + def copyItem(self, item, new_parent, before=None, after=None): + dom = self.__getMenu(new_parent).dom + file_path = item.get_desktop_file_path() + keyfile = util.DesktopParser(file_path) + #erase Categories in new file + keyfile.set('Categories', ('',)) + keyfile.set('Hidden', False) + file_id = util.getUniqueFileId(item.get_name(), '.desktop') + out_path = os.path.join(util.getUserItemPath(), file_id) + keyfile.write(open(out_path, 'w')) + self.__addItem(new_parent, file_id, dom) + self.__positionItem(new_parent, ('Item', file_id), before, after) + self.__addUndo([self.__getMenu(new_parent), ('Item', file_id)]) + self.save() + return file_id + + def moveItem(self, item, new_parent, before=None, after=None): + undo = [] + if item.get_parent() != new_parent: + #hide old item + self.deleteItem(item) + undo.append(item) + file_id = self.copyItem(item, new_parent) + item = ('Item', file_id) + undo.append(item) + self.__positionItem(new_parent, item, before, after) + undo.append(self.__getMenu(new_parent)) + self.__addUndo(undo) + self.save() + + def moveMenu(self, menu, new_parent, before=None, after=None): + parent = new_parent + #don't move a menu into it's child + while parent.get_parent(): + parent = parent.get_parent() + if parent == menu: + return False + + #don't move a menu into itself + if new_parent == menu: + return False + + #can't move between top-level menus + if self.__getMenu(menu) != self.__getMenu(new_parent): + return False + if menu.get_parent() != new_parent: + dom = self.__getMenu(menu).dom + root_path = self.__getPath(menu).split('/', 1)[0] + xml_root = self.__getXmlMenu(root_path, dom, dom) + old_path = self.__getPath(menu).split('/', 1)[1] + #root menu's path has no / + if '/' in self.__getPath(new_parent): + new_path = self.__getPath(new_parent).split('/', 1)[1] + '/' + menu.get_menu_id() + else: + new_path = menu.get_menu_id() + self.__addXmlMove(xml_root, old_path, new_path, dom) + self.__positionItem(new_parent, menu, before, after) + self.__addUndo([self.__getMenu(new_parent),]) + self.save() + + def moveSeparator(self, separator, new_parent, before=None, after=None): + self.__positionItem(new_parent, separator, before, after) + self.__addUndo([self.__getMenu(new_parent),]) + self.save() + + def deleteItem(self, item): + self.__writeItem(item, hidden=True) + self.__addUndo([item,]) + self.save() + + def deleteMenu(self, menu): + dom = self.__getMenu(menu).dom + menu_xml = self.__getXmlMenu(self.__getPath(menu), dom, dom) + self.__addDeleted(menu_xml, dom) + self.__addUndo([self.__getMenu(menu),]) + self.save() + + def deleteSeparator(self, item): + parent = item.get_parent() + contents = parent.get_contents() + contents.remove(item) + layout = self.__createLayout(contents) + dom = self.__getMenu(parent).dom + menu_xml = self.__getXmlMenu(self.__getPath(parent), dom, dom) + self.__addXmlLayout(menu_xml, layout, dom) + self.__addUndo([self.__getMenu(item.get_parent()),]) + self.save() + + def revertItem(self, item): + if not self.canRevert(item): + return + self.__addUndo([item,]) + try: + os.remove(item.get_desktop_file_path()) + except OSError: + pass + self.save() + + def revertMenu(self, menu): + if not self.canRevert(menu): + return + #wtf happened here? oh well, just bail + if not menu.get_desktop_file_path(): + return + self.__addUndo([menu,]) + file_id = os.path.split(menu.get_desktop_file_path())[1] + path = os.path.join(util.getUserDirectoryPath(), file_id) + try: + os.remove(path) + except OSError: + pass + self.save() + + #private stuff + def __addUndo(self, items): + self.__undo.append([]) + for item in items: + if isinstance(item, Menu): + file_path = item.path + elif isinstance(item, tuple): + if item[0] == 'Item': + file_path = os.path.join(util.getUserItemPath(), item[1]) + if not os.path.isfile(file_path): + file_path = util.getItemPath(item[1]) + elif item[0] == 'Menu': + file_path = os.path.join(util.getUserDirectoryPath(), item[1]) + if not os.path.isfile(file_path): + file_path = util.getDirectoryPath(item[1]) + else: + continue + elif item.get_type() == matemenu.TYPE_DIRECTORY: + if item.get_desktop_file_path() == None: + continue + file_path = os.path.join(util.getUserDirectoryPath(), os.path.split(item.get_desktop_file_path())[1]) + if not os.path.isfile(file_path): + file_path = item.get_desktop_file_path() + elif item.get_type() == matemenu.TYPE_ENTRY: + file_path = os.path.join(util.getUserItemPath(), item.get_desktop_file_id()) + if not os.path.isfile(file_path): + file_path = item.get_desktop_file_path() + else: + continue + data = open(file_path).read() + undo_path = util.getUniqueUndoFile(file_path) + open(undo_path, 'w').write(data) + self.__undo[-1].append(undo_path) + + def __getMenu(self, item): + root = item.get_parent() + if not root: + #already at the top + root = item + else: + while True: + if root.get_parent(): + root = root.get_parent() + else: + break + if root.menu_id == self.applications.tree.root.menu_id: + return self.applications + return self.settings + + def __findMenu(self, menu_id, parent=None): + if parent == None: + menu = self.__findMenu(menu_id, self.applications.tree.root) + if menu != None: + return menu + else: + return self.__findMenu(menu_id, self.settings.tree.root) + if menu_id == self.applications.tree.root.menu_id: + return self.applications.tree.root + if menu_id == self.settings.tree.root.menu_id: + return self.settings.tree.root + for item in parent.get_contents(): + if item.get_type() == matemenu.TYPE_DIRECTORY: + if item.menu_id == menu_id: + return item + menu = self.__findMenu(menu_id, item) + if menu != None: + return menu + + def __isVisible(self, item): + if item.get_type() == matemenu.TYPE_ENTRY: + return not (item.get_is_excluded() or item.get_is_nodisplay()) + menu = self.__getMenu(item) + if menu == self.applications: + root = self.applications.visible_tree.root + elif menu == self.settings: + root = self.settings.visible_tree.root + if item.get_type() == matemenu.TYPE_DIRECTORY: + if self.__findMenu(item.menu_id, root) == None: + return False + return True + + def __getPath(self, menu, path=None): + if not path: + path = menu.tree.root.get_menu_id() + if menu.get_parent(): + path = self.__getPath(menu.get_parent(), path) + path += '/' + path += menu.menu_id + return path + + def __getXmlMenu(self, path, element, dom): + if '/' in path: + (name, path) = path.split('/', 1) + else: + name = path + path = '' + + found = None + for node in self.__getXmlNodesByName('Menu', element): + for child in self.__getXmlNodesByName('Name', node): + if child.childNodes[0].nodeValue == name: + if path: + found = self.__getXmlMenu(path, node, dom) + else: + found = node + break + if found: + break + if not found: + node = self.__addXmlMenuElement(element, name, dom) + if path: + found = self.__getXmlMenu(path, node, dom) + else: + found = node + + return found + + def __addXmlMenuElement(self, element, name, dom): + node = dom.createElement('Menu') + self.__addXmlTextElement(node, 'Name', name, dom) + return element.appendChild(node) + + def __addXmlTextElement(self, element, name, text, dom): + for temp in element.childNodes: + if temp.nodeName == name: + if temp.childNodes[0].nodeValue == text: + return + node = dom.createElement(name) + text = dom.createTextNode(text) + node.appendChild(text) + return element.appendChild(node) + + def __addXmlFilename(self, element, dom, filename, type = 'Include'): + # remove old filenames + for node in self.__getXmlNodesByName(['Include', 'Exclude'], element): + if node.childNodes[0].nodeName == 'Filename' and node.childNodes[0].childNodes[0].nodeValue == filename: + element.removeChild(node) + + # add new filename + node = dom.createElement(type) + node.appendChild(self.__addXmlTextElement(node, 'Filename', filename, dom)) + return element.appendChild(node) + + def __addDeleted(self, element, dom): + node = dom.createElement('Deleted') + return element.appendChild(node) + + def __writeItem(self, item=None, icon=None, name=None, comment=None, command=None, use_term=None, no_display=None, startup_notify=None, hidden=None): + if item: + file_path = item.get_desktop_file_path() + file_id = item.get_desktop_file_id() + keyfile = util.DesktopParser(file_path) + elif item == None and name == None: + raise Exception('New menu items need a name') + else: + file_id = util.getUniqueFileId(name, '.desktop') + keyfile = util.DesktopParser() + if icon: + keyfile.set('Icon', icon) + keyfile.set('Icon', icon, self.locale) + if name: + keyfile.set('Name', name) + keyfile.set('Name', name, self.locale) + if comment: + keyfile.set('Comment', comment) + keyfile.set('Comment', comment, self.locale) + if command: + keyfile.set('Exec', command) + if use_term != None: + keyfile.set('Terminal', use_term) + if no_display != None: + keyfile.set('NoDisplay', no_display) + if startup_notify != None: + keyfile.set('StartupNotify', startup_notify) + if hidden != None: + keyfile.set('Hidden', hidden) + out_path = os.path.join(util.getUserItemPath(), file_id) + keyfile.write(open(out_path, 'w')) + return file_id + + def __writeMenu(self, menu=None, icon=None, name=None, comment=None, no_display=None): + if menu: + file_id = os.path.split(menu.get_desktop_file_path())[1] + file_path = menu.get_desktop_file_path() + keyfile = util.DesktopParser(file_path) + elif menu == None and name == None: + raise Exception('New menus need a name') + else: + file_id = util.getUniqueFileId(name, '.directory') + keyfile = util.DesktopParser(file_type='Directory') + if icon: + keyfile.set('Icon', icon) + if name: + keyfile.set('Name', name) + keyfile.set('Name', name, self.locale) + if comment: + keyfile.set('Comment', comment) + keyfile.set('Comment', comment, self.locale) + if no_display != None: + keyfile.set('NoDisplay', no_display) + out_path = os.path.join(util.getUserDirectoryPath(), file_id) + keyfile.write(open(out_path, 'w')) + return file_id + + def __getXmlNodesByName(self, name, element): + for child in element.childNodes: + if child.nodeType == xml.dom.Node.ELEMENT_NODE: + if isinstance(name, str) and child.nodeName == name: + yield child + elif isinstance(name, list) or isinstance(name, tuple): + if child.nodeName in name: + yield child + + def __remove_whilespace_nodes(self, node): + remove_list = [] + for child in node.childNodes: + if child.nodeType == xml.dom.minidom.Node.TEXT_NODE: + child.data = child.data.strip() + if not child.data.strip(): + remove_list.append(child) + elif child.hasChildNodes(): + self.__remove_whilespace_nodes(child) + for node in remove_list: + node.parentNode.removeChild(node) + + def __addXmlMove(self, element, old, new, dom): + if not self.__undoMoves(element, old, new, dom): + node = dom.createElement('Move') + node.appendChild(self.__addXmlTextElement(node, 'Old', old, dom)) + node.appendChild(self.__addXmlTextElement(node, 'New', new, dom)) + #are parsed in reverse order, need to put at the beginning + return element.insertBefore(node, element.firstChild) + + def __addXmlLayout(self, element, layout, dom): + # remove old layout + for node in self.__getXmlNodesByName('Layout', element): + element.removeChild(node) + + # add new layout + node = dom.createElement('Layout') + for order in layout.order: + if order[0] == 'Separator': + child = dom.createElement('Separator') + node.appendChild(child) + elif order[0] == 'Filename': + child = self.__addXmlTextElement(node, 'Filename', order[1], dom) + elif order[0] == 'Menuname': + child = self.__addXmlTextElement(node, 'Menuname', order[1], dom) + elif order[0] == 'Merge': + child = dom.createElement('Merge') + child.setAttribute('type', order[1]) + node.appendChild(child) + return element.appendChild(node) + + def __addXmlDefaultLayout(self, element, dom): + # remove old default layout + for node in self.__getXmlNodesByName('DefaultLayout', element): + element.removeChild(node) + + # add new layout + node = dom.createElement('DefaultLayout') + node.setAttribute('inline', 'false') + return element.appendChild(node) + + def __createLayout(self, items): + layout = Layout() + layout.order = [] + + layout.order.append(['Merge', 'menus']) + for item in items: + if isinstance(item, tuple): + if item[0] == 'Separator': + layout.parseSeparator() + elif item[0] == 'Menu': + layout.parseMenuname(item[1]) + elif item[0] == 'Item': + layout.parseFilename(item[1]) + elif item.get_type() == matemenu.TYPE_DIRECTORY: + layout.parseMenuname(item.get_menu_id()) + elif item.get_type() == matemenu.TYPE_ENTRY: + layout.parseFilename(item.get_desktop_file_id()) + elif item.get_type() == matemenu.TYPE_SEPARATOR: + layout.parseSeparator() + layout.order.append(['Merge', 'files']) + return layout + + def __addItem(self, parent, file_id, dom): + xml_parent = self.__getXmlMenu(self.__getPath(parent), dom, dom) + self.__addXmlFilename(xml_parent, dom, file_id, 'Include') + + def __deleteItem(self, parent, file_id, dom, before=None, after=None): + xml_parent = self.__getXmlMenu(self.__getPath(parent), dom, dom) + self.__addXmlFilename(xml_parent, dom, file_id, 'Exclude') + + def __positionItem(self, parent, item, before=None, after=None): + if not before and not after: + return + if after: + index = parent.contents.index(after) + 1 + elif before: + index = parent.contents.index(before) + contents = parent.contents + #if this is a move to a new parent you can't remove the item + try: + contents.remove(item) + except: + pass + contents.insert(index, item) + layout = self.__createLayout(contents) + dom = self.__getMenu(parent).dom + menu_xml = self.__getXmlMenu(self.__getPath(parent), dom, dom) + self.__addXmlLayout(menu_xml, layout, dom) + + def __undoMoves(self, element, old, new, dom): + nodes = [] + matches = [] + original_old = old + final_old = old + #get all elements + for node in self.__getXmlNodesByName(['Move'], element): + nodes.insert(0, node) + #if the matches our old parent we've found a stage to undo + for node in nodes: + xml_old = node.getElementsByTagName('Old')[0] + xml_new = node.getElementsByTagName('New')[0] + if xml_new.childNodes[0].nodeValue == old: + matches.append(node) + #we should end up with this path when completed + final_old = xml_old.childNodes[0].nodeValue + #undoing s + for node in matches: + element.removeChild(node) + if len(matches) > 0: + for node in nodes: + xml_old = node.getElementsByTagName('Old')[0] + xml_new = node.getElementsByTagName('New')[0] + path = os.path.split(xml_new.childNodes[0].nodeValue) + if path[0] == original_old: + element.removeChild(node) + for node in dom.getElementsByTagName('Menu'): + name_node = node.getElementsByTagName('Name')[0] + name = name_node.childNodes[0].nodeValue + if name == os.path.split(new)[1]: + #copy app and dir directory info from old + root_path = dom.getElementsByTagName('Menu')[0].getElementsByTagName('Name')[0].childNodes[0].nodeValue + xml_menu = self.__getXmlMenu(root_path + '/' + new, dom, dom) + for app_dir in node.getElementsByTagName('AppDir'): + xml_menu.appendChild(app_dir) + for dir_dir in node.getElementsByTagName('DirectoryDir'): + xml_menu.appendChild(dir_dir) + parent = node.parentNode + parent.removeChild(node) + node = dom.createElement('Move') + node.appendChild(self.__addXmlTextElement(node, 'Old', xml_old.childNodes[0].nodeValue, dom)) + node.appendChild(self.__addXmlTextElement(node, 'New', os.path.join(new, path[1]), dom)) + element.appendChild(node) + if final_old == new: + return True + node = dom.createElement('Move') + node.appendChild(self.__addXmlTextElement(node, 'Old', final_old, dom)) + node.appendChild(self.__addXmlTextElement(node, 'New', new, dom)) + return element.appendChild(node) + +class Layout: + def __init__(self, node=None): + self.order = [] + + def parseMenuname(self, value): + self.order.append(['Menuname', value]) + + def parseSeparator(self): + self.order.append(['Separator']) + + def parseFilename(self, value): + self.order.append(['Filename', value]) + + def parseMerge(self, merge_type='all'): + self.order.append(['Merge', merge_type]) diff --git a/Alacarte/__init__.py b/Alacarte/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/Alacarte/config.py.in b/Alacarte/config.py.in new file mode 100644 index 0000000..1b90871 --- /dev/null +++ b/Alacarte/config.py.in @@ -0,0 +1,9 @@ +prefix="@prefix@" +datadir="@datadir@" +localedir=datadir+"/locale" +pkgdatadir="@pkgdatadir@" +libdir="@libdir@" +libexecdir="@libexecdir@" +PACKAGE="@PACKAGE@" +VERSION="@VERSION@" +GETTEXT_PACKAGE="@GETTEXT_PACKAGE@" diff --git a/Alacarte/util.py b/Alacarte/util.py new file mode 100644 index 0000000..affd2f5 --- /dev/null +++ b/Alacarte/util.py @@ -0,0 +1,244 @@ +# -*- coding: utf-8 -*- +# Alacarte Menu Editor - Simple fd.o Compliant Menu Editor +# Copyright (C) 2006 Travis Watkins +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Library General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +import os +import gtk, matemenu +from ConfigParser import ConfigParser + +class DesktopParser(ConfigParser): + def __init__(self, filename=None, file_type='Application'): + ConfigParser.__init__(self) + self.filename = filename + self.file_type = file_type + if filename: + if len(self.read(filename)) == 0: + #file doesn't exist + self.add_section('Desktop Entry') + else: + self.add_section('Desktop Entry') + self._list_separator = ';' + + def optionxform(self, option): + #makes keys not be lowercase + return option + + def get(self, option, locale=None): + locale_option = option + '[%s]' % locale + try: + value = ConfigParser.get(self, 'Desktop Entry', locale_option) + except: + try: + value = ConfigParser.get(self, 'Desktop Entry', option) + except: + return None + if self._list_separator in value: + value = value.split(self._list_separator) + if value == 'true': + value = True + if value == 'false': + value = False + return value + + def set(self, option, value, locale=None): + if locale: + option = option + '[%s]' % locale + if value == True: + value = 'true' + if value == False: + value = 'false' + if isinstance(value, tuple) or isinstance(value, list): + value = self._list_separator.join(value) + ';' + ConfigParser.set(self, 'Desktop Entry', option, value) + + def write(self, file_object): + file_object.write('[Desktop Entry]\n') + items = [] + if not self.filename: + file_object.write('Encoding=UTF-8\n') + file_object.write('Type=' + str(self.file_type) + '\n') + for item in self.items('Desktop Entry'): + items.append(item) + items.sort() + for item in items: + file_object.write(item[0] + '=' + item[1] + '\n') + +def getUniqueFileId(name, extension): + append = 0 + while 1: + if append == 0: + filename = name + extension + else: + filename = name + '-' + str(append) + extension + if extension == '.desktop': + path = getUserItemPath() + if not os.path.isfile(os.path.join(path, filename)) and not getItemPath(filename): + break + elif extension == '.directory': + path = getUserDirectoryPath() + if not os.path.isfile(os.path.join(path, filename)) and not getDirectoryPath(filename): + break + append += 1 + return filename + +def getUniqueRedoFile(filepath): + append = 0 + while 1: + new_filepath = filepath + '.redo-' + str(append) + if not os.path.isfile(new_filepath): + break + else: + append += 1 + return new_filepath + +def getUniqueUndoFile(filepath): + filename, extension = os.path.split(filepath)[1].rsplit('.', 1) + append = 0 + while 1: + if extension == 'desktop': + path = getUserItemPath() + elif extension == 'directory': + path = getUserDirectoryPath() + elif extension == 'menu': + path = getUserMenuPath() + new_filepath = os.path.join(path, filename + '.' + extension + '.undo-' + str(append)) + if not os.path.isfile(new_filepath): + break + else: + append += 1 + return new_filepath + +def getUserMenuPath(): + menu_dir = None + if os.environ.has_key('XDG_CONFIG_HOME'): + menu_dir = os.path.join(os.environ['XDG_CONFIG_HOME'], 'menus') + else: + menu_dir = os.path.join(os.environ['HOME'], '.config', 'menus') + #move .config out of the way if it's not a dir, it shouldn't be there + if os.path.isfile(os.path.split(menu_dir)[0]): + os.rename(os.path.split(menu_dir)[0], os.path.split(menu_dir)[0] + '.old') + if not os.path.isdir(menu_dir): + os.makedirs(menu_dir) + return menu_dir + +def getItemPath(file_id): + if os.environ.has_key('XDG_DATA_DIRS'): + for system_path in os.environ['XDG_DATA_DIRS'].split(':'): + file_path = os.path.join(system_path, 'applications', file_id) + if os.path.isfile(file_path): + return file_path + file_path = os.path.join('/', 'usr', 'share', 'applications', file_id) + if os.path.isfile(file_path): + return file_path + return False + +def getUserItemPath(): + item_dir = None + if os.environ.has_key('XDG_DATA_HOME'): + item_dir = os.path.join(os.environ['XDG_DATA_HOME'], 'applications') + else: + item_dir = os.path.join(os.environ['HOME'], '.local', 'share', 'applications') + if not os.path.isdir(item_dir): + os.makedirs(item_dir) + return item_dir + +def getDirectoryPath(file_id): + home = getUserDirectoryPath() + file_path = os.path.join(home, file_id) + if os.path.isfile(file_path): + return file_path + if os.environ.has_key('XDG_DATA_DIRS'): + for system_path in os.environ['XDG_DATA_DIRS'].split(':'): + file_path = os.path.join(system_path, 'desktop-directories', file_id) + if os.path.isfile(file_path): + return file_path + file_path = os.path.join('/', 'usr', 'share', 'desktop-directories', file_id) + if os.path.isfile(file_path): + return file_path + return False + +def getUserDirectoryPath(): + menu_dir = None + if os.environ.has_key('XDG_DATA_HOME'): + menu_dir = os.path.join(os.environ['XDG_DATA_HOME'], 'desktop-directories') + else: + menu_dir = os.path.join(os.environ['HOME'], '.local', 'share', 'desktop-directories') + if not os.path.isdir(menu_dir): + os.makedirs(menu_dir) + return menu_dir + +def getSystemMenuPath(file_name): + if os.environ.has_key('XDG_CONFIG_DIRS'): + for system_path in os.environ['XDG_CONFIG_DIRS'].split(':'): + file_path = os.path.join(system_path, 'menus', file_name) + if os.path.isfile(file_path): + return file_path + file_path = os.path.join('/', 'etc', 'xdg', 'menus', file_name) + if os.path.isfile(file_path): + return file_path + return False + +def getUserMenuXml(tree): + system_file = getSystemMenuPath(tree.get_menu_file()) + name = tree.root.get_menu_id() + menu_xml = "\n" + menu_xml += "\n " + name + "\n " + menu_xml += "" + system_file + "\n\n" + return menu_xml + +def getIcon(item, for_properties=False): + pixbuf, path = None, None + if item == None: + if for_properties: + return None, None + return None + if isinstance(item, str): + iconName = item + else: + iconName = item.get_icon() + if iconName and not '/' in iconName and iconName[-3:] in ('png', 'svg', 'xpm'): + iconName = iconName[:-4] + icon_theme = gtk.icon_theme_get_default() + try: + pixbuf = icon_theme.load_icon(iconName, 24, 0) + path = icon_theme.lookup_icon(iconName, 24, 0).get_filename() + except: + if iconName and '/' in iconName: + try: + pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(iconName, 24, 24) + path = iconName + except: + pass + if pixbuf == None: + if for_properties: + return None, None + if item.get_type() == matemenu.TYPE_DIRECTORY: + iconName = 'mate-fs-directory' + elif item.get_type() == matemenu.TYPE_ENTRY: + iconName = 'application-default-icon' + try: + pixbuf = icon_theme.load_icon(iconName, 24, 0) + path = icon_theme.lookup_icon(iconName, 24, 0).get_filename() + except: + return None + if pixbuf == None: + return None + if pixbuf.get_width() != 24 or pixbuf.get_height() != 24: + pixbuf = pixbuf.scale_simple(24, 24, gtk.gdk.INTERP_HYPER) + if for_properties: + return pixbuf, path + return pixbuf diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..eb685a5 --- /dev/null +++ b/COPYING @@ -0,0 +1,481 @@ + GNU LIBRARY GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1991 Free Software Foundation, Inc. + 675 Mass Ave, Cambridge, MA 02139, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the library GPL. It is + numbered 2 because it goes with version 2 of the ordinary GPL.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Library General Public License, applies to some +specially designated Free Software Foundation software, and to any +other libraries whose authors decide to use it. You can use it for +your libraries, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if +you distribute copies of the library, or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link a program with the library, you must provide +complete object files to the recipients so that they can relink them +with the library, after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + Our method of protecting your rights has two steps: (1) copyright +the library, and (2) offer you this license which gives you legal +permission to copy, distribute and/or modify the library. + + Also, for each distributor's protection, we want to make certain +that everyone understands that there is no warranty for this free +library. If the library is modified by someone else and passed on, we +want its recipients to know that what they have is not the original +version, so that any problems introduced by others will not reflect on +the original authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that companies distributing free +software will individually obtain patent licenses, thus in effect +transforming the program into proprietary software. To prevent this, +we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + + Most GNU software, including some libraries, is covered by the ordinary +GNU General Public License, which was designed for utility programs. This +license, the GNU Library General Public License, applies to certain +designated libraries. This license is quite different from the ordinary +one; be sure to read it in full, and don't assume that anything in it is +the same as in the ordinary license. + + The reason we have a separate public license for some libraries is that +they blur the distinction we usually make between modifying or adding to a +program and simply using it. Linking a program with a library, without +changing the library, is in some sense simply using the library, and is +analogous to running a utility program or application program. However, in +a textual and legal sense, the linked executable is a combined work, a +derivative of the original library, and the ordinary General Public License +treats it as such. + + Because of this blurred distinction, using the ordinary General +Public License for libraries did not effectively promote software +sharing, because most developers did not use the libraries. We +concluded that weaker conditions might promote sharing better. + + However, unrestricted linking of non-free programs would deprive the +users of those programs of all benefit from the free status of the +libraries themselves. This Library General Public License is intended to +permit developers of non-free programs to use free libraries, while +preserving your freedom as a user of such programs to change the free +libraries that are incorporated in them. (We have not seen how to achieve +this as regards changes in header files, but we have achieved it as regards +changes in the actual functions of the Library.) The hope is that this +will lead to faster development of free libraries. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, while the latter only +works together with the library. + + Note that it is possible for a library to be covered by the ordinary +General Public License rather than by this special one. + + GNU LIBRARY GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library which +contains a notice placed by the copyright holder or other authorized +party saying it may be distributed under the terms of this Library +General Public License (also called "this License"). Each licensee is +addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also compile or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + c) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + d) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the source code distributed need not include anything that is normally +distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Library General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + Appendix: How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! diff --git a/ChangeLog.pre-git b/ChangeLog.pre-git new file mode 100644 index 0000000..f9a889a --- /dev/null +++ b/ChangeLog.pre-git @@ -0,0 +1,527 @@ +2009-03-17 Vincent Untz + + * configure.ac: post-release bump to 0.11.11 + +==================== 0.11.10 ==================== + +2009-03-17 Vincent Untz + + * NEWS: + * README: version 0.11.10 + +2009-02-16 Cosimo Cecchi + + * configure.ac: post-release bump to 0.11.10 + +==================== 0.11.9 ==================== + +2009-02-16 Cosimo Cecchi + + * NEWS: + * README: version 0.11.9 + +2009-02-16 Cosimo Cecchi + + * Alacarte/MainWindow.py: drop libmateui dependency. + * configure.ac: bump required PyGTK version to 2.13.0, + due to gtk.show_uri(). + Patch by Andreas Proschofsky, fixes bug #570493. + +2009-02-04 Cosimo Cecchi + + * Alacarte/MainWindow.py: removed a call to + mate.ui.authentication_manager_init(), as that's not needed + with GIO anymore. Thanks to Andreas Proschofsky. + +2009-02-02 Cosimo Cecchi + + * configure.ac: post-release bump to 0.11.9 + +==================== 0.11.8 ==================== + +2009-02-02 Cosimo Cecchi + + * NEWS: + * README: version 0.11.8 + +2009-01-21 Frederic Peters + + * configure.ac: adds a pygtk.require() when detecting pygobject, so + non-standard installation paths are considered. (#568534) + +2009-01-19 Vincent Untz + + * Alacarte/MenuEditor.py: show all separators + * configure.ac: require mate-menus 2.22.2 + Fix bug #527635 + +2009-01-19 Cosimo Cecchi + + * configure.ac: post-release bump to 0.11.8 + +==================== 0.11.7 ==================== + +2009-01-19 Cosimo Cecchi + + * NEWS: + * README: version 0.11.7 + +2009-01-19 Cosimo Cecchi + + * Alacarte/MainWindow.py: + * configure.ac: port to GIO. Based on a patch from Gian Mario + Tagliaretti (#514574). + +2009-01-19 Cosimo Cecchi + + * INSTALL: + * Makefile.am: + * configure.ac: use intltool 0.4.0. + +2008-11-17 Cosimo Cecchi + + * configure.ac: better message for python libraries check. + Part of bug #552186. + +2008-09-22 Vincent Untz + + * configure.ac: post-release bump to 0.11.7 + +==================== 0.11.6 ==================== + +2008-09-22 Vincent Untz + + * NEWS: + * README: version 0.11.6 + +2008-09-22 Vincent Untz + + * configure.ac: check for python 2.6. Fix bug #551751. + +2008-09-11 Vincent Untz + + * Makefile.am: + * alacarte.desktop.in.in: + * alacarte.glade: + * configure.ac: + * data/Makefile.am: + * data/icons/Makefile.am: + * po/POTFILES.in: + * po/POTFILES.skip: + Create a data directory, and put data in there. + Add all sizes for icons. + Fix bug #549994 + Based on work by Michael Monreal + +2008-09-11 Vincent Untz + + * Makefile.am: fix uninstallation of icons + Fix bug #538679 + Patch by Fabricio Silva + +2008-03-10 Travis Watkins + + * configure.ac: post-release bump to 0.11.6 + +==================== 0.11.5 ==================== + +2008-03-10 Travis Watkins + + * NEWS: + README: version 0.11.5 + +2008-02-18 Travis Watkins + + * Alacarte/MainWindow.py: bail out if no item selected (bug 517380) + +2008-02-16 Travis Watkins + + * configure.ac: pre-release bump to 0.11.5 + +==================== 0.11.4 ==================== + +2008-02-16 Travis Watkins + + * NEWS: + * README: version 0.11.4 + +2008-02-16 Travis Watkins + + * Alacarte/MenuEditor.py: hopefully fix the most frequest crasher + +2008-02-16 Travis Watkins + + * Alacarte/MainWindow.py: _really_ fix that drag-and-drop problem + * po/POTFILES.in: make distcheck work + +2008-02-16 Travis Watkins + + * Alacarte/MainWindow.py: + - disable New Separator button when an item is not selected + thanks to Mike Pechkin + - hopefully fix problem with editing properties on menus without + .directory files + - make sure DnD operations are only allowed for the inside + the alacarte window and not between instances of alacarte + - update view on item theme change, thanks Jared Moore + * Alacarte/Makefile.am: + - install .py files to the correct location, thanks Todd Zullinger + * Alacarte/MenuEditor.py: + - make sure you can't move a menu into itself + thanks Benjamin Gramlich + - hopefully fix bug 486937 (which doesn't make sense) + * alacarte.desktop.in.in: + - disable StartupNotify as a poor man's fix for property windows + going under the main application window + +2007-02-12 Vincent Untz + + * configure.ac: pre-release bump to 0.11.4 + +==================== 0.11.3 ==================== + +2007-02-12 Vincent Untz + + * NEWS: + * README: version 0.11.3 + +2007-02-11 Travis Watkins + + * Alacarte/MainWindow.py: + Alacarte/MenuEditor.py: readd support for System menu + * alacarte.desktop.in.in: + alacarte.glade: make name 'Main Menu' everywhere + +2007-01-11 Travis Watkins + + * alacarte.desktop.in.in: remove GenericName, add specific category + +2007-01-10 Travis Watkins + + * configure.ac: post-release bump to 0.11.2 + +2007-01-10 Travis Watkins + + * Alacarte/MainWindow.py: remove DialogHandler and time imports + * Alacarte/MenuEditor.py: remove settings.menu support, potential errors + +2007-01-08 Travis Watkins + + * configure.ac: post-release bump to 0.11.1 + +2007-01-08 Travis Watkins + + * configure.ac: pre-release bump to 0.11.0 + +2007-01-08 Travis Watkins + + * Alacarte/MainWindow.py: add a small hack to make menu creation work + +2007-01-08 Travis Watkins + + * Alacarte/MenuEditor.py: add support for adding external files + * Alacarte/MainWindow.py: use mate-desktop-item-edit for all menu + and item dialogs + * Alacarte/DialogHandler.py: removed, no longer needed + * alacarte.glade: remove unused dialogs + +2007-01-03 Travis Watkins + + * alacarte.glade: minor UI fix (from Christian Persch) + +2006-12-18 Rob Bradford + + * configure.ac: post-release bump to 0.10.3 + +2006-12-08 Kjartan Maraas + + * Alacarte/DialogHandler.py: + * Alacarte/MenuEditor.py: + Mark all strings for translation. + +2006-12-07 Rob Bradford + + * Alacarte/MainWindow.py: + * Alacarte/config.py.in: + Make gettext look for the locale data in the correct place. My patch + is a hybrid of the solution from Scott Reeves (see #376486) and + Takao Fujiwara (see #377301). With some adjustments of my own. + +2006-12-07 Rob Bradford + + * alacarte.desktop.in.in: added _GenericName (see #352105) and changed + the _Name and _Comment to match the recommendations from the Sun + usability guys (see #375629). + +2006-12-07 Rob Bradford + + * configure.ac: Added support for Python 2.5. (see #375382) + +2006-12-07 Kevin Tighe + + * alacarte.glade: Added minimize/maximize buttons to main window. + (MATE bug #370598). + +2006-12-07 Rob Bradford + + * Alacarte/MainWindow.py: Disable the up/down arrows when on the + first/last items (see #352103) + +2006-12-07 Rob Bradford + + * alacarte.desktop.in: removed + * alacarte.desktop.in.in: added and include bug-buddy magic + (see #363186) + * configure.ac: added alacarte.desktop.in to AC_CONFIG_FILES + +2006-10-02 Travis Watkins + + * configure.ac: post-release bump to 0.10.2 + +2006-10-02 Frederic Crozat + + * Alacarte/util.py: fix typo in code. + * Alacarte/MenuEditor.py: disable inlining in newly created menu + (MATE bug #359003). + * Alacarte/MenuEditor.py: don't hardcode root menu node name + (MATE bug #355828). + +2006-10-02 Travis Watkins + + * Alacarte/DialogHandler.py: escape non-alphanum chars in command dialog + +2006-10-01 Travis Watkins + + * Alacarte/DialogHandler.py: escape \t, \r, and \n + +2006-10-01 Travis Watkins + + * Alacarte/DialogHandler.py: don't set menu values to values of last + menu looked at (oops) + +2006-10-01 Travis Watkins + + * Alacarte/MainWindow.py: ignore expanding errors + +2006-10-01 Travis Watkins + + * Alacarte/util.py: move .config out of the way if it's not a directory + +2006-10-01 Travis Watkins + + * Alacarte/DialogHandler.py: fix crash bug with command entry + +2006-10-01 Travis Watkins + + * Alacarte/util.py: fix invalid system menu path (thanks fcrozat) + +2006-10-01 Travis Watkins + + * Alacarte/util.py: fix XDG_DATA_HOME paths + +2006-10-01 Travis Watkins + + * Alacarte/MenuEditor.py: don't add duplicate AppDir tags + +2006-09-04 Travis Watkins + + * configure.ac: post-release bump to 0.10.1 + +2006-09-03 Travis Watkins + + * configure.ac: pre-release bump to 0.10.0 + +2006-08-24 Travis Watkins + + * MainWindow.py: add keyboard accelerator for help and make help + button work + * Dialoghandler.py: fix crash on Solaris (maybe) + +2006-08-04 Travis Watkins + + * Fix crash caused by API change in mate-menus (thanks Joe Marcus + Clarke) + +2006-08-03 Jovan Naumovski + + * Added sl.po to po/ and 'sl' to LINGUAS. + +2006-07-24 Travis Watkins + + * configure.ac: post-release bump to 0.9.91 + +2006-07-24 Travis Watkins + + * configure.ac: pre-release bump to 0.9.90 + +2006-07-21 Travis Watkins + + * alacarte.glade: HIG fixes from Christian Persch + +2006-07-09 Travis Watkins + + * configure.ac: post-release bump to 0.9.3 + +2006-07-09 Travis Watkins + + * Alacarte/MainWindow.py: make sure desktop file exists before + checking it + * Alacarte/MenuEditor.py: reload DOM on undo/redo to make changes + stick + +2006-05-27 Travis Watkins + + * Alacarte/DialogHandler.py: fix new entry command browsing + +2006-05-15 Travis Watkins + + * configure.ac: post-release bump to 0.9.2 + +2006-05-15 Travis Watkins + + * Alacarte/MainWindow.py: + * alacarte.glade: HIG fixes + +2006-05-07 Travis Watkins + + * Alacarte/DialogHandler.py: + * Alacarte/MainWindow.py: add set_transient_for to make real modal + dialogs + * Alacarte/DialogHandler.py: remove timer ugliness, don't save unless + the user changed something + +2006-05-05 Travis Watkins + + * alacarte.in: order things for easier profiling + +2006-05-04 Travis Watkins + + * Alacarte/MainWindow.py: make Delete delete items + * Alacarte/MenuEditor.py: + * Alacarte/MainWindow.py: + * Alacarte/util.py: add DnD for .desktop files and executable files + +2006-04-29 Travis Watkins + + * Alacarte/MenuEditor.py: legacydirs fix + +2006-04-29 Travis Watkins + + * alacarte.desktop.in: change Name and Categories + +2006-04-28 Travis Watkins + + * alacarte.glade: add destroy handler + * Alacarte/MainWindow.py: fix for legacy menus + * Alacarte/util.py: fix for items without icons + +2006-04-27 Travis Watkins + + * alacarte.glade: allow resizing + * Alacarte/MenuEditor.py: small bug fix + * Alacarte/MainWindow.py: + * Alacarte/DialogHandler.py: speed up editing by not instantly + updating + +2006-04-27 Travis Watkins + + * alacarte.glade: UI tweaks + * Alacarte/util.py: don't resize icons unless needed, makes them + blurry + +2006-04-26 Travis Watkins + + * alacarte.glade: make up/down buttons work + * Alacarte/MainWindow.py: + * Alacarte/MenuEditor.py: + * Alacarte/DialogHandler.py: add undo/redo support! + * Alacarte/MenuEditor.py: make revert less destructive as root + +2006-04-21 Travis Watkins + + * alacarte.glade: + * Alacarte/MainWindow.py: UI redesign + * Alacarte/DialogHandler.py: + * Alacarte/MenuEditor.py: treat 'Other' menu like a normal one + +2006-04-21 Travis Watkins + + * Alacarte/MenuEditor.py + * Alacarte/MainWindow.py: use new mate-menus API + * Alacarte/MenuEditor.py: reload ROM on full revert + better legacy menu support + make multiple moves work + * Alacarte/util.py: resize icons to 24x24 + +2006-04-20 Travis Watkins + + * Alacarte/DialogHandler.py: only add executable files to completion + +2006-04-18 Travis Watkins + + * alacarte.glade: + * Alacarte/DialogHandler.py: add simple command completion + +2006-04-18 Travis Watkins + + * Alacarte/DialogHandler.py: add image filters, add command dialog + +2006-04-18 Travis Watkins + + * alacarte.glade: + * Alacarte/DialogHandler.py: fix icon selection + +2006-04-18 Travis Watkins + + * autogen.sh: require automake 1.9 + * configure.ac: PoLinguas goal + * alacarte.desktop.in: add Icon key + * alacarte.glade: add translator-credits to about dialog + +2006-04-18 Travis Watkins + + * Alacarte/MainWindow.py: + * Alacarte/MenuEditor.py: finish DnD, finish layout support, add + full revert (all menus) support + +2006-04-18 Travis Watkins + + * Alacarte/util.py: + * Alacarte/MenuEditor.py: + * Alacarte/MainWindow.py: implement revert and delete + +2006-04-18 Travis Watkins + + * Alacarte/MenuEditor.py: moveItem fully implemented + * Alacarte/DialogHandler.py: + * Alacarte/MainWindow.py: set default icon + * alacarte.svg: + * alacarte.png: new icon from Andreas Nilsson + +2006-04-18 Travis Watkins + + * Alacarte/MainWindow.py: + * Alacarte/MenuEditor.py: DnD copy of items, basic layout support + +2006-04-17 Travis Watkins + + * Alacarte/MainWindow.py: + * Alacarte/MenuEditor.py: small speedups, fixes + +2006-04-15 Travis Watkins + + * too much stuff, need to commit more often + +2006-04-12 Travis Watkins + + * Alacarte/MainWindow.py: make shift-f10 work + +2006-04-12 Travis Watkins + + * Makefile.am: distcheck fixes + +2006-04-12 Travis Watkins + + * Makefile.am: + * Alacarte/MainWindow.py: + * Alacarte/DialogHandler.py: AppIcon goal diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..d3c5b40 --- /dev/null +++ b/INSTALL @@ -0,0 +1,237 @@ +Installation Instructions +************************* + +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, +2006, 2007 Free Software Foundation, Inc. + +This file is free documentation; the Free Software Foundation gives +unlimited permission to copy, distribute and modify it. + +Basic Installation +================== + +Briefly, the shell commands `./configure; make; make install' should +configure, build, and install this package. The following +more-detailed instructions are generic; see the `README' file for +instructions specific to this package. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, and a +file `config.log' containing compiler output (useful mainly for +debugging `configure'). + + It can also use an optional file (typically called `config.cache' +and enabled with `--cache-file=config.cache' or simply `-C') that saves +the results of its tests to speed up reconfiguring. Caching is +disabled by default to prevent problems with accidental use of stale +cache files. + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If you are using the cache, and at +some point `config.cache' contains results you don't want to keep, you +may remove or edit it. + + The file `configure.ac' (or `configure.in') is used to create +`configure' by a program called `autoconf'. You need `configure.ac' if +you want to change it or regenerate `configure' using a newer version +of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. + + Running `configure' might take a while. While running, it prints + some messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + + 6. Often, you can also type `make uninstall' to remove the installed + files again. + +Compilers and Options +===================== + +Some systems require unusual options for compilation or linking that the +`configure' script does not know about. Run `./configure --help' for +details on some of the pertinent environment variables. + + You can give `configure' initial values for configuration parameters +by setting variables in the command line or in the environment. Here +is an example: + + ./configure CC=c99 CFLAGS=-g LIBS=-lposix + + *Note Defining Variables::, for more details. + +Compiling For Multiple Architectures +==================================== + +You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you can use GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + With a non-GNU `make', it is safer to compile the package for one +architecture at a time in the source code directory. After you have +installed the package for one architecture, use `make distclean' before +reconfiguring for another architecture. + +Installation Names +================== + +By default, `make install' installs the package's commands under +`/usr/local/bin', include files under `/usr/local/include', etc. You +can specify an installation prefix other than `/usr/local' by giving +`configure' the option `--prefix=PREFIX'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +pass the option `--exec-prefix=PREFIX' to `configure', the package uses +PREFIX as the prefix for installing programs and libraries. +Documentation and other data files still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like `--bindir=DIR' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + +Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + +There may be some features `configure' cannot figure out automatically, +but needs to determine by the type of machine the package will run on. +Usually, assuming the package is built to be run on the _same_ +architectures, `configure' can figure that out, but if it prints a +message saying it cannot guess the machine type, give it the +`--build=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name which has the form: + + CPU-COMPANY-SYSTEM + +where SYSTEM can have one of these forms: + + OS KERNEL-OS + + See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the machine type. + + If you are _building_ compiler tools for cross-compiling, you should +use the option `--target=TYPE' to select the type of system they will +produce code for. + + If you want to _use_ a cross compiler, that generates code for a +platform different from the build platform, you should specify the +"host" platform (i.e., that on which the generated programs will +eventually be run) with `--host=TYPE'. + +Sharing Defaults +================ + +If you want to set default values for `configure' scripts to share, you +can create a site shell script called `config.site' that gives default +values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Defining Variables +================== + +Variables not defined in a site shell script can be set in the +environment passed to `configure'. However, some packages may run +configure again during the build, and the customized values of these +variables may be lost. In order to avoid this problem, you should set +them in the `configure' command line, using `VAR=value'. For example: + + ./configure CC=/usr/local2/bin/gcc + +causes the specified `gcc' to be used as the C compiler (unless it is +overridden in the site shell script). + +Unfortunately, this technique does not work for `CONFIG_SHELL' due to +an Autoconf bug. Until the bug is fixed you can use this workaround: + + CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash + +`configure' Invocation +====================== + +`configure' recognizes the following options to control how it operates. + +`--help' +`-h' + Print a summary of the options to `configure', and exit. + +`--version' +`-V' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`--cache-file=FILE' + Enable the cache: use and save the results of the tests in FILE, + traditionally `config.cache'. FILE defaults to `/dev/null' to + disable caching. + +`--config-cache' +`-C' + Alias for `--cache-file=config.cache'. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`configure' also accepts some other, not widely useful, options. Run +`configure --help' for more details. + diff --git a/MAINTAINERS b/MAINTAINERS new file mode 100644 index 0000000..b1da53b --- /dev/null +++ b/MAINTAINERS @@ -0,0 +1,3 @@ +Travis Watkins +E-mail: amaranth@ubuntu.com +Userid: twatkins diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..9611bc7 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,38 @@ +## Process this file with automake to produce Makefile.in + +SUBDIRS = data po Alacarte + +CLEANFILES= + +bin_SCRIPTS = alacarte +CLEANFILES += alacarte + +DISTCLEANFILES = ChangeLog + +alacarte: alacarte.in + sed -e s!\@PYTHON\@!@PYTHON@! \ + -e s!\@PYOPTIONS\@!-OOt! \ + < $< > $@ +alacarte: Makefile + +EXTRA_DIST = \ + alacarte.in \ + MAINTAINERS \ + ChangeLog.pre-git + +ChangeLog: + @echo Creating $@ + @if test -d "$(srcdir)/.git"; then \ + (GIT_DIR=$(top_srcdir)/.git ./missing --run git log git-migration.. --stat -M -C --name-status --date=short --no-color) | fmt --split-only > $@.tmp \ + && mv -f $@.tmp $@ \ + || ($(RM) $@.tmp; \ + echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \ + (test -f $@ || echo git-log is required to generate this file >> $@)); \ + else \ + test -f $@ || \ + (echo A git checkout and git-log is required to generate ChangeLog >&2 && \ + echo A git checkout and git-log is required to generate this file >> $@); \ + fi + +.PHONY: ChangeLog + diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 0000000..21f9f62 --- /dev/null +++ b/Makefile.in @@ -0,0 +1,812 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = . +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(srcdir)/config.h.in \ + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ + install-sh missing mkinstalldirs py-compile +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(bindir)" +SCRIPTS = $(bin_SCRIPTS) +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ + distdir dist dist-all distcheck +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d "$(distdir)" \ + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr "$(distdir)"; }; } +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +ALACARTE_CFLAGS = @ALACARTE_CFLAGS@ +ALACARTE_LIBS = @ALACARTE_LIBS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PYTHON = @PYTHON@ +PYTHON2_4 = @PYTHON2_4@ +PYTHON2_5 = @PYTHON2_5@ +PYTHON2_6 = @PYTHON2_6@ +PYTHON2_7 = @PYTHON2_7@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +SUBDIRS = data po Alacarte +CLEANFILES = alacarte +bin_SCRIPTS = alacarte +DISTCLEANFILES = ChangeLog +EXTRA_DIST = \ + alacarte.in \ + MAINTAINERS \ + ChangeLog.pre-git + +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +am--refresh: + @: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): + +config.h: stamp-h1 + @if test ! -f $@; then \ + rm -f stamp-h1; \ + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ + else :; fi + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 +install-binSCRIPTS: $(bin_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-lzma: distdir + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma + $(am__remove_distdir) + +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz + $(am__remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lzma*) \ + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @$(am__cd) '$(distuninstallcheck_dir)' \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile $(SCRIPTS) config.h +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(bindir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-hdr distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: install-binSCRIPTS + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-binSCRIPTS + +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ + ctags-recursive install-am install-strip tags-recursive + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am am--refresh check check-am clean clean-generic \ + ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ + dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \ + distclean distclean-generic distclean-hdr distclean-tags \ + distcleancheck distdir distuninstallcheck dvi dvi-am html \ + html-am info info-am install install-am install-binSCRIPTS \ + install-data install-data-am install-dvi install-dvi-am \ + install-exec install-exec-am install-html install-html-am \ + install-info install-info-am install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \ + uninstall uninstall-am uninstall-binSCRIPTS + + +alacarte: alacarte.in + sed -e s!\@PYTHON\@!@PYTHON@! \ + -e s!\@PYOPTIONS\@!-OOt! \ + < $< > $@ +alacarte: Makefile + +ChangeLog: + @echo Creating $@ + @if test -d "$(srcdir)/.git"; then \ + (GIT_DIR=$(top_srcdir)/.git ./missing --run git log git-migration.. --stat -M -C --name-status --date=short --no-color) | fmt --split-only > $@.tmp \ + && mv -f $@.tmp $@ \ + || ($(RM) $@.tmp; \ + echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \ + (test -f $@ || echo git-log is required to generate this file >> $@)); \ + else \ + test -f $@ || \ + (echo A git checkout and git-log is required to generate ChangeLog >&2 && \ + echo A git checkout and git-log is required to generate this file >> $@); \ + fi + +.PHONY: ChangeLog + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..b037dd0 --- /dev/null +++ b/NEWS @@ -0,0 +1,434 @@ +============== +Version 0.13.2 +============== +Bugs fixed: + - Build against python 2.7 (Kjartan Maraas) + +Translations: + - Updated an Translation (Daniel Martinez Cucalon) + - Updated br Translation (Denis ARNAUD) + - Updated en@shaw Translation (Thomas Thurman) + - Updated eo Translation (Kristjan Schmidt) + - Updated fy Translation (Sense Hofstede) + - Updated gl Translation (Fran Diéguez) + - Updated hy Translation (noch) + - Updated id Translation (Dirgita) + - Updated kk Translation (Baurzhan Muftakhidinov) + - Updated sl Translation (Matej Urbančič) + - Updated tr Translation (Baris Cicek) + - Updated ug Translation (Gheyret Kenji) + +============== +Version 0.13.1 +============== +Bugs fixed: + - Fixed #596098, i18n initialization problem (Gabor Kelemen) + +Translations: + - Updated bn Translation (Jamil Ahmed) + - Updated en@shaw Translation (Thomas Thurman) + - Updated gl Translation (Fran Diéguez) + - Updated ko Translation (Changwoo Ryu) + - Updated mn Translation (Badral Sanligiin) + - Updated ms Translation (Umarzuki bin Mochlis Moktar) + - Updated pl Translation (Piotr Drąg) + - Updated ro Translation (Adi Roiban) + - Updated ug Translation (Gheyret Kenji) + +============== +Version 0.12.4 +============== + +Translation + + - Updated hi Translation (Rajesh Ranjan) + - Updated ku Translation (Erdal Ronahi) + - Updated mai Translation (Rajesh Ranjan) + - Updated nds Translation (Niels-Christoph Fiedler) + +============== +Version 0.12.3 +============== + +Misc + * Set the translation domain to GtkBuilder + +============== +Version 0.12.2 +============== + +Misc + * Use the display name from X-MATE-FullName when + possible (Vincent Untz) + +Translations + + - Updated bn Translation (Jamil Ahmed) + - Updated br Translation (Denis Arnaud) + - Updated ca@valencia Translation (Carles Ferrando) + - Updated cy Translation (Iestyn Pryce) + - Updated es Translation (Jorge González) + - Updated nds Translation (Andre Klapper) + - Updated sv Translation (Daniel Nylander) + - Updated vi Translation (Bùi Xuân Dương) + +============== +Version 0.12.1 +============== + +Misc + * Generate the ChangeLog from git-log + * Drop libglade dependency (Andreu Correa Casablanca) + +=============== +Version 0.11.10 +=============== + +Translations + + - Updated crh: Reşat SABIQ + - Updated gl: Suso Baleato + +============== +Version 0.11.9 +============== + +Misc + * Remove libmateui dependency (Andreas Proschofsky) + +Translations + + - Updated ast: Gil Forcada + - Updated crh: Claude Paroz + - Updated ro: Alexandru Szasz, Jani Monoses + +============== +Version 0.11.8 +============== + +Misc + * Work properly when pygobject is not installed + in a default directory (Frederic Peters) + +Translations + + - Updated sv: Daniel Nylander + - Updated zh_HK: Chao-Hsiung Liao + - Updated zh_TW: Chao-Hsiung Liao, Woodman Tuen + +============== +Version 0.11.7 +============== + +Misc + * Port to GIO (Cosimo Cecchi, Gian Mario Tagliaretti) + * Require intltool 0.4.0 + * Print better messages when checking for Python libraries + +Translations + + - Updated ar: Khaled Hosny + - Updated el: Djihed Afifi , nikosCharonitakis + - Updated it: Milo Casagrande + - Updated kk: Claude Paroz, Margulan Moldabekov + +============== +Version 0.11.6 +============== + +Misc + + * install/uninstall more theme icons more correctly (Fabricio Silva, + Michael Monreal, Vincent Untz) + * Check for python 2.6 + +Translations + + - Updated ar: Khaled Hosny + - Updated el: Simos Xenitellis + - Updated fur: Massimo Furlani + - Updated hr: Ante Karamatić + - Updated hu: Gabor Kelemen + - Updated ml: Ani Peter + - Updated oc: Yannig Marchegay (Kokoyaya) + - Updated or: Manoj Kumar Giri + - Updated pl: Tomasz Dominikowski + - Updated ps: Zabeeh Khan + - Updated pt_BR: Vladimir Melo + - Updated ru: Nickolay V. Shmyrev + - Updated sk: Marcel Telka + +============== +Version 0.11.5 +============== + + * fix exception on first open of context menu + +Translations + + - Updated nb: Kjartan Maraas + - Updated es: Jorge Gonzalez + - Updated ja: Takeshi AIHANA + - Updated mr: Sandeep Shedmake + - Updated fr: Stéphane Raimbault + + +============== +Version 0.11.4 +============= + +Travis Watkins: + + * Lots of bug fixing + +Translations + + - Updated el: Simos Xenitellis + - Updated io: Michael Terry + - Updated pt: Duarte Loreto + - Updated vi: Nguyễn Thái Ngọc Duy + - Updated ca: Josep Puigdemont i Casamajó + - Updated it: Luca Ferretti + - Updated sv: Daniel Nylander + - Updated cs: Jakub Friedl + - Updated as: Amitakhya Phukan + - Updated ar: Djihed Afifi + - Updated ga: Seán de Búrca + - Updated eu: Inaki Larranaga Murgoitio + - Updated et: Priit Laes + - Updated gl: Ignacio Casal Quinteiro + - Updated id: ahmad riza h nst + - Updated bn_IN: Runa Bhattacharjee + - Updated ru: Leonid Kanter + - Updated uz@cyrillic: Claude Paroz + - Updated sr.po, sr@Latn: Goran Rakić + - Updated nn: Kjartan Maraas + - Updated nb: Kjartan Maraas + - Updated tr: Baris Cicek + - Updated lv: Raivis Dejus + - Updated lt: Gintautas Miliauskas + - Updated gu: Ankit Patel + - Updated te: Sunil Mohan Adapa + - Updated pl: Artur Flinta + - Updated ta: I Felix + - Updated en_CA: Adam Weinberger + - Updated fr: Stéphane Raimbault + - Updated bg: Alexander Shopov + - Updated pt_BR: Leonardo Ferreira Fontenelle + - Updated bn: Khandakar Mujahidul Islam + - Updated zh_TW: Taiwan + - Updated ko: Changwoo Ryu + - Updated hu: Gabor Kelemen + - Updated dz: Pema Geyleg + - Updated fi: Ilkka Tuohela + - Updated da: Lasse Bang Mikkelsen + - Updated ja: Takeshi AIHANA + - Updated he: Yair Hershkovitz + - Updated mg: Thierry Randrianiriana + - Updated be@latin: Ihar Hrachyshka + - Updated zh_CN: Funda Wang + - Updated ml: Ani Peter + - Updated sq: Laurent Dhima + - Updated oc: Yannig Marchegay, Christophe Merlet, Kokoyaya + - Updated kn: Pramod Raghavendra + - Updated mk: Daniel Nylander + - Updated zh_HK: Hong Kong + - Updated de: Hendrik Richter + - Updated en_GB: British + - Updated uk: Maxim Dziumanenko + - Updated sl: Matej Urbančič, Matic Zgur + - Updated nl: Vincent van Adrighem, Wouter Bolsterlee + + +============== +Version 0.11.3 +============== + +Travis Watkins: + + * Add back support for System menu + +Translations + + * Khaled Hosny (ar) + * Ihar Hrachyshka (be) + * Esteve Blanch Sanmartí (ca) + * Peter Bach (da) + * Hendrik Richter (de) + * dorji tashi (dz) + * Robert-André Mauchin (fr) + * Zohar Snir (he) + * Gabor Kelemen (hu) + * Milo Casagrande (it) + * Tino Meinen (nl) + * Duarte Loreto (pt) + * Daniel Nylander (sv) + * Theppitak Karoonboonyanan (th) + +================ +Version 0.11.1.1 +================ + + * remove preferences/administration editing + * fix goofy bugs + +============== +Version 0.11.0 +============== + +Travis Watkins: + + * respond to show/hide immediately + * use mate-desktop-item-edit for all menu and item editing + +Translations + + * Adam Weinberger (en_CA) + * Alexander Shopov (bg) + * Alexandru Szasz (ro) + * Clytie Siddall (vi) + * Daniel Nylander (sv) + * David Lodge (en_GB) + * Ivar Smolin (et) + * Jovan Naumovski (mk) + * Khaled Hosny (ar) + * Kjartan Maraas (nb) + * Matic Žgur (sl) + * Og Maciel (pt_BR) + * Theppitak Karoonboonyanan (th) + + +============== +Version 0.10.2 +============== + +Kjartan Maraas: + + * Mark all strings for translation + +Rob Bradford: + + * Support for Python 2.5 + * Included hints for bug-buddy in the .desktop file + * Translations are now searched for in the correct place + * Improved the description in the .desktop file + +Kevin Tighe: + + * Minimize/maximize buttons added to main window + +Translations + + * Khaled Hosny (ar) + * Dominique PELLÉ (eo) + * Timo Jyrinki (fi) + * Kjartan Maraas (nb) + * Artur Flinta (pl) + * Laurent Dhima (sq) + + +============== +Version 0.10.1 +============== + + * lots of small fixes + +Translations + * err, list_translations.sh is broken, sorry + +============== +Version 0.10.0 +============== + + * fix crashed caused by new mate-menus + * potentially fix crash on solaris + * make help button and F1 work + +Translations + * Esteve Blanch Sanmartí (ca) + * Hendrik Brandt (de) + * Priit Laes (et) + * Iñaki Larrañaga Murgoitio (eu) + * Meelad Zakaria (fa) + * Zohar Snir (he) + * Rajesh Ranjan (hi) + * Gabor Kelemen (hu) + * Vladimer Sichinava (ka) + * Changwoo Ryu (ko) + * Erdal Ronahi (ku) + * Raivis Dejus (lv) + * Ani Peter (ml) + * Badral (mn) + * Rahul Bhalerao (mr) + * Kjartan Maraas (nb) + * Subhransu Behera (or) + * Artur Flinta (pl) + * Duarte Loreto (pt) + * Leonid Kanter (ru) + * Matic Žgur (sl) + * Igor Miletić (sr) + * Christian Rose (sv) + * Volkan Güney (tr) + * Maxim Dziumanenko (uk) + * Clytie Siddall (vi) + * Woodman Tuen (zh_HK) + * Woodman Tuen (zh_TW) + +============== +Version 0.9.90 +============== + + * small HIG fixes + * depend on mate-menus 2.15.4 or newer + +Translations + * Esteve Blanch Sanmartí (ca) + * Kostas Papadimas (el) + * Jonathan Ernst (fr) + * Satoru SATOH (ja) + +============= +Version 0.9.2 +============= + + * various bug fixes + * depend on mate-menus 2.14.1 or newer (doesn't exist yet!) + +Translations + * Alexander Shopov (bg) + * Runa Bhattacharjee (bn_IN) + * Khandakar Mujahidul Islam (bn) + * Lukas Novotny (cs) + * Mindu Dorji (dz) + * Francisco Javier F. Serrador (es) + * Iñaki Larrañaga Murgoitio (eu) + * Timo Jyrinki (fi) + * Ignacio Casal Quinteiro (gl) + * Ankit Patel (gu) + * Rajesh Ranjan (hi) + * Gintautas Miliauskas (lt) + * Jovan Naumovski (mk) + * Tino Meinen (nl) + * Raphael Higino (pt_BR) + * Felix (ta) + * Roys Hengwatanakul (th) + * Funda Wang (zh_CN) + * Woodman Tuen (zh_HK) + * Woodman Tuen (zh_TW) + +============= +version 0.9.1 +============= + + * resigned to be HIG compliant + * undo/redo support + * better support for legacy dirs + * drag-and-drop of .desktop files and executables from caja + creates menu items + * various bug fixes + +=========== +Version 0.9 +=========== + + Use mate-menus instead of pyxdg. diff --git a/README b/README new file mode 100644 index 0000000..632f3c3 --- /dev/null +++ b/README @@ -0,0 +1,17 @@ +Alacarte 0.13.2 +================ + +Alacarte is a menu editor for MATE using the freedesktop.org menu +specification. + +Installation +============ + +See the 'INSTALL' file. + +How to report bugs +================== + +Bugs should be filed in MATE's bugzilla +(http://bugzilla.mate.org/enter_bug.cgi?product=alacarte) You will +need to create an account for yourself. diff --git a/acinclude.m4 b/acinclude.m4 new file mode 100644 index 0000000..1227123 --- /dev/null +++ b/acinclude.m4 @@ -0,0 +1,132 @@ +# Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# AM_PATH_PYTHON_VERSION(ABI-VERSION1, [MINIMUM-VERSION1 [, ABI-VERSION2, [MINIMUM-VERSION2 ...]]]) +# +# An alternative to AM_PATH_PYTHON that checks for specific python ABI/version pairs. +# Example: +# AM_PATH_PYTHON_VERSION(2.3, 2.3.5, 2.4, 2.4.0) +# checks for a python2.3 binary returning python version >= 2.3.5, and +# if that fails it looks for python2.4 containing version >= 2.4.0 +# It aborts configure with an error if no statisfying version is found. +# Env. var. PYTHON can be used to point a specific/laternate version to configure. + +AC_DEFUN([AM_PATH_PYTHON_VERSION], + [ + m4_pattern_allow([m4_shift]) + _python_save="$PYTHON" + dnl Find a Python interpreter with corresponding ABI version. + + m4_define(PYTHON_var, PYTHON[]m4_translit($1,[.],[_])) + + if test -z "$PYTHON"; then + AC_PATH_PROG(PYTHON_var, python$1, []) + else + PYTHON_var="$PYTHON" + fi + + PYTHON="$PYTHON_var" + AC_SUBST(PYTHON) + + if test -n "$PYTHON"; then + + m4_if([$2],[],[ + ], [ + dnl A version check is needed. + AC_MSG_CHECKING([whether $PYTHON version is >= $2]) + AM_PYTHON_CHECK_VERSION([$PYTHON], [$2], + [AC_MSG_RESULT(yes)], + [AC_MSG_RESULT([no]); PYTHON=""]) + ]) + + fi + + if test -z "$PYTHON"; then + dnl if more arguments, shift/recurse, else fail + m4_if([$3],[],[ + AC_MSG_ERROR([no suitable Python interpreter found]) + ], [ + PYTHON="$_python_save" + AM_PATH_PYTHON_VERSION(m4_shift(m4_shift($@))) + ]) + + else + + dnl Query Python for its version number. Getting [:3] seems to be + dnl the best way to do this; it's what "site.py" does in the standard + dnl library. + + AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], + [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`]) + AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) + + dnl Use the values of $prefix and $exec_prefix for the corresponding + dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made + dnl distinct variables so they can be overridden if need be. However, + dnl general consensus is that you shouldn't need this ability. + + AC_SUBST([PYTHON_PREFIX], ['${prefix}']) + AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) + + dnl At times (like when building shared libraries) you may want + dnl to know which OS platform Python thinks this is. + + AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], + [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`]) + AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) + + + dnl Set up 4 directories: + + dnl pythondir -- where to install python scripts. This is the + dnl site-packages directory, not the python standard library + dnl directory like in previous automake betas. This behavior + dnl is more consistent with lispdir.m4 for example. + dnl Query distutils for this directory. distutils does not exist in + dnl Python 1.5, so we fall back to the hardcoded directory if it + dnl doesn't work. + AC_CACHE_CHECK([for $am_display_PYTHON script directory], + [am_cv_python_pythondir], + [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || + echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`]) + AC_SUBST([pythondir], [$am_cv_python_pythondir]) + + dnl pkgpythondir -- $PACKAGE directory under pythondir. Was + dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is + dnl more consistent with the rest of automake. + + AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) + + dnl pyexecdir -- directory for installing python extension modules + dnl (shared libraries) + dnl Query distutils for this directory. distutils does not exist in + dnl Python 1.5, so we fall back to the hardcoded directory if it + dnl doesn't work. + AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], + [am_cv_python_pyexecdir], + [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || + echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`]) + AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) + + dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) + + AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) + + fi + +]) + diff --git a/aclocal.m4 b/aclocal.m4 new file mode 100644 index 0000000..d5489a3 --- /dev/null +++ b/aclocal.m4 @@ -0,0 +1,2034 @@ +# generated automatically by aclocal 1.11.1 -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, +[m4_warning([this file was generated for autoconf 2.68. +You have another version of autoconf. It may work, but is not guaranteed to. +If you have problems, you may need to regenerate the build system entirely. +To do so, use the procedure documented by the package, typically `autoreconf'.])]) + +# Copyright (C) 1995-2002 Free Software Foundation, Inc. +# Copyright (C) 2001-2003,2004 Red Hat, Inc. +# +# This file is free software, distributed under the terms of the GNU +# General Public License. As a special exception to the GNU General +# Public License, this file may be distributed as part of a program +# that contains a configuration script generated by Autoconf, under +# the same distribution terms as the rest of that program. +# +# This file can be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU Public License +# but which still want to provide support for the GNU gettext functionality. +# +# Macro to add for using GNU gettext. +# Ulrich Drepper , 1995, 1996 +# +# Modified to never use included libintl. +# Owen Taylor , 12/15/1998 +# +# Major rework to remove unused code +# Owen Taylor , 12/11/2002 +# +# Added better handling of ALL_LINGUAS from GNU gettext version +# written by Bruno Haible, Owen Taylor 5/30/3002 +# +# Modified to require ngettext +# Matthias Clasen 08/06/2004 +# +# We need this here as well, since someone might use autoconf-2.5x +# to configure GLib then an older version to configure a package +# using AM_GLIB_GNU_GETTEXT +AC_PREREQ(2.53) + +dnl +dnl We go to great lengths to make sure that aclocal won't +dnl try to pull in the installed version of these macros +dnl when running aclocal in the glib directory. +dnl +m4_copy([AC_DEFUN],[glib_DEFUN]) +m4_copy([AC_REQUIRE],[glib_REQUIRE]) +dnl +dnl At the end, if we're not within glib, we'll define the public +dnl definitions in terms of our private definitions. +dnl + +# GLIB_LC_MESSAGES +#-------------------- +glib_DEFUN([GLIB_LC_MESSAGES], + [AC_CHECK_HEADERS([locale.h]) + if test $ac_cv_header_locale_h = yes; then + AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, + [AC_TRY_LINK([#include ], [return LC_MESSAGES], + am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) + if test $am_cv_val_LC_MESSAGES = yes; then + AC_DEFINE(HAVE_LC_MESSAGES, 1, + [Define if your file defines LC_MESSAGES.]) + fi + fi]) + +# GLIB_PATH_PROG_WITH_TEST +#---------------------------- +dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) +glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], +[# Extract the first word of "$2", so it can be a program name with args. +set dummy $2; ac_word=[$]2 +AC_MSG_CHECKING([for $ac_word]) +AC_CACHE_VAL(ac_cv_path_$1, +[case "[$]$1" in + /*) + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in ifelse([$5], , $PATH, [$5]); do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if [$3]; then + ac_cv_path_$1="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" +dnl If no 4th arg is given, leave the cache variable unset, +dnl so AC_PATH_PROGS will keep looking. +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" +])dnl + ;; +esac])dnl +$1="$ac_cv_path_$1" +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then + AC_MSG_RESULT([$]$1) +else + AC_MSG_RESULT(no) +fi +AC_SUBST($1)dnl +]) + +# GLIB_WITH_NLS +#----------------- +glib_DEFUN([GLIB_WITH_NLS], + dnl NLS is obligatory + [USE_NLS=yes + AC_SUBST(USE_NLS) + + gt_cv_have_gettext=no + + CATOBJEXT=NONE + XGETTEXT=: + INTLLIBS= + + AC_CHECK_HEADER(libintl.h, + [gt_cv_func_dgettext_libintl="no" + libintl_extra_libs="" + + # + # First check in libc + # + AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, + [AC_TRY_LINK([ +#include +], + [return !ngettext ("","", 1)], + gt_cv_func_ngettext_libc=yes, + gt_cv_func_ngettext_libc=no) + ]) + + if test "$gt_cv_func_ngettext_libc" = "yes" ; then + AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, + [AC_TRY_LINK([ +#include +], + [return !dgettext ("","")], + gt_cv_func_dgettext_libc=yes, + gt_cv_func_dgettext_libc=no) + ]) + fi + + if test "$gt_cv_func_ngettext_libc" = "yes" ; then + AC_CHECK_FUNCS(bind_textdomain_codeset) + fi + + # + # If we don't have everything we want, check in libintl + # + if test "$gt_cv_func_dgettext_libc" != "yes" \ + || test "$gt_cv_func_ngettext_libc" != "yes" \ + || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then + + AC_CHECK_LIB(intl, bindtextdomain, + [AC_CHECK_LIB(intl, ngettext, + [AC_CHECK_LIB(intl, dgettext, + gt_cv_func_dgettext_libintl=yes)])]) + + if test "$gt_cv_func_dgettext_libintl" != "yes" ; then + AC_MSG_CHECKING([if -liconv is needed to use gettext]) + AC_MSG_RESULT([]) + AC_CHECK_LIB(intl, ngettext, + [AC_CHECK_LIB(intl, dcgettext, + [gt_cv_func_dgettext_libintl=yes + libintl_extra_libs=-liconv], + :,-liconv)], + :,-liconv) + fi + + # + # If we found libintl, then check in it for bind_textdomain_codeset(); + # we'll prefer libc if neither have bind_textdomain_codeset(), + # and both have dgettext and ngettext + # + if test "$gt_cv_func_dgettext_libintl" = "yes" ; then + glib_save_LIBS="$LIBS" + LIBS="$LIBS -lintl $libintl_extra_libs" + unset ac_cv_func_bind_textdomain_codeset + AC_CHECK_FUNCS(bind_textdomain_codeset) + LIBS="$glib_save_LIBS" + + if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then + gt_cv_func_dgettext_libc=no + else + if test "$gt_cv_func_dgettext_libc" = "yes" \ + && test "$gt_cv_func_ngettext_libc" = "yes"; then + gt_cv_func_dgettext_libintl=no + fi + fi + fi + fi + + if test "$gt_cv_func_dgettext_libc" = "yes" \ + || test "$gt_cv_func_dgettext_libintl" = "yes"; then + gt_cv_have_gettext=yes + fi + + if test "$gt_cv_func_dgettext_libintl" = "yes"; then + INTLLIBS="-lintl $libintl_extra_libs" + fi + + if test "$gt_cv_have_gettext" = "yes"; then + AC_DEFINE(HAVE_GETTEXT,1, + [Define if the GNU gettext() function is already present or preinstalled.]) + GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl + if test "$MSGFMT" != "no"; then + glib_save_LIBS="$LIBS" + LIBS="$LIBS $INTLLIBS" + AC_CHECK_FUNCS(dcgettext) + MSGFMT_OPTS= + AC_MSG_CHECKING([if msgfmt accepts -c]) + GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[ +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: test 1.0\n" +"PO-Revision-Date: 2007-02-15 12:01+0100\n" +"Last-Translator: test \n" +"Language-Team: C \n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" +], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) + AC_SUBST(MSGFMT_OPTS) + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) + GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) + AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr], + [CATOBJEXT=.gmo + DATADIRNAME=share], + [case $host in + *-*-solaris*) + dnl On Solaris, if bind_textdomain_codeset is in libc, + dnl GNU format message catalog is always supported, + dnl since both are added to the libc all together. + dnl Hence, we'd like to go with DATADIRNAME=share and + dnl and CATOBJEXT=.gmo in this case. + AC_CHECK_FUNC(bind_textdomain_codeset, + [CATOBJEXT=.gmo + DATADIRNAME=share], + [CATOBJEXT=.mo + DATADIRNAME=lib]) + ;; + *) + CATOBJEXT=.mo + DATADIRNAME=lib + ;; + esac]) + LIBS="$glib_save_LIBS" + INSTOBJEXT=.mo + else + gt_cv_have_gettext=no + fi + fi + ]) + + if test "$gt_cv_have_gettext" = "yes" ; then + AC_DEFINE(ENABLE_NLS, 1, + [always defined to indicate that i18n is enabled]) + fi + + dnl Test whether we really found GNU xgettext. + if test "$XGETTEXT" != ":"; then + dnl If it is not GNU xgettext we define it as : so that the + dnl Makefiles still can work. + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then + : ; + else + AC_MSG_RESULT( + [found xgettext program is not GNU xgettext; ignore it]) + XGETTEXT=":" + fi + fi + + # We need to process the po/ directory. + POSUB=po + + AC_OUTPUT_COMMANDS( + [case "$CONFIG_FILES" in *po/Makefile.in*) + sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile + esac]) + + dnl These rules are solely for the distribution goal. While doing this + dnl we only have to keep exactly one list of the available catalogs + dnl in configure.ac. + for lang in $ALL_LINGUAS; do + GMOFILES="$GMOFILES $lang.gmo" + POFILES="$POFILES $lang.po" + done + + dnl Make all variables we use known to autoconf. + AC_SUBST(CATALOGS) + AC_SUBST(CATOBJEXT) + AC_SUBST(DATADIRNAME) + AC_SUBST(GMOFILES) + AC_SUBST(INSTOBJEXT) + AC_SUBST(INTLLIBS) + AC_SUBST(PO_IN_DATADIR_TRUE) + AC_SUBST(PO_IN_DATADIR_FALSE) + AC_SUBST(POFILES) + AC_SUBST(POSUB) + ]) + +# AM_GLIB_GNU_GETTEXT +# ------------------- +# Do checks necessary for use of gettext. If a suitable implementation +# of gettext is found in either in libintl or in the C library, +# it will set INTLLIBS to the libraries needed for use of gettext +# and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable +# gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() +# on various variables needed by the Makefile.in.in installed by +# glib-gettextize. +dnl +glib_DEFUN([GLIB_GNU_GETTEXT], + [AC_REQUIRE([AC_PROG_CC])dnl + AC_REQUIRE([AC_HEADER_STDC])dnl + + GLIB_LC_MESSAGES + GLIB_WITH_NLS + + if test "$gt_cv_have_gettext" = "yes"; then + if test "x$ALL_LINGUAS" = "x"; then + LINGUAS= + else + AC_MSG_CHECKING(for catalogs to be installed) + NEW_LINGUAS= + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + NEW_LINGUAS="$NEW_LINGUAS $presentlang" + fi + done + LINGUAS=$NEW_LINGUAS + AC_MSG_RESULT($LINGUAS) + fi + + dnl Construct list of names of catalog files to be constructed. + if test -n "$LINGUAS"; then + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done + fi + fi + + dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly + dnl find the mkinstalldirs script in another subdir but ($top_srcdir). + dnl Try to locate is. + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + AC_SUBST(MKINSTALLDIRS) + + dnl Generate list of files to be processed by xgettext which will + dnl be included in po/Makefile. + test -d po || mkdir po + if test "x$srcdir" != "x."; then + if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then + posrcprefix="$srcdir/" + else + posrcprefix="../$srcdir/" + fi + else + posrcprefix="../" + fi + rm -f po/POTFILES + sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ + < $srcdir/po/POTFILES.in > po/POTFILES + ]) + +# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) +# ------------------------------- +# Define VARIABLE to the location where catalog files will +# be installed by po/Makefile. +glib_DEFUN([GLIB_DEFINE_LOCALEDIR], +[glib_REQUIRE([GLIB_GNU_GETTEXT])dnl +glib_save_prefix="$prefix" +glib_save_exec_prefix="$exec_prefix" +glib_save_datarootdir="$datarootdir" +test "x$prefix" = xNONE && prefix=$ac_default_prefix +test "x$exec_prefix" = xNONE && exec_prefix=$prefix +datarootdir=`eval echo "${datarootdir}"` +if test "x$CATOBJEXT" = "x.mo" ; then + localedir=`eval echo "${libdir}/locale"` +else + localedir=`eval echo "${datadir}/locale"` +fi +prefix="$glib_save_prefix" +exec_prefix="$glib_save_exec_prefix" +datarootdir="$glib_save_datarootdir" +AC_DEFINE_UNQUOTED($1, "$localedir", + [Define the location where the catalogs will be installed]) +]) + +dnl +dnl Now the definitions that aclocal will find +dnl +ifdef(glib_configure_ac,[],[ +AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) +AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) +])dnl + +# GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) +# +# Create a temporary file with TEST-FILE as its contents and pass the +# file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with +# 0 and perform ACTION-IF-FAIL for any other exit status. +AC_DEFUN([GLIB_RUN_PROG], +[cat >conftest.foo <<_ACEOF +$2 +_ACEOF +if AC_RUN_LOG([$1 conftest.foo]); then + m4_ifval([$3], [$3], [:]) +m4_ifvaln([$4], [else $4])dnl +echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD +sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD +fi]) + + + +dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) +# serial 40 IT_PROG_INTLTOOL +AC_DEFUN([IT_PROG_INTLTOOL], [ +AC_PREREQ([2.50])dnl +AC_REQUIRE([AM_NLS])dnl + +case "$am__api_version" in + 1.[01234]) + AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) + ;; + *) + ;; +esac + +if test -n "$1"; then + AC_MSG_CHECKING([for intltool >= $1]) + + INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` + INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` + [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` + ] + AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) + test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || + AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.]) +fi + +AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update]) +AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge]) +AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract]) +if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then + AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.]) +fi + + INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' +INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@' + INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' +INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@' + INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' + +_IT_SUBST(INTLTOOL_DESKTOP_RULE) +_IT_SUBST(INTLTOOL_DIRECTORY_RULE) +_IT_SUBST(INTLTOOL_KEYS_RULE) +_IT_SUBST(INTLTOOL_PROP_RULE) +_IT_SUBST(INTLTOOL_OAF_RULE) +_IT_SUBST(INTLTOOL_PONG_RULE) +_IT_SUBST(INTLTOOL_SERVER_RULE) +_IT_SUBST(INTLTOOL_SHEET_RULE) +_IT_SUBST(INTLTOOL_SOUNDLIST_RULE) +_IT_SUBST(INTLTOOL_UI_RULE) +_IT_SUBST(INTLTOOL_XAM_RULE) +_IT_SUBST(INTLTOOL_KBD_RULE) +_IT_SUBST(INTLTOOL_XML_RULE) +_IT_SUBST(INTLTOOL_XML_NOMERGE_RULE) +_IT_SUBST(INTLTOOL_CAVES_RULE) +_IT_SUBST(INTLTOOL_SCHEMAS_RULE) +_IT_SUBST(INTLTOOL_THEME_RULE) +_IT_SUBST(INTLTOOL_SERVICE_RULE) +_IT_SUBST(INTLTOOL_POLICY_RULE) + +# Check the gettext tools to make sure they are GNU +AC_PATH_PROG(XGETTEXT, xgettext) +AC_PATH_PROG(MSGMERGE, msgmerge) +AC_PATH_PROG(MSGFMT, msgfmt) +AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) +if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then + AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) +fi +xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" +mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" +mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" +if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then + AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) +fi + +AC_PATH_PROG(INTLTOOL_PERL, perl) +if test -z "$INTLTOOL_PERL"; then + AC_MSG_ERROR([perl not found]) +fi +AC_MSG_CHECKING([for perl >= 5.8.1]) +$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 +if test $? -ne 0; then + AC_MSG_ERROR([perl 5.8.1 is required for intltool]) +else + IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" + AC_MSG_RESULT([$IT_PERL_VERSION]) +fi +if test "x$2" != "xno-xml"; then + AC_MSG_CHECKING([for XML::Parser]) + if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then + AC_MSG_RESULT([ok]) + else + AC_MSG_ERROR([XML::Parser perl module is required for intltool]) + fi +fi + +# Substitute ALL_LINGUAS so we can use it in po/Makefile +AC_SUBST(ALL_LINGUAS) + +# Set DATADIRNAME correctly if it is not set yet +# (copied from glib-gettext.m4) +if test -z "$DATADIRNAME"; then + AC_LINK_IFELSE( + [AC_LANG_PROGRAM([[]], + [[extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr]])], + [DATADIRNAME=share], + [case $host in + *-*-solaris*) + dnl On Solaris, if bind_textdomain_codeset is in libc, + dnl GNU format message catalog is always supported, + dnl since both are added to the libc all together. + dnl Hence, we'd like to go with DATADIRNAME=share + dnl in this case. + AC_CHECK_FUNC(bind_textdomain_codeset, + [DATADIRNAME=share], [DATADIRNAME=lib]) + ;; + *) + [DATADIRNAME=lib] + ;; + esac]) +fi +AC_SUBST(DATADIRNAME) + +IT_PO_SUBDIR([po]) + +]) + + +# IT_PO_SUBDIR(DIRNAME) +# --------------------- +# All po subdirs have to be declared with this macro; the subdir "po" is +# declared by IT_PROG_INTLTOOL. +# +AC_DEFUN([IT_PO_SUBDIR], +[AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. +dnl +dnl The following CONFIG_COMMANDS should be executed at the very end +dnl of config.status. +AC_CONFIG_COMMANDS_PRE([ + AC_CONFIG_COMMANDS([$1/stamp-it], [ + if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then + AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.]) + fi + rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp" + >"$1/stamp-it.tmp" + [sed '/^#/d + s/^[[].*] *// + /^[ ]*$/d + '"s|^| $ac_top_srcdir/|" \ + "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES" + ] + [sed '/^POTFILES =/,/[^\\]$/ { + /^POTFILES =/!d + r $1/POTFILES + } + ' "$1/Makefile.in" >"$1/Makefile"] + rm -f "$1/Makefile.tmp" + mv "$1/stamp-it.tmp" "$1/stamp-it" + ]) +])dnl +]) + +# _IT_SUBST(VARIABLE) +# ------------------- +# Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST +# +AC_DEFUN([_IT_SUBST], +[ +AC_SUBST([$1]) +m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) +] +) + +# deprecated macros +AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) +# A hint is needed for aclocal from Automake <= 1.9.4: +# AC_DEFUN([AC_PROG_INTLTOOL], ...) + + +# nls.m4 serial 5 (gettext-0.18) +dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation, +dnl Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. +dnl +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1995-2000. +dnl Bruno Haible , 2000-2003. + +AC_PREREQ([2.50]) + +AC_DEFUN([AM_NLS], +[ + AC_MSG_CHECKING([whether NLS is requested]) + dnl Default is enabled NLS + AC_ARG_ENABLE([nls], + [ --disable-nls do not use Native Language Support], + USE_NLS=$enableval, USE_NLS=yes) + AC_MSG_RESULT([$USE_NLS]) + AC_SUBST([USE_NLS]) +]) + +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- +# serial 1 (pkg-config-0.24) +# +# Copyright © 2004 Scott James Remnant . +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# PKG_PROG_PKG_CONFIG([MIN-VERSION]) +# ---------------------------------- +AC_DEFUN([PKG_PROG_PKG_CONFIG], +[m4_pattern_forbid([^_?PKG_[A-Z_]+$]) +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=m4_default([$1], [0.9.0]) + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + PKG_CONFIG="" + fi +fi[]dnl +])# PKG_PROG_PKG_CONFIG + +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# +# Check to see whether a particular set of modules exists. Similar +# to PKG_CHECK_MODULES(), but does not set variables or print errors. +# +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +# only at the first occurence in configure.ac, so if the first place +# it's called might be skipped (such as if it is within an "if", you +# have to call PKG_CHECK_EXISTS manually +# -------------------------------------------------------------- +AC_DEFUN([PKG_CHECK_EXISTS], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +if test -n "$PKG_CONFIG" && \ + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then + m4_default([$2], [:]) +m4_ifvaln([$3], [else + $3])dnl +fi]) + +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) +# --------------------------------------------- +m4_define([_PKG_CONFIG], +[if test -n "$$1"; then + pkg_cv_[]$1="$$1" + elif test -n "$PKG_CONFIG"; then + PKG_CHECK_EXISTS([$3], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes ], + [pkg_failed=yes]) + else + pkg_failed=untried +fi[]dnl +])# _PKG_CONFIG + +# _PKG_SHORT_ERRORS_SUPPORTED +# ----------------------------- +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG]) +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi[]dnl +])# _PKG_SHORT_ERRORS_SUPPORTED + + +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], +# [ACTION-IF-NOT-FOUND]) +# +# +# Note that if there is a possibility the first call to +# PKG_CHECK_MODULES might not happen, you should be sure to include an +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac +# +# +# -------------------------------------------------------------- +AC_DEFUN([PKG_CHECK_MODULES], +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl + +pkg_failed=no +AC_MSG_CHECKING([for $1]) + +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) +_PKG_CONFIG([$1][_LIBS], [libs], [$2]) + +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS +and $1[]_LIBS to avoid the need to call pkg-config. +See the pkg-config man page for more details.]) + +if test $pkg_failed = yes; then + AC_MSG_RESULT([no]) + _PKG_SHORT_ERRORS_SUPPORTED + if test $_pkg_short_errors_supported = yes; then + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` + else + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD + + m4_default([$4], [AC_MSG_ERROR( +[Package requirements ($2) were not met: + +$$1_PKG_ERRORS + +Consider adjusting the PKG_CONFIG_PATH environment variable if you +installed software in a non-standard prefix. + +_PKG_TEXT])[]dnl + ]) +elif test $pkg_failed = untried; then + AC_MSG_RESULT([no]) + m4_default([$4], [AC_MSG_FAILURE( +[The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +_PKG_TEXT + +To get pkg-config, see .])[]dnl + ]) +else + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS + AC_MSG_RESULT([yes]) + $3 +fi[]dnl +])# PKG_CHECK_MODULES + +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.11' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.11.1], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +[AM_AUTOMAKE_VERSION([1.11.1])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is `.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 9 + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ(2.52)dnl + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl +m4_define([_AM_COND_VALUE_$1], [$2])dnl +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 10 + +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "GCJ", or "OBJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], + [$1], CXX, [depcc="$CXX" am_compiler_list=], + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], UPC, [depcc="$UPC" am_compiler_list=], + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + am__universal=false + m4_case([$1], [CC], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac], + [CXX], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac]) + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE(dependency-tracking, +[ --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +#serial 5 + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[{ + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking +# is enabled. FIXME. This creates each `.P' file that we will +# need in order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) +]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 16 + +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.62])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) +AM_MISSING_PROG(AUTOCONF, autoconf) +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) +AM_MISSING_PROG(AUTOHEADER, autoheader) +AM_MISSING_PROG(MAKEINFO, makeinfo) +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl +AC_REQUIRE([AM_PROG_MKDIR_P])dnl +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES(CC)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES(OBJC)], + [define([AC_PROG_OBJC], + defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl +]) +_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl +dnl The `parallel-tests' driver may need to know about EXEEXT, so add the +dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro +dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. +AC_CONFIG_COMMANDS_PRE(dnl +[m4_provide_if([_AM_COMPILER_EXEEXT], + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl +]) + +dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further +dnl mangled by Autoconf and run in a shell conditional statement. +m4_define([_AC_COMPILER_EXEEXT], +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) + + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_arg=$1 +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi +AC_SUBST(install_sh)]) + +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- +# From Jim Meyering + +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 5 + +# AM_MAINTAINER_MODE([DEFAULT-MODE]) +# ---------------------------------- +# Control maintainer-specific portions of Makefiles. +# Default is to disable them, unless `enable' is passed literally. +# For symmetry, `disable' may be passed as well. Anyway, the user +# can override the default with the --enable/--disable switch. +AC_DEFUN([AM_MAINTAINER_MODE], +[m4_case(m4_default([$1], [disable]), + [enable], [m4_define([am_maintainer_other], [disable])], + [disable], [m4_define([am_maintainer_other], [enable])], + [m4_define([am_maintainer_other], [enable]) + m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) +AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles]) + dnl maintainer-mode's default is 'disable' unless 'enable' is passed + AC_ARG_ENABLE([maintainer-mode], +[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful + (and sometimes confusing) to the casual installer], + [USE_MAINTAINER_MODE=$enableval], + [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) + AC_MSG_RESULT([$USE_MAINTAINER_MODE]) + AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) + MAINT=$MAINTAINER_MODE_TRUE + AC_SUBST([MAINT])dnl +] +) + +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 4 + +# AM_MAKE_INCLUDE() +# ----------------- +# Check to see how make treats includes. +AC_DEFUN([AM_MAKE_INCLUDE], +[am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +AC_MSG_CHECKING([for style of include used by $am_make]) +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from `make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi +AC_SUBST([am__include]) +AC_SUBST([am__quote]) +AC_MSG_RESULT([$_am_result]) +rm -f confinc confmf +]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 6 + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it supports --run. +# If it does, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) + +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_MKDIR_P +# --------------- +# Check for `mkdir -p'. +AC_DEFUN([AM_PROG_MKDIR_P], +[AC_PREREQ([2.60])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, +dnl while keeping a definition of mkdir_p for backward compatibility. +dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. +dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of +dnl Makefile.ins that do not define MKDIR_P, so we do our own +dnl adjustment using top_builddir (which is defined more often than +dnl MKDIR_P). +AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl +case $mkdir_p in + [[\\/$]]* | ?:[[\\/]]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac +]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 4 + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# ------------------------------ +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) + +# _AM_SET_OPTIONS(OPTIONS) +# ---------------------------------- +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# --------------------------------------------------------------------------- +# Adds support for distributing Python modules and packages. To +# install modules, copy them to $(pythondir), using the python_PYTHON +# automake variable. To install a package with the same name as the +# automake package, install to $(pkgpythondir), or use the +# pkgpython_PYTHON automake variable. +# +# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as +# locations to install python extension modules (shared libraries). +# Another macro is required to find the appropriate flags to compile +# extension modules. +# +# If your package is configured with a different prefix to python, +# users will have to add the install directory to the PYTHONPATH +# environment variable, or create a .pth file (see the python +# documentation for details). +# +# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will +# cause an error if the version of python installed on the system +# doesn't meet the requirement. MINIMUM-VERSION should consist of +# numbers and dots only. +AC_DEFUN([AM_PATH_PYTHON], + [ + dnl Find a Python interpreter. Python versions prior to 2.0 are not + dnl supported. (2.0 was released on October 16, 2000). + m4_define_default([_AM_PYTHON_INTERPRETER_LIST], + [python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 dnl +python2.1 python2.0]) + + m4_if([$1],[],[ + dnl No version check is needed. + # Find any Python interpreter. + if test -z "$PYTHON"; then + AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :) + fi + am_display_PYTHON=python + ], [ + dnl A version check is needed. + if test -n "$PYTHON"; then + # If the user set $PYTHON, use it and don't search something else. + AC_MSG_CHECKING([whether $PYTHON version >= $1]) + AM_PYTHON_CHECK_VERSION([$PYTHON], [$1], + [AC_MSG_RESULT(yes)], + [AC_MSG_ERROR(too old)]) + am_display_PYTHON=$PYTHON + else + # Otherwise, try each interpreter until we find one that satisfies + # VERSION. + AC_CACHE_CHECK([for a Python interpreter with version >= $1], + [am_cv_pathless_PYTHON],[ + for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do + test "$am_cv_pathless_PYTHON" = none && break + AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break]) + done]) + # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. + if test "$am_cv_pathless_PYTHON" = none; then + PYTHON=: + else + AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON]) + fi + am_display_PYTHON=$am_cv_pathless_PYTHON + fi + ]) + + if test "$PYTHON" = :; then + dnl Run any user-specified action, or abort. + m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])]) + else + + dnl Query Python for its version number. Getting [:3] seems to be + dnl the best way to do this; it's what "site.py" does in the standard + dnl library. + + AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], + [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`]) + AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) + + dnl Use the values of $prefix and $exec_prefix for the corresponding + dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made + dnl distinct variables so they can be overridden if need be. However, + dnl general consensus is that you shouldn't need this ability. + + AC_SUBST([PYTHON_PREFIX], ['${prefix}']) + AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) + + dnl At times (like when building shared libraries) you may want + dnl to know which OS platform Python thinks this is. + + AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], + [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`]) + AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) + + + dnl Set up 4 directories: + + dnl pythondir -- where to install python scripts. This is the + dnl site-packages directory, not the python standard library + dnl directory like in previous automake betas. This behavior + dnl is more consistent with lispdir.m4 for example. + dnl Query distutils for this directory. distutils does not exist in + dnl Python 1.5, so we fall back to the hardcoded directory if it + dnl doesn't work. + AC_CACHE_CHECK([for $am_display_PYTHON script directory], + [am_cv_python_pythondir], + [if test "x$prefix" = xNONE + then + am_py_prefix=$ac_default_prefix + else + am_py_prefix=$prefix + fi + am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null || + echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` + case $am_cv_python_pythondir in + $am_py_prefix*) + am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` + am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` + ;; + *) + case $am_py_prefix in + /usr|/System*) ;; + *) + am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages + ;; + esac + ;; + esac + ]) + AC_SUBST([pythondir], [$am_cv_python_pythondir]) + + dnl pkgpythondir -- $PACKAGE directory under pythondir. Was + dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is + dnl more consistent with the rest of automake. + + AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) + + dnl pyexecdir -- directory for installing python extension modules + dnl (shared libraries) + dnl Query distutils for this directory. distutils does not exist in + dnl Python 1.5, so we fall back to the hardcoded directory if it + dnl doesn't work. + AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], + [am_cv_python_pyexecdir], + [if test "x$exec_prefix" = xNONE + then + am_py_exec_prefix=$am_py_prefix + else + am_py_exec_prefix=$exec_prefix + fi + am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null || + echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"` + case $am_cv_python_pyexecdir in + $am_py_exec_prefix*) + am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` + am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` + ;; + *) + case $am_py_exec_prefix in + /usr|/System*) ;; + *) + am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages + ;; + esac + ;; + esac + ]) + AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) + + dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) + + AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) + + dnl Run any user-specified action. + $2 + fi + +]) + + +# AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) +# --------------------------------------------------------------------------- +# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION. +# Run ACTION-IF-FALSE otherwise. +# This test uses sys.hexversion instead of the string equivalent (first +# word of sys.version), in order to cope with versions such as 2.2c1. +# This supports Python 2.0 or higher. (2.0 was released on October 16, 2000). +AC_DEFUN([AM_PYTHON_CHECK_VERSION], + [prog="import sys +# split strings by '.' and convert to numeric. Append some zeros +# because we need at least 4 digits for the hex conversion. +# map returns an iterator in Python 3.0 and a list in 2.x +minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]] +minverhex = 0 +# xrange is not present in Python 3.0 and range returns an iterator +for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]] +sys.exit(sys.hexversion < minverhex)" + AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_RUN_LOG(COMMAND) +# ------------------- +# Run COMMAND, save the exit status in ac_status, and log it. +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) +AC_DEFUN([AM_RUN_LOG], +[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + (exit $ac_status); }]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 5 + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftest.file +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[[\\\"\#\$\&\'\`$am_lf]]*) + AC_MSG_ERROR([unsafe absolute working directory name]);; +esac +case $srcdir in + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) + AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; +esac + +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + rm -f conftest.file + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +alias in your environment]) + fi + + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT(yes)]) + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor `install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in `make install-strip', and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# Copyright (C) 2006, 2008 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + +# AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Public sister of _AM_SUBST_NOTMAKE. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) + +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of `v7', `ustar', or `pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. +AM_MISSING_PROG([AMTAR], [tar]) +m4_if([$1], [v7], + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], + [m4_case([$1], [ustar],, [pax],, + [m4_fatal([Unknown tar format])]) +AC_MSG_CHECKING([how to create a $1 tar archive]) +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' +_am_tools=${am_cv_prog_tar_$1-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of `-'. +for _am_tool in $_am_tools +do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; + do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar /dev/null 2>&1 && break + fi +done +rm -rf conftest.dir + +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + +m4_include([acinclude.m4]) diff --git a/alacarte.in b/alacarte.in new file mode 100644 index 0000000..3ec4cfe --- /dev/null +++ b/alacarte.in @@ -0,0 +1,37 @@ +#! @PYTHON@ @PYOPTIONS@ +# -*- python -*- +# -*- coding: utf-8 -*- +# Alacarte Menu Editor - Simple fd.o Compliant Menu Editor +# Copyright (C) 2006 Travis Watkins +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Library General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +import sys +from Alacarte.MainWindow import MainWindow + +def main(): + try: + from Alacarte import config + datadir = config.pkgdatadir + version = config.VERSION + except: + datadir = '.' + version = '0.9' + app = MainWindow(datadir, version, sys.argv) + app.run() + +if __name__ == '__main__': + main() + diff --git a/config.h.in b/config.h.in new file mode 100644 index 0000000..3a36244 --- /dev/null +++ b/config.h.in @@ -0,0 +1,76 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* always defined to indicate that i18n is enabled */ +#undef ENABLE_NLS + +/* Gettext package */ +#undef GETTEXT_PACKAGE + +/* Define to 1 if you have the `bind_textdomain_codeset' function. */ +#undef HAVE_BIND_TEXTDOMAIN_CODESET + +/* Define to 1 if you have the `dcgettext' function. */ +#undef HAVE_DCGETTEXT + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define if your file defines LC_MESSAGES. */ +#undef HAVE_LC_MESSAGES + +/* Define to 1 if you have the header file. */ +#undef HAVE_LOCALE_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Version number of package */ +#undef VERSION diff --git a/configure b/configure new file mode 100755 index 0000000..b9fa098 --- /dev/null +++ b/configure @@ -0,0 +1,7779 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.68 for alacarte 0.13.2. +# +# Report bugs to . +# +# +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software +# Foundation, Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + # We cannot yet assume a decent shell, so we have to provide a + # neutralization value for shells without unset; and this also + # works around shells that cannot unset nonexistent variables. + # Preserve -v and -x to the replacement shell. + BASH_ENV=/dev/null + ENV=/dev/null + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV + export CONFIG_SHELL + case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; + esac + exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org and +$0: http://bugzilla.mate.org/enter_bug.cgi?product=alacarte +$0: about your system, including any error possibly output +$0: before this message. Then install a modern shell, or +$0: manually run the script under such a shell if you do +$0: have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +test -n "$DJDIR" || exec 7<&0 &1 + +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='alacarte' +PACKAGE_TARNAME='alacarte' +PACKAGE_VERSION='0.13.2' +PACKAGE_STRING='alacarte 0.13.2' +PACKAGE_BUGREPORT='http://bugzilla.mate.org/enter_bug.cgi?product=alacarte' +PACKAGE_URL='' + +ac_unique_file="alacarte.in" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef STDC_HEADERS +# include +# include +#else +# ifdef HAVE_STDLIB_H +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +ac_subst_vars='am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +LIBOBJS +ALACARTE_LIBS +ALACARTE_CFLAGS +PKG_CONFIG_LIBDIR +PKG_CONFIG_PATH +PKG_CONFIG +pkgpyexecdir +pyexecdir +pkgpythondir +pythondir +PYTHON_PLATFORM +PYTHON_EXEC_PREFIX +PYTHON_PREFIX +PYTHON_VERSION +PYTHON2_4 +PYTHON2_5 +PYTHON2_6 +PYTHON +PYTHON2_7 +ALL_LINGUAS +INTLTOOL_PERL +MSGMERGE +INTLTOOL_POLICY_RULE +INTLTOOL_SERVICE_RULE +INTLTOOL_THEME_RULE +INTLTOOL_SCHEMAS_RULE +INTLTOOL_CAVES_RULE +INTLTOOL_XML_NOMERGE_RULE +INTLTOOL_XML_RULE +INTLTOOL_KBD_RULE +INTLTOOL_XAM_RULE +INTLTOOL_UI_RULE +INTLTOOL_SOUNDLIST_RULE +INTLTOOL_SHEET_RULE +INTLTOOL_SERVER_RULE +INTLTOOL_PONG_RULE +INTLTOOL_OAF_RULE +INTLTOOL_PROP_RULE +INTLTOOL_KEYS_RULE +INTLTOOL_DIRECTORY_RULE +INTLTOOL_DESKTOP_RULE +INTLTOOL_EXTRACT +INTLTOOL_MERGE +INTLTOOL_UPDATE +MKINSTALLDIRS +POSUB +POFILES +PO_IN_DATADIR_FALSE +PO_IN_DATADIR_TRUE +INTLLIBS +INSTOBJEXT +GMOFILES +DATADIRNAME +CATOBJEXT +CATALOGS +XGETTEXT +GMSGFMT +MSGFMT_OPTS +MSGFMT +USE_NLS +EGREP +GREP +CPP +am__fastdepCC_FALSE +am__fastdepCC_TRUE +CCDEPMODE +AMDEPBACKSLASH +AMDEP_FALSE +AMDEP_TRUE +am__quote +am__include +DEPDIR +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +GETTEXT_PACKAGE +MAINT +MAINTAINER_MODE_FALSE +MAINTAINER_MODE_TRUE +am__untar +am__tar +AMTAR +am__leading_dot +SET_MAKE +AWK +mkdir_p +MKDIR_P +INSTALL_STRIP_PROGRAM +STRIP +install_sh +MAKEINFO +AUTOHEADER +AUTOMAKE +AUTOCONF +ACLOCAL +VERSION +PACKAGE +CYGPATH_W +am__isrc +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL' +ac_subst_files='' +ac_user_opts=' +enable_option_checking +enable_maintainer_mode +enable_dependency_tracking +enable_nls +' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +CPP +PKG_CONFIG +PKG_CONFIG_PATH +PKG_CONFIG_LIBDIR +ALACARTE_CFLAGS +ALACARTE_LIBS' + + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' + +ac_prev= +ac_dashdash= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval $ac_prev=\$ac_option + ac_prev= + continue + fi + + case $ac_option in + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; + + -enable-* | --enable-*) + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst | --locals) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; + + -without-* | --without-*) + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + as_fn_error $? "missing argument to $ac_option" +fi + +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir +do + eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used" >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + as_fn_error $? "working directory cannot be determined" +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + as_fn_error $? "pwd does not report name of working directory" + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r "$srcdir/$ac_unique_file"; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures alacarte 0.13.2 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking ...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/alacarte] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of alacarte 0.13.2:";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --disable-nls do not use Native Language Support + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + CPP C preprocessor + PKG_CONFIG path to pkg-config utility + PKG_CONFIG_PATH + directories to add to pkg-config's search path + PKG_CONFIG_LIBDIR + path overriding pkg-config's built-in search path + ALACARTE_CFLAGS + C compiler flags for ALACARTE, overriding pkg-config + ALACARTE_LIBS + linker flags for ALACARTE, overriding pkg-config + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to . +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +alacarte configure 0.13.2 +generated by GNU Autoconf 2.68 + +Copyright (C) 2010 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +( $as_echo "## ---------------------------------------------------------------------- ## +## Report this to http://bugzilla.mate.org/enter_bug.cgi?product=alacarte ## +## ---------------------------------------------------------------------- ##" + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_mongrel + +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_header_compile + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $2 + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$2 || defined __stub___$2 +choke me +#endif + +int +main () +{ +return $2 (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + +} # ac_fn_c_check_func +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by alacarte $as_me 0.13.2, which was +generated by GNU Autoconf 2.68. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done +done +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + $as_echo "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + $as_echo "## ----------------- ## +## Output variables. ## +## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + $as_echo "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + $as_echo "## ----------- ## +## confdefs.h. ## +## ----------- ##" + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + +ac_config_headers="$ac_config_headers config.h" + +am__api_version='1.11' + +ac_aux_dir= +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } +if test -z "$INSTALL"; then +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + fi + done + done + ;; +esac + + done +IFS=$as_save_IFS + +rm -rf conftest.one conftest.two conftest.dir + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +$as_echo_n "checking whether build environment is sane... " >&6; } +# Just in case +sleep 1 +echo timestamp > conftest.file +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[\\\"\#\$\&\'\`$am_lf]*) + as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; +esac +case $srcdir in + *[\\\"\#\$\&\'\`$am_lf\ \ ]*) + as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; +esac + +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + as_fn_error $? "ls -t appears to fail. Make sure there is not a broken +alias in your environment" "$LINENO" 5 + fi + + test "$2" = conftest.file + ) +then + # Ok. + : +else + as_fn_error $? "newly created file is older than distributed files! +Check your system clock" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. +# By default was `s,x,x', remove it if useless. +ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' +program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 +$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +if test x"${install_sh}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 +$as_echo "$STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_STRIP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 +$as_echo "$ac_ct_STRIP" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } +if test -z "$MKDIR_P"; then + if ${ac_cv_path_mkdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( + 'mkdir (GNU coreutils) '* | \ + 'mkdir (coreutils) '* | \ + 'mkdir (fileutils) '4.1*) + ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext + break 3;; + esac + done + done + done +IFS=$as_save_IFS + +fi + + test -d ./--version && rmdir ./--version + if test "${ac_cv_path_mkdir+set}" = set; then + MKDIR_P="$ac_cv_path_mkdir -p" + else + # As a last resort, use the slow shell script. Don't cache a + # value for MKDIR_P within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the value is a relative name. + MKDIR_P="$ac_install_sh -d" + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +$as_echo "$MKDIR_P" >&6; } + +mkdir_p="$MKDIR_P" +case $mkdir_p in + [\\/$]* | ?:[\\/]*) ;; + */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; +esac + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_AWK+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 +$as_echo "$AWK" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh +all: + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + SET_MAKE= +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='alacarte' + VERSION='0.13.2' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' + + + + + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 +$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } + # Check whether --enable-maintainer-mode was given. +if test "${enable_maintainer_mode+set}" = set; then : + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval +else + USE_MAINTAINER_MODE=no +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 +$as_echo "$USE_MAINTAINER_MODE" >&6; } + if test $USE_MAINTAINER_MODE = yes; then + MAINTAINER_MODE_TRUE= + MAINTAINER_MODE_FALSE='#' +else + MAINTAINER_MODE_TRUE='#' + MAINTAINER_MODE_FALSE= +fi + + MAINT=$MAINTAINER_MODE_TRUE + + + + + + +ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" + + +GETTEXT_PACKAGE=alacarte + + +cat >>confdefs.h <<_ACEOF +#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" +_ACEOF + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo this is the am__doit target +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +$as_echo_n "checking for style of include used by $am_make... " >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# Ignore all kinds of additional output from `make'. +case `$am_make -s -f confmf 2> /dev/null` in #( +*the\ am__doit\ target*) + am__include=include + am__quote= + _am_result=GNU + ;; +esac +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + case `$am_make -s -f confmf 2> /dev/null` in #( + *the\ am__doit\ target*) + am__include=.include + am__quote="\"" + _am_result=BSD + ;; + esac +fi + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +$as_echo "$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then : + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } + +# Provide some information about the compiler. +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done + +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { { ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext + +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_compiler_gnu=yes +else + ac_compiler_gnu=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +else + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + +else + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_g=yes +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_prog_cc_c89=$ac_arg +fi +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; + xno) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; +esac +if test "x$ac_cv_prog_cc_c89" != xno; then : + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +depcc="$CC" am_compiler_list= + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +$as_echo_n "checking dependency style of $depcc... " >&6; } +if ${am_cv_CC_dependencies_compiler_type+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + am__universal=false + case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvisualcpp | msvcmsys) + # This compiler won't grok `-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + +else + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.i conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + # Broken: success on invalid input. +continue +else + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.i conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : + +else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if ${ac_cv_path_GREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if test -z "$GREP"; then + ac_path_GREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue +# Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_GREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_GREP=$GREP +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if ${ac_cv_path_EGREP+:} false; then : + $as_echo_n "(cached) " >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + if test -z "$EGREP"; then + ac_path_EGREP_found=false + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue +# Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + $as_echo_n 0123456789 >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + as_fn_arith $ac_count + 1 && ac_count=$as_val + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + $ac_path_EGREP_found && break 3 + done + done + done +IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi +else + ac_cv_path_EGREP=$EGREP +fi + + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + for ac_header in locale.h +do : + ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" +if test "x$ac_cv_header_locale_h" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LOCALE_H 1 +_ACEOF + +fi + +done + + if test $ac_cv_header_locale_h = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 +$as_echo_n "checking for LC_MESSAGES... " >&6; } +if ${am_cv_val_LC_MESSAGES+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +return LC_MESSAGES + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_val_LC_MESSAGES=yes +else + am_cv_val_LC_MESSAGES=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 +$as_echo "$am_cv_val_LC_MESSAGES" >&6; } + if test $am_cv_val_LC_MESSAGES = yes; then + +$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h + + fi + fi + USE_NLS=yes + + + gt_cv_have_gettext=no + + CATOBJEXT=NONE + XGETTEXT=: + INTLLIBS= + + ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" +if test "x$ac_cv_header_libintl_h" = xyes; then : + gt_cv_func_dgettext_libintl="no" + libintl_extra_libs="" + + # + # First check in libc + # + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 +$as_echo_n "checking for ngettext in libc... " >&6; } +if ${gt_cv_func_ngettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include + +int +main () +{ +return !ngettext ("","", 1) + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_ngettext_libc=yes +else + gt_cv_func_ngettext_libc=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 +$as_echo "$gt_cv_func_ngettext_libc" >&6; } + + if test "$gt_cv_func_ngettext_libc" = "yes" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 +$as_echo_n "checking for dgettext in libc... " >&6; } +if ${gt_cv_func_dgettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +#include + +int +main () +{ +return !dgettext ("","") + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gt_cv_func_dgettext_libc=yes +else + gt_cv_func_dgettext_libc=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 +$as_echo "$gt_cv_func_dgettext_libc" >&6; } + fi + + if test "$gt_cv_func_ngettext_libc" = "yes" ; then + for ac_func in bind_textdomain_codeset +do : + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_BIND_TEXTDOMAIN_CODESET 1 +_ACEOF + +fi +done + + fi + + # + # If we don't have everything we want, check in libintl + # + if test "$gt_cv_func_dgettext_libc" != "yes" \ + || test "$gt_cv_func_ngettext_libc" != "yes" \ + || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 +$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } +if ${ac_cv_lib_intl_bindtextdomain+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char bindtextdomain (); +int +main () +{ +return bindtextdomain (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_bindtextdomain=yes +else + ac_cv_lib_intl_bindtextdomain=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 +$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } +if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 +$as_echo_n "checking for ngettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_ngettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char ngettext (); +int +main () +{ +return ngettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_ngettext=yes +else + ac_cv_lib_intl_ngettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 +$as_echo "$ac_cv_lib_intl_ngettext" >&6; } +if test "x$ac_cv_lib_intl_ngettext" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 +$as_echo_n "checking for dgettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_dgettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dgettext (); +int +main () +{ +return dgettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_dgettext=yes +else + ac_cv_lib_intl_dgettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 +$as_echo "$ac_cv_lib_intl_dgettext" >&6; } +if test "x$ac_cv_lib_intl_dgettext" = xyes; then : + gt_cv_func_dgettext_libintl=yes +fi + +fi + +fi + + + if test "$gt_cv_func_dgettext_libintl" != "yes" ; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 +$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 +$as_echo "" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 +$as_echo_n "checking for ngettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_ngettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl -liconv $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char ngettext (); +int +main () +{ +return ngettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_ngettext=yes +else + ac_cv_lib_intl_ngettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 +$as_echo "$ac_cv_lib_intl_ngettext" >&6; } +if test "x$ac_cv_lib_intl_ngettext" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 +$as_echo_n "checking for dcgettext in -lintl... " >&6; } +if ${ac_cv_lib_intl_dcgettext+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lintl -liconv $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dcgettext (); +int +main () +{ +return dcgettext (); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_intl_dcgettext=yes +else + ac_cv_lib_intl_dcgettext=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 +$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } +if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : + gt_cv_func_dgettext_libintl=yes + libintl_extra_libs=-liconv +else + : +fi + +else + : +fi + + fi + + # + # If we found libintl, then check in it for bind_textdomain_codeset(); + # we'll prefer libc if neither have bind_textdomain_codeset(), + # and both have dgettext and ngettext + # + if test "$gt_cv_func_dgettext_libintl" = "yes" ; then + glib_save_LIBS="$LIBS" + LIBS="$LIBS -lintl $libintl_extra_libs" + unset ac_cv_func_bind_textdomain_codeset + for ac_func in bind_textdomain_codeset +do : + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_BIND_TEXTDOMAIN_CODESET 1 +_ACEOF + +fi +done + + LIBS="$glib_save_LIBS" + + if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then + gt_cv_func_dgettext_libc=no + else + if test "$gt_cv_func_dgettext_libc" = "yes" \ + && test "$gt_cv_func_ngettext_libc" = "yes"; then + gt_cv_func_dgettext_libintl=no + fi + fi + fi + fi + + if test "$gt_cv_func_dgettext_libc" = "yes" \ + || test "$gt_cv_func_dgettext_libintl" = "yes"; then + gt_cv_have_gettext=yes + fi + + if test "$gt_cv_func_dgettext_libintl" = "yes"; then + INTLLIBS="-lintl $libintl_extra_libs" + fi + + if test "$gt_cv_have_gettext" = "yes"; then + +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + # Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$MSGFMT" in + /*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then + ac_cv_path_MSGFMT="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != "no"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + if test "$MSGFMT" != "no"; then + glib_save_LIBS="$LIBS" + LIBS="$LIBS $INTLLIBS" + for ac_func in dcgettext +do : + ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" +if test "x$ac_cv_func_dcgettext" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_DCGETTEXT 1 +_ACEOF + +fi +done + + MSGFMT_OPTS= + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 +$as_echo_n "checking if msgfmt accepts -c... " >&6; } + cat >conftest.foo <<_ACEOF + +msgid "" +msgstr "" +"Content-Type: text/plain; charset=UTF-8\n" +"Project-Id-Version: test 1.0\n" +"PO-Revision-Date: 2007-02-15 12:01+0100\n" +"Last-Translator: test \n" +"Language-Team: C \n" +"MIME-Version: 1.0\n" +"Content-Transfer-Encoding: 8bit\n" + +_ACEOF +if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 + ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +echo "$as_me: failed input was:" >&5 +sed 's/^/| /' conftest.foo >&5 +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + # Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case "$XGETTEXT" in + /*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f $ac_dir/$ac_word; then + if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word" + break + fi + fi + done + IFS="$ac_save_ifs" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + CATOBJEXT=.gmo + DATADIRNAME=share +else + case $host in + *-*-solaris*) + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + CATOBJEXT=.gmo + DATADIRNAME=share +else + CATOBJEXT=.mo + DATADIRNAME=lib +fi + + ;; + *) + CATOBJEXT=.mo + DATADIRNAME=lib + ;; + esac +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$glib_save_LIBS" + INSTOBJEXT=.mo + else + gt_cv_have_gettext=no + fi + fi + +fi + + + + if test "$gt_cv_have_gettext" = "yes" ; then + +$as_echo "#define ENABLE_NLS 1" >>confdefs.h + + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header /dev/null 2> /dev/null; then + : ; + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 +$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + fi + + # We need to process the po/ directory. + POSUB=po + + ac_config_commands="$ac_config_commands default-1" + + + for lang in $ALL_LINGUAS; do + GMOFILES="$GMOFILES $lang.gmo" + POFILES="$POFILES $lang.po" + done + + + + + + + + + + + + + + if test "$gt_cv_have_gettext" = "yes"; then + if test "x$ALL_LINGUAS" = "x"; then + LINGUAS= + else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 +$as_echo_n "checking for catalogs to be installed... " >&6; } + NEW_LINGUAS= + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + NEW_LINGUAS="$NEW_LINGUAS $presentlang" + fi + done + LINGUAS=$NEW_LINGUAS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 +$as_echo "$LINGUAS" >&6; } + fi + + if test -n "$LINGUAS"; then + for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done + fi + fi + + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + test -d po || mkdir po + if test "x$srcdir" != "x."; then + if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then + posrcprefix="$srcdir/" + else + posrcprefix="../$srcdir/" + fi + else + posrcprefix="../" + fi + rm -f po/POTFILES + sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ + < $srcdir/po/POTFILES.in > po/POTFILES + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then : + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + + + + +case "$am__api_version" in + 1.01234) + as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 + ;; + *) + ;; +esac + +if test -n "0.40.0"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5 +$as_echo_n "checking for intltool >= 0.40.0... " >&6; } + + INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` + INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` + INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 +$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } + test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || + as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5 +fi + +# Extract the first word of "intltool-update", so it can be a program name with args. +set dummy intltool-update; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_UPDATE in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE +if test -n "$INTLTOOL_UPDATE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 +$as_echo "$INTLTOOL_UPDATE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "intltool-merge", so it can be a program name with args. +set dummy intltool-merge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_MERGE in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE +if test -n "$INTLTOOL_MERGE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 +$as_echo "$INTLTOOL_MERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "intltool-extract", so it can be a program name with args. +set dummy intltool-extract; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_EXTRACT in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT +if test -n "$INTLTOOL_EXTRACT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 +$as_echo "$INTLTOOL_EXTRACT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then + as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 +fi + + INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@' + INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' +INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@' + INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# Check the gettext tools to make sure they are GNU +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $XGETTEXT in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +XGETTEXT=$ac_cv_path_XGETTEXT +if test -n "$XGETTEXT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MSGMERGE in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +MSGMERGE=$ac_cv_path_MSGMERGE +if test -n "$MSGMERGE"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $MSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +MSGFMT=$ac_cv_path_MSGFMT +if test -n "$MSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +# Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then + as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 +fi +xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" +mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" +mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" +if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then + as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 +fi + +# Extract the first word of "perl", so it can be a program name with args. +set dummy perl; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_INTLTOOL_PERL+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $INTLTOOL_PERL in + [\\/]* | ?:[\\/]*) + ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL +if test -n "$INTLTOOL_PERL"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 +$as_echo "$INTLTOOL_PERL" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +if test -z "$INTLTOOL_PERL"; then + as_fn_error $? "perl not found" "$LINENO" 5 +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 +$as_echo_n "checking for perl >= 5.8.1... " >&6; } +$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 +if test $? -ne 0; then + as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 +else + IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 +$as_echo "$IT_PERL_VERSION" >&6; } +fi +if test "x" != "xno-xml"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 +$as_echo_n "checking for XML::Parser... " >&6; } + if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 +$as_echo "ok" >&6; } + else + as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 + fi +fi + +# Substitute ALL_LINGUAS so we can use it in po/Makefile + + +# Set DATADIRNAME correctly if it is not set yet +# (copied from glib-gettext.m4) +if test -z "$DATADIRNAME"; then + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ +extern int _nl_msg_cat_cntr; + return _nl_msg_cat_cntr + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + DATADIRNAME=share +else + case $host in + *-*-solaris*) + ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" +if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : + DATADIRNAME=share +else + DATADIRNAME=lib +fi + + ;; + *) + DATADIRNAME=lib + ;; + esac +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + + + + + + + + _python_save="$PYTHON" + + + + if test -z "$PYTHON"; then + # Extract the first word of "python2.7", so it can be a program name with args. +set dummy python2.7; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PYTHON2_7+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PYTHON2_7 in + [\\/]* | ?:[\\/]*) + ac_cv_path_PYTHON2_7="$PYTHON2_7" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PYTHON2_7="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PYTHON2_7=$ac_cv_path_PYTHON2_7 +if test -n "$PYTHON2_7"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_7" >&5 +$as_echo "$PYTHON2_7" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + else + PYTHON2_7="$PYTHON" + fi + + PYTHON="$PYTHON2_7" + + + if test -n "$PYTHON"; then + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.7.0" >&5 +$as_echo_n "checking whether $PYTHON version is >= 2.7.0... " >&6; } + prog="import sys +# split strings by '.' and convert to numeric. Append some zeros +# because we need at least 4 digits for the hex conversion. +# map returns an iterator in Python 3.0 and a list in 2.x +minver = list(map(int, '2.7.0'.split('.'))) + [0, 0, 0] +minverhex = 0 +# xrange is not present in Python 3.0 and range returns an iterator +for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] +sys.exit(sys.hexversion < minverhex)" + if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 + ($PYTHON -c "$prog") >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; }; PYTHON="" +fi + + + fi + + if test -z "$PYTHON"; then + + PYTHON="$_python_save" + + + _python_save="$PYTHON" + + + + if test -z "$PYTHON"; then + # Extract the first word of "python2.6", so it can be a program name with args. +set dummy python2.6; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PYTHON2_6+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PYTHON2_6 in + [\\/]* | ?:[\\/]*) + ac_cv_path_PYTHON2_6="$PYTHON2_6" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PYTHON2_6="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PYTHON2_6=$ac_cv_path_PYTHON2_6 +if test -n "$PYTHON2_6"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_6" >&5 +$as_echo "$PYTHON2_6" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + else + PYTHON2_6="$PYTHON" + fi + + PYTHON="$PYTHON2_6" + + + if test -n "$PYTHON"; then + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6.0" >&5 +$as_echo_n "checking whether $PYTHON version is >= 2.6.0... " >&6; } + prog="import sys +# split strings by '.' and convert to numeric. Append some zeros +# because we need at least 4 digits for the hex conversion. +# map returns an iterator in Python 3.0 and a list in 2.x +minver = list(map(int, '2.6.0'.split('.'))) + [0, 0, 0] +minverhex = 0 +# xrange is not present in Python 3.0 and range returns an iterator +for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] +sys.exit(sys.hexversion < minverhex)" + if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 + ($PYTHON -c "$prog") >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; }; PYTHON="" +fi + + + fi + + if test -z "$PYTHON"; then + + PYTHON="$_python_save" + + + _python_save="$PYTHON" + + + + if test -z "$PYTHON"; then + # Extract the first word of "python2.5", so it can be a program name with args. +set dummy python2.5; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PYTHON2_5+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PYTHON2_5 in + [\\/]* | ?:[\\/]*) + ac_cv_path_PYTHON2_5="$PYTHON2_5" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PYTHON2_5="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PYTHON2_5=$ac_cv_path_PYTHON2_5 +if test -n "$PYTHON2_5"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_5" >&5 +$as_echo "$PYTHON2_5" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + else + PYTHON2_5="$PYTHON" + fi + + PYTHON="$PYTHON2_5" + + + if test -n "$PYTHON"; then + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.5.0" >&5 +$as_echo_n "checking whether $PYTHON version is >= 2.5.0... " >&6; } + prog="import sys +# split strings by '.' and convert to numeric. Append some zeros +# because we need at least 4 digits for the hex conversion. +# map returns an iterator in Python 3.0 and a list in 2.x +minver = list(map(int, '2.5.0'.split('.'))) + [0, 0, 0] +minverhex = 0 +# xrange is not present in Python 3.0 and range returns an iterator +for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] +sys.exit(sys.hexversion < minverhex)" + if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 + ($PYTHON -c "$prog") >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; }; PYTHON="" +fi + + + fi + + if test -z "$PYTHON"; then + + PYTHON="$_python_save" + + + _python_save="$PYTHON" + + + + if test -z "$PYTHON"; then + # Extract the first word of "python2.4", so it can be a program name with args. +set dummy python2.4; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PYTHON2_4+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PYTHON2_4 in + [\\/]* | ?:[\\/]*) + ac_cv_path_PYTHON2_4="$PYTHON2_4" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PYTHON2_4="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PYTHON2_4=$ac_cv_path_PYTHON2_4 +if test -n "$PYTHON2_4"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_4" >&5 +$as_echo "$PYTHON2_4" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + + else + PYTHON2_4="$PYTHON" + fi + + PYTHON="$PYTHON2_4" + + + if test -n "$PYTHON"; then + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.4.0" >&5 +$as_echo_n "checking whether $PYTHON version is >= 2.4.0... " >&6; } + prog="import sys +# split strings by '.' and convert to numeric. Append some zeros +# because we need at least 4 digits for the hex conversion. +# map returns an iterator in Python 3.0 and a list in 2.x +minver = list(map(int, '2.4.0'.split('.'))) + [0, 0, 0] +minverhex = 0 +# xrange is not present in Python 3.0 and range returns an iterator +for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] +sys.exit(sys.hexversion < minverhex)" + if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 + ($PYTHON -c "$prog") >&5 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; }; PYTHON="" +fi + + + fi + + if test -z "$PYTHON"; then + + as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5 + + + else + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 +$as_echo_n "checking for $am_display_PYTHON version... " >&6; } +if ${am_cv_python_version+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 +$as_echo "$am_cv_python_version" >&6; } + PYTHON_VERSION=$am_cv_python_version + + + + PYTHON_PREFIX='${prefix}' + + PYTHON_EXEC_PREFIX='${exec_prefix}' + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 +$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } +if ${am_cv_python_platform+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 +$as_echo "$am_cv_python_platform" >&6; } + PYTHON_PLATFORM=$am_cv_python_platform + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 +$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } +if ${am_cv_python_pythondir+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || + echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 +$as_echo "$am_cv_python_pythondir" >&6; } + pythondir=$am_cv_python_pythondir + + + + pkgpythondir=\${pythondir}/$PACKAGE + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 +$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } +if ${am_cv_python_pyexecdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || + echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 +$as_echo "$am_cv_python_pyexecdir" >&6; } + pyexecdir=$am_cv_python_pyexecdir + + + + pkgpyexecdir=\${pyexecdir}/$PACKAGE + + + fi + + + + + else + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 +$as_echo_n "checking for $am_display_PYTHON version... " >&6; } +if ${am_cv_python_version+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 +$as_echo "$am_cv_python_version" >&6; } + PYTHON_VERSION=$am_cv_python_version + + + + PYTHON_PREFIX='${prefix}' + + PYTHON_EXEC_PREFIX='${exec_prefix}' + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 +$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } +if ${am_cv_python_platform+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 +$as_echo "$am_cv_python_platform" >&6; } + PYTHON_PLATFORM=$am_cv_python_platform + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 +$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } +if ${am_cv_python_pythondir+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || + echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 +$as_echo "$am_cv_python_pythondir" >&6; } + pythondir=$am_cv_python_pythondir + + + + pkgpythondir=\${pythondir}/$PACKAGE + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 +$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } +if ${am_cv_python_pyexecdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || + echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 +$as_echo "$am_cv_python_pyexecdir" >&6; } + pyexecdir=$am_cv_python_pyexecdir + + + + pkgpyexecdir=\${pyexecdir}/$PACKAGE + + + fi + + + + + else + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 +$as_echo_n "checking for $am_display_PYTHON version... " >&6; } +if ${am_cv_python_version+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 +$as_echo "$am_cv_python_version" >&6; } + PYTHON_VERSION=$am_cv_python_version + + + + PYTHON_PREFIX='${prefix}' + + PYTHON_EXEC_PREFIX='${exec_prefix}' + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 +$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } +if ${am_cv_python_platform+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 +$as_echo "$am_cv_python_platform" >&6; } + PYTHON_PLATFORM=$am_cv_python_platform + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 +$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } +if ${am_cv_python_pythondir+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || + echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 +$as_echo "$am_cv_python_pythondir" >&6; } + pythondir=$am_cv_python_pythondir + + + + pkgpythondir=\${pythondir}/$PACKAGE + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 +$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } +if ${am_cv_python_pyexecdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || + echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 +$as_echo "$am_cv_python_pyexecdir" >&6; } + pyexecdir=$am_cv_python_pyexecdir + + + + pkgpyexecdir=\${pyexecdir}/$PACKAGE + + + fi + + + + + else + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 +$as_echo_n "checking for $am_display_PYTHON version... " >&6; } +if ${am_cv_python_version+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 +$as_echo "$am_cv_python_version" >&6; } + PYTHON_VERSION=$am_cv_python_version + + + + PYTHON_PREFIX='${prefix}' + + PYTHON_EXEC_PREFIX='${exec_prefix}' + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 +$as_echo_n "checking for $am_display_PYTHON platform... " >&6; } +if ${am_cv_python_platform+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 +$as_echo "$am_cv_python_platform" >&6; } + PYTHON_PLATFORM=$am_cv_python_platform + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 +$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } +if ${am_cv_python_pythondir+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || + echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 +$as_echo "$am_cv_python_pythondir" >&6; } + pythondir=$am_cv_python_pythondir + + + + pkgpythondir=\${pythondir}/$PACKAGE + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 +$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } +if ${am_cv_python_pyexecdir+:} false; then : + $as_echo_n "(cached) " >&6 +else + am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || + echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 +$as_echo "$am_cv_python_pyexecdir" >&6; } + pyexecdir=$am_cv_python_pyexecdir + + + + pkgpyexecdir=\${pyexecdir}/$PACKAGE + + + fi + + + + + + + + + + +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. +set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG +if test -n "$PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 +$as_echo "$PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + +fi +if test -z "$ac_cv_path_PKG_CONFIG"; then + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : + $as_echo_n "(cached) " >&6 +else + case $ac_pt_PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done + done +IFS=$as_save_IFS + + ;; +esac +fi +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG +if test -n "$ac_pt_PKG_CONFIG"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 +$as_echo "$ac_pt_PKG_CONFIG" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi + + if test "x$ac_pt_PKG_CONFIG" = x; then + PKG_CONFIG="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} +ac_tool_warned=yes ;; +esac + PKG_CONFIG=$ac_pt_PKG_CONFIG + fi +else + PKG_CONFIG="$ac_cv_path_PKG_CONFIG" +fi + +fi +if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 +$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + PKG_CONFIG="" + fi +fi + +pkg_failed=no +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALACARTE" >&5 +$as_echo_n "checking for ALACARTE... " >&6; } + +if test -n "$ALACARTE_CFLAGS"; then + pkg_cv_ALACARTE_CFLAGS="$ALACARTE_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmate-menu >= 2.27.92\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libmate-menu >= 2.27.92") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_ALACARTE_CFLAGS=`$PKG_CONFIG --cflags "libmate-menu >= 2.27.92" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi +if test -n "$ALACARTE_LIBS"; then + pkg_cv_ALACARTE_LIBS="$ALACARTE_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmate-menu >= 2.27.92\""; } >&5 + ($PKG_CONFIG --exists --print-errors "libmate-menu >= 2.27.92") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then + pkg_cv_ALACARTE_LIBS=`$PKG_CONFIG --libs "libmate-menu >= 2.27.92" 2>/dev/null` + test "x$?" != "x0" && pkg_failed=yes +else + pkg_failed=yes +fi + else + pkg_failed=untried +fi + + + +if test $pkg_failed = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then + _pkg_short_errors_supported=yes +else + _pkg_short_errors_supported=no +fi + if test $_pkg_short_errors_supported = yes; then + ALACARTE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmate-menu >= 2.27.92" 2>&1` + else + ALACARTE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmate-menu >= 2.27.92" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$ALACARTE_PKG_ERRORS" >&5 + + as_fn_error $? "Package requirements (libmate-menu >= 2.27.92) were not met: + +$ALACARTE_PKG_ERRORS + +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." "$LINENO" 5 +elif test $pkg_failed = untried; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it +is in your PATH or set the PKG_CONFIG environment variable to the full +path to pkg-config. + +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. + +To get pkg-config, see . +See \`config.log' for more details" "$LINENO" 5; } +else + ALACARTE_CFLAGS=$pkg_cv_ALACARTE_CFLAGS + ALACARTE_LIBS=$pkg_cv_ALACARTE_LIBS + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pygobject 2.15.1 installed for python required_python_abi" >&5 +$as_echo_n "checking for pygobject 2.15.1 installed for python required_python_abi... " >&6; } +prog=" +import pygtk; pygtk.require('2.0') +import gobject +assert gobject.pygobject_version >= tuple(map(int, '2.15.1'.split('.'))) +" + +if $PYTHON -c "$prog" 1>&5 2>&5; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 +$as_echo "found" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + as_fn_error $? "required pygobject version not found" "$LINENO" 5 +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pygtk 2.13.0 installed for python ${PYTHON_VERSION}" >&5 +$as_echo_n "checking for pygtk 2.13.0 installed for python ${PYTHON_VERSION}... " >&6; } +prog=" +import pygtk; pygtk.require('2.0') +import gobject +assert gobject.pygtk_version >= tuple(map(int, '2.13.0'.split('.'))) +" + +if $PYTHON -c "$prog" 1>&5 2>&5; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 +$as_echo "found" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 +$as_echo "not found" >&6; } + as_fn_error $? "required pygtk version not found" "$LINENO" 5 +fi + + +ac_config_files="$ac_config_files Makefile po/Makefile.in Alacarte/Makefile data/alacarte.desktop.in data/Makefile data/icons/Makefile" + + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, we kill variables containing newlines. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi + else + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +U= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + + if test -n "$EXEEXT"; then + am__EXEEXT_TRUE= + am__EXEEXT_FALSE='#' +else + am__EXEEXT_TRUE='#' + am__EXEEXT_FALSE= +fi + +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then + as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + as_fn_error $? "conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + as_fn_error $? "conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi + + ac_config_commands="$ac_config_commands po/stamp-it" + + + +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false + +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in #( + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by alacarte $as_me 0.13.2, which was +generated by GNU Autoconf 2.68. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +ac_cs_usage="\ +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. + +Usage: $0 [OPTION]... [TAG]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to ." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" +ac_cs_version="\\ +alacarte config.status 0.13.2 +configured by $0, generated by GNU Autoconf 2.68, + with options \\"\$ac_cs_config\\" + +Copyright (C) 2010 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +MKDIR_P='$MKDIR_P' +AWK='$AWK' +test -n "\$AWK" || AWK=awk +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=?*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; + + *) as_fn_append ac_config_targets " $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +if \$ac_cs_recheck; then + set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' + export CONFIG_SHELL + exec "\$@" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +# +# INIT-COMMANDS +# +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; + "Alacarte/Makefile") CONFIG_FILES="$CONFIG_FILES Alacarte/Makefile" ;; + "data/alacarte.desktop.in") CONFIG_FILES="$CONFIG_FILES data/alacarte.desktop.in" ;; + "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; + "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;; + "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; + + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= ac_tmp= + trap 'exit_status=$? + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status +' 0 + trap 'as_fn_exit 1' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && +_ACEOF + + +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done +rm -f conf$$subs.sh + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && +_ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF + +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// +s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$ac_tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir="$ac_dir"; as_fn_mkdir_p + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} + + rm -f "$ac_tmp/stdin" + case $ac_file in + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 + fi +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + as_dir=$dirpart/$fdir; as_fn_mkdir_p + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} + ;; + "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) + sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile + esac ;; + "po/stamp-it":C) + if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then + as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 + fi + rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" + >"po/stamp-it.tmp" + sed '/^#/d + s/^[[].*] *// + /^[ ]*$/d + '"s|^| $ac_top_srcdir/|" \ + "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" + + sed '/^POTFILES =/,/[^\\]$/ { + /^POTFILES =/!d + r po/POTFILES + } + ' "po/Makefile.in" >"po/Makefile" + rm -f "po/Makefile.tmp" + mv "po/stamp-it.tmp" "po/stamp-it" + ;; + + esac +done # for ac_tag + + +as_fn_exit 0 +_ACEOF +ac_clean_files=$ac_clean_files_save + +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || as_fn_exit 1 +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} +fi + + diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..632c2b2 --- /dev/null +++ b/configure.ac @@ -0,0 +1,80 @@ +dnl -*- Mode: autoconf -*- +dnl Process this file with autoconf to produce a configure script. +AC_PREREQ(2.53) +AC_INIT(alacarte, 2011.12.01, http://bugzilla.mate.org/enter_bug.cgi?product=alacarte) +AC_CONFIG_SRCDIR(alacarte.in) +AC_CONFIG_HEADERS([config.h]) +AM_INIT_AUTOMAKE([1.7]) +AM_MAINTAINER_MODE + +m4_define(required_pygobject_version, 2.15.1) +m4_define(required_pygtk_version, 2.13.0) + +dnl put the ACLOCAL flags in the makefile +ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" + + +GETTEXT_PACKAGE=alacarte +AC_SUBST(GETTEXT_PACKAGE) +AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package]) +AM_GLIB_GNU_GETTEXT +IT_PROG_INTLTOOL([0.40.0]) + +AM_PATH_PYTHON_VERSION(2.7, 2.7.0, 2.6, 2.6.0, 2.5, 2.5.0, 2.4, 2.4.0) + +PKG_CHECK_MODULES(ALACARTE, libmate-menu >= 2.27.92) + +dnl Check for correctly installed pygobject +AC_MSG_CHECKING(for pygobject required_pygobject_version installed for python required_python_abi) +prog=" +import pygtk; pygtk.require('2.0') +import gobject +assert gobject.pygobject_version >= tuple(map(int, 'required_pygobject_version'.split('.'))) +" + +if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC; then + AC_MSG_RESULT(found) +else + AC_MSG_RESULT(not found) + AC_MSG_ERROR(required pygobject version not found) +fi + +dnl Check for correctly installed pygtk +AC_MSG_CHECKING(for pygtk required_pygtk_version installed for python ${PYTHON_VERSION}) +prog=" +import pygtk; pygtk.require('2.0') +import gobject +assert gobject.pygtk_version >= tuple(map(int, 'required_pygtk_version'.split('.'))) +" + +if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC; then + AC_MSG_RESULT(found) +else + AC_MSG_RESULT(not found) + AC_MSG_ERROR(required pygtk version not found) +fi + +dnl Check for correctly installed python-glade +dnl AC_MSG_CHECKING(for pyglade required_pygtk_version installed for python ${PYTHON_VERSION}) +dnl prog=" +dnl import pygtk; pygtk.require('2.0') +dnl import gtk.glade +dnl " +dnl if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC; then +dnl AC_MSG_RESULT(found) +dnl else +dnl AC_MSG_RESULT(not found) +dnl AC_MSG_ERROR(required pyglade version not found) +dnl fi + +AC_CONFIG_FILES([ + Makefile + po/Makefile.in + Alacarte/Makefile + data/alacarte.desktop.in + data/Makefile + data/icons/Makefile + ]) + +AC_OUTPUT + diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 0000000..625b2af --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,18 @@ +SUBDIRS = icons + +@INTLTOOL_DESKTOP_RULE@ + +desktopdir = $(datadir)/applications +desktop_in_files = alacarte.desktop.in +desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) + +pkgdata_DATA = alacarte.ui + +CLEANFILES = $(desktop_DATA) + +EXTRA_DIST = $(pkgdata_DATA) + +install-data-hook: $(UPDATE_DESKTOP) + +uninstall-hook: $(UPDATE_DESKTOP) + diff --git a/data/Makefile.in b/data/Makefile.in new file mode 100644 index 0000000..735aa3d --- /dev/null +++ b/data/Makefile.in @@ -0,0 +1,647 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = data +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(srcdir)/alacarte.desktop.in.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = alacarte.desktop.in +CONFIG_CLEAN_VPATH_FILES = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-dvi-recursive install-exec-recursive \ + install-html-recursive install-info-recursive \ + install-pdf-recursive install-ps-recursive install-recursive \ + installcheck-recursive installdirs-recursive pdf-recursive \ + ps-recursive uninstall-recursive +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(pkgdatadir)" +DATA = $(desktop_DATA) $(pkgdata_DATA) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ + $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ + distdir +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +ACLOCAL = @ACLOCAL@ +ALACARTE_CFLAGS = @ALACARTE_CFLAGS@ +ALACARTE_LIBS = @ALACARTE_LIBS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PYTHON = @PYTHON@ +PYTHON2_4 = @PYTHON2_4@ +PYTHON2_5 = @PYTHON2_5@ +PYTHON2_6 = @PYTHON2_6@ +PYTHON2_7 = @PYTHON2_7@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +SUBDIRS = icons +desktopdir = $(datadir)/applications +desktop_in_files = alacarte.desktop.in +desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) +pkgdata_DATA = alacarte.ui +CLEANFILES = $(desktop_DATA) +EXTRA_DIST = $(pkgdata_DATA) +all: all-recursive + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu data/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +alacarte.desktop.in: $(top_builddir)/config.status $(srcdir)/alacarte.desktop.in.in + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ +install-desktopDATA: $(desktop_DATA) + @$(NORMAL_INSTALL) + test -z "$(desktopdir)" || $(MKDIR_P) "$(DESTDIR)$(desktopdir)" + @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \ + done + +uninstall-desktopDATA: + @$(NORMAL_UNINSTALL) + @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(desktopdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(desktopdir)" && rm -f $$files +install-pkgdataDATA: $(pkgdata_DATA) + @$(NORMAL_INSTALL) + test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" + @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgdatadir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgdatadir)" || exit $$?; \ + done + +uninstall-pkgdataDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files + +# This directory's subdirectories are mostly independent; you can cd +# into them and run `make' without going through this Makefile. +# To change the values of `make' variables: instead of editing Makefiles, +# (1) if the variable is set in `config.status', edit `config.status' +# (which will cause the Makefiles to be regenerated when you run `make'); +# (2) otherwise, pass the desired values on the `make' command line. +$(RECURSIVE_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +$(RECURSIVE_CLEAN_TARGETS): + @fail= failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ + done; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done && test -z "$$fail" +tags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ + done +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-recursive +all-am: Makefile $(DATA) +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(pkgdatadir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-desktopDATA install-pkgdataDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-desktopDATA uninstall-pkgdataDATA + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) uninstall-hook +.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ + install-am install-data-am install-strip tags-recursive \ + uninstall-am + +.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ + all all-am check check-am clean clean-generic ctags \ + ctags-recursive distclean distclean-generic distclean-tags \ + distdir dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-data-hook \ + install-desktopDATA install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-pkgdataDATA install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \ + uninstall uninstall-am uninstall-desktopDATA uninstall-hook \ + uninstall-pkgdataDATA + + +@INTLTOOL_DESKTOP_RULE@ + +install-data-hook: $(UPDATE_DESKTOP) + +uninstall-hook: $(UPDATE_DESKTOP) + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/data/alacarte.desktop.in.in b/data/alacarte.desktop.in.in new file mode 100644 index 0000000..76795b0 --- /dev/null +++ b/data/alacarte.desktop.in.in @@ -0,0 +1,14 @@ +[Desktop Entry] +_Name=Main Menu +_Comment=Change which applications are shown on the main menu +Exec=alacarte +Terminal=false +Type=Application +StartupNotify=false +Categories=MATE;Settings;DesktopSettings; +NotShowIn=KDE; +Icon=alacarte +X-MATE-Bugzilla-Bugzilla=MATE +X-MATE-Bugzilla-Product=alacarte +X-MATE-Bugzilla-Component=general +X-MATE-Bugzilla-Version=@VERSION@ diff --git a/data/alacarte.ui b/data/alacarte.ui new file mode 100644 index 0000000..a8214ad --- /dev/null +++ b/data/alacarte.ui @@ -0,0 +1,781 @@ + + + + + + + + + gtk-properties + edit_properties + + + + + + gtk-revert-to-saved + edit_revert_to_original + _Revert to Original + + + + + + gtk-delete + edit_delete + + + + + + + + + + + + + + + + + + + + + + + + + + 5 + 675 + 530 + True + Main Menu + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_CENTER + False + True + False + True + False + False + GDK_WINDOW_TYPE_HINT_NORMAL + GDK_GRAVITY_NORTH_WEST + True + False + False + + + + + + + True + False + 2 + + + True + GTK_BUTTONBOX_END + + + True + True + True + gtk-help + True + GTK_RELIEF_NORMAL + True + + + + + + True + Restore the default menu layout + True + True + gtk-revert-to-saved + True + GTK_RELIEF_NORMAL + True + + + + + + True + True + True + True + gtk-close + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + False + True + GTK_PACK_END + + + + + 5 + True + 0.5 + 0.5 + 1 + 1 + 0 + 0 + 0 + 0 + + + False + 6 + + + True + True + 200 + + + True + False + 6 + + + True + _Menus: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + menu_tree + PANGO_ELLIPSIZE_NONE + -1 + True + 0 + + + 0 + False + False + + + + + True + True + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + True + True + True + False + False + False + True + False + False + False + + + + + + + + 0 + True + True + + + + + True + False + + + + + True + False + 6 + + + True + It_ems: + True + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0.5 + 0 + 0 + item_tree + PANGO_ELLIPSIZE_NONE + -1 + True + 0 + + + 0 + False + False + + + + + True + False + 6 + + + True + True + GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC + GTK_SHADOW_IN + GTK_CORNER_TOP_LEFT + + + True + True + True + True + False + True + False + False + False + + + + + + + + + + + + + 0 + True + True + + + + + True + False + 6 + + + True + GTK_BUTTONBOX_START + 6 + + + True + True + True + GTK_RELIEF_NORMAL + True + + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 + + + True + False + 2 + + + True + gtk-new + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + True + _New Menu + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + + + + + + True + True + True + GTK_RELIEF_NORMAL + True + + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 + + + True + False + 2 + + + True + gtk-add + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + True + Ne_w Item + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + + + + + + True + True + True + New _Separator + True + GTK_RELIEF_NORMAL + True + + + + + + 0 + False + True + + + + + True + 0.5 + 0.5 + 1 + 1 + 12 + 0 + 0 + 0 + + + True + GTK_BUTTONBOX_START + 6 + + + True + True + True + GTK_RELIEF_NORMAL + True + + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 + + + True + False + 2 + + + True + gtk-go-up + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + True + Move Up + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + + + + + + True + True + True + GTK_RELIEF_NORMAL + True + + + + True + 0.5 + 0.5 + 0 + 0 + 0 + 0 + 0 + 0 + + + True + False + 2 + + + True + gtk-go-down + 4 + 0.5 + 0.5 + 0 + 0 + + + 0 + False + False + + + + + True + Move Down + True + False + GTK_JUSTIFY_LEFT + False + False + 0.5 + 0.5 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + False + False + + + + + + + + + + + + + 0 + True + True + + + + + 0 + False + True + + + + + 0 + True + True + + + + + True + True + + + + + 0 + True + True + + + + + + + 0 + True + True + + + + + + help_button + revert_button + close_button + + + + 5 + Revert Changes? + GTK_WINDOW_TOPLEVEL + GTK_WIN_POS_NONE + False + False + False + True + False + False + GDK_WINDOW_TYPE_HINT_DIALOG + GDK_GRAVITY_NORTH_WEST + True + False + False + + + True + False + 2 + + + True + GTK_BUTTONBOX_END + + + True + True + True + gtk-cancel + True + GTK_RELIEF_NORMAL + True + + + + + True + True + True + gtk-revert-to-saved + True + GTK_RELIEF_NORMAL + True + + + + + 0 + False + True + GTK_PACK_END + + + + + 5 + True + False + 8 + + + True + 6 + gtk-dialog-question + 0 + 0.5 + 0 + 0 + + + 0 + False + True + + + + + True + Revert all menus to original settings? + False + False + GTK_JUSTIFY_LEFT + False + False + 0 + 0 + 0 + 0 + PANGO_ELLIPSIZE_NONE + -1 + False + 0 + + + 0 + True + True + + + + + 0 + True + True + + + + + + cancel_revert_button + button2 + + + diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am new file mode 100644 index 0000000..49cfe86 --- /dev/null +++ b/data/icons/Makefile.am @@ -0,0 +1,81 @@ +NULL = + +public_icons_themes = \ + hicolor \ + $(NULL) + +public_icons = \ + hicolor_apps_16x16_alacarte.png \ + hicolor_apps_22x22_alacarte.png \ + hicolor_apps_24x24_alacarte.png \ + hicolor_apps_32x32_alacarte.png \ + hicolor_apps_48x48_alacarte.png \ + hicolor_apps_256x256_alacarte.png \ + $(NULL) + +private_icons = \ + $(NULL) + +noinst_DATA = \ + $(NULL) + +EXTRA_DIST = \ + $(public_icons) \ + $(private_icons) \ + $(noinst_DATA) \ + $(NULL) + +############################################################################### + +gtk_update_icon_cache = gtk-update-icon-cache -f -t + +update-icon-cache: + @-if test -z "$(DESTDIR)"; then \ + echo "Updating Gtk icon cache."; \ + for theme in $(public_icons_themes); do \ + $(gtk_update_icon_cache) $(datadir)/icons/$$theme; \ + done; \ + else \ + echo "*** Icon cache not updated. After (un)install, run this:"; \ + for theme in $(public_icons_themes); do \ + echo "*** $(gtk_update_icon_cache) $(datadir)/icons/$$theme"; \ + done; \ + fi + +install-icons: + for icon in $(public_icons); do \ + THEME=`echo $$icon | cut -d_ -f1`; \ + CONTEXT=`echo $$icon | cut -d_ -f2`; \ + SIZE=`echo $$icon | cut -d_ -f3`; \ + ICONFILE=`echo $$icon | cut -d_ -f4`; \ + mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \ + $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + done; \ + for icon in $(private_icons); do \ + THEME=`echo $$icon | cut -d_ -f1`; \ + CONTEXT=`echo $$icon | cut -d_ -f2`; \ + SIZE=`echo $$icon | cut -d_ -f3`; \ + ICONFILE=`echo $$icon | cut -d_ -f4`; \ + mkdir -p $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \ + $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + done + +uninstall-icons: + -for icon in $(public_icons); do \ + THEME=`echo $$icon | cut -d_ -f1`; \ + CONTEXT=`echo $$icon | cut -d_ -f2`; \ + SIZE=`echo $$icon | cut -d_ -f3`; \ + ICONFILE=`echo $$icon | cut -d_ -f4`; \ + rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + done; \ + for icon in $(private_icons); do \ + THEME=`echo $$icon | cut -d_ -f1`; \ + CONTEXT=`echo $$icon | cut -d_ -f2`; \ + SIZE=`echo $$icon | cut -d_ -f3`; \ + ICONFILE=`echo $$icon | cut -d_ -f4`; \ + rm -f $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + done + +install-data-local: install-icons update-icon-cache + +uninstall-local: uninstall-icons update-icon-cache diff --git a/data/icons/Makefile.in b/data/icons/Makefile.in new file mode 100644 index 0000000..b5886f7 --- /dev/null +++ b/data/icons/Makefile.in @@ -0,0 +1,439 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +subdir = data/icons +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +SOURCES = +DIST_SOURCES = +DATA = $(noinst_DATA) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALACARTE_CFLAGS = @ALACARTE_CFLAGS@ +ALACARTE_LIBS = @ALACARTE_LIBS@ +ALL_LINGUAS = @ALL_LINGUAS@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GMOFILES = @GMOFILES@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLLIBS = @INTLLIBS@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +INTLTOOL_MERGE = @INTLTOOL_MERGE@ +INTLTOOL_PERL = @INTLTOOL_PERL@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +LDFLAGS = @LDFLAGS@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGFMT_OPTS = @MSGFMT_OPTS@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PKG_CONFIG = @PKG_CONFIG@ +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ +POFILES = @POFILES@ +POSUB = @POSUB@ +PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ +PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ +PYTHON = @PYTHON@ +PYTHON2_4 = @PYTHON2_4@ +PYTHON2_5 = @PYTHON2_5@ +PYTHON2_6 = @PYTHON2_6@ +PYTHON2_7 = @PYTHON2_7@ +PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ +PYTHON_PLATFORM = @PYTHON_PLATFORM@ +PYTHON_PREFIX = @PYTHON_PREFIX@ +PYTHON_VERSION = @PYTHON_VERSION@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +XGETTEXT = @XGETTEXT@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build_alias = @build_alias@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host_alias = @host_alias@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +pkgpyexecdir = @pkgpyexecdir@ +pkgpythondir = @pkgpythondir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +pyexecdir = @pyexecdir@ +pythondir = @pythondir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +NULL = +public_icons_themes = \ + hicolor \ + $(NULL) + +public_icons = \ + hicolor_apps_16x16_alacarte.png \ + hicolor_apps_22x22_alacarte.png \ + hicolor_apps_24x24_alacarte.png \ + hicolor_apps_32x32_alacarte.png \ + hicolor_apps_48x48_alacarte.png \ + hicolor_apps_256x256_alacarte.png \ + $(NULL) + +private_icons = \ + $(NULL) + +noinst_DATA = \ + $(NULL) + +EXTRA_DIST = \ + $(public_icons) \ + $(private_icons) \ + $(noinst_DATA) \ + $(NULL) + + +############################################################################### +gtk_update_icon_cache = gtk-update-icon-cache -f -t +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/icons/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --gnu data/icons/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(DATA) +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-data-local + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-local + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-data-local install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-pdf install-pdf-am \ + install-ps install-ps-am install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am uninstall-local + + +update-icon-cache: + @-if test -z "$(DESTDIR)"; then \ + echo "Updating Gtk icon cache."; \ + for theme in $(public_icons_themes); do \ + $(gtk_update_icon_cache) $(datadir)/icons/$$theme; \ + done; \ + else \ + echo "*** Icon cache not updated. After (un)install, run this:"; \ + for theme in $(public_icons_themes); do \ + echo "*** $(gtk_update_icon_cache) $(datadir)/icons/$$theme"; \ + done; \ + fi + +install-icons: + for icon in $(public_icons); do \ + THEME=`echo $$icon | cut -d_ -f1`; \ + CONTEXT=`echo $$icon | cut -d_ -f2`; \ + SIZE=`echo $$icon | cut -d_ -f3`; \ + ICONFILE=`echo $$icon | cut -d_ -f4`; \ + mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \ + $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + done; \ + for icon in $(private_icons); do \ + THEME=`echo $$icon | cut -d_ -f1`; \ + CONTEXT=`echo $$icon | cut -d_ -f2`; \ + SIZE=`echo $$icon | cut -d_ -f3`; \ + ICONFILE=`echo $$icon | cut -d_ -f4`; \ + mkdir -p $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \ + $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + done + +uninstall-icons: + -for icon in $(public_icons); do \ + THEME=`echo $$icon | cut -d_ -f1`; \ + CONTEXT=`echo $$icon | cut -d_ -f2`; \ + SIZE=`echo $$icon | cut -d_ -f3`; \ + ICONFILE=`echo $$icon | cut -d_ -f4`; \ + rm -f $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + done; \ + for icon in $(private_icons); do \ + THEME=`echo $$icon | cut -d_ -f1`; \ + CONTEXT=`echo $$icon | cut -d_ -f2`; \ + SIZE=`echo $$icon | cut -d_ -f3`; \ + ICONFILE=`echo $$icon | cut -d_ -f4`; \ + rm -f $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + done + +install-data-local: install-icons update-icon-cache + +uninstall-local: uninstall-icons update-icon-cache + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/data/icons/hicolor_apps_16x16_alacarte.png b/data/icons/hicolor_apps_16x16_alacarte.png new file mode 100644 index 0000000..f5af1e1 Binary files /dev/null and b/data/icons/hicolor_apps_16x16_alacarte.png differ diff --git a/data/icons/hicolor_apps_22x22_alacarte.png b/data/icons/hicolor_apps_22x22_alacarte.png new file mode 100644 index 0000000..ef8d223 Binary files /dev/null and b/data/icons/hicolor_apps_22x22_alacarte.png differ diff --git a/data/icons/hicolor_apps_24x24_alacarte.png b/data/icons/hicolor_apps_24x24_alacarte.png new file mode 100644 index 0000000..a05f9f2 Binary files /dev/null and b/data/icons/hicolor_apps_24x24_alacarte.png differ diff --git a/data/icons/hicolor_apps_256x256_alacarte.png b/data/icons/hicolor_apps_256x256_alacarte.png new file mode 100644 index 0000000..9dc0a03 Binary files /dev/null and b/data/icons/hicolor_apps_256x256_alacarte.png differ diff --git a/data/icons/hicolor_apps_32x32_alacarte.png b/data/icons/hicolor_apps_32x32_alacarte.png new file mode 100644 index 0000000..f5cf104 Binary files /dev/null and b/data/icons/hicolor_apps_32x32_alacarte.png differ diff --git a/data/icons/hicolor_apps_48x48_alacarte.png b/data/icons/hicolor_apps_48x48_alacarte.png new file mode 100644 index 0000000..734f438 Binary files /dev/null and b/data/icons/hicolor_apps_48x48_alacarte.png differ diff --git a/install-sh b/install-sh new file mode 100755 index 0000000..6781b98 --- /dev/null +++ b/install-sh @@ -0,0 +1,520 @@ +#!/bin/sh +# install - install a program, script, or datafile + +scriptversion=2009-04-28.21; # UTC + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. + +nl=' +' +IFS=" "" $nl" + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit=${DOITPROG-} +if test -z "$doit"; then + doit_exec=exec +else + doit_exec=$doit +fi + +# Put in absolute file names if you don't have them in your path; +# or use environment vars. + +chgrpprog=${CHGRPPROG-chgrp} +chmodprog=${CHMODPROG-chmod} +chownprog=${CHOWNPROG-chown} +cmpprog=${CMPPROG-cmp} +cpprog=${CPPROG-cp} +mkdirprog=${MKDIRPROG-mkdir} +mvprog=${MVPROG-mv} +rmprog=${RMPROG-rm} +stripprog=${STRIPPROG-strip} + +posix_glob='?' +initialize_posix_glob=' + test "$posix_glob" != "?" || { + if (set -f) 2>/dev/null; then + posix_glob= + else + posix_glob=: + fi + } +' + +posix_mkdir= + +# Desired mode of installed file. +mode=0755 + +chgrpcmd= +chmodcmd=$chmodprog +chowncmd= +mvcmd=$mvprog +rmcmd="$rmprog -f" +stripcmd= + +src= +dst= +dir_arg= +dst_arg= + +copy_on_change=false +no_target_directory= + +usage="\ +Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: + --help display this help and exit. + --version display version info and exit. + + -c (ignored) + -C install only if different (preserve the last data modification time) + -d create directories instead of installing files. + -g GROUP $chgrpprog installed files to GROUP. + -m MODE $chmodprog installed files to MODE. + -o USER $chownprog installed files to USER. + -s $stripprog installed files. + -t DIRECTORY install into DIRECTORY. + -T report an error if DSTFILE is a directory. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG + RMPROG STRIPPROG +" + +while test $# -ne 0; do + case $1 in + -c) ;; + + -C) copy_on_change=true;; + + -d) dir_arg=true;; + + -g) chgrpcmd="$chgrpprog $2" + shift;; + + --help) echo "$usage"; exit $?;; + + -m) mode=$2 + case $mode in + *' '* | *' '* | *' +'* | *'*'* | *'?'* | *'['*) + echo "$0: invalid mode: $mode" >&2 + exit 1;; + esac + shift;; + + -o) chowncmd="$chownprog $2" + shift;; + + -s) stripcmd=$stripprog;; + + -t) dst_arg=$2 + shift;; + + -T) no_target_directory=true;; + + --version) echo "$0 $scriptversion"; exit $?;; + + --) shift + break;; + + -*) echo "$0: invalid option: $1" >&2 + exit 1;; + + *) break;; + esac + shift +done + +if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then + # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dst_arg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dst_arg" + shift # fnord + fi + shift # arg + dst_arg=$arg + done +fi + +if test $# -eq 0; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call `install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +if test -z "$dir_arg"; then + trap '(exit $?); exit' 1 2 13 15 + + # Set umask so as not to create temps with too-generous modes. + # However, 'strip' requires both read and write access to temps. + case $mode in + # Optimize common cases. + *644) cp_umask=133;; + *755) cp_umask=22;; + + *[0-7]) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw='% 200' + fi + cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; + *) + if test -z "$stripcmd"; then + u_plus_rw= + else + u_plus_rw=,u+rw + fi + cp_umask=$mode$u_plus_rw;; + esac +fi + +for src +do + # Protect names starting with `-'. + case $src in + -*) src=./$src;; + esac + + if test -n "$dir_arg"; then + dst=$src + dstdir=$dst + test -d "$dstdir" + dstdir_status=$? + else + + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dst_arg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + + dst=$dst_arg + # Protect names starting with `-'. + case $dst in + -*) dst=./$dst;; + esac + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test -n "$no_target_directory"; then + echo "$0: $dst_arg: Is a directory" >&2 + exit 1 + fi + dstdir=$dst + dst=$dstdir/`basename "$src"` + dstdir_status=0 + else + # Prefer dirname, but fall back on a substitute if dirname fails. + dstdir=` + (dirname "$dst") 2>/dev/null || + expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$dst" : 'X\(//\)[^/]' \| \ + X"$dst" : 'X\(//\)$' \| \ + X"$dst" : 'X\(/\)' \| . 2>/dev/null || + echo X"$dst" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q' + ` + + test -d "$dstdir" + dstdir_status=$? + fi + fi + + obsolete_mkdir_used=false + + if test $dstdir_status != 0; then + case $posix_mkdir in + '') + # Create intermediate dirs using mode 755 as modified by the umask. + # This is like FreeBSD 'install' as of 1997-10-28. + umask=`umask` + case $stripcmd.$umask in + # Optimize common cases. + *[2367][2367]) mkdir_umask=$umask;; + .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; + + *[0-7]) + mkdir_umask=`expr $umask + 22 \ + - $umask % 100 % 40 + $umask % 20 \ + - $umask % 10 % 4 + $umask % 2 + `;; + *) mkdir_umask=$umask,go-w;; + esac + + # With -d, create the new directory with the user-specified mode. + # Otherwise, rely on $mkdir_umask. + if test -n "$dir_arg"; then + mkdir_mode=-m$mode + else + mkdir_mode= + fi + + posix_mkdir=false + case $umask in + *[123567][0-7][0-7]) + # POSIX mkdir -p sets u+wx bits regardless of umask, which + # is incompatible with FreeBSD 'install' when (umask & 300) != 0. + ;; + *) + tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ + trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 + + if (umask $mkdir_umask && + exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 + then + if test -z "$dir_arg" || { + # Check for POSIX incompatibilities with -m. + # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or + # other-writeable bit of parent directory when it shouldn't. + # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. + ls_ld_tmpdir=`ls -ld "$tmpdir"` + case $ls_ld_tmpdir in + d????-?r-*) different_mode=700;; + d????-?--*) different_mode=755;; + *) false;; + esac && + $mkdirprog -m$different_mode -p -- "$tmpdir" && { + ls_ld_tmpdir_1=`ls -ld "$tmpdir"` + test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" + } + } + then posix_mkdir=: + fi + rmdir "$tmpdir/d" "$tmpdir" + else + # Remove any dirs left behind by ancient mkdir implementations. + rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null + fi + trap '' 0;; + esac;; + esac + + if + $posix_mkdir && ( + umask $mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" + ) + then : + else + + # The umask is ridiculous, or mkdir does not conform to POSIX, + # or it failed possibly due to a race condition. Create the + # directory the slow way, step by step, checking for races as we go. + + case $dstdir in + /*) prefix='/';; + -*) prefix='./';; + *) prefix='';; + esac + + eval "$initialize_posix_glob" + + oIFS=$IFS + IFS=/ + $posix_glob set -f + set fnord $dstdir + shift + $posix_glob set +f + IFS=$oIFS + + prefixes= + + for d + do + test -z "$d" && continue + + prefix=$prefix$d + if test -d "$prefix"; then + prefixes= + else + if $posix_mkdir; then + (umask=$mkdir_umask && + $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break + # Don't fail if two instances are running concurrently. + test -d "$prefix" || exit 1 + else + case $prefix in + *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; + *) qprefix=$prefix;; + esac + prefixes="$prefixes '$qprefix'" + fi + fi + prefix=$prefix/ + done + + if test -n "$prefixes"; then + # Don't fail if two instances are running concurrently. + (umask $mkdir_umask && + eval "\$doit_exec \$mkdirprog $prefixes") || + test -d "$dstdir" || exit 1 + obsolete_mkdir_used=true + fi + fi + fi + + if test -n "$dir_arg"; then + { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && + { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || + test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 + else + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + + # Copy the file name to the temp name. + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && + { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && + { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && + { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && + + # If -C, don't bother to copy if it wouldn't change the file. + if $copy_on_change && + old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && + new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && + + eval "$initialize_posix_glob" && + $posix_glob set -f && + set X $old && old=:$2:$4:$5:$6 && + set X $new && new=:$2:$4:$5:$6 && + $posix_glob set +f && + + test "$old" = "$new" && + $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 + then + rm -f "$dsttmp" + else + # Rename the file to the real destination. + $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || + + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + { + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + test ! -f "$dst" || + $doit $rmcmd -f "$dst" 2>/dev/null || + { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && + { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } + } || + { echo "$0: cannot unlink or rename $dst" >&2 + (exit 1); exit 1 + } + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dst" + } + fi || exit 1 + + trap '' 0 + fi +done + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/missing b/missing new file mode 100755 index 0000000..28055d2 --- /dev/null +++ b/missing @@ -0,0 +1,376 @@ +#! /bin/sh +# Common stub for a few missing GNU programs while installing. + +scriptversion=2009-04-28.21; # UTC + +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, +# 2008, 2009 Free Software Foundation, Inc. +# Originally by Fran,cois Pinard , 1996. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +if test $# -eq 0; then + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 +fi + +run=: +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' +sed_minuso='s/.* -o \([^ ]*\).*/\1/p' + +# In the cases where this matters, `missing' is being run in the +# srcdir already. +if test -f configure.ac; then + configure_ac=configure.ac +else + configure_ac=configure.in +fi + +msg="missing on your system" + +case $1 in +--run) + # Try to run requested program, and just exit if it succeeds. + run= + shift + "$@" && exit 0 + # Exit code 63 means version mismatch. This often happens + # when the user try to use an ancient version of a tool on + # a file that requires a minimum version. In this case we + # we should proceed has if the program had been absent, or + # if --run hadn't been passed. + if test $? = 63; then + run=: + msg="probably too old" + fi + ;; + + -h|--h|--he|--hel|--help) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an +error status if there is no known handling for PROGRAM. + +Options: + -h, --help display this help and exit + -v, --version output version information and exit + --run try to run the given command, and emulate it if it fails + +Supported PROGRAM values: + aclocal touch file \`aclocal.m4' + autoconf touch file \`configure' + autoheader touch file \`config.h.in' + autom4te touch the output file, or create a stub one + automake touch all \`Makefile.in' files + bison create \`y.tab.[ch]', if possible, from existing .[ch] + flex create \`lex.yy.c', if possible, from existing .c + help2man touch the output file + lex create \`lex.yy.c', if possible, from existing .c + makeinfo touch the output file + tar try tar, gnutar, gtar, then tar without non-portable flags + yacc create \`y.tab.[ch]', if possible, from existing .[ch] + +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and +\`g' are ignored when checking the name. + +Send bug reports to ." + exit $? + ;; + + -v|--v|--ve|--ver|--vers|--versi|--versio|--version) + echo "missing $scriptversion (GNU Automake)" + exit $? + ;; + + -*) + echo 1>&2 "$0: Unknown \`$1' option" + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 + ;; + +esac + +# normalize program name to check for. +program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + +# Now exit if we have it, but it failed. Also exit now if we +# don't have it and --version was passed (most likely to detect +# the program). This is about non-GNU programs, so use $1 not +# $program. +case $1 in + lex*|yacc*) + # Not GNU programs, they don't have --version. + ;; + + tar*) + if test -n "$run"; then + echo 1>&2 "ERROR: \`tar' requires --run" + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + exit 1 + fi + ;; + + *) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + # Could not run --version or --help. This is probably someone + # running `$TOOL --version' or `$TOOL --help' to check whether + # $TOOL exists and not knowing $TOOL uses missing. + exit 1 + fi + ;; +esac + +# If it does not exist, or fails to run (possibly an outdated version), +# try to emulate it. +case $program in + aclocal*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acinclude.m4' or \`${configure_ac}'. You might want + to install the \`Automake' and \`Perl' packages. Grab them from + any GNU archive site." + touch aclocal.m4 + ;; + + autoconf*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`${configure_ac}'. You might want to install the + \`Autoconf' and \`GNU m4' packages. Grab them from any GNU + archive site." + touch configure + ;; + + autoheader*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acconfig.h' or \`${configure_ac}'. You might want + to install the \`Autoconf' and \`GNU m4' packages. Grab them + from any GNU archive site." + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` + test -z "$files" && files="config.h" + touch_files= + for f in $files; do + case $f in + *:*) touch_files="$touch_files "`echo "$f" | + sed -e 's/^[^:]*://' -e 's/:.*//'`;; + *) touch_files="$touch_files $f.in";; + esac + done + touch $touch_files + ;; + + automake*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. + You might want to install the \`Automake' and \`Perl' packages. + Grab them from any GNU archive site." + find . -type f -name Makefile.am -print | + sed 's/\.am$/.in/' | + while read f; do touch "$f"; done + ;; + + autom4te*) + echo 1>&2 "\ +WARNING: \`$1' is needed, but is $msg. + You might have modified some files without having the + proper tools for further handling them. + You can get \`$1' as part of \`Autoconf' from any GNU + archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo "#! /bin/sh" + echo "# Created by GNU Automake missing as a replacement of" + echo "# $ $@" + echo "exit 0" + chmod +x $file + exit 1 + fi + ;; + + bison*|yacc*) + echo 1>&2 "\ +WARNING: \`$1' $msg. You should only need it if + you modified a \`.y' file. You may need the \`Bison' package + in order for those modifications to take effect. You can get + \`Bison' from any GNU archive site." + rm -f y.tab.c y.tab.h + if test $# -ne 1; then + eval LASTARG="\${$#}" + case $LASTARG in + *.y) + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.c + fi + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" y.tab.h + fi + ;; + esac + fi + if test ! -f y.tab.h; then + echo >y.tab.h + fi + if test ! -f y.tab.c; then + echo 'main() { return 0; }' >y.tab.c + fi + ;; + + lex*|flex*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.l' file. You may need the \`Flex' package + in order for those modifications to take effect. You can get + \`Flex' from any GNU archive site." + rm -f lex.yy.c + if test $# -ne 1; then + eval LASTARG="\${$#}" + case $LASTARG in + *.l) + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` + if test -f "$SRCFILE"; then + cp "$SRCFILE" lex.yy.c + fi + ;; + esac + fi + if test ! -f lex.yy.c; then + echo 'main() { return 0; }' >lex.yy.c + fi + ;; + + help2man*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a dependency of a manual page. You may need the + \`Help2man' package in order for those modifications to take + effect. You can get \`Help2man' from any GNU archive site." + + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo ".ab help2man is required to generate this page" + exit $? + fi + ;; + + makeinfo*) + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a \`.texi' or \`.texinfo' file, or any other file + indirectly affecting the aspect of the manual. The spurious + call might also be the consequence of using a buggy \`make' (AIX, + DU, IRIX). You might want to install the \`Texinfo' package or + the \`GNU make' package. Grab either from any GNU archive site." + # The file to touch is that specified with -o ... + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -z "$file"; then + # ... or it is the one specified with @setfilename ... + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` + file=`sed -n ' + /^@setfilename/{ + s/.* \([^ ]*\) *$/\1/ + p + q + }' $infile` + # ... or it is derived from the source name (dir/f.texi becomes f.info) + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info + fi + # If the file does not exist, the user really needs makeinfo; + # let's fail without touching anything. + test -f $file || exit 1 + touch $file + ;; + + tar*) + shift + + # We have already tried tar in the generic part. + # Look for gnutar/gtar before invocation to avoid ugly error + # messages. + if (gnutar --version > /dev/null 2>&1); then + gnutar "$@" && exit 0 + fi + if (gtar --version > /dev/null 2>&1); then + gtar "$@" && exit 0 + fi + firstarg="$1" + if shift; then + case $firstarg in + *o*) + firstarg=`echo "$firstarg" | sed s/o//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + case $firstarg in + *h*) + firstarg=`echo "$firstarg" | sed s/h//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + fi + + echo 1>&2 "\ +WARNING: I can't seem to be able to run \`tar' with the given arguments. + You may want to install GNU tar or Free paxutils, or check the + command line arguments." + exit 1 + ;; + + *) + echo 1>&2 "\ +WARNING: \`$1' is needed, and is $msg. + You might have modified some files without having the + proper tools for further handling them. Check the \`README' file, + it often tells you about the needed prerequisites for installing + this package. You may also peek at any GNU archive site, in case + some other package would contain this missing \`$1' program." + exit 1 + ;; +esac + +exit 0 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/mkinstalldirs b/mkinstalldirs new file mode 100755 index 0000000..4191a45 --- /dev/null +++ b/mkinstalldirs @@ -0,0 +1,162 @@ +#! /bin/sh +# mkinstalldirs --- make directory hierarchy + +scriptversion=2009-04-28.21; # UTC + +# Original author: Noah Friedman +# Created: 1993-05-16 +# Public domain. +# +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +nl=' +' +IFS=" "" $nl" +errstatus=0 +dirmode= + +usage="\ +Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... + +Create each directory DIR (with mode MODE, if specified), including all +leading file name components. + +Report bugs to ." + +# process command line arguments +while test $# -gt 0 ; do + case $1 in + -h | --help | --h*) # -h for help + echo "$usage" + exit $? + ;; + -m) # -m PERM arg + shift + test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } + dirmode=$1 + shift + ;; + --version) + echo "$0 $scriptversion" + exit $? + ;; + --) # stop option processing + shift + break + ;; + -*) # unknown option + echo "$usage" 1>&2 + exit 1 + ;; + *) # first non-opt arg + break + ;; + esac +done + +for file +do + if test -d "$file"; then + shift + else + break + fi +done + +case $# in + 0) exit 0 ;; +esac + +# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and +# mkdir -p a/c at the same time, both will detect that a is missing, +# one will create a, then the other will try to create a and die with +# a "File exists" error. This is a problem when calling mkinstalldirs +# from a parallel make. We use --version in the probe to restrict +# ourselves to GNU mkdir, which is thread-safe. +case $dirmode in + '') + if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + echo "mkdir -p -- $*" + exec mkdir -p -- "$@" + else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + test -d ./-p && rmdir ./-p + test -d ./--version && rmdir ./--version + fi + ;; + *) + if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && + test ! -d ./--version; then + echo "mkdir -m $dirmode -p -- $*" + exec mkdir -m "$dirmode" -p -- "$@" + else + # Clean up after NextStep and OpenStep mkdir. + for d in ./-m ./-p ./--version "./$dirmode"; + do + test -d $d && rmdir $d + done + fi + ;; +esac + +for file +do + case $file in + /*) pathcomp=/ ;; + *) pathcomp= ;; + esac + oIFS=$IFS + IFS=/ + set fnord $file + shift + IFS=$oIFS + + for d + do + test "x$d" = x && continue + + pathcomp=$pathcomp$d + case $pathcomp in + -*) pathcomp=./$pathcomp ;; + esac + + if test ! -d "$pathcomp"; then + echo "mkdir $pathcomp" + + mkdir "$pathcomp" || lasterr=$? + + if test ! -d "$pathcomp"; then + errstatus=$lasterr + else + if test ! -z "$dirmode"; then + echo "chmod $dirmode $pathcomp" + lasterr= + chmod "$dirmode" "$pathcomp" || lasterr=$? + + if test ! -z "$lasterr"; then + errstatus=$lasterr + fi + fi + fi + fi + + pathcomp=$pathcomp/ + done +done + +exit $errstatus + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: diff --git a/po/ChangeLog b/po/ChangeLog new file mode 100644 index 0000000..c18d535 --- /dev/null +++ b/po/ChangeLog @@ -0,0 +1,984 @@ +2009-04-04 Claude Paroz + + * LINGUAS: + * bem.po: Added Bemba translation on behalf of Katongo Musaluke. + +2009-03-18 Djihed Afifi + + * ar.po: Updated Arabic translation by Khaled Hosny. + +==================== 0.11.10 ==================== + +2009-03-16 Andre Klapper + + * crh.po: Updated Crimean Tatar translation by Reşat SABIQ. + +2009-03-13 Ignacio Casal Quinteiro + + * gl.po: Updated Galician translation + +2009-02-12 Jani Monoses + + * ro.po: Updated Romanian translation + by Adi Roiban + +2009-02-12 Claude Paroz + + * LINGUAS: + * crh.po: Added Crimean Tatar translation on behalf of Reşat SABIQ. + +2009-02-09 Gil Forcada + + * ast.po: Added Asturian translation on behalf of Mikel González. + * LINGUAS: Added ast. + +2009-02-06 Jani Monoses + + * ro.po: Updated Romanian translation + by Adi Roiban + +2009-02-01 Daniel Nylander + + * sv.po: Updated Swedish translation. + +2008-01-30 Chao-Hsiung Liao + + * zh_HK.po: Updated Traditional Chinese translation(Hong Kong). + * zh_TW.po: Updated Traditional Chinese translation(Taiwan). + +2009-01-06 Luca Ferretti + + * it.po: Updated Last Translator details by Milo Casagrande. + +2008-10-28 Claude Paroz + + * LINGUAS: + * kk.po: Added Kazakh translation on behalf of Margulan Moldabekov. + +2008-10-19 Djihed Afifi + + * ar.po: Updated Arabic Translation by Khaled Hosny. + +2008-10-7 Nikos Charonitakis + + * el.po: Updated Greek translation. + +==================== 0.11.6 ==================== + +2008-09-21 Og Maciel + + * pt_BR.po: Updated Brazilian Portuguese translation by Vladimir Melo. + +2008-09-18 Djihed Afifi + + * ar.po: Updated Arabic Translation by Khaled Hosny. + +2008-09-15 Djihed Afifi + + * ar.po: Updated Arabic Translation by Khaled Hosny. + +2008-09-08 Robert Sedak + + * hr.po: Updated Croatian translation. + +2008-09-07 Robert Sedak + + * hr.po: Added Croatian translation. + * LINGUAS: Added hr + +2008-08-30 Praveen Arimbrathodiyil + + * ml.po: Updated Malayalam translation + +2008-08-25 Tomasz Dominikowski + + * pl.po: Updated Polish translation + + +2008-08-25 Goran Rakic + + * LINGUAS, sr@latin.po, sr@Latn.po: Conversion from sr@Latn to sr@latin. + +2008-08-20 Manoj Kumar Giri + + * or.po: Updated Oriya Translation. + +2008-08-08 Simos Xenitellis + + * el.po: Updated Greek translation. + +2008-08-6 Djihed Afifi + + * ar.po: Updated Arabic Translation by Khaled Hosny. + +2008-08-04 Marcel Telka + + * sk.po: Added Slovak translation. + * LINGUAS: Added sk. + +2008-07-29 Djihed Afifi + + * ar.po: Updated Arabic Translation by Khaled Hosny. + +2008-07-20 Leonardo Ferreira Fontenelle + + * pt_BR.po: Brazilian Portuguese translation improvements by Vladimir + Melo. + +2008-07-19 Gil Forcada + + * ps.po: Added Pashto translation by Zabeeh khan. + * LINGUAS: Added ps. + +2008-07-02 Yannig Marchegay + + * oc.po: Updated Occitan translation. + +2008-06-11 Djihed Afifi + + * ar.po: Updated Arabic Translation by Khaled Hosny. + +2008-05-22 Djihed Afifi + + * ar.po: Updated Arabic Translation by Khaled Hosny. + +2008-05-19 Djihed Afifi + + * ar.po: Updated Arabic Translation by Khaled Hosny. + +2008-04-08 Gabor Kelemen + + * hu.po: Translation updated + +2008-04-06 Nickolay V. Shmyrev + + * ru.po: Updated Russian translation. + +2008-03-11 Gil Forcada + + * fur.po: Added Friulian translation on behalf of Massimo Furlani. + * LINGUAS: Added fur. + Part of #521746. + +2008-03-05 Stéphane Raimbault + + * fr.po: Updated French translation. + +2008-03-03 Rahul Bhalerao + + * mr.po: Updated Marathi translations from Sandeep Shedmake. + +2008-03-03 Takeshi AIHANA + + * ja.po: Fixed wrong translations. + +2008-02-29 Jorge Gonzalez + + * es.po: Updated Spanish translation + +2008-02-17 Kjartan Maraas + + * POTFILES.in: Remove generated file. + * POTFILES.skip: Add it here. + * nb.po: Update. + +2008-01-31 Djihed Afifi + + * ar.po: Updated Arabic Translation by Khaled Hosny. + +2008-01-14 Amitakhya Phukan + + * as.po: Updated assamese translations. + +2008-01-12 Djihed Afifi + + * ar.po: Updated Arabic Translation by Khaled Hosny. + +2007-12-31 Yannig Marchegay + + * oc.po: Updated Occitan translation. + +2007-12-28 Inaki Larranaga Murgoitio + + * eu.po: Updated Basque translation. + +2007-12-16 Pramod Raghavendra + + * kn.po: Added Kannada translation from + Ragavendra BN and + Shankar Prasad + + +2007-12-08 Kjartan Maraas + + * nb.po: Updated Norwegian bokmål translation + * nn.po: Added Norwegian nynorsk translation from + Eskild Hustvedt + +2007-11-30 Seán de Búrca + + * ga.po: Added Irish translation. + * LINGUAS: Added Irish. + +2007-11-16 ahmad riza h nst + + * id.po: Added Indonesian translation. + * LINGUAS: Added id. + +2007-11-13 Matej Urbančič + + * sl.po: Updated Slovenian Translation. + +2007-10-23 Djihed Afifi + + * ar.po: Updated Arabic Translation by Djihed Afifi. + +2007-10-21 Djihed Afifi + + * ar.po: Updated Arabic Translation by Djihed Afifi. + +2007-10-21 Djihed Afifi + + * ar.po: Updated Arabic Translation by Djihed Afifi. + +2007-10-02 Michael Terry + + * LINGUAS, io.po: Add Ido translation. + +2007-09-16 Amitakhya Phukan + + * as.po: Updated Assamese Translations. + +2007-09-14 Khandakar Mujahidul Islam + + * bn.po: Updated Bengali Translation. + +2007-09-13 Djihed Afifi + + * ar.po: Updated Arabic Translation by Djihed Afifi. + +2007-09-13 Djihed Afifi + + * ar.po: Updated Arabic Translation by Djihed Afifi. + +2007-09-05 Claude Paroz + + * LINGUAS: Added uz@cyrillic. + * uz@cyrillic.po: Added Uzbek translation on behalf of Nurali + Abdurahmonov . Fixes #473831. + +2007-09-05 Kjartan Maraas + + * nb.po: Updated with correct header information. + +2007-09-03 Ignacio Casal Quinteiro + + * gl.po: Updated Galician Translation. + +2007-08-15 Adam Weinberger + + * en_CA.po: Updated Canadian English translation. + +2007-08-05 Sunil Mohan Adapa + + * te.po: Updated Telugu translation done by + Bharath Kumar . + +2007-07-16 Ilkka Tuohela + + * fi.po: Updated Finnish translation. + +2007-06-25 Ani Peter + + * ml.po: Updated Malayalam translation + +2007-06-17 Raivis Dejus + + * lv.po: Updated Latvian Translation. + +2007-06-04 I Felix + + * ta.po: Updated Tamil Translation. + +2007-05-22 Yair Hershkovitz + + * he.po: Updated Hebrew translation. + +2007-04-20 Jakub Friedl + + * cs.po: Revised and updated Czech translation + +2007-04-15 Christophe Merlet + + * oc.po: Added Occitan translation by + Yannig MARCHEGAY (Kokoyaya) . + * LINGUAS: Added "oc". + +2007-04-02 Josep Puigdemont i Casamajó + + * ca.po: Updated Catalan translation by + David Planella . + +2007-03-30 Inaki Larranaga Murgoitio + + * eu.po: Updated Basque translation. + +2007-03-25 Ignacio Casal Quinteiro + + * gl.po: Updated Galician Translation. + +2007-03-21 Pema Geyleg + + * dz.po: Updated Dzongkha Translation. + +2007-03-20 Nguyễn Thái Ngọc Duy + + * vi.po: Updated Vietnamese translation by Phạm Thành Long + + +2007-03-13 Laurent Dhima + + * sq.po: Updated Albanian translation. + +2007-03-12 Baris Cicek + + * tr.po: Updated Turkish Translation + +2007-03-10 Ihar Hrachyshka + + * be@latin.po: Fixed Belarusian Latin translation. + +2007-03-09 Ihar Hrachyshka + + * be@latin.po: Added new Belarusian Latin translation. + +2007-03-09 Gabor Kelemen + + * hu.po: Translation updated. + +2007-03-07 Simos Xenitellis + + * el.po: Updated Greek translation. + +2007-03-06 Thierry Randrianiriana + + * mg.po: Updated Malagasy translation. + +2007-03-06 Goran Rakić + + * sr.po, sr@Latn.po: Updated Serbian translation. + +2007-03-05 Runa Bhattacharjee + + * bn_IN.po: Updated Bengali India Translation. + +2007-03-04 Gintautas Miliauskas + + * lt.po: Updated Lithuanian translation. + +2007-03-04 Luca Ferretti + + * it.po: Updated Italian translation by Milo Casagrande. + +2007-03-03 Vincent van Adrighem + + * nl.po: Translation updated by Tino Meinen. + +2007-03-03 Vincent van Adrighem + + * nl.po: Translation added by Tino Meinen. + +2007-03-03 Vincent van Adrighem + + * nl.po: Translation added by Tino Meinen. + +2007-03-03 Wouter Bolsterlee + + * nl.po: Dutch Translation updated by Wouter Bolsterlee. + +2007-03-01 Ankit Patel + + * gu.po: Updated Gujarati Translation. + +2007-02-28 Matic Zgur + + * sl.po: Updated Slovenian translation. + +2007-02-28 Funda Wang + + * zh_CN.po: Updated Simplified Chinese translation. + +2007-02-27 Gintautas Miliauskas + + * lt.po: Updated Lithuanian translation. + +2007-02-25 Changwoo Ryu + + * ko.po: Added Korean translation. + +2007-02-21 Alexander Shopov + + * bg.po: Updated Bulgarian translation by + Vladimir Petkov + +2007-02-21 Chao-Hsiung Liao + + * zh_HK.po: Updated Traditional Chinese translation(Hong Kong). + * zh_TW.po: Updated Traditional Chinese translation(Taiwan). + +2007-02-21 Hendrik Richter + + * de.po: Updated German translation. + +2007-02-20 Roberto Majadas + + * es.po Updated Spanish translation + +2007-02-19 Maxim Dziumanenko + + * uk.po: Updated Ukrainian translation. + +2007-02-19 Nguyễn Thái Ngọc Duy + + * vi.po: Updated Vietnamese translation. + +2007-02-19 Artur Flinta + + * pl.po: Updated Polish translation by MATE PL Team. + +2007-02-18 Lasse Bang Mikkelsen + + * da.po: Updated Danish translation by Peter Bach. + +2007-02-18 Takeshi AIHANA + + * ja.po: Updated Japanese translation. + +2007-02-18 Priit Laes + + * et.po: Updated Estonian translation by Ivar Smolin . + +2007-02-16 David Lodge + + * en_GB.po: Updated English (British) translation + +2007-02-16 Djihed Afifi + + * ar.po: Updated Arabic Translation by Djihed Afifi. + +2007-02-15 Leonid Kanter + + * ru.po: Updated Russian translation + +2007-02-15 Duarte Loreto + + * pt.po: Updated Portuguese translation. + +2007-02-14 Kjartan Maraas + + * nb.po: Updated Norwegian bokmål translation. + +2007-02-14 Leonardo Ferreira Fontenelle + + * pt_BR.po: Updated Brazilian Portuguese translation. + +2007-02-14 Ilkka Tuohela + + * fi.po: Updated Finnish translation. + +2007-02-13 Stéphane Raimbault + + * fr.po: Updated French translation. + +2007-02-13 Josep Puigdemont i Casamajó + + * ca.po: Updated Catalan translation. + +2007-01-12 Daniel Nylander + + * sv.po: Updated Swedish translation. + +==================== 0.11.3 ==================== + +2007-02-12 Ihar Hrachyshka + + * be.po: Updated Belarusian translation. + +2007-02-12 Theppitak Karoonboonyanan + + * th.po: Updated Thai translation. + +2007-02-8 Djihed Afifi + + * ar.po: Updated Arabic Translation by Khaled Hosny. + +2007-02-08 Josep Puigdemont i Casamajó + + * ca.po: Updated Catalan translation. + +2007-02-06 Vincent van Adrighem + + * nl.po: Dutch translation updated by Tino Meinen. + +2007-02-04 Stéphane Raimbault + + * fr.po: Updated French translation by Robert-André Mauchin. + +2007-02-03 Ihar Hrachyshka + + * be.po: Added Belarusian translation. + +2007-01-30 Duarte Loreto + + * pt.po: Updated Portuguese translation. + +2007-01-29 Alessio Frusciante + + * it.po: Updated Italian translation by + Milo Casagrande . + +2007-01-28 Martin Willemoes Hansen + + * da.po: Updated Danish translation. + +2007-01-26 Hendrik Richter + + * de.po: Updated German translation. + +2007-01-25 Daniel Nylander + + * sv.po: Updated Swedish translation. + +2007-01-24 Pema Geyleg + + * dz.po: Updated Dzongkha Translation. + +2007-01-19 Gabor Kelemen + + * hu.po: Translation updated. + +2007-01-16 Yair Hershkovitz + + * he.po: Updated Hebrew translation. + +2007-01-07 Priit Laes + + * et.po: Estonian translation update by Ivar Smolin. + +2007-01-05 Matic Zgur + + * sl.po: Updated Slovenian translation. + +2007-01-05 Clytie Siddall + + * vi.po: Updated Vietnamese translation. + +2007-01-04 Alexander Shopov + + * bg.po: Updated Bulgarian translation by + Vladimir Petkov + +2007-01-04 Guilherme de S. Pastore + + * pt_BR.po: Updated Brazilian Portuguese translation by Og Maciel. + +2007-01-3 Djihed Afifi + + * ar.po: Updated Arabic Translation by Khaled Hosny. + +2007-01-02 Jovan Naumovski + + * mk.po: Updated Macedonian translation. + +2006-12-29 Adam Weinberger + + * LINGUAS: Added en_CA. + * en_CA.po: Added Canadian English translation. + +2006-12-29 Theppitak Karoonboonyanan + + * th.po: Updated Thai translation. + +2006-12-28 David Lodge + + * en_GB.po: Updated English (British) translation + +2006-12-28 Daniel Nylander + + * sv.po: Updated Swedish translation. + +2006-12-27 Djihed Afifi + + * ar.po: Updated Arabic Translation. + +2006-12-27 Kjartan Maraas + + * POTFILES.in: Add missing files. + * POTFILES.skip: Add alacarte.desktop.in + * nb.po: Updated Norwegian bokmål translation. + +2006-12-24 Djihed Afifi + + * ar.po: Updated Arabic Translation. + +2006-12-19 Mugurel Tudor + + * ro.po: Added Romanian translation by + Alexandru Szasz + * LINGUAS: Added Romanian "ro". + +2006-12-08 Kjartan Maraas + + * nb.po: Updated Norwegian bokmål translation. + +2006-11-24 Laurent Dhima + + * sq.po: Updated Albanian translation. + +2006-11-24 Djihed Afifi" + + * ar.po: Updated Arabic Translation. + +2006-11-21 Ilkka Tuohela + + * fi.po: Updated Finnish translation. + +2006-11-19 Wouter Bolsterlee + + * pl.po: Translation updated by Artur Flinta. + +2006-10-30 Djihed Afifi + + * ar.po Added Arabic Translation. + +2006-10-25 Ilkka Tuohela + + * fi.po: Updated Finnish translation. + +2006-10-15 Francisco Javier F. Serrador + + * eo.po: Added Esperanto translation by Dominic Pellè + * LINGUAS: Added Esperanto 'eo'. + +2006-10-06 Thierry Randrianiriana + + * mg: Added Malagasy translation. + * LINGUAS: Added Malagasy 'mg'. + +2006-09-27 Runa Bhattacharjee + + * si.po: Added Sinhala Translation by Tyronne Wickramaratne. + * LINGUAS: Added Sinhala "si" to the list of languages. + +2006-09-26 Runa Bhattacharjee + + * bn_IN.po: Fixed some typos. + +2006-09-19 Guntupalli Karunakar + + * as.po: Added Assamese "as" translation. + * LINGUAS: Added Assamese "as". + +2006-09-17 Alessio Frusciante + + * it.po: Updated Italian translation by + Milo Casagrande . + +2006-09-13 Sunil Mohan Adapa + + * te.po: Added Telugu "te" translation. + * LINGUAS: Added Telugu "te". + +2006-09-12 Martin Willemoes Hansen + + * da.po: Added Danish translation. + * LINGUAS: Added "da" Danish translation. + +2006-09-11 David Lodge + + * en_GB.po: Updated British (English) translation. + * LINGUAS: Added translation + +2006-09-09 Alexander Shopov + + * bg.po: Updated Bulgarian translation by + Vladimir Petkov + +2006-09-05 Priit Laes + + * et.po: Translation updated by Ivar Smolin. + +2006-09-04 Alessio Frusciante + + * LINGUAS: Added "it" (Italian). + * it.po: Added Italian translation. + +2006-09-04 Abel Cheung + + * zh_HK.po: Updated Chinese (Hong Kong) translation. + * zh_TW.po: Updated Chinese (Taiwan) translation. + +2006-09-04 Roozbeh Pournader + + * fa.po: Add Persian translation (by Meelad Zakaria). + +2006-09-03 Josep Puigdemont i Casamajó + + * ca.po: Updated Catalan translation. + +2006-09-02 Yair Hershkovitz + + * LINGUAS: Added Hebrew translation. + * he.po: Added Hebrew translation. + +2006-09-01 Abel Cheung + + * LINGUAS: Add missing entries + +2006-08-31 Danilo Šegan + + * sr.po, sr@Latn.po: Added Serbian. + * LINGUAS: Added Serbian (sr, sr@Latn). + +2006-08-29 Rajesh Ranjan + + * hi.po: Updated Hindi Translation. + +2006-08-27 Baris Cicek + + * tr.po: Added Turkish Translation from Volkan Guney + * LINGUAS: Added Turkish(tr) + +2006-08-27 Gabor Kelemen + + * hu.po: Translation updated. + +2006-08-22 Daniel Nylander + + * sv.po: Updated Swedish translation. + +2006-08-19 Duarte Loreto + + * pt.po: Added Portuguese translation. + * LINGUAS: Added entry for Portuguese (pt). + +2006-08-18 Erdal Ronahî + + * ku.po: Added Kurdish translation + * LINGUAS: Added Entry for Kurdish (ku). + +2006-08-17 Vladimer Sichinava + + * ka.po: Added Georgian translation. + * LINGUAS: Added entry for Georgian (ka). + +2006-08-16 Artur Flinta + + * pl.po: Updated Polish translation by MATE PL Team. + * LINGUAS: Added entry for Polish (pl). + +2006-08-14 Sanlig Badral + + * mn.po: Updated Mongolian translation. + * LINGUAS: Added entry for Mongolian (mn). + +2006-08-13 Rahul Bhalerao + + * LINGUAS: Added entry for Marathi(mr) + * mr.po: Updated Marathi translations + +2006-08-12 Changwoo Ryu + + * ko.po: Added Korean translation. + * LINGUAS: Added ko to the list of languages. + +2006-08-11 Clytie Siddall + + * vi.po: Added Vietnamese translation. + * LINGUAS: Added vi to the list of languages. + +2006-08-11 Subhransu Behera + + * or.po: Added and Updated Oriya Translation. + * LINGUAS: Added Oriya to The List of Languages. + +2006-08-11 Josep Puigdemont i Casamajó + + * ca.po: Updated Catalan translation. + +2006-08-09 Maxim Dziumanenko + + * uk.po: Added Ukrainian translation. + +2006-08-07 Inaki Larranaga + + * eu.po: Fixed some typo. + +2006-08-06 Gabor Kelemen + + * hu.po: Translation added. + +2006-08-06 Ani Peter + + * ml.po: Translation added + * LINGUAS: Added Malayalam (ml.po) to the list of Languages +2006-08-05 Priit Laes + + * et.po: Translation added. + * LINGUAS: Added 'et' + +2006-08-03 Jovan Naumovski + + * sl.po: Added Slovenian translation by Matic Žgur. + * LINGUAS: Added 'sl' + +2006-08-02 Kjartan Maraas + + * nb.po: Added Norwegian bokmål translation. + +2006-08-01 Leonid Kanter + + * ru.po: Added Russian translation + * LINGUAS: Added "ru" + +2006-07-31 Hendrik Brandt + + * de.po: Added Beni's mail-address. + +2006-07-30 Hendrik Brandt + + * de.po: Added German translation by Beni Goll. + +2006-07-26 Raivis Dejus + + * lv.po: Added Latvian translation. + * LINGUAS: Added 'lv' + +2006-07-24 Satoru SATOH + + * ja.po: Added Japanse translation. + * LINGUAS: Added ja + +2006-07-21 Josep Puigdemont i Casamajó + + * ca.po: Added Catalan translation by + Esteve Blanch Sanmartí + * LINGUAS: Added ca + +2006-07-17 Benoît Dejean + + * fr.po: Updated French translation. + +2006-07-17 Benoît Dejean + + * LINGUAS: + * fr.po: Added French translation. + +2006-07-10 Kostas Papadimas + + * el.po: Added Greek translation. + * LINGUAS: Added el +2006-07-09 Alexander Shopov + + * bg.po: Updated Bulgarian translation by + Stanimir Djevelekov and + Alexander Shopov + * LINGUAS: Added bg (Bulgarian) + +2006-07-09 Chao-Hsiung Liao + + * zh_HK.po: Added Traditional Chinese translation(Hong Kong). + * zh_TW.po: Added Traditional Chinese translation(Taiwan). + * LINGUAS: Added "zh_HK" "zh_TW". + +2006-07-08 Raphael Higino + + * pt_BR.po: Updated Brazilian Portuguese translation. + +2006-07-06 Inaki Larranaga + + * eu.po: Added Basque translation. + * LINGUAS: Added "eu" (Basque) to the list of languages. + +2006-07=04 Runa Bhattacharjee + + * bn_IN.po: Updated Bengali India Translation. + +2006-07-03 Runa Bhattacharjee + + * bn_IN.po: Added Bengali India Translation + * LINGUAS: Added Bengali India (bn_IN) to the list of languages. + +2006-07-01 Ilkka Tuohela + + * fi.po: Added Finnish translation. + +2006-07-01 Lukas Novotny + + * cs.po: Added Czech translation. + * LINGUAS: Added 'cs' to the list. + +2006-06-29 Guntupalli Karunakar + + * dz.po: Added Dzongkha translation by Dzonkhalinux team + * LINGUAS: Added 'dz' to the list. + +2006-06-29 Rajesh Ranjan + * hi.po: Added Hindi Translation + * LINUGAS: Added 'hi' to the list. + +2006-06-25 Vincent van Adrighem + + * nl.po: Translation added by Tino Meinen. + +2006-06-24 Runa Bhattacharjee + * bn.po: Added Bengali Translation by Khandakar Mujahidul Islam [suzan@bengalinux.org] + * LINUGAS: Added 'bn' to the list. + +2006-06-21 Jovan Naumovski + + * mk.po: Added Macedonian Translation + * LINGUAS: Added 'mk' to the list. + +2006-06-19 I Felix + + * ta.po: Added Tamil Translation + * LINGUAS: Added 'ta' to the list. + +2006-06-18 Gintautas Miliauskas + + * lt.po: Added Lithuanian Translation + * LINGUAS: Added 'lt' to the list. + +2006-06-15 Ignacio Casal Quinteiro + + * gl.po: Updated Galician Translation + +2006-06-15 Theppitak Karoonboonyanan + + * th.po: Added Thai translation by + Roys Hengwatanakul . + * LINGUAS: Added 'th' to the list. + +2006-06-14 Francisco Javier F. Serrador + + * es.po: Added Spanish translation + * LINGUAS: Added 'es' to the list. + +2006-06-14 Ankit Patel + + * gu.po: Added Gujarati Translation. + * LINGUAS: Added 'gu' to the list. + +2006-06-14 Ignacio Casal Quinteiro + + * gl.po, LINGUAS: Added Galician Translation. + +2006-06-12 Funda Wang + + * zh_CN.po: Added Simplified Chinese translation. + +2006-06-11 Christian Rose + + * .cvsignore: Added more entries. + * LINGUAS, sv.po: Added Swedish translation. diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 0000000..caa3102 --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1,91 @@ +#please keep this list sorted alphabetically +# +an +as +ast +ar +be +be@latin +bem +bg +bn +bn_IN +br +ca +ca@valencia +crh +cs +cy +da +de +dz +el +en_CA +en_GB +en@shaw +eo +es +et +eu +fa +fi +fr +fur +fy +ga +gl +gu +he +hi +hr +hu +hy +id +io +it +ja +ka +kk +kn +ko +ku +lt +lv +mai +mg +mk +ml +mn +mr +ms +nb +nds +nl +nn +oc +or +pa +pl +ps +pt +pt_BR +ro +ru +si +sk +sl +sq +sr +sr@latin +sv +ta +te +th +tr +ug +uk +uz@cyrillic +vi +zh_CN +zh_HK +zh_TW diff --git a/po/Makefile.in.in b/po/Makefile.in.in new file mode 100644 index 0000000..cc8a222 --- /dev/null +++ b/po/Makefile.in.in @@ -0,0 +1,217 @@ +# Makefile for program source directory in GNU NLS utilities package. +# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper +# Copyright (C) 2004-2008 Rodney Dawes +# +# This file may be copied and used freely without restrictions. It may +# be used in projects which are not available under a GNU Public License, +# but which still want to provide support for the GNU gettext functionality. +# +# - Modified by Owen Taylor to use GETTEXT_PACKAGE +# instead of PACKAGE and to look for po2tbl in ./ not in intl/ +# +# - Modified by jacob berkman to install +# Makefile.in.in and po2tbl.sed.in for use with glib-gettextize +# +# - Modified by Rodney Dawes for use with intltool +# +# We have the following line for use by intltoolize: +# INTLTOOL_MAKEFILE + +GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ + +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +top_builddir = @top_builddir@ +VPATH = @srcdir@ + +prefix = @prefix@ +exec_prefix = @exec_prefix@ +datadir = @datadir@ +datarootdir = @datarootdir@ +libdir = @libdir@ +DATADIRNAME = @DATADIRNAME@ +itlocaledir = $(prefix)/$(DATADIRNAME)/locale +subdir = po +install_sh = @install_sh@ +# Automake >= 1.8 provides @mkdir_p@. +# Until it can be supposed, use the safe fallback: +mkdir_p = $(install_sh) -d + +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ + +GMSGFMT = @GMSGFMT@ +MSGFMT = @MSGFMT@ +XGETTEXT = @XGETTEXT@ +INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ +INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ +MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist +GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot + +ALL_LINGUAS = @ALL_LINGUAS@ + +PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) + +USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) + +USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) + +POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) + +DISTFILES = Makefile.in.in POTFILES.in $(POFILES) +EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS + +POTFILES = \ +# This comment gets stripped out + +CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) + +.SUFFIXES: +.SUFFIXES: .po .pox .gmo .mo .msg .cat + +.po.pox: + $(MAKE) $(GETTEXT_PACKAGE).pot + $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox + +.po.mo: + $(MSGFMT) -o $@ $< + +.po.gmo: + file=`echo $* | sed 's,.*/,,'`.gmo \ + && rm -f $$file && $(GMSGFMT) -o $$file $< + +.po.cat: + sed -f ../intl/po2msg.sed < $< > $*.msg \ + && rm -f $@ && gencat $@ $*.msg + + +all: all-@USE_NLS@ + +all-yes: $(CATALOGS) +all-no: + +$(GETTEXT_PACKAGE).pot: $(POTFILES) + $(GENPOT) + +install: install-data +install-data: install-data-@USE_NLS@ +install-data-no: all +install-data-yes: all + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ + $(mkdir_p) $$dir; \ + if test -r $$lang.gmo; then \ + $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ + echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ + else \ + $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ + echo "installing $(srcdir)/$$lang.gmo as" \ + "$$dir/$(GETTEXT_PACKAGE).mo"; \ + fi; \ + if test -r $$lang.gmo.m; then \ + $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ + echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ + else \ + if test -r $(srcdir)/$$lang.gmo.m ; then \ + $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ + $$dir/$(GETTEXT_PACKAGE).mo.m; \ + echo "installing $(srcdir)/$$lang.gmo.m as" \ + "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ + else \ + true; \ + fi; \ + fi; \ + done + +# Empty stubs to satisfy archaic automake needs +dvi info ctags tags CTAGS TAGS ID: + +# Define this as empty until I found a useful application. +install-exec installcheck: + +uninstall: + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ + rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ + done + +check: all $(GETTEXT_PACKAGE).pot + rm -f missing notexist + srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m + if [ -r missing -o -r notexist ]; then \ + exit 1; \ + fi + +mostlyclean: + rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp + rm -f .intltool-merge-cache + +clean: mostlyclean + +distclean: clean + rm -f Makefile Makefile.in POTFILES stamp-it + rm -f *.mo *.msg *.cat *.cat.m *.gmo + +maintainer-clean: distclean + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + rm -f Makefile.in.in + +distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) +dist distdir: $(DISTFILES) + dists="$(DISTFILES)"; \ + extra_dists="$(EXTRA_DISTFILES)"; \ + for file in $$extra_dists; do \ + test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ + done; \ + for file in $$dists; do \ + test -f $$file || file="$(srcdir)/$$file"; \ + ln $$file $(distdir) 2> /dev/null \ + || cp -p $$file $(distdir); \ + done + +update-po: Makefile + $(MAKE) $(GETTEXT_PACKAGE).pot + tmpdir=`pwd`; \ + linguas="$(USE_LINGUAS)"; \ + for lang in $$linguas; do \ + echo "$$lang:"; \ + result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ + if $$result; then \ + if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.gmo failed!"; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi; \ + done + +Makefile POTFILES: stamp-it + @if test ! -f $@; then \ + rm -f stamp-it; \ + $(MAKE) stamp-it; \ + fi + +stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ + $(SHELL) ./config.status + +# Tell versions [3.59,3.63) of GNU make not to export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/po/POTFILES.in b/po/POTFILES.in new file mode 100644 index 0000000..9cd7e73 --- /dev/null +++ b/po/POTFILES.in @@ -0,0 +1,5 @@ +[encoding: UTF-8] +Alacarte/MainWindow.py +Alacarte/MenuEditor.py +data/alacarte.desktop.in.in +[type: gettext/glade]data/alacarte.ui diff --git a/po/POTFILES.skip b/po/POTFILES.skip new file mode 100644 index 0000000..e418131 --- /dev/null +++ b/po/POTFILES.skip @@ -0,0 +1 @@ +data/alacarte.desktop.in diff --git a/po/an.po b/po/an.po new file mode 100644 index 0000000..f97a1a7 --- /dev/null +++ b/po/an.po @@ -0,0 +1,81 @@ +# Aragonese translation for alacarte. +# Copyright (C) 2010 alacarte's COPYRIGHT HOLDER +# This file is distributed under the same license as the alacarte package. +# Daniel Martinez Cucalon , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte master\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?" +"product=alacarte&component=general\n" +"POT-Creation-Date: 2010-04-24 20:36+0000\n" +"PO-Revision-Date: 2010-04-24 20:36+0000\n" +"Last-Translator: Daniel Martinez Cucalon \n" +"Language-Team: Aragonese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "Nome" + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "Amostrar" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "Elemento" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Cambea as aplicacions que s'amostran en o menu prencipal" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Menu prencipal" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "_Elementos" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Baixar" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Puyar" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "Nue_vo elemento" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "Nuevo _separador" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "Restaurar o menu por defecto" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Revertir cambeos?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Revertir os cambeos de toz os menus a l'orichinal?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Menus:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "_Nuevo menu" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "_Revertir a l'orichinal" diff --git a/po/ar.po b/po/ar.po new file mode 100644 index 0000000..759b568 --- /dev/null +++ b/po/ar.po @@ -0,0 +1,85 @@ +# translation of alacarte.HEAD.po to Arabic +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Yousef Raffah , 2006. +# Khaled Hosny , 2006, 2008. +msgid "" +msgstr "" +"Project-Id-Version: alacarte.HEAD\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?" +"product=alacarte&component=general\n" +"POT-Creation-Date: 2009-03-17 14:20+0000\n" +"PO-Revision-Date: 2008-05-26 01:20+0300\n" +"Last-Translator: Khaled Hosny \n" +"Language-Team: Arabic \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " +"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "الاسم" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "أظهر" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "عنصر" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "غيّر التطبيقات التي ستظهر في القائمة الرئيسيّة" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.glade.h:2 +msgid "Main Menu" +msgstr "القائمة الرئيسية" + +#: ../data/alacarte.glade.h:1 +msgid "It_ems:" +msgstr "ع_ناصر:" + +#: ../data/alacarte.glade.h:3 +msgid "Move Down" +msgstr "انقل لأسفل" + +#: ../data/alacarte.glade.h:4 +msgid "Move Up" +msgstr "انقل لأعلى" + +#: ../data/alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "عنصر _جديد" + +#: ../data/alacarte.glade.h:6 +msgid "New _Separator" +msgstr "فا_صل جديد" + +#: ../data/alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "استعِد مخطط القائمة المبدئي" + +#: ../data/alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "أأتراجع عن التغييرات؟" + +#: ../data/alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "أأسترجع كافة القوائم إلى الإعدادات الأصلية؟" + +#: ../data/alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_قوائم:" + +#: ../data/alacarte.glade.h:11 +msgid "_New Menu" +msgstr "قائمة _جديدة" + +#: ../data/alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "ا_ستعِد الحالة الأصلية" diff --git a/po/as.po b/po/as.po new file mode 100644 index 0000000..d21af77 --- /dev/null +++ b/po/as.po @@ -0,0 +1,86 @@ +# translation of as.po to Assamese +# Translation of alacarte.head.po to Assamese +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Amitakhya Phukan , 2006. +# Amitakhya Phukan , 2007, 2008. +# Amitakhya Phukan , 2007, 2008. +msgid "" +msgstr "" +"Project-Id-Version: as\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-09-16 08:14+0100\n" +"PO-Revision-Date: 2008-01-14 16:36+0530\n" +"Last-Translator: Amitakhya Phukan \n" +"Language-Team: Assamese\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n!=1)\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "নাম" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "দেখুৱা" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "বস্তু" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "মূখ্য তালিকাত কোনবোৰ অনুপ্ৰয়োগ দেখুওৱা হ'ব সেইটো সলনি কৰক" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "মূখ্য তালিকা" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "বস্তু (_e):" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "তললৈ গমন কৰক" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "ওপৰলৈ গমন কৰক" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "নতুন বস্তু (_w)" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "নতুন বিভেদক (_S)" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "অবিকল্পিত তালিকা বিন্যাস পুনঃ প্ৰতিষ্ঠিষ্ঠিত কৰক" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "পৰিৱৰ্ত্তন প্ৰত্যাবৰ্ত্তন কৰোঁ?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "সকলো তালিকা প্ৰাথমিক অৱস্থাৰ পৰিবেশলৈ প্ৰত্যাবৰ্ত্তন কৰোঁ?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "তালিকাসমূহ (_M):" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "নতুন তালিকা (_N)" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "প্ৰাথমিক অৱস্থলৈ প্ৰত্যাবৰ্ত্তন (_R)" + diff --git a/po/ast.po b/po/ast.po new file mode 100644 index 0000000..162997f --- /dev/null +++ b/po/ast.po @@ -0,0 +1,82 @@ +# Asturian translation for alacarte +# Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 +# This file is distributed under the same license as the alacarte package. +# FIRST AUTHOR , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-02-09 09:02+0100\n" +"PO-Revision-Date: 2009-02-04 02:08+0100\n" +"Last-Translator: Mikel González \n" +"Language-Team: Asturian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2008-09-27 08:29+0000\n" +"X-Generator: Launchpad (build Unknown)\n" + +#: ../Alacarte/MainWindow.py:168 +msgid "Name" +msgstr "Nome" + +#: ../Alacarte/MainWindow.py:184 +msgid "Show" +msgstr "Amosar" + +#: ../Alacarte/MainWindow.py:192 +msgid "Item" +msgstr "Artículu" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Camudar les aplicaciones que van amosase nel menú principal" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Menú Principal" + +#: ../data/alacarte.glade.h:1 +msgid "It_ems:" +msgstr "Artículos:" + +#: ../data/alacarte.glade.h:3 +msgid "Move Down" +msgstr "Mover p´abaxo" + +#: ../data/alacarte.glade.h:4 +msgid "Move Up" +msgstr "Mover p´arriba" + +#: ../data/alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Artículu nuevu" + +#: ../data/alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Nuevu _Separtador" + +#: ../data/alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Restaurar al estilu de menú inicial" + +#: ../data/alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "¿Revertir cambios?" + +#: ../data/alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "¿Retornar tolos menús a les condiciones d´orixe?" + +#: ../data/alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menús:" + +#: ../data/alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Nuevu Menú" + +#: ../data/alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Retornar al Orixinal" diff --git a/po/be.po b/po/be.po new file mode 100644 index 0000000..c52b64a --- /dev/null +++ b/po/be.po @@ -0,0 +1,83 @@ +# Alacarte Belarusian translation +# Copyright (C) 2007 Free Software Foundation +# This file is distributed under the same license as the alacarte package. +# Ihar Hrachyshka , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 20:18+0200\n" +"PO-Revision-Date: 2007-02-03 12:17+0300\n" +"Last-Translator: Ihar Hrachyshka \n" +"Language-Team: Belarusian Language Team \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Назва" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Паказаць" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Элемэнт" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Вызначыць, якія праграмы трэба паказваць у мэню" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Галоўнае мэню" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Элемэнты:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Пасунуць долу" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Пасунуць угору" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "_Новы элемэнт" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Новы _падзяляльнік" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Вярнуць звычайны расклад мэню" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Скасаваць зьмены?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Вярнуць пачатковую наладку для ўсіх мэню?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Мэню:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Новае мэню" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Вярнуцца да пачатковага" + +#~ msgid "Menu Layout" +#~ msgstr "Расклад мэню" diff --git a/po/be@latin.po b/po/be@latin.po new file mode 100644 index 0000000..a449687 --- /dev/null +++ b/po/be@latin.po @@ -0,0 +1,82 @@ +# Biełaruski pierakład Alacarte. +# Copyright (C) 2007 Free Software Foundation. +# This file is distributed under the same license as the Alacarte package. +# Ihar Hračyška , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: Alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-03-10 02:26+0200\n" +"PO-Revision-Date: 2007-03-09 18:58+0100\n" +"Last-Translator: Alaksandar Navicki \n" +"Language-Team: Belarusian Latin \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Nazva" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Pakažy" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Element" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Źmiani śpis aplikacyj, pakazanych u hałoŭnym menu" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Hałoŭnaje menu" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Elementy:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Pasuń nižej" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Pasuń vyšej" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "_Novy element" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Novy _separatar" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Viarni zmoŭčany vyhlad menu" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Anulavać źmieny?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Viarnuć zmoŭčanyja nałady dla ŭsich menu?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menu:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Novaje menu" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Viarni zmoŭčanyja nałady" diff --git a/po/bem.po b/po/bem.po new file mode 100644 index 0000000..23fb91d --- /dev/null +++ b/po/bem.po @@ -0,0 +1,80 @@ +# Bemba translation of alacarte. +# Copyright (C) 2009, listed translators +# This file is distributed under the same license as the alacarte package. +# Katongo Musaluke , 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte HEAD\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-04-04 12:17+0200\n" +"PO-Revision-Date: 2009-03-18 16:10+0100\n" +"Last-Translator: Katongo Musaluke \n" +"Language-Team: Bemba Team \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:168 +msgid "Name" +msgstr "Ishina" + +#: ../Alacarte/MainWindow.py:184 +msgid "Show" +msgstr "Ukulanga" + +#: ../Alacarte/MainWindow.py:192 +msgid "Item" +msgstr "Ichintu" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Ukuchinja ama applications ya kulanga mu menu ikalamba" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Menu Ikalamba" + +#: ../data/alacarte.glade.h:1 +msgid "It_ems:" +msgstr "If_intu" + +#: ../data/alacarte.glade.h:3 +msgid "Move Down" +msgstr "Ukuya Panshi" + +#: ../data/alacarte.glade.h:4 +msgid "Move Up" +msgstr "Ukuya Pamulu" + +#: ../data/alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Ichintu Cha Ne_w" + +#: ../data/alacarte.glade.h:6 +msgid "New _Separator" +msgstr "_Separator Ya New" + +#: ../data/alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Bushe tubwekeshemo menu kuli filya yalemoneka pakwamba" + +#: ../data/alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Bushe Tukanse ifya Chinja?" + +#: ../data/alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Bushe Tubwekeshemo ama menu yonse kufyo yali pakwamba?" + +#: ../data/alacarte.glade.h:10 +msgid "_Menus:" +msgstr "Ama _Menu" + +#: ../data/alacarte.glade.h:11 +msgid "_New Menu" +msgstr "Menu ya _New" + +#: ../data/alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Ukubwekesha kufyo yali pakwamba" diff --git a/po/bg.po b/po/bg.po new file mode 100644 index 0000000..3e50358 --- /dev/null +++ b/po/bg.po @@ -0,0 +1,85 @@ +# Bulgarian translation of alacarte po-file. +# Copyright (C) 2005 THE Alacarte'S COPYRIGHT HOLDER +# Copyright (C) 2006, 2007 Free Software Foundation, Inc. +# This file is distributed under the same license as the Alacarte package. +# Stanimir Djevelekov , 2005. +# Alexander Shopov , 2006, 2007. +# Vladimir "Kaladan" Petkov , 2006, 2007. +# +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-21 23:48+0200\n" +"PO-Revision-Date: 2007-02-21 23:47+0200\n" +"Last-Translator: Vladimir Petkov \n" +"Language-Team: Bulgarian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Име" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Показване" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Стартер" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Промяна на програмите в основното меню" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Основно меню" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "С_тартери:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Надолу" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Нагоре" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Нов _стартер" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Нов _разделител" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Възстановяване на първоначалната подредба на менюто" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Връщане на промените?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Връщане на всички менюта към първоначалните им стойности?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "М_енюта:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "Ново _меню" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Връщане към началните стойности" diff --git a/po/bn.po b/po/bn.po new file mode 100644 index 0000000..01f7816 --- /dev/null +++ b/po/bn.po @@ -0,0 +1,153 @@ +# Bengali translation for alacarte +# Copyright (c) (c) 2006 Canonical Ltd, and Rosetta Contributors 2006 +# This file is distributed under the same license as the alacarte package. +# Khandakar Mujahidul Islam , 2006. +# Maruf Ovee , 2009. +# Sadia Afroz , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: bn\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?" +"product=alacarte&component=general\n" +"POT-Creation-Date: 2009-12-14 15:28+0000\n" +"PO-Revision-Date: 2010-03-09 12:15+0600\n" +"Last-Translator: Sadia Afroz \n" +"Language-Team: Bengali \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "নাম" + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "প্রদর্শন" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "আইটেম" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "প্রধান মেনুতে কোন অ্যাপ্লিকেশনগুলো থাকবে তা পরিবর্তন করুন" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "প্রধান মেনু" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "আইটেম: (_e)" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "নিচে নামান" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "উপরে উঠান" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "নতুন আইটেম (_w)" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "নতুন বিভাজক (_S)" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "পূর্বনির্ধারিত মেনু বহির্বিন্যাস পুনরুদ্ধার করুন" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "পরিবর্তনগুলো কি বাদ দিতে চান?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "সকল মেনু কি আদি সেটিংসে ফিরিয়ে আনা হবে?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "মেনু: (_M)" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "নতুন মেনু (_N)" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "আদি অবস্থায় ফিরে যান (_R)" + +#~ msgid "A name is required." +#~ msgstr "একটি নাম প্রয়োজন।" + +#~ msgid "A command is required." +#~ msgstr "একটি কমান্ড প্রয়োজন।" + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "মেনু এন্ট্রিগুলো যোগ করুন, পরিবর্তন করুন, মুছে ফেলুন" + +#~ msgid "Menu Layout" +#~ msgstr "মেনু বহির্বিন্যাস" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Alacarte মেনু সম্পাদক" + +#~ msgid "Browse..." +#~ msgstr "ব্রাউজ করুন..." + +#~ msgid "Command:" +#~ msgstr "কমান্ড:" + +#~ msgid "Comment:" +#~ msgstr "মন্তব্য:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "স্বত্বাধিকার © ২০০৬ Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "আইকন:" + +#~ msgid "Menu Item Properties" +#~ msgstr "মেনু আইটেম বৈশিষ্ট্য" + +#~ msgid "Menu Properties" +#~ msgstr "মেনু বৈশিষ্ট্য" + +#~ msgid "Name:" +#~ msgstr "নাম:" + +#~ msgid "Run command in a terminal" +#~ msgstr "টার্মিনালে কমান্ড চালান" + +#~ msgid "translator-credits" +#~ msgstr "" +#~ "অঙ্কুর গ্রুপের পক্ষ থেকে খন্দকার মুজাহিদুল ইসলাম সুজন , ২০০৬।" + +#~ msgid "A menu can't be named \"Other\"." +#~ msgstr "একটি মেনুর নাম \"অন্যান্য\" হতে পারে না।" + +#~ msgid "Loading..." +#~ msgstr "লোড করা হচ্ছে..." + +#~ msgid "Visible" +#~ msgstr "দৃশ্যমান" + +#~ msgid "Entry Editor" +#~ msgstr "এন্ট্রি সম্পাদক" + +#~ msgid "Icon Selector" +#~ msgstr "আইকন নির্বাচক" + +#~ msgid "Menu Editor" +#~ msgstr "মেনু সম্পাদক" + +#~ msgid "New _Entry" +#~ msgstr "নতুন এন্ট্রি (_E)" + +#~ msgid "_Delete" +#~ msgstr "মুছে ফেলুন (_D)" diff --git a/po/bn_IN.po b/po/bn_IN.po new file mode 100644 index 0000000..77afb29 --- /dev/null +++ b/po/bn_IN.po @@ -0,0 +1,84 @@ +# Bengali India translation for alacarte +# This file is distributed under the same license as the alacarte package. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. +# Khandakar Mujahidul Islam , 2006. +# Runa Bhattacharjee , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte.HEAD\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 04:30+0000\n" +"PO-Revision-Date: 2007-03-05 17:10+0530\n" +"Last-Translator: Runa Bhattacharjee \n" +"Language-Team: Bengali India\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.9.1\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "নাম" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "প্রদর্শন" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "বস্তু" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "প্রধান মেনুতে প্রদর্শিত অ্যাপ্লিকেশনের তালিকা পরিবর্তন করুন" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "প্রধান মেনু" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "বস্তু: (_e)" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "নিচে স্থানান্তরণ" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "উপরে স্থানান্তরণ" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "নতুন বস্তু (_w)" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "নতুন বিভাজনরেখা (_S)" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "মেনুর ডিফল্ট বিন্যাস পুনরায় স্থাপন করা হবে" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "পরিবর্তন বাতিল করা হবে কি?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "সকল মেনুর ক্ষেত্রে মূল বৈশিষ্ট্য পুনরায় স্থাপন করা হবে কি?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "মেনু: (_M)" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "নতুন মেনু (_N)" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "মূল অবস্থায় প্রত্যাবর্তন করা হবে (_R)" + diff --git a/po/br.po b/po/br.po new file mode 100644 index 0000000..17780ee --- /dev/null +++ b/po/br.po @@ -0,0 +1,82 @@ +# Breton translation for alacarte +# Copyright (c) (c) 2006 Canonical Ltd, and Rosetta Contributors 2006 +# This file is distributed under the same license as the alacarte package. +# Oublieuse, 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2010-04-10 15:41+0000\n" +"PO-Revision-Date: 2010-05-11 09:12+0000\n" +"Last-Translator: Denis \n" +"Language-Team: Breton \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2010-05-11 09:16+0000\n" +"X-Generator: Launchpad (build Unknown)\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "Anv" + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "Diskouez" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "Ergorenn" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Kemmañ roll an arloadoù diskouezet el lañser meur" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Pennlañser" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "_Ergorennoù :" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Davit an traoñ" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Davit ar c'hrec'h" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "Ergorenn ne_vez" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "_Kefarz nevez" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "Adlakaat ar pajennaozañ lañser dre ziouer" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Dizober kemmoù ?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Adlakaat an holl lañseroù er stumm-orin" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Lañseroù  :" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "Lañser nevez" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "_Distreiñ d'ar stumm-orin" diff --git a/po/ca.po b/po/ca.po new file mode 100644 index 0000000..0f35576 --- /dev/null +++ b/po/ca.po @@ -0,0 +1,125 @@ +# Catalan translation for alacarte. +# Copyright © 2006, 2007 The Free Software Foundation, Inc. +# This file is distributed under the same license as the alacarte package. +# Esteve Blanch Sanmartí , 2006, 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: Catalan\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-04-02 00:44+0200\n" +"PO-Revision-Date: 2007-04-02 00:45+0200\n" +"Last-Translator: Esteve Blanch Sanmartí \n" +"Language-Team: catalan \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Nom" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Mostra" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Element" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Canvia les aplicacions que es mostren al menú principal" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Menú principal" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Elements:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Mou cap avall" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Mou cap amunt" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Element no_u" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "_Separador nou" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Restaura la disposició per defecte del menú" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Voleu desfer els canvis?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Voleu tornar tots els menús a la configuració inicial?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menús:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Menú nou" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Reverteix a l'original" + +#~ msgid "Menu Layout" +#~ msgstr "Disposició del menú" + +#~ msgid "A name is required." +#~ msgstr "Es requereix un nom" + +#~ msgid "A command is required." +#~ msgstr "Es requereix una ordre" + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Afegiu, canvieu, elimineu entrades del menú" + +#~ msgid "Browse..." +#~ msgstr "Navega..." + +#~ msgid "Command:" +#~ msgstr "Ordre:" + +#~ msgid "Comment:" +#~ msgstr "Comentari:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Copyright © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Icona:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Propietats de l'element del menú" + +#~ msgid "Menu Properties" +#~ msgstr "Propietats del menú" + +#~ msgid "Name:" +#~ msgstr "Nom:" + +#~ msgid "Run command in a terminal" +#~ msgstr "Executa l'ordre en un terminal" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Editor de menú simple compatible amb fd.o" + +#~ msgid "translator-credits" +#~ msgstr "Esteve Blanch Sanmartí " diff --git a/po/ca@valencia.po b/po/ca@valencia.po new file mode 100644 index 0000000..1f0b87e --- /dev/null +++ b/po/ca@valencia.po @@ -0,0 +1,125 @@ +# Catalan translation for alacarte. +# Copyright © 2006, 2007 The Free Software Foundation, Inc. +# This file is distributed under the same license as the alacarte package. +# Esteve Blanch Sanmartí , 2006, 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: Catalan\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-08-09 11:05+0200\n" +"PO-Revision-Date: 2007-04-02 00:45+0200\n" +"Last-Translator: Esteve Blanch Sanmartí \n" +"Language-Team: catalan \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:163 +msgid "Name" +msgstr "Nom" + +#: ../Alacarte/MainWindow.py:179 +msgid "Show" +msgstr "Mostra" + +#: ../Alacarte/MainWindow.py:187 +msgid "Item" +msgstr "Element" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Canvia les aplicacions que es mostren al menú principal" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Menú principal" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "_Elements:" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Mou cap avall" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Mou cap amunt" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "Element no_u" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "_Separador nou" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "Restaura la disposició per defecte del menú" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Voleu desfer els canvis?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Voleu tornar tots els menús a la configuració inicial?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Menús:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "_Menú nou" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "_Reverteix a l'original" + +#~ msgid "Menu Layout" +#~ msgstr "Disposició del menú" + +#~ msgid "A name is required." +#~ msgstr "Es requereix un nom" + +#~ msgid "A command is required." +#~ msgstr "Es requereix una ordre" + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Afegiu, canvieu, elimineu entrades del menú" + +#~ msgid "Browse..." +#~ msgstr "Navega..." + +#~ msgid "Command:" +#~ msgstr "Ordre:" + +#~ msgid "Comment:" +#~ msgstr "Comentari:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Copyright © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Icona:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Propietats de l'element del menú" + +#~ msgid "Menu Properties" +#~ msgstr "Propietats del menú" + +#~ msgid "Name:" +#~ msgstr "Nom:" + +#~ msgid "Run command in a terminal" +#~ msgstr "Executa l'ordre en un terminal" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Editor de menú simple compatible amb fd.o" + +#~ msgid "translator-credits" +#~ msgstr "Esteve Blanch Sanmartí " diff --git a/po/crh.po b/po/crh.po new file mode 100644 index 0000000..6d5ef71 --- /dev/null +++ b/po/crh.po @@ -0,0 +1,84 @@ +# Qırımtatarca translation of alacarte. +# This file is distributed under the same license as the alacarte package. +# +# Reşat SABIQ , 2009. +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?" +"product=alacarte&component=general\n" +"POT-Creation-Date: 2009-03-13 21:18+0000\n" +"PO-Revision-Date: 2009-03-15 22:38-0500\n" +"Last-Translator: Reşat SABIQ \n" +"Language-Team: Qırımtatarca (Qırım Türkçesi) \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: KBabel 1.11.4\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "İsim" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Köster" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Unsur" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Baş menüde qaysı uyğulamalarnıñ kösterilecegini deñiştir" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Baş Menü" + +#: ../data/alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Unsurlar" + +#: ../data/alacarte.glade.h:3 +msgid "Move Down" +msgstr "Aşağı Taşı" + +#: ../data/alacarte.glade.h:4 +msgid "Move Up" +msgstr "Yuqarı Taşı" + +#: ../data/alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "_Yañı Unsur" + +#: ../data/alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Yañı _Ayırğıç" + +#: ../data/alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Ög-belgilengen menü serimini keri tikle" + +# tüklü +#: ../data/alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Deñişikliklerni Keri Döndür?" + +#: ../data/alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Menülerniñ episini özgün tesbitlerge keri döndür?" + +#: ../data/alacarte.glade.h:10 +msgid "_Menus:" +msgstr "Menü_ler" + +#: ../data/alacarte.glade.h:11 +msgid "_New Menu" +msgstr "Yañı _Menü" + +#: ../data/alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "Özgünge _Keri Döndür" diff --git a/po/cs.po b/po/cs.po new file mode 100644 index 0000000..22e9abd --- /dev/null +++ b/po/cs.po @@ -0,0 +1,87 @@ +# translation of cs.po to Czech +# Czech translation of PACKAGE. +# Copyright (C) 2006 THE PACKAGE'S COPYRIGHT HOLDER +# Copyright (C) 2006 Lukas Novotny +# This file is distributed under the same license as the PACKAGE package. +# +# +# Lukas Novotny , 2006. +# Jakub Friedl , 2007. +msgid "" +msgstr "" +"Project-Id-Version: cs\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-04-21 16:24+0200\n" +"PO-Revision-Date: 2007-04-21 16:30+0200\n" +"Last-Translator: Jakub Friedl \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Název" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Zobrazit" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Položka" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Změnit aplikace zobrazené v hlavní nabídce" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Hlavní nabídka" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "P_oložky:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Přesunout níž" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Přesunout výš" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "No_vá položka" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Nový _oddělovač" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Obnovit výchozí uspořádání nabídky" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Zrušit změny?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Vrátit původní nastavení všech nabídek?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Nabídky:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Nová nabídka" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Obnovit původní" + diff --git a/po/cy.po b/po/cy.po new file mode 100644 index 0000000..41b15dd --- /dev/null +++ b/po/cy.po @@ -0,0 +1,83 @@ +# Welsh Translation for alacarte. +# Copyright (C) 2009 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the alacarte package. +# Iestyn Pryce , 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-07-31 17:42+0100\n" +"PO-Revision-Date: 2009-07-31 17:54+0100\n" +"Last-Translator: Iestyn Pryce \n" +"Language-Team: Cymraeg \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Welsh\n" + +#: ../Alacarte/MainWindow.py:163 +msgid "Name" +msgstr "Enw" + +#: ../Alacarte/MainWindow.py:179 +msgid "Show" +msgstr "Dangos" + +#: ../Alacarte/MainWindow.py:187 +msgid "Item" +msgstr "Eitem" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Newid pa rhaglenni i ddangos yn y prif ddewislen" + +#: ../data/alacarte.desktop.in.in.h:2 +#: ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Prif Ddewislen" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "_Eitemau:" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Symud i Lawr" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Symud i Fyny " + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "Eitem Ne_wydd" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "_Gwahanydd Newydd" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "Adfer i'r cynllun dewislen rhagosodedig" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Dychwelid o'r Newidiadau" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Dychwelid pob dewislen i'w ffurfweddiad gwreiddiol?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Dewislenni:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "Dewislen _Newydd" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "_Dychwelid i'r Gwreiddiol" + diff --git a/po/da.po b/po/da.po new file mode 100644 index 0000000..dafd6cd --- /dev/null +++ b/po/da.po @@ -0,0 +1,82 @@ +# Danish translation of alacarte. +# Copyright (C) 2006, 2007 Free Software Foundation, Inc. +# This file is distributed under the same license as the alacarte +# package. +# +# Peter Bach , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-18 20:44+0100\n" +"PO-Revision-Date: 2007-02-18 19:57+0200\n" +"Last-Translator: Peter bach \n" +"Language-Team: Danish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Navn" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Vis" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Punkt" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Tilret hvilke programmer der vises i hovedmenuen" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Hovedmenu" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "Punkt_er:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Flyt ned" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Flyt op" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "_Nyt punkt" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Ny _separator" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Genskab det oprindelige menuudseende" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Fortryd ændringer?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Gendan alle menuer til standardopsætninger?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menuer:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Ny menu" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "Gendan til original" diff --git a/po/de.po b/po/de.po new file mode 100644 index 0000000..7aafe91 --- /dev/null +++ b/po/de.po @@ -0,0 +1,133 @@ +# translation of de.po to Deutsch +# translation of alacarte. +# Copyright (C) 2006 THE alacarte COPYRIGHT HOLDER +# This file is distributed under the same license as the alacarte package. +# +# Beni Goll , 2006. +# Hendrik Brandt , 2006. +# Hendrik Richter , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: de\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-21 12:37+0100\n" +"PO-Revision-Date: 2007-02-21 12:37+0100\n" +"Last-Translator: Hendrik Richter \n" +"Language-Team: Deutsch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.2\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Name" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Anzeigen" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Eintrag" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Legt fest, welche Anwendungen im Hauptmenü angezeigt werden" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Hauptmenü" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Einträge:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Nach unten verschieben" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Nach oben verschieben" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "N_euer Eintrag" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Neue _Trennlinie" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Die Standardstruktur des Menüs wiederherstellen" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Änderungen rückgängig machen?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Möchten Sie alle Menüs in ihren Ursprungszustand zurück versetzen?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menüs:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Neues Menü" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Original wiederherstellen" + +#~ msgid "Menu Layout" +#~ msgstr "Menüstruktur" + +#~ msgid "A name is required." +#~ msgstr "Bitte geben Sie einen Namen ein." + +#~ msgid "A command is required." +#~ msgstr "Bitte geben Sie einen Befehl ein." + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Menüeinträge hinzufügen, ändern oder entfernen" + +#~ msgid "Browse..." +#~ msgstr "Durchsuchen..." + +#~ msgid "Command:" +#~ msgstr "Befehl:" + +#~ msgid "Comment:" +#~ msgstr "Kommentar:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Copyright © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Symbol:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Eigenschaften des Menüeintrags" + +#~ msgid "Menu Properties" +#~ msgstr "Menüeigenschaften" + +#~ msgid "Name:" +#~ msgstr "Name:" + +#~ msgid "Run command in a terminal" +#~ msgstr "Befehl in einem Terminal ausführen" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Ein einfacher, Freedesktop.org-konformer Menüeditor" + +#~ msgid "translator-credits" +#~ msgstr "" +#~ "Beni Goll \n" +#~ "Hendrik Brandt " diff --git a/po/dz.po b/po/dz.po new file mode 100644 index 0000000..9bb2aac --- /dev/null +++ b/po/dz.po @@ -0,0 +1,125 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: acacarte.Head Dz\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 04:30+0000\n" +"PO-Revision-Date: 2007-03-20 11:22+0530\n" +"Last-Translator: sonam pelden \n" +"Language-Team: Dzongkha \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n!=1)\n" +"X-Poedit-Language: Dzongkha\n" +"X-Poedit-Country: Bhutan\n" +"X-Poedit-SourceCharset: UTF-8\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "མིང་།" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "སྟོན།" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "རྣམ་གྲངས།" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "དཀར་ཆག་ངོ་མའི་ནང་ལུ་སྟོན་ཡོད་མི་ གློག་རིམ་ཚུ་བསྒྱུར་བཅོས་འབད།" + +#: ../alacarte.desktop.in.in.h:2 +#: ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "དཀར་ཆག་ངོ་མ་" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "རྣམ་གྲངས་ཚུ་:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "མར་བཤུད།" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "ཡར་བཤུད།" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "རྣམ་གྲངས་གསརཔ།" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "དབྱེ་བྱེད་གསརཔ།(_S)" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "སྔོན་སྒྲིག་དཀར་ཆག་སྒྲིག་བཀོད་སླར་གསོ་འབད།" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "བསྒྱུར་བཅོས་ཚུ་རྒྱབ་ལོག།" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "དཀར་ཆག་ཆ་མཉམ་ འགོ་ཐོག་གི་སྒྲིག་སྟངས་ལུ་རྒྱབ་ལོག" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "དཀར་ཆག་ཚུ་:(_M)" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "དཀར་ཆག་གསརཔ།(_N)" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "འགོ་ཐོག་ལུ་རྒྱབ་ལོག(_R)" + +#~ msgid "New menu items need a name" +#~ msgstr "དཀར་ཆག་གསརཔ་གི་རྣམ་གྲངས་ལུ་མིང་ཅིག་དགོཔ་འདུག" +#~ msgid "New menus need a name" +#~ msgstr "དཀར་ཆག་གསརཔ་དེ་ལུ་མིང་ཅིག་དགོཔ་འདུག" +#~ msgid "Menu Editor" +#~ msgstr "དཀར་ཆག་ཞུན་དགཔ།" +#~ msgid "Menu Layout" +#~ msgstr "དཀར་ཆག་སྒྲིག་བཀོད།" +#~ msgid "A name is required." +#~ msgstr "མིང་ཅིག་དགོ་པས།" +#~ msgid "A command is required." +#~ msgstr "བརྡ་བཀོད་ཅིག་དགོ་པས།" +#~ msgid "Add, change, remove menu entries" +#~ msgstr "དཀར་ཆག་ཐོ་བཀོད་ཚུ་ལུ་ ཁ་སྐོང་རྐྱབས་ བསྒྱུར་བཅོས་འབད་ རྩ་བསྐྲད་གཏང་།" +#~ msgid "Browse..." +#~ msgstr "བརྡ་འཚོལ་..." +#~ msgid "Command:" +#~ msgstr "བརྡ་བཀོད་:(_e)" +#~ msgid "Comment:" +#~ msgstr "བསམ་བཀོད་:" +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "འདྲ་བཤུས་དབང་ཆ་ ©༢༠༠༦ ཊ་བིསི་ ཝཊི་ཀིནསི།" +#~ msgid "Icon:" +#~ msgstr "ངོས་དཔར་:" +#~ msgid "Menu Item Properties" +#~ msgstr "དཀར་ཆག་རྣམ་གྲངས་ཀྱི་རྒྱུ་དངོས་ཚུ།" +#~ msgid "Menu Properties" +#~ msgstr "དཀར་ཆག་གི་རྒྱུ་དངོས་ཚུ།" +#~ msgid "Name:" +#~ msgstr "མིང་:" +#~ msgid "Run command in a terminal" +#~ msgstr "བརྡ་བཀོད་ཅིག་ ཊར་མི་ནཱལ་ནང་གཡོག་བཀོལ།" +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "ཨེཕ་ཌི་.ཨོ་ ཉོགས་བཤད་དཀར་ཆག་ཞུན་དགཔ་འཇམ་སམ།" +#~ msgid "translator-credits" +#~ msgstr "" +#~ "ཨའི་ཌི་ཨར་སི་གི་མ་དངུལ་རྒྱབ་སྐྱོར་ཐོག་ལས་ བརྡ་དོན་འཕྲུལ་རིག་ལས་ཁུངས་ནང་ སྐད་བསྒྱུར་འབད་ཡི། ཁ་" +#~ "གསལ་གྱི་དོན་ལུ་ འབྲེལ་བ་འཐབ་ས་: " + diff --git a/po/el.po b/po/el.po new file mode 100644 index 0000000..6a3cdf9 --- /dev/null +++ b/po/el.po @@ -0,0 +1,131 @@ +# Greek, Modern (1453-) translation for alacarte +# Copyright (c) (c) 2006 Canonical Ltd, and Rosetta Contributors 2006 +# This file is distributed under the same license as the alacarte package. +# Kostas Papadimas , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-08-08 10:49+0000\n" +"PO-Revision-Date: 2008-10-07 16:39+0200\n" +"Last-Translator: nikosCharonitakis \n" +"Language-Team: Greek \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:168 +msgid "Name" +msgstr "Όνομα" + +#: ../Alacarte/MainWindow.py:184 +msgid "Show" +msgstr "Προβολή" + +#: ../Alacarte/MainWindow.py:192 +msgid "Item" +msgstr "Αντικείμενο" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Αλλαγή των εφαρμογών που εμφανίζονται στο κυρίως μενού" + +#: ../alacarte.desktop.in.in.h:2 +#: ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Κυρίως μενού" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "Αντι_κείμενα:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Μετακίνηση κάτω" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Μετακίνηση πάνω" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Νέ_ο αντικείμενο" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Νέο δια_χωριστικό" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Επαναφορά της προεπιλεγμένης διάταξης" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Επαναφορά αλλαγών;" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Επαναφορά όλων των μενού στις αρχικές τους ρυθμίσεις;" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Μενού:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "Νέο _μενού" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "Επανα_φορά στο αρχικό" + +#~ msgid "A name is required." +#~ msgstr "Απαιτείται ένα όνομα" +#~ msgid "A command is required." +#~ msgstr "Απαιτείται μια εντολή." +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Προσθήκη, αλλαγή ή απομάκρυνση αντικειμένων μενού" +#~ msgid "Menu Layout" +#~ msgstr "Διάταξη μενού" +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Επεξεργαστής μενού Alacarte" +#~ msgid "Browse..." +#~ msgstr "Περιήγηση..." +#~ msgid "Command:" +#~ msgstr "Εντολή:" +#~ msgid "Comment:" +#~ msgstr "Σχόλιο:" +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Πνευματικά δικαιώματα © 2006 Travis Watkins" +#~ msgid "Icon:" +#~ msgstr "Εικονίδιο:" +#~ msgid "Menu Item Properties" +#~ msgstr "Ιδιότητες αντικειμένου μενού" +#~ msgid "Menu Properties" +#~ msgstr "Ιδιότητες μενού " +#~ msgid "Name:" +#~ msgstr "Όνομα:" +#~ msgid "Run command in a terminal" +#~ msgstr "Εκτέλεση εντολής σε τερματικό" +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Ένας απλός επεξεργαστής μενού συμβατός με το freedesktop.org" +#~ msgid "translator-credits" +#~ msgstr "pkst@gnome.org" +#~ msgid "A menu can't be named \"Other\"." +#~ msgstr "Ένα μενού δεν μπορεί να έχει το όνομα \"Other\"." +#~ msgid "Loading..." +#~ msgstr "Φόρτωση..." +#~ msgid "Visible" +#~ msgstr "Ορατό" +#~ msgid "Entry Editor" +#~ msgstr "Επεξεργαστής καταχώρισης" +#~ msgid "Icon Selector" +#~ msgstr "Επιλογέας εικονιδίου" +#~ msgid "Menu Editor" +#~ msgstr "Επεξεργαστής μενού" +#~ msgid "New _Entry" +#~ msgstr "Νέα καταχώ_ριση" +#~ msgid "_Delete" +#~ msgstr "_Διαγραφή" + diff --git a/po/en@shaw.po b/po/en@shaw.po new file mode 100644 index 0000000..410b31f --- /dev/null +++ b/po/en@shaw.po @@ -0,0 +1,82 @@ +# Shavian translation.. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Thomas Thurman , 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?product=alacarte&component=general\n" +"POT-Creation-Date: 2009-09-23 18:39+0000\n" +"PO-Revision-Date: 2010-05-12 18:35 -0400\n" +"Last-Translator: Thomas Thurman \n" +"Language-Team: Shavian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n!=1;\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "𐑯𐑱𐑥" + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "𐑖𐑴" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "𐑲𐑑𐑩𐑥" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "𐑗𐑱𐑯𐑡 𐑢𐑦𐑗 𐑩𐑐𐑤𐑦𐑒𐑱𐑕𐑩𐑯𐑟 𐑸 𐑖𐑴𐑯 𐑪𐑯 𐑞 𐑥𐑱𐑯 𐑥𐑧𐑯𐑿" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "𐑥𐑱𐑯 𐑥𐑧𐑯𐑿" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "𐑲𐑑_𐑩𐑥𐑟:" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "𐑥𐑵𐑝 𐑛𐑬𐑯" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "𐑥𐑵𐑝 𐑳𐑐" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "𐑯_𐑿 𐑲𐑑𐑩𐑥" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "𐑯𐑿 _𐑕𐑧𐑐𐑼𐑱𐑑𐑼" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "𐑮𐑩𐑕𐑑𐑹 𐑞 𐑛𐑦𐑓𐑷𐑤𐑑 𐑥𐑧𐑯𐑿 𐑤𐑱𐑬𐑑" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "𐑮𐑦𐑝𐑻𐑑 𐑗𐑱𐑯𐑡𐑩𐑟?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "𐑮𐑦𐑝𐑻𐑑 𐑷𐑤 𐑥𐑧𐑯𐑿𐑟 𐑑 𐑩𐑮𐑦𐑡𐑩𐑯𐑩𐑤 𐑕𐑧𐑑𐑦𐑙𐑟?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_𐑥𐑧𐑯𐑿𐑟:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "_𐑯𐑿 𐑥𐑧𐑯𐑿" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "_𐑮𐑦𐑝𐑻𐑑 𐑑 𐑩𐑮𐑦𐑡𐑩𐑯𐑩𐑤" + diff --git a/po/en_CA.po b/po/en_CA.po new file mode 100644 index 0000000..87f5afc --- /dev/null +++ b/po/en_CA.po @@ -0,0 +1,81 @@ +# Canadian English translation for alacarte +# Copyright (C) 2007 A Bunch Of Hungry Hungry Hippos +# This file is distributed under the same licence as the alacarte package. +# Adam Weinberger , 2007. +# +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-08-15 17:52-0400\n" +"PO-Revision-Date: 2006-12-29 16:09-0500\n" +"Last-Translator: Adam Weinberger \n" +"Language-Team: Canadian English \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Name" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Show" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Item" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Change which applications are shown on the main menu" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Main Menu" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "It_ems:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Move Down" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Move Up" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Ne_w Item" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "New _Separator" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Restore the default menu layout" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Revert Changes?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Revert all menus to original settings?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menus:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_New Menu" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Revert to Original" diff --git a/po/en_GB.po b/po/en_GB.po new file mode 100644 index 0000000..6906e11 --- /dev/null +++ b/po/en_GB.po @@ -0,0 +1,127 @@ +# English (British) translation +# Copyright (C) 2006 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same licence as the alacarte package. +# David Lodge , 2006 +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-16 22:21+0000\n" +"PO-Revision-Date: 2007-02-16 23:30-0000\n" +"Last-Translator: David Lodge \n" +"Language-Team: en_GB \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Name" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Show" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Item" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Change which applications are shown on the main menu" + +#: ../alacarte.desktop.in.in.h:2 +#: ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Main Menu" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "It_ems:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Move Down" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Move Up" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Ne_w Item" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "New _Separator" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Restore the default menu layout" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Revert Changes?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Revert all menus to original settings?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menus:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_New Menu" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Revert to Original" + +#~ msgid "New menu items need a name" +#~ msgstr "New menu items need a name" +#~ msgid "New menus need a name" +#~ msgstr "New menus need a name" +#~ msgid "Choose a Program" +#~ msgstr "Choose a Program" +#~ msgid "Choose an Icon" +#~ msgstr "Choose an Icon" +#~ msgid "A name is required." +#~ msgstr "A name is required." +#~ msgid "A command is required." +#~ msgstr "A command is required." +#~ msgid "No Icon" +#~ msgstr "No Icon" +#~ msgid "Menu Editor" +#~ msgstr "Menu Editor" +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Alacarte Menu Editor" +#~ msgid "Browse..." +#~ msgstr "Browse..." +#~ msgid "Command:" +#~ msgstr "Command:" +#~ msgid "Comment:" +#~ msgstr "Comment:" +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Copyright © 2006 Travis Watkins" +#~ msgid "Icon:" +#~ msgstr "Icon:" +#~ msgid "Menu Item Properties" +#~ msgstr "Menu Item Properties" +#~ msgid "Menu Layout" +#~ msgstr "Menu Layout" +#~ msgid "Menu Properties" +#~ msgstr "Menu Properties" +#~ msgid "Name:" +#~ msgstr "Name:" +#~ msgid "Run command in a terminal" +#~ msgstr "Run command in a terminal" +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Simple fd.o compliant menu editor" +#~ msgid "translator-credits" +#~ msgstr "David Lodge " +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Add, change, remove menu entries" + diff --git a/po/eo.po b/po/eo.po new file mode 100644 index 0000000..4069a9b --- /dev/null +++ b/po/eo.po @@ -0,0 +1,86 @@ +# Esperanto translation for alacarte +# Copyright (c) (c) 2006 Canonical Ltd, and Rosetta Contributors 2006 +# This file is distributed under the same license as the alacarte package. +# Dominique PELLÉ , 2006. +# Kristjan SCHMIDT , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-10-05 12:07+0000\n" +"PO-Revision-Date: 2010-06-05 12:04+0100\n" +"Last-Translator: Kristjan SCHMIDT \n" +"Language-Team: Esperanto \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Launchpad-Export-Date: 2010-06-05 10:00+0000\n" +"X-Generator: Launchpad (build Unknown)\n" + +#: ../Alacarte/MainWindow.py:165 +msgid "Name" +msgstr "Nomo" + +#: ../Alacarte/MainWindow.py:181 +msgid "Show" +msgstr "Montri" + +#: ../Alacarte/MainWindow.py:189 +msgid "Item" +msgstr "Menuero" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Ŝanĝi kiujn aplikaĵojn estas montritaj en la ĉefa menuo" + +#: ../data/alacarte.desktop.in.in.h:2 +#: ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Ĉefa menuo" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "M_enueroj:" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Movi suben" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Movi supren" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "No_va menuero" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "Nova _apartigilo" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "Restaŭri la defaŭltan menuan aranĝon" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Ĉu malfari ŝanĝojn?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Ĉu reagordi ĉiujn menuojn al originaj agordoj?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Menuoj:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "_Nova menuo" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "_Reagordi al la originala" + diff --git a/po/es.po b/po/es.po new file mode 100644 index 0000000..a1203cb --- /dev/null +++ b/po/es.po @@ -0,0 +1,86 @@ +# translation of alacarte.HEAD.po to Español +# translation of alacarte to Spanish +# This file is distributed under the same license as the Alacarte package. +# Copyright (C) 2006 The Free Software Foundation. +# +# Francisco Javier F. Serrador , 2006. +# Jorge González , 2007. +# Jorge González , 200, 2009. +msgid "" +msgstr "" +"Project-Id-Version: alacarte.HEAD\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?" +"product=alacarte&component=general\n" +"POT-Creation-Date: 2009-05-04 13:54+0000\n" +"PO-Revision-Date: 2009-07-07 20:34+0200\n" +"Last-Translator: Jorge González \n" +"Language-Team: Español \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Nombre" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Mostrar" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Elemento" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Cambie las aplicaciones que se muestran en el menú principal" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Menú principal" + +#: ../data/alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Elementos:" + +#: ../data/alacarte.glade.h:3 +msgid "Move Down" +msgstr "Bajar" + +#: ../data/alacarte.glade.h:4 +msgid "Move Up" +msgstr "Subir" + +#: ../data/alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Ele_mento nuevo" + +#: ../data/alacarte.glade.h:6 +msgid "New _Separator" +msgstr "_Separador nuevo" + +#: ../data/alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Restaurar la distribución de menú predeterminada" + +#: ../data/alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "¿Revertir los cambios?" + +#: ../data/alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "¿Revertir todos los menús a la configuración original?" + +#: ../data/alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menús:" + +#: ../data/alacarte.glade.h:11 +msgid "_New Menu" +msgstr "Menú _nuevo" + +#: ../data/alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Revertir al original" diff --git a/po/et.po b/po/et.po new file mode 100644 index 0000000..d638709 --- /dev/null +++ b/po/et.po @@ -0,0 +1,153 @@ +# Alacarte eesti keele tõlge. +# Estonian translation of Alacarte. +# +# Copyright (C) 2006 Free Software Foundation, Inc. +# Copyright (C) 2007 The MATE Project. +# This file is distributed under the same license as the alacarte package. +# +# Priit Laes , 2006. +# Ivar Smolin , 2006, 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte HEAD\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 04:30+0000\n" +"PO-Revision-Date: 2007-02-16 14:27+0200\n" +"Last-Translator: Ivar Smolin \n" +"Language-Team: Estonian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Nimi" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Näita" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Kirje" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Peamenüüs näidatavate rakenduste valimine" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Peamenüü" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Elemendid:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Liiguta alla" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Liiguta üles" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "_Uus kirje" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Uus _eraldaja" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Taasta vaikimisi menüüpaigutus" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Pöörata muudatused tagasi?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Taastada kõigi menüüde algseaded?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menüüd:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Uus menüü" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Taasta algne seis" + +#~ msgid "New menu items need a name" +#~ msgstr "Uuel menüükirjel peab nimi olema" + +#~ msgid "New menus need a name" +#~ msgstr "Uutel menüüdel peab nimi olema" + +#~ msgid "Choose a Program" +#~ msgstr "Programmi valimine" + +#~ msgid "Choose an Icon" +#~ msgstr "Ikooni valimine" + +#~ msgid "A name is required." +#~ msgstr "Nimi on vajalik." + +#~ msgid "A command is required." +#~ msgstr "Käsk on vajalik" + +#~ msgid "No Icon" +#~ msgstr "Ikooni pole" + +#~ msgid "Menu Editor" +#~ msgstr "Menüüredaktor" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Alacarte menüüredaktor" + +#~ msgid "Browse..." +#~ msgstr "Sirvi..." + +#~ msgid "Command:" +#~ msgstr "Käsk:" + +#~ msgid "Comment:" +#~ msgstr "Kommentaar:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Autoriõigused © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Ikoon:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Menüükirje omadused" + +#~ msgid "Menu Layout" +#~ msgstr "Menüü paigutus" + +#~ msgid "Menu Properties" +#~ msgstr "Menüü omadused" + +#~ msgid "Name:" +#~ msgstr "Nimi:" + +#~ msgid "Run command in a terminal" +#~ msgstr "Käsk käivitatakse terminalis" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Lihtne menüüredaktor" + +#~ msgid "translator-credits" +#~ msgstr "" +#~ "Priit Laes , 2006.\n" +#~ "Ivar Smolin , 2006, 2007." + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Menüükirjete lisamine, muutmine ja eemaldamine" diff --git a/po/eu.po b/po/eu.po new file mode 100644 index 0000000..80a07ae --- /dev/null +++ b/po/eu.po @@ -0,0 +1,82 @@ +# translation of alacarte.HEAD.po to Basque +# This file is distributed under the same license as the PACKAGE package. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. +# +# Iñaki Larrañaga Murgoitio , 2006, 2007. +msgid "" +msgstr "" +"Project-Id-Version: alacarte.HEAD\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-12-28 17:25+0100\n" +"PO-Revision-Date: 2007-12-27 22:19+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Izena" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Erakutsi" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Elementua" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Aldatu zein aplikazio erakutsiko diren menu nagusian" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Menu nagusia" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Elementuak:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Eraman behera" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Eraman gora" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "_Elementu berria" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "_Bereizle berria" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Berrezarri menuaren diseinu lehenetsia" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Leheneratu aldaketak?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Leheneratu menu guztiak jatorrizko ezarpenetara?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menuak:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "Menu _berria" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Leheneratu jatorrizkora" diff --git a/po/fa.po b/po/fa.po new file mode 100644 index 0000000..26e8b9f --- /dev/null +++ b/po/fa.po @@ -0,0 +1,139 @@ +# Persian translation of alacarte. +# Copyright (C) 2006 Sharif FarsiWeb, Inc. +# This file is distributed under the same license as the alacarte package. +# Meelad Zakaria , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte HEAD\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-08-06 14:49+0200\n" +"PO-Revision-Date: 2006-08-15 21:05+0330\n" +"Last-Translator: Meelad Zakaria \n" +"Language-Team: Persian\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:161 +msgid "Name" +msgstr "نام" + +#: ../Alacarte/MainWindow.py:177 +msgid "Show" +msgstr "نمایش" + +#: ../Alacarte/MainWindow.py:185 +msgid "Item" +msgstr "مورد" + +#: ../Alacarte/DialogHandler.py:145 ../Alacarte/DialogHandler.py:182 +#: ../Alacarte/DialogHandler.py:337 ../Alacarte/DialogHandler.py:368 +msgid "A name is required." +msgstr "دادن نام ضروری است." + +#: ../Alacarte/DialogHandler.py:148 ../Alacarte/DialogHandler.py:185 +msgid "A command is required." +msgstr "دادن فرمان ضروری است." + +#: ../alacarte.desktop.in.h:1 +msgid "Add, change, remove menu entries" +msgstr "اضافه کردن، تغییر دادن یا حذف مداخل منو" + +#: ../alacarte.desktop.in.h:2 ../alacarte.glade.h:9 +msgid "Menu Layout" +msgstr "چیدمان منو" + +#: ../alacarte.glade.h:1 +msgid "Alacarte Menu Editor" +msgstr "ویرایشگر منوی آلاکارته" + +#: ../alacarte.glade.h:2 +msgid "Browse..." +msgstr "مرور..." + +#: ../alacarte.glade.h:3 +msgid "Command:" +msgstr "فرمان:" + +#: ../alacarte.glade.h:4 +msgid "Comment:" +msgstr "توضیح:" + +#: ../alacarte.glade.h:5 +msgid "Copyright © 2006 Travis Watkins" +msgstr "Copyright © 2006 Travis Watkins" + +#: ../alacarte.glade.h:6 +msgid "Icon:" +msgstr "شمایل:" + +#: ../alacarte.glade.h:7 +msgid "It_ems:" +msgstr "_موارد:" + +#: ../alacarte.glade.h:8 +msgid "Menu Item Properties" +msgstr "ویژگی‌های این مورد در منو" + +#: ../alacarte.glade.h:10 +msgid "Menu Properties" +msgstr "ویژگی‌های منو" + +#: ../alacarte.glade.h:11 +msgid "Move Down" +msgstr "جابه‌جایی به پایین" + +#: ../alacarte.glade.h:12 +msgid "Move Up" +msgstr "جابه‌جایی به بالا" + +#: ../alacarte.glade.h:13 +msgid "Name:" +msgstr "نام:" + +#: ../alacarte.glade.h:14 +msgid "Ne_w Item" +msgstr "مورد _جدید" + +#: ../alacarte.glade.h:15 +msgid "New _Separator" +msgstr "ج_داساز جدید" + +#: ../alacarte.glade.h:16 +msgid "Restore the default menu layout" +msgstr "برگرداندن چیدمان پیش‌فرض منو" + +#: ../alacarte.glade.h:17 +msgid "Revert Changes?" +msgstr "تغییرات بازگشت داده شود؟" + +#: ../alacarte.glade.h:18 +msgid "Revert all menus to original settings?" +msgstr "تنظیمات همهٔ منوها به حالت اصلی بازگشت داده شود؟" + +#: ../alacarte.glade.h:19 +msgid "Run command in a terminal" +msgstr "اجرای فرمان در پایانه" + +#: ../alacarte.glade.h:20 +msgid "Simple fd.o compliant menu editor" +msgstr "ویرایشگر منوی سادهٔ سازگار با fd.o" + +#: ../alacarte.glade.h:21 +msgid "_Menus:" +msgstr "_منوها:" + +#: ../alacarte.glade.h:22 +msgid "_New Menu" +msgstr "منوی _جدید" + +#: ../alacarte.glade.h:23 +msgid "_Revert to Original" +msgstr "_بازگشت به حالت اصلی" + +#. TRANSLATORS: Replace this string with your names, one name per line. +#: ../alacarte.glade.h:25 +msgid "translator-credits" +msgstr "میلاد زکریا " + diff --git a/po/fi.po b/po/fi.po new file mode 100644 index 0000000..c0bcd64 --- /dev/null +++ b/po/fi.po @@ -0,0 +1,173 @@ +# Finnish translation for alacarte +# Copyright (c) (c) 2006 Canonical Ltd, and Rosetta Contributors 2006 +# This file is distributed under the same license as the alacarte package. +# +# Elias Julkunen , 2006. +# Ilkka Tuohela , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-07-11 06:37+0300\n" +"PO-Revision-Date: 2007-02-14 06:03+0300\n" +"Last-Translator: Timo Jyrinki \n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Nimi" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Näytä" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Kohta" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Valitse, mitkä sovellukset näytetään päävalikossa" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Päävalikko" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "Ko_hdat:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Siirrä alas" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Siirrä ylös" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "U_usi kohta" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Uusi _erotin" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Palauta valikkojen oletusasettelu" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Peru kaikki muutokset?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Palauta kaikki valikot alkuperäisiin asetuksiin?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Valikot:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Uusi valikko" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Palauta alkuperäinen" + +#~ msgid "Menu Layout" +#~ msgstr "Valikkojen muokkaus" + +#~ msgid "New menu items need a name" +#~ msgstr "Uusilla valikon kohdilla täytyy olla nimi" + +#~ msgid "New menus need a name" +#~ msgstr "Uusilla valikoilla täytyy olla nimi" + +#~ msgid "Choose a Program" +#~ msgstr "Valitse ohjelma" + +#~ msgid "Choose an Icon" +#~ msgstr "Valitse kuvake" + +#~ msgid "A name is required." +#~ msgstr "Nimi vaaditaan." + +#~ msgid "A command is required." +#~ msgstr "Komento vaaditaan." + +#~ msgid "No Icon" +#~ msgstr "Ei kuvaketta" + +#~ msgid "Menu Editor" +#~ msgstr "Valikkomuokkain" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Alacarte-valikkomuokkain" + +#~ msgid "Browse..." +#~ msgstr "Selaa..." + +#~ msgid "Command:" +#~ msgstr "Komento:" + +#~ msgid "Comment:" +#~ msgstr "Kommentti:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Copyright © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Kuvake:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Valikon kohdan ominaisuudet" + +#~ msgid "Menu Properties" +#~ msgstr "Valikon ominaisuudet" + +#~ msgid "Name:" +#~ msgstr "Nimi:" + +#~ msgid "Run command in a terminal" +#~ msgstr "Suorita komento päätteessä" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Freedesktop.org-yhteensopiva valikkojen muokkain" + +#~ msgid "translator-credits" +#~ msgstr "" +#~ "Elias Julkunen 2006\n" +#~ "Ilkka Tuohela 2006\n" +#~ "\n" +#~ "http://www.mate.fi/" + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Lisää, muokkaa ja poista valikon kohtia" + +#~ msgid "A menu can't be named \"Other\"." +#~ msgstr "Valikon nimi ei voi olla \"Muut\"." + +#~ msgid "Loading..." +#~ msgstr "Ladataan..." + +#~ msgid "Visible" +#~ msgstr "Näkyvissä" + +#~ msgid "Entry Editor" +#~ msgstr "Kohdan muokkaus" + +#~ msgid "Icon Selector" +#~ msgstr "Kuvakkeen valinta" + +#~ msgid "New _Entry" +#~ msgstr "Uusi _kohta" + +#~ msgid "_Delete" +#~ msgstr "_Poista" diff --git a/po/fr.po b/po/fr.po new file mode 100644 index 0000000..3985a45 --- /dev/null +++ b/po/fr.po @@ -0,0 +1,87 @@ +# French translation of alacarte. +# Copyright (C) 2006 Free Software Foundation, Inc. +# This file is distributed under the same license as the alacarte package. +# +# Jonathan Ernst , 2006. +# Robert-André Mauchin , 2006. +# Stéphane Raimbault , 2007-2008. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte 0.9.3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-03-05 20:57+0100\n" +"PO-Revision-Date: 2008-03-05 20:59+0100\n" +"Last-Translator: Stéphane Raimbault \n" +"Language-Team: MATE French Team \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:168 +msgid "Name" +msgstr "Nom" + +#: ../Alacarte/MainWindow.py:184 +msgid "Show" +msgstr "Afficher" + +#: ../Alacarte/MainWindow.py:192 +msgid "Item" +msgstr "Élément" + +# Utilisation de l'infinitif sur les infobulles du Bureau +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Modifier les applications affichées dans le menu principal" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Menu principal" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "É_léments :" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Descendre" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Monter" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Nouvel élé_ment" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Nouveau _séparateur" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Restaurer l'agencement de menu par défaut" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Annuler les modifications ?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Revenir à la configuration d'origine de tous les menus ?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menus :" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Nouveau menu" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Revenir à l'original" + +#~ msgid "Menu Layout" +#~ msgstr "Agencement du menu" diff --git a/po/fur.po b/po/fur.po new file mode 100644 index 0000000..5480d3b --- /dev/null +++ b/po/fur.po @@ -0,0 +1,82 @@ +# Friulian translation of alacarte +# Copyright (C) 2007 Free Software Foundation, Inc. +# Massimo Furlani , 2007. +# +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-03-11 13:05+0100\n" +"PO-Revision-Date: 2008-03-08 15:53+0100\n" +"Last-Translator: Massimo Furlani \n" +"Language-Team: FRIULIAN \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Friulian\n" +"X-Poedit-Country: ITALY\n" + +#: ../Alacarte/MainWindow.py:168 +msgid "Name" +msgstr "Nom" + +#: ../Alacarte/MainWindow.py:184 +msgid "Show" +msgstr "Mostre" + +#: ../Alacarte/MainWindow.py:192 +msgid "Item" +msgstr "Vôs" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Gambie lis aplicazions mostradis tal menu principâl" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Menu principâl" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Vôs:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Sposte ju" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Sposte sù" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "G_nove vôs" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Gn_ûf separadôr" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Ripristine il layout predefinît di menu" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Tornâ a ripristinâ?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Tornâ a ripristinâ i setagjos dai menu originâi?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menu:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Gnûf menu" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Ripuarte a l'origjinâl" diff --git a/po/fy.po b/po/fy.po new file mode 100644 index 0000000..04b8a0a --- /dev/null +++ b/po/fy.po @@ -0,0 +1,82 @@ +# Frisian translation for alacarte +# +# This file is distributed under the same license as the alacarte package. +# Sense Hofstede , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: FULL NAME \n" +"POT-Creation-Date: 2010-04-10 15:41+0000\n" +"PO-Revision-Date: 2010-07-17 23:52+0000\n" +"Last-Translator: Sense Hofstede \n" +"Language-Team: Frisian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2010-07-17 23:56+0000\n" +"X-Generator: Launchpad (build Unknown)\n" + +#: ../Alacarte/MainWindow.py:165 +msgid "Name" +msgstr "Namme" + +#: ../Alacarte/MainWindow.py:181 +msgid "Show" +msgstr "Sjen litte" + +#: ../Alacarte/MainWindow.py:189 +msgid "Item" +msgstr "Item" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Feroarje hokke applikaasje wurde sjen litte in it haadmenu" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Haadmenu" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "It_ems:" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Omleech Ferpleatse" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Omheech Ferpleatse" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "Nij Item" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "Nije Ôf_skieder" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "It standert menuûntwerp werkomkeare" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Feroaringen Weromkeare?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Alle menus nei orizjinele ynstellingen weromkeare?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Menus:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "_Nij Menu" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "Nij Orizjineel Weromkeare" diff --git a/po/ga.po b/po/ga.po new file mode 100644 index 0000000..64a391d --- /dev/null +++ b/po/ga.po @@ -0,0 +1,82 @@ +# Irish translations for alacarte package. +# Copyright (C) 2007 Free Software Foundation, Inc. +# This file is distributed under the same license as the alacarte package. +# Seán de Búrca , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte HEAD\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-11-30 17:21-0700\n" +"PO-Revision-Date: 2007-11-30 17:21-0700\n" +"Last-Translator: Seán de Búrca \n" +"Language-Team: Irish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=5; plural=n==1 ? 0 : (n%10==1 || n%10==2) ? 1 : (n%" +"10>=3 && n%10<= 6) ? 2 : ((n%10>=7 && n%10<=9) || n==10) ? 3 : 4;\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Ainm" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Taispeáin" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Mír" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Athraigh na feidhmchláir atá taispeánta sa phríomhroghchlár" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Príomhroghchlár" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "Mír_eanna:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Bog Síos" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Bog Suas" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Mír N_ua" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "_Deighilteoir Nua" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Cuir an leagan amach roghchláir réamhshocrú" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Fill Athruithe?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Fill gach roghchlár ar bhunsocruithe?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Roghchláir:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "Roghchlár _Nua" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Fill ar Bhunúsach" diff --git a/po/gl.po b/po/gl.po new file mode 100644 index 0000000..be26322 --- /dev/null +++ b/po/gl.po @@ -0,0 +1,86 @@ +# translation of gl.po to Galego +# Copyright (C) 2010 Francisco Diéguez +# This file is distributed under the same license as the alacarte package. +# +# Ignacio Casal Quinteiro , 2006. +# Ignacio Casal Quinteiro , 2007, 2008. +# Mancomún - Centro de Referencia e Servizos de Software Libre , 2009. +# Fran Diéguez , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: gl\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-07-18 15:51+0200\n" +"PO-Revision-Date: 2010-07-18 15:52+0200\n" +"Last-Translator: Fran Diéguez \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "Nome" + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "Mostrar" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "Elemento" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Cambiar os aplicativos que se mostran no menú principal" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Menú principal" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "El_ementos:" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Mover abaixo" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Mover arriba" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "Elemento no_vo" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "_Separador novo" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "Restaurar a disposición de menú predefinida" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Quere restaurar os cambios?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Quere restaurar todos os menús coa configuración orixinal?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Menús:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "Menú _novo" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "_Recuperar o orixinal" diff --git a/po/gu.po b/po/gu.po new file mode 100644 index 0000000..a99b291 --- /dev/null +++ b/po/gu.po @@ -0,0 +1,85 @@ +# translation of alacarte.HEAD.gu.po to Gujarati +# This file is distributed under the same license as the PACKAGE package. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. +# Ankit Patel , 2006. +# Ankit Patel , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte.HEAD.gu\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 04:30+0000\n" +"PO-Revision-Date: 2007-03-01 14:17+0530\n" +"Last-Translator: Ankit Patel \n" +"Language-Team: Gujarati \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.9.1\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n\n" +"\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "નામ" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "બતાવો" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "વસ્તુ" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "કયા કાર્યક્રમો મુખ્ય મેનુમાં બતાવાયેલ છે તે બદલો" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "મુખ્ય મેનુ" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "વસ્તુઓ (_e):" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "નીચે ખસેડો" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "ઉપર ખસેડો" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "નવી વસ્તુ (_w)" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "નવો વિભાજક (_S)" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "મૂળભૂત મેનુ દેખાવ પુનઃસંગ્રહો" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "શું ફેરફારો ઉલટાવવા છે?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "શું બધા મેનુઓને મૂળ સુયોજનોમાં ઉલટાવવા છે?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "મેનુઓ (_M):" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "નવું મેનુ (_N)" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "મૂળમાં ઉલટાવો (_R)" + diff --git a/po/he.po b/po/he.po new file mode 100644 index 0000000..7b61bee --- /dev/null +++ b/po/he.po @@ -0,0 +1,134 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Zohar Snir , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 04:30+0000\n" +"PO-Revision-Date: 2006-08-26 19:59+0300\n" +"Last-Translator: Zohar Snir \n" +"Language-Team: he \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "שם" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "הצג" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "פריט" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "שנה את היישומים המופיעים בתפריט הראשי" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "תפריט ראשי" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_פריטים:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "הזז למטה" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "הזז למעלה" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "פריט _חדש" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "מפרי_ד חדש" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "שחזר את תסדיר התפריט לברירת המחדל" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "האם לבטל שינויים?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "האם לשחזר את כל התפריטים להגדרותיהם המקוריות?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_תפריטים:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "תפ_ריט חדש" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_שחזר להגדרות המקוריות" + +#~ msgid "New menu items need a name" +#~ msgstr "פריט תפריט חדש חייב שם" + +#~ msgid "New menus need a name" +#~ msgstr "תפריטים חדשים חייבים שם" + +#~ msgid "Menu Editor" +#~ msgstr "עורך תפריטים" + +#~ msgid "Menu Layout" +#~ msgstr "תסדיר תפריט" + +#~ msgid "A name is required." +#~ msgstr "חובה לציין שם." + +#~ msgid "A command is required." +#~ msgstr "חובה לציין פקודה." + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "הוסף, שנה והסר פריטי תפריט" + +#~ msgid "Browse..." +#~ msgstr "עיין...." + +#~ msgid "Command:" +#~ msgstr "פקודה:" + +#~ msgid "Comment:" +#~ msgstr "הערה:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Copyright © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "סמל:" + +#~ msgid "Menu Item Properties" +#~ msgstr "מאפייני פריט תפריט" + +#~ msgid "Menu Properties" +#~ msgstr "מאפייני תפריט" + +#~ msgid "Name:" +#~ msgstr "שם:" + +#~ msgid "Run command in a terminal" +#~ msgstr "הרץ פקודה במסוף" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "עורך תפריטים פשוט תואם fd.o" + +#~ msgid "translator-credits" +#~ msgstr "זוהר שניר" diff --git a/po/hi.po b/po/hi.po new file mode 100644 index 0000000..bb832ea --- /dev/null +++ b/po/hi.po @@ -0,0 +1,86 @@ +# translation of alacarte.master.po to Hindi +# This file is distributed under the same license as the PACKAGE package. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. +# +# Rajesh Ranjan , 2006. +# Rajesh Ranjan , 2009. +msgid "" +msgstr "" +"Project-Id-Version: alacarte.master\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?product=alacarte&component=general\n" +"POT-Creation-Date: 2009-04-22 22:36+0000\n" +"PO-Revision-Date: 2009-09-11 15:09+0530\n" +"Last-Translator: Rajesh Ranjan \n" +"Language-Team: Hindi \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n\n" +"\n" +"\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "नाम" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "दिखाएँ" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "वस्तु" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "बदलें कि कौन से अनुप्रयोगों को मुख्य मेन्यू में दिखाया गया है" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.glade.h:2 +msgid "Main Menu" +msgstr "मुख्य मेन्यू" + +#: ../data/alacarte.glade.h:1 +msgid "It_ems:" +msgstr "मद (_e):" + +#: ../data/alacarte.glade.h:3 +msgid "Move Down" +msgstr "नीचे जायें" + +#: ../data/alacarte.glade.h:4 +msgid "Move Up" +msgstr "ऊपर जायें" + +#: ../data/alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "नया मद (_w)" + +#: ../data/alacarte.glade.h:6 +msgid "New _Separator" +msgstr "नया पृथक्कारक (_S)" + +#: ../data/alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "मूलभूत मेनू लेआउट फिर भंडारित करें" + +#: ../data/alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "बदलाव वापस लें?" + +#: ../data/alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "सारे मेनू मूल जमावट में वापस करें?" + +#: ../data/alacarte.glade.h:10 +msgid "_Menus:" +msgstr "मेनू (_M):" + +#: ../data/alacarte.glade.h:11 +msgid "_New Menu" +msgstr "नया मेनू (_N)" + +#: ../data/alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "मूल में वापस करें (_R)" + diff --git a/po/hr.po b/po/hr.po new file mode 100644 index 0000000..c47a464 --- /dev/null +++ b/po/hr.po @@ -0,0 +1,84 @@ +# Croatian translation for alacarte +# Copyright (c) (c) 2006 Canonical Ltd, and Rosetta Contributors 2006 +# This file is distributed under the same license as the alacarte package. +# FIRST AUTHOR , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-03-11 00:25+0000\n" +"PO-Revision-Date: 2007-03-14 22:54+0000\n" +"Last-Translator: Ante Karamatić \n" +"Language-Team: Croatian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Launchpad-Export-Date: 2008-05-28 03:05+0000\n" +"X-Generator: Launchpad (build Unknown)\n" + +#: ../Alacarte/MainWindow.py:168 +msgid "Name" +msgstr "Naziv" + +#: ../Alacarte/MainWindow.py:184 +msgid "Show" +msgstr "Prikaži" + +#: ../Alacarte/MainWindow.py:192 +msgid "Item" +msgstr "Stavka" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Izmjenite popis programa na ovom izborniku" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Glavni izbornik" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Stavke:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Pomakni dolje" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Pomakni gore" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Nova _stavka" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Nova _razmaknica" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Vrati na uobičajeni raspored izbornika" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Vratiti promjene?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Vratiti sve izbornike na originalne postavke?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Izbornici:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Novi izbornik" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "Vrati na originalno" diff --git a/po/hu.po b/po/hu.po new file mode 100644 index 0000000..3d9726e --- /dev/null +++ b/po/hu.po @@ -0,0 +1,84 @@ +# Hungarian translation for alacarte +# Copyright (c) (c) 2006 Canonical Ltd, and Rosetta Contributors 2006 +# This file is distributed under the same license as the alacarte package. +# +# Gabor Burján , 2006. +# Gabor Kelemen , 2006, 2007. +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 04:30+0000\n" +"PO-Revision-Date: 2007-03-09 13:06+0100\n" +"Last-Translator: Gabor Kelemen \n" +"Language-Team: Hungarian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Név" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Látható" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Elem" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "A főmenüben megjelenő alkalmazások módosítása" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Főmenü" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Elemek:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Lefelé" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Felfelé" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Ú_j elem" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Új _elválasztó" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Az alapértelmezett menüelrendezés visszaállítása" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Visszavonja a módosításokat?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Visszaállítja a menük eredeti állapotát?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menük:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "Új _menü" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Visszatérés az eredeti állapothoz" + diff --git a/po/hy.po b/po/hy.po new file mode 100644 index 0000000..3e1d1ad --- /dev/null +++ b/po/hy.po @@ -0,0 +1,80 @@ +# Translation of alacarte to Armenian +# This file is distributed under the same license as the alacarte package. +# Copyright (C) 2010, Artyom Karhanyan +# Artyom Karhanyan +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-05-31 10:16+0500\n" +"PO-Revision-Date: 2010-05-17 16:41+0400\n" +"Last-Translator: Artyom Karhanyan \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "Անուն" + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "Ցույց տալ" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "Տարր" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Ընտրել աշխատածրագրերը, որոնք ցուցադրվելու են գլխավոր մենյուում" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Գլխավոր մենյու" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "_Տարրեր" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Տեղափոխել ներքև" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Տեղափոխել վերև" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "_Նոր տարր" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "Նոր _Բաժանիչ" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "Վերականգնել լռելայն մենյուի տեսքը" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Վերականգնե՞լ փոփոխությունները" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Վերականգնե՞լ բոլոր մենյուների սկզբնական վիճակը" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Մենյուներ․" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "Ն_որ մենյու" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "_Վերականգնել սկզբնական վիճակը" diff --git a/po/id.po b/po/id.po new file mode 100644 index 0000000..69ebe37 --- /dev/null +++ b/po/id.po @@ -0,0 +1,87 @@ +# translation of alacarte. +# Copyright (C) 2007 THE alacarte'S COPYRIGHT HOLDER +# This file is distributed under the same license as the alacarte package. +# +# +# ahmad riza h nst, 2007. +# Dirgita , 2010. +msgid "" +msgstr "" +"Project-Id-Version: alacarte HEAD\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?" +"product=alacarte&component=general\n" +"POT-Creation-Date: 2010-08-20 18:15+0000\n" +"PO-Revision-Date: 2010-06-06 09:44+0700\n" +"Last-Translator: Dirgita \n" +"Language-Team: MATE Indonesian Translation Team \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 1.1\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "Nama" + +# Ini tombol ceklis untuk memilih menu-menu apa saja yang tampak dalam daftar menu utama. +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "Tampak" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "Item" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Memilih aplikasi yang hendak ditampilkan pada menu utama" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Menu Utama" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "It_em:" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Turun" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Naik" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "_Item Baru" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "Pemi_sah Baru" + +# Tip yang muncul untuk tombol "Revert". +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "Mengembalikan menu dalam susunan baku" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Kembalikan Perubahan?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Kembalikan seluruh menu ke setingan asli?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Menu:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "Me_nu Utama" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "_Kembali ke Asli" diff --git a/po/io.po b/po/io.po new file mode 100644 index 0000000..1c9aa82 --- /dev/null +++ b/po/io.po @@ -0,0 +1,83 @@ +# Ido gtk+ po-properties file. +# Copyright (C) 2007 +# This file is distributed under the same license as the gtk+ package. +# Michael Terry , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: alacart 0.11.4\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-09-18 19:38-0400\n" +"PO-Revision-Date: 2007-09-18 22:45-0500\n" +"Last-Translator: Michael Terry \n" +"Language-Team: Ido \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Nomo" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Montrez" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Elemento" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Chanjez quin programi montresas en la precipua menuo" + +#: ../alacarte.desktop.in.in.h:2 +#: ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Precipua Menuo" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Elementi:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Movigez Adinfre" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Movigez Adsupre" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "No_va Elemento" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Nova _Separilo" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Restaurez la originala menuala traso" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Ka Reversionez Chanji?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Ka reversionez omna menui ad originala situesi?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menui:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Nova Menuo" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Reversionez ad Originalajo" + diff --git a/po/it.po b/po/it.po new file mode 100644 index 0000000..83d7562 --- /dev/null +++ b/po/it.po @@ -0,0 +1,140 @@ +# Italian translation for alacarte +# Copyright (c) 2006 Free Software Foundation, Inc. +# This file is distributed under the same license as the alacarte package. +# Alessio Frusciante , 2006. +# Milo Casagrande , 2006-2008 +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-01-06 14:34+0100\n" +"PO-Revision-Date: 2009-01-06 14:34+0100\n" +"Last-Translator: Milo Casagrande \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:168 +msgid "Name" +msgstr "Nome" + +#: ../Alacarte/MainWindow.py:184 +msgid "Show" +msgstr "Mostra" + +#: ../Alacarte/MainWindow.py:192 +msgid "Item" +msgstr "Voce di menù" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Sceglie le applicazioni da mostrate nel menù" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Menù principale" + +#: ../data/alacarte.glade.h:1 +msgid "It_ems:" +msgstr "Voc_i:" + +#: ../data/alacarte.glade.h:3 +msgid "Move Down" +msgstr "Sposta in basso" + +#: ../data/alacarte.glade.h:4 +msgid "Move Up" +msgstr "Sposta in alto" + +#: ../data/alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Nuova _voce" + +#: ../data/alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Nuovo _separatore" + +#: ../data/alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Ripristina la struttura predefinita del menù" + +#: ../data/alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Annullare i cambiamenti?" + +#: ../data/alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Ripristinare le impostazioni predefinite di tutti i menù?" + +#: ../data/alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menù:" + +#: ../data/alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Nuovo menù" + +#: ../data/alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Ripristina originale" + +#~ msgid "Menu Layout" +#~ msgstr "Struttura menù" + +#, fuzzy +#~ msgid "New menu items need a name" +#~ msgstr "La nuova voce di menù necessita di un nome" + +#, fuzzy +#~ msgid "New menus need a name" +#~ msgstr "Il nuovo menù necessita di un nome" + +#, fuzzy +#~ msgid "Menu Editor" +#~ msgstr "Editor di menù" + +#~ msgid "A name is required." +#~ msgstr "È richiesto un nome." + +#~ msgid "A command is required." +#~ msgstr "È richiesto un comando." + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Aggiunge, cambia e rimuove voci di menù" + +#~ msgid "Browse..." +#~ msgstr "Sfoglia ..." + +#~ msgid "Command:" +#~ msgstr "Comando:" + +#~ msgid "Comment:" +#~ msgstr "Commento:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Copyright © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Icona:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Proprietà della voce di menù" + +#~ msgid "Menu Properties" +#~ msgstr "Proprietà del menù" + +#~ msgid "Name:" +#~ msgstr "Nome:" + +#~ msgid "Run command in a terminal" +#~ msgstr "Eseguire il comando in un terminale" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Semplice editor di menù conforme a freedesktop.org" + +#~ msgid "translator-credits" +#~ msgstr "" +#~ "Milo Casagrande \n" +#~ "Alessio Frusciante " diff --git a/po/ja.po b/po/ja.po new file mode 100644 index 0000000..92e4b86 --- /dev/null +++ b/po/ja.po @@ -0,0 +1,81 @@ +# Japanese message catalog for Alacarte, a simple menu editor for MATE. +# Copyright (C) 2006,2007 Free Software Foundation, Inc. +# This file is distributed under the same license as the 'alacarte' package. +# Satoru SATOH , 2006. +# Takeshi AIHANA , 2006,2007. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte trunk\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-03-03 07:23+0900\n" +"PO-Revision-Date: 2008-03-03 07:20+0900\n" +"Last-Translator: Takeshi AIHANA \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:168 +msgid "Name" +msgstr "名前" + +#: ../Alacarte/MainWindow.py:184 +msgid "Show" +msgstr "表示" + +#: ../Alacarte/MainWindow.py:192 +msgid "Item" +msgstr "アイテム" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "メニュー・アイテムを編集します" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "メイン・メニュー" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "アイテム(_E):" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "下へ" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "上へ" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "新しいアイテム(_W)" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "新しいセパレータ(_S)" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "デフォルトのメニュー構成に戻します" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "変更点を元に戻しますか?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "全てのメニューを元の設定に戻しますか?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "メニュー(_M):" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "新しいメニュー(_N)" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "元に戻す(_R)" diff --git a/po/ka.po b/po/ka.po new file mode 100644 index 0000000..9a4e474 --- /dev/null +++ b/po/ka.po @@ -0,0 +1,81 @@ +# translation of ka.po to Georgian +# Davit Managadze , 2006. +# Vladimer Sichinava ვლადიმერ სიჭინავა , 2007. +msgid "" +msgstr "" +"Project-Id-Version: ka\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-08-28 03:49+0200\n" +"PO-Revision-Date: 2007-08-28 03:52+0200\n" +"Last-Translator: Vladimer Sichinava ვლადიმერ სიჭინავა \n" +"Language-Team: Georgian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=1; plural=0\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "სახელი" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "ჩვენება" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "ელემენტი" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "ძირითად მენიუში პროგრამების მართვა, შესაძლებელია მათი დამალვა ან ჩვენება" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "ძირითადი მენიუ" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_ელემენტები:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "ქვემოთ გადატანა" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "ზემოთ გადატანა" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "_ახალი პუნქტი" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "ახალი _გამყოფი ხაზი" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "სტანდარტული მენიუს განლაგების აღდგენა" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "გავაუქმოთ ცვლილებები?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "დავაბრუნოთ ყველა მენიუ საწყის მდგომარეობაში?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_მენიუები:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "ახალი _მენიუ" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_დააბრუნე ორიგინალი" + diff --git a/po/kk.po b/po/kk.po new file mode 100644 index 0000000..40a1a69 --- /dev/null +++ b/po/kk.po @@ -0,0 +1,86 @@ +# Kazakh translation of alacarte +# Copyright (C) Free Software Foundation +# This file is distributed under the same license as the alacarte package. +# +# Erzhan Shaniev , 2008 +# Moldabekov Margulan , 2008 +# Baurzhan Muftakhidinov , 2010 +msgid "" +msgstr "" +"Project-Id-Version: alacarte trunk\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?product=alacarte&component=general\n" +"POT-Creation-Date: 2010-07-13 11:32+0000\n" +"PO-Revision-Date: 2010-08-21 21:07+0600\n" +"Last-Translator: Baurzhan Muftakhidinov \n" +"Language-Team: Kazakh <>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "Аты" + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "Көрсету" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "Элемент" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Бас мәзірде көрсетілген қолданбаларды таңдау" + +#: ../data/alacarte.desktop.in.in.h:2 +#: ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Бас мәзір" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "_Элементтер:" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Астына жылжыту" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Үстіне жылжыту" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "Жаңа элемен_т" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "Жаңа бө_лгіш" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "Мәзірді бастапқы қалпына келтіру" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Өзгерістерден бас тарту керек пе?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Барлық мәзірлерді бастапқы қалпына келтіру керек пе?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Мәзір:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "Жаңа мә_зір" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "Бастапқы қалпына келтіру" + diff --git a/po/kn.po b/po/kn.po new file mode 100644 index 0000000..6e3a862 --- /dev/null +++ b/po/kn.po @@ -0,0 +1,85 @@ +# translation of alacarte.HEAD.kn.po to Kannada +# Translation of alacarte.HEAD.po to Kannada +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Ragavendra BN , 2007. +# Shankar Prasad , 2007. +msgid "" +msgstr "" +"Project-Id-Version: alacarte.HEAD.kn\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-12-19 03:53+0000\n" +"PO-Revision-Date: 2007-12-24 16:55+0530\n" +"Last-Translator: Shankar Prasad \n" +"Language-Team: Kannada \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "ಹೆಸರು" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "ತೋರಿಸು" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "ವಸ್ತು" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "ಮುಖ್ಯ ಪರಿವಿಡಿಯಲ್ಲಿ ಯಾವ ಅನ್ವಯವನ್ನು ತೋರಿಸಬೇಕು ಎಂಬುದನ್ನು ಬದಲಾಯಿಸಿ" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "ಮುಖ್ಯ ಪರಿವಿಡಿ" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "ವಸ್ತುಗಳು(_e):" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "ಕೆಳಗೆ ಚಲಿಸು" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "ಮೇಲೆ ಚಲಿಸು" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "ಹೊಸ ವಸ್ತು (_w)" + +#: ../alacarte.glade.h:6ಗೇ +msgid "New _Separator" +msgstr "ಹೊಸ ವಿಭಜಕ(_S)" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "ಪೂರ್ವನಿಯೋಜಿತ ಪರಿವಿಡಿ ರಚನೆಯನ್ನು ಪುನರ್ಸ್ಥಾಪಿಸು" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "ಬದಲಾವಣೆ ರದ್ದು ಮಾಡಬೇಕೆ?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "ಎಲ್ಲ ಪರಿವಿಡಿಗಳನ್ನು ಪೂರ್ವನಿಯೋಜಿತಕ್ಕೆ ಮರಳಿಸಬೇಕೆ?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "ಪರಿವಿಡಿಗಳು(_M):" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "ಹೊಸ ಪರಿವಿಡಿ(_N)" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "ಮೂಲಕ್ಕೆ ಮರಳಿಸು(_R)" + diff --git a/po/ko.po b/po/ko.po new file mode 100644 index 0000000..9267351 --- /dev/null +++ b/po/ko.po @@ -0,0 +1,79 @@ +# alacarte Korean translation +# This file is distributed under the same license as the alacarte package. +# Changwoo Ryu , 2006, 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?product=alacarte&component=general\n" +"POT-Creation-Date: 2007-02-25 08:16+0900\n" +"PO-Revision-Date: 2010-03-07 01:51+0900\n" +"Last-Translator: Changwoo Ryu \n" +"Language-Team: Korean \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "이름" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "보기" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "항목" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "주 메뉴의 프로그램 표시를 바꿉니다" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "주 메뉴" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "항목(_E):" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "아래로 옮기기" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "위로 옮기기" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "새 항목(_W)" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "새 구분선(_S)" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "기본 메뉴 배치로 되돌리기" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "바꾼 사항을 되돌리시겠습니까?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "메뉴를 전부 원래의 설정으로 되돌리시겠습니까?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "메뉴(_M):" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "새 메뉴(_N)" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "원래대로 되돌리기(_R)" diff --git a/po/ku.po b/po/ku.po new file mode 100644 index 0000000..70cea36 --- /dev/null +++ b/po/ku.po @@ -0,0 +1,140 @@ +# Kurdish translation for alacarte +# Copyright (c) (c) 2006 Canonical Ltd, and Rosetta Contributors 2006 +# This file is distributed under the same license as the alacarte package. +# FIRST AUTHOR , 2006. +# Erdal , 2009. +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-09-15 14:05+0200\n" +"PO-Revision-Date: 2009-09-15 14:09+0200\n" +"Last-Translator: Erdal \n" +"Language-Team: Kurdish Team http://pckurd.net\n" +"Language: ku\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Virtaal 0.4.0\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "Nav" + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "Nîşandan" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "Hêman" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Pêşeka Bingehîn" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "Hê_man:" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Bikşîne Jêr" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Bikşîne Jor" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "Hêmana _nû" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "V_eqetandeka nû" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Guherînan _paş de vegerîne?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Bila hemû pêşek vegere mîhengên sereke?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Pêşek:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "_Pêşeka nû" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "_Vegerîne Orjînalê" + +#~ msgid "A name is required." +#~ msgstr "Navek pêwist e." + +#~ msgid "A menu can't be named \"Other\"." +#~ msgstr "Pêşek wekî \"Yên din\" nikare bête binavkirin." + +#~ msgid "A command is required." +#~ msgstr "Fermanek pêwist e." + +#~ msgid "Loading..." +#~ msgstr "Tê barkirin..." + +#~ msgid "Visible" +#~ msgstr "Pêkane" + +#~ msgid "translator-credits" +#~ msgstr "Rêzan Tovjîn , 2006" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Pergalkerê Pêşeka Alacarte" + +#~ msgid "Simple freedesktop.org Compliant Menu Editor" +#~ msgstr "Edîtora Pêşekan a hesan û li gora freedesktop.org" + +#~ msgid "Command:" +#~ msgstr "Ferman:" + +#~ msgid "Comment:" +#~ msgstr "Şîrove:" + +#~ msgid "Entry Editor" +#~ msgstr "Edîtorê Daneyê" + +#~ msgid "Icon Selector" +#~ msgstr "Hilbijêrê Sembolê" + +#~ msgid "Icon:" +#~ msgstr "Sembol" + +#~ msgid "Menu Editor" +#~ msgstr "Edîtorê Pêşekê" + +#~ msgid "Name:" +#~ msgstr "Nav:" + +#~ msgid "New _Entry" +#~ msgstr "_Daneya nû" + +#~ msgid "Run In Terminal" +#~ msgstr "Li Termînalê Bixebitîne" + +#~ msgid "_Delete" +#~ msgstr "_Jê bibe" + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Daneyên pêşekê lê zêde bike, biguhere, jê bibe" diff --git a/po/lt.po b/po/lt.po new file mode 100644 index 0000000..effc0be --- /dev/null +++ b/po/lt.po @@ -0,0 +1,83 @@ +# translation of lt.po to Lithuanian +# Copyright (C) 2006, 2007 Free Software Foundation, Inc. +# This file is distributed under the same license as the Alacarte package. +# +# Gintautas Miliauskas , 2006, 2007. +msgid "" +msgstr "" +"Project-Id-Version: lt\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-03-04 17:23+0200\n" +"PO-Revision-Date: 2007-03-04 17:22+0200\n" +"Last-Translator: Gintautas Miliauskas \n" +"Language-Team: Lithuanian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%" +"100<10 || n%100>=20) ? 1 : 2);\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Vardas" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Rodyti" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Įrašas" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Pakeisti programų, rodomų pagrindiniame meniu, sąrašą" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Pagrindinis meniu" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "Į_rašai" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Slinkti žemyn" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Slinkti aukštyn" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "_Naujas įrašas" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Naujas _skirtukas" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Atkurti standartinį meniu išdėstymą" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Atmesti pakeitimus?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Atkurti visus meniu į pradinius nustatymus?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Meniu:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Naujas meniu" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Atkurti originalų" diff --git a/po/lv.po b/po/lv.po new file mode 100644 index 0000000..c0ee05e --- /dev/null +++ b/po/lv.po @@ -0,0 +1,83 @@ +# translation of lv.po to Latvian +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Raivis Dejus , 2006, 2007. +msgid "" +msgstr "" +"Project-Id-Version: lv\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-06-17 19:53+0300\n" +"PO-Revision-Date: 2007-06-17 19:54+0300\n" +"Last-Translator: Raivis Dejus \n" +"Language-Team: Latvian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Nosaukums" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Parādīt" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Ieraksts" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Izmainīt kuras programmas ir redzamas galvenajā izvēlnē" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Galvenā izvēlne" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "I_eraksti:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Pārvietot uz leju" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Pārvietot uz augšu" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Jauns ieraks_ts" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Jaun_s atdalītājs" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Atjaunot noklusēto izvēlnes izkārtojumu" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Atgriezt Izmaiņas?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Atjaunot oriģinālos uzstādijumus visās izvēlnēs?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Izvēlnes:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "Jau_na Izvēlne" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "Atjaunot kā o_riģinālu" + diff --git a/po/mai.po b/po/mai.po new file mode 100644 index 0000000..989fc27 --- /dev/null +++ b/po/mai.po @@ -0,0 +1,83 @@ +# translation of alacarte.master.po to Maithili +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Sangeeta Kumari , 2009. +msgid "" +msgstr "" +"Project-Id-Version: alacarte.master\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?product=alacarte&component=general\n" +"POT-Creation-Date: 2009-09-11 09:46+0000\n" +"PO-Revision-Date: 2009-09-11 20:30+0530\n" +"Last-Translator: Sangeeta Kumari \n" +"Language-Team: Maithili \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "नाम" + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "देखाबू" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "वस्तु" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "जकरा मुख्य मेन्यूमे देखाओल गेल अछि अनुप्रयोग केँ बदलू" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "मुख्य मेनू" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "मद (_e):" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "नीच्चाँ जाउ" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "उप्पर जाउ" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "नवीन मद (_w)" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "नवीन पृथक्कारक (_S)" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "मूलभूत मेनू लेआउट फिनु भंडारित करू" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "बदलाव वापस लिअ'?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "सभ मेनू मूल जमावटमे वापस करू?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "मेनू (_M):" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "नवीन मेनू (_N)" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "मूलमे वापस करू (_R)" + diff --git a/po/mg.po b/po/mg.po new file mode 100644 index 0000000..a35ebe5 --- /dev/null +++ b/po/mg.po @@ -0,0 +1,130 @@ +# MALAGASY TRANSLATION OF ALACARTE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Thierry Randrianiriana , 2007. +# Fano Rajaonarisoa , 2006. +msgid "" +msgstr "" +"Project-Id-Version: ALACARTE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 04:30+0000\n" +"PO-Revision-Date: 2007-03-06 13:33+0300\n" +"Last-Translator: Fano Rajaonarisoa \n" +"Language-Team: MALAGASY \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Anarana" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Asehoy" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Singa" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Ovay ireo rindran'asa miseo amin'ny tolotra fototra" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Tolotra Fototra" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "Sin_ga:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Ampidino" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Akaro" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Singa _vaovao" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "_Mpampisaraka vaovao" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Hamerina ny lamin'ny tolotra lasitra" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Foanana ireo fanovana?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Averina amin'ny laminy taloha ny tolotra rehetra?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Tolotra:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Tolotra vaovao" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Averina amin'ny taloha" + +#~ msgid "A name is required." +#~ msgstr "Mila anarana." + +#~ msgid "A command is required." +#~ msgstr "Mila baiko." + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Mampiditra, manova, manesotra safidin-tolotra" + +#~ msgid "Menu Layout" +#~ msgstr "Lamin'ny tolotra" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Mpanova tolotra Alacarte" + +#~ msgid "Browse..." +#~ msgstr "Zahavo..." + +#~ msgid "Command:" +#~ msgstr "Baiko:" + +#~ msgid "Comment:" +#~ msgstr "Teny fanampiny:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Copyright © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Kisary:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Toetoetran'ilay singan-tolotra" + +#~ msgid "Menu Properties" +#~ msgstr "Toetoetran'ny tolotra" + +#~ msgid "Name:" +#~ msgstr "Anarana:" + +#~ msgid "Run command in a terminal" +#~ msgstr "Alefaso anaty terminal ny baiko" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Mpanova tolotra tsotra manaraka ny fd.o" + +#~ msgid "translator-credits" +#~ msgstr "" +#~ "Mpandrindra: Thierry Randrianiriana \n" +#~ "Fanomezana Rajaonarisoa " diff --git a/po/mk.po b/po/mk.po new file mode 100644 index 0000000..ed9e5e9 --- /dev/null +++ b/po/mk.po @@ -0,0 +1,83 @@ +# translation of mk.po to Macedonian +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Jovan Naumovski , 2006. +# Arangel Angov , 2007. +msgid "" +msgstr "" +"Project-Id-Version: mk\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 04:30+0000\n" +"PO-Revision-Date: 2007-03-01 22:59+0100\n" +"Last-Translator: Arangel Angov \n" +"Language-Team: Macedonian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Име" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Прикажи" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Предмет" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Променете кои апликации се прикажани во главното мени" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Главно мени" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "Пр_едмети:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Помести надолу" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Помести нагоре" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Но_в предмет" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Нов _разделувач" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Врати го стандардниот изглед на менито" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Да ги занемарам промените?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Да ги вратам сите менија на оригиналните поставувања?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Менија:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Ново мени" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Врати на оригиналот" + diff --git a/po/ml.po b/po/ml.po new file mode 100644 index 0000000..17f774f --- /dev/null +++ b/po/ml.po @@ -0,0 +1,85 @@ +# translation of alacarte.HEAD.ml.po to Malayalam +# Copyright (C) 2007 alacarte'S COPYRIGHT HOLDER. +# This file is distributed under the same license as the alacarte package. +# Ani Peter , 2006. +# NIKHIL VISHNU P V , 2007. +# Ani Peter , 2007. +# Reviewed by Praveen|പ്രവീണ്‍ A|എ , 2007, 2008. +msgid "" +msgstr "" +"Project-Id-Version: alacarte.HEAD.ml\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 04:30+0000\n" +"PO-Revision-Date: 2007-06-25 16:30+0530\n" +"Last-Translator: Ani Peter \n" +"Language-Team: Swathanthra Malayalam Computing|സ്വതന്ത്ര മലയാളം കമ്പ്യൂട്ടിങ്ങ് \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "പേരു്" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "കാണിയ്ക്കുക" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "ഇനം" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "പ്രധാന മെനുവില്‍ കാണിയ്ക്കുന്ന പ്രയോഗങ്ങള്‍ മാറ്റുക" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "പ്രധാന മെനു" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "ഇ_നങ്ങള്‍:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "താഴേയ്ക്കു് നീക്കുക" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "മുകളിലേയ്ക്കു് നീക്കുക" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "പു_തിയ ഇനം" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "പുതിയ _വിടവടയാളം" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "മെനുവിന്റെ സഹജമായ വിന്യാസം തിരികെ കൊണ്ടുവരിക" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "വരുത്തിയ മാറ്റങ്ങള്‍ ഒഴിവാക്കണമോ?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "എല്ലാ മെനുകളും നേരത്തെയുണ്ടായിരുന്ന സജ്ജീകരണങ്ങളിലേയ്ക്കു് തിരികെ കൊണ്ടുവരണമോ?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_മെനുകള്‍:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_പുതിയ മെനു" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "നേരത്തെയുണ്ടായിരുന്ന സജ്ജീകരണത്തിലേയ്ക്കു് _തിരികെ പോകുക" diff --git a/po/mn.po b/po/mn.po new file mode 100644 index 0000000..82a4b4c --- /dev/null +++ b/po/mn.po @@ -0,0 +1,134 @@ +# translation of mn.po to Mongolian +# This file is distributed under the same license as the PACKAGE package. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. +# Badral , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: mn\n" +"Report-Msgid-Bugs-To: " +"http://bugzilla.mate.org/enter_bug.cgi?product=alacarte&component=general\n" +"POT-Creation-Date: 2009-04-22 22:36+0000\n" +"PO-Revision-Date: 2010-03-21 10:57+0200\n" +"Last-Translator: ntsetsbold \n" +"Language-Team: Mongolian \n" +"Language: mn\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Pootle 2.0.3\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Нэр" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Харуулах" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Элемент" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Үндсэн цэсэнд ямар програмууд харагдахыг өөрчлөх" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Үндсэн цэс" + +#: ../data/alacarte.glade.h:1 +msgid "It_ems:" +msgstr "Элементүүд:" + +#: ../data/alacarte.glade.h:3 +msgid "Move Down" +msgstr "Доош" + +#: ../data/alacarte.glade.h:4 +msgid "Move Up" +msgstr "Дээш" + +#: ../data/alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "_Шинэ элемент" + +#: ../data/alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Шинэ _тусгаарлагч" + +#: ../data/alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Цэсийн стандарт загварыг сэргээх" + +#: ../data/alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Өөрчилөлтүүдийг буцаах уу?" + +#: ../data/alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Бүх цэсийн оргинал тохиргоо руу нь буцаах уу?" + +#: ../data/alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Цэсүүд:" + +#: ../data/alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Шинэ цэс" + +#: ../data/alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "Оргинал руу нь _буцаах" + +#~ msgid "A name is required." +#~ msgstr "Нэр шаардлагатай." + +#~ msgid "A command is required." +#~ msgstr "Тушаал шаардлагатай." + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Цэсийн элемент нэмэх устгах өөрчилөх" + +#~ msgid "Menu Layout" +#~ msgstr "Цэсийн загвар" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Alacarte цэс боловсруулагч" + +#~ msgid "Browse..." +#~ msgstr "Нэгжих..." + +#~ msgid "Command:" +#~ msgstr "Тушаал:" + +#~ msgid "Comment:" +#~ msgstr "Сэтгэгдэл:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Зохиогчийн эрх © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Эмблем:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Цэсийн элементийн тодруулга" + +#~ msgid "Menu Properties" +#~ msgstr "Цэсийн тодруулга" + +#~ msgid "Name:" +#~ msgstr "Нэр:" + +#~ msgid "Run command in a terminal" +#~ msgstr "Тушаалыг терминалд ажиллуулах" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Энгийн fd.o тохирох цэсийн боловсруулагч" + +#~ msgid "translator-credits" +#~ msgstr "" +#~ "Санлигийн Бадрал \n" +#~ "Орчуулга хийх хүсэлтэй хүмүүс дээрх хаягаар имэйл бичээрэй." diff --git a/po/mr.po b/po/mr.po new file mode 100644 index 0000000..42ab437 --- /dev/null +++ b/po/mr.po @@ -0,0 +1,84 @@ +# translation of alacarte.HEAD.mr.po to marathi +# This file is distributed under the same license as the PACKAGE package. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. +# +# Rahul Bhalerao , 2006. +# Sandeep Shedmake , 2008. +msgid "" +msgstr "" +"Project-Id-Version: alacarte.HEAD.mr\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 04:30+0000\n" +"PO-Revision-Date: 2008-02-29 21:42+0530\n" +"Last-Translator: Sandeep Shedmake \n" +"Language-Team: marathi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "नाव" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "दाखवा" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "बाब" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "मुख्य मेन्यु मध्ये कुठले अनुप्रयोग दर्शविले जाते ते बदलवा" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "मुख्य मेन्यु" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "बाबी(_e):" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "खाली हलवा" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "वर हलवा" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "नविन बाब(_w)" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "नविन विभाजक(_S)" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "मुलभूत मेन्यू मांडणी पुन्हासंचयीत करा" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "बदल उलटवावेत?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "सर्व मेन्यु मूळ संयोजना करीता निश्चित करा?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "मेनु (_M):" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "नविन मेनू(_N)" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "मूळावर उलटवा(_R)" + diff --git a/po/ms.po b/po/ms.po new file mode 100644 index 0000000..0278556 --- /dev/null +++ b/po/ms.po @@ -0,0 +1,82 @@ +# Malay translation for alacarte. +# Copyright (C) 2010 alacarte's COPYRIGHT HOLDER +# This file is distributed under the same license as the alacarte package. +# Umarzuki Bin Mochlis Moktar , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte master\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?product=alacarte&component=general\n" +"POT-Creation-Date: 2010-02-12 22:56+0000\n" +"PO-Revision-Date: 2010-02-24 20:18+0730\n" +"Last-Translator: Umarzuki bin Mochlis Moktar \n" +"Language-Team: Malay \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "Nama" + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "Tunjuk" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "Item" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Tukar aplikasi mana yang akan ditunjukkan pada menu utama" + +#: ../data/alacarte.desktop.in.in.h:2 +#: ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Menu Utama" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "It_em:" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Alihkan ke Bawah" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Alihkan ke Atas" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "Item _Baru" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "Pemi_sah Baru" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "Pulihkan semula rekabentuk dasar menu" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Kembalikan semula perubahan kepada asal?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Kembalikan semula semua menu ke tetapan asal?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Menu:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "Me_nu Baru" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "Kembali_kan semula ke Asal" + diff --git a/po/nb.po b/po/nb.po new file mode 100644 index 0000000..8dfbfc3 --- /dev/null +++ b/po/nb.po @@ -0,0 +1,81 @@ +# Norwegian bokmål translation of alacarte +# Copyright (C) 2007, alacarte'S COPYRIGHT HOLDER +# This file is distributed under the same license as the alacarte package +# Kjartan Maraas , 2006-2008. +# +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte 0.11\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-02-17 12:19+0100\n" +"PO-Revision-Date: 2008-02-17 12:19+0100\n" +"Last-Translator: Kjartan Maraas >\n" +"Language-Team: Norwegian Bokmål \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" + +#: ../Alacarte/MainWindow.py:168 +msgid "Name" +msgstr "Navn" + +#: ../Alacarte/MainWindow.py:184 +msgid "Show" +msgstr "Vis" + +#: ../Alacarte/MainWindow.py:192 +msgid "Item" +msgstr "Oppføring" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Endrie hvilke programmer som vises i hovedmenyen" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Hovedmeny" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "Oppføring_er:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Flytt ned" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Flytt opp" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "N_y oppføring" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Ny _separator" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Gjenopprett forvalgt menyutføring" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Angre endringer?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Sett menyene tilbake til opprinnelig tilstand?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menyer:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Ny meny" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Angre alle endringer" diff --git a/po/nds.po b/po/nds.po new file mode 100644 index 0000000..dbfbad9 --- /dev/null +++ b/po/nds.po @@ -0,0 +1,81 @@ +# Low German translation for alacarte. +# Copyright (C) 2009 alacarte's COPYRIGHT HOLDER +# This file is distributed under the same license as the alacarte package. +# Nils-Christoph Fiedler , 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte master\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?" +"product=alacarte&component=general\n" +"POT-Creation-Date: 2009-09-15 12:03+0000\n" +"PO-Revision-Date: 2009-08-27 12:23+0100\n" +"Last-Translator: Nils-Christoph Fiedler \n" +"Language-Team: Low German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "Naam" + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "Opwiesen" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "Element" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Programme de Hööftmenü todeelen" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Hööftmenü" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "El_emente:" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Hochbewegen" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Runnerbewegen" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "Ne_eis Element" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "Nüer _Deeler" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "Dat ole Utsehn vum Menü wedder herstellen" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Ännerungen torüchnehmen?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "All Menüs torüchsetten?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Menüs:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "_Neeis Menü" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "_Torüchsetten to'm Original" diff --git a/po/nl.po b/po/nl.po new file mode 100644 index 0000000..0a33c26 --- /dev/null +++ b/po/nl.po @@ -0,0 +1,186 @@ +# Dutch translation of Alacarte. +# Copyright (C) 2005 Niels Abspoel +# This file is distributed under the same license as the Alacarte package. +# Niels Abspoel , 2005. +# Tino Meinen , 2006, 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: Alacarte VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 04:30+0000\n" +"PO-Revision-Date: 2007-02-24 00:13+0100\n" +"Last-Translator: Tino Meinen \n" +"Language-Team: Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Naam" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Tonen" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Item" + +# instellen/wijzigen +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Instellen welke toepassingen in het hoofdmenu getoond worden" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Hoofdmenu" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "It_ems:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Naar beneden" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Naar boven" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "_Nieuw item" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Nieuw _scheidingsteken" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "De standaard menu-indeling herstellen" + +# wijzigingen/wijzigen +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Wijzigen ongedaan maken?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Alle oorspronkelijke menu-instellingen terugzetten?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menus:" + +# waarom de _m en niet de _n hier? (tino) +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "Nieuw _menu" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Terugzetten" + +# vereisen/moeten hebben +#~ msgid "New menu items need a name" +#~ msgstr "Nieuwe menu-items moeten een naam hebben" + +# vereisen/moeten hebben +#~ msgid "New menus need a name" +#~ msgstr "Nieuwe menus moeten een naam hebben" + +#~ msgid "Choose a Program" +#~ msgstr "Kies een programma" + +#~ msgid "Choose an Icon" +#~ msgstr "Kies een pictogram" + +# krijg je te zien als je geen naam invult voor een nieuw menu-item +# (zou volgens HIG niet mogen verschijnen, als er niets is ingevuld +# moet de OK-knop uitgegrijst zijn) +# Er is geen naam ingevuld/er is een naam nodig +#~ msgid "A name is required." +#~ msgstr "Er is geen naam ingevuld." + +#~ msgid "A command is required." +#~ msgstr "Er is geen opdracht ingevuld." + +#~ msgid "No Icon" +#~ msgstr "Geen pictogram" + +#~ msgid "Menu Editor" +#~ msgstr "Menu-editor" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Alacarte menu-editor" + +#~ msgid "Browse..." +#~ msgstr "Bladeren..." + +#~ msgid "Command:" +#~ msgstr "Opdracht:" + +#~ msgid "Comment:" +#~ msgstr "Toelichting:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Copyright © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Pictogram:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Menu-item eigenschappen" + +#~ msgid "Menu Layout" +#~ msgstr "Menu-indeling" + +#~ msgid "Menu Properties" +#~ msgstr "Menu-eigenschappen" + +#~ msgid "Name:" +#~ msgstr "Naam:" + +#~ msgid "Run command in a terminal" +#~ msgstr "De opdracht in een terminalvenster uitvoeren" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Eenvoudige fd.o conforme menu-editor" + +#~ msgid "translator-credits" +#~ msgstr "" +#~ "Tino Meinen\n" +#~ "Niels Abspoel\n" +#~ "\n" +#~ "Kijk voor meer informatie op http://nl.mate.org/" + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Toevoegen, wijzigen, en verwijderen van menu-items" + +#~ msgid "A menu can't be named \"Other\"." +#~ msgstr "Een menu kan niet \"Other\" genoemd worden." + +#~ msgid "Loading..." +#~ msgstr "Laden..." + +#~ msgid "Visible" +#~ msgstr "Zichtbaar" + +#~ msgid "Simple freedesktop.org Compliant Menu Editor" +#~ msgstr "" +#~ "Eenvoudig programma om menu's te bewerken volgens de freedesktop.org " +#~ "standaard" + +#~ msgid "Entry Editor" +#~ msgstr "Menu-item editor" + +#~ msgid "Icon Selector" +#~ msgstr "Pictogramkiezer" + +#~ msgid "New _Entry" +#~ msgstr "_Nieuw menu-item" + +#~ msgid "_Delete" +#~ msgstr "_Wissen" diff --git a/po/nn.po b/po/nn.po new file mode 100644 index 0000000..ac4560f --- /dev/null +++ b/po/nn.po @@ -0,0 +1,147 @@ +# Norwegian nynorsk translation of alacarte +# Copyright (C) 2007 THE alacarte'S COPYRIGHT HOLDER +# This file is distributed under the same license as the alacarte package +# Kjartan Maraas , 2006, 2007. +# Eskild Hustvedt , 2007 +# +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte 0.11\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-11-02 13:59+0000\n" +"PO-Revision-Date: 2007-12-07 20:18+0100\n" +"Last-Translator: MagicPO 0.3 (automated)\n" +"Language-Team: Norwegian nynorsk \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Namn" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Vis" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Oppføring" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Endra kva program som vert viste i hovudmenyen" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Hovudmeny" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "Oppføring_ar:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Flytt ned" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Flytt opp" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "N_y oppføring" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Ny _separator" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Gjenopprett forvald menyutføring" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Angra endringer?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Set menyane tilbake til opphavleg tilstand?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menyar:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Ny meny" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Angra alle endringar" + +#~ msgid "New menu items need a name" +#~ msgstr "Nye menyoppføringer må ha et navn" + +#~ msgid "New menus need a name" +#~ msgstr "Nye menyer må ha et navn" + +#~ msgid "Choose a Program" +#~ msgstr "Velg et program" + +#~ msgid "Choose an Icon" +#~ msgstr "Velg et ikon" + +#~ msgid "A name is required." +#~ msgstr "Du må oppgi et navn" + +#~ msgid "A command is required." +#~ msgstr "Du må oppgi en kommando" + +#~ msgid "No Icon" +#~ msgstr "Uten ikon" + +#~ msgid "Menu Editor" +#~ msgstr "Menyredigering" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Alacarte menyredigering" + +#~ msgid "Browse..." +#~ msgstr "Bla gjennom..." + +#~ msgid "Command:" +#~ msgstr "Kommando:" + +#~ msgid "Comment:" +#~ msgstr "Kommentar:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Opphavsrett @ 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Ikon:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Egenskaper for menyoppføring" + +#~ msgid "Menu Layout" +#~ msgstr "Menyutføring" + +#~ msgid "Menu Properties" +#~ msgstr "Egenskaper for meny" + +#~ msgid "Name:" +#~ msgstr "Navn:" + +#~ msgid "Run command in a terminal" +#~ msgstr "Kjør kommando i en terminal" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Enkel menyredigerer" + +#~ msgid "translator-credits" +#~ msgstr "" +#~ "Kjartan Maraas \n" +#~ "Eskild Hustvedt , 2006-2008 +msgid "" +msgstr "" +"Project-Id-Version: oc\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-07-02 08:55+0200\n" +"PO-Revision-Date: 2007-11-24 21:49+0100\n" +"Last-Translator: Yannig Marchegay (Kokoyaya) \n" +"Language-Team: Occitan \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: ../Alacarte/MainWindow.py:168 +msgid "Name" +msgstr "Nom" + +#: ../Alacarte/MainWindow.py:184 +msgid "Show" +msgstr "Visualizar" + +#: ../Alacarte/MainWindow.py:192 +msgid "Item" +msgstr "Element" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Modificar las aplicacions visualizadas dins lo menut principal" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Menut principal" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "E_lements :" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Davalar" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Montar" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Element _novèl" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "_Separador novèl" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Restaurar la disposicion de menut per defaut" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Anullar las modificacions ?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Tornar a la configuracion predefinida de totes los menuts ?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menuts :" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "Menut _novèl" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Tornar a l'original" diff --git a/po/or.po b/po/or.po new file mode 100644 index 0000000..5e45fce --- /dev/null +++ b/po/or.po @@ -0,0 +1,84 @@ +# translation of alacarte.HEAD.or.po to Oriya +# This file is distributed under the same license as the PACKAGE package. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. +# +# Subhransu Behera , 2006. +# Manoj Kumar Giri , 2008. +msgid "" +msgstr "" +"Project-Id-Version: alacarte.HEAD.or\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-08-20 03:54+0000\n" +"PO-Revision-Date: 2008-06-12 12:56+0530\n" +"Last-Translator: Manoj Kumar Giri \n" +"Language-Team: Oriya\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n!=1);\n" +"\n" + +#: ../Alacarte/MainWindow.py:168 +msgid "Name" +msgstr "ନାମ" + +#: ../Alacarte/MainWindow.py:184 +msgid "Show" +msgstr "ପ୍ରଦର୍ଶନ" + +#: ../Alacarte/MainWindow.py:192 +msgid "Item" +msgstr "ବସ୍ତୁ" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "ମୁଖ୍ୟ ତାଲିକାରେ ଦର୍ଶାଯାଇଥିବା ପ୍ରୟୋଗଗୁଡିକୁ ପରିବର୍ତ୍ତନ କରନ୍ତୁ" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "ମୁଖ୍ୟ ତାଲିକା" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "ବସ୍ତୁ (_e):" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "ତଳକୁ ଯାଆନ୍ତୁ" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "ଉପରକୁ ଯାଆନ୍ତୁ" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "ନୂତନ ବସ୍ତୁ (_w)" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "ନୂତନ ବିଭାଜକ (_S)" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "ପୂର୍ବ ନିର୍ଦ୍ଧାରିତ ବିନ୍ଯାସକୁ ପୁନଃସ୍ଥାପନ କରନ୍ତୁ" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "ପରିବର୍ତ୍ତନ ମାନଙ୍କୁ ପ୍ରତ୍ଯାବ୍ରୁତ କରିବ କି?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "ସମସ୍ତ ତାଲିକାକୁ ମୌଳିକ ବିନ୍ଯାସକୁ ପ୍ରତ୍ଯାବ୍ରୁତ କରିବ କି?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "ତାଲିକା (_M):" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "ନୂତନ ତାଲିକା (_N)" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "ମୌଳିକ ରୂପକୁ ପ୍ରତ୍ଯାବ୍ରୁତ କରନ୍ତୁ (_R)" diff --git a/po/pa.po b/po/pa.po new file mode 100644 index 0000000..1d7814c --- /dev/null +++ b/po/pa.po @@ -0,0 +1,84 @@ +# translation of alacarte.HEAD.po to Punjabi +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# A S Alam , 2006. +# ASB , 2007. +msgid "" +msgstr "" +"Project-Id-Version: alacarte.HEAD\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 04:30+0000\n" +"PO-Revision-Date: 2007-08-27 07:14+0530\n" +"Last-Translator: ASB \n" +"Language-Team: Punjabi \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "ਨਾਂ" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "ਵੇਖਾਓ" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "ਆਈਟਮ" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "ਮੁੱਖ ਮੇਨੂ ਉੱਤੇ ਵੇਖਾਉਣ ਲਈ ਕਾਰਜ ਬਦਲੋ" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "ਮੁੱਖ ਮੇਨੂ" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "ਆਈਟਮਾਂ(_e):" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "ਹੇਠਾਂ ਭੇਜੋ" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "ਉੱਤੇ ਭੇਜੋ" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "ਨਵੀਂ ਆਈਟਮ(_w)" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "ਨਵਾਂ ਸੈਪਰੇਟਰ(_S)" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "ਡਿਫਾਲਟ ਮੇਨੂ ਲੇਆਉਟ ਰੀ-ਸਟੋਰ" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "ਕੀ ਬਦਲਾਅ ਵਾਪਸ ਲੈਣੇ ਹਨ?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "ਕੀ ਮੇਨੂ ਲਈ ਅਸਲੀ ਸੈਟਿੰਗ ਵਾਪਸ ਲੈਣੀ ਹੈ?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "ਮੇਨੂ(_M):" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "ਨਵਾਂ ਮੇਨੂ(_N)" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "ਅਸਲੀ ਮੁੜ ਲਵੋ(_R)" + diff --git a/po/pl.po b/po/pl.po new file mode 100644 index 0000000..84f09f8 --- /dev/null +++ b/po/pl.po @@ -0,0 +1,85 @@ +# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- +# Aviary.pl +# Jeśli masz jakiekolwiek uwagi odnoszące się do tłumaczenia lub chcesz +# pomóc w jego rozwijaniu i pielęgnowaniu, napisz do nas: +# matepl@aviary.pl +# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-02-24 23:19+0100\n" +"PO-Revision-Date: 2010-02-24 22:36+0100\n" +"Last-Translator: Piotr Drąg \n" +"Language-Team: Polish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" +"X-Poedit-Language: Polish\n" +"X-Poedit-Country: Poland\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "Nazwa" + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "Wyświetlanie" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "Element" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Zmiana widoczności programów w menu głównym" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Menu główne" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "_Elementy:" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Przenieś w dół" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Przenieś w górę" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "No_wy element" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "Nowy _separator" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "Przywraca domyślny układ menu" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Cofnąć zmiany?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Cofnąć zmiany wszystkich menu do oryginalnych ustawień?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "Men_u:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "_Nowe menu" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "_Przywróć oryginalne" diff --git a/po/ps.po b/po/ps.po new file mode 100644 index 0000000..51b43cd --- /dev/null +++ b/po/ps.po @@ -0,0 +1,82 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte.head\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-07-19 15:10+0200\n" +"PO-Revision-Date: 2008-07-18 14:35-0800\n" +"Last-Translator: Zabeeh Khan \n" +"Language-Team: Pashto \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Pashto, Pushto\n" +"X-Poedit-Country: AFGHANISTAN\n" + +#: ../Alacarte/MainWindow.py:168 +msgid "Name" +msgstr "نوم" + +#: ../Alacarte/MainWindow.py:184 +msgid "Show" +msgstr "ښودل" + +#: ../Alacarte/MainWindow.py:192 +msgid "Item" +msgstr "توکی" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "په ارې غورنۍ کې د ښودلو لپاره کاريالونه بدلول" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "اره غورنۍ" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr ":تو_کي" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "ښکته خوځول" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "بره خوځول" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "نو_ی توکی" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "نوی _بېلند" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "تلواله غورنۍ هډوانه بيازېرمل" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "بدلونونه اړول غواړﺉ؟" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "ټولې غورنۍ ارو امستنو ته اړول" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr ":غورنۍ_" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "نوې غورنۍ_" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "ارې ته اړول_" diff --git a/po/pt.po b/po/pt.po new file mode 100644 index 0000000..a7c5d50 --- /dev/null +++ b/po/pt.po @@ -0,0 +1,125 @@ +# alacarte's Portuguese translation. +# Copyright © 2006, 2007 alacarte +# This file is distributed under the same license as the alacarte package. +# Duarte Loreto , 2006, 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: 2.18\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-15 01:47+0000\n" +"PO-Revision-Date: 2007-02-15 01:50+0000\n" +"Last-Translator: Duarte Loreto \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Nome" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Apresentar" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Item" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Alterar que aplicações são apresentadas no menu principal" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Menu Principal" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "It_ens:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Mover Abaixo" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Mover Acima" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "No_vo Item" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Novo _Separador" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Repor a disposição por omissão do menu" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Reverter as Alterações?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Reverter todos os menus para as definições originais?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menus:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Novo Menu" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Reverter para o Original" + +#~ msgid "Menu Layout" +#~ msgstr "Disposição do Menu" + +#~ msgid "A name is required." +#~ msgstr "É necessário um nome." + +#~ msgid "A command is required." +#~ msgstr "É necessário um comando." + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Adicionar, alterar, remover entradas de menu" + +#~ msgid "Browse..." +#~ msgstr "Procurar..." + +#~ msgid "Command:" +#~ msgstr "Comando:" + +#~ msgid "Comment:" +#~ msgstr "Comentário:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Copyright © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Ícone:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Propriedades do Item de Menu" + +#~ msgid "Menu Properties" +#~ msgstr "Propriedades do Menu" + +#~ msgid "Name:" +#~ msgstr "Nome:" + +#~ msgid "Run command in a terminal" +#~ msgstr "Executar o comando numa consola" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Editor de menus que respeita a definição da fd.o" + +#~ msgid "translator-credits" +#~ msgstr "Duarte Loreto " diff --git a/po/pt_BR.po b/po/pt_BR.po new file mode 100644 index 0000000..7a7b02a --- /dev/null +++ b/po/pt_BR.po @@ -0,0 +1,149 @@ +# Alacarte Menu Editor. +# Copyright (C) 2006 Travis Watkins +# This file is distributed under the same license as the Alacarte package. +# Licio Fonseca , 2006. +# Og Maciel , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-09-21 12:02-0400\n" +"PO-Revision-Date: 2009-08-30 19:23-0300\n" +"Last-Translator: Vladimir Melo \n" +"Language-Team: Brazilian Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:168 +msgid "Name" +msgstr "Nome" + +#: ../Alacarte/MainWindow.py:184 +msgid "Show" +msgstr "Mostrar" + +#: ../Alacarte/MainWindow.py:192 +msgid "Item" +msgstr "Item" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Altere quais aplicativos são mostrados no menu principal" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Menu principal" + +#: ../data/alacarte.glade.h:1 +msgid "It_ems:" +msgstr "It_ens:" + +#: ../data/alacarte.glade.h:3 +msgid "Move Down" +msgstr "Mover para baixo" + +#: ../data/alacarte.glade.h:4 +msgid "Move Up" +msgstr "Mover para cima" + +#: ../data/alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "No_vo item" + +#: ../data/alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Novo _separador" + +#: ../data/alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Restaurar a disposição padrão do menu" + +#: ../data/alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Reverter alterações?" + +#: ../data/alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Reverter todos os menus às configurações originais?" + +#: ../data/alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menus:" + +#: ../data/alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Novo menu" + +#: ../data/alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Restaurar ao original" + +#~ msgid "New menu items need a name" +#~ msgstr "É necessário nomear os novos itens do menu" + +#~ msgid "New menus need a name" +#~ msgstr "É necessário nomear os novos menus" + +#~ msgid "Choose a Program" +#~ msgstr "Escolha um Programa" + +#~ msgid "Choose an Icon" +#~ msgstr "Escolha um Ícone" + +#~ msgid "A name is required." +#~ msgstr "É necessario um nome." + +#~ msgid "A command is required." +#~ msgstr "É necessario um comando." + +#~ msgid "No Icon" +#~ msgstr "Sem Ícone" + +#~ msgid "Menu Editor" +#~ msgstr "Editor de Menu" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Editor de Menu Alacarte" + +#~ msgid "Browse..." +#~ msgstr "Navegar..." + +#~ msgid "Command:" +#~ msgstr "Comando:" + +#~ msgid "Comment:" +#~ msgstr "Comentário:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Copyright © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Ícone:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Propriedades dos Itens de Menu" + +#~ msgid "Menu Layout" +#~ msgstr "Disposição do Menu" + +#~ msgid "Menu Properties" +#~ msgstr "Propriedades do Menu" + +#~ msgid "Name:" +#~ msgstr "Nome:" + +#~ msgid "Run command in a terminal" +#~ msgstr "Executar comando em um terminal" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Editor de menu simples aderente ao freedesktop.org" + +#~ msgid "translator-credits" +#~ msgstr "" +#~ "Licio Fernando \n" +#~ "Og Maciel " + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Adicionar, alterar e remover entradas do menu" diff --git a/po/ro.po b/po/ro.po new file mode 100644 index 0000000..f893617 --- /dev/null +++ b/po/ro.po @@ -0,0 +1,90 @@ +# Romanian translation of alacarte. +# Copyright (C) 2006 alacarte +# This file is distributed under the same license as the alacarte package. +# Alexandru Szasz , 2006. +# Adi Roiban https://launchpad.net/~adiroiban, 2008, 2009 +# Lucian Adrian Grijincu , 2009 +msgid "" +msgstr "" +"Project-Id-Version: alacarte HEAD\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?" +"product=alacarte&component=general\n" +"POT-Creation-Date: 2009-11-01 20:49+0000\n" +"PO-Revision-Date: 2009-11-15 21:06+0300\n" +"Last-Translator: Lucian Adrian Grijincu \n" +"Language-Team: Mate Romanian Team \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " +"20)) ? 1 : 2);;\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "Nume" + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "Arată" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "Element" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Modifică aplicațiile care sunt afișate în meniul principal" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Meniu principal" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "Elem_ente:" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Mută în jos" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Mută în sus" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "Element no_u" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "_Separator nou" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "Restabilește aranjamentul meniului implicit" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Anulați modificările?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Restabiliți toate meniurile la configurările lor originale?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Meniuri:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "Meniu _nou" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "_Restabilește valoarea originală" + +#~ msgid "gtk-delete" +#~ msgstr "gtk-delete" + +#~ msgid "gtk-properties" +#~ msgstr "gtk-properties" diff --git a/po/ru.po b/po/ru.po new file mode 100644 index 0000000..f158649 --- /dev/null +++ b/po/ru.po @@ -0,0 +1,83 @@ +# Russian translation of alacarte +# Copyright (C) Free Software Foundation +# This file is distributed under the same license as the alacarte package. +# +# Leonid Kanter , 2006, 2007. +msgid "" +msgstr "" +"Project-Id-Version: alacarte trunk\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-04-06 00:39+0400\n" +"PO-Revision-Date: 2008-04-06 14:35+0200\n" +"Last-Translator: Nickolay V. Shmyrev \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: ../Alacarte/MainWindow.py:168 +msgid "Name" +msgstr "Имя" + +#: ../Alacarte/MainWindow.py:184 +msgid "Show" +msgstr "Показать" + +#: ../Alacarte/MainWindow.py:192 +msgid "Item" +msgstr "Элемент" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Выбор приложений, отображаемых в главном меню" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Главное меню" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Элементы:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Переместить вниз" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Переместить вверх" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "_Новый элемент" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Новый _разделитель" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Восстановить первоначальный вид меню" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Откатить изменения?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Вернуть все меню к первоначальному состоянию?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Меню:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "Новое _меню" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Вернуть исходное состояние" diff --git a/po/si.po b/po/si.po new file mode 100644 index 0000000..e4fb12b --- /dev/null +++ b/po/si.po @@ -0,0 +1,143 @@ +# translation of si.po to Sinhala +# This file is distributed under the same license as the PACKAGE package. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. +# +# Tyronne Wickramarathne , 2006. +# Danishka Navin , 2007. +msgid "" +msgstr "" +"Project-Id-Version: si\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2006-09-26 07:38+0200\n" +"PO-Revision-Date: 2007-07-09 11:33+0530\n" +"Last-Translator: Danishka Navin \n" +"Language-Team: Sinhala \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "නම " + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "පෙන්වනු" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "අයිතමය" + +#: ../Alacarte/DialogHandler.py:141 ../Alacarte/DialogHandler.py:178 +#: ../Alacarte/DialogHandler.py:333 ../Alacarte/DialogHandler.py:364 +msgid "A name is required." +msgstr "නමක් අවශ්‍යය" + +#: ../Alacarte/DialogHandler.py:144 ../Alacarte/DialogHandler.py:181 +msgid "A command is required." +msgstr "විධානයක් අවශ්‍යයි" + +#: ../alacarte.desktop.in.h:1 +msgid "Add, change, remove menu entries" +msgstr "මෙනු සටහනට එකතු කරනු,වෙනස් කරනු නැතහොත් ඉවත් කරනු" + +#: ../alacarte.desktop.in.h:2 ../alacarte.glade.h:9 +msgid "Menu Layout" +msgstr "මෙනු සැකසුම" + +#: ../alacarte.glade.h:1 +msgid "Alacarte Menu Editor" +msgstr "Alacarte මෙනු සකස්කරණය" + +#: ../alacarte.glade.h:2 +msgid "Browse..." +msgstr "සැරිසරන්න..." + +#: ../alacarte.glade.h:3 +msgid "Command:" +msgstr "විධානය:" + +#: ../alacarte.glade.h:4 +msgid "Comment:" +msgstr "විස්තර සටහන" + +#: ../alacarte.glade.h:5 +msgid "Copyright © 2006 Travis Watkins" +msgstr "සියළුම හිමිකම් සහිතයි © 2006 ට්‍රැවිස් වොට්කිනස්" + +#: ../alacarte.glade.h:6 +msgid "Icon:" +msgstr "සංකේතය:" + +#: ../alacarte.glade.h:7 +msgid "It_ems:" +msgstr "අයිතමයන් (_e):" + +#: ../alacarte.glade.h:8 +msgid "Menu Item Properties" +msgstr "මෙනු අයිතම වත්කම්" + +#: ../alacarte.glade.h:10 +msgid "Menu Properties" +msgstr "මෙනු වත්කම්" + +#: ../alacarte.glade.h:11 +msgid "Move Down" +msgstr "පහලට චලනය කරනු" + +#: ../alacarte.glade.h:12 +msgid "Move Up" +msgstr "ඉහලට චලනය කරනු" + +#: ../alacarte.glade.h:13 +msgid "Name:" +msgstr "නම:" + +#: ../alacarte.glade.h:14 +msgid "Ne_w Item" +msgstr "නව අයිතමයක් (_w)" + +#: ../alacarte.glade.h:15 +msgid "New _Separator" +msgstr "නව වෙන් කරණයක් (_S)" + +#: ../alacarte.glade.h:16 +msgid "Restore the default menu layout" +msgstr "මෙනු සැකසුම පෙර තිබූ ප්‍රකෘති තත්වයට පත් කරනු" + +#: ../alacarte.glade.h:17 +msgid "Revert Changes?" +msgstr "සංශෝධනයන් පෙර තිබූ තත්වයට පත් කිරීමට අවශ්‍යද?" + +#: ../alacarte.glade.h:18 +msgid "Revert all menus to original settings?" +msgstr "සියළු මෙනූ පෙර තිබූ නැවුම් තත්වයට පත් කිරීමට අවශ්‍යද ?" + +#: ../alacarte.glade.h:19 +msgid "Run command in a terminal" +msgstr "විධානය අග්‍රයක් තුල ක්‍රියාත්මක කරන්න" + +#: ../alacarte.glade.h:20 +msgid "Simple fd.o compliant menu editor" +msgstr "සරල fd.o සමපාත මෙනු සකස්කරණය" + +#: ../alacarte.glade.h:21 +msgid "_Menus:" +msgstr "මෙනූ (_M):" + +#: ../alacarte.glade.h:22 +msgid "_New Menu" +msgstr "නව මෙනුවක් (_N)" + +#: ../alacarte.glade.h:23 +msgid "_Revert to Original" +msgstr "පෙර තිබූ නව්‍ය තත්වයට පත්කරන්න (_R)" + +#. TRANSLATORS: Replace this string with your names, one name per line. +#: ../alacarte.glade.h:25 +msgid "translator-credits" +msgstr "පරිවර්තන ස්තූතිය" + diff --git a/po/sk.po b/po/sk.po new file mode 100644 index 0000000..cc9cdc0 --- /dev/null +++ b/po/sk.po @@ -0,0 +1,80 @@ +# Slovak translation of alacarte. +# Copyright (C) 2008 Free Software Foundation, Inc. +# This file is distributed under the same license as the alacarte package. +# Marcel Telka , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2008-08-04 10:22+0200\n" +"PO-Revision-Date: 2008-08-04 10:30+0200\n" +"Last-Translator: Marcel Telka \n" +"Language-Team: Slovak \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:168 +msgid "Name" +msgstr "Názov" + +#: ../Alacarte/MainWindow.py:184 +msgid "Show" +msgstr "Ukázať" + +#: ../Alacarte/MainWindow.py:192 +msgid "Item" +msgstr "Položka" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Zmeniť, ktoré aplikácie sú viditeľné v hlavnej ponuke" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Hlavná ponuka" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "Po_ložky:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Presunúť dole" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Presunúť hore" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "No_vá položka" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Nový _oddeľovač" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Obnoviť štandardné rozloženie ponuky" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Vrátiť zmeny?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Vrátiť všetky ponuky na pôvodné nastavenia?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Ponuky:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Nová ponuka" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "V_rátiť na originál" diff --git a/po/sl.po b/po/sl.po new file mode 100644 index 0000000..31834f8 --- /dev/null +++ b/po/sl.po @@ -0,0 +1,153 @@ +# Slovenian translation for alacarte. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the alacarte package. +# +# Matic Žgur , 2006 - 2007. +# Matej Urbančič , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte master\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-28 03:25+0000\n" +"PO-Revision-Date: 2010-04-15 08:45+0100\n" +"Last-Translator: Matej Urbančič \n" +"Language-Team: Slovenian MATE Translation Team \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n%100==4 ? 3 : 0);\n" +"X-Poedit-Country: SLOVENIA\n" +"X-Poedit-Language: Slovenian\n" +"X-Poedit-SourceCharset: utf-8\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Ime" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Pokaži" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Predmet" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Določitev programov, ki so prikazani v osnovnem meniju" + +#: ../alacarte.desktop.in.in.h:2 +#: ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Glavni meni" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Predmeti:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Premakni navzdol" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Premakni navzgor" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "_Nov predmet" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Nova _ločilna črta" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Povrni privzeto postavitev menija" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Ali želite povrniti spremembe?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Ali želite povrniti vse menije na privzeto določeno obliko?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Meniji:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "Nov _meni" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Povrni na prvotne vrednosti" + +#~ msgid "New menu items need a name" +#~ msgstr "Novi predmeti menija zahtevajo vpis imena" + +#~ msgid "New menus need a name" +#~ msgstr "Novi meniji zahtevajo vpis imena" + +#~ msgid "Choose a Program" +#~ msgstr "Izbor programa" + +#~ msgid "Choose an Icon" +#~ msgstr "Izbor ikone" + +#~ msgid "A name is required." +#~ msgstr "Zahtevan je vpis imena." + +#~ msgid "A command is required." +#~ msgstr "Zahtevan je vpis ukaza." + +#~ msgid "No Icon" +#~ msgstr "Brez ikone" + +#~ msgid "Menu Editor" +#~ msgstr "Urejevalnik menijev" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Urejevalnik menijev Alacarte" + +#~ msgid "Browse..." +#~ msgstr "Prebrskaj ..." + +#~ msgid "Command:" +#~ msgstr "Ukaz:" + +#~ msgid "Comment:" +#~ msgstr "Opomba:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Avtorske pravice © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Ikona:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Lastnosti predmeta menija" + +#~ msgid "Menu Layout" +#~ msgstr "Razporeditev menija" + +#~ msgid "Menu Properties" +#~ msgstr "Lastnosti menija" + +#~ msgid "Name:" +#~ msgstr "Ime:" + +#~ msgid "Run command in a terminal" +#~ msgstr "Zagon ukaza v terminalu" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Enostaven s fd.o združljiv urejevalnik menija" + +#~ msgid "translator-credits" +#~ msgstr "Matic Žgur " + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Dodajanje, spreminjanje in odstranjevanje predmetov menija" \ No newline at end of file diff --git a/po/sq.po b/po/sq.po new file mode 100644 index 0000000..676f115 --- /dev/null +++ b/po/sq.po @@ -0,0 +1,81 @@ +# Përkthimi i alacarte në shqip. +# Laurent Dhima , 2006, 2007. +# Copyright (C) 2006, 2007 Free Software Foundation, Inc. +# This file is distributed under the same license as the alacarte package. +msgid "" +msgstr "" +"Project-Id-Version: alacarte HEAD\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-03-13 16:52+0100\n" +"PO-Revision-Date: 2007-03-13 16:54+0100\n" +"Last-Translator: Laurent Dhima \n" +"Language-Team: albanian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Emri" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Shfaq" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Element" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Ndrysho çfarë aplikativësh do të shfaqen tek menuja kryesore" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Menuja kryesore" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "El_ementët:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Lëviz poshtë" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Lëviz sipër" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Element i _ri" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Ndarë_s i ri" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Rivendos strukturën e paracaktuar të menusë" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Anullon ndryshimet?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Kthen të gjithë menutë tek rregullimet origjinale?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Menutë:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "Menu e _re" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Kthe tek origjinali" + diff --git a/po/sr.po b/po/sr.po new file mode 100644 index 0000000..0e60a9c --- /dev/null +++ b/po/sr.po @@ -0,0 +1,131 @@ +# Serbian translation of alacarte +# Courtesy of Prevod.org team (http://prevod.org/) -- 2006, 2007. +# +# This file is distributed under the same license as the alacarte package. +# +# Maintainer: Igor Miletić +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-03-06 00:50+0100\n" +"PO-Revision-Date: 2007-03-06 00:21+0100\n" +"Last-Translator: Горан Ракић \n" +"Language-Team: Serbian (sr) \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Име" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Покажи" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Ставка" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Измени програме који се приказују у главном менију" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Главни мени" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "С_тавке:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Помери доле" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Помери горе" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Нова _ставка" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Нови _одвајач" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Поврати подразумевани распоред менија" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Откажи промене?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Врати све меније на изворна подешавања?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Менији:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Нови мени" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Врати на изворно" + +#~ msgid "A name is required." +#~ msgstr "Име је обавезно." + +#~ msgid "A command is required." +#~ msgstr "Наредба је обавезна." + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Додај, промени, избаци ставке менија" + +#~ msgid "Menu Layout" +#~ msgstr "Распоред менија" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Alacarte уређивач менија" + +#~ msgid "Browse..." +#~ msgstr "Разгледај..." + +#~ msgid "Command:" +#~ msgstr "Наредба:" + +#~ msgid "Comment:" +#~ msgstr "Белешка:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Ауторска права © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Икона:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Особине ставке менија" + +#~ msgid "Menu Properties" +#~ msgstr "Особине менија" + +#~ msgid "Name:" +#~ msgstr "Име:" + +#~ msgid "Run command in a terminal" +#~ msgstr "Покрени наредбу у терминалу" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Једноставни fd.o сагласан уредник менија" + +#~ msgid "translator-credits" +#~ msgstr "Игор Милетић" diff --git a/po/sr@latin.po b/po/sr@latin.po new file mode 100644 index 0000000..3b86066 --- /dev/null +++ b/po/sr@latin.po @@ -0,0 +1,131 @@ +# Serbian translation of alacarte +# Courtesy of Prevod.org team (http://prevod.org/) -- 2006, 2007. +# +# This file is distributed under the same license as the alacarte package. +# +# Maintainer: Igor Miletić +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-03-06 00:50+0100\n" +"PO-Revision-Date: 2007-03-06 00:21+0100\n" +"Last-Translator: Goran Rakić \n" +"Language-Team: Serbian (sr) \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Ime" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Pokaži" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Stavka" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Izmeni programe koji se prikazuju u glavnom meniju" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Glavni meni" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "S_tavke:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Pomeri dole" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Pomeri gore" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Nova _stavka" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Novi _odvajač" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Povrati podrazumevani raspored menija" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Otkaži promene?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Vrati sve menije na izvorna podešavanja?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Meniji:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Novi meni" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Vrati na izvorno" + +#~ msgid "A name is required." +#~ msgstr "Ime je obavezno." + +#~ msgid "A command is required." +#~ msgstr "Naredba je obavezna." + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Dodaj, promeni, izbaci stavke menija" + +#~ msgid "Menu Layout" +#~ msgstr "Raspored menija" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Alacarte uređivač menija" + +#~ msgid "Browse..." +#~ msgstr "Razgledaj..." + +#~ msgid "Command:" +#~ msgstr "Naredba:" + +#~ msgid "Comment:" +#~ msgstr "Beleška:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Autorska prava © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Ikona:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Osobine stavke menija" + +#~ msgid "Menu Properties" +#~ msgstr "Osobine menija" + +#~ msgid "Name:" +#~ msgstr "Ime:" + +#~ msgid "Run command in a terminal" +#~ msgstr "Pokreni naredbu u terminalu" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Jednostavni fd.o saglasan urednik menija" + +#~ msgid "translator-credits" +#~ msgstr "Igor Miletić" diff --git a/po/sv.po b/po/sv.po new file mode 100644 index 0000000..ca347a5 --- /dev/null +++ b/po/sv.po @@ -0,0 +1,297 @@ +# Swedish messages for alacarte. +# Copyright (C) 2006, 2007, 2009 Free Software Foundation, Inc. +# Christian Rose , 2006. +# Daniel Nylander , 2006, 2007, 2009. +# +# $Id: sv.po,v 1.3 2006/12/28 06:52:28 dnylande Exp $ +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-07-07 12:09+0200\n" +"PO-Revision-Date: 2009-07-07 13:16+0100\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:163 +msgid "Name" +msgstr "Namn" + +#: ../Alacarte/MainWindow.py:179 +msgid "Show" +msgstr "Visa" + +#: ../Alacarte/MainWindow.py:187 +msgid "Item" +msgstr "Objekt" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Ändra vilka program som visas på huvudmenyn" + +#: ../data/alacarte.desktop.in.in.h:2 +#: ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Huvudmeny" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "Obje_kt:" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Flytta nedåt" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Flytta uppåt" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "N_ytt objekt" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "Ny _avgränsare" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "Återställ standardmenylayouten" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Återställ ändringar?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Återställ alla menyer till ursprungsinställningarna?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Menyer:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "_Ny meny" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "_Återställ till ursprunglig" + +#~ msgid "Menu Layout" +#~ msgstr "Menylayout" +#~ msgid "New menu items need a name" +#~ msgstr "Nya menyposter behöver ett namn" +#~ msgid "New menus need a name" +#~ msgstr "Nya menyer behöver ett namn" +#~ msgid "Choose a Program" +#~ msgstr "Välj ett program" +#~ msgid "Choose an Icon" +#~ msgstr "Välj en ikon" +#~ msgid "A name is required." +#~ msgstr "Ett namn krävs." +#~ msgid "A command is required." +#~ msgstr "Ett kommando krävs." +#~ msgid "No Icon" +#~ msgstr "Ingen ikon" +#~ msgid "Menu Editor" +#~ msgstr "Menyredigerare" +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Menyredigeraren Alacarte" +#~ msgid "Browse..." +#~ msgstr "Bläddra..." +#~ msgid "Command:" +#~ msgstr "Kommando:" +#~ msgid "Comment:" +#~ msgstr "Kommentar:" +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Copyright © 2006 Travis Watkins" +#~ msgid "Icon:" +#~ msgstr "Ikon:" +#~ msgid "Menu Item Properties" +#~ msgstr "Egenskaper för menypost" +#~ msgid "Menu Properties" +#~ msgstr "Menyegenskaper" +#~ msgid "Name:" +#~ msgstr "Namn:" +#~ msgid "Run command in a terminal" +#~ msgstr "Kör kommandot i en terminal" +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Enkel, fd.o-kompatibel menyredigerare" +#~ msgid "translator-credits" +#~ msgstr "" +#~ "Daniel Nylander\n" +#~ "Christian Rose\n" +#~ "\n" +#~ "Skicka synpunkter på översättningen till\n" +#~ "tp-sv@listor.tp-sv.se" +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Lägg till, ändra, ta bort menyposter" +#~ msgid "_Browse..." +#~ msgstr "_Bläddra..." +#~ msgid "_Icon:" +#~ msgstr "_Ikon:" +#~ msgid "Items:" +#~ msgstr "Objekt:" +#~ msgid "Properties" +#~ msgstr "Egenskaper" +#~ msgid "Move _Down" +#~ msgstr "Flytta _ned" +#~ msgid "Move _Up" +#~ msgstr "Flytta _upp" +#~ msgid "New Item" +#~ msgstr "Ny post" +#~ msgid "New Separator" +#~ msgstr "Ny avgränsare" +#~ msgid "New Menu" +#~ msgstr "Ny meny" +#~ msgid "Accessibility" +#~ msgstr "Tillgänglighet" +#~ msgid "Accessibility Settings" +#~ msgstr "Tillgänglighetsinställningar" +#~ msgid "Accessories" +#~ msgstr "Tillbehör" +#~ msgid "Desktop accessories" +#~ msgstr "Skrivbordstillbehör" +#~ msgid "Applications" +#~ msgstr "Program" +#~ msgid "Desktop" +#~ msgstr "Skrivbord" +#~ msgid "Personal preferences and administration settings" +#~ msgstr "Personliga inställningar och administrationsinställningar" +#~ msgid "Programming" +#~ msgstr "Programmering" +#~ msgid "Tools for software development" +#~ msgstr "Verktyg för programutveckling" +#~ msgid "Education" +#~ msgstr "Utbildning" +#~ msgid "Games" +#~ msgstr "Spel" +#~ msgid "Games and amusements" +#~ msgstr "Spel och underhållning" +#~ msgid "Graphics" +#~ msgstr "Grafik" +#~ msgid "Graphics applications" +#~ msgstr "Grafikprogram" +#~ msgid "Internet" +#~ msgstr "Internet" +#~ msgid "Programs for Internet access such as web and email" +#~ msgstr "Program för Internetåtkomst som till exempel webben och e-post" +#~ msgid "Multimedia menu" +#~ msgstr "Multimediameny" +#~ msgid "Sound & Video" +#~ msgstr "Ljud och video" +#~ msgid "Office" +#~ msgstr "Kontor" +#~ msgid "Office Applications" +#~ msgstr "Kontorsprogram" +#~ msgid "Applications that did not fit in other categories" +#~ msgstr "Program som inte passade in i någon annan kategori" +#~ msgid "Other" +#~ msgstr "Annat" +#~ msgid "Personal preferences" +#~ msgstr "Personliga inställningar" +#~ msgid "Preferences" +#~ msgstr "Inställningar" +#~ msgid "Accessibility related preferences" +#~ msgstr "Tillgänglighetsrelaterade inställningar" +#~ msgid "Personal preferences and settings" +#~ msgstr "Personliga inställningar" +#~ msgid "Administration" +#~ msgstr "Administration" +#~ msgid "Change systemwide settings (affects all users)" +#~ msgstr "Ändra globala systeminställningar (påverkar alla användare)" +#~ msgid "System Tools" +#~ msgstr "Systemverktyg" +#~ msgid "System configuration and monitoring" +#~ msgstr "Systemkonfiguration och systemövervakning" +#~ msgid "Edit Menus" +#~ msgstr "Redigera menyer" +#~ msgid "_Applications:" +#~ msgstr "_Program" +#~ msgid "_Defaults" +#~ msgstr "_Standardalternativ" +#~ msgid "" +#~ "Cannot find home directory: not set in /etc/passwd and no value for $HOME " +#~ "in environment" +#~ msgstr "" +#~ "Kan inte hitta hemkatalogen: inte angiven i /etc/passwd och inget värde " +#~ "på $HOME i miljön" +#~ msgid "Menu file" +#~ msgstr "Menyfil" +#~ msgid "MENU_FILE" +#~ msgstr "MENYFIL" +#~ msgid "Monitor for menu changes" +#~ msgstr "Övervaka menyändringar" +#~ msgid "Include d entries" +#~ msgstr "Inkludera exkluderade poster" +#~ msgid "Include NoDisplay=true entries" +#~ msgstr "Inkludera poster med NoDisplay=true" +#~ msgid "Invalid desktop file ID" +#~ msgstr "Ogiltigt id på desktopfil" +#~ msgid "[Invalid Filename]" +#~ msgstr "[Ogiltigt filnamn]" +#~ msgid " " +#~ msgstr " " +#~ msgid "" +#~ "\n" +#~ "\n" +#~ "\n" +#~ "==== Menu changed, reloading ====\n" +#~ "\n" +#~ "\n" +#~ msgstr "" +#~ "\n" +#~ "\n" +#~ "\n" +#~ "==== Menyn ändrad, läser om ====\n" +#~ "\n" +#~ "\n" +#~ msgid "Menu tree is empty" +#~ msgstr "Menyträdet är tomt" +#~ msgid "- test MATE's implementation of the Desktop Menu Specification" +#~ msgstr "" +#~ "- testa MATEs implementation av specifikationen för skrivbordsmenyer" +#~ msgid "Personal Preferences" +#~ msgstr "Personliga inställningar" +#~ msgid "Applications:" +#~ msgstr "Program" +#~ msgid "Invalid Filename" +#~ msgstr "Ogiltigt filnamn" +#~ msgid "" +#~ msgstr "" +#~ msgid "excluded" +#~ msgstr "exkluderad" +#~ msgid "Excluded" +#~ msgstr "Exkluderad" +#~ msgid "==== Menu changed, reloading ====" +#~ msgstr "==== Menyn ändrad, läser om ====" +#~ msgid "Menu changed, reloading" +#~ msgstr "Menyn ändrad, läser om" +#~ msgid "test MATE's implementation of the Desktop Menu Specification" +#~ msgstr "testa MATEs implementation av specifikationen för skrivbordsmenyer" +#~ msgid "Test MATE's implementation of the Desktop Menu Specification" +#~ msgstr "Testa MATEs implementation av specifikationen för skrivbordsmenyer" +#~ msgid "System Settings" +#~ msgstr "Systeminställningar" +#~ msgid "Desktop Accessories" +#~ msgstr "Skrivbordstillbehör" +#~ msgid "System" +#~ msgstr "System" +#~ msgid "Software development" +#~ msgstr "Programutveckling" +#~ msgid "Software Development" +#~ msgstr "Programutveckling" +#~ msgid "Games and Amusements" +#~ msgstr "Spel och underhållning" +#~ msgid "Graphics Applications" +#~ msgstr "Grafikprogram" +#~ msgid "Multimedia" +#~ msgstr "Multimedia" +#~ msgid "Office applications" +#~ msgstr "Kontorsprogram" + diff --git a/po/ta.po b/po/ta.po new file mode 100644 index 0000000..378e54b --- /dev/null +++ b/po/ta.po @@ -0,0 +1,85 @@ +# translation of alacarte.HEAD.po to TAMIL +# This file is distributed under the same license as the PACKAGE package. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. +# +# Felix , 2006. +# Dr.T.Vasudevan , 2007. +msgid "" +msgstr "" +"Project-Id-Version: alacarte.HEAD\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 04:30+0000\n" +"PO-Revision-Date: 2007-06-03 05:06+0530\n" +"Last-Translator: Dr.T.Vasudevan \n" +"Language-Team: TAMIL \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "பெயர்" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "காட்சி" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "உருப்படி" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "எந்த பயன்பாடுகள் முதன்மை பட்டியில் காட்டப்படும் என்பதை மாற்றுக" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "முதன்மை புப் பட்டி" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_உருப்படிகள்:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "கீழே நகர்த்து" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "மேலே நகர்த்து" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "_த புதிய உருப்படி " + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "_ர புதிய பிரிப்பி" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "முன்னிருப்பு பட்டி அமைப்பினை மறுஅமை" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "மாற்றங்களை திரும்பப்பெற வேண்டுமா?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "அனைத்து பட்டிகள் அசல் அமைவுகளையும் திரும்ப பெற வேண்டுமா?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_ட பட்டிகள்:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_ப புதிய பட்டி" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_அசலை திரும்பப்பெறு" + diff --git a/po/te.po b/po/te.po new file mode 100644 index 0000000..cb05bea --- /dev/null +++ b/po/te.po @@ -0,0 +1,131 @@ +# Telugu translation of alacarte +# This file is distributed under the same license as the alacarte package. +# Copyright (C) 2006 Sree Ganesh +# Copyright (C) 2006 Sunil Mohan Adapa +# Copyright (C) 2007 Bharath Kumar +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte.HEAD\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-08-05 13:38+0530\n" +"PO-Revision-Date: 2007-08-03 11:46+0530\n" +"Last-Translator: Bharath Kumar \n" +"Language-Team: Swecha \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "పేరు" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "చూపించు" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "అంశం" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "ముఖ్య జాబితాలో చూపబడిన కార్యక్షేత్రాలను మార్చుము" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "ముఖ్య జాబితా" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "అంశాలు:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "కిందికి కదుపు" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "పైకి కదుపు" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "కొత్త అంశం" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "కొత్త విభజన" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "అసలైన జాబితా అమరికను తిరిగి స్థాపించు" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "మార్పులను తీసివేయమంటారా?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "అన్ని జాబితాలను అసలైన అమరికకు మార్చమంటారా?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_జాబితాలు:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_కొత్త జాబితా" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "అసలైన అమరికకు మార్చు" + +msgid "A name is required." +msgstr "ఒక పేరు అవసరం." + +msgid "A command is required." +msgstr "ఒక ఆదేశం అవసరం." + +msgid "Add, change, remove menu entries" +msgstr "జాబితా అంశాలను కలుపు, మార్చు, తొలగించు" + +msgid "Menu Layout" +msgstr "జాబితా అమరిక" + +msgid "Alacarte Menu Editor" +msgstr "జాబితా మార్చె అలాకార్తె " + +msgid "Browse..." +msgstr "అన్వేషించు..." + +msgid "Command:" +msgstr "ఆదేశం:" + +msgid "Comment:" +msgstr "వ్యాఖ్యానం:" + +msgid "Copyright © 2006 Travis Watkins" +msgstr "ప్రచురణ హక్కులు © 2006 ట్రావిస్ వాట్కిన్స్" + +msgid "Icon:" +msgstr "ప్రతిమ:" + +msgid "Menu Item Properties" +msgstr "జాబితా అంశ లక్షణాలు" + +msgid "Menu Properties" +msgstr "జాబితా లక్షణాలు" + +msgid "Name:" +msgstr "పేరు:" + +msgid "Run command in a terminal" +msgstr "టర్మిన‌ల్‌లొ ఆదేశాన్ని ఉపయోగించు" + +msgid "Simple fd.o compliant menu editor" +msgstr "ఫ్రీ డె‌‌క్స్‌టాప్ ప్రమాణాలను అనుసరింస్తు సరళముగా జాబితా మార్చునది" + +msgid "translator-credits" +msgstr "" +"Sree Ganesh \n" +"Sunil Mohan Adapa " diff --git a/po/th.po b/po/th.po new file mode 100644 index 0000000..927067f --- /dev/null +++ b/po/th.po @@ -0,0 +1,148 @@ +# Thai translation of alacarte. +# Copyright (C) 2006-2007 Free Software Foundation, Inc. +# This file is distributed under the same license as the alacarte package. +# +# Roys Hengwatanakul , 2006. +# Theppitak Karoonboonyanan , 2006-2007. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 12:51+0700\n" +"PO-Revision-Date: 2007-02-12 12:52+0700\n" +"Last-Translator: Theppitak Karoonboonyanan \n" +"Language-Team: Thai \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "ชื่อ" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "แสดง" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "รายการ" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "ปรับเปลี่ยนการแสดงโปรแกรมในเมนูหลัก" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "เมนูหลัก" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "รา_ยการ:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "ย้ายลง" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "ย้ายขึ้น" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "รายการใ_หม่" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "เส้นแ_บ่งใหม่" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "คืนโครงสร้างเมนูสู่สภาพเดิมที่กำหนดไว้" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "คืนสู่สภาพเดิมหรือไม่?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "คืนทุกเมนูกลับสู่ี่ค่าเดิมที่กำหนดไว้หรือไม่?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "เ_มนู:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "เ_มนูใหม่" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_คืนสู่สภาพเดิม" + +#~ msgid "New menu items need a name" +#~ msgstr "รายการเมนูใหม่ต้องมีชื่อ" + +#~ msgid "New menus need a name" +#~ msgstr "เมนูใหม่ต้องมีชื่อ" + +#~ msgid "Choose a Program" +#~ msgstr "เลือกโปรแกรม" + +#~ msgid "Choose an Icon" +#~ msgstr "เลือกไอคอน" + +#~ msgid "A name is required." +#~ msgstr "ต้องป้อนชื่อด้วย" + +#~ msgid "A command is required." +#~ msgstr "ต้องป้อนคำสั่งด้วย" + +#~ msgid "No Icon" +#~ msgstr "ไม่มีไอคอน" + +#~ msgid "Menu Editor" +#~ msgstr "โปรแกรมแก้ไขเมนู" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Alacarte โปรแกรมแก้ไขเมนู" + +#~ msgid "Browse..." +#~ msgstr "เรียกดู..." + +#~ msgid "Command:" +#~ msgstr "คำสั่ง:" + +#~ msgid "Comment:" +#~ msgstr "คำอธิบาย:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Copyright © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "ไอคอน:" + +#~ msgid "Menu Item Properties" +#~ msgstr "คุณสมบัติของรายการเมนู" + +#~ msgid "Menu Layout" +#~ msgstr "โครงสร้างเมนู" + +#~ msgid "Menu Properties" +#~ msgstr "คุณสมบัติของเมนู" + +#~ msgid "Name:" +#~ msgstr "ชื่อ:" + +#~ msgid "Run command in a terminal" +#~ msgstr "เรียกคำสั่งในเทอร์มินัล" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "โปรแกรมแก้ไขเมนูอย่างง่าย ตามมาตรฐาน freedesktop.org" + +#~ msgid "translator-credits" +#~ msgstr "Roys Hengwatanakul " + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "เพิ่ม, เปลี่ยน, ลบรายการเมนู" diff --git a/po/tr.po b/po/tr.po new file mode 100644 index 0000000..825915d --- /dev/null +++ b/po/tr.po @@ -0,0 +1,85 @@ +# translation of alacarte.HEAD.tr.po to Turkish +# Turkish translation of alacarte. +# Copyright (C) 2006 THE alacarte'S COPYRIGHT HOLDER +# This file is distributed under the same license as the alacarte package. +# +# +# Volkan Güney , 2006. +# Baris Cicek , 2006, 2007. +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-08-15 02:17+0400\n" +"PO-Revision-Date: 2007-03-11 13:52+0200\n" +"Last-Translator: Volkan Güney \n" +"Language-Team: Turkish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: KBabel 1.11.4\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "Ad" + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "Göster" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "Öğe" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Ana menüde gösterilecek uygulamaları değiştir" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "Ana Menü" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "Öğ_eler:" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "Aşağı Taşı" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "Yukarı Taşı" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr "_Yeni Öğe" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "_Yeni Ayıraç" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "Öntanımlı menü düzenini geri yükle" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "Değişiklikler Geri Alınsın mı?" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "Bütün menüler ilk ayarlara döndürsün mü?" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "_Menüler:" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "_Yeni Menü" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "Özgün Haline _Döndür" diff --git a/po/ug.po b/po/ug.po new file mode 100644 index 0000000..c87ebf2 --- /dev/null +++ b/po/ug.po @@ -0,0 +1,82 @@ +# Uighur Translation of Alacarte +# Copyright (C) 2010 Alacarte'S COPYRIGHT HOLDER +# This file is distributed under the same license as the Alacarte package. +# Gheyret T.Kenji , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: Alacarte master\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?" +"product=alacarte&component=general\n" +"POT-Creation-Date: 2010-04-18 09:18+0000\n" +"PO-Revision-Date: 2010-04-18 09:18+0000\n" +"Last-Translator: Gheyret Kenji \n" +"Language-Team: MATE Uighur Translation Project \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:164 +msgid "Name" +msgstr "ئاتى" + +#: ../Alacarte/MainWindow.py:180 +msgid "Show" +msgstr "كۆرسەت" + +#: ../Alacarte/MainWindow.py:188 +msgid "Item" +msgstr "تۇر" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "باش menu دا قايسى پروگراممىنى كۆرسىتىدىغانلىقىنى ئۆزگەرتىدۇ" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.ui.h:2 +msgid "Main Menu" +msgstr "باش menu" + +#: ../data/alacarte.ui.h:1 +msgid "It_ems:" +msgstr "تۈرلەر(_E):" + +#: ../data/alacarte.ui.h:3 +msgid "Move Down" +msgstr "پەسكە" + +#: ../data/alacarte.ui.h:4 +msgid "Move Up" +msgstr "ئۈستىگە" + +#: ../data/alacarte.ui.h:5 +msgid "Ne_w Item" +msgstr " يېڭى تۇر(_W)" + +#: ../data/alacarte.ui.h:6 +msgid "New _Separator" +msgstr "يېڭى ئايرىغۇچ(_S)" + +#: ../data/alacarte.ui.h:7 +msgid "Restore the default menu layout" +msgstr "كۆڭۈلدىكى menu ئورۇنلاشتۇرمىسىنى ئەسلىگە كەلتۈر" + +#: ../data/alacarte.ui.h:8 +msgid "Revert Changes?" +msgstr "ئۆزگىرىشلەرنى ئەسلىگە كەلتۈرەمسىز؟" + +#: ../data/alacarte.ui.h:9 +msgid "Revert all menus to original settings?" +msgstr "بارلىق menu لارنى ئەسلىدىكى تەڭشەككە قايتۇرامسىز؟" + +#: ../data/alacarte.ui.h:10 +msgid "_Menus:" +msgstr "Menus(_M):" + +#: ../data/alacarte.ui.h:11 +msgid "_New Menu" +msgstr "يېڭى Menu(_N)" + +#: ../data/alacarte.ui.h:12 +msgid "_Revert to Original" +msgstr "ئەسلىگە قايتۇرۇش(_R)" diff --git a/po/uk.po b/po/uk.po new file mode 100644 index 0000000..e2dbe1b --- /dev/null +++ b/po/uk.po @@ -0,0 +1,81 @@ +# Ukrainian translation of alacarte. +# Copyright (C) 2006 Free Software Foundation +# This file is distributed under the same license as the PACKAGE package. +# Maxim Dziumanenko , 2006-2007. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-19 13:00+0200\n" +"PO-Revision-Date: 2007-02-19 13:56+0200\n" +"Last-Translator: Maxim Dziumanenko \n" +"Language-Team: Ukrainian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Назва" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Показати" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Елемент" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Вибір програм, що відображаються у головному меню" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "головне меню" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Елементи:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Перемістити вниз" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Перемістити вгору" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "С_творити елемент" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Створити _розділювач" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Відновити початковий вигляд меню" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Повернути зміни?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Повернути усі меню до початкового стану? " + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Меню:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Створити меню" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Повернути до початкового стану" + diff --git a/po/uz@cyrillic.po b/po/uz@cyrillic.po new file mode 100644 index 0000000..c62509c --- /dev/null +++ b/po/uz@cyrillic.po @@ -0,0 +1,81 @@ +# translation of alacarte.HEAD.po to Uzbek +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Nurali Abdurahmonov , 2007. +msgid "" +msgstr "" +"Project-Id-Version: alacarte.HEAD\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-09-05 19:51+0200\n" +"PO-Revision-Date: 2007-09-05 12:50+0500\n" +"Last-Translator: Nurali Abdurahmonov \n" +"Language-Team: Uzbek\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Номи" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Кўрсатиш" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Элемент" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Асосий менюда кўрсатиладиган дастурларни ўзгартириш" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Асосий меню" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "Эл_ементлар:" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "Пастга" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "Юқорига" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Янг_и элемент" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Янги _ажратувчи" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Менюнинг илк кўринишига қайтариш" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Ўзгаришлар бекор қилинсинми?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Ҳамма менюлар асл мосламаларига қайтарилсинми?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Менюлар:" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "_Янги меню" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "_Асл ҳолатига қайтариш" diff --git a/po/vi.po b/po/vi.po new file mode 100644 index 0000000..4ef7f92 --- /dev/null +++ b/po/vi.po @@ -0,0 +1,147 @@ +# Vietnamese translation for À la Carte. +# Copyright © 2007 Mate i18n Project for Vietnamese. +# Clytie Siddall , 2006-2007. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte HEAD\n" +"Report-Msgid-Bugs-To: http://bugzilla.mate.org/enter_bug.cgi?" +"product=alacarte&component=general\n" +"POT-Creation-Date: 2009-04-22 22:36+0000\n" +"PO-Revision-Date: 2007-02-19 14:04+0700\n" +"Last-Translator: Bùi Xuân Dương \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "Tên" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "Hiện" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "Mục" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "Thay đổi những ứng dụng hiển thị trong trình đơn chính" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.glade.h:2 +msgid "Main Menu" +msgstr "Trình đơn chính" + +#: ../data/alacarte.glade.h:1 +msgid "It_ems:" +msgstr "_Mục:" + +#: ../data/alacarte.glade.h:3 +msgid "Move Down" +msgstr "Đem xuống" + +#: ../data/alacarte.glade.h:4 +msgid "Move Up" +msgstr "Đem lên" + +#: ../data/alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "Mục mớ_i" + +#: ../data/alacarte.glade.h:6 +msgid "New _Separator" +msgstr "Thanh _ngăn cách mới" + +#: ../data/alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "Phục hồi bố cục trình đơn mặc định" + +#: ../data/alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "Bỏ qua các thay đổi?" + +#: ../data/alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "Hoàn nguyên thiết lập ban đầu của mọi trình đơn?" + +#: ../data/alacarte.glade.h:10 +msgid "_Menus:" +msgstr "_Trình đơn:" + +#: ../data/alacarte.glade.h:11 +msgid "_New Menu" +msgstr "Trình đơn mớ_i" + +#: ../data/alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "H_oàn nguyên" + +#~ msgid "New menu items need a name" +#~ msgstr "Mục trình đơn mới cần có tên" + +#~ msgid "New menus need a name" +#~ msgstr "Trình đơn mới cần có tên" + +#~ msgid "Choose a Program" +#~ msgstr "Chọn chương trình" + +#~ msgid "Choose an Icon" +#~ msgstr "Chọn biểu tượng" + +#~ msgid "A name is required." +#~ msgstr "Cần thiết nhập tên." + +#~ msgid "A command is required." +#~ msgstr "Cần thiết nhập lệnh." + +#~ msgid "No Icon" +#~ msgstr "Không có biểu tượng" + +#~ msgid "Menu Editor" +#~ msgstr "Bộ sửa trình đơn" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Bộ sửa trình đơn Alacarte" + +#~ msgid "Browse..." +#~ msgstr "Duyệt..." + +#~ msgid "Command:" +#~ msgstr "Lệnh:" + +#~ msgid "Comment:" +#~ msgstr "Ghi chú:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "Tác quyền © năm 2006 của Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "Hình:" + +#~ msgid "Menu Item Properties" +#~ msgstr "Thuộc tính của mục trình đơn" + +#~ msgid "Menu Layout" +#~ msgstr "Bố trí trình đơn" + +#~ msgid "Menu Properties" +#~ msgstr "Thuộc tính của trình đơn" + +#~ msgid "Name:" +#~ msgstr "Tên:" + +#~ msgid "Run command in a terminal" +#~ msgstr "Chạy lệnh trong cửa sổ dòng lệnh" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "Trình hiệu chỉnh trình đơn tương thích fd.o đơn giản" + +#~ msgid "translator-credits" +#~ msgstr "Nhóm Việt hoá MATE " + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "Thêm, thay đổi, gỡ bỏ mục trình đơn" diff --git a/po/zh_CN.po b/po/zh_CN.po new file mode 100644 index 0000000..c384341 --- /dev/null +++ b/po/zh_CN.po @@ -0,0 +1,82 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Funda Wang , 2006. +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-02-12 04:30+0000\n" +"PO-Revision-Date: 2007-02-28 18:06+0800\n" +"Last-Translator: Funda Wang \n" +"Language-Team: zh_CN \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:167 +msgid "Name" +msgstr "名称" + +#: ../Alacarte/MainWindow.py:183 +msgid "Show" +msgstr "显示" + +#: ../Alacarte/MainWindow.py:191 +msgid "Item" +msgstr "项目" + +#: ../alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "更改显示于主菜单的应用程序" + +#: ../alacarte.desktop.in.in.h:2 ../alacarte.glade.h:2 +msgid "Main Menu" +msgstr "主菜单" + +#: ../alacarte.glade.h:1 +msgid "It_ems:" +msgstr "项数(_E):" + +#: ../alacarte.glade.h:3 +msgid "Move Down" +msgstr "下移" + +#: ../alacarte.glade.h:4 +msgid "Move Up" +msgstr "上移" + +#: ../alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "新建项目(_W)" + +#: ../alacarte.glade.h:6 +msgid "New _Separator" +msgstr "新建分隔符(_S)" + +#: ../alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "恢复默认菜单布局" + +#: ../alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "复原更改吗?" + +#: ../alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "将全部菜单复原到原始设置吗?" + +#: ../alacarte.glade.h:10 +msgid "_Menus:" +msgstr "菜单(_M):" + +#: ../alacarte.glade.h:11 +msgid "_New Menu" +msgstr "新建菜单(_N)" + +#: ../alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "复原到原始值(_R)" + + diff --git a/po/zh_HK.po b/po/zh_HK.po new file mode 100644 index 0000000..69156de --- /dev/null +++ b/po/zh_HK.po @@ -0,0 +1,150 @@ +# Chinese (Hong Kong) translation of alacarte. +# Copyright (C) 2006, 07 Free Software Foundation, Inc. +# Woodman Tuen , 2006-2007. +# +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte 0.11.8\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-01-30 22:47+0800\n" +"PO-Revision-Date: 2009-01-31 14:05+0800\n" +"Last-Translator: Woodman Tuen \n" +"Language-Team: Chinese (Hong Kong) \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:169 +msgid "Name" +msgstr "名稱" + +#: ../Alacarte/MainWindow.py:185 +msgid "Show" +msgstr "顯示" + +#: ../Alacarte/MainWindow.py:193 +msgid "Item" +msgstr "項目" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "選擇那一個應用程式顯示在主選單上" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.glade.h:2 +msgid "Main Menu" +msgstr "主選單" + +#: ../data/alacarte.glade.h:1 +msgid "It_ems:" +msgstr "項目(_E):" + +#: ../data/alacarte.glade.h:3 +msgid "Move Down" +msgstr "下移" + +#: ../data/alacarte.glade.h:4 +msgid "Move Up" +msgstr "上移" + +#: ../data/alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "新增項目(_W)" + +#: ../data/alacarte.glade.h:6 +msgid "New _Separator" +msgstr "新增分隔線(_S)" + +#: ../data/alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "回復預設的選單配置" + +#: ../data/alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "還原更改?" + +#: ../data/alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "將所有選單還原為原本的設定?" + +#: ../data/alacarte.glade.h:10 +msgid "_Menus:" +msgstr "選單(_M):" + +#: ../data/alacarte.glade.h:11 +msgid "_New Menu" +msgstr "新增選單(_N)" + +#: ../data/alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "還原為原本的設定(_R)" + +#~ msgid "Menu Layout" +#~ msgstr "選單配置" + +#~ msgid "New menu items need a name" +#~ msgstr "新增選單項目需要有名稱" + +#~ msgid "New menus need a name" +#~ msgstr "新選單需要有名稱" + +#~ msgid "Choose a Program" +#~ msgstr "選擇一個程式" + +#~ msgid "Choose an Icon" +#~ msgstr "選擇圖示" + +#~ msgid "A name is required." +#~ msgstr "需要輸入名稱。" + +#~ msgid "A command is required." +#~ msgstr "需要輸入指令。" + +#~ msgid "No Icon" +#~ msgstr "沒有圖示" + +#~ msgid "Menu Editor" +#~ msgstr "選單編輯器" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Alacarte 選單編輯器" + +#~ msgid "Browse..." +#~ msgstr "瀏覽..." + +#~ msgid "Command:" +#~ msgstr "指令:" + +#~ msgid "Comment:" +#~ msgstr "註解:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "版權所有 © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "圖示:" + +#~ msgid "Menu Item Properties" +#~ msgstr "選單項目屬性" + +#~ msgid "Menu Properties" +#~ msgstr "選單屬性" + +#~ msgid "Name:" +#~ msgstr "名稱:" + +#~ msgid "Run command in a terminal" +#~ msgstr "在終端機中執行指令" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "符合 fd.o 的選單編輯器" + +#~ msgid "translator-credits" +#~ msgstr "" +#~ "如對翻譯有任何意見,請送一封電子郵件給以下地址,MATE 翻譯團隊會儘快回覆" +#~ "您:\n" +#~ "community@linuxhall.org\n" +#~ "Woodman Tuen , 2006-07" + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "加入、更改及移除選單項目" diff --git a/po/zh_TW.po b/po/zh_TW.po new file mode 100644 index 0000000..c7c382f --- /dev/null +++ b/po/zh_TW.po @@ -0,0 +1,150 @@ +# Chinese (Taiwan) translation of alacarte. +# Copyright (C) 2006, 07 Free Software Foundation, Inc. +# Woodman Tuen , 2006-2007. +# +# +msgid "" +msgstr "" +"Project-Id-Version: alacarte 0.11.8\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-01-30 22:47+0800\n" +"PO-Revision-Date: 2007-02-21 02:13+0800\n" +"Last-Translator: Woodman Tuen \n" +"Language-Team: Chinese/Traditional \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../Alacarte/MainWindow.py:169 +msgid "Name" +msgstr "名稱" + +#: ../Alacarte/MainWindow.py:185 +msgid "Show" +msgstr "顯示" + +#: ../Alacarte/MainWindow.py:193 +msgid "Item" +msgstr "項目" + +#: ../data/alacarte.desktop.in.in.h:1 +msgid "Change which applications are shown on the main menu" +msgstr "選擇那一個應用程式顯示在主選單上" + +#: ../data/alacarte.desktop.in.in.h:2 ../data/alacarte.glade.h:2 +msgid "Main Menu" +msgstr "主選單" + +#: ../data/alacarte.glade.h:1 +msgid "It_ems:" +msgstr "項目(_E):" + +#: ../data/alacarte.glade.h:3 +msgid "Move Down" +msgstr "下移" + +#: ../data/alacarte.glade.h:4 +msgid "Move Up" +msgstr "上移" + +#: ../data/alacarte.glade.h:5 +msgid "Ne_w Item" +msgstr "新增項目(_W)" + +#: ../data/alacarte.glade.h:6 +msgid "New _Separator" +msgstr "新增分隔線(_S)" + +#: ../data/alacarte.glade.h:7 +msgid "Restore the default menu layout" +msgstr "回復預設的選單配置" + +#: ../data/alacarte.glade.h:8 +msgid "Revert Changes?" +msgstr "還原變更?" + +#: ../data/alacarte.glade.h:9 +msgid "Revert all menus to original settings?" +msgstr "將所有選單還原為原本的設定?" + +#: ../data/alacarte.glade.h:10 +msgid "_Menus:" +msgstr "選單(_M):" + +#: ../data/alacarte.glade.h:11 +msgid "_New Menu" +msgstr "新增選單(_N)" + +#: ../data/alacarte.glade.h:12 +msgid "_Revert to Original" +msgstr "還原為原本的設定(_R)" + +#~ msgid "Menu Layout" +#~ msgstr "選單配置" + +#~ msgid "New menu items need a name" +#~ msgstr "新增選單項目需要有名稱" + +#~ msgid "New menus need a name" +#~ msgstr "新選單需要有名稱" + +#~ msgid "Choose a Program" +#~ msgstr "選擇一個程式" + +#~ msgid "Choose an Icon" +#~ msgstr "選擇圖示" + +#~ msgid "A name is required." +#~ msgstr "需要輸入名稱。" + +#~ msgid "A command is required." +#~ msgstr "需要輸入指令。" + +#~ msgid "No Icon" +#~ msgstr "沒有圖示" + +#~ msgid "Menu Editor" +#~ msgstr "選單編輯器" + +#~ msgid "Alacarte Menu Editor" +#~ msgstr "Alacarte 選單編輯器" + +#~ msgid "Browse..." +#~ msgstr "瀏覽..." + +#~ msgid "Command:" +#~ msgstr "指令:" + +#~ msgid "Comment:" +#~ msgstr "註解:" + +#~ msgid "Copyright © 2006 Travis Watkins" +#~ msgstr "版權所有 © 2006 Travis Watkins" + +#~ msgid "Icon:" +#~ msgstr "圖示:" + +#~ msgid "Menu Item Properties" +#~ msgstr "選單項目屬性" + +#~ msgid "Menu Properties" +#~ msgstr "選單屬性" + +#~ msgid "Name:" +#~ msgstr "名稱:" + +#~ msgid "Run command in a terminal" +#~ msgstr "在終端機中執行指令" + +#~ msgid "Simple fd.o compliant menu editor" +#~ msgstr "符合 fd.o 的選單編輯器" + +#~ msgid "translator-credits" +#~ msgstr "" +#~ "如對翻譯有任何意見,請送一封電子郵件給以下地址,MATE 翻譯團隊會儘快回覆" +#~ "您:\n" +#~ "community@linuxhall.org\n" +#~ "Woodman Tuen , 2006-07" + +#~ msgid "Add, change, remove menu entries" +#~ msgstr "加入、更改及移除選單項目" diff --git a/py-compile b/py-compile new file mode 100755 index 0000000..3f9d05b --- /dev/null +++ b/py-compile @@ -0,0 +1,146 @@ +#!/bin/sh +# py-compile - Compile a Python program + +scriptversion=2009-04-28.21; # UTC + +# Copyright (C) 2000, 2001, 2003, 2004, 2005, 2008, 2009 Free Software +# Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to or send patches to +# . + +if [ -z "$PYTHON" ]; then + PYTHON=python +fi + +basedir= +destdir= +files= +while test $# -ne 0; do + case "$1" in + --basedir) + basedir=$2 + if test -z "$basedir"; then + echo "$0: Missing argument to --basedir." 1>&2 + exit 1 + fi + shift + ;; + --destdir) + destdir=$2 + if test -z "$destdir"; then + echo "$0: Missing argument to --destdir." 1>&2 + exit 1 + fi + shift + ;; + -h|--h*) + cat <<\EOF +Usage: py-compile [--help] [--version] [--basedir DIR] [--destdir DIR] FILES..." + +Byte compile some python scripts FILES. Use --destdir to specify any +leading directory path to the FILES that you don't want to include in the +byte compiled file. Specify --basedir for any additional path information you +do want to be shown in the byte compiled file. + +Example: + py-compile --destdir /tmp/pkg-root --basedir /usr/share/test test.py test2.py + +Report bugs to . +EOF + exit $? + ;; + -v|--v*) + echo "py-compile $scriptversion" + exit $? + ;; + *) + files="$files $1" + ;; + esac + shift +done + +if test -z "$files"; then + echo "$0: No files given. Try \`$0 --help' for more information." 1>&2 + exit 1 +fi + +# if basedir was given, then it should be prepended to filenames before +# byte compilation. +if [ -z "$basedir" ]; then + pathtrans="path = file" +else + pathtrans="path = os.path.join('$basedir', file)" +fi + +# if destdir was given, then it needs to be prepended to the filename to +# byte compile but not go into the compiled file. +if [ -z "$destdir" ]; then + filetrans="filepath = path" +else + filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)" +fi + +$PYTHON -c " +import sys, os, py_compile + +files = '''$files''' + +sys.stdout.write('Byte-compiling python modules...\n') +for file in files.split(): + $pathtrans + $filetrans + if not os.path.exists(filepath) or not (len(filepath) >= 3 + and filepath[-3:] == '.py'): + continue + sys.stdout.write(file) + sys.stdout.flush() + py_compile.compile(filepath, filepath + 'c', path) +sys.stdout.write('\n')" || exit $? + +# this will fail for python < 1.5, but that doesn't matter ... +$PYTHON -O -c " +import sys, os, py_compile + +files = '''$files''' +sys.stdout.write('Byte-compiling python modules (optimized versions) ...\n') +for file in files.split(): + $pathtrans + $filetrans + if not os.path.exists(filepath) or not (len(filepath) >= 3 + and filepath[-3:] == '.py'): + continue + sys.stdout.write(file) + sys.stdout.flush() + py_compile.compile(filepath, filepath + 'o', path) +sys.stdout.write('\n')" 2>/dev/null || : + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End: -- cgit v1.2.1