[gl2ps] 01/15: Import debian-directory.

Anton Gladky gladk at moszumanska.debian.org
Thu May 19 20:47:30 UTC 2016


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository gl2ps.

commit e4e24377dd2575ffb15636c0743299304486f99f
Author: Anton Gladky <gladk at debian.org>
Date:   Thu May 19 21:48:42 2016 +0200

    Import debian-directory.
---
 debian/README.Debian                               |  5 ++
 debian/changelog                                   | 73 +++++++++++++++++++++
 debian/compat                                      |  1 +
 debian/control                                     | 75 ++++++++++++++++++++++
 debian/copyright                                   | 72 +++++++++++++++++++++
 debian/docs                                        |  0
 debian/libgl2ps-dev.install                        |  2 +
 debian/libgl2ps0.install                           |  1 +
 debian/orig-tar.exclude                            |  2 +
 debian/orig-tar.sh                                 | 19 ++++++
 .../patches/1000_gl2ps_tikz-fix-rotated-text.patch | 32 +++++++++
 debian/patches/buildsys.diff                       | 47 ++++++++++++++
 debian/patches/linkGL.diff                         | 13 ++++
 debian/patches/series                              |  4 ++
 debian/patches/undef.patch                         | 24 +++++++
 debian/rules                                       |  8 +++
 debian/source/format                               |  1 +
 debian/watch                                       |  3 +
 18 files changed, 382 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..ec3cae4
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,5 @@
+Please note that the patch is adapted from Fedora packages.
+Thanks for that.
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Fri, 09 Oct 2009 16:44:27 +0200
+
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..abbb9e1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,73 @@
+gl2ps (1.3.8-1.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * 1000_gl2ps_tikz-fix-rotated-text.patch: Make sure brace is closed for
+    rotated text (Closes: #820930).
+
+ -- Agustin Martin Domingo <agmartin at debian.org>  Thu, 05 May 2016 15:31:44 +0200
+
+gl2ps (1.3.8-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix compilation error (missing libGL.so). Closes: #775412
+    Add missing deps on libgl-dev
+
+ -- Mathieu Malaterre <malat at debian.org>  Thu, 15 Jan 2015 12:48:33 +0100
+
+gl2ps (1.3.8-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix undefined symbols. Closes: #775403
+    + d/p/undef.patch
+
+ -- Mathieu Malaterre <malat at debian.org>  Thu, 15 Jan 2015 11:43:18 +0100
+
+gl2ps (1.3.8-1) unstable; urgency=low
+
+  * Upload to unstable
+  * Standards-Version updated to 3.9.4
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Tue, 14 May 2013 11:07:39 +0200
+
+gl2ps (1.3.8-1~exp1) experimental; urgency=low
+
+  * New upstream release
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Mon, 10 Dec 2012 18:14:17 +0100
+
+gl2ps (1.3.7-1~exp1) experimental; urgency=low
+
+  * New upstream release
+  * Standards-Version updated to version 3.9.3
+  * Switch to dpkg-source 3.0 (quilt) format
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Tue, 18 Sep 2012 09:07:17 +0200
+
+gl2ps (1.3.6-1) unstable; urgency=low
+
+  * New upstream release
+  * Standards-Version updated to version 3.9.2
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Mon, 22 Aug 2011 00:28:00 +0200
+
+gl2ps (1.3.5-2) unstable; urgency=low
+
+  * -Wl,--no-add-needed added to the linker. Should (Closes: #558864)
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Fri, 18 Dec 2009 17:59:07 +0100
+
+gl2ps (1.3.5-1) unstable; urgency=low
+
+  * New upstream release
+  * change in the repack script (orig-tar.sh) since upstream changed the dir
+    name
+  * patch noexit.diff removed (applied upstream)
+  * TODO file removed (no longer in upstream tarball)
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Mon, 09 Nov 2009 12:04:30 +0100
+
+gl2ps (1.3.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #550369)
+
+ -- Sylvestre Ledru <sylvestre at debian.org>  Fri, 09 Oct 2009 16:44:27 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3f23a00
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,75 @@
+Source: gl2ps
+Section: libs
+Priority: optional
+Maintainer: Sylvestre Ledru <sylvestre at debian.org>
+Build-Depends: debhelper (>= 7), cdbs, mesa-common-dev, libgl1-mesa-dev | libgl-dev
+Standards-Version: 3.9.4
+Homepage: http://geuz.org/gl2ps/
+Vcs-Svn: https://bollin.googlecode.com/svn/gl2ps/trunk
+Vcs-Browser: http://bollin.googlecode.com/svn/gl2ps/trunk
+
+Package: libgl2ps-dev
+Section: libdevel
+Architecture: any
+Depends:  libgl2ps0 (= ${binary:Version}), ${misc:Depends}
+Description: Lib providing high quality vector output for OpenGL application
+ GL2PS is a C library providing high quality vector output for any OpenGL
+ application. The main difference between GL2PS and other similar libraries
+ is the use of sorting algorithms capable of handling intersecting and
+ stretched polygons, as well as non manifold objects. GL2PS provides advanced
+ smooth shading and text rendering, culling of invisible primitives, mixed
+ vector/bitmap output, and much more...
+ .
+ GL2PS can currently create PostScript (PS), Encapsulated PostScript (EPS),
+ Portable Document Format (PDF) and Scalable Vector Graphics (SVG) files,
+ as well as LATEX files for the text fragments. GL2PS also provides limited,
+ experimental support for Portable LaTeX Graphics (PGF). Adding new vector
+ output formats should be relatively easy; you can also use the excellent
+ pstoedit program to transform the PostScript files generated by GL2PS into
+ many other vector formats such as xfig, cgm, wmf, etc.
+ .
+ This package contains the development files needed to compile software to
+ use the libgl2ps API.
+
+Package: libgl2ps0
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Lib providing high quality vector output for OpenGL application
+ GL2PS is a C library providing high quality vector output for any OpenGL
+ application. The main difference between GL2PS and other similar libraries
+ is the use of sorting algorithms capable of handling intersecting and
+ stretched polygons, as well as non manifold objects. GL2PS provides advanced
+ smooth shading and text rendering, culling of invisible primitives, mixed
+ vector/bitmap output, and much more...
+ .
+ GL2PS can currently create PostScript (PS), Encapsulated PostScript (EPS),
+ Portable Document Format (PDF) and Scalable Vector Graphics (SVG) files,
+ as well as LATEX files for the text fragments. GL2PS also provides limited,
+ experimental support for Portable LaTeX Graphics (PGF). Adding new vector
+ output formats should be relatively easy; you can also use the excellent
+ pstoedit program to transform the PostScript files generated by GL2PS into
+ many other vector formats such as xfig, cgm, wmf, etc.
+ .
+
+Package: libgl2ps0-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: libgl2ps0 (= ${binary:Version}), ${misc:Depends}
+Description: Lib providing high quality vector output for OpenGL application
+ GL2PS is a C library providing high quality vector output for any OpenGL
+ application. The main difference between GL2PS and other similar libraries
+ is the use of sorting algorithms capable of handling intersecting and
+ stretched polygons, as well as non manifold objects. GL2PS provides advanced
+ smooth shading and text rendering, culling of invisible primitives, mixed
+ vector/bitmap output, and much more...
+ .
+ GL2PS can currently create PostScript (PS), Encapsulated PostScript (EPS),
+ Portable Document Format (PDF) and Scalable Vector Graphics (SVG) files,
+ as well as LATEX files for the text fragments. GL2PS also provides limited,
+ experimental support for Portable LaTeX Graphics (PGF). Adding new vector
+ output formats should be relatively easy; you can also use the excellent
+ pstoedit program to transform the PostScript files generated by GL2PS into
+ many other vector formats such as xfig, cgm, wmf, etc.
+ .
+ This package contains the debugging symbols of the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e029ed7
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,72 @@
+This package was debianized by Sylvestre Ledru <sylvestre at debian.org> on
+Fri, 09 Oct 2009 18:39:12 +0200
+
+It was downloaded from <http://www.geuz.org/gl2ps/>
+
+Upstream Authors:
+
+    Christophe Geuzaine <cgeuzaine at ulg.ac.be>
+
+Copyright:
+
+    Copyright (C) 2000 - 2009 Christophe Geuzaine 
+
+License:
+
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of either:
+ *
+ * a) the GNU Library General Public License as published by the Free
+ * Software Foundation, either version 2 of the License, or (at your
+ * option) any later version; or
+ *
+ * b) the GL2PS License as published by Christophe Geuzaine, either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See either
+ * the GNU Library General Public License or the GL2PS License for
+ * more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library in the file named "COPYING.LGPL";
+ * if not, write to the Free Software Foundation, Inc., 51 Franklin St,
+ *  Fifth Floor, Boston, MA 02110-1301, USA.
+ * You should have received a copy of the GL2PS License with this
+ * library in the file named "COPYING.GL2PS"; if not, I will be glad
+ * to provide one.
+
+The full text of the LGPL 2.1 can be found in
+`/usr/share/common-licenses/LGPL-2.1'.
+
+The full text of the GL2PS license is:
+
+                           GL2PS LICENSE
+                      Version 2, November 2003
+
+              Copyright (C) 2003, Christophe Geuzaine
+
+Permission to use, copy, and distribute this software and its
+documentation for any purpose with or without fee is hereby granted,
+provided that the copyright notice appear in all copies and that both
+that copyright notice and this permission notice appear in supporting
+documentation.
+
+Permission to modify and distribute modified versions of this software
+is granted, provided that:
+
+1) the modifications are licensed under the same terms as this
+software;
+
+2) you make available the source code of any modifications that you
+distribute, either on the same media as you distribute any executable
+or other form of this software, or via a mechanism generally accepted
+in the software development community for the electronic transfer of
+data.
+
+This software is provided "as is" without express or implied warranty.
+
+
+The Debian packaging is (C) 2000, Sylvestre Ledru <sylvestre at debian.org> and
+is licensed under the LGPL, see `/usr/share/common-licenses/LGPL'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e69de29
diff --git a/debian/libgl2ps-dev.install b/debian/libgl2ps-dev.install
new file mode 100644
index 0000000..2a7f5ea
--- /dev/null
+++ b/debian/libgl2ps-dev.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/include
+debian/tmp/usr/lib/lib*.so
diff --git a/debian/libgl2ps0.install b/debian/libgl2ps0.install
new file mode 100644
index 0000000..c45ebcf
--- /dev/null
+++ b/debian/libgl2ps0.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/lib*.so.*
diff --git a/debian/orig-tar.exclude b/debian/orig-tar.exclude
new file mode 100644
index 0000000..bd98a73
--- /dev/null
+++ b/debian/orig-tar.exclude
@@ -0,0 +1,2 @@
+*.pdf
+
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..1fbda26
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DIR=gl2ps-$2-source
+#TAR=../gl2ps_$2.orig.tar.gz
+
+# clean up the upstream tarball
+tar zxvf $3
+tar -c -z -f $3 -X debian/orig-tar.exclude $DIR
+rm -rf $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+    . .svn/deb-layout
+    mv $TAR $origDir
+    echo "moved $TAR to $origDir"
+fi
+
+exit 0
diff --git a/debian/patches/1000_gl2ps_tikz-fix-rotated-text.patch b/debian/patches/1000_gl2ps_tikz-fix-rotated-text.patch
new file mode 100644
index 0000000..9836dbe
--- /dev/null
+++ b/debian/patches/1000_gl2ps_tikz-fix-rotated-text.patch
@@ -0,0 +1,32 @@
+Author: Felix
+Description: gl2psPrintPGFPrimitive misses closing braces for rotated text
+Bug: https://geuz.org/trac/gl2ps/ticket/11
+Upstream-Commit: https://geuz.org/trac/gl2ps/changeset/601
+Bug-Debian: https://bugs.debian.org/820930
+
+ In function gl2psPrintPGFPrimitive, switch case GL2PS_TEXT opens a curly
+ brace which is never closed again, if the text is rotated: I discovered
+ the problem when trying to produce tikz output with octave, which produced
+ broken output when inserting labels to the y -axis.
+
+Hopes this helps, with kind regards,
+Felix
+
+Note: user and password gl2ps for "ro" access to upstream svn repo.
+
+--- a/gl2ps.c
++++ b/gl2ps.c
+@@ -5447,7 +5447,12 @@
+             prim->verts[0].rgba[0], prim->verts[0].rgba[1],
+             prim->verts[0].rgba[2], prim->data.text->str);
+ 
+-    fprintf(gl2ps->stream, "}{}{\\pgfusepath{discard}}}\n");
++    fprintf(gl2ps->stream, "}{}{\\pgfusepath{discard}}}");
++
++    if(prim->data.text->angle)
++       fprintf(gl2ps->stream, "}");
++
++    fprintf(gl2ps->stream, "\n");
+     break;
+   case GL2PS_SPECIAL :
+     /* alignment contains the format for which the special output text
diff --git a/debian/patches/buildsys.diff b/debian/patches/buildsys.diff
new file mode 100644
index 0000000..875c7e1
--- /dev/null
+++ b/debian/patches/buildsys.diff
@@ -0,0 +1,47 @@
+diff -up gl2ps-1.3.3/Makefile.b gl2ps-1.3.3/Makefile
+--- gl2ps-1.3.3/Makefile.b	2009-08-23 19:58:39.000000000 +0200
++++ gl2ps-1.3.3/Makefile	2009-08-23 19:47:15.000000000 +0200
+@@ -0,0 +1,35 @@
++OPTFLAGS = -O2 -Wall
++EXTRALIBS = -lGL -lm
++CFLAGS += $(OPTFLAGS) -fPIC
++LDFLAGS += $(EXTRALIBS)
++LDFLAGS += -Wl,--version-script=Version
++MAJOR = 0
++MINOR = 0
++MICRO = 0
++NAME = gl2ps
++HEADERS = gl2ps.h
++OBJS = gl2ps.o
++SLIBNAME_SO = lib$(NAME).so
++SLIBNAME_WITH_MAJOR = $(SLIBNAME_SO).$(MAJOR)
++SLIBNAME = $(SLIBNAME_WITH_MAJOR).$(MINOR).$(MICRO)
++SLIBDIR = /usr/lib
++INCLUDEDIR = /usr/include
++
++%.o: %.c
++	$(CC) $(CPPFLAGS) -fPIC $(CFLAGS) -c -o $@ $<
++
++all: $(SLIBNAME)
++
++clean:
++	rm -f $(OBJS) $(SLIBNAME)
++
++$(SLIBNAME): $(OBJS)
++	$(CC) -shared -Wl,-soname,$(SLIBNAME_WITH_MAJOR) -o $@ $(filter %.o,$^) $(LDFLAGS)
++
++install:
++	mkdir -p $(DESTDIR)$(SLIBDIR)
++	mkdir -p $(DESTDIR)$(INCLUDEDIR)
++	install -pm755 $(SLIBNAME) $(DESTDIR)$(SLIBDIR)
++	ln -s $(SLIBNAME) $(DESTDIR)$(SLIBDIR)/$(SLIBNAME_WITH_MAJOR)
++	ln -s $(SLIBNAME_WITH_MAJOR) $(DESTDIR)$(SLIBDIR)/$(SLIBNAME_SO)
++	install -pm644 $(HEADERS) $(DESTDIR)$(INCLUDEDIR)
+diff -up gl2ps-1.3.3/Version.b gl2ps-1.3.3/Version
+--- gl2ps-1.3.3/Version.b	2009-08-23 19:58:44.000000000 +0200
++++ gl2ps-1.3.3/Version	2009-08-23 19:58:01.000000000 +0200
+@@ -0,0 +1,4 @@
++GL2PS_1.3.3 {
++    global:
++        gl2psGetOptions;
++};
diff --git a/debian/patches/linkGL.diff b/debian/patches/linkGL.diff
new file mode 100644
index 0000000..9e8d9af
--- /dev/null
+++ b/debian/patches/linkGL.diff
@@ -0,0 +1,13 @@
+Index: gl2ps-1.3.5/Makefile
+===================================================================
+--- gl2ps-1.3.5.orig/Makefile	2009-12-18 17:56:55.000000000 +0100
++++ gl2ps-1.3.5/Makefile	2009-12-18 17:58:19.000000000 +0100
+@@ -2,7 +2,7 @@
+ EXTRALIBS = -lGL -lm
+ CFLAGS += $(OPTFLAGS) -fPIC
+ LDFLAGS += $(EXTRALIBS)
+-LDFLAGS += -Wl,--version-script=Version
++LDFLAGS += -Wl,--version-script=Version -Wl,--no-add-needed
+ MAJOR = 0
+ MINOR = 0
+ MICRO = 0
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..345dd3b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,4 @@
+buildsys.diff
+linkGL.diff
+undef.patch
+1000_gl2ps_tikz-fix-rotated-text.patch
diff --git a/debian/patches/undef.patch b/debian/patches/undef.patch
new file mode 100644
index 0000000..6adb1a7
--- /dev/null
+++ b/debian/patches/undef.patch
@@ -0,0 +1,24 @@
+Description: Fix undefined symbols
+Author: Mathieu Malaterre <malat at debian.org>
+Bug-Debian: http://bugs.debian.org/775403
+
+--- gl2ps-1.3.8.orig/Makefile
++++ gl2ps-1.3.8/Makefile
+@@ -2,7 +2,7 @@ OPTFLAGS = -O2 -Wall
+ EXTRALIBS = -lGL -lm
+ CFLAGS += $(OPTFLAGS) -fPIC
+ LDFLAGS += $(EXTRALIBS)
+-LDFLAGS += -Wl,--version-script=Version -Wl,--no-add-needed
++EXTRALIBS += -Wl,--version-script=Version -Wl,--no-add-needed
+ MAJOR = 0
+ MINOR = 0
+ MICRO = 0
+@@ -24,7 +24,7 @@ clean:
+ 	rm -f $(OBJS) $(SLIBNAME)
+ 
+ $(SLIBNAME): $(OBJS)
+-	$(CC) -shared -Wl,-soname,$(SLIBNAME_WITH_MAJOR) -o $@ $(filter %.o,$^) $(LDFLAGS)
++	$(CC) -shared -Wl,-soname,$(SLIBNAME_WITH_MAJOR) -o $@ $(filter %.o,$^) $(LDFLAGS) $(EXTRALIBS)
+ 
+ install:
+ 	mkdir -p $(DESTDIR)$(SLIBDIR)
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7831966
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+# Copyright 2008 Sylvestre Ledru <sylvestre.ledru at inria.fr>
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+
+DEB_MAKE_INSTALL_TARGET  := install DESTDIR=$(CURDIR)/debian/tmp/
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..96e8792
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://geuz.org/gl2ps/src/ gl2ps-([\d\.]+)\.tgz debian debian/orig-tar.sh
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gl2ps.git



More information about the debian-science-commits mailing list