Hi, Attached is the diff for my flpsed 0.3.7-1.1 NMU.
-- Andrea Mennucc "The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do, and the GPL sounds like it was written by a human being who wants me to know what I can do." Anonymous, http://www.securityfocus.com/columnists/420
diff -u flpsed-0.3.7/debian/changelog flpsed-0.3.7/debian/changelog
--- flpsed-0.3.7/debian/changelog
+++ flpsed-0.3.7/debian/changelog
@@ -1,3 +1,20 @@
+flpsed (0.3.7-1.1) unstable; urgency=high
+
+ * NMU, backported some changes from version 0.3.9
+ * debian/rules : use "make distclean" to delete .deps dirs and other cruft
+ * Add "Depends: gs-esp" and use gs-esp (Closes: #402451).
+ The lack of dependency is a RC bug, hence the urgency.
+ * GsWidget::setProps() : call XSync()
+ (this is done in 0.3.9 to use gs-gpl ; it does not solve bug 402451
+ in Debian; but it makes sense nonetheless)
+ * Add Recommends: xpdf-utils | poppler-utils ; this fixes bug
+ "pdftops needed for pdf import", thanks to Stephan Beyer (Closes: #388318).
+ * Bug fix: "flpsed generates postscript with references to an unknown
+ font 'HelveticaNeue-Roman'", thanks to Jochen Eisinger (Closes: #398906)
+ (this change is also part of the newer 0.3.9, so it is a backport)
+
+ -- A Mennucc1 <[EMAIL PROTECTED]> Fri, 12 Jan 2007 09:37:15 +0100
+
flpsed (0.3.7-1) unstable; urgency=low
* New upstream release. Closes: #357749.
diff -u flpsed-0.3.7/debian/control flpsed-0.3.7/debian/control
--- flpsed-0.3.7/debian/control
+++ flpsed-0.3.7/debian/control
@@ -7,7 +7,8 @@
Package: flpsed
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: gs-esp, ${shlibs:Depends}, ${misc:Depends}
+Recommends: xpdf-utils | poppler-utils
Description: a WYSIWYG pseudo PostScript editor
flpsed is a WYSIWYG pseudo PostScript editor. "Pseudo", because you can't
remove or modify existing elements of a document. But flpsed lets you add
diff -u flpsed-0.3.7/debian/rules flpsed-0.3.7/debian/rules
--- flpsed-0.3.7/debian/rules
+++ flpsed-0.3.7/debian/rules
@@ -29,7 +29,7 @@
dh_testroot
rm -f build-stamp flpsed.1
- -$(MAKE) clean
+ -$(MAKE) distclean
dh_clean
--- flpsed-0.3.7.orig/src/Postscript.cxx
+++ flpsed-0.3.7/src/Postscript.cxx
@@ -27,7 +27,7 @@
#define PS_POS_FORMAT "newpath %d %d moveto\n"
#define PS_TEXT_FORMAT "(%s) show\n"
-#define PS_SIZE_FORMAT "/HelveticaNeue-Roman findfont %d scalefont setfont\n"
+#define PS_SIZE_FORMAT "/Helvetica findfont %d scalefont setfont\n"
#define PS_COLOR_FORMAT "%lf %lf %lf setrgbcolor\n"
#define PS_GLYPH_FORMAT "/%s glyphshow\n"
#define PS_TAG_FORMAT ""
--- flpsed-0.3.7.orig/src/GsWidget.cxx
+++ flpsed-0.3.7/src/GsWidget.cxx
@@ -85,6 +85,8 @@
XChangeProperty(fl_display, xid, atoms[1],
XA_STRING, 8, PropModeReplace,
(unsigned char*) data, strlen(data));
+
+ XSync(fl_display, False);
}
void GsWidget::kill_gs() {
@@ -302,7 +304,7 @@
(int) fl_xid(window()), (int) offscreen);
putenv(gvenv);
- argv[0] = "gs";
+ argv[0] = "gs-esp";
argv[1] = "-dSAFER";
argv[2] = "-dQUIET";
argv[3] = "-sDEVICE=x11alpha";
signature.asc
Description: Digital signature

