diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-07-11 10:47:07 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-07-11 10:47:07 +0800 |
commit | 1e631480366be06789ea94bb7eaea17bb2385897 (patch) | |
tree | bf1c4be41aedf6b01ea9ec983f56e2badc810e26 /devel/bug-buddy | |
parent | 6a8985d481cbccf673ef13851292bff3bcfc613f (diff) | |
download | marcuscom-ports-1e631480366be06789ea94bb7eaea17bb2385897.tar marcuscom-ports-1e631480366be06789ea94bb7eaea17bb2385897.tar.gz marcuscom-ports-1e631480366be06789ea94bb7eaea17bb2385897.tar.bz2 marcuscom-ports-1e631480366be06789ea94bb7eaea17bb2385897.tar.lz marcuscom-ports-1e631480366be06789ea94bb7eaea17bb2385897.tar.xz marcuscom-ports-1e631480366be06789ea94bb7eaea17bb2385897.tar.zst marcuscom-ports-1e631480366be06789ea94bb7eaea17bb2385897.zip |
- Update to 2.11.0
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4209 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/bug-buddy')
-rw-r--r-- | devel/bug-buddy/Makefile | 7 | ||||
-rw-r--r-- | devel/bug-buddy/distinfo | 4 | ||||
-rw-r--r-- | devel/bug-buddy/files/patch-src_bugzilla.c | 176 | ||||
-rw-r--r-- | devel/bug-buddy/pkg-plist | 6 |
4 files changed, 10 insertions, 183 deletions
diff --git a/devel/bug-buddy/Makefile b/devel/bug-buddy/Makefile index 72f3683d8..591909d6f 100644 --- a/devel/bug-buddy/Makefile +++ b/devel/bug-buddy/Makefile @@ -3,15 +3,14 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/devel/bugbuddy/Makefile,v 1.11 2005/06/28 05:39:59 adamw Exp $ +# $MCom: ports/devel/bugbuddy/Makefile,v 1.12 2005/07/01 18:00:49 marcus Exp $ # PORTNAME= bugbuddy -PORTVERSION= 2.10.0 -PORTREVISION= 1 +PORTVERSION= 2.11.0 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/bug-buddy/2.10 +MASTER_SITE_SUBDIR= sources/bug-buddy/2.11 DISTNAME= bug-buddy-${PORTVERSION} DIST_SUBDIR= gnome2 diff --git a/devel/bug-buddy/distinfo b/devel/bug-buddy/distinfo index d7003e3d3..e8a0f9606 100644 --- a/devel/bug-buddy/distinfo +++ b/devel/bug-buddy/distinfo @@ -1,2 +1,2 @@ -MD5 (gnome2/bug-buddy-2.10.0.tar.bz2) = c821a933f3d7be64071c7bfcb07ee1ac -SIZE (gnome2/bug-buddy-2.10.0.tar.bz2) = 718182 +MD5 (gnome2/bug-buddy-2.11.0.tar.bz2) = c86fb5a8949d27c481b7fe54844cb19f +SIZE (gnome2/bug-buddy-2.11.0.tar.bz2) = 521784 diff --git a/devel/bug-buddy/files/patch-src_bugzilla.c b/devel/bug-buddy/files/patch-src_bugzilla.c deleted file mode 100644 index c5b3077c5..000000000 --- a/devel/bug-buddy/files/patch-src_bugzilla.c +++ /dev/null @@ -1,176 +0,0 @@ ---- src/bugzilla.c.orig Thu Feb 10 06:01:10 2005 -+++ src/bugzilla.c Fri May 20 15:17:09 2005 -@@ -40,7 +40,8 @@ - #include <libgnomevfs/gnome-vfs.h> - - #include <libgnome/gnome-desktop-item.h> --#include <menu-tree.h> -+#define GMENU_I_KNOW_THIS_IS_UNSTABLE -+#include <gmenu-tree.h> - - #include <bonobo/bonobo-exception.h> - #include <bonobo-activation/bonobo-activation.h> -@@ -1123,32 +1124,74 @@ NULL)) { - } - - static int --compare_applications (MenuTreeEntry *a, -- MenuTreeEntry *b) -+compare_applications (GMenuTreeEntry *a, -+ GMenuTreeEntry *b) - { -- return g_utf8_collate (menu_tree_entry_get_name (a), -- menu_tree_entry_get_name (b)); -+ return g_utf8_collate (gmenu_tree_entry_get_name (a), -+ gmenu_tree_entry_get_name (b)); - } - -+static GSList *get_all_applications_from_dir (GMenuTreeDirectory *directory, -+ GSList *list); -+ - static GSList * --get_all_applications_from_dir (MenuTreeDirectory *directory, -- GSList *list) -+get_all_applications_from_alias (GMenuTreeAlias *alias, -+ GSList *list) - { -- GSList *subdirs; -+ GMenuTreeItem *aliased_item; -+ -+ aliased_item = gmenu_tree_alias_get_item (alias); -+ -+ switch (gmenu_tree_item_get_type (aliased_item)) { -+ case GMENU_TREE_ITEM_DIRECTORY: -+ list = get_all_applications_from_dir (GMENU_TREE_DIRECTORY (aliased_item), list); -+ break; -+ -+ case GMENU_TREE_ITEM_ENTRY: -+ list = g_slist_append (list, gmenu_tree_item_ref (aliased_item)); -+ break; -+ -+ default: -+ break; -+ } -+ -+ gmenu_tree_item_unref (aliased_item); -+ -+ return list; -+} -+ -+static GSList * -+get_all_applications_from_dir (GMenuTreeDirectory *directory, -+ GSList *list) -+{ -+ GSList *items; - GSList *l; - -- list = g_slist_concat (list, -- menu_tree_directory_get_entries (directory)); -+ items = gmenu_tree_directory_get_contents (directory); -+ for (l = items; l; l = l->next) { -+ GMenuTreeItem *item = l->data; - -- subdirs = menu_tree_directory_get_subdirs (directory); -- for (l = subdirs; l; l = l->next) { -- MenuTreeDirectory *subdir = l->data; -+ switch (gmenu_tree_item_get_type (item)) { -+ case GMENU_TREE_ITEM_DIRECTORY: -+ list = get_all_applications_from_dir (GMENU_TREE_DIRECTORY (item), list); -+ break; - -- list = get_all_applications_from_dir (subdir, list); -+ case GMENU_TREE_ITEM_ENTRY: -+ list = g_slist_append (list, gmenu_tree_item_ref (item)); -+ break; - -- menu_tree_directory_unref (subdir); -+ case GMENU_TREE_ITEM_ALIAS: -+ list = get_all_applications_from_alias (GMENU_TREE_ALIAS (item), list); -+ break; -+ -+ default: -+ break; -+ } -+ -+ gmenu_tree_item_unref (item); - } -- g_slist_free (subdirs); -+ -+ g_slist_free (items); - - return list; - } -@@ -1156,18 +1199,18 @@ get_all_applications_from_dir (MenuTreeD - static GSList * - get_all_applications (void) - { -- MenuTree *tree; -- MenuTreeDirectory *root; -- GSList *retval; -+ GMenuTree *tree; -+ GMenuTreeDirectory *root; -+ GSList *retval; - -- tree = menu_tree_lookup ("applications.menu"); -+ tree = gmenu_tree_lookup ("applications.menu", GMENU_TREE_FLAGS_NONE); - -- root = menu_tree_get_root_directory (tree); -+ root = gmenu_tree_get_root_directory (tree); - - retval = get_all_applications_from_dir (root, NULL); - -- menu_tree_directory_unref (root); -- menu_tree_unref (tree); -+ gmenu_tree_item_unref (root); -+ gmenu_tree_unref (tree); - - retval = g_slist_sort (retval, (GCompareFunc) compare_applications); - -@@ -1193,28 +1236,28 @@ load_applications (void) - for (l = all_applications; l; l = l->next) { - GnomeDesktopItem *ditem; - char *icon; -- MenuTreeEntry *entry = l->data; -+ GMenuTreeEntry *entry = l->data; - -- if (prev_name && strcmp (menu_tree_entry_get_name (entry), prev_name) == 0) { -- menu_tree_entry_unref (entry); -+ if (prev_name && strcmp (gmenu_tree_entry_get_name (entry), prev_name) == 0) { -+ gmenu_tree_item_unref (entry); - continue; - } -- ditem = gnome_desktop_item_new_from_uri (menu_tree_entry_get_desktop_file_path (entry), -+ ditem = gnome_desktop_item_new_from_uri (gmenu_tree_entry_get_desktop_file_path (entry), - 0, &error); - if (!ditem) { - if (error) { -- g_warning ("Couldn't load %s: %s", desktop_entry_get_path (entry), -+ g_warning ("Couldn't load %s: %s", gmenu_tree_entry_get_desktop_file_path (entry), - error->message); - g_error_free (error); - error = NULL; - } -- menu_tree_entry_unref (entry); -+ gmenu_tree_item_unref (entry); - continue; - } - - if ((gnome_desktop_item_get_entry_type (ditem) != GNOME_DESKTOP_ITEM_TYPE_APPLICATION) || !gnome_desktop_item_get_string (ditem, BUGZILLA_BUGZILLA)) { - gnome_desktop_item_unref (ditem); -- menu_tree_entry_unref (entry); -+ gmenu_tree_item_unref (entry); - continue; - } - -@@ -1231,9 +1274,9 @@ load_applications (void) - gnome_desktop_item_get_string (ditem, GNOME_DESKTOP_ITEM_EXEC), - gnome_desktop_item_get_string (ditem, BUGZILLA_OTHER_BINARIES)); - g_free (icon); -- prev_name = menu_tree_entry_get_name (entry); -+ prev_name = gmenu_tree_entry_get_name (entry); - gnome_desktop_item_unref (ditem); -- menu_tree_entry_unref (entry); -+ gmenu_tree_item_unref (entry); - } - g_slist_free (all_applications); - diff --git a/devel/bug-buddy/pkg-plist b/devel/bug-buddy/pkg-plist index ec291fb0a..23d177ea3 100644 --- a/devel/bug-buddy/pkg-plist +++ b/devel/bug-buddy/pkg-plist @@ -1,7 +1,6 @@ bin/bug-buddy share/gnome/application-registry/bug-buddy.applications share/gnome/applications/bug-buddy-core.desktop -@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true share/gnome/applications/bug-buddy.desktop share/gnome/bug-buddy/bug-buddy.glade share/gnome/bug-buddy/bug-buddy.png @@ -59,6 +58,7 @@ share/locale/lv/LC_MESSAGES/bug-buddy.mo share/locale/mk/LC_MESSAGES/bug-buddy.mo share/locale/ml/LC_MESSAGES/bug-buddy.mo share/locale/mn/LC_MESSAGES/bug-buddy.mo +share/locale/mr/LC_MESSAGES/bug-buddy.mo share/locale/ms/LC_MESSAGES/bug-buddy.mo share/locale/nb/LC_MESSAGES/bug-buddy.mo share/locale/ne/LC_MESSAGES/bug-buddy.mo @@ -72,6 +72,7 @@ share/locale/pt/LC_MESSAGES/bug-buddy.mo share/locale/pt_BR/LC_MESSAGES/bug-buddy.mo share/locale/ro/LC_MESSAGES/bug-buddy.mo share/locale/ru/LC_MESSAGES/bug-buddy.mo +share/locale/rw/LC_MESSAGES/bug-buddy.mo share/locale/sk/LC_MESSAGES/bug-buddy.mo share/locale/sl/LC_MESSAGES/bug-buddy.mo share/locale/sq/LC_MESSAGES/bug-buddy.mo @@ -81,9 +82,11 @@ share/locale/sv/LC_MESSAGES/bug-buddy.mo share/locale/ta/LC_MESSAGES/bug-buddy.mo share/locale/th/LC_MESSAGES/bug-buddy.mo share/locale/tr/LC_MESSAGES/bug-buddy.mo +share/locale/ug/LC_MESSAGES/bug-buddy.mo share/locale/uk/LC_MESSAGES/bug-buddy.mo share/locale/vi/LC_MESSAGES/bug-buddy.mo share/locale/wa/LC_MESSAGES/bug-buddy.mo +share/locale/xh/LC_MESSAGES/bug-buddy.mo share/locale/zh_CN/LC_MESSAGES/bug-buddy.mo share/locale/zh_TW/LC_MESSAGES/bug-buddy.mo @dirrm share/gnome/omf/bug-buddy @@ -93,4 +96,5 @@ share/locale/zh_TW/LC_MESSAGES/bug-buddy.mo @dirrm share/gnome/bug-buddy/bugzilla/gnome @dirrm share/gnome/bug-buddy/bugzilla @dirrm share/gnome/bug-buddy +@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true @unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true |