aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/xfce4-xkb-plugin/Makefile29
-rw-r--r--deskutils/xfce4-xkb-plugin/distinfo2
-rw-r--r--deskutils/xfce4-xkb-plugin/files/patch-configure21
-rw-r--r--deskutils/xfce4-xkb-plugin/pkg-descr12
-rw-r--r--deskutils/xfce4-xkb-plugin/pkg-plist81
6 files changed, 146 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index b47229015128..5d77706d5060 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -117,6 +117,7 @@
SUBDIR += xfce4-notes-plugin
SUBDIR += xfce4-taskbar-plugin
SUBDIR += xfce4-windowlist-plugin
+ SUBDIR += xfce4-xkb-plugin
SUBDIR += xmaddressbook
SUBDIR += xmdiary
SUBDIR += xopps
diff --git a/deskutils/xfce4-xkb-plugin/Makefile b/deskutils/xfce4-xkb-plugin/Makefile
new file mode 100644
index 000000000000..2b6bbe26f9d0
--- /dev/null
+++ b/deskutils/xfce4-xkb-plugin/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: xfce4-xkb-plugin
+# Date created: 2004-08-27
+# Whom: des
+#
+# $FreeBSD$
+#
+
+PORTNAME= xfce4-xkb-plugin
+PORTVERSION= 0.3.2
+CATEGORIES= deskutils xfce
+MASTER_SITES= http://download.berlios.de/xfce-goodies/
+DIST_SUBDIR= xfce4
+
+MAINTAINER= des@FreeBSD.org
+COMMENT= Keyboard layout switching plugin for XFce4
+
+BUILD_DEPENDS= xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel
+LIB_DEPENDS= xfce4util.1:${PORTSDIR}/x11/libxfce4util \
+ xfcegui4.1:${PORTSDIR}/x11-toolkits/libxfce4gui
+RUN_DEPENDS= xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel
+
+USE_GNOME= gtk20 libxml2
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+USE_INC_LIBTOOL_VER= 13
+INSTALLS_SHLIB= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+
+.include <bsd.port.mk>
diff --git a/deskutils/xfce4-xkb-plugin/distinfo b/deskutils/xfce4-xkb-plugin/distinfo
new file mode 100644
index 000000000000..d8a330a211c7
--- /dev/null
+++ b/deskutils/xfce4-xkb-plugin/distinfo
@@ -0,0 +1,2 @@
+MD5 (xfce4/xfce4-xkb-plugin-0.3.2.tar.gz) = b233819d685ab3b7f4a47c2da9fb6936
+SIZE (xfce4/xfce4-xkb-plugin-0.3.2.tar.gz) = 334136
diff --git a/deskutils/xfce4-xkb-plugin/files/patch-configure b/deskutils/xfce4-xkb-plugin/files/patch-configure
new file mode 100644
index 000000000000..770b52bc1266
--- /dev/null
+++ b/deskutils/xfce4-xkb-plugin/files/patch-configure
@@ -0,0 +1,21 @@
+--- configure.orig Wed Jun 30 13:20:06 2004
++++ configure Mon Aug 23 10:23:00 2004
+@@ -20265,7 +20265,8 @@
+
+
+ # This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++LIBTOOL_DEPS="--disable-ltlibs /usr/local/share/libtool13/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
+@@ -20565,7 +20566,7 @@
+
+ echo "$as_me:$LINENO: checking where to install panel plugins" >&5
+ echo $ECHO_N "checking where to install panel plugins... $ECHO_C" >&6
+- XFCE4_PANEL_PLUGINSDIR=`$PKG_CONFIG --variable=pluginsdir xfce4-panel-1.0`
++ XFCE4_PANEL_PLUGINSDIR=${prefix}/lib/xfce4/panel-plugins
+
+ echo "$as_me:$LINENO: result: $XFCE4_PANEL_PLUGINSDIR" >&5
+ echo "${ECHO_T}$XFCE4_PANEL_PLUGINSDIR" >&6
diff --git a/deskutils/xfce4-xkb-plugin/pkg-descr b/deskutils/xfce4-xkb-plugin/pkg-descr
new file mode 100644
index 000000000000..9b7a77210aad
--- /dev/null
+++ b/deskutils/xfce4-xkb-plugin/pkg-descr
@@ -0,0 +1,12 @@
+This plugin displays the current keyboard layout, and refreshes when
+layout changes. Also the layout can be switched by simply clicking on
+the plugin. The new version can display the layout as text label and
+also as an image of the corresponding country's flag. If the flag
+image is unavailable then the plugin falls back to displaying text
+label for that layout.
+
+This plugin is used along with the XKB extension. For now the keyboard
+layouts cannot be configured from the plugin itself, they should be
+set in the XF86Config file or some other way (e.g. setxkbmap).
+
+WWW: http://xfce-goodies.berlios.de/
diff --git a/deskutils/xfce4-xkb-plugin/pkg-plist b/deskutils/xfce4-xkb-plugin/pkg-plist
new file mode 100644
index 000000000000..787c9c821a6c
--- /dev/null
+++ b/deskutils/xfce4-xkb-plugin/pkg-plist
@@ -0,0 +1,81 @@
+lib/xfce4/panel-plugins/libxkb.so
+share/xfce4/xkb/flags/ae.png
+share/xfce4/xkb/flags/am.png
+share/xfce4/xkb/flags/ar.png
+share/xfce4/xkb/flags/at.png
+share/xfce4/xkb/flags/az.png
+share/xfce4/xkb/flags/be.png
+share/xfce4/xkb/flags/bg.png
+share/xfce4/xkb/flags/bh.png
+share/xfce4/xkb/flags/br.png
+share/xfce4/xkb/flags/by.png
+share/xfce4/xkb/flags/ca.png
+share/xfce4/xkb/flags/ch.png
+share/xfce4/xkb/flags/cu.png
+share/xfce4/xkb/flags/cz.png
+share/xfce4/xkb/flags/de.png
+share/xfce4/xkb/flags/dj.png
+share/xfce4/xkb/flags/dk.png
+share/xfce4/xkb/flags/dz.png
+share/xfce4/xkb/flags/ee.png
+share/xfce4/xkb/flags/eg.png
+share/xfce4/xkb/flags/es.png
+share/xfce4/xkb/flags/eu.png
+share/xfce4/xkb/flags/fi.png
+share/xfce4/xkb/flags/fr.png
+share/xfce4/xkb/flags/ge.png
+share/xfce4/xkb/flags/gr.png
+share/xfce4/xkb/flags/hr.png
+share/xfce4/xkb/flags/hu.png
+share/xfce4/xkb/flags/il.png
+share/xfce4/xkb/flags/iq.png
+share/xfce4/xkb/flags/is.png
+share/xfce4/xkb/flags/it.png
+share/xfce4/xkb/flags/jo.png
+share/xfce4/xkb/flags/jp.png
+share/xfce4/xkb/flags/km.png
+share/xfce4/xkb/flags/kr.png
+share/xfce4/xkb/flags/kw.png
+share/xfce4/xkb/flags/la.png
+share/xfce4/xkb/flags/lb.png
+share/xfce4/xkb/flags/lt.png
+share/xfce4/xkb/flags/ly.png
+share/xfce4/xkb/flags/ma.png
+share/xfce4/xkb/flags/mk.png
+share/xfce4/xkb/flags/mn.png
+share/xfce4/xkb/flags/mx.png
+share/xfce4/xkb/flags/nl.png
+share/xfce4/xkb/flags/no.png
+share/xfce4/xkb/flags/om.png
+share/xfce4/xkb/flags/pl.png
+share/xfce4/xkb/flags/ps.png
+share/xfce4/xkb/flags/pt.png
+share/xfce4/xkb/flags/qa.png
+share/xfce4/xkb/flags/qc.png
+share/xfce4/xkb/flags/ro.png
+share/xfce4/xkb/flags/ru.png
+share/xfce4/xkb/flags/sa.png
+share/xfce4/xkb/flags/sd.png
+share/xfce4/xkb/flags/se.png
+share/xfce4/xkb/flags/si.png
+share/xfce4/xkb/flags/sk.png
+share/xfce4/xkb/flags/so.png
+share/xfce4/xkb/flags/sr.png
+share/xfce4/xkb/flags/sy.png
+share/xfce4/xkb/flags/th.png
+share/xfce4/xkb/flags/tn.png
+share/xfce4/xkb/flags/tr.png
+share/xfce4/xkb/flags/ua.png
+share/xfce4/xkb/flags/uk.png
+share/xfce4/xkb/flags/un.png
+share/xfce4/xkb/flags/us.png
+share/xfce4/xkb/flags/uy.png
+share/xfce4/xkb/flags/vn.png
+share/xfce4/xkb/flags/ye.png
+share/xfce4/xkb/flags/yu.png
+@dirrm share/xfce4/xkb/flags
+@dirrm share/xfce4/xkb
+@dirrm share/xfce4
+@unexec rmdir %D/share/xfce4 2>/dev/null || true
+@unexec rmdir %D/lib/xfce4/panel-plugins 2>/dev/null || true
+@unexec rmdir %D/lib/xfce4 2>/dev/null || true