Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Eric Sandall (c0f62794ef171fc432102672ccbab59fe1f81129)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Eric Sandall <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Eric Sandall (c0f62794ef171fc432102672ccbab59fe1f81129)
  • Date: Wed, 28 Apr 2010 14:38:28 -0500

GIT changes to master grimoire by Eric Sandall <sandalle AT sourcemage.org>:

printer/pycups/HISTORY | 6 ++++++
printer/pycups/PRE_BUILD | 3 +++
printer/pycups/python2.5.patch | 33 +++++++++++++++++++++++++++++++++
3 files changed, 42 insertions(+)

New commits:
commit c0f62794ef171fc432102672ccbab59fe1f81129
Author: Eric Sandall <sandalle AT sourcemage.org>
Commit: Eric Sandall <sandalle AT sourcemage.org>

pycups: Apply python2.5.patch (Fixes Bug #15656)
Based on
http://git.fedorahosted.org/git/?p=pycups.git;a=commit;h=fefe4d6b50c5f1c0bcafa40da60170f42217de82
https://fedorahosted.org/pycups/ticket/14

diff --git a/printer/pycups/HISTORY b/printer/pycups/HISTORY
index 488bb47..8a36ea3 100644
--- a/printer/pycups/HISTORY
+++ b/printer/pycups/HISTORY
@@ -1,3 +1,9 @@
+2010-04-28 Eric Sandall <sandalle AT sourcemage.org>
+ * PRE_BUILD: Apply python2.5.patch (Fixes Bug #15656)
+ * python2.5.patch: Based on
+
http://git.fedorahosted.org/git/?p=pycups.git;a=commit;h=fefe4d6b50c5f1c0bcafa40da60170f42217de82
+ https://fedorahosted.org/pycups/ticket/14
+
2010-03-10 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 1.9.49

diff --git a/printer/pycups/PRE_BUILD b/printer/pycups/PRE_BUILD
new file mode 100755
index 0000000..1ffd20b
--- /dev/null
+++ b/printer/pycups/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd $SOURCE_DIRECTORY &&
+patch -p1 < $SCRIPT_DIRECTORY/python2.5.patch
diff --git a/printer/pycups/python2.5.patch b/printer/pycups/python2.5.patch
new file mode 100644
index 0000000..ed7fc48
--- /dev/null
+++ b/printer/pycups/python2.5.patch
@@ -0,0 +1,33 @@
+#
+# Based on
+#
http://git.fedorahosted.org/git/?p=pycups.git;a=commit;h=fefe4d6b50c5f1c0bcafa40da60170f42217de82
+# https://fedorahosted.org/pycups/ticket/14
+#
+diff -Naur pycups-1.9.49.orig/Makefile pycups-1.9.49/Makefile
+--- pycups-1.9.49.orig/Makefile 2010-04-28 12:25:05.016799280 -0700
++++ pycups-1.9.49/Makefile 2010-04-28 12:34:20.275799057 -0700
+@@ -1,5 +1,4 @@
+ NAME=pycups
+-VERSION=1.9.49
+
+ SOURCES=cupsmodule.c cupsconnection.c cupsppd.c cupsipp.c setup.py \
+ cupsppd.h cupsipp.h cupsconnection.h cupsmodule.h
+@@ -9,7 +8,7 @@
+ COPYING NEWS README TODO ChangeLog
+
+ cups.so: $(SOURCES)
+- CFLAGS=-DVERSION=\\\"$(VERSION)\\\" python setup.py build
++ python setup.py build
+ mv build/lib*/$@ .
+
+ doc: cups.so
+diff -Naur pycups-1.9.49.orig/setup.py pycups-1.9.49/setup.py
+--- pycups-1.9.49.orig/setup.py 2010-04-28 12:25:05.016799280 -0700
++++ pycups-1.9.49/setup.py 2010-04-28 12:35:39.438674099 -0700
+@@ -3,4 +3,5 @@
+ ext_modules=[Extension("cups",
+ ["cupsmodule.c", "cupsconnection.c",
+ "cupsppd.c", "cupsipp.c"],
+- libraries=["cups"])])
++ libraries=["cups"],
++ define_macros=[("VERSION", '"1.9.49"')])])



  • [SM-Commit] GIT changes to master grimoire by Eric Sandall (c0f62794ef171fc432102672ccbab59fe1f81129), Eric Sandall, 04/28/2010

Archive powered by MHonArc 2.6.24.

Top of Page