GDM is the Gnome Display Manager.
This commit is contained in:
parent
11d2d41420
commit
8385364268
46
x11/gnome/gdm/Makefile
Normal file
46
x11/gnome/gdm/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/10/08 15:57:01 marcm Exp $
|
||||
|
||||
|
||||
COMMENT= "GNOME display manager"
|
||||
|
||||
DISTNAME= gdm-2.4.4.3
|
||||
CATEGORIES= x11/gnome
|
||||
|
||||
HOMEPAGE= http://www.jirka.org/gdm.html
|
||||
|
||||
MAINTAINER= Marc Matteo <marcm@openbsd.org>
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gdm/2.4/}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \
|
||||
:scrollkeeper->=0.3.12:textproc/scrollkeeper
|
||||
RUN_DEPENDS= :scrollkeeper->=0.3.12:textproc/scrollkeeper
|
||||
LIB_DEPENDS= gnomeui-2::x11/gnome/libgnomeui \
|
||||
rsvg-2::x11/gnome/librsvg
|
||||
|
||||
CONFDIR= ${SYSCONFDIR}/X11
|
||||
USE_X11= Yes
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE= gnu old
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ARGS+= --sysconfdir="${CONFDIR}"
|
||||
CONFIGURE_ARGS+= --localstatedir=/var
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
SUBST_VARS= CONFDIR
|
||||
|
||||
post-patch:
|
||||
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
|
||||
|
||||
post-install:
|
||||
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gdm; \
|
||||
cp -Rp ${WRKINST}/${CONFDIR}/* ${PREFIX}/share/examples/gdm/
|
||||
|
||||
.include <bsd.port.mk>
|
3
x11/gnome/gdm/distinfo
Normal file
3
x11/gnome/gdm/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (gdm-2.4.4.3.tar.bz2) = e8ddb05a0e3c35943c0a87b51816609c
|
||||
RMD160 (gdm-2.4.4.3.tar.bz2) = 733c9cf3152aa0b4e8b166cf211e70f83dbc3b26
|
||||
SHA1 (gdm-2.4.4.3.tar.bz2) = cea46c5ef70c06c8103aa5ecbb56c7a1e8eb1bd6
|
20
x11/gnome/gdm/patches/patch-config_Makefile_in
Normal file
20
x11/gnome/gdm/patches/patch-config_Makefile_in
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-config_Makefile_in,v 1.1.1.1 2003/10/08 15:57:01 marcm Exp $
|
||||
--- config/Makefile.in.orig 2003-09-25 15:42:59.000000000 -0700
|
||||
+++ config/Makefile.in 2003-09-26 13:38:24.000000000 -0700
|
||||
@@ -166,7 +166,7 @@ localedir = $(sysconfdir)/gdm
|
||||
bisessdir = $(sysconfdir)/dm/Sessions
|
||||
instsessdir = $(datadir)/xsessions
|
||||
initdir = $(sysconfdir)/gdm/Init
|
||||
-authdir = $(localstatedir)/gdm
|
||||
+authdir = $(localstatedir)/db/gdm
|
||||
logdir = $(localstatedir)/log/gdm
|
||||
gnomercdir = $(sysconfdir)/gdm
|
||||
postdir = $(sysconfdir)/gdm/PostSession
|
||||
@@ -405,7 +405,6 @@ install-data-hook: gdm.conf Xsession gno
|
||||
|
||||
if test '!' -d $(DESTDIR)$(authdir); then \
|
||||
$(mkinstalldirs) $(DESTDIR)$(authdir); \
|
||||
- chown root.gdm $(DESTDIR)$(authdir); \
|
||||
chmod 1770 $(DESTDIR)$(authdir); \
|
||||
fi
|
||||
|
33
x11/gnome/gdm/patches/patch-config_Xsession_in
Normal file
33
x11/gnome/gdm/patches/patch-config_Xsession_in
Normal file
@ -0,0 +1,33 @@
|
||||
$OpenBSD: patch-config_Xsession_in,v 1.1.1.1 2003/10/08 15:57:01 marcm Exp $
|
||||
--- config/Xsession.in.orig 2003-08-18 10:31:08.000000000 -0700
|
||||
+++ config/Xsession.in 2003-08-20 21:04:36.000000000 -0700
|
||||
@@ -72,7 +72,7 @@ fi
|
||||
# works for ALL sessions (except ones named 'Failsafe')
|
||||
|
||||
# clean up after xbanner
|
||||
-freetemp=`which freetemp 2>/dev/null`
|
||||
+freetemp=`which freetemp >/dev/null`
|
||||
if [ -n "$freetemp" ] ; then
|
||||
$freetemp
|
||||
fi
|
||||
@@ -200,15 +200,16 @@ if [ "x$command" = "xdefault" ] ; then
|
||||
elif [ -x /etc/X11/Xclients ]; then
|
||||
command="/etc/X11/Xclients"
|
||||
else
|
||||
- echo "$0: Cannot find Xclients"
|
||||
- # FIXME: kind of an evil failsafe
|
||||
- command="xsm"
|
||||
+ # Load the OpenBSD default Xsession...
|
||||
+ command="/etc/X11/xdm/Xsession"
|
||||
+ # hack around running two agents
|
||||
+ NO_SSH=yes
|
||||
fi
|
||||
fi
|
||||
|
||||
# add ssh-agent if found
|
||||
sshagent=`which ssh-agent 2>/dev/null`
|
||||
-if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
|
||||
+if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ] && [ -z "$NO_SSH" ]; then
|
||||
command="$sshagent -- $command"
|
||||
elif [ -z "$sshagent" ] ; then
|
||||
echo "$0: ssh-agent not found!"
|
14
x11/gnome/gdm/patches/patch-config_gdm_conf_in
Normal file
14
x11/gnome/gdm/patches/patch-config_gdm_conf_in
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-config_gdm_conf_in,v 1.1.1.1 2003/10/08 15:57:01 marcm Exp $
|
||||
--- config/gdm.conf.in.orig 2003-08-20 10:40:45.000000000 -0700
|
||||
+++ config/gdm.conf.in 2003-08-20 21:04:36.000000000 -0700
|
||||
@@ -68,8 +68,8 @@ TimedLoginDelay=30
|
||||
# you should create these user and group. Anyone found running this as
|
||||
# someone too privilaged will get a kick in the ass. This should have
|
||||
# access to only the gdm directories and files.
|
||||
-User=gdm
|
||||
-Group=gdm
|
||||
+User=_x11
|
||||
+Group=_x11
|
||||
# To try to kill all clients started at greeter time or in the Init script.
|
||||
# doesn't always work, only if those clients have a window of their own
|
||||
#KillInitClients=true
|
12
x11/gnome/gdm/patches/patch-configure
Normal file
12
x11/gnome/gdm/patches/patch-configure
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2003/10/08 15:57:01 marcm Exp $
|
||||
--- configure.orig 2003-09-25 11:31:22.000000000 -0700
|
||||
+++ configure 2003-09-26 13:38:24.000000000 -0700
|
||||
@@ -25163,7 +25163,7 @@ cat >>confdefs.h <<_ACEOF
|
||||
_ACEOF
|
||||
|
||||
|
||||
-AUTHDIR_TMP="$localstatedir/gdm"
|
||||
+AUTHDIR_TMP="$localstatedir/db/gdm"
|
||||
EXPANDED_AUTHDIR=`eval echo $AUTHDIR_TMP`
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
12
x11/gnome/gdm/patches/patch-daemon_gdm-net_c
Normal file
12
x11/gnome/gdm/patches/patch-daemon_gdm-net_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-daemon_gdm-net_c,v 1.1.1.1 2003/10/08 15:57:01 marcm Exp $
|
||||
--- daemon/gdm-net.c.orig 2003-09-12 14:39:06.000000000 -0700
|
||||
+++ daemon/gdm-net.c 2003-09-23 10:04:39.000000000 -0700
|
||||
@@ -360,7 +360,7 @@ gdm_connection_open_fifo (const char *fi
|
||||
return NULL;
|
||||
}
|
||||
|
||||
- fd = open (fifo, O_RDWR); /* Open with write to avoid EOF */
|
||||
+ fd = open (fifo, O_NONBLOCK|O_RDONLY);
|
||||
|
||||
if G_UNLIKELY (fd < 0) {
|
||||
gdm_error (_("%s: Could not open FIFO"),
|
22
x11/gnome/gdm/patches/patch-daemon_slave_c
Normal file
22
x11/gnome/gdm/patches/patch-daemon_slave_c
Normal file
@ -0,0 +1,22 @@
|
||||
$OpenBSD: patch-daemon_slave_c,v 1.1.1.1 2003/10/08 15:57:01 marcm Exp $
|
||||
--- daemon/slave.c.orig 2003-09-25 11:20:26.000000000 -0700
|
||||
+++ daemon/slave.c 2003-09-26 13:38:25.000000000 -0700
|
||||
@@ -2495,7 +2495,7 @@ gdm_slave_greeter (void)
|
||||
|
||||
exec_command (EXPANDED_BINDIR "/gdmlogin", NULL);
|
||||
|
||||
- IGNORE_EINTR (execl (EXPANDED_BINDIR "/gdmlogin", EXPANDED_BINDIR "/gdmlogin", NULL));
|
||||
+ IGNORE_EINTR (execl (EXPANDED_BINDIR "/gdmlogin", EXPANDED_BINDIR "/gdmlogin", (void *)NULL));
|
||||
|
||||
gdm_error_box (d,
|
||||
GTK_MESSAGE_ERROR,
|
||||
@@ -3287,8 +3287,7 @@ session_child_run (struct passwd *pwent,
|
||||
if (setusercontext (NULL, pwent, pwent->pw_uid,
|
||||
LOGIN_SETLOGIN | LOGIN_SETPATH |
|
||||
LOGIN_SETPRIORITY | LOGIN_SETRESOURCES |
|
||||
- LOGIN_SETUMASK | LOGIN_SETUSER |
|
||||
- LOGIN_SETENV) < 0)
|
||||
+ LOGIN_SETUMASK | LOGIN_SETUSER) < 0)
|
||||
gdm_child_exit (DISPLAY_REMANAGE,
|
||||
_("%s: setusercontext() failed for %s. "
|
||||
"Aborting."), "gdm_slave_session_start",
|
12
x11/gnome/gdm/patches/patch-gui_gdmlogin_c
Normal file
12
x11/gnome/gdm/patches/patch-gui_gdmlogin_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-gui_gdmlogin_c,v 1.1.1.1 2003/10/08 15:57:01 marcm Exp $
|
||||
--- gui/gdmlogin.c.orig 2003-09-22 15:11:46.000000000 -0700
|
||||
+++ gui/gdmlogin.c 2003-09-23 10:04:39.000000000 -0700
|
||||
@@ -1813,7 +1813,7 @@ gdm_login_ctrl_handler (GIOChannel *sour
|
||||
|
||||
tmp = ve_locale_to_utf8 (buf);
|
||||
if (strcmp (tmp, _("Username:")) == 0) {
|
||||
- gdk_beep ();
|
||||
+ /*gdk_beep ();*/
|
||||
gtk_label_set_text_with_mnemonic (GTK_LABEL (label), _("_Username:"));
|
||||
} else {
|
||||
gtk_label_set_text (GTK_LABEL (label), tmp);
|
23
x11/gnome/gdm/patches/patch-gui_greeter_greeter_c
Normal file
23
x11/gnome/gdm/patches/patch-gui_greeter_greeter_c
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-gui_greeter_greeter_c,v 1.1.1.1 2003/10/08 15:57:01 marcm Exp $
|
||||
--- gui/greeter/greeter.c.orig 2003-09-19 14:44:12.000000000 -0700
|
||||
+++ gui/greeter/greeter.c 2003-09-23 10:04:39.000000000 -0700
|
||||
@@ -263,7 +263,7 @@ greeter_ctrl_handler (GIOChannel *source
|
||||
|
||||
tmp = ve_locale_to_utf8 (buf);
|
||||
if (tmp != NULL && strcmp (tmp, _("Username:")) == 0) {
|
||||
- gdk_beep ();
|
||||
+ /*gdk_beep ();*/
|
||||
greeter_probably_login_prompt = TRUE;
|
||||
} else {
|
||||
greeter_probably_login_prompt = FALSE;
|
||||
@@ -1355,8 +1355,8 @@ main (int argc, char *argv[])
|
||||
|
||||
gtk_dialog_run (GTK_DIALOG (dialog));
|
||||
|
||||
- execl (EXPANDED_BINDIR "/gdmlogin", EXPANDED_BINDIR "/gdmlogin", NULL);
|
||||
- execlp ("gdmlogin", "gdmlogin", NULL);
|
||||
+ execl (EXPANDED_BINDIR "/gdmlogin", EXPANDED_BINDIR "/gdmlogin", (void *)NULL);
|
||||
+ execlp ("gdmlogin", "gdmlogin", (void *)NULL);
|
||||
|
||||
dialog = ve_hig_dialog_new (NULL /* parent */,
|
||||
GTK_DIALOG_MODAL /* flags */,
|
72
x11/gnome/gdm/patches/patch-ltmain_sh
Normal file
72
x11/gnome/gdm/patches/patch-ltmain_sh
Normal file
@ -0,0 +1,72 @@
|
||||
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/10/08 15:57:01 marcm Exp $
|
||||
--- ltmain.sh.orig Tue Jun 24 11:39:01 2003
|
||||
+++ ltmain.sh Tue Jul 8 10:29:40 2003
|
||||
@@ -1290,6 +1290,17 @@ EOF
|
||||
continue
|
||||
;;
|
||||
|
||||
+ -pthread)
|
||||
+ case $host in
|
||||
+ *-*-openbsd*)
|
||||
+ deplibs="$deplibs $arg"
|
||||
+ ;;
|
||||
+ *)
|
||||
+ continue
|
||||
+ ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
+
|
||||
-module)
|
||||
module=yes
|
||||
continue
|
||||
@@ -1961,6 +1972,9 @@ EOF
|
||||
fi
|
||||
continue
|
||||
;;
|
||||
+ -pthread)
|
||||
+ continue
|
||||
+ ;;
|
||||
%DEPLIBS%)
|
||||
alldeplibs=yes
|
||||
continue
|
||||
@@ -5699,40 +5713,6 @@ relink_command=\"$relink_command\""
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = : && exit 0
|
||||
|
||||
- $echo "----------------------------------------------------------------------"
|
||||
- $echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- $echo " $libdir"
|
||||
- done
|
||||
- $echo
|
||||
- $echo "If you ever happen to want to link against installed libraries"
|
||||
- $echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
|
||||
- $echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- $echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- $echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- $echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- $echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- $echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- $echo
|
||||
- $echo "See any operating system documentation about shared libraries for"
|
||||
- $echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- $echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
12
x11/gnome/gdm/patches/patch-po_Makefile_in_in
Normal file
12
x11/gnome/gdm/patches/patch-po_Makefile_in_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-po_Makefile_in_in,v 1.1.1.1 2003/10/08 15:57:01 marcm Exp $
|
||||
--- po/Makefile.in.in.orig Thu May 15 20:55:11 2003
|
||||
+++ po/Makefile.in.in Thu May 15 20:54:23 2003
|
||||
@@ -28,7 +28,7 @@ prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
datadir = @datadir@
|
||||
libdir = @libdir@
|
||||
-localedir = $(libdir)/locale
|
||||
+localedir = $(datadir)/locale
|
||||
gnulocaledir = $(datadir)/locale
|
||||
gettextsrcdir = $(datadir)/glib-2.0/gettext/po
|
||||
subdir = po
|
64
x11/gnome/gdm/pkg/DEINSTALL
Normal file
64
x11/gnome/gdm/pkg/DEINSTALL
Normal file
@ -0,0 +1,64 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: DEINSTALL,v 1.1.1.1 2003/10/08 15:57:01 marcm Exp $
|
||||
#
|
||||
|
||||
set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
|
||||
FILES='
|
||||
dm/Sessions/default.desktop
|
||||
gdm/gdm.conf
|
||||
gdm/locale.alias
|
||||
gdm/modules/AccessDwellMouseEvents
|
||||
gdm/modules/AccessKeyMouseEvents
|
||||
gdm/Init/Default
|
||||
gdm/PostLogin/Default.sample
|
||||
gdm/PostSession/Default
|
||||
gdm/PreSession/Default
|
||||
gdm/XKeepsCrashing
|
||||
gdm/Xsession
|
||||
'
|
||||
|
||||
do_notice()
|
||||
{
|
||||
echo
|
||||
echo "+--------------- $1"
|
||||
echo "| To really remove $1 from your system you should also"
|
||||
echo "| remove the configuration files from the ${CONFDIR} directory."
|
||||
echo "| Remove the directories in which the files reside as well if empty."
|
||||
echo "|"
|
||||
echo "| If you are planning on installing $1 again in the"
|
||||
echo "| future you can leave it as it is."
|
||||
echo "|"
|
||||
echo "| FYI, the following configuration files belong to this package:"
|
||||
echo "|"
|
||||
for f in ${FILES}; do
|
||||
echo "| ${CONFDIR}/$f"
|
||||
done
|
||||
echo "+--------------- $1"
|
||||
echo
|
||||
}
|
||||
|
||||
# Verify proper execution
|
||||
#
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "usage: $0 distname DEINSTALL" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Verify/process the command
|
||||
#
|
||||
case $2 in
|
||||
DEINSTALL)
|
||||
if [ "$PKG_DELETE_EXTRA" != Yes ]; then
|
||||
do_notice "$1"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname DEINSTALL" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
6
x11/gnome/gdm/pkg/DESCR
Normal file
6
x11/gnome/gdm/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
Gdm (the GNOME Display Manager) is a highly configurable
|
||||
reimplementation of xdm, the X Display Manager. Gdm allows you to log
|
||||
into your system with the X Window System running and supports running
|
||||
several different X sessions on your local machine at the same time.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
141
x11/gnome/gdm/pkg/INSTALL
Normal file
141
x11/gnome/gdm/pkg/INSTALL
Normal file
@ -0,0 +1,141 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: INSTALL,v 1.1.1.1 2003/10/08 15:57:01 marcm Exp $
|
||||
|
||||
P_NAME=gdm
|
||||
|
||||
DIRS='
|
||||
dm/Sessions
|
||||
gdm/Init
|
||||
gdm/PostLogin
|
||||
gdm/PostSession
|
||||
gdm/PreSession
|
||||
gdm/modules
|
||||
'
|
||||
|
||||
FILES='
|
||||
dm/Sessions/default.desktop
|
||||
gdm/gdm.conf
|
||||
gdm/locale.alias
|
||||
gdm/modules/AccessDwellMouseEvents
|
||||
gdm/modules/AccessKeyMouseEvents
|
||||
'
|
||||
|
||||
SCRIPTS='
|
||||
gdm/Init/Default
|
||||
gdm/PostLogin/Default.sample
|
||||
gdm/PostSession/Default
|
||||
gdm/PreSession/Default
|
||||
gdm/XKeepsCrashing
|
||||
gdm/Xsession
|
||||
'
|
||||
|
||||
set -e
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
|
||||
do_create_gdm_dirs() {
|
||||
if [ ! -d "/var/db/gdm" ]; then
|
||||
echo "Creating gdm auth dir: /var/db/gdm"
|
||||
install -d -g _x11 -m 1770 /var/db/gdm
|
||||
fi
|
||||
if [ ! -d "/var/log/gdm" ]; then
|
||||
echo "Creating gdm log dir: /var/log/gdm"
|
||||
install -d -m 0755 /var/log/gdm
|
||||
fi
|
||||
}
|
||||
|
||||
do_post() {
|
||||
|
||||
DEST_PFX=${CONFDIR}
|
||||
SOURCE_PFX=${PREFIX}/share/examples/gdm
|
||||
|
||||
echo
|
||||
echo "+--------------- ${P_NAME}"
|
||||
|
||||
# install dirs if necessary
|
||||
for d in ${DIRS}; do
|
||||
if [ ! -d "${DEST_PFX}/$d" ]; then
|
||||
install -d ${DEST_PFX}/$d
|
||||
fi
|
||||
done
|
||||
|
||||
# install or take note of existing config files
|
||||
for f in ${FILES}; do
|
||||
if [ -f "${DEST_PFX}/$f" ]; then
|
||||
OLD_CONFS="${OLD_CONFS} $f"
|
||||
else
|
||||
if ! install -m 644 ${SOURCE_PFX}/$f ${DEST_PFX}/$f; then
|
||||
echo "| ERROR: The following file could not be installed, exiting: ${DEST_PFX}/$f"
|
||||
exit 1
|
||||
fi
|
||||
NEW_CONFS="${NEW_CONFS} $f"
|
||||
fi
|
||||
done
|
||||
|
||||
# install or take note of existing config scripts
|
||||
for f in ${SCRIPTS}; do
|
||||
if [ -f "${DEST_PFX}/$f" ]; then
|
||||
OLD_CONFS="${OLD_CONFS} $f"
|
||||
else
|
||||
if ! install -m 755 ${SOURCE_PFX}/$f ${DEST_PFX}/$f; then
|
||||
echo "| ERROR: The following file could not be installed, exiting: ${DEST_PFX}/$f"
|
||||
exit 1
|
||||
fi
|
||||
NEW_CONFS="${NEW_CONFS} $f"
|
||||
fi
|
||||
done
|
||||
|
||||
# print status report
|
||||
if [ -n "${NEW_CONFS}" ]; then
|
||||
echo "| The following NEW configuration files have been installed:"
|
||||
echo "|"
|
||||
for f in ${NEW_CONFS}; do
|
||||
echo "| ${DEST_PFX}/$f"
|
||||
done
|
||||
fi
|
||||
|
||||
if [ -n "${OLD_CONFS}" ]; then
|
||||
if [ -n "${NEW_CONFS}" ]; then
|
||||
echo "|"
|
||||
fi
|
||||
echo "| The following OLD configuration files were found and have NOT been"
|
||||
echo "| overwritten:"
|
||||
echo "|"
|
||||
for f in ${OLD_CONFS}; do
|
||||
echo "| ${DEST_PFX}/$f"
|
||||
done
|
||||
echo "|"
|
||||
echo "| You should however manually compare them to their equivalents in"
|
||||
echo "|"
|
||||
echo "| ${SOURCE_PFX}/${P_NAME}"
|
||||
echo "|"
|
||||
echo "| and update your configuration as needed."
|
||||
fi
|
||||
echo "+--------------- ${P_NAME}"
|
||||
echo
|
||||
}
|
||||
|
||||
# verify proper execution
|
||||
#
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Verify/process the command
|
||||
#
|
||||
case $2 in
|
||||
PRE-INSTALL)
|
||||
;;
|
||||
POST-INSTALL)
|
||||
do_create_gdm_dirs
|
||||
do_post
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
289
x11/gnome/gdm/pkg/PLIST
Normal file
289
x11/gnome/gdm/pkg/PLIST
Normal file
@ -0,0 +1,289 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/10/08 15:57:01 marcm Exp $
|
||||
bin/gdm
|
||||
bin/gdm-binary
|
||||
bin/gdmXnest
|
||||
bin/gdmXnestchooser
|
||||
bin/gdmchooser
|
||||
bin/gdmflexiserver
|
||||
bin/gdmgreeter
|
||||
bin/gdmlogin
|
||||
bin/gdmphotosetup
|
||||
bin/gdmsetup
|
||||
bin/gdmthemetester
|
||||
lib/gtk-2.0/modules/libdwellmouselistener.a
|
||||
lib/gtk-2.0/modules/libdwellmouselistener.la
|
||||
lib/gtk-2.0/modules/libdwellmouselistener.so
|
||||
lib/gtk-2.0/modules/libkeymouselistener.a
|
||||
lib/gtk-2.0/modules/libkeymouselistener.la
|
||||
lib/gtk-2.0/modules/libkeymouselistener.so
|
||||
libexec/gdmtranslate
|
||||
man/man1/gdm.1
|
||||
sbin/gdm-restart
|
||||
sbin/gdm-safe-restart
|
||||
sbin/gdm-stop
|
||||
sbin/gdmconfig
|
||||
share/applications/gdmflexiserver-xnest.desktop
|
||||
share/applications/gdmflexiserver.desktop
|
||||
share/applications/gdmsetup.desktop
|
||||
share/examples/gdm/dm/Sessions/default.desktop
|
||||
share/examples/gdm/gdm/Init/Default
|
||||
share/examples/gdm/gdm/PostLogin/Default.sample
|
||||
share/examples/gdm/gdm/PostSession/Default
|
||||
share/examples/gdm/gdm/PreSession/Default
|
||||
share/examples/gdm/gdm/XKeepsCrashing
|
||||
share/examples/gdm/gdm/Xsession
|
||||
@comment share/examples/gdm/gdm/factory-gdm.conf
|
||||
share/examples/gdm/gdm/gdm.conf
|
||||
share/examples/gdm/gdm/locale.alias
|
||||
share/examples/gdm/gdm/modules/AccessDwellMouseEvents
|
||||
share/examples/gdm/gdm/modules/AccessKeyMouseEvents
|
||||
@comment share/examples/gdm/gdm/modules/factory-AccessDwellMouseEvents
|
||||
@comment share/examples/gdm/gdm/modules/factory-AccessKeyMouseEvents
|
||||
share/gdm/gdmchooser.glade
|
||||
share/gdm/gdmsetup.glade
|
||||
share/gdm/themes/circles/GdmGreeterTheme.desktop
|
||||
share/gdm/themes/circles/background.svg
|
||||
share/gdm/themes/circles/circles.xml
|
||||
share/gdm/themes/circles/flower.png
|
||||
share/gdm/themes/circles/help.png
|
||||
share/gdm/themes/circles/options.png
|
||||
share/gdm/themes/circles/screenshot.png
|
||||
share/gdm/themes/happygnome-list/GdmGreeterTheme.desktop
|
||||
share/gdm/themes/happygnome-list/background.svg
|
||||
share/gdm/themes/happygnome-list/disconnect.png
|
||||
share/gdm/themes/happygnome-list/gnome-logo.png
|
||||
share/gdm/themes/happygnome-list/happygnome.xml
|
||||
share/gdm/themes/happygnome-list/options.png
|
||||
share/gdm/themes/happygnome-list/screenshot.png
|
||||
share/gdm/themes/happygnome-list/session.png
|
||||
share/gdm/themes/happygnome-list/system.png
|
||||
share/gdm/themes/happygnome/GdmGreeterTheme.desktop
|
||||
share/gdm/themes/happygnome/background.svg
|
||||
share/gdm/themes/happygnome/disconnect.png
|
||||
share/gdm/themes/happygnome/gnome-logo.png
|
||||
share/gdm/themes/happygnome/happygnome.xml
|
||||
share/gdm/themes/happygnome/options.png
|
||||
share/gdm/themes/happygnome/screenshot.png
|
||||
share/gdm/themes/happygnome/session.png
|
||||
share/gdm/themes/happygnome/system.png
|
||||
share/gnome/capplets/gdmphotosetup.desktop
|
||||
share/gnome/help/gdm/C/gdm.xml
|
||||
share/gnome/help/gdm/C/legal.xml
|
||||
share/locale/am/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/ar/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/az/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/be/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/bg/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/bn/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/ca/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/cs/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/cy/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/da/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/de/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/el/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/es/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/et/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/eu/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/fa/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/fi/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/fr/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/ga/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/gl/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/he/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/hi/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/hu/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/id/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/it/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/ja/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/ko/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/lt/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/lv/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/mk/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/ml/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/mn/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/ms/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/nl/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/nn/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/no/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/pl/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/pt/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/ro/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/ru/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/sk/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/sl/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/sq/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/sr/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/sr@Latn/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/sv/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/ta/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/th/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/tr/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/uk/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/vi/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/wa/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/gdm-2.4.mo
|
||||
share/locale/zh_TW/LC_MESSAGES/gdm-2.4.mo
|
||||
share/omf/gdm/gdm-C.omf
|
||||
share/pixmaps/gdm-foot-logo.png
|
||||
share/pixmaps/gdm.png
|
||||
share/pixmaps/login-photo.png
|
||||
share/pixmaps/nobody.png
|
||||
share/pixmaps/nohost.png
|
||||
share/xsessions/gnome.desktop
|
||||
@dirrm share/xsessions
|
||||
@comment @dirrm share/pixmaps
|
||||
@dirrm share/omf/gdm
|
||||
@comment @dirrm share/locale/zh_TW/LC_MESSAGES
|
||||
@comment @dirrm share/locale/zh_TW
|
||||
@comment @dirrm share/locale/zh_CN/LC_MESSAGES
|
||||
@comment @dirrm share/locale/zh_CN
|
||||
@comment @dirrm share/locale/wa/LC_MESSAGES
|
||||
@comment @dirrm share/locale/wa
|
||||
@comment @dirrm share/locale/vi/LC_MESSAGES
|
||||
@comment @dirrm share/locale/vi
|
||||
@comment @dirrm share/locale/uk/LC_MESSAGES
|
||||
@comment @dirrm share/locale/uk
|
||||
@comment @dirrm share/locale/tr/LC_MESSAGES
|
||||
@comment @dirrm share/locale/tr
|
||||
@comment @dirrm share/locale/th/LC_MESSAGES
|
||||
@comment @dirrm share/locale/th
|
||||
@comment @dirrm share/locale/ta/LC_MESSAGES
|
||||
@comment @dirrm share/locale/ta
|
||||
@comment @dirrm share/locale/sv/LC_MESSAGES
|
||||
@comment @dirrm share/locale/sv
|
||||
@comment @dirrm share/locale/sr@Latn/LC_MESSAGES
|
||||
@comment @dirrm share/locale/sr@Latn
|
||||
@comment @dirrm share/locale/sr/LC_MESSAGES
|
||||
@comment @dirrm share/locale/sr
|
||||
@comment @dirrm share/locale/sq/LC_MESSAGES
|
||||
@comment @dirrm share/locale/sq
|
||||
@comment @dirrm share/locale/sl/LC_MESSAGES
|
||||
@comment @dirrm share/locale/sl
|
||||
@comment @dirrm share/locale/sk/LC_MESSAGES
|
||||
@comment @dirrm share/locale/sk
|
||||
@comment @dirrm share/locale/ru/LC_MESSAGES
|
||||
@comment @dirrm share/locale/ru
|
||||
@comment @dirrm share/locale/ro/LC_MESSAGES
|
||||
@comment @dirrm share/locale/ro
|
||||
@comment @dirrm share/locale/pt_BR/LC_MESSAGES
|
||||
@comment @dirrm share/locale/pt_BR
|
||||
@comment @dirrm share/locale/pt/LC_MESSAGES
|
||||
@comment @dirrm share/locale/pt
|
||||
@comment @dirrm share/locale/pl/LC_MESSAGES
|
||||
@comment @dirrm share/locale/pl
|
||||
@comment @dirrm share/locale/no/LC_MESSAGES
|
||||
@comment @dirrm share/locale/no
|
||||
@comment @dirrm share/locale/nn/LC_MESSAGES
|
||||
@comment @dirrm share/locale/nn
|
||||
@comment @dirrm share/locale/nl/LC_MESSAGES
|
||||
@comment @dirrm share/locale/nl
|
||||
@comment @dirrm share/locale/ms/LC_MESSAGES
|
||||
@comment @dirrm share/locale/ms
|
||||
@comment @dirrm share/locale/mn/LC_MESSAGES
|
||||
@comment @dirrm share/locale/mn
|
||||
@comment @dirrm share/locale/ml/LC_MESSAGES
|
||||
@comment @dirrm share/locale/ml
|
||||
@comment @dirrm share/locale/mk/LC_MESSAGES
|
||||
@comment @dirrm share/locale/mk
|
||||
@comment @dirrm share/locale/lv/LC_MESSAGES
|
||||
@comment @dirrm share/locale/lv
|
||||
@comment @dirrm share/locale/lt/LC_MESSAGES
|
||||
@comment @dirrm share/locale/lt
|
||||
@comment @dirrm share/locale/ko/LC_MESSAGES
|
||||
@comment @dirrm share/locale/ko
|
||||
@comment @dirrm share/locale/ja/LC_MESSAGES
|
||||
@comment @dirrm share/locale/ja
|
||||
@comment @dirrm share/locale/it/LC_MESSAGES
|
||||
@comment @dirrm share/locale/it
|
||||
@comment @dirrm share/locale/id/LC_MESSAGES
|
||||
@comment @dirrm share/locale/id
|
||||
@comment @dirrm share/locale/hu/LC_MESSAGES
|
||||
@comment @dirrm share/locale/hu
|
||||
@comment @dirrm share/locale/hi/LC_MESSAGES
|
||||
@comment @dirrm share/locale/hi
|
||||
@comment @dirrm share/locale/he/LC_MESSAGES
|
||||
@comment @dirrm share/locale/he
|
||||
@comment @dirrm share/locale/gl/LC_MESSAGES
|
||||
@comment @dirrm share/locale/gl
|
||||
@comment @dirrm share/locale/ga/LC_MESSAGES
|
||||
@comment @dirrm share/locale/ga
|
||||
@comment @dirrm share/locale/fr/LC_MESSAGES
|
||||
@comment @dirrm share/locale/fr
|
||||
@comment @dirrm share/locale/fi/LC_MESSAGES
|
||||
@comment @dirrm share/locale/fi
|
||||
@comment @dirrm share/locale/fa/LC_MESSAGES
|
||||
@comment @dirrm share/locale/fa
|
||||
@comment @dirrm share/locale/eu/LC_MESSAGES
|
||||
@comment @dirrm share/locale/eu
|
||||
@comment @dirrm share/locale/et/LC_MESSAGES
|
||||
@comment @dirrm share/locale/et
|
||||
@comment @dirrm share/locale/es/LC_MESSAGES
|
||||
@comment @dirrm share/locale/es
|
||||
@comment @dirrm share/locale/el/LC_MESSAGES
|
||||
@comment @dirrm share/locale/el
|
||||
@comment @dirrm share/locale/de/LC_MESSAGES
|
||||
@comment @dirrm share/locale/de
|
||||
@comment @dirrm share/locale/da/LC_MESSAGES
|
||||
@comment @dirrm share/locale/da
|
||||
@comment @dirrm share/locale/cy/LC_MESSAGES
|
||||
@comment @dirrm share/locale/cy
|
||||
@comment @dirrm share/locale/cs/LC_MESSAGES
|
||||
@comment @dirrm share/locale/cs
|
||||
@comment @dirrm share/locale/ca/LC_MESSAGES
|
||||
@comment @dirrm share/locale/ca
|
||||
@comment @dirrm share/locale/bn/LC_MESSAGES
|
||||
@comment @dirrm share/locale/bn
|
||||
@comment @dirrm share/locale/bg/LC_MESSAGES
|
||||
@comment @dirrm share/locale/bg
|
||||
@comment @dirrm share/locale/be/LC_MESSAGES
|
||||
@comment @dirrm share/locale/be
|
||||
@comment @dirrm share/locale/az/LC_MESSAGES
|
||||
@comment @dirrm share/locale/az
|
||||
@comment @dirrm share/locale/ar/LC_MESSAGES
|
||||
@comment @dirrm share/locale/ar
|
||||
@comment @dirrm share/locale/am/LC_MESSAGES
|
||||
@comment @dirrm share/locale/am
|
||||
@comment @dirrm share/locale
|
||||
@dirrm share/gnome/help/gdm/C
|
||||
@dirrm share/gnome/help/gdm
|
||||
@comment @dirrm share/gnome/help
|
||||
@comment @dirrm share/gnome/capplets
|
||||
@comment @dirrm share/gnome
|
||||
@dirrm share/gdm/themes/happygnome-list
|
||||
@dirrm share/gdm/themes/happygnome
|
||||
@dirrm share/gdm/themes/circles
|
||||
@dirrm share/gdm/themes
|
||||
@dirrm share/gdm
|
||||
@dirrm share/examples/gdm/gdm/modules
|
||||
@dirrm share/examples/gdm/gdm/PreSession
|
||||
@dirrm share/examples/gdm/gdm/PostSession
|
||||
@dirrm share/examples/gdm/gdm/PostLogin
|
||||
@dirrm share/examples/gdm/gdm/Init
|
||||
@dirrm share/examples/gdm/gdm
|
||||
@dirrm share/examples/gdm/dm/Sessions
|
||||
@dirrm share/examples/gdm/dm
|
||||
@dirrm share/examples/gdm
|
||||
@comment @dirrm share/applications
|
||||
@exec %D/bin/scrollkeeper-update -q
|
||||
@unexec %D/bin/scrollkeeper-update -q
|
||||
@cwd ${SYSCONFDIR}/X11
|
||||
@extra dm/Sessions/default.desktop
|
||||
@extraunexec rmdir %D/dm/Sessions 2>/dev/null || true
|
||||
@extraunexec rmdir %D/dm 2>/dev/null || true
|
||||
@extra gdm/gdm.conf
|
||||
@extra gdm/locale.alias
|
||||
@extra gdm/modules/AccessDwellMouseEvents
|
||||
@extra gdm/modules/AccessKeyMouseEvents
|
||||
@extra gdm/modules/
|
||||
@extra gdm/Init/Default
|
||||
@extra gdm/Init/
|
||||
@extra gdm/PostLogin/Default.sample
|
||||
@extra gdm/PostLogin/
|
||||
@extra gdm/PostSession/Default
|
||||
@extra gdm/PostSession/
|
||||
@extra gdm/PreSession/Default
|
||||
@extra gdm/PreSession/
|
||||
@extra gdm/XKeepsCrashing
|
||||
@extra gdm/Xsession
|
||||
@extra gdm/
|
Loading…
Reference in New Issue
Block a user