From b6bc978113483ffdf442283138db4cf20e86a3a9 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Mon, 1 Jul 2013 05:08:06 +0000 Subject: [PATCH] Import menu-cache-0.4.1. Libmenu-cache is a library creating and utilizing caches to speed up the manipulation for freedesktop.org defined application menus. It can be used as a replacement of libgnome-menu of gnome-menus. based on a submission from Amit Kulkarni ok jasper@ --- x11/menu-cache/Makefile | 34 +++++++++++++++++++ x11/menu-cache/distinfo | 2 ++ ...h-docs_reference_libmenu-cache_Makefile_in | 12 +++++++ x11/menu-cache/pkg/DESCR | 3 ++ x11/menu-cache/pkg/PLIST | 10 ++++++ 5 files changed, 61 insertions(+) create mode 100644 x11/menu-cache/Makefile create mode 100644 x11/menu-cache/distinfo create mode 100644 x11/menu-cache/patches/patch-docs_reference_libmenu-cache_Makefile_in create mode 100644 x11/menu-cache/pkg/DESCR create mode 100644 x11/menu-cache/pkg/PLIST diff --git a/x11/menu-cache/Makefile b/x11/menu-cache/Makefile new file mode 100644 index 00000000000..5e18a23609c --- /dev/null +++ b/x11/menu-cache/Makefile @@ -0,0 +1,34 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2013/07/01 05:08:06 ajacoutot Exp $ + +COMMENT= caching mechanism for freedesktop.org compliant menus + +DISTNAME= menu-cache-0.4.1 + +CATEGORIES= x11 + +HOMEPAGE= http://www.lxde.org/ + +SHARED_LIBS += menu-cache 0.0 # 2.0 + +# GPLv2 +PERMIT_PACKAGE_CDROM= Yes + +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lxde/} + +WANTLIB= c ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 pcre pthread z + +LIB_DEPENDS= devel/glib2 + +MODULES= devel/gettext + +CONFIGURE_STYLE=gnu +CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ + --disable-gtk-doc + +# If one of these tools is found at configure stage, it might be used, +# no matter whether we use --disable-gtk-doc or not. +CONFIGURE_ENV +=ac_cv_path_GTKDOC_CHECK="" \ + ac_cv_path_GTKDOC_REBASE="" \ + ac_cv_path_GTKDOC_MKPDF="" + +.include diff --git a/x11/menu-cache/distinfo b/x11/menu-cache/distinfo new file mode 100644 index 00000000000..97b34b7f9e8 --- /dev/null +++ b/x11/menu-cache/distinfo @@ -0,0 +1,2 @@ +SHA256 (menu-cache-0.4.1.tar.gz) = T6lAjjU/7bpbcxTL9rbNBthzoUJOKBqgUNiLucCgGR4= +SIZE (menu-cache-0.4.1.tar.gz) = 412859 diff --git a/x11/menu-cache/patches/patch-docs_reference_libmenu-cache_Makefile_in b/x11/menu-cache/patches/patch-docs_reference_libmenu-cache_Makefile_in new file mode 100644 index 00000000000..5e6d757a410 --- /dev/null +++ b/x11/menu-cache/patches/patch-docs_reference_libmenu-cache_Makefile_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-docs_reference_libmenu-cache_Makefile_in,v 1.1.1.1 2013/07/01 05:08:06 ajacoutot Exp $ +--- docs/reference/libmenu-cache/Makefile.in.orig Sun Jun 30 09:34:04 2013 ++++ docs/reference/libmenu-cache/Makefile.in Sun Jun 30 09:34:12 2013 +@@ -735,8 +735,6 @@ dist-hook: dist-check-gtkdoc dist-hook-local + .PHONY : dist-hook-local docs + #TESTS = $(GTKDOC_CHECK) + +--include $(top_srcdir)/git.mk +- + # 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/x11/menu-cache/pkg/DESCR b/x11/menu-cache/pkg/DESCR new file mode 100644 index 00000000000..8c4185c55a2 --- /dev/null +++ b/x11/menu-cache/pkg/DESCR @@ -0,0 +1,3 @@ +Libmenu-cache is a library creating and utilizing caches to speed up the +manipulation for freedesktop.org defined application menus. It can be +used as a replacement of libgnome-menu of gnome-menus. diff --git a/x11/menu-cache/pkg/PLIST b/x11/menu-cache/pkg/PLIST new file mode 100644 index 00000000000..d26adc9422e --- /dev/null +++ b/x11/menu-cache/pkg/PLIST @@ -0,0 +1,10 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2013/07/01 05:08:06 ajacoutot Exp $ +include/menu-cache/ +include/menu-cache/menu-cache.h +lib/libmenu-cache.a +lib/libmenu-cache.la +@lib lib/libmenu-cache.so.${LIBmenu-cache_VERSION} +lib/pkgconfig/ +lib/pkgconfig/libmenu-cache.pc +@bin libexec/menu-cache-gen +@bin libexec/menu-cached