HP2500C driver writes devmode with private data that ends
[samba.git] / source3 / python / samba-head.patch
1 Index: Makefile.in
2 ===================================================================
3 RCS file: /data/cvs/samba/source/Makefile.in,v
4 retrieving revision 1.465
5 diff -u -r1.465 Makefile.in
6 --- Makefile.in 2002/04/04 22:58:56     1.465
7 +++ Makefile.in 2002/04/05 05:48:51
8 @@ -785,6 +785,29 @@
9         -$(INSTALLCMD) -d ${prefix}/include
10         -$(INSTALLCMD) include/libsmbclient.h ${prefix}/include
11  
12 +# Python extensions
13 +
14 +PYTHON_OBJS = $(LIB_OBJ) $(LIBSMB_OBJ) $(RPC_PARSE_OBJ) $(UBIQX_OBJ) \
15 +       $(PARAM_OBJ) $(LIBMSRPC_OBJ) $(PASSDB_OBJ) $(GROUPDB_OBJ)
16 +
17 +PY_SPOOLSS_PROTO_OBJ = python/py_spoolss.o \
18 +               python/py_spoolss_printers.o python/py_spoolss_printers_conv.o\
19 +               python/py_spoolss_forms.o python/py_spoolss_forms_conv.o \
20 +               python/py_spoolss_ports.o python/py_spoolss_ports_conv.o \
21 +               python/py_spoolss_drivers.o python/py_spoolss_drivers_conv.o \
22 +
23 +python_proto: python_spoolss_proto
24 +
25 +python_spoolss_proto:
26 +       @cd $(srcdir) && $(SHELL) script/mkproto.sh $(AWK) \
27 +               -h _PY_SPOOLSS_PROTO_H python/py_spoolss_proto.h \
28 +               $(PY_SPOOLSS_PROTO_OBJ)
29 +
30 +python_ext: $(PYTHON_OBJS)
31 +       @echo python python/setup.py build
32 +       @PYTHON_OBJS="$(PYTHON_OBJS)" PYTHON_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
33 +               python python/setup.py build
34 +
35  # revert to the previously installed version
36  revert:
37         @$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SPROGS) 
38 Index: configure.in
39 ===================================================================
40 RCS file: /data/cvs/samba/source/configure.in,v
41 retrieving revision 1.298
42 diff -u -r1.298 configure.in
43 --- configure.in        2002/04/04 05:47:41     1.298
44 +++ configure.in        2002/04/05 05:48:52
45 @@ -2695,7 +2695,7 @@
46  builddir=`pwd`
47  AC_SUBST(builddir)
48  
49 -AC_OUTPUT(include/stamp-h Makefile)
50 +AC_OUTPUT(include/stamp-h Makefile python/setup.py)
51  
52  #################################################
53  # Print very concise instructions on building/use