Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 456360
Collapse All | Expand All

(-)Makefile.am (-102 / +6 lines)
Lines 1-4 Link Here
1
CFLAGS=-g -O2 -Wall
1
AM_CFLAGS=-Wall
2
2
3
SUBDIRS=po
3
SUBDIRS=po
4
4
Lines 86-170 Link Here
86
nobase_pkgdata_SCRIPTS=				\
86
nobase_pkgdata_SCRIPTS=				\
87
	check-device-ids.py			\
87
	check-device-ids.py			\
88
	pysmb.py				\
88
	pysmb.py				\
89
	scp-dbus-service.py			\
89
	scp-dbus-service.py
90
	system-config-printer.py		\
91
	install-printerdriver.py		\
92
	troubleshoot/__init__.py		\
93
	applet.py
94
90
95
nobase_pkgdata_DATA=					\
91
nobase_pkgdata_DATA=					\
96
	asyncconn.py					\
92
	asyncconn.py					\
97
	asyncipp.py					\
98
	asyncpk1.py					\
93
	asyncpk1.py					\
99
	authconn.py					\
100
	config.py					\
94
	config.py					\
101
	cupspk.py					\
102
	debug.py					\
95
	debug.py					\
103
	dnssdresolve.py					\
96
	dnssdresolve.py					\
104
	errordialogs.py					\
105
	HIG.py						\
106
	firewallsettings.py					\
97
	firewallsettings.py					\
107
	gui.py						\
108
	gtkinklevel.py					\
109
	installpackage.py				\
98
	installpackage.py				\
110
	jobviewer.py					\
111
	monitor.py					\
99
	monitor.py					\
112
	newprinter.py					\
113
	options.py					\
114
	optionwidgets.py				\
115
	PhysicalDevice.py				\
100
	PhysicalDevice.py				\
116
	ppdcache.py					\
117
	ppdippstr.py					\
101
	ppdippstr.py					\
118
	ppdsloader.py					\
119
	printerproperties.py				\
120
	probe_printer.py				\
102
	probe_printer.py				\
121
	SearchCriterion.py				\
103
	SearchCriterion.py				\
122
	serversettings.py				\
123
	smburi.py					\
104
	smburi.py					\
124
	statereason.py					\
105
	statereason.py					\
125
	timedops.py					\
126
	ToolbarSearchEntry.py				\
127
	userdefault.py					\
128
	ui/AboutDialog.ui				\
129
	ui/ConnectDialog.ui				\
130
	ui/ConnectingDialog.ui				\
131
	ui/InstallDialog.ui				\
132
	ui/JobsWindow.ui				\
133
	ui/NewPrinterName.ui				\
134
	ui/NewPrinterWindow.ui				\
135
	ui/PrinterPropertiesDialog.ui			\
136
	ui/PrintersWindow.ui				\
137
	ui/ServerSettingsDialog.ui			\
138
	ui/SMBBrowseDialog.ui				\
139
	ui/statusicon_popupmenu.ui			\
140
	ui/WaitWindow.ui				\
141
	icons/i-network-printer.png			\
142
	troubleshoot/base.py				\
143
	troubleshoot/CheckLocalServerPublishing.py	\
144
	troubleshoot/CheckNetworkServerSanity.py	\
145
	troubleshoot/CheckPPDSanity.py			\
146
	troubleshoot/CheckPrinterSanity.py		\
147
	troubleshoot/CheckSELinux.py			\
148
	troubleshoot/CheckUSBPermissions.py		\
149
	troubleshoot/ChooseNetworkPrinter.py		\
150
	troubleshoot/ChoosePrinter.py			\
151
	troubleshoot/DeviceListed.py			\
152
	troubleshoot/ErrorLogCheckpoint.py		\
153
	troubleshoot/ErrorLogFetch.py			\
154
	troubleshoot/ErrorLogParse.py			\
155
	troubleshoot/Locale.py				\
156
	troubleshoot/LocalOrRemote.py			\
157
	troubleshoot/NetworkCUPSPrinterShared.py	\
158
	troubleshoot/PrinterStateReasons.py		\
159
	troubleshoot/PrintTestPage.py			\
160
	troubleshoot/QueueNotEnabled.py			\
161
	troubleshoot/QueueRejectingJobs.py		\
162
	troubleshoot/RemoteAddress.py			\
163
	troubleshoot/SchedulerNotRunning.py		\
164
	troubleshoot/ServerFirewalled.py		\
165
	troubleshoot/Shrug.py				\
166
	troubleshoot/VerifyPackages.py			\
167
	troubleshoot/Welcome.py				\
168
	xml/preferreddrivers.rng			\
106
	xml/preferreddrivers.rng			\
169
	xml/validate.py
107
	xml/validate.py
170
108
Lines 173-191 Link Here
173
	xml/preferreddrivers.xml
111
	xml/preferreddrivers.xml
174
112
175
bin_SCRIPTS=					\
113
bin_SCRIPTS=					\
176
	system-config-printer			\
177
	install-printerdriver			\
178
	system-config-printer-applet		\
179
	dbus/scp-dbus-service
114
	dbus/scp-dbus-service
180
115
181
if UDEV_RULES
116
if UDEV_RULES
182
udevrulesdir=$(sysconfdir)/udev/rules.d
117
udevrulesdir=$(shell pkg-config --variable=udevdir udev)/rules.d
183
udevrules_DATA=udev/70-printers.rules
118
udevrules_DATA=udev/70-printers.rules
184
udev_udev_configure_printer_SOURCES=\
119
udev_udev_configure_printer_SOURCES=\
185
	udev/udev-configure-printer.c
120
	udev/udev-configure-printer.c
186
udev_udev_configure_printer_LDADD= -lcups -ludev $(libusb_LIBS) $(GLIB_LIBS)
121
udev_udev_configure_printer_LDADD= -lcups $(libudev_LIBS) $(libusb_LIBS) $(GLIB_LIBS)
187
udev_udev_configure_printer_CFLAGS= $(AM_CFLAGS) $(libusb_CFLAGS) $(GLIB_CFLAGS)
122
udev_udev_configure_printer_CFLAGS= $(AM_CFLAGS) $(libudev_CFLAGS) $(libusb_CFLAGS) $(GLIB_CFLAGS)
188
udevhelperdir=$(sysconfdir)/udev
123
udevhelperdir=$(shell pkg-config --variable=udevdir udev)
189
udevhelper_PROGRAMS=\
124
udevhelper_PROGRAMS=\
190
	udev/udev-configure-printer
125
	udev/udev-configure-printer
191
udevhelper_SCRIPTS=\
126
udevhelper_SCRIPTS=\
Lines 202-211 Link Here
202
137
203
endif
138
endif
204
139
205
man_MANS=					\
206
	man/system-config-printer.1		\
207
	man/system-config-printer-applet.1
208
209
dbus_DATA =					\
140
dbus_DATA =					\
210
	dbus/com.redhat.NewPrinterNotification.conf		\
141
	dbus/com.redhat.NewPrinterNotification.conf		\
211
	dbus/com.redhat.PrinterDriversInstaller.conf
142
	dbus/com.redhat.PrinterDriversInstaller.conf
Lines 219-257 Link Here
219
	dbus/org.fedoraproject.Config.Printing.service
150
	dbus/org.fedoraproject.Config.Printing.service
220
dbusservicesdir = $(datadir)/dbus-1/services/
151
dbusservicesdir = $(datadir)/dbus-1/services/
221
152
222
desktop_DATA =\
223
	system-config-printer.desktop \
224
	print-applet.desktop
225
desktopdir = $(datadir)/applications/
153
desktopdir = $(datadir)/applications/
226
autostartdir = $(sysconfdir)/xdg/autostart/
154
autostartdir = $(sysconfdir)/xdg/autostart/
227
155
228
DESKTOP_VENDOR=@DESKTOPVENDOR@
156
DESKTOP_VENDOR=@DESKTOPVENDOR@
229
DESKTOP_PREFIX=@DESKTOPPREFIX@
157
DESKTOP_PREFIX=@DESKTOPPREFIX@
230
158
231
install-desktopDATA: $(desktop_DATA)
232
	mkdir -p $(DESTDIR)$(desktopdir)
233
	mkdir -p $(DESTDIR)$(desktopdir)
234
	desktop-file-install $(DESKTOP_VENDOR)	\
235
	  --dir $(DESTDIR)$(desktopdir)		\
236
	  --add-category System			\
237
	  --add-category Settings		\
238
	  --add-category HardwareSettings	\
239
	  --add-category Printing		\
240
	  --add-category GTK			\
241
	  system-config-printer.desktop
242
	desktop-file-install $(DESKTOP_VENDOR)	\
243
	  --dir $(DESTDIR)$(autostartdir)	\
244
	  --add-category System			\
245
	  --add-category Monitor		\
246
	  --add-category GTK			\
247
	  print-applet.desktop
248
249
uninstall-desktopDATA:
250
	rm -f $(DESTDIR)$(desktopdir)/$(DESKTOP_PREFIX)system-config-printer.desktop
251
	rm -f $(DESTDIR)$(autostartdir)/$(DESKTOP_PREFIX)print-applet.desktop
252
253
desktop_in_files = $(desktop_DATA:.desktop=.desktop.in)
254
255
EXTRA_DIST=\
159
EXTRA_DIST=\
256
	$(nobase_pkgdata_SCRIPTS) \
160
	$(nobase_pkgdata_SCRIPTS) \
257
	$(nobase_pkgdata_DATA) \
161
	$(nobase_pkgdata_DATA) \

Return to bug 456360