summaryrefslogtreecommitdiff
path: root/x11/fast-user-switch-applet
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2006-04-01 22:12:55 +0000
committerjmmv <jmmv@pkgsrc.org>2006-04-01 22:12:55 +0000
commitd8f0b3801c7529870519964adaea258b169db376 (patch)
treea453fdfe7b81eff71674c4dee4948358bbc2509a /x11/fast-user-switch-applet
parent527fb2c315c5f1a1901afccf25480bf91549dd19 (diff)
downloadpkgsrc-d8f0b3801c7529870519964adaea258b169db376.tar.gz
Initial import of fast-user-switch-applet, version 2.14.0:
The Fast User-Switching Applet is an applet for the GNOME panel which provides a menu to switch between users. It integrates with GDM to switch between existing X11 sessions or create new ones as needed, and will show the same users as the GDM face browser. The applet can display itself in the panel using either the current user's name, the word "Users" or an icon, and can be configured to include an item which launches an X session in a window. The applet code is designed to allow for easy cut-and-paste of the system-interaction code into other applications, like screensavers.
Diffstat (limited to 'x11/fast-user-switch-applet')
-rw-r--r--x11/fast-user-switch-applet/DESCR10
-rw-r--r--x11/fast-user-switch-applet/Makefile48
-rw-r--r--x11/fast-user-switch-applet/PLIST92
-rw-r--r--x11/fast-user-switch-applet/distinfo6
-rw-r--r--x11/fast-user-switch-applet/patches/patch-aa56
5 files changed, 212 insertions, 0 deletions
diff --git a/x11/fast-user-switch-applet/DESCR b/x11/fast-user-switch-applet/DESCR
new file mode 100644
index 00000000000..42fed7582db
--- /dev/null
+++ b/x11/fast-user-switch-applet/DESCR
@@ -0,0 +1,10 @@
+The Fast User-Switching Applet is an applet for the GNOME panel which
+provides a menu to switch between users. It integrates with GDM to
+switch between existing X11 sessions or create new ones as needed,
+and will show the same users as the GDM face browser.
+
+The applet can display itself in the panel using either the current
+user's name, the word "Users" or an icon, and can be configured to
+include an item which launches an X session in a window. The applet
+code is designed to allow for easy cut-and-paste of the system-interaction
+code into other applications, like screensavers.
diff --git a/x11/fast-user-switch-applet/Makefile b/x11/fast-user-switch-applet/Makefile
new file mode 100644
index 00000000000..8b6d1b72caa
--- /dev/null
+++ b/x11/fast-user-switch-applet/Makefile
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/01 22:12:55 jmmv Exp $
+#
+
+DISTNAME= fast-user-switch-applet-2.14.0
+CATEGORIES= misc gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/fast-user-switch-applet/2.14/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= jmmv@NetBSD.org
+HOMEPAGE= http://ignore-your.tv/fusa/
+COMMENT= Switch between users from the GNOME Panel
+
+BUILD_USES_MSGFMT= yes
+
+DEPENDS+= gdm>=2.14.0:../../x11/gdm
+
+GNU_CONFIGURE= yes
+USE_DIRS+= xdg-1.1
+USE_LIBTOOL= yes
+USE_PKGLOCALEDIR= yes
+USE_TOOLS+= gmake pkg-config
+USE_X11= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+EVAL_PREFIX= PREFIX.gdm
+PREFIX.gdm_DEFAULT= ${LOCALBASE}
+CONFIGURE_ARGS+= --with-gdm-setup=${PREFIX.gdm}/sbin/gdmsetup
+
+.if defined(PKG_SYSCONFDIR.gdm)
+CONFIGURE_ARGS+= --with-gdm-config=${PKG_SYSCONFDIR.gdm}/custom.conf
+.else
+CONFIGURE_ARGS+= --with-gdm-config=${PKG_SYSCONFBASE}/gdm/custom.conf
+.endif
+
+GCONF2_SCHEMAS= fast-user-switch-applet.schemas
+
+.include "../../devel/GConf2/schemas.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/libbonobo/buildlink3.mk"
+.include "../../devel/libglade2/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
+.include "../../textproc/gnome-doc-utils/buildlink3.mk"
+.include "../../textproc/intltool/buildlink3.mk"
+.include "../../textproc/scrollkeeper/omf.mk"
+.include "../../x11/gnome-panel/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/fast-user-switch-applet/PLIST b/x11/fast-user-switch-applet/PLIST
new file mode 100644
index 00000000000..f085d08fd67
--- /dev/null
+++ b/x11/fast-user-switch-applet/PLIST
@@ -0,0 +1,92 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/01 22:12:55 jmmv Exp $
+lib/bonobo/servers/GNOME_FastUserSwitchApplet.server
+libexec/fast-user-switch-applet
+share/fast-user-switch-applet/ui.glade
+share/gconf/schemas/fast-user-switch-applet.schemas
+share/gnome-2.0/ui/GNOME_FastUserSwitchApplet.xml
+share/gnome/help/fast-user-switch-applet/C/fast-user-switch-applet.xml
+share/gnome/help/fast-user-switch-applet/C/figures/fast_user_switch_applet-context.png
+share/gnome/help/fast-user-switch-applet/C/figures/fast_user_switch_applet-icon.png
+share/gnome/help/fast-user-switch-applet/C/figures/fast_user_switch_applet-prefs.png
+share/gnome/help/fast-user-switch-applet/C/figures/fast_user_switch_applet-text.png
+share/gnome/help/fast-user-switch-applet/C/figures/fast_user_switch_applet-username.png
+share/gnome/help/fast-user-switch-applet/C/figures/fast_user_switch_applet.png
+share/gnome/help/fast-user-switch-applet/C/legal.xml
+share/gnome/help/fast-user-switch-applet/es/fast-user-switch-applet.xml
+share/gnome/help/fast-user-switch-applet/es/figures/fast_user_switch_applet-context.png
+share/gnome/help/fast-user-switch-applet/es/figures/fast_user_switch_applet-icon.png
+share/gnome/help/fast-user-switch-applet/es/figures/fast_user_switch_applet-prefs.png
+share/gnome/help/fast-user-switch-applet/es/figures/fast_user_switch_applet-text.png
+share/gnome/help/fast-user-switch-applet/es/figures/fast_user_switch_applet-username.png
+share/gnome/help/fast-user-switch-applet/es/figures/fast_user_switch_applet.png
+share/gnome/help/fast-user-switch-applet/pa/fast-user-switch-applet.xml
+share/gnome/help/fast-user-switch-applet/pa/figures/fast_user_switch_applet-context.png
+share/gnome/help/fast-user-switch-applet/pa/figures/fast_user_switch_applet-icon.png
+share/gnome/help/fast-user-switch-applet/pa/figures/fast_user_switch_applet-prefs.png
+share/gnome/help/fast-user-switch-applet/pa/figures/fast_user_switch_applet-text.png
+share/gnome/help/fast-user-switch-applet/pa/figures/fast_user_switch_applet-username.png
+share/gnome/help/fast-user-switch-applet/pa/figures/fast_user_switch_applet.png
+share/gnome/help/fast-user-switch-applet/sr/fast-user-switch-applet.xml
+share/gnome/help/fast-user-switch-applet/sr/figures/fast_user_switch_applet-context.png
+share/gnome/help/fast-user-switch-applet/sr/figures/fast_user_switch_applet-icon.png
+share/gnome/help/fast-user-switch-applet/sr/figures/fast_user_switch_applet-prefs.png
+share/gnome/help/fast-user-switch-applet/sr/figures/fast_user_switch_applet-text.png
+share/gnome/help/fast-user-switch-applet/sr/figures/fast_user_switch_applet-username.png
+share/gnome/help/fast-user-switch-applet/sr/figures/fast_user_switch_applet.png
+${PKGLOCALEDIR}/locale/bg/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/el/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/en_CA/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/en_GB/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/et/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/gu/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/he/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/hi/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/ka/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/lt/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/no/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/pa/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/sq/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/sr@Latn/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/th/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/vi/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/zh_HK/LC_MESSAGES/fast-user-switch-applet.mo
+${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/fast-user-switch-applet.mo
+share/omf/fast-user-switch-applet/fast-user-switch-applet-C.omf
+share/omf/fast-user-switch-applet/fast-user-switch-applet-es.omf
+share/omf/fast-user-switch-applet/fast-user-switch-applet-pa.omf
+share/omf/fast-user-switch-applet/fast-user-switch-applet-sr.omf
+@dirrm share/omf/fast-user-switch-applet
+@comment in scrollkeeper: @dirrm share/omf
+@dirrm share/gnome/help/fast-user-switch-applet/sr/figures
+@dirrm share/gnome/help/fast-user-switch-applet/sr
+@dirrm share/gnome/help/fast-user-switch-applet/pa/figures
+@dirrm share/gnome/help/fast-user-switch-applet/pa
+@dirrm share/gnome/help/fast-user-switch-applet/es/figures
+@dirrm share/gnome/help/fast-user-switch-applet/es
+@dirrm share/gnome/help/fast-user-switch-applet/C/figures
+@dirrm share/gnome/help/fast-user-switch-applet/C
+@dirrm share/gnome/help/fast-user-switch-applet
+@dirrm share/gnome/help
+@dirrm share/gnome-2.0/ui
+@comment in GConf2: @dirrm share/gconf/schemas
+@dirrm share/fast-user-switch-applet
+@comment in libbonobo: @dirrm lib/bonobo/servers
diff --git a/x11/fast-user-switch-applet/distinfo b/x11/fast-user-switch-applet/distinfo
new file mode 100644
index 00000000000..7ac5c5a369b
--- /dev/null
+++ b/x11/fast-user-switch-applet/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/04/01 22:12:55 jmmv Exp $
+
+SHA1 (fast-user-switch-applet-2.14.0.tar.bz2) = e67c70668f864d982756f8924be8c85ee58fb69f
+RMD160 (fast-user-switch-applet-2.14.0.tar.bz2) = 60d267d1312b33872a48b3761a19ba238f82480f
+Size (fast-user-switch-applet-2.14.0.tar.bz2) = 493986 bytes
+SHA1 (patch-aa) = 51418dea4556164afe6240eeb421965a27fa9378
diff --git a/x11/fast-user-switch-applet/patches/patch-aa b/x11/fast-user-switch-applet/patches/patch-aa
new file mode 100644
index 00000000000..e31f836ed3b
--- /dev/null
+++ b/x11/fast-user-switch-applet/patches/patch-aa
@@ -0,0 +1,56 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/04/01 22:12:55 jmmv Exp $
+
+--- configure.orig 2006-04-01 23:51:37.000000000 +0200
++++ configure
+@@ -22015,7 +22015,7 @@ if test "${with_users_admin+set}" = set;
+ users_admin_cmd="$withval"
+ fi;
+
+-if test "x$users_admin_cmd" == "x"; then
++if test "x$users_admin_cmd" = "x"; then
+ # Extract the first word of "users-admin", so it can be a program name with args.
+ set dummy users-admin; ac_word=$2
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
+@@ -22055,7 +22055,7 @@ else
+ echo "${ECHO_T}no" >&6
+ fi
+
+- if test "x$users_admin" == "x"; then
++ if test "x$users_admin" = "x"; then
+ users_admin_cmd="disabled"
+ else
+ users_admin_cmd="$users_admin"
+@@ -22095,7 +22095,7 @@ if test "${with_gdm_setup+set}" = set; t
+ gdm_setup_cmd="$withval"
+ fi;
+
+-if test "x$gdm_setup_cmd" == "x"; then
++if test "x$gdm_setup_cmd" = "x"; then
+ # Extract the first word of "gdmsetup", so it can be a program name with args.
+ set dummy gdmsetup; ac_word=$2
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
+@@ -22135,13 +22135,13 @@ else
+ echo "${ECHO_T}no" >&6
+ fi
+
+- if test "x$gdm_setup" == "x"; then
++ if test "x$gdm_setup" = "x"; then
+ gdm_setup_cmd="disabled"
+ else
+ gdm_setup_cmd="$gdm_setup"
+ fi
+ else
+- if test "x$gdm_setup_cmd" == "xno"; then
++ if test "x$gdm_setup_cmd" = "xno"; then
+ echo "$as_me:$LINENO: result: disabling login screen setup command" >&5
+ echo "${ECHO_T}disabling login screen setup command" >&6
+ gdm_setup=
+@@ -22175,7 +22175,7 @@ if test "${with_gdm_config+set}" = set;
+ gdmconfigfile="$withval"
+ fi;
+
+-if test "x$gdmconfigfile" == "x" -o "x$gdmconfigfile" == "xno"; then
++if test "x$gdmconfigfile" = "x" -o "x$gdmconfigfile" = "xno"; then
+ echo "$as_me:$LINENO: checking for GDM configuration file" >&5
+ echo $ECHO_N "checking for GDM configuration file... $ECHO_C" >&6
+