openbsd-ports/x11/xfce4/libxfce4ui/Makefile
landry 3132b7d730 Replace <Control> by <Primary> in xfce4-keyboard-shortcuts.xml to fix
default keyboard shortcuts, broken since update to gtk 2.24.7. See
https://bugzilla.xfce.org/show_bug.cgi?id=8056 for more details.
Thanks Barry Grumbine for the detailed problem report, including the
fix/workaround.
If you experience problems with keyboard shortcuts involving Ctrl
withing Xfce, recreate them from xfce4-keyboard-settings or tweak
.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
2012-02-19 21:23:03 +00:00

46 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2012/02/19 21:23:03 landry Exp $
COMMENT= Xfce4 widget library
XFCE_PROJECT= libxfce4ui
XFCE_VERSION= 4.8.1
REVISION= 0
SHARED_LIBS= xfce4ui-1 0.0 \
xfce4kbd-private-2 0.0 # 0.0
HOMEPAGE= http://www.xfce.org/projects/libraries
# LGPLv2
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
# checking for optional package gladeui-1.0 >= 3.5.0... not found
MODULES= x11/xfce4
MODXFCE_ICON_CACHE= Yes
LIB_DEPENDS= x11/xfce4/xfconf>=4.8.0 \
x11/gtk+2 \
devel/startup-notification
CONFIGURE_ARGS+= --disable-linker-opts
WANTLIB += GL ICE SM X11 X11-xcb Xau Xcomposite Xcursor Xdamage
WANTLIB += Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender Xxf86vm
WANTLIB += atk-1.0 cairo dbus-1 dbus-glib-1 drm expat ffi fontconfig
WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png pthread-stubs
WANTLIB += startup-notification-1 xcb xcb-aux xcb-render xcb-shm
WANTLIB += xfce4util xfconf-0 z
FAKE_FLAGS= settingsdir=${PREFIX}/share/examples/xfconf
post-install:
perl -pi -e 's/Control/Primary/' ${PREFIX}/share/examples/xfconf/xfce4-keyboard-shortcuts.xml
.include <bsd.port.mk>