summaryrefslogtreecommitdiff
blob: cf9f986ec3b246630dc3e6edc9a586f0fe77e6b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
diff -ru ../system-config-printer-1.1.16/configure.in ./configure.in
--- ../system-config-printer-1.1.16/configure.in	2009-12-22 15:44:19.000000000 +0100
+++ ./configure.in	2010-01-16 06:30:30.200718127 +0100
@@ -1,6 +1,6 @@
 AC_INIT(system-config-printer, 1.1.16)
 AC_CONFIG_SRCDIR(system-config-printer.py)
-AM_INIT_AUTOMAKE([dist-xz dist-bzip2 subdir-objects 1.6])
+AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects 1.6])
 IT_PROG_INTLTOOL
 AM_GNU_GETTEXT([external])
 AM_PATH_PYTHON
diff -ru ../system-config-printer-1.1.16/Makefile.am ./Makefile.am
--- ../system-config-printer-1.1.16/Makefile.am	2009-12-22 15:44:19.000000000 +0100
+++ ./Makefile.am	2010-01-16 06:33:42.388946122 +0100
@@ -2,77 +2,8 @@
 
 SUBDIRS=po
 
-EXPORT_MODULES=					\
-	cupshelpers/__init__.py			\
-	cupshelpers/cupshelpers.py		\
-	cupshelpers/ppds.py			\
-	cupshelpers/openprinting.py
-
-### Automake hooks for Distutils.
-# The distutils module doesn't understand srcdir != builddir,
-# so we copy in, along with the cupshelpers modules, into
-# the builddir for 'all', 'install-exec', and 'clean' hooks.
-.stamp-distutils-in-builddir:	setup.py $(EXPORT_MODULES)
-	if [ "$(top_srcdir)" != "$(top_builddir)" ]; then	\
-		cp $(top_srcdir)/setup.py .;			\
-		mkdir cupshelpers;				\
-		for file in $(EXPORT_MODULES); do		\
-			cp $(top_srcdir)/$$file $$file;		\
-		done;						\
-	fi
-	touch .stamp-distutils-in-builddir
-
-dist-hook: mk-ChangeLog
-.PHONE: mk-ChangeLog
-mk-ChangeLog:
-	if test -d .git; then				\
-	  $(top_srcdir)/gitlog-to-changelog		\
-	    --since=2009-05-01 -- --no-merges		\
-	    > $(distdir)/cl ;				\
-	  mv -f $(distdir)/cl $(distdir)/ChangeLog ;	\
-	fi
-
-config.py: config.py.in Makefile
-	sed \
-	  -e "s|\@prefix\@|$(prefix)|" \
-	  -e "s|\@datadir\@|$(datadir)|" \
-	  -e "s|\@localedir\@|$(localedir)|" \
-	  -e "s|\@VERSION\@|$(VERSION)|" \
-	  -e "s|\@PACKAGE\@|$(PACKAGE)|" \
-	  -e "s|\@WITH_POLKIT_1\@|$(WITH_POLKIT_1)|" \
-	  $< > $@
-
-# Use distutils to build the module.
-all-local: .stamp-distutils-in-builddir config.py
-	$(PYTHON) setup.py build
-
-# Use distutils to install the module.
-install-exec-local: .stamp-distutils-in-builddir
-	$(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
-
-# Uninstall the module, crossing our fingers that we know enough
-# about how distutils works to do this.  Unfortunately, distutils
-# doesn't provide a way to do this itself.
-uninstall-local:
-	rm -f $(DESTDIR)/$(pythondir)/cupshelpers*.egg-info
-	for file in $(EXPORT_MODULES); do				\
-		rm -f $(DESTDIR)/$(pythondir)/$$file*;			\
-	done
-
-# Tell distutils to clean up.
-clean-local:
-	-$(PYTHON) setup.py clean --all
-	if [ "$(top_srcdir)" != "$(top_builddir)" ]; then	\
-		rm -f setup.py;					\
-		for file in $(EXPORT_MODULES); do		\
-			rm -f $$file*;				\
-		done;						\
-	fi
-	rm -f .stamp-distutils-in-builddir
-
 nobase_pkgdata_SCRIPTS=				\
 	my-default-printer.py			\
-	pysmb.py				\
 	system-config-printer.py		\
 	troubleshoot/__init__.py		\
 	applet.py
@@ -84,9 +15,7 @@
 	asyncpk0.py					\
 	asyncpk1.py					\
 	authconn.py					\
-	config.py					\
 	cupspk.py					\
-	debug.py					\
 	errordialogs.py					\
 	HIG.py						\
 	firewall.py					\
@@ -95,22 +24,13 @@
 	GroupsPaneModel.py				\
 	gtkinklevel.py					\
 	gtkspinner.py					\
-	installpackage.py				\
 	jobviewer.py					\
-	monitor.py					\
 	options.py					\
 	optionwidgets.py				\
-	PhysicalDevice.py				\
-	ppdippstr.py					\
-	probe_printer.py				\
 	gtk_label_autowrap.py				\
-	SearchCriterion.py				\
-	smburi.py					\
-	statereason.py					\
 	timedops.py					\
 	ToolbarSearchEntry.py				\
 	userdefault.py					\
-	XmlHelper.py					\
 	glade/AboutDialog.glade				\
 	glade/ConnectDialog.glade			\
 	glade/ConnectingDialog.glade			\
@@ -172,8 +92,6 @@
 	man/system-config-printer.1		\
 	man/system-config-printer-applet.1
 
-dbus_DATA =\
-	newprinternotification.conf
 dbusdir = $(sysconfdir)/dbus-1/system.d/
 
 desktop_DATA =\