pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

import gnome-menus from pkgsrc



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Sat Mar 5 16:26:39 2016 +0200
Changeset:	9852b011d7880a8e19bb2fe6ce5ff286f0f959cb

Added Files:
	gnome-menus/DESCR
	gnome-menus/Makefile
	gnome-menus/PLIST
	gnome-menus/buildlink3.mk
	gnome-menus/distinfo
	gnome-menus/patches/patch-aa
	gnome-menus/patches/patch-ab
Removed Files:
	gnome-panel/patches/patch-ab
	gnome-panel/patches/patch-ad
	gnome-panel/patches/patch-ae
	gnome-panel/patches/patch-af
	gnome-panel/patches/patch-libpanel-applet_panel-applet-factory.c

Log Message:
import gnome-menus from pkgsrc

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9852b011d7880a8e19bb2fe6ce5ff286f0f959cb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gnome-menus/DESCR                                  |   2 +
 gnome-menus/Makefile                               |  43 +++++++
 gnome-menus/PLIST                                  | 127 +++++++++++++++++++++
 gnome-menus/buildlink3.mk                          |  15 +++
 gnome-menus/distinfo                               |   8 ++
 gnome-menus/patches/patch-aa                       |  13 +++
 gnome-menus/patches/patch-ab                       |  23 ++++
 gnome-panel/patches/patch-ab                       |  13 ---
 gnome-panel/patches/patch-ad                       |  15 ---
 gnome-panel/patches/patch-ae                       |  15 ---
 gnome-panel/patches/patch-af                       |  31 -----
 .../patch-libpanel-applet_panel-applet-factory.c   |  26 -----
 12 files changed, 231 insertions(+), 100 deletions(-)

diffs:
diff --git a/gnome-menus/DESCR b/gnome-menus/DESCR
new file mode 100644
index 0000000..da9b422
--- /dev/null
+++ b/gnome-menus/DESCR
@@ -0,0 +1,2 @@
+This package provides an implementation of the Desktop Menu Specification
+for the GNOME Desktop.
diff --git a/gnome-menus/Makefile b/gnome-menus/Makefile
new file mode 100644
index 0000000..df1e284
--- /dev/null
+++ b/gnome-menus/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.56 2012/10/23 19:51:04 asau Exp $
+#
+
+DISTNAME=	gnome-menus-2.30.5
+PKGREVISION=	4
+CATEGORIES=	sysutils gnome
+MASTER_SITES=	${MASTER_SITE_GNOME:=sources/gnome-menus/2.30/}
+EXTRACT_SUFX=	.tar.bz2
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://www.gnome.org/
+COMMENT=	Implementation of the desktop menu specification for GNOME
+
+GNU_CONFIGURE=		yes
+USE_TOOLS+=		gmake intltool msgfmt pkg-config
+USE_LIBTOOL=		yes
+USE_PKGLOCALEDIR=	yes
+
+CONFIGURE_ARGS+=	--disable-python
+
+INSTALL_MAKE_FLAGS+=	${MAKE_FLAGS} menudir=${EXAMPLEDIR}
+
+PKGCONFIG_OVERRIDE+=	${WRKSRC}/libmenu/libgnome-menu.pc.in
+
+EXAMPLEDIR=		${PREFIX}/share/examples/gnome-menus/xdg/menus
+OWN_DIRS=		${PKG_SYSCONFDIR}/xdg/menus
+CONF_FILES=		${EXAMPLEDIR}/applications.menu \
+			${PKG_SYSCONFDIR}/xdg/menus/applications.menu
+CONF_FILES+=		${EXAMPLEDIR}/settings.menu \
+			${PKG_SYSCONFDIR}/xdg/menus/settings.menu
+
+SUBST_CLASSES+=		paths
+SUBST_STAGE.paths=	pre-configure
+SUBST_MESSAGE.paths=	Fixing paths to installation prefix.
+SUBST_FILES.paths=	layout/*.menu
+SUBST_SED.paths=	-e 's|/usr/|${PREFIX}/|g'
+SUBST_SED.paths+=	-e 's|/etc/X11/applnk|${PREFIX}/share/kde/applnk/|g'
+
+BUILDLINK_API_DEPENDS.glib2+=	glib2>=2.6.0
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gnome-menus/PLIST b/gnome-menus/PLIST
new file mode 100644
index 0000000..7196f94
--- /dev/null
+++ b/gnome-menus/PLIST
@@ -0,0 +1,127 @@
+@comment $NetBSD: PLIST,v 1.25 2010/11/24 20:22:49 drochner Exp $
+include/gnome-menus/gmenu-tree.h
+lib/libgnome-menu.la
+lib/pkgconfig/libgnome-menu.pc
+share/desktop-directories/AudioVideo.directory
+share/desktop-directories/Development.directory
+share/desktop-directories/Education.directory
+share/desktop-directories/Game.directory
+share/desktop-directories/Graphics.directory
+share/desktop-directories/Hardware.directory
+share/desktop-directories/InternetAndNetwork.directory
+share/desktop-directories/LookAndFeel.directory
+share/desktop-directories/Network.directory
+share/desktop-directories/Office.directory
+share/desktop-directories/Personal.directory
+share/desktop-directories/Settings-System.directory
+share/desktop-directories/Settings.directory
+share/desktop-directories/System-Tools.directory
+share/desktop-directories/System.directory
+share/desktop-directories/Utility-Accessibility.directory
+share/desktop-directories/Utility.directory
+share/desktop-directories/X-GNOME-Menu-Applications.directory
+share/desktop-directories/X-GNOME-Menu-System.directory
+share/desktop-directories/X-GNOME-Other.directory
+share/examples/gnome-menus/xdg/menus/applications.menu
+share/examples/gnome-menus/xdg/menus/settings.menu
+share/locale/af/LC_MESSAGES/gnome-menus.mo
+share/locale/an/LC_MESSAGES/gnome-menus.mo
+share/locale/ar/LC_MESSAGES/gnome-menus.mo
+share/locale/as/LC_MESSAGES/gnome-menus.mo
+share/locale/ast/LC_MESSAGES/gnome-menus.mo
+share/locale/be/LC_MESSAGES/gnome-menus.mo
+share/locale/be@latin/LC_MESSAGES/gnome-menus.mo
+share/locale/bg/LC_MESSAGES/gnome-menus.mo
+share/locale/bn/LC_MESSAGES/gnome-menus.mo
+share/locale/bn_IN/LC_MESSAGES/gnome-menus.mo
+share/locale/br/LC_MESSAGES/gnome-menus.mo
+share/locale/ca/LC_MESSAGES/gnome-menus.mo
+share/locale/ca@valencia/LC_MESSAGES/gnome-menus.mo
+share/locale/crh/LC_MESSAGES/gnome-menus.mo
+share/locale/cs/LC_MESSAGES/gnome-menus.mo
+share/locale/cy/LC_MESSAGES/gnome-menus.mo
+share/locale/da/LC_MESSAGES/gnome-menus.mo
+share/locale/de/LC_MESSAGES/gnome-menus.mo
+share/locale/dv/LC_MESSAGES/gnome-menus.mo
+share/locale/dz/LC_MESSAGES/gnome-menus.mo
+share/locale/el/LC_MESSAGES/gnome-menus.mo
+share/locale/en@shaw/LC_MESSAGES/gnome-menus.mo
+share/locale/en_CA/LC_MESSAGES/gnome-menus.mo
+share/locale/en_GB/LC_MESSAGES/gnome-menus.mo
+share/locale/eo/LC_MESSAGES/gnome-menus.mo
+share/locale/es/LC_MESSAGES/gnome-menus.mo
+share/locale/et/LC_MESSAGES/gnome-menus.mo
+share/locale/eu/LC_MESSAGES/gnome-menus.mo
+share/locale/fa/LC_MESSAGES/gnome-menus.mo
+share/locale/fi/LC_MESSAGES/gnome-menus.mo
+share/locale/fr/LC_MESSAGES/gnome-menus.mo
+share/locale/fur/LC_MESSAGES/gnome-menus.mo
+share/locale/fy/LC_MESSAGES/gnome-menus.mo
+share/locale/ga/LC_MESSAGES/gnome-menus.mo
+share/locale/gl/LC_MESSAGES/gnome-menus.mo
+share/locale/gn/LC_MESSAGES/gnome-menus.mo
+share/locale/gu/LC_MESSAGES/gnome-menus.mo
+share/locale/gv/LC_MESSAGES/gnome-menus.mo
+share/locale/ha/LC_MESSAGES/gnome-menus.mo
+share/locale/he/LC_MESSAGES/gnome-menus.mo
+share/locale/hi/LC_MESSAGES/gnome-menus.mo
+share/locale/hr/LC_MESSAGES/gnome-menus.mo
+share/locale/hu/LC_MESSAGES/gnome-menus.mo
+share/locale/hy/LC_MESSAGES/gnome-menus.mo
+share/locale/id/LC_MESSAGES/gnome-menus.mo
+share/locale/ig/LC_MESSAGES/gnome-menus.mo
+share/locale/io/LC_MESSAGES/gnome-menus.mo
+share/locale/is/LC_MESSAGES/gnome-menus.mo
+share/locale/it/LC_MESSAGES/gnome-menus.mo
+share/locale/ja/LC_MESSAGES/gnome-menus.mo
+share/locale/ka/LC_MESSAGES/gnome-menus.mo
+share/locale/kg/LC_MESSAGES/gnome-menus.mo
+share/locale/kk/LC_MESSAGES/gnome-menus.mo
+share/locale/kn/LC_MESSAGES/gnome-menus.mo
+share/locale/ko/LC_MESSAGES/gnome-menus.mo
+share/locale/ku/LC_MESSAGES/gnome-menus.mo
+share/locale/ky/LC_MESSAGES/gnome-menus.mo
+share/locale/lt/LC_MESSAGES/gnome-menus.mo
+share/locale/lv/LC_MESSAGES/gnome-menus.mo
+share/locale/mai/LC_MESSAGES/gnome-menus.mo
+share/locale/mg/LC_MESSAGES/gnome-menus.mo
+share/locale/mk/LC_MESSAGES/gnome-menus.mo
+share/locale/ml/LC_MESSAGES/gnome-menus.mo
+share/locale/mn/LC_MESSAGES/gnome-menus.mo
+share/locale/mr/LC_MESSAGES/gnome-menus.mo
+share/locale/ms/LC_MESSAGES/gnome-menus.mo
+share/locale/nb/LC_MESSAGES/gnome-menus.mo
+share/locale/nds/LC_MESSAGES/gnome-menus.mo
+share/locale/ne/LC_MESSAGES/gnome-menus.mo
+share/locale/nl/LC_MESSAGES/gnome-menus.mo
+share/locale/nn/LC_MESSAGES/gnome-menus.mo
+share/locale/oc/LC_MESSAGES/gnome-menus.mo
+share/locale/or/LC_MESSAGES/gnome-menus.mo
+share/locale/pa/LC_MESSAGES/gnome-menus.mo
+share/locale/pl/LC_MESSAGES/gnome-menus.mo
+share/locale/ps/LC_MESSAGES/gnome-menus.mo
+share/locale/pt/LC_MESSAGES/gnome-menus.mo
+share/locale/pt_BR/LC_MESSAGES/gnome-menus.mo
+share/locale/ro/LC_MESSAGES/gnome-menus.mo
+share/locale/ru/LC_MESSAGES/gnome-menus.mo
+share/locale/rw/LC_MESSAGES/gnome-menus.mo
+share/locale/si/LC_MESSAGES/gnome-menus.mo
+share/locale/sk/LC_MESSAGES/gnome-menus.mo
+share/locale/sl/LC_MESSAGES/gnome-menus.mo
+share/locale/sq/LC_MESSAGES/gnome-menus.mo
+share/locale/sr/LC_MESSAGES/gnome-menus.mo
+share/locale/sr@latin/LC_MESSAGES/gnome-menus.mo
+share/locale/sv/LC_MESSAGES/gnome-menus.mo
+share/locale/ta/LC_MESSAGES/gnome-menus.mo
+share/locale/te/LC_MESSAGES/gnome-menus.mo
+share/locale/th/LC_MESSAGES/gnome-menus.mo
+share/locale/tr/LC_MESSAGES/gnome-menus.mo
+share/locale/ug/LC_MESSAGES/gnome-menus.mo
+share/locale/uk/LC_MESSAGES/gnome-menus.mo
+share/locale/uz@cyrillic/LC_MESSAGES/gnome-menus.mo
+share/locale/vi/LC_MESSAGES/gnome-menus.mo
+share/locale/xh/LC_MESSAGES/gnome-menus.mo
+share/locale/yo/LC_MESSAGES/gnome-menus.mo
+share/locale/zh_CN/LC_MESSAGES/gnome-menus.mo
+share/locale/zh_HK/LC_MESSAGES/gnome-menus.mo
+share/locale/zh_TW/LC_MESSAGES/gnome-menus.mo
diff --git a/gnome-menus/buildlink3.mk b/gnome-menus/buildlink3.mk
new file mode 100644
index 0000000..62234c0
--- /dev/null
+++ b/gnome-menus/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.21 2012/09/15 10:06:24 obache Exp $
+
+BUILDLINK_TREE+=	gnome-menus
+
+.if !defined(GNOME_MENUS_BUILDLINK3_MK)
+GNOME_MENUS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.gnome-menus+=		gnome-menus>=2.13.5
+BUILDLINK_ABI_DEPENDS.gnome-menus+=	gnome-menus>=2.30.5nb4
+BUILDLINK_PKGSRCDIR.gnome-menus?=	../../sysutils/gnome-menus
+
+.include "../../devel/glib2/buildlink3.mk"
+.endif # GNOME_MENUS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-gnome-menus
diff --git a/gnome-menus/distinfo b/gnome-menus/distinfo
new file mode 100644
index 0000000..0c80ca2
--- /dev/null
+++ b/gnome-menus/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.27 2015/11/04 01:32:15 agc Exp $
+
+SHA1 (gnome-menus-2.30.5.tar.bz2) = dcf7af8507d5678d6bb1bf705d2c4ac2238c6da5
+RMD160 (gnome-menus-2.30.5.tar.bz2) = f3fafb467a7d9aaf0168236dab46f8bf82f71c26
+SHA512 (gnome-menus-2.30.5.tar.bz2) = e2722f8fc11d99b58de601171e10f87efd64e8752c26d3e2126ff909a4c263cd8be4842d3592b1029396fecf832aa094630fec2e47ea711a363cd03de2980a22
+Size (gnome-menus-2.30.5.tar.bz2) = 471327 bytes
+SHA1 (patch-aa) = 84d53f03b1b45172e810f5bc66dd4b648c605bd2
+SHA1 (patch-ab) = b8e2e830b8bb0ddc65c9bfc0924d7da67e20a74f
diff --git a/gnome-menus/patches/patch-aa b/gnome-menus/patches/patch-aa
new file mode 100644
index 0000000..7da0ac9
--- /dev/null
+++ b/gnome-menus/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2009/10/22 17:19:08 drochner Exp $
+
+--- configure.orig	2009-10-22 00:35:25.000000000 +0200
++++ configure
+@@ -15492,7 +15492,7 @@ $as_echo_n "checking for python librarie
+ 
+ link_pymodules_libpython=false;
+ py_enable_shared=`$PYTHON -c "from distutils.sysconfig import get_config_var; print repr(get_config_var('Py_ENABLE_SHARED'))"`
+-if test $py_enable_shared == 1 ; then
++if test $py_enable_shared = 1 ; then
+   if test x`uname -s` != xDarwin; then
+       PYTHON_LDFLAGS="-no-undefined"
+       link_pymodules_libpython=true;
diff --git a/gnome-menus/patches/patch-ab b/gnome-menus/patches/patch-ab
new file mode 100644
index 0000000..3d23d17
--- /dev/null
+++ b/gnome-menus/patches/patch-ab
@@ -0,0 +1,23 @@
+$NetBSD: patch-ab,v 1.2 2010/11/24 20:22:49 drochner Exp $
+
+--- python/Makefile.in.orig	2010-09-27 10:57:48.000000000 +0000
++++ python/Makefile.in
+@@ -72,8 +72,7 @@ am__base_list = \
+ am__installdirs = "$(DESTDIR)$(gmenudir)"
+ LTLIBRARIES = $(gmenu_LTLIBRARIES)
+ am__DEPENDENCIES_1 =
+-gmenu_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+-	$(top_builddir)/libmenu/libgnome-menu.la
++gmenu_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+ am_gmenu_la_OBJECTS = gmenu.lo
+ gmenu_la_OBJECTS = $(am_gmenu_la_OBJECTS)
+ AM_V_lt = $(am__v_lt_$(V))
+@@ -298,7 +297,7 @@ gmenudir = $(pyexecdir)
+ gmenu_LTLIBRARIES = gmenu.la
+ gmenu_la_SOURCES = gmenu.c
+ gmenu_la_LDFLAGS = -module -avoid-version -fPIC -export-symbols-regex initgmenu
+-gmenu_la_LIBADD = $(GLIB_LIBS) $(PYTHON_LIBS) $(top_builddir)/libmenu/libgnome-menu.la
++gmenu_la_LIBADD = $(GLIB_LIBS) $(PYTHON_LIBS) $(prefix)/lib/libgnome-menu.la
+ all: all-am
+ 
+ .SUFFIXES:
diff --git a/gnome-panel/patches/patch-ab b/gnome-panel/patches/patch-ab
deleted file mode 100644
index 99c1c8c..0000000
--- a/gnome-panel/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.8 2009/10/22 17:29:42 drochner Exp $
-
---- applets/clock/calendar-client.c.orig	2009-10-22 00:29:21.000000000 +0200
-+++ applets/clock/calendar-client.c
-@@ -2123,7 +2123,7 @@ calendar_client_set_task_completed (Cale
-     {
-       struct icaltimetype  completed_time;
- 
--      completed_time = icaltime_current_time_with_zone (client->priv->zone);
-+      completed_time = icaltime_current_time_with_zone (icaltimezone_get_utc_timezone ());
-       if (!prop)
- 	{
- 	  icalcomponent_add_property (ical,
diff --git a/gnome-panel/patches/patch-ad b/gnome-panel/patches/patch-ad
deleted file mode 100644
index 4ca7131..0000000
--- a/gnome-panel/patches/patch-ad
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ad,v 1.5 2008/05/31 12:21:15 drochner Exp $
-
---- applets/clock/clock.c.orig	2008-05-31 14:09:38.000000000 +0200
-+++ applets/clock/clock.c
-@@ -64,6 +64,10 @@
- #include "set-timezone.h"
- #include "system-timezone.h"
- 
-+#if defined(__FreeBSD__) || defined(__DragonFly__)
-+#define daylight 1
-+#endif
-+
- #define INTERNETSECOND (864)
- #define INTERNETBEAT   (86400)
- 
diff --git a/gnome-panel/patches/patch-ae b/gnome-panel/patches/patch-ae
deleted file mode 100644
index c1eb5a8..0000000
--- a/gnome-panel/patches/patch-ae
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ae,v 1.5 2008/05/31 12:21:15 drochner Exp $
-
---- applets/clock/clock-location.c.orig	2008-05-31 14:10:48.000000000 +0200
-+++ applets/clock/clock-location.c
-@@ -27,6 +27,10 @@
- #include "set-timezone.h"
- #include "system-timezone.h"
- 
-+#if defined(__FreeBSD__) || defined(__DragonFly__)
-+#define daylight 1
-+#endif
-+
- G_DEFINE_TYPE (ClockLocation, clock_location, G_TYPE_OBJECT)
- 
- typedef struct {
diff --git a/gnome-panel/patches/patch-af b/gnome-panel/patches/patch-af
deleted file mode 100644
index 69c5a2a..0000000
--- a/gnome-panel/patches/patch-af
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-af,v 1.8 2010/11/24 20:26:21 drochner Exp $
-
---- po/it.po.orig	2010-09-07 22:46:05.000000000 +0000
-+++ po/it.po
-@@ -53,7 +53,7 @@ msgstr "%l.%M %p"
- #: ../applets/clock/clock.c:1591 ../applets/clock/clock-location-tile.c:480
- #: ../applets/clock/clock-location-tile.c:527
- msgid "%H:%M"
--msgstr "%-H.%M"
-+msgstr "%H.%M"
- 
- #. Translators: This is a strftime format string.
- #. * It is used to display the start date of an appointment, in
-@@ -115,7 +115,7 @@ msgstr "%l.%M.%S %p"
- #. * format (eg, like in France: 20:10).
- #: ../applets/clock/clock.c:449 ../applets/clock/clock.c:1585
- msgid "%H:%M:%S"
--msgstr "%-H.%M.%S"
-+msgstr "%H.%M.%S"
- 
- #. Translators: This is a strftime format string.
- #. * It is used to display the date. Replace %e with %d if, when
-@@ -706,7 +706,7 @@ msgstr "%l.%M <small>%p (%A)</small>"
- #. * (the %A expands to the weekday).
- #: ../applets/clock/clock-location-tile.c:465
- msgid "%H:%M <small>(%A)</small>"
--msgstr "%-H.%M <small>(%A)</small>"
-+msgstr "%H.%M <small>(%A)</small>"
- 
- #. Translators: This is a strftime format string.
- #. * It is used to display the time in 12-hours format
diff --git a/gnome-panel/patches/patch-libpanel-applet_panel-applet-factory.c b/gnome-panel/patches/patch-libpanel-applet_panel-applet-factory.c
deleted file mode 100644
index fe65285..0000000
--- a/gnome-panel/patches/patch-libpanel-applet_panel-applet-factory.c
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-libpanel-applet_panel-applet-factory.c,v 1.1 2014/12/16 10:46:32 prlw1 Exp $
-
-Help prevent race condition at session start.
-https://mail.gnome.org/archives/commits-list/2012-May/msg05607.html
-
---- libpanel-applet/panel-applet-factory.c.orig	2010-06-22 23:00:28.000000000 +0000
-+++ libpanel-applet/panel-applet-factory.c
-@@ -210,7 +210,7 @@ static const GDBusInterfaceVTable interf
- static GDBusNodeInfo *introspection_data = NULL;
- 
- static void
--on_name_acquired (GDBusConnection    *connection,
-+on_bus_acquired (GDBusConnection    *connection,
- 		  const gchar        *name,
- 		  PanelAppletFactory *factory)
- {
-@@ -251,8 +251,8 @@ panel_applet_factory_register_service (P
- 	g_bus_own_name (G_BUS_TYPE_SESSION,
- 			service_name,
- 			G_BUS_NAME_OWNER_FLAGS_NONE,
-+			(GBusNameAcquiredCallback) on_bus_acquired,
- 			NULL,
--			(GBusNameAcquiredCallback) on_name_acquired,
- 			(GBusNameLostCallback) on_name_lost,
- 			factory, NULL);
- 	g_free (service_name);


Home | Main Index | Thread Index | Old Index