Lines 167-172
setup(name="scribes",
Link Here
|
167 |
("share/application-registry", |
167 |
("share/application-registry", |
168 |
["data/scribes.application"]), |
168 |
["data/scribes.application"]), |
169 |
("share/scribes/", ["data/scribes_toolbar_ui.xml"]), |
169 |
("share/scribes/", ["data/scribes_toolbar_ui.xml"]), |
|
|
170 |
("/etc/gconf/schemas", ["data/scribes.schemas"]), |
170 |
("share/gnome/help/scribes/C", ["data/scribes.xml"]), |
171 |
("share/gnome/help/scribes/C", ["data/scribes.xml"]), |
171 |
("share/gnome/help/scribes/C", ["data/legal.xml"]), |
172 |
("share/gnome/help/scribes/C", ["data/legal.xml"]), |
172 |
("share/omf/scribes", ["data/scribes-C.omf"]), |
173 |
("share/omf/scribes", ["data/scribes-C.omf"]), |
Lines 176-225
setup(name="scribes",
Link Here
|
176 |
scripts=["scribes"],) |
177 |
scripts=["scribes"],) |
177 |
|
178 |
|
178 |
|
179 |
|
179 |
################################################################################ |
|
|
180 |
# |
181 |
# GConf Installation |
182 |
# |
183 |
################################################################################ |
184 |
|
185 |
# Get gconf's default source |
186 |
|
187 |
cmd = "gconftool-2 --get-default-source" |
188 |
err, out = getstatusoutput(cmd) |
189 |
|
190 |
# Set up the gconf environment variable. |
191 |
|
192 |
putenv('GCONF_CONFIG_SOURCE', out) |
193 |
|
194 |
# Install gconf to the default source |
195 |
|
196 |
cmd = "gconftool-2 --makefile-install-rule data/scribes.schemas" |
197 |
err, out = getstatusoutput(cmd) |
198 |
|
199 |
if out: |
200 |
|
201 |
print "installing GConf schema files" |
202 |
|
203 |
if err: |
204 |
|
205 |
print 'Error: installation of gconf schema files failed: %s' % out |
206 |
|
207 |
# Kill the GConf daemon |
208 |
|
209 |
cmd = "killall gconfd-2" |
210 |
err, out = getstatusoutput(cmd) |
211 |
|
212 |
if err: |
213 |
|
214 |
print "Problem shutting down gconf." |
215 |
|
216 |
# Start the GConf daemon |
217 |
|
218 |
cmd = "gconftool-2 --spawn" |
219 |
err, out = getstatusoutput(cmd) |
220 |
|
221 |
if err: |
222 |
|
223 |
print "Problem restarting down gconf." |
224 |
|
225 |
print "scribes installation complete" |
180 |
print "scribes installation complete" |