Import garcon 0.1.5

This is garcon, a freedesktop.org compliant menu implementation based
on GLib and GIO. It was started as a complete rewrite of the former
Xfce menu library called libxfce4menu, which, in contrast to garcon,
was lacking menu merging features essential for loading menus modified
with menu editors.

Installs the xfce-applications.menu file which was previously in
xfdesktop, hence @conflict with xfdesktop-<4.7.0.
This commit is contained in:
landry 2011-01-18 19:55:53 +00:00
parent bed9e5d2bb
commit 9851becb3f
6 changed files with 205 additions and 0 deletions

30
x11/xfce4/garcon/Makefile Normal file
View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/01/18 19:55:53 landry Exp $
COMMENT = Xfce4 freedesktop.org compliant menu implementation
XFCE_PROJECT = garcon
XFCE_VERSION = 0.1.5
SHARED_LIBS += garcon-1 0.0
HOMEPAGE= http://www.xfce.org/projects/libraries/
MASTER_SITES ?= http://archive.xfce.org/src/libs/${XFCE_PROJECT:L}/${XFCE_BRANCH}/
# LGPLv2
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
MODULES = x11/xfce4
LIB_DEPENDS = devel/glib2
WANTLIB = gio-2.0 gmodule-2.0 glib-2.0 gobject-2.0 gthread-2.0 pcre z
BUILD_DEPENDS = x11/gtk+2
# regress tests needs the menu file provided by xfce-utils
REGRESS_DEPENDS = x11/xfce4/xfce-utils
FAKE_FLAGS = menudir=${PREFIX}/share/examples/garcon
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (xfce4/garcon-0.1.5.tar.bz2) = xP1CCCtK4VeqTHq7bWVwqg==
RMD160 (xfce4/garcon-0.1.5.tar.bz2) = 2T/stSHlQmIDDpU/dVB2U4/tE8s=
SHA1 (xfce4/garcon-0.1.5.tar.bz2) = ZgoqWVUBaB7VAtMmmj0/TX2sALs=
SHA256 (xfce4/garcon-0.1.5.tar.bz2) = f7qVcF0lJVt/OZNkA4hWKgvrrgr92VN/jOZiOiOzQPU=
SIZE (xfce4/garcon-0.1.5.tar.bz2) = 428938

View File

@ -0,0 +1,23 @@
$OpenBSD: patch-configure,v 1.1.1.1 2011/01/18 19:55:53 landry Exp $
--- configure.orig Sun Jan 16 14:35:59 2011
+++ configure Sun Jan 16 16:05:28 2011
@@ -14423,19 +14423,6 @@ $as_echo "$enable_debug" >&6; }
fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts --as-needed" >&5
-$as_echo_n "checking whether $LD accepts --as-needed... " >&6; }
-case `$LD --as-needed -v 2>&1 </dev/null` in
-*GNU* | *'with BFD'*)
- LDFLAGS="$LDFLAGS -Wl,--as-needed"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- ;;
-*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- ;;
-esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $LD accepts -O1" >&5
$as_echo_n "checking whether $LD accepts -O1... " >&6; }
case `$LD -O1 -v 2>&1 </dev/null` in

View File

@ -0,0 +1,5 @@
This is garcon, a freedesktop.org compliant menu implementation based
on GLib and GIO. It was started as a complete rewrite of the former
Xfce menu library called libxfce4menu, which, in contrast to garcon,
was lacking menu merging features essential for loading menus modified
with menu editors.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2011/01/18 19:55:53 landry Exp $
@lib lib/libgarcon-1.so.${LIBgarcon-1_VERSION}

140
x11/xfce4/garcon/pkg/PLIST Normal file
View File

@ -0,0 +1,140 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/01/18 19:55:53 landry Exp $
@conflict xfdesktop-<=4.7.0
%%SHARED%%
include/garcon-1/
include/garcon-1/garcon/
include/garcon-1/garcon/garcon-config.h
include/garcon-1/garcon/garcon-environment.h
include/garcon-1/garcon/garcon-marshal.h
include/garcon-1/garcon/garcon-menu-directory.h
include/garcon-1/garcon/garcon-menu-element.h
include/garcon-1/garcon/garcon-menu-item-cache.h
include/garcon-1/garcon/garcon-menu-item-pool.h
include/garcon-1/garcon/garcon-menu-item.h
include/garcon-1/garcon/garcon-menu-merger.h
include/garcon-1/garcon/garcon-menu-node.h
include/garcon-1/garcon/garcon-menu-parser.h
include/garcon-1/garcon/garcon-menu-separator.h
include/garcon-1/garcon/garcon-menu-tree-provider.h
include/garcon-1/garcon/garcon-menu.h
include/garcon-1/garcon/garcon.h
lib/libgarcon-1.a
lib/libgarcon-1.la
lib/pkgconfig/
lib/pkgconfig/garcon-1.pc
share/desktop-directories/
share/desktop-directories/xfce-accessories.directory
share/desktop-directories/xfce-development.directory
share/desktop-directories/xfce-education.directory
share/desktop-directories/xfce-games.directory
share/desktop-directories/xfce-graphics.directory
share/desktop-directories/xfce-multimedia.directory
share/desktop-directories/xfce-network.directory
share/desktop-directories/xfce-office.directory
share/desktop-directories/xfce-other.directory
share/desktop-directories/xfce-science.directory
share/desktop-directories/xfce-screensavers.directory
share/desktop-directories/xfce-settings.directory
share/desktop-directories/xfce-system.directory
share/examples/garcon/
@sample ${SYSCONFDIR}/xdg/
@sample ${SYSCONFDIR}/xdg/menus/
share/examples/garcon/xfce-applications.menu
@sample ${SYSCONFDIR}/xdg/menus/xfce-applications.menu
share/gtk-doc/
share/gtk-doc/html/
share/gtk-doc/html/garcon/
share/gtk-doc/html/garcon/GarconMenu.html
share/gtk-doc/html/garcon/GarconMenuDirectory.html
share/gtk-doc/html/garcon/GarconMenuElement.html
share/gtk-doc/html/garcon/GarconMenuItem.html
share/gtk-doc/html/garcon/GarconMenuItemCache.html
share/gtk-doc/html/garcon/GarconMenuMerger.html
share/gtk-doc/html/garcon/GarconMenuParser.html
share/gtk-doc/html/garcon/GarconMenuSeparator.html
share/gtk-doc/html/garcon/GarconMenuTreeProvider.html
share/gtk-doc/html/garcon/api-index-full.html
share/gtk-doc/html/garcon/garcon-Desktop-Environment-Configuration.html
share/gtk-doc/html/garcon/garcon-Version-Information.html
share/gtk-doc/html/garcon/garcon-garcon-menu-item-pool.html
share/gtk-doc/html/garcon/garcon-garcon-menu-node.html
share/gtk-doc/html/garcon/garcon-garcon.html
share/gtk-doc/html/garcon/garcon-menus.html
share/gtk-doc/html/garcon/garcon-miscellaneous.html
share/gtk-doc/html/garcon/garcon-parsing.html
share/gtk-doc/html/garcon/garcon.devhelp
share/gtk-doc/html/garcon/garcon.devhelp2
share/gtk-doc/html/garcon/home.png
share/gtk-doc/html/garcon/index.html
share/gtk-doc/html/garcon/index.sgml
share/gtk-doc/html/garcon/left.png
share/gtk-doc/html/garcon/object-tree.html
share/gtk-doc/html/garcon/pt01.html
share/gtk-doc/html/garcon/right.png
share/gtk-doc/html/garcon/style.css
share/gtk-doc/html/garcon/up.png
share/locale/ar/
share/locale/ar/LC_MESSAGES/
share/locale/ar/LC_MESSAGES/garcon.mo
share/locale/bn/
share/locale/bn/LC_MESSAGES/
share/locale/bn/LC_MESSAGES/garcon.mo
share/locale/ca/LC_MESSAGES/garcon.mo
share/locale/cs/LC_MESSAGES/garcon.mo
share/locale/da/LC_MESSAGES/garcon.mo
share/locale/de/LC_MESSAGES/garcon.mo
share/locale/el/LC_MESSAGES/garcon.mo
share/locale/en_GB/
share/locale/en_GB/LC_MESSAGES/
share/locale/en_GB/LC_MESSAGES/garcon.mo
share/locale/es/LC_MESSAGES/garcon.mo
share/locale/eu/LC_MESSAGES/garcon.mo
share/locale/fi/LC_MESSAGES/garcon.mo
share/locale/fr/LC_MESSAGES/garcon.mo
share/locale/gl/LC_MESSAGES/garcon.mo
share/locale/he/LC_MESSAGES/garcon.mo
share/locale/hr/LC_MESSAGES/garcon.mo
share/locale/hu/LC_MESSAGES/garcon.mo
share/locale/id/LC_MESSAGES/garcon.mo
share/locale/it/LC_MESSAGES/garcon.mo
share/locale/ja/LC_MESSAGES/garcon.mo
share/locale/kk/
share/locale/kk/LC_MESSAGES/
share/locale/kk/LC_MESSAGES/garcon.mo
share/locale/ku/
share/locale/ku/LC_MESSAGES/
share/locale/ku/LC_MESSAGES/garcon.mo
share/locale/lt/
share/locale/lt/LC_MESSAGES/
share/locale/lt/LC_MESSAGES/garcon.mo
share/locale/lv/LC_MESSAGES/garcon.mo
share/locale/nb/LC_MESSAGES/garcon.mo
share/locale/nb_NO/
share/locale/nb_NO/LC_MESSAGES/
share/locale/nb_NO/LC_MESSAGES/garcon.mo
share/locale/nl/LC_MESSAGES/garcon.mo
share/locale/pa/
share/locale/pa/LC_MESSAGES/
share/locale/pa/LC_MESSAGES/garcon.mo
share/locale/pl/LC_MESSAGES/garcon.mo
share/locale/pt/LC_MESSAGES/garcon.mo
share/locale/pt_BR/LC_MESSAGES/garcon.mo
share/locale/pt_PT/
share/locale/pt_PT/LC_MESSAGES/
share/locale/pt_PT/LC_MESSAGES/garcon.mo
share/locale/ro/LC_MESSAGES/garcon.mo
share/locale/ru/LC_MESSAGES/garcon.mo
share/locale/sq/
share/locale/sq/LC_MESSAGES/
share/locale/sq/LC_MESSAGES/garcon.mo
share/locale/sv/LC_MESSAGES/garcon.mo
share/locale/tr/LC_MESSAGES/garcon.mo
share/locale/ug/
share/locale/ug/LC_MESSAGES/
share/locale/ug/LC_MESSAGES/garcon.mo
share/locale/uk/LC_MESSAGES/garcon.mo
share/locale/ur/
share/locale/ur/LC_MESSAGES/
share/locale/ur/LC_MESSAGES/garcon.mo
share/locale/zh_CN/LC_MESSAGES/garcon.mo
share/locale/zh_TW/LC_MESSAGES/garcon.mo