summaryrefslogtreecommitdiff
path: root/x11/gnome-session
diff options
context:
space:
mode:
authorrh <rh>2002-09-15 06:03:04 +0000
committerrh <rh>2002-09-15 06:03:04 +0000
commit3b9a8de304736c4e3cc54fbab61ee5c117554fe7 (patch)
tree646dce6969869267204535ddeaaf87286b226e7d /x11/gnome-session
parent28c14362a420f1041d9cf19f229114d03ecfe551 (diff)
downloadpkgsrc-3b9a8de304736c4e3cc54fbab61ee5c117554fe7.tar.gz
Initial import of gnome-session-2.0.7, the GNOME2 session manager.
Provided by Julio Merino <jmmv@hispabsd.org>, with some modifications to make this co-exist with gnome-core. Closes PR pkg/18221
Diffstat (limited to 'x11/gnome-session')
-rw-r--r--x11/gnome-session/DESCR6
-rw-r--r--x11/gnome-session/Makefile32
-rw-r--r--x11/gnome-session/PLIST69
-rw-r--r--x11/gnome-session/distinfo8
-rw-r--r--x11/gnome-session/patches/patch-aa53
-rw-r--r--x11/gnome-session/patches/patch-ab15
-rw-r--r--x11/gnome-session/patches/patch-ac15
-rw-r--r--x11/gnome-session/patches/patch-ad12
8 files changed, 210 insertions, 0 deletions
diff --git a/x11/gnome-session/DESCR b/x11/gnome-session/DESCR
new file mode 100644
index 00000000000..0b181d50b9b
--- /dev/null
+++ b/x11/gnome-session/DESCR
@@ -0,0 +1,6 @@
+gnome2-session provides the following components:
+* The GNOME session manager.
+* The GNOME session manager configuration program and several other
+ session management related utilities.
+* The GNOME session manager proxy, which handles basic session
+ management for applications that do not support XSM.
diff --git a/x11/gnome-session/Makefile b/x11/gnome-session/Makefile
new file mode 100644
index 00000000000..48ffb1b18e5
--- /dev/null
+++ b/x11/gnome-session/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/09/15 06:03:04 rh Exp $
+#
+
+DISTNAME= gnome-session-2.0.7
+CATEGORIES= x11 gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=2.0.1/sources/gnome-session/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= jmmv@hispabsd.org
+HOMEPAGE= http://www.gnome.org/
+COMMENT= GNOME2 session management utilities
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK2= yes
+USE_GMAKE= yes
+USE_GNU_GETTEXT= yes
+USE_X11= yes
+USE_PERL5= build
+
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+CONFIGURE_ARGS+= --program-transform-name=s,gnome,gnome2,
+CONFIGURE_ARGS+= --localstatedir=${X11PREFIX}/var/gnome
+
+.include "../../audio/esound/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/GConf2/buildlink2.mk"
+.include "../../devel/libgnome/buildlink2.mk"
+.include "../../devel/libgnomeui/buildlink2.mk"
+.include "../../x11/gnome2-control-center/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/gnome-session/PLIST b/x11/gnome-session/PLIST
new file mode 100644
index 00000000000..2b39d87e9f8
--- /dev/null
+++ b/x11/gnome-session/PLIST
@@ -0,0 +1,69 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/09/15 06:03:04 rh Exp $
+bin/gnome2-session
+bin/gnome2-session-properties
+bin/gnome2-session-save
+bin/gnome2-smproxy
+bin/gnome2-wm
+etc/gconf/schemas/gnome-session.schemas
+man/man1/gnome2-session.1
+man/man1/gnome2-smproxy.1
+man/man1/gnome2-wm.1
+man/man1/gnome2-save-session.1
+man/man1/gnome2-session-properties.1
+man/man5/gnome2-default.session.5
+share/control-center-2.0/capplets/session-properties.desktop
+share/gnome/gnome2-default.session
+share/gnome/gnome2-default.wm
+${PKGLOCALEDIR}/locale/ar/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/az/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/bg/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/bs/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/da/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/el/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/en_GB/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/es/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/et/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/eu/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/ga/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/hi/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/lt/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/lv/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/mk/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/ms/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/nn/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/no/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/sp/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/ta/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/vi/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/wa/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/gnome-session-2.0.mo
+${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/gnome-session-2.0.mo
+share/pixmaps/splash/gnome2-splash.png
+@unexec ${RMDIR} %D/share/pixmaps/splash 2>/dev/null || ${TRUE}
+@exec ${MKDIR} %D/share/omf/gnome-core
+@unexec ${RMDIR} %D/share/omf/gnome-core 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/share/omf 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/share/gnome 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/share/control-center-2.0/capplets 2>/dev/null || ${TRUE}
diff --git a/x11/gnome-session/distinfo b/x11/gnome-session/distinfo
new file mode 100644
index 00000000000..d6d55d85d7d
--- /dev/null
+++ b/x11/gnome-session/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/09/15 06:03:04 rh Exp $
+
+SHA1 (gnome-session-2.0.7.tar.bz2) = 05fbe1c4bf6d5275f50bcd27fa6564315e57e859
+Size (gnome-session-2.0.7.tar.bz2) = 811896 bytes
+SHA1 (patch-aa) = 7bc230f07abb2df2fa506055833f52836c276ffb
+SHA1 (patch-ab) = 6a7b9394c41442c4181f4efb33f7ea7c61ee6f6b
+SHA1 (patch-ac) = 148f41bdbf56524c8751e55dac1415a3ebb53791
+SHA1 (patch-ad) = 24901462a72294008ef4f219668323fc159eaea0
diff --git a/x11/gnome-session/patches/patch-aa b/x11/gnome-session/patches/patch-aa
new file mode 100644
index 00000000000..37d7602cd32
--- /dev/null
+++ b/x11/gnome-session/patches/patch-aa
@@ -0,0 +1,53 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/09/15 06:03:04 rh Exp $
+
+--- gnome-session/Makefile.in.orig Thu Sep 5 12:25:10 2002
++++ gnome-session/Makefile.in
+@@ -413,6 +413,8 @@ install-man1:
+ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
+ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
++ inst=`echo $$inst | sed 's/save/gnome2-save/'`; \
++ inst=`echo $$inst | sed 's/session-prop/gnome2-session-prop/'`; \
+ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ done
+@@ -447,7 +449,7 @@ install-man5:
+ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \
+- $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \
++ $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/gnome2-$$inst; \
+ done
+
+ uninstall-man5:
+@@ -477,10 +479,10 @@ install-defaultDATA: $(default_DATA)
+ @list='$(default_DATA)'; for p in $$list; do \
+ if test -f $(srcdir)/$$p; then \
+ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(defaultdir)/$$p"; \
+- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(defaultdir)/$$p; \
++ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(defaultdir)/gnome2-$$p; \
+ else if test -f $$p; then \
+ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(defaultdir)/$$p"; \
+- $(INSTALL_DATA) $$p $(DESTDIR)$(defaultdir)/$$p; \
++ $(INSTALL_DATA) $$p $(DESTDIR)$(defaultdir)/gnome2-$$p; \
+ fi; fi; \
+ done
+
+@@ -494,12 +496,13 @@ install-pixmapDATA: $(pixmap_DATA)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(pixmapdir)
+ @list='$(pixmap_DATA)'; for p in $$list; do \
++ inst=`echo $$p | sed '$(transform)'`; \
+ if test -f $(srcdir)/$$p; then \
+- echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pixmapdir)/$$p"; \
+- $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pixmapdir)/$$p; \
++ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pixmapdir)/$$inst"; \
++ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pixmapdir)/$$inst; \
+ else if test -f $$p; then \
+- echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pixmapdir)/$$p"; \
+- $(INSTALL_DATA) $$p $(DESTDIR)$(pixmapdir)/$$p; \
++ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(pixmapdir)/$$inst"; \
++ $(INSTALL_DATA) $$p $(DESTDIR)$(pixmapdir)/$$inst; \
+ fi; fi; \
+ done
+
diff --git a/x11/gnome-session/patches/patch-ab b/x11/gnome-session/patches/patch-ab
new file mode 100644
index 00000000000..1e5acc25f02
--- /dev/null
+++ b/x11/gnome-session/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/09/15 06:03:04 rh Exp $
+
+--- smproxy/smproxy.c.orig Sun Aug 11 15:56:26 2002
++++ smproxy/smproxy.c
+@@ -36,6 +36,10 @@ Author: Ralph Mor, X Consortium
+ #include <unistd.h>
+ #include <netdb.h>
+
++#ifndef MAXHOSTNAMELEN
++#define MAXHOSTNAMELEN (1024+1)
++#endif
++
+ #if !defined (NI_MAXHOST)
+ #define NI_MAXHOST MAXHOSTNAMELEN
+ #endif
diff --git a/x11/gnome-session/patches/patch-ac b/x11/gnome-session/patches/patch-ac
new file mode 100644
index 00000000000..91e94e29fd2
--- /dev/null
+++ b/x11/gnome-session/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1.1.1 2002/09/15 06:03:04 rh Exp $
+
+--- gnome-session/splash-widget.c.orig Fri Jul 26 03:01:04 2002
++++ gnome-session/splash-widget.c
+@@ -336,6 +336,10 @@ read_background (SplashWidget *sw)
+
+ if (!pb)
+ pb = gdk_pixbuf_new_from_file (
++ GNOME_ICONDIR "/splash/gnome2-splash.png", NULL);
++
++ if (!pb)
++ pb = gdk_pixbuf_new_from_file (
+ GNOME_ICONDIR "/splash/gnome-splash.png", NULL);
+
+ sw->background = pb;
diff --git a/x11/gnome-session/patches/patch-ad b/x11/gnome-session/patches/patch-ad
new file mode 100644
index 00000000000..ebfdc5715b2
--- /dev/null
+++ b/x11/gnome-session/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 2002/09/15 06:03:04 rh Exp $
+
+--- man/Makefile.in.orig Sun Sep 15 14:05:37 2002
++++ man/Makefile.in
+@@ -178,6 +178,7 @@ install-man1:
+ ext=`echo $$i | sed -e 's/^.*\\.//'`; \
+ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+ inst=`echo $$inst | sed '$(transform)'`.$$ext; \
++ inst=`echo $$inst | sed 's/session-prop/gnome2-session-prop/'`; \
+ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
+ $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
+ done