]> git.pld-linux.org Git - packages/kde4-kdebase-workspace.git/blame - kde4-kdebase-workspace-kdmconfig.patch
- updated
[packages/kde4-kdebase-workspace.git] / kde4-kdebase-workspace-kdmconfig.patch
CommitLineData
25db84ad 1diff -Nru kdebase-workspace-4.3.73svn1040395/doc/kdm/index.docbook kdebase-workspace-4.3.73svn1040395-new/doc/kdm/index.docbook
2--- kdebase-workspace-4.3.73svn1040395/doc/kdm/index.docbook 2009-10-26 10:14:41.000000000 +0100
3+++ kdebase-workspace-4.3.73svn1040395-new/doc/kdm/index.docbook 2009-10-28 22:58:07.000000000 +0100
60c43d87
AM
4@@ -317,7 +317,7 @@
5 system, and that you simply want to change its behavior in some way.</para>
6
7 <para>When &kdm; starts up, it reads its configuration from the folder
8-<filename class="directory">$<envar>KDEDIR</envar>/share/config/kdm/</filename>
bd53f434 9+<filename class="directory">/etc/X11/kdm/</filename>
60c43d87
AM
10 (this may
11 be <filename class="directory">/etc/kde4/kdm/</filename> or something else
12 on your system).</para>
25db84ad 13diff -Nru kdebase-workspace-4.3.73svn1040395/kcontrol/fonts/fonts.cpp kdebase-workspace-4.3.73svn1040395-new/kcontrol/fonts/fonts.cpp
14--- kdebase-workspace-4.3.73svn1040395/kcontrol/fonts/fonts.cpp 2009-10-02 16:53:57.000000000 +0200
15+++ kdebase-workspace-4.3.73svn1040395-new/kcontrol/fonts/fonts.cpp 2009-10-28 22:58:08.000000000 +0100
16@@ -638,7 +638,7 @@
60c43d87
AM
17 "<p>The use of this option is generally discouraged. For selecting proper DPI"
18 " value a better option is explicitly configuring it for the whole X server if"
19 " possible (e.g. DisplaySize in xorg.conf or adding <i>-dpi value</i> to"
20- " ServerLocalArgs= in $KDEDIR/share/config/kdm/kdmrc). When fonts do not render"
21+ " ServerLocalArgs= in /etc/X11/kdm/kdmrc). When fonts do not render"
22 " properly with real DPI value better fonts should be used or configuration"
23 " of font hinting should be checked.</p>" );
24 comboForceDpi->setWhatsThis(whatsthis);
dab4a4a4 25--- kdebase-workspace-4.5.0/kcontrol/kdm/kdm-users.cpp.orig 2010-05-27 19:23:09.000000000 +0200
26+++ kdebase-workspace-4.5.0/kcontrol/kdm/kdm-users.cpp 2010-07-30 20:37:06.492035540 +0200
27@@ -103,8 +103,7 @@
28 defmaxuid = "65000";
29 #endif
30
31- m_userPixDir = config->group("X-*-Greeter").readEntry("FaceDir",
32- KStandardDirs::installPath("data") + "kdm/faces") + '/';
33+ m_userPixDir = config->group( "X-*-Greeter" ).readEntry( "FaceDir", "/etc/X11/kdm/faces" ) + '/';
34
35 if (!getpwnam("nobody"))
36 KMessageBox::sorry(this, i18n(
25db84ad 37diff -Nru kdebase-workspace-4.3.73svn1040395/kdm/config.def kdebase-workspace-4.3.73svn1040395-new/kdm/config.def
38--- kdebase-workspace-4.3.73svn1040395/kdm/config.def 2009-10-26 10:14:48.000000000 +0100
39+++ kdebase-workspace-4.3.73svn1040395-new/kdm/config.def 2009-10-28 22:58:08.000000000 +0100
60c43d87
AM
40@@ -29,7 +29,7 @@
41 #define RCVERMAJOR 2
42 #define RCVERMINOR 4
43
44-#define KDMCONF KDE_CONFDIR "/kdm"
45+#define KDMCONF "/etc/X11/kdm"
46 #define KDMDATA KDE_DATADIR "/kdm"
47
48 #ifdef _AIX
25db84ad 49@@ -1099,7 +1099,7 @@
484153fd
AM
50 Key: Xaccess
51 Type: string
52 # differs from xdm
53-Default: *KDMCONF "/Xaccess"
54+Default: *"/etc/X11/kdm/Xaccess"
55 User: config(Xaccess)
56 Instance: #""
57 Update: mk_xaccess
25db84ad 58@@ -1161,7 +1161,7 @@
60c43d87
AM
59
60 Key: Willing
61 Type: string
62-Default: ""
63+Default: KDMCONF "/Xwilling"
64 User: core
65 # will be overwritten
66 Instance: #
25db84ad 67@@ -1600,7 +1600,7 @@
60c43d87
AM
68
69 Key: Startup
70 Type: string
71-Default: ""
72+Default: KDMCONF "/Xsetup"
73 User: core
74 # will be overwritten
75 Instance: #*/""
25db84ad 76@@ -1618,7 +1618,7 @@
60c43d87
AM
77
78 Key: Reset
79 Type: string
80-Default: ""
81+Default: KDMCONF "Xreset"
82 User: core
83 # will be overwritten
84 Instance: #*/""
25db84ad 85@@ -1636,7 +1636,7 @@
60c43d87
AM
86
87 Key: Session
88 Type: string
89-Default: XBINDIR "/xterm -ls -T"
90+Default: KDMCONF "/Xsession"
91 #Merge: xdm - incompatible!
92 User: core
93 # will be overwritten
25db84ad 94@@ -1753,10 +1753,10 @@
60c43d87
AM
95
96 Key: AllowRootLogin
97 Type: bool
98-Default: true
99+Default: false
100 User: core
101 User: greeter(showRoot)
102-Instance: */false
103+Instance: #*/true
104 Merge: xdm
105 Comment:
106 Allow root logins?
25db84ad 107@@ -1766,11 +1766,11 @@
60c43d87
AM
108
109 Key: AllowNullPasswd
110 Type: bool
111-Default: true
112+Default: false
113 User: core
114 # sensible?
115-Instance: */false
116-Instance: :*/true
117+Instance: #*/true
118+Instance: #:*/true
119 Merge: xdm
120 Comment:
121 Allow to log in, when user has set an empty password?
25db84ad 122@@ -1928,10 +1928,10 @@
60c43d87
AM
123
124 Key: SessionsDirs
125 Type: list
126-Default: *KDMDATA "/sessions"
5e2a5512 127+Default: *"/usr/share/xsessions"
60c43d87
AM
128 User: core
129 User: greeter-c
130-Instance: */KDMCONF "/sessions," KDMDATA "/sessions"
d550c000 131+Instance: */"/etc/X11/sessions,/usr/share/xsessions"
60c43d87
AM
132 Update: upd_sessionsdirs
133 Comment:
134 The directories containing session type definitions in .desktop format,
25db84ad 135@@ -2275,7 +2275,7 @@
60c43d87
AM
136
137 Key: MinShowUID
138 Type: int
139-Default: 0
140+Default: 1000
141 User: greeter(lowUserId)
142 # will be overwritten
143 Instance: #*/
25db84ad 144@@ -2336,7 +2336,7 @@
60c43d87
AM
145
146 Key: FaceDir
147 Type: string
148-Default: *KDMDATA "/faces"
484153fd 149+Default: *"/etc/X11/kdm/faces"
60c43d87
AM
150 User: greeter
151 Instance: #*/"/usr/share/faces"
152 Update: upd_facedir
25db84ad 153@@ -2419,7 +2419,7 @@
484153fd
AM
154
155 Key: BackgroundCfg
156 Type: string
157-Default: *KDMCONF "/backgroundrc"
158+Default: *"/etc/X11/kdm/backgroundrc"
159 User: greeter-c
160 Instance: #*/""
161 Update: handleBgCfg
25db84ad 162diff -Nru kdebase-workspace-4.3.73svn1040395/kdm/kfrontend/CMakeLists.txt kdebase-workspace-4.3.73svn1040395-new/kdm/kfrontend/CMakeLists.txt
163--- kdebase-workspace-4.3.73svn1040395/kdm/kfrontend/CMakeLists.txt 2009-10-02 16:54:04.000000000 +0200
164+++ kdebase-workspace-4.3.73svn1040395-new/kdm/kfrontend/CMakeLists.txt 2009-10-28 22:58:08.000000000 +0100
165@@ -112,5 +112,5 @@
60c43d87
AM
166
167 ## use 'GENKDMCONF_FLAGS=... make install' to add flags to the config generation (try genkdmconf -h)
168 install(CODE "
169-exec_program(\"${CMAKE_CURRENT_BINARY_DIR}/genkdmconf\" ARGS --in \\\"\\\$DESTDIR${CONFIG_INSTALL_DIR}/kdm\\\" --no-in-notice --face-src \\\"${CMAKE_CURRENT_SOURCE_DIR}/pics\\\" \\\$GENKDMCONF_FLAGS)
04d84703 170+exec_program(\"${CMAKE_CURRENT_BINARY_DIR}/genkdmconf\" ARGS --in \\\"\\\${DESTDIR}/etc/X11/kdm\\\" --no-in-notice --face-src \\\"${CMAKE_CURRENT_SOURCE_DIR}/pics\\\" \\\$GENKDMCONF_FLAGS)
60c43d87 171 ")
dab4a4a4 172--- kdebase-workspace-4.5.0/kdm/kfrontend/genkdmconf.c.orig 2010-07-06 08:54:31.000000000 +0200
173+++ kdebase-workspace-4.5.0/kdm/kfrontend/genkdmconf.c 2010-07-30 20:40:48.828680855 +0200
174@@ -3254,7 +3254,7 @@
175 f = createFile("README", 0644);
176 fprintf_(f,
177 "This automatically generated configuration consists of the following files:\n");
178- fprintf_(f, "- " KDMCONF "/kdmrc\n");
179+ fprintf( f, "- /etc/X11/kdm/kdmrc\n" );
180 for (fp = aflist; fp; fp = fp->next)
181 fprintf_(f, "- %s\n", fp->str);
182 if (use_destdir && !no_in_notice)
183--- kdebase-workspace-4.5.0/kdm/kfrontend/kdmctl.c.orig 2010-07-06 08:54:31.000000000 +0200
184+++ kdebase-workspace-4.5.0/kdm/kfrontend/kdmctl.c 2010-07-30 20:42:26.855824153 +0200
185@@ -150,7 +150,7 @@
186 {
187 char *dpy = getenv("DISPLAY");
188 const char *ctl = getenv("DM_CONTROL");
189- const char *cfg = KDE_CONFDIR "/kdm/kdmrc";
190+ const char *cfg = "/etc/X11/kdm/kdmrc";
191 char *ptr;
192 int fd;
98df1026 193
25db84ad 194diff -Nru kdebase-workspace-4.3.73svn1040395/kdm/kfrontend/sessions/CMakeLists.txt kdebase-workspace-4.3.73svn1040395-new/kdm/kfrontend/sessions/CMakeLists.txt
195--- kdebase-workspace-4.3.73svn1040395/kdm/kfrontend/sessions/CMakeLists.txt 2008-04-30 15:58:40.000000000 +0200
196+++ kdebase-workspace-4.3.73svn1040395-new/kdm/kfrontend/sessions/CMakeLists.txt 2009-10-28 22:58:08.000000000 +0100
5cb389e0 197@@ -51,5 +51,5 @@
198 xfce.desktop
199 xfce4.desktop
200
201- DESTINATION ${DATA_INSTALL_DIR}/kdm/sessions
202+ DESTINATION /etc/X11/sessions
203 )
This page took 0.054184 seconds and 4 git commands to generate.