--- geomview-1.9.4.orig/debian/Notes +++ geomview-1.9.4/debian/Notes @@ -0,0 +1,18 @@ +Explanation of why need to disable strict aliasing +- from http://sourceforge.net/mailarchive/forum.php?thread_name=20120120131932.87c8472c.frank.peters%40comcast.net&forum_name=geomview-users + +Hello, +i did some experiments with compiling, there are many such warnings + +In file included from ../../../../include/transform3.h:147:0, + from ../../../../include/point3.h:78, + from cmodelP.h:24, + from cm_geometry.c:34: +../../../../include/hpoint3.h: In function 'HPt3TransPt3': + +i think this is the culprit; + *pout = *(Point3 *)(void *)&tp; + +long story short adding -fno-strict-aliasing to cflags allows optimization +to work, it clears the window now :) + --- geomview-1.9.4.orig/debian/README.Debian +++ geomview-1.9.4/debian/README.Debian @@ -0,0 +1,32 @@ + File Locations + -------------- + +Data files are installed in /usr/share/geomview/data. + +Mathematica ".m" files are installed in /usr/share/geomview/mathematica. + +Modules are installed in /usr/lib/geomview; modules that require XForms +are not included. A couple of the modules have manpages, which can +be found in /usr/share/doc/geomview. Code for example modules is +located in /usr/share/doc/geomview/examples. + + + Dump Core Now? + -------------- + +If something goes terribly wrong, geomview asks whether to +stop with a message such as: + + > geomview tetra + Geomview: internal error: Illegal instruction; dump core now (y/n) [n] ? + +One common cause for this is if the OpenGL libs are missing, damaged, +or mismatched, e.g. + + http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=105488 + +Please check that you can indeed run some other open GL application, +such as glxinfo or glxgears before reporting a problem. + + + -- Steve M. Robbins , Sat Jul 5 16:41:07 2003 --- geomview-1.9.4.orig/debian/changelog +++ geomview-1.9.4/debian/changelog @@ -0,0 +1,410 @@ +geomview (1.9.4-4.1) unstable; urgency=low + + * Non-maintainer upload. + * control: Add missing dependency for the dev package. (Closes: #715082) + * control: Depend on alternative pdf-viewer. (Closes: #567772) + * new patch 05_math2oogl_mayhem.patch (Closes: #716299) + * new patch 06_oogl2rib_mayhem.patch (Closes: #716186) + * new patch 07_oogl2vrml_mayhem.patch (Closes: #716183) + * new patch 08_oogl2vrml2_mayhem.patch (Closes: #716180) + * new patch 09_anytoucd_mayhem.patch (Closes: #715637) + + -- Maximiliano Curia Sun, 11 Aug 2013 14:26:47 +0200 + +geomview (1.9.4-4) unstable; urgency=low + + * control: Change lestif --> motif. Closes: #714659. + + * watch: New, thanks Daniel Leidert. Closes: #676986. + + -- Steve M. Robbins Mon, 01 Jul 2013 13:42:56 -0500 + +geomview (1.9.4-3) unstable; urgency=low + + * rules: Disable strict-aliasing. Empty dependency_libs in .la file. + + * patches/04_sprintf-string-literal.patch: New. Ensure format strings + are literals. Closes: #643382. + + * geomview.menu: + * geomview.xpm: New. + * Install menu and associated icon. + + * geomview.desktop: Fix categories, remove encoding. Set icon to + geomview.xpm path. Closes: #466995. + + -- Steve M. Robbins Tue, 11 Oct 2011 23:07:15 -0500 + +geomview (1.9.4-2) unstable; urgency=low + + * geomview.desktop: Add category Education. + * menu: Change to section "Applications/Science/Mathematics". Thanks + Petter Reinholdtsen. Closes: #567625. + + * rules: Remove usage of obsolete dh_desktop. + + * control: Replace build-dep xutils --> xutils-dev (for imake). Remove + homepage from description. Add dep on "dpkg (>= 1.15.4) | + install-info" to geomview. Set Standards-Version to 3.8.3.0. + + * doc-base: Change to section "Science/Mathematics". Remove nonstandard + texi files. + + * patches/03_hvectext-hashbang.diff: New. Update script beginning to + use standard "#!/usr/bin/perl". + + -- Steve M. Robbins Sat, 30 Jan 2010 10:56:50 -0600 + +geomview (1.9.4-1) unstable; urgency=low + + * New upstream. Closes: #441431. + + -- Steve M. Robbins Sun, 23 Sep 2007 21:36:30 -0500 + +geomview (1.9.3-1) unstable; urgency=low + + * New upstream. Closes: #395474, #432044. + - Remove all debian/patches. + - HTML document displays images properly. Closes: #402040. + + * debian/control: New packages libgeomview-1.9.3, libgeomview-dev, + required to build geomview modules. Update standards version to + 3.7.2.2. + + * debian/patches/01_glob-redirect.diff: New. Application segfaults on + startup with 2>&- redirect. Change to 2>&1. + + * debian/patches/02_info-nofigs.diff: New. Don't install PNG figures + into info dir. + + -- Steve M. Robbins Sat, 01 Sep 2007 00:17:08 -0500 + +geomview (1.8.1-16) unstable; urgency=low + + * debian/rules: Switch to cdbs. Add -fno-strict-aliasing because the + build emits many "dereferencing type-punned pointer will break + strict-aliasing rules" warnings. + + * Move all patches to source into debian/patches. + + -- Steve M. Robbins Mon, 27 Aug 2007 00:59:02 -0500 + +geomview (1.8.1-15) unstable; urgency=low + + * debian/control: Add build-depend on texlive-generic-recommended for + access to epsf.tex. Closes: #421821. Change build-dep from + libglut3-dev to freeglut3-dev. Closes: #394493. + + * debian/rules: Install desktop file (thanks, Vassilis Pandis). + Closes: #375516. + + -- Steve M. Robbins Sun, 6 May 2007 21:48:52 -0500 + +geomview (1.8.1-14) unstable; urgency=low + + * debian/control: Change from lesstif-dev to lesstif2-dev. + Closes: #374239. + + * src/lib/gprim/geom/knownclass.c: Fix function prototypes using + supplied patch (thanks, Karl Chen). Closes: #366381. + + * debian/doc-base: Remove extra leading space on abstract. Closes: + #364857. + + -- Steve M. Robbins Thu, 22 Jun 2006 23:23:16 -0400 + +geomview (1.8.1-13) unstable; urgency=low + + * src/lib/oogl/util/futil.c: Patch to build on kFreeBSD. Also update + config.guess and config.sub from /usr/share/misc. Closes: #340702. + + * debian/control: Remove libmesa-glu-dev from build-depends, apparently + no longer needed. Closes: #363304. + + * data/Makefile.am: Fix up installation of data files, part of #272094. + + * debian/rules: Set CPPFLAGS=-I/usr/X11R6/include/X11 at configure time + in order to find forms.h. I presume the recent xorg v7 move means that + autoconf no longer sets x_includes=/usr/X11R6/include. + + -- Steve M. Robbins Sat, 22 Apr 2006 07:32:51 -0400 + +geomview (1.8.1-12) unstable; urgency=low + + * debian/control: Build for all architectures. The ftp team is too slow + to make changes. Closes: #351235. + + -- Steve M. Robbins Thu, 2 Mar 2006 22:58:27 -0500 + +geomview (1.8.1-11) unstable; urgency=low + + * debian/control: restore alpha to architectures. Closes: #314988. + + -- Steve M. Robbins Fri, 3 Feb 2006 00:16:15 -0500 + +geomview (1.8.1-10) unstable; urgency=low + + * debian/control: Add "texinfo" to build-deps so that command "makeinfo" + is available. Closes: #338773. + + * debian/control: Restrict architectures. This package was not designed + for 64-bit machines. Closes: #314988. + + -- Steve M. Robbins Sat, 12 Nov 2005 13:04:55 -0500 + +geomview (1.8.1-9) unstable; urgency=low + + * geomview.sh: Exit with status 0 (not 1) when invoked with "-help" + option. Fix diagnostic emitted when invoked with "-graphics" and no + alternatives exist. + + * debian/control: Build-depend on version 4 of debhelper. + + * debian/rules: Update to debhelper version 4. + + * Avoid implicitly converted pointer by compiling with _GNU_SOURCE + defined so that fmemopen() is defined. This also pulls in a + definition of getline() that conflicts with that of + src/bin/example/oogl.c. However, the getline function of oogl.c is + not used, so it is deleted. Closes: #325033. + + -- Steve M. Robbins Sat, 17 Sep 2005 16:40:52 -0400 + +geomview (1.8.1-8) unstable; urgency=low + + * doc/geomview.texi: Apply patch to build without psfig.sty (thanks, + Frank Küster). + + * debian/rules: Revert changes in 1.8.1-7; PS documentation is now built + again. + + -- Steve M. Robbins Sun, 12 Sep 2004 13:40:05 -0400 + +geomview (1.8.1-7) unstable; urgency=low + + * debian/rules: Don't build geomview.ps since file psfig.sty has been + removed from debian. Closes: #264856. + + * debian/control: Build-depend on xutils to ensure "imake" is available; + this allows the xforms libraries to be correctly detected. Closes: #253669. + + * debian/control: Remove obsolete remark about non-inclusion of libforms + modules. Closes: #228891 + + * debian/menu: Quote "X11". + + * src/bin/geomutil/plutil/offconsol.1: Set manpage section to "1". + + -- Steve M. Robbins Wed, 11 Aug 2004 23:43:35 -0400 + +geomview (1.8.1-6) unstable; urgency=low + + * configure.in: Link with math library unconditionally. Needed + for m68k. + + * Stereo module: Check for setmon binary, issue diagnostic if not + found. Closes: #180635. + + * debian/control(Build-Depends): Switch from xlibmesa-dev to + xlibmesa-{gl,glu}-dev. + + -- Steve M. Robbins Sat, 25 Oct 2003 12:26:02 -0400 + +geomview (1.8.1-5) unstable; urgency=low + + * Apply sourceforge patch #803292, allowing to build with GCC 3.2. + Thanks, Claus-Justus Heine. Changes the license to GPL. + Closes: #187088, #133300. + + -- Steve M. Robbins Sat, 11 Oct 2003 14:27:54 -0400 + +geomview (1.8.1-4) unstable; urgency=low + + * GCC 3.2 transition. + Geomview does not build with GCC 3.x; build-depend on gcc-2.95. + + * XForms library is now in main. + Build xforms modules. Closes: #67189, #172625. + + * Update to policy 3.5.8. + + -- Steve M. Robbins Sun, 2 Feb 2003 17:11:51 -0500 + +geomview (1.8.1-3) unstable; urgency=low + + * debian/control: Specify xlibmesa-dev as preferred libgl-dev package. + Closes: #142129. Build-conflict with libutahglx-dev until that + package is fixed or stops providing libgl-dev. + + -- Steve M. Robbins Sun, 27 Oct 2002 01:15:56 -0400 + +geomview (1.8.1-2) unstable; urgency=low + + * Only set FPU control word if _FPU_IEEE is defined. + Closes: #123037. + * Update config.{guess,sub}. + * Do not use auto-* tools during build. + + -- Steve M. Robbins Sun, 13 Jan 2002 02:23:28 -0500 + +geomview (1.8.1-1) unstable; urgency=low + + * New upstream version. + - fixes non-appearing ToggleButton widgets. + * Don't install INSTALL.Geomview. + * Configure using --with-build-path=/usr/X11R6 to find motif. + + -- Steve M. Robbins Sat, 24 Mar 2001 17:08:13 -0500 + +geomview (1.8.0-5) unstable; urgency=low + + * Detect flavour of setgprp() and call appropriately; + detect existence of fpu-setting function (Closes: Bug#86736). + * Include manpages for bez2mesh, math2oogl, oogl2rib, oogl2vrml, and vrml2oogl. + + -- Steve M. Robbins Thu, 22 Feb 2001 23:49:18 -0500 + +geomview (1.8.0-4) unstable; urgency=low + + * Fix glibc glue code (Closes #67396). + * Configure using --without-xforms (Closes #82571). + * Don't install generic INSTALL. + * Add "texi2html" to Build-Depends. + * Update to policy 3.5.1.0: + * Build without debugging symbols. + + -- Steve M. Robbins Sun, 18 Feb 2001 18:14:53 -0500 + +geomview (1.8.0-3) unstable; urgency=low + + * Removed Build-Conflicts line. + * Upload to debian. Closes: #68315 + + -- Steve M. Robbins Tue, 28 Nov 2000 01:06:22 -0500 + +geomview (1.8.0-2) unstable; urgency=low + + * Make the diff file smaller by removing many generated files: + debian "clean" rule runs "make maintainer-clean", then removes "configure", + and all "Makefile.in" files. Added a "preconfigure" rule to regenerate + "configure" and friends. + * Add Build-Depends: automake, autoconf for above. + * Add Build-Conflicts: libforms to prevent inadvertantly linking with the + non-free XFORMS library. + + -- Steven Michael Robbins Sat, 25 Nov 2000 10:29:16 -0500 + +geomview (1.8.0-1) unstable; urgency=low + + * New upstream version. + + -- Steven Michael Robbins Sat, 25 Nov 2000 10:29:16 -0500 + +geomview (1.7.10-1) unstable; urgency=low + + * New maintainer. + * New upstream version. Since it now uses autoconf, I threw away the + old debian/* directory and started again with "dh_make". + + -- Steven Michael Robbins Sat, 4 Nov 2000 18:03:40 -0500 + +geomview (1.6.1.9-11.1) frozen unstable; urgency=low + + * NMU to fix RCB. Recompiled with the latest mesag-dev. Closes: #59585 + * Use -lGL & -lGLU instead of -lMesaGL & -lMesaGLU. + + -- Raphael Hertzog Tue, 21 Mar 2000 20:15:30 +0100 + +geomview (1.6.1.9-11) unstable; urgency=low + + * Fixed clean target. closes: #49016 + + -- Randolph Chung Sun, 7 Nov 1999 19:40:13 -0700 + +geomview (1.6.1.9-10) unstable; urgency=low + + * Fixed silly problem in debian/rules. Closes: #48557 + + -- Randolph Chung Thu, 28 Oct 1999 19:56:15 -0700 + +geomview (1.6.1.9-9) unstable; urgency=low + + * New maintainer + * /usr/doc -> /usr/share/doc transition + * Source build reorganization. Hope I didn't break anything :P Now uses + doogie's dbs_make. + * Includes original pristine sources, closes: #44236 + * Relinked with proper lesstif library, closes: #48165 + * Directory structure has been reorganized to be more FHS compliant + + -- Randolph Chung Sun, 24 Oct 1999 23:45:34 -0700 + +geomview (1.6.1.9-8) unstable; urgency=low + + * Don't build contrib package ever. + + -- John Lapeyre Thu, 1 Jul 1999 04:35:16 -0700 + +geomview (1.6.1.9-7) unstable; urgency=low + + * Don't try to build contrib package if libforms not present + + -- John Lapeyre Tue, 29 Jun 1999 15:57:58 -0700 + +geomview (1.6.1.9-6) unstable; urgency=low + + * A couple hacks so it compiles with glibc 2.1 + + -- John Lapeyre Sun, 27 Jun 1999 22:52:08 -0700 + +geomview (1.6.1.9-5) unstable frozen; urgency=low + + * Change a Recommends to Suggests. + * Upload to both unstable and frozen. + + -- John Lapeyre Sat, 14 Nov 1998 17:05:03 -0700 + +geomview (1.6.1.9-4) unstable; urgency=low + + * Link against new mesag + + -- John Lapeyre Fri, 30 Oct 1998 03:56:47 -0700 + +geomview (1.6.1.9-3) unstable; urgency=low + + * Link against new libstdc++ + * must leave explicit call to egcc . + + -- John Lapeyre Mon, 28 Sep 1998 04:31:53 -0700 + +geomview (1.6.1.9-2) unstable; urgency=low + + * scripts in debian cannot be executable, so + call them via 'perl scriptname'. + + -- John Lapeyre Fri, 4 Sep 1998 17:27:34 -0700 + +geomview (1.6.1.9-1) unstable; urgency=low + + * Newer upstream source fixes many bugs. + * all compile errors gone. + * works better with lesstif + * opengl rendering now unstable, use x11 for default. + * separate libforms-using items into separate package + so geomview can go in main. + + -- John Lapeyre Mon, 17 Aug 1998 02:37:56 -0700 + +geomview (1.6.1-2) unstable; urgency=low + + * Changed description and distribution + + -- John Lapeyre Wed, 12 Aug 1998 18:12:21 -0700 + +geomview (1.6.1-1) unstable; urgency=low + + * Initial Release. + + -- John Lapeyre Sun, 2 Aug 1998 15:07:15 -0700 + + --- geomview-1.9.4.orig/debian/compat +++ geomview-1.9.4/debian/compat @@ -0,0 +1 @@ +5 --- geomview-1.9.4.orig/debian/control +++ geomview-1.9.4/debian/control @@ -0,0 +1,56 @@ +Source: geomview +Section: math +Priority: optional +Homepage: http://www.geomview.org/ +Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/geomview/trunk/ +Maintainer: Debian Science Team +Uploaders: Steve M. Robbins +Build-Depends: cdbs, patchutils, debhelper (>= 5), libmotif-dev, libgl1-mesa-dev, freeglut3-dev, texlive-latex-base | tetex-bin, texi2html, xutils-dev, texinfo, texlive-generic-recommended +Build-Conflicts: libutahglx-dev +Standards-Version: 3.9.2 + +Package: geomview +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, dpkg (>= 1.15.4) | install-info +Recommends: xpdf | pdf-viewer +Description: interactive geometry viewing program + Geomview is interactive geometry software which is + particularly appropriate for mathematics research and education. + In particular, geomview can display things in hyperbolic and + spherical space as well as Euclidean space. + . + Geomview allows multiple independently controllable objects and + cameras. It provides interactive control for motion, appearances + (including lighting, shading, and materials), picking on an + object, edge or vertex level, snapshots in SGI image file or + Renderman RIB format, and adding or deleting objects is provided + through direct mouse manipulation, control panels, and keyboard + shortcuts. External programs can drive desired aspects of the + viewer (such as continually loading changing geometry or + controlling the motion of certain objects) while allowing + interactive control of everything else. + +Package: libgeomview-1.9.4 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: geomview library runtime + Geomview is interactive geometry software which is + particularly appropriate for mathematics research and education. + . + OOGL is the Object Oriented Graphics Library, upon which Geomview is + built. This package provides the run-time OOGL library for geomview + and its modules. + +Package: libgeomview-dev +Section: math +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libgeomview-1.9.4 (= ${binary:Version}) +Description: geomview library development package + Geomview is interactive geometry software which is + particularly appropriate for mathematics research and education. + . + OOGL is the Object Oriented Graphics Library, upon which Geomview is + built. This package provides the development package for OOGL, + required to build Geomview modules. + --- geomview-1.9.4.orig/debian/copyright +++ geomview-1.9.4/debian/copyright @@ -0,0 +1,41 @@ +This package was debianized by John Lapeyre in August 1998. + +It has subsequently been maintained by Randolph Chung, and the current +maintainer is Steven Robbins . + +It was downloaded from http://geomview.org. + +Upstream Authors: + + Copyright (C) 1992-1998 The Geometry Center + Copyright (C) 1998-2000 Stuart Levy, Tamara Munzner, Mark Phillips + +Copyright: + +This copy of geomview contains code licensed under the GNU GPL and +code licensed under the GNU LGPL. For the latter code, clause #3 of +the LGPL is applied and the whole of this copy of geomview is +therefore offered under the GNU Public License version 2. On Debian +systems, the complete text of the GNU General Public License can be +found in /usr/share/common-licenses/GPL-2 file. + +Original Geomview license: + +Geomview is free software; you can redistribute it and/or modify it +under the terms of the GNU Lesser General Public License as published +by the Free Software Foundation; either version 2, or (at your option) +any later version. + +On Debian systems, the complete text of the GNU Lesser General Public +License can be found in /usr/share/common-licenses/LGPL-2.1 file. + + +License of src/lib/oogl/util/seekpipe.c: + + Copyright (C) 2003 Claus-Justus Heine + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + --- geomview-1.9.4.orig/debian/doc-base +++ geomview-1.9.4/debian/doc-base @@ -0,0 +1,16 @@ +Document: geomview +Title: Geomview +Author: Stuart Levy, Tamara Munzner, Mark Phillips +Abstract: Geomview is an interactive program for viewing and + manipulating geometric objects, written by staff members of the + University of Minnesota Geometry Center. It can be used as a + standalone viewer for static objects or as a display engine for + other programs which produce dynamically changing geometry. +Section: Science/Mathematics + +Format: postscript +Files: /usr/share/doc/geomview/geomview.ps.gz + +Format: HTML +Index: /usr/share/doc/geomview/html/index.html +Files: /usr/share/doc/geomview/html/*.html --- geomview-1.9.4.orig/debian/docs +++ geomview-1.9.4/debian/docs @@ -0,0 +1,7 @@ +AUTHORS +NEWS +README +doc/geomview.texi +doc/geomview.ps +doc/motion.tex +doc/oogltour --- geomview-1.9.4.orig/debian/geomview.desktop +++ geomview-1.9.4/debian/geomview.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Name=Geomview +Comment=Interactive geometry viewing program +Exec=geomview +Icon=/usr/share/pixmaps/geomview.xpm +Type=Application +Terminal=false +Categories=Math;Science;Education; --- geomview-1.9.4.orig/debian/geomview.install +++ geomview-1.9.4/debian/geomview.install @@ -0,0 +1,7 @@ +debian/tmp/usr/bin +debian/tmp/usr/lib/geomview +debian/tmp/usr/share/geomview +debian/tmp/usr/share/doc/geomview +debian/tmp/usr/share/info +debian/tmp/usr/share/man/man1 +debian/tmp/usr/share/man/man5 --- geomview-1.9.4.orig/debian/geomview.menu +++ geomview-1.9.4/debian/geomview.menu @@ -0,0 +1,7 @@ +?package(geomview):\ + needs="X11"\ + section="Applications/Science/Mathematics"\ + title="Geomview"\ + longtitle="Interactive geometry viewing program"\ + command="/usr/bin/geomview"\ + icon="/usr/share/pixmaps/geomview.xpm" --- geomview-1.9.4.orig/debian/geomview.xpm +++ geomview-1.9.4/debian/geomview.xpm @@ -0,0 +1,230 @@ +/* XPM */ +static char *out[] = { +/* columns rows colors chars-per-pixel */ +"32 31 193 2 ", +" c #5BB62B532B73", +". c #482A278B330C", +"X c #50923E643CE2", +"o c #6C242A6825A4", +"O c #7EAB2D5C26E9", +"+ c #7BD934A42EFA", +"@ c #6CB6369C321A", +"# c #7DAF3AAE351D", +"$ c #39004FAC344A", +"% c #57D147991E45", +"& c #5EC159A51F9F", +"* c #65EC4DD41A83", +"= c #6D9C5EBD1B0A", +"- c #73C962F01F17", +"; c #7A47668A18D7", +": c #7DE069BD18F5", +"> c #510656D72701", +", c #6AEC5DE93ECF", +"< c #66DF60C8265D", +"1 c #755C64EB21CA", +"2 c #7C3469A42259", +"3 c #74C666D32ED9", +"4 c #7AA16A9929BF", +"5 c #765369F53653", +"6 c #7D496E8B3447", +"7 c #33DA27D443F7", +"8 c #2C702CED593A", +"9 c #27B539B554D7", +"0 c #2B5032705DAC", +"q c #2E2E31AB6393", +"w c #2BB23AEA6054", +"e c #2EF432E76897", +"r c #3228352865E5", +"t c #3B933DA964D2", +"y c #3238361E6C08", +"u c #1D5940124CA3", +"i c #2AA85D604E4B", +"p c #34695E004264", +"a c #23E14B845090", +"s c #229154CD5571", +"d c #2C9B3FDC6347", +"f c #3DB840A76912", +"g c #30BE4FE46D8D", +"h c #299876656564", +"j c #2803779A6A48", +"k c #262E7E986E1C", +"l c #29EA7CE06D8D", +"z c #34CA60FC76C3", +"x c #3632694F7AA5", +"c c #2D697D0372E4", +"v c #338D7D47702E", +"b c #52D45A7C5AD8", +"n c #7E6248A94416", +"m c #7F89500A4BEC", +"M c #631F56585BAC", +"N c #437746106A51", +"B c #551E57367530", +"V c #53077B896472", +"C c #69D673257529", +"Z c #8113342F2EA7", +"A c #8818314D28DA", +"S c #929835592D94", +"D c #830C368B307A", +"F c #864B398D3378", +"G c #882F3A3A3402", +"H c #9E0C377F3010", +"J c #9D6C3A78329F", +"K c #A5D938082F63", +"L c #A21B39FF31A1", +"P c #AD4F3D0D33E1", +"I c #82866E4E1BD0", +"U c #9C0B415A3ABE", +"Y c #816147D2410D", +"T c #95624AA74497", +"R c #96D14D8247C8", +"E c #884F5A2555CC", +"W c #9D4E5B47558A", +"Q c #9BF15EA85ACF", +"! c #A1AC5C9B57C2", +"~ c #81EC74E54363", +"^ c #87FC7D6C5380", +"/ c #86307D125953", +"( c #8C9C66CA6292", +") c #84496A946710", +"_ c #94596E5869AA", +"` c #9CE36D9A69BE", +"' c #8E1E71086C20", +"] c #8F82757E716D", +"[ c #958675B3728A", +"{ c #2EA4804B6FEC", +"} c #2AC185C87432", +"| c #2B0089787755", +" . c #2DDE8E7C7C5B", +".. c #325080C37168", +"X. c #3C7180D07308", +"o. c #339F82B07DF9", +"O. c #2E8690417E07", +"+. c #4A4683E17729", +"@. c #488D84597894", +"#. c #54E9850D7B93", +"$. c #5EB3828E7AF9", +"%. c #8B4983386298", +"&. c #92658B166D13", +"*. c #3BCC78DF87F4", +"=. c #6B306CB28159", +"-. c #6EA16FF28738", +";. c #77A678AE88C9", +":. c #78FA79DC8C05", +">. c #35EA87FB840F", +",. c #3D42948A9408", +"<. c #42208989970B", +"1. c #63A08B7184B5", +"2. c #6DE594268BD9", +"3. c #780496EA8E94", +"4. c #7C4E9BCF9553", +"5. c #44DF9444A102", +"6. c #4DB5A20CA51C", +"7. c #49D7A462AD57", +"8. c #479BAA85AC04", +"9. c #51E6A561ABB2", +"0. c #5289A8C3AFBD", +"q. c #4F28AD31B8A8", +"w. c #55B1B120B531", +"e. c #579BB806BC1A", +"r. c #5855B9A6BDC8", +"t. c #53E5BC87C5A9", +"y. c #58E9BB61C0B8", +"u. c #573DC384CD3C", +"i. c #5AE1CD2ED705", +"p. c #5D08CFE3DAD3", +"a. c #5F2FD288DD57", +"s. c #62BEDE9FE83F", +"d. c #6416DEFBEA98", +"f. c #6394E1D3ED4A", +"g. c #66FEE84CF4FB", +"h. c #6786E8D0F61A", +"j. c #697EEBAEF747", +"k. c #6BBEF041FCF2", +"l. c #6C12F13FFDAB", +"z. c #9CFF97CA8384", +"x. c #8ABC8B3599EE", +"c. c #AD4D86B882A6", +"v. c #A5DA8B168700", +"b. c #AD8A88898576", +"n. c #A2489A7982B8", +"m. c #A9BC94A19171", +"M. c #B4389FA19E19", +"N. c #8B42A2D09CBD", +"B. c #A7B4A2BA9004", +"V. c #B180AC409856", +"C. c #977F98B6A55C", +"Z. c #98E6997EA6EC", +"A. c #8CAFA60AA092", +"S. c #B6D4A514A281", +"D. c #B949A8FDA503", +"F. c #B90DAB52A88D", +"G. c #BF6FBB7FAD6F", +"H. c #A742A805B083", +"J. c #AA37B539B141", +"K. c #B4BEB436B79B", +"L. c #BD5BBB0BB156", +"P. c #B553B566BA71", +"I. c #B156BB9CB8C4", +"U. c #CAD8BAEEB8AC", +"Y. c #C421C230B9CB", +"T. c #C965C17DBE87", +"R. c #BB71C55AC1BD", +"E. c #C20FC10DC22B", +"W. c #CF15C608C2D0", +"Q. c #CC32C9C5C17A", +"!. c #C548CAA7C925", +"~. c #CCB2CF7FCEB1", +"^. c #D82FD1E4CFA5", +"/. c #CF63CF7DD068", +"(. c #D359D466D2A9", +"). c #DAF0D5BDD408", +"_. c #D630DA70D80B", +"`. c #DC14D9D1D5D5", +"'. c #D853D874D8EC", +"]. c #DCF4DDC5DCD0", +"[. c #E370DF5DDD5A", +"{. c #E261E233DFD5", +"}. c #E5C5E472E1DB", +"|. c #E8F9E7B9E5D9", +" X c #ED48ECF7EB20", +".X c #F077EFA7EE3F", +"XX c #F052F0ABEF6C", +"oX c #F1CCF153EFE7", +"OX c #F522F55FF3B1", +"+X c #F923F7BFF641", +"@X c #F832F879F7D4", +"#X c #F9B2F999F787", +"$X c #FF15FF17FD52", +/* pixels */ +"$X$X$X$X$X$X$X$X$X$X$X$X].J.I.!.(.{..X+X#X$X$X$X$X$X$X$X$X$X$X$X", +"$X$X$X$X$X$X$X$X$X#X_.A.@.{ l v @.+.#.1.3.N.J.oX$X$X$X$X$X$X$X$X", +"$X$X$X$X$X$X$XOX~.4.@.} .O.O. . . .| | | k $ n.@X$X$X$X$X$X$X$X", +"$X$X$X$X$XoXR.2...| | O. . . . . . . .O.O.h & 2 V.$X$X$X$X$X$X$X", +"$X$X$X$X(.$...| . . . . . . . . . . . . .p ; I 4 G.$X$X$X$X$X$X", +"$X$X$X#X;.u } O. .O. . . . . . . .O. . .l > I I I 6 Q.$X$X$X$X$X", +"$X$X$X'.N q a } O.O. . .O.O.O. .| } k k i = I I I : ~ `.$X$X$X$X", +"$X$X$XC.r y 0 s } .} } l j j v o.,.8.e.6.< I I I I : ^ }.$X#X$X", +"$X$X XB e y y 0 s { >.,.8.u.i.f.j.l.l.l.g.V : I I I I : &.+X$X$X", +"$X$XP.r y y y r x s.j.l.l.l.l.l.l.l.l.l.l.e.< I I I I I 3 '.$X$X", +"$X+X-.e y y y q <.l.l.l.k.k.k.k.l.l.l.l.l.g.V ; I I I I 1 L.$X$X", +"$X/.f y y y y 0 7.l.l.l.k.k.k.k.k.k.l.l.l.l.e.< I I I I ; z.$X$X", +"$Xx.e y e y y 0 t.l.k.k.k.k.k.k.k.k.k.k.l.l.g.V ; I I I : / OX$X", +"#X=.r y y y y d a.l.k.k.k.k.k.k.k.k.k.k.l.l.l.e.< I I I I 5 {.$X", +"$X;.e y y y r g f.l.l.k.k.k.k.k.k.k.k.l.l.l.l.h.V : I I I 1 Y.$X", +"$Xx.e e y y e z j.l.l.k.k.k.l.k.k.k.k.k.l.l.l.l.y.< I I I ; B.$X", +"$XZ.q y y y e *.k.k.k.k.k.k.k.k.k.k.k.k.l.k.k.l.g.V : I I : %.#X", +"$XH.q y y y 0 5.l.k.k.k.k.k.k.k.k.k.k.k.l.l.k.k.l.w.% * * * , |.", +"$XP.e y r y 0 q.l.l.l.k.k.k.k.k.k.k.k.k.l.l.l.l.d.C S S S A ' OX", +"$XE.t y y y w u.l.l.k.k.k.k.k.k.k.l.k.k.l.l.l.d.C L P P P R ).$X", +"$X/.t y y q 9 i.l.l.l.l.l.l.l.l.k.k.l.k.k.l.d.C L P P P J S.$X$X", +"$X].t 8 7 . b 9.f.l.l.l.l.k.k.k.k.l.l.l.d.C L P P P L ` oX$X$X", +"$X.XM + D G D @ b 9.f.l.l.l.l.k.k.k.l.d.C L P P P P T ^.$X$X$X", +"$X$X`._ D F F F F F @ b 0.f.l.l.k.k.l.d.C L P P P P J M.$X$X$X$X", +"$X$X$X Xv.# F G G F G D @ b 7.f.l.l.d.C J P P P P L ` oX$X$X$X$X", +"$X$X$X$X@XD.Y D G G D F G D @ b 0.a.C L P P P P L Q ).$X$X$X$X$X", +"$X$X$X$X$X$XW.E D F F G G F G D @ X J P P P P U b.|.$X$X$X$X$X$X", +"$X$X$X$X$X$X$X[.[ # + G G F F F F o J P P L W U.#X$X$X$X$X$X$X$X", +"$X$X$X$X$X$X$X$XoXF.[ m # + D F G o S P U c.}.$X$X$X$X$X$X$X$X$X", +"$X$X$X$X$X$X$X$X$X$X#X|.T.m.( n # o O ! U.#X$X$X$X$X$X$X$X$X$X$X", +"$X$X$X$X$X$X$X$X$X$X$X$X$X$XOX).S.) ] [.$X$X$X$X#X$X$X$X$X$X$X$X" +}; --- geomview-1.9.4.orig/debian/libgeomview-1.9.4.install +++ geomview-1.9.4/debian/libgeomview-1.9.4.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libgeomview-*.so --- geomview-1.9.4.orig/debian/libgeomview-dev.install +++ geomview-1.9.4/debian/libgeomview-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/include +debian/tmp/usr/lib/libgeomview.so +debian/tmp/usr/lib/libgeomview.a +debian/tmp/usr/lib/libgeomview.la +debian/tmp/usr/share/man/man3 --- geomview-1.9.4.orig/debian/menu +++ geomview-1.9.4/debian/menu @@ -0,0 +1,4 @@ +?package(geomview):needs="X11"\ + section="Applications/Science/Mathematics"\ + title="geomview"\ + command="/usr/bin/geomview" --- geomview-1.9.4.orig/debian/patches/01_glob-redirect.diff +++ geomview-1.9.4/debian/patches/01_glob-redirect.diff @@ -0,0 +1,23 @@ +Committed upstream 2011-10-13 +steve@riemann{upstream}cvs commit -m 'Fix segfault on startup.' +Checking in src/lib/oogl/util/glob.c; +/cvsroot/geomview/geomview/src/lib/oogl/util/glob.c,v <-- glob.c +new revision: 1.11; previous revision: 1.10 + + +Index: src/lib/oogl/util/glob.c +=================================================================== +RCS file: /home/steve/lib/cvs/debian/geomview/src/lib/oogl/util/glob.c,v +retrieving revision 1.3 +diff -u -b -B -r1.3 glob.c +--- src/lib/oogl/util/glob.c 27 Aug 2007 07:08:46 -0000 1.3 ++++ src/lib/oogl/util/glob.c 31 Aug 2007 05:30:59 -0000 +@@ -74,7 +74,7 @@ + void (*oldsigchld)() = signal(SIGCHLD, SIG_DFL); + #endif + +- sprintf(cmd, GLOB_SHELL"\"echo %s\" 2>&-", s); ++ sprintf(cmd, GLOB_SHELL"\"echo %s\" 2>&1", s); + fp = popen(cmd, POPEN_RB); + + if (fp == NULL) { --- geomview-1.9.4.orig/debian/patches/02_info-nofigs.diff +++ geomview-1.9.4/debian/patches/02_info-nofigs.diff @@ -0,0 +1,129 @@ +Index: doc/Makefile.am +=================================================================== +RCS file: /home/steve/lib/cvs/debian/geomview/doc/Makefile.am,v +retrieving revision 1.4 +diff -u -b -B -r1.4 Makefile.am +--- doc/Makefile.am 24 Sep 2007 02:35:53 -0000 1.4 ++++ doc/Makefile.am 24 Sep 2007 02:53:50 -0000 +@@ -19,8 +19,6 @@ + + AM_MAKEINFOFLAGS = --no-validate + info_TEXINFOS = geomview.texi geomview-pt_BR.texi +-infoimgdir = $(infodir) +-nobase_infoimg_DATA = $(PNGIMAGES) + + geomview_pt_BR_texi_MAKEINFOFLAGS = --enable-encoding --lang=pt + +Index: doc/Makefile.in +=================================================================== +RCS file: /home/steve/lib/cvs/debian/geomview/doc/Makefile.in,v +retrieving revision 1.10 +diff -u -b -B -r1.10 Makefile.in +--- doc/Makefile.in 24 Sep 2007 02:35:53 -0000 1.10 ++++ doc/Makefile.in 24 Sep 2007 02:54:45 -0000 +@@ -64,8 +64,7 @@ + AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) + DVIPS = dvips + am__installdirs = "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man3dir)" \ +- "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(docdir)" \ +- "$(DESTDIR)$(infoimgdir)" ++ "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(docdir)" + am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; + am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ +@@ -77,8 +76,7 @@ + NROFF = nroff + MANS = $(man_MANS) + docDATA_INSTALL = $(INSTALL_DATA) +-nobase_infoimgDATA_INSTALL = $(install_sh_DATA) +-DATA = $(doc_DATA) $(nobase_infoimg_DATA) ++DATA = $(doc_DATA) + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + ACLOCAL = @ACLOCAL@ + ALLOCA = @ALLOCA@ +@@ -265,8 +263,6 @@ + + AM_MAKEINFOFLAGS = --no-validate + info_TEXINFOS = geomview.texi geomview-pt_BR.texi +-infoimgdir = $(infodir) +-nobase_infoimg_DATA = $(PNGIMAGES) + geomview_pt_BR_texi_MAKEINFOFLAGS = --enable-encoding --lang=pt + dochtmldir = $(docdir)/html + doc_DATA = geomview.pdf geomview-pt_BR.pdf +@@ -609,25 +605,6 @@ + echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \ + rm -f "$(DESTDIR)$(docdir)/$$f"; \ + done +-install-nobase_infoimgDATA: $(nobase_infoimg_DATA) +- @$(NORMAL_INSTALL) +- test -z "$(infoimgdir)" || $(MKDIR_P) "$(DESTDIR)$(infoimgdir)" +- @$(am__vpath_adj_setup) \ +- list='$(nobase_infoimg_DATA)'; for p in $$list; do \ +- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ +- $(am__vpath_adj) \ +- echo " $(nobase_infoimgDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(infoimgdir)/$$f'"; \ +- $(nobase_infoimgDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(infoimgdir)/$$f"; \ +- done +- +-uninstall-nobase_infoimgDATA: +- @$(NORMAL_UNINSTALL) +- @$(am__vpath_adj_setup) \ +- list='$(nobase_infoimg_DATA)'; for p in $$list; do \ +- $(am__vpath_adj) \ +- echo " rm -f '$(DESTDIR)$(infoimgdir)/$$f'"; \ +- rm -f "$(DESTDIR)$(infoimgdir)/$$f"; \ +- done + tags: TAGS + TAGS: + +@@ -668,7 +645,7 @@ + check: check-am + all-am: Makefile $(INFO_DEPS) $(MANS) $(DATA) all-local + installdirs: +- for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(infoimgdir)"; do \ ++ for dir in "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(docdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done + install: install-am +@@ -717,7 +694,7 @@ + info-am: $(INFO_DEPS) + + install-data-am: install-data-local install-docDATA install-info-am \ +- install-man install-nobase_infoimgDATA ++ install-man + + install-dvi: install-dvi-am + +@@ -829,7 +806,7 @@ + + uninstall-am: uninstall-docDATA uninstall-dvi-am uninstall-html-am \ + uninstall-info-am uninstall-local uninstall-man \ +- uninstall-nobase_infoimgDATA uninstall-pdf-am uninstall-ps-am ++ uninstall-pdf-am uninstall-ps-am + + uninstall-man: uninstall-man3 uninstall-man5 + +@@ -842,17 +819,17 @@ + install-data-am install-data-local install-docDATA install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-info install-info-am install-man \ +- install-man3 install-man5 install-nobase_infoimgDATA \ +- install-pdf install-pdf-am install-ps install-ps-am \ +- install-strip installcheck installcheck-am installdirs \ +- maintainer-clean maintainer-clean-1 maintainer-clean-aminfo \ ++ install-man3 install-man5 install-pdf install-pdf-am \ ++ install-ps install-ps-am install-strip installcheck \ ++ installcheck-am installdirs maintainer-clean \ ++ maintainer-clean-1 maintainer-clean-aminfo \ + maintainer-clean-generic maintainer-clean-vti mostlyclean \ + mostlyclean-1 mostlyclean-aminfo mostlyclean-generic \ + mostlyclean-libtool mostlyclean-vti pdf pdf-am ps ps-am \ + uninstall uninstall-am uninstall-docDATA uninstall-dvi-am \ + uninstall-html-am uninstall-info-am uninstall-local \ +- uninstall-man uninstall-man3 uninstall-man5 \ +- uninstall-nobase_infoimgDATA uninstall-pdf-am uninstall-ps-am ++ uninstall-man uninstall-man3 uninstall-man5 uninstall-pdf-am \ ++ uninstall-ps-am + + + geomview.pdf: $(PDFIMAGES) --- geomview-1.9.4.orig/debian/patches/03_hvectext-hashbang.diff +++ geomview-1.9.4/debian/patches/03_hvectext-hashbang.diff @@ -0,0 +1,11 @@ +--- geomview-1.9.4.obsolete.0.817206016349704/src/bin/geomutil/hvectext/hvectext.in 2006-07-27 18:46:54.000000000 -0500 ++++ geomview-1.9.4/src/bin/geomutil/hvectext/hvectext.in 2010-01-30 10:10:18.000000000 -0600 +@@ -1,7 +1,4 @@ +-: +-eval 'exec perl -S $0 ${1+"$@"}' +- if $running_under_some_shell; +- ++#!/usr/bin/perl + # Copyright (c) 1995, Geometry Center, University of Minnesota + # Script by Stuart Levy, Geometry Center. + # Uses Hershey fonts as encoded for Ghostscript. --- geomview-1.9.4.orig/debian/patches/04_sprintf-string-literal.patch +++ geomview-1.9.4/debian/patches/04_sprintf-string-literal.patch @@ -0,0 +1,15 @@ +Already fixed upstream in another manner. + +--- src/lib/mg/rib/mgrib.c 2007-05-16 19:12:30.000000000 -0500 ++++ src/lib/mg/rib/mgrib.c 2011-10-10 17:10:51.667191408 -0500 +@@ -160,8 +160,8 @@ + /* Default RIB1.0 structure info */ + sprintf(_mgribc->ribscene, "Generic RIB file"); + sprintf(_mgribc->ribcreator, "mgrib driver"); +- sprintf(_mgribc->ribfor, getenv("USER")); +- sprintf(_mgribc->ribdate, ctime(&timedate)); ++ sprintf(_mgribc->ribfor, "%s", getenv("USER")); ++ sprintf(_mgribc->ribdate, "%s", ctime(&timedate)); + _mgribc->ribdate[24] = '\0'; /* remove the line feed */ + _mgribc->world = 0; + --- geomview-1.9.4.orig/debian/patches/05_math2oogl_mayhem.patch +++ geomview-1.9.4/debian/patches/05_math2oogl_mayhem.patch @@ -0,0 +1,12 @@ +diff -Naru geomview-1.9.4.old/src/bin/geomutil/math2oogl/math2oogl.c geomview-1.9.4/src/bin/geomutil/math2oogl/math2oogl.c +--- geomview-1.9.4.old/src/bin/geomutil/math2oogl/math2oogl.c 2007-04-06 18:10:23.000000000 +0200 ++++ geomview-1.9.4/src/bin/geomutil/math2oogl/math2oogl.c 2013-08-10 12:48:31.475464507 +0200 +@@ -331,7 +331,7 @@ + if (!lastline) + lastline = lines = malloc(sizeof(struct line)); + else { +- if (toss) lastline = prev; ++ if (toss && prev) lastline = prev; + toss = 0; + prev = lastline; + lastline = lastline->next = malloc (sizeof(struct line)); --- geomview-1.9.4.orig/debian/patches/06_oogl2rib_mayhem.patch +++ geomview-1.9.4/debian/patches/06_oogl2rib_mayhem.patch @@ -0,0 +1,39 @@ +diff -Naru geomview-1.9.4.old/src/bin/geomutil/oogl2rib/oogl2rib.c geomview-1.9.4/src/bin/geomutil/oogl2rib/oogl2rib.c +--- geomview-1.9.4.old/src/bin/geomutil/oogl2rib/oogl2rib.c 2013-08-10 12:48:31.479464596 +0200 ++++ geomview-1.9.4/src/bin/geomutil/oogl2rib/oogl2rib.c 2013-08-11 12:17:59.564486949 +0200 +@@ -215,7 +215,7 @@ + if(framebuffer) display = MG_RIBFRAME; + else display = MG_RIBTIFF; + +- mgctxcreate(MG_RIBFILE, outfileFD, ++ if (! mgctxcreate(MG_RIBFILE, outfileFD, + MG_RIBFORMAT, MG_RIBASCII, + MG_RIBBACKING, MG_RIBNOBG, + MG_WINDOW, win, +@@ -223,7 +223,9 @@ + MG_APPEAR, ap, + MG_RIBDISPLAY, display, + MG_RIBDISPLAYNAME, name, +- MG_END ); ++ MG_END )) { ++ exit(2); ++ } + + if(doback) { + mgctxset( +@@ -242,11 +244,13 @@ + MT_END, + AP_LGT, lighting, + AP_END); +- mgctxcreate(MG_RIBFILE, outfileFD, ++ if (! mgctxcreate(MG_RIBFILE, outfileFD, + MG_SHOW, 0, /* overides Format & Display */ + MG_RIBFORMAT, MG_RIBASCII, + MG_APPEAR, ap, +- MG_END); ++ MG_END)) { ++ exit(2); ++ } + } + + ageom = GeomFLoad(iobfileopen(infileFD), infile); --- geomview-1.9.4.orig/debian/patches/07_oogl2vrml_mayhem.patch +++ geomview-1.9.4/debian/patches/07_oogl2vrml_mayhem.patch @@ -0,0 +1,12 @@ +diff -Naru geomview-1.9.4.old/src/bin/geomutil/oogl2vrml/oogl2vrml.c geomview-1.9.4/src/bin/geomutil/oogl2vrml/oogl2vrml.c +--- geomview-1.9.4.old/src/bin/geomutil/oogl2vrml/oogl2vrml.c 2013-08-11 13:38:46.013870505 +0200 ++++ geomview-1.9.4/src/bin/geomutil/oogl2vrml/oogl2vrml.c 2013-08-11 13:47:26.097304281 +0200 +@@ -456,7 +456,7 @@ + f = stdout; + + while (argc > 1 && argv[1][0] == '-' && argv[1][1] != '\0') { +- if (argv[1][1] == 'b') { ++ if (argc > 2 && argv[1][1] == 'b') { + bezdice = atoi(argv[2]); argc--; argv++; + } else if (argv[1][1] == 's') { + flat = 0; --- geomview-1.9.4.orig/debian/patches/08_oogl2vrml2_mayhem.patch +++ geomview-1.9.4/debian/patches/08_oogl2vrml2_mayhem.patch @@ -0,0 +1,12 @@ +diff -Naru geomview-1.9.4.old/src/bin/geomutil/oogl2vrml/oogl2vrml2.c geomview-1.9.4/src/bin/geomutil/oogl2vrml/oogl2vrml2.c +--- geomview-1.9.4.old/src/bin/geomutil/oogl2vrml/oogl2vrml2.c 2013-08-11 13:38:46.013870505 +0200 ++++ geomview-1.9.4/src/bin/geomutil/oogl2vrml/oogl2vrml2.c 2013-08-11 13:50:18.593109306 +0200 +@@ -664,7 +664,7 @@ + f = stdout; + + while (argc > 1 && argv[1][0] == '-' && argv[1][1] != '\0') { +- if (argv[1][1] == 'b') { ++ if (argc > 2 && argv[1][1] == 'b') { + bezdice = atoi(argv[2]); argc--; argv++; + } else if (argv[1][1] == 's') { + flat = 0; --- geomview-1.9.4.orig/debian/patches/09_anytoucd_mayhem.patch +++ geomview-1.9.4/debian/patches/09_anytoucd_mayhem.patch @@ -0,0 +1,15 @@ +diff -Naru geomview-1.9.4.old/src/bin/geomutil/ucd/anytoucd.c geomview-1.9.4/src/bin/geomutil/ucd/anytoucd.c +--- geomview-1.9.4.old/src/bin/geomutil/ucd/anytoucd.c 2013-08-11 14:16:28.659029232 +0200 ++++ geomview-1.9.4/src/bin/geomutil/ucd/anytoucd.c 2013-08-11 14:21:09.613760179 +0200 +@@ -298,8 +298,10 @@ + TmIdentity(id); + thisgeom = GeomFLoad(iobfileopen(stdin), NULL); + thispl = (PolyList *)AnyToPL(thisgeom, id); +- if (initstack() == 0) ++ if (!thispl || (initstack() == 0)) { + OOGLError(1,"anytoucd: unable to init stack\n"); ++ exit(1); ++ } + + cp = OOGLNew(polygon); + CP = &thisPoly; --- geomview-1.9.4.orig/debian/rules +++ geomview-1.9.4/debian/rules @@ -0,0 +1,29 @@ +#! /usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +CFLAGS += -fno-strict-aliasing +CXXFLAGS += -fno-strict-aliasing + +DEB_CONFIGURE_EXTRA_FLAGS = --with-htmlbrowser=sensible-browser +DEB_MAKE_BUILD_TARGET = all +DEB_MAKE_CHECK_TARGET = check + +DEB_MAKE_INVOKE += moduledir=/usr/lib/geomview + +build/geomview:: doc/geomview.ps + +install/geomview:: + rm -f debian/tmp/usr/share/info/dir + dh_install debian/geomview.desktop usr/share/applications + dh_installmenu + dh_install debian/geomview.xpm usr/share/pixmaps + dh_installexamples doc/example1.c doc/example2.c doc/example3.c doc/example4.tcl + +install/libgeomview-dev:: + sed -i "s/^dependency_libs=.*/dependency_libs=''/" debian/tmp/usr/lib/libgeomview.la + +doc/geomview.ps: + $(MAKE) -C doc geomview.ps --- geomview-1.9.4.orig/debian/watch +++ geomview-1.9.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/geomview/geomview-([\d.]+)\.tar\.(?:bz2|gz)