diff options
-rw-r--r-- | deskutils/xfce4-xkb-plugin/Makefile | 34 | ||||
-rw-r--r-- | deskutils/xfce4-xkb-plugin/distinfo | 3 | ||||
-rw-r--r-- | deskutils/xfce4-xkb-plugin/files/patch-panel-plugin::xkb.c | 15 | ||||
-rw-r--r-- | deskutils/xfce4-xkb-plugin/pkg-descr | 12 | ||||
-rw-r--r-- | deskutils/xfce4-xkb-plugin/pkg-plist | 82 |
5 files changed, 146 insertions, 0 deletions
diff --git a/deskutils/xfce4-xkb-plugin/Makefile b/deskutils/xfce4-xkb-plugin/Makefile new file mode 100644 index 000000000..1abc1850c --- /dev/null +++ b/deskutils/xfce4-xkb-plugin/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: xfce4-xkb-plugin +# Date created: 2004-08-27 +# Whom: des +# +# $FreeBSD$ +# + +PORTNAME= xfce4-xkb-plugin +PORTVERSION= 0.3.3 +PORTREVISION= 1 +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.3:${PORTSDIR}/x11-toolkits/libxfce4gui +RUN_DEPENDS= xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel + +USE_GNOME= gtk20 libxml2 +GNU_CONFIGURE= yes +INSTALLS_SHLIB= yes +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= does not compile +.endif + +.include <bsd.port.post.mk> diff --git a/deskutils/xfce4-xkb-plugin/distinfo b/deskutils/xfce4-xkb-plugin/distinfo new file mode 100644 index 000000000..15ef30bd8 --- /dev/null +++ b/deskutils/xfce4-xkb-plugin/distinfo @@ -0,0 +1,3 @@ +MD5 (xfce4/xfce4-xkb-plugin-0.3.3.tar.gz) = a23baec787ee6666e15a3c243fc14ec4 +SHA256 (xfce4/xfce4-xkb-plugin-0.3.3.tar.gz) = 7412edc43b883ca70da88ecc36c2392402e568339566412dd0e10d06e133ae7e +SIZE (xfce4/xfce4-xkb-plugin-0.3.3.tar.gz) = 338116 diff --git a/deskutils/xfce4-xkb-plugin/files/patch-panel-plugin::xkb.c b/deskutils/xfce4-xkb-plugin/files/patch-panel-plugin::xkb.c new file mode 100644 index 000000000..7d72d7b17 --- /dev/null +++ b/deskutils/xfce4-xkb-plugin/files/patch-panel-plugin::xkb.c @@ -0,0 +1,15 @@ +--- panel-plugin/xkb.c.orig Wed Jun 30 11:46:49 2004 ++++ panel-plugin/xkb.c Sun Feb 6 12:51:04 2005 +@@ -264,12 +264,12 @@ + char *group; + + group = strdup(get_symbol_name_by_res_no(current_group_xkb_no)); ++ to_lower(group); + strcpy(filename, FLAGSDIR); + strcat(filename, "/"); + strcat(filename, group); + strcat(filename, ".png"); +- to_lower(filename); + + free(group); + diff --git a/deskutils/xfce4-xkb-plugin/pkg-descr b/deskutils/xfce4-xkb-plugin/pkg-descr new file mode 100644 index 000000000..9b7a77210 --- /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 000000000..cecce9621 --- /dev/null +++ b/deskutils/xfce4-xkb-plugin/pkg-plist @@ -0,0 +1,82 @@ +lib/xfce4/panel-plugins/libxkb.a +lib/xfce4/panel-plugins/libxkb.la +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/el.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/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 +@dirrmtry share/xfce4 +@dirrmtry lib/xfce4/panel-plugins +@dirrmtry lib/xfce4 |