]> git.pld-linux.org Git - packages/gdm2.20.git/blame - gdm-am_fixes.patch
- 2.8.0.
[packages/gdm2.20.git] / gdm-am_fixes.patch
CommitLineData
dbefe0e9 1--- gdm-2.2.5.4/config/Makefile.am~ Tue Jan 29 02:28:03 2002
2+++ gdm-2.2.5.4/config/Makefile.am Tue Jan 29 02:28:03 2002
3@@ -31,85 +31,25 @@
4 cat $^ | $(srcdir)/extract-shell.sh > gettextfoo.h
5
6 install-data-hook: gdm.conf gnomerc Gnome
7- if test '!' -d $(confdir); then \
8- $(mkinstalldirs) $(confdir); \
9- chmod 755 $(confdir); \
10- fi
11- if test '!' -f $(confdir)/gdm.conf; then \
12- $(INSTALL_DATA) gdm.conf $(confdir)/gdm.conf; \
13- fi
14- $(INSTALL_DATA) gdm.conf $(confdir)/factory-gdm.conf
15-
16- $(INSTALL_SCRIPT) $(srcdir)/XKeepsCrashing $(confdir)/XKeepsCrashing
17-
18- -if test -f $(localedir)/locale.alias; then \
19- cp $(localedir)/locale.alias $(localedir)/locale.alias.orig; \
20- fi
21- $(INSTALL_DATA) $(srcdir)/locale.alias $(localedir)/locale.alias
22-
23- if test '!' -d $(sessdir); then \
24- $(mkinstalldirs) $(sessdir); \
25- chmod 755 $(sessdir); \
26- fi
27-
28- -if test -f $(sessdir)/Xsession; then \
29- cp $(sessdir)/Xsession $(sessdir)/Xsession.orig; \
30- fi
31- $(INSTALL_SCRIPT) $(srcdir)/Xsession $(sessdir)/Xsession
32-
33- -if test -f $(sessdir)/Gnome; then \
34- cp $(sessdir)/Gnome $(sessdir)/Gnome.orig; \
35- fi
36- $(INSTALL_SCRIPT) Gnome $(sessdir)/Gnome
37-
38- -if test -f /etc/redhat-release; then \
39- if test -f $(sessdir)/Default; then \
40- cp $(sessdir)/Default $(sessdir)/Default.orig; \
41- fi; \
42- $(INSTALL_SCRIPT) $(srcdir)/Default.redhat $(sessdir)/Default; \
43- fi
44-
45- if test '!' -d $(initdir); then \
46- $(mkinstalldirs) $(initdir); \
47- chmod 755 $(initdir); \
48- fi
49- -if test -f $(initdir)/Default; then \
50- cp $(initdir)/Default $(initdir)/Default.orig; \
51- fi
52- $(INSTALL_SCRIPT) $(srcdir)/Default $(initdir)/Default
53-
54- if test '!' -d $(predir); then \
55- $(mkinstalldirs) $(predir); \
56- chmod 755 $(predir); \
57- fi
58- -if test -f $(predir)/Default; then \
59- cp $(predir)/Default $(predir)/Default.orig; \
60- fi
61- $(INSTALL_SCRIPT) $(srcdir)/PreSession $(predir)/Default
62-
63- if test '!' -d $(postdir); then \
64- $(mkinstalldirs) $(postdir); \
65- chmod 755 $(postdir); \
66- fi
67- -if test -f $(postdir)/Default; then \
68- cp $(postdir)/Default $(postdir)/Default.orig; \
69- fi
70- $(INSTALL_SCRIPT) $(srcdir)/PostSession $(postdir)/Default
71-
72- if test '!' -d $(gnomercdir); then \
73- $(mkinstalldirs) $(gnomercdir); \
74- chmod 755 $(gnomercdir); \
75- fi
76-
77- if test '!' -f $(gnomercdir)/gnomerc; then \
78- $(INSTALL_SCRIPT) gnomerc $(gnomercdir)/gnomerc; \
79- fi
80-
81- if test '!' -d $(authdir); then \
82- $(mkinstalldirs) $(authdir); \
83- chown gdm.gdm $(authdir); \
84- chmod 750 $(authdir); \
85- fi
86+ $(mkinstalldirs) $(DESTDIR)$(confdir) $(DESTDIR)$(localedir) \
87+ $(DESTDIR)$(sessdir) $(DESTDIR)$(initdir) \
88+ $(DESTDIR)$(predir) $(DESTDIR)$(postdir) \
89+ $(DESTDIR)$(gnomercdir) $(DESTDIR)$(localstatedir)/gdm
90+
91+ $(INSTALL_DATA) gdm.conf $(DESTDIR)$(confdir)/gdm.conf; \
92+ $(INSTALL_DATA) gdm.conf $(DESTDIR)$(confdir)/factory-gdm.conf
93+ $(INSTALL_DATA) locale.alias $(DESTDIR)$(localedir)
94+ $(INSTALL_SCRIPT) XKeepsCrashing Xsession Gnome $(DESTDIR)$(confdir)
95+ $(INSTALL_SCRIPT) Xsession Gnome $(DESTDIR)$(sessdir)
96+ $(INSTALL_SCRIPT) Default $(DESTDIR)$(initdir)
97+ $(INSTALL_SCRIPT) PreSession $(DESTDIR)$(predir)/Default
98+ $(INSTALL_SCRIPT) PostSession $(DESTDIR)$(postdir)/Default
99+ $(INSTALL_SCRIPT) gnomerc $(DESTDIR)$(gnomercdir)/gnomerc
100+ $(INSTALL_SCRIPT) Default.redhat $(DESTDIR)$(sessdir)/Default
101+
102+ chown gdm $(DESTDIR)$(authdir) || :
103+ chogrp gdm $(DESTDIR)$(authdir) || :
104+ chmod 750 $(DESTDIR)$(authdir)
105
106 system=`uname`; \
107 if test -f /usr/include/security/pam_appl.h; then \
108@@ -124,6 +64,6 @@
109 $(INSTALL_DATA) gdm-autologin $(DESTDIR)$(PAM_PREFIX)/pam.d/gdm-autologin; \
110 fi; \
111 if test $$system = SunOS; then \
112- echo "Please add PAM authentication for gdm and gdm-autologin in $(PAM_PREFIX)/pam.conf!"; \
113+ echo "Please add PAM authentication for gdm and gdm-autologin in $(DESTDIR)$(PAM_PREFIX)/pam.conf!"; \
114 fi; \
115 fi
116--- gdm-2.2.5.4/daemon/Makefile.am~ Tue Jan 29 02:32:48 2002
117+++ gdm-2.2.5.4/daemon/Makefile.am Tue Jan 29 02:32:48 2002
118@@ -1,9 +1,6 @@
119 ## Process this file with automake to produce makefile.in
120-CFLAGS = @CFLAGS@ -g -Wall \
121- -Wpointer-arith \
122- -Wmissing-prototypes -Wmissing-declarations
123
124-DEFS = @DEFS@ -DGDM_CONFIG_FILE=\"@sysconfdir@/gdm/gdm.conf\"
125+DEFS = @DEFS@ -DGDM_CONFIG_FILE=\"$(sysconfdir)/gdm/gdm.conf\"
126
127 INCLUDES = \
128 -I. \
129--- gdm-2.2.5.4/docs/sgmldocs.make~ Tue Jan 29 02:41:23 2002
130+++ gdm-2.2.5.4/docs/sgmldocs.make Tue Jan 29 02:41:23 2002
131@@ -58,7 +58,7 @@
132 -cp $(docname)/index.html .
133
134 $(docname).sgml: $(sgml_ents)
135- -ourdir=`pwd`; \
136+ ourdir=`pwd`; \
137 cd $(srcdir); \
138 cp $(sgml_ents) $$ourdir
139
This page took 0.075691 seconds and 4 git commands to generate.