[gfsview] 01/01: Add debian/ dir.

Anton Gladky gladk at moszumanska.debian.org
Tue Aug 5 21:53:54 UTC 2014


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

gladk pushed a commit to branch master
in repository gfsview.

commit acba21f8db1d545cd5e5dd6f161ef96a75d62cc2
Author: Anton Gladky <gladk at debian.org>
Date:   Tue Aug 5 23:53:40 2014 +0200

    Add debian/ dir.
---
 debian/Makefile.in                       | 367 +++++++++++++++++++++++++++++++
 debian/changelog                         |   5 +
 debian/compat                            |   1 +
 debian/control                           |  72 ++++++
 debian/copyright                         |  83 +++++++
 debian/docs                              |   3 +
 debian/gfsview.install                   |   2 +
 debian/gfsview.links                     |   1 +
 debian/libgfsgl0.install                 |   1 +
 debian/patches/01_use_system_font.patch  |  15 ++
 debian/patches/02_use_system_gl2ps.patch | 110 +++++++++
 debian/patches/series                    |   2 +
 debian/rules                             |  11 +
 debian/source/format                     |   1 +
 debian/watch                             |   3 +
 15 files changed, 677 insertions(+)

diff --git a/debian/Makefile.in b/debian/Makefile.in
new file mode 100644
index 0000000..6d45283
--- /dev/null
+++ b/debian/Makefile.in
@@ -0,0 +1,367 @@
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+# Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+ at SET_MAKE@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = debian
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+SOURCES =
+DIST_SOURCES =
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMTAR = @AMTAR@
+AR = @AR@
+AS = @AS@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+FGREP = @FGREP@
+FTGL_CFLAGS = @FTGL_CFLAGS@
+FTGL_LIBS = @FTGL_LIBS@
+GERRIS2D_CFLAGS = @GERRIS2D_CFLAGS@
+GERRIS2D_LIBS = @GERRIS2D_LIBS@
+GERRIS3D_CFLAGS = @GERRIS3D_CFLAGS@
+GERRIS3D_LIBS = @GERRIS3D_LIBS@
+GREP = @GREP@
+GTK_CFLAGS = @GTK_CFLAGS@
+GTK_LIBS = @GTK_LIBS@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MKDIR_P = @MKDIR_P@
+NM = @NM@
+NMEDIT = @NMEDIT@
+NO_UNDEFINED = @NO_UNDEFINED@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OSMESA_CFLAGS = @OSMESA_CFLAGS@
+OSMESA_LIBS = @OSMESA_LIBS@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+SN_CFLAGS = @SN_CFLAGS@
+SN_LIBS = @SN_LIBS@
+STRIP = @STRIP@
+VERSION = @VERSION@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+use_mpicc = @use_mpicc@
+EXTRA_DIST = changelog.sh compat control copyright docs rules
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+	        && { if test -f $@; then exit 0; else break; fi; }; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu debian/Makefile'; \
+	$(am__cd) $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu debian/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	list='$(DISTFILES)'; \
+	  dist_files=`for file in $$list; do echo $$file; done | \
+	  sed -e "s|^$$srcdirstrip/||;t" \
+	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+	case $$dist_files in \
+	  */*) $(MKDIR_P) `echo "$$dist_files" | \
+			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+			   sort -u` ;; \
+	esac; \
+	for file in $$dist_files; do \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  if test -d $$d/$$file; then \
+	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+	    if test -d "$(distdir)/$$file"; then \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
+	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+	  else \
+	    test -f "$(distdir)/$$file" \
+	    || cp -p $$d/$$file "$(distdir)/$$file" \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool mostlyclean-am
+
+distclean: distclean-am
+	-rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+	distclean distclean-generic distclean-libtool distdir dvi \
+	dvi-am html html-am info info-am install install-am \
+	install-data install-data-am install-dvi install-dvi-am \
+	install-exec install-exec-am install-html install-html-am \
+	install-info install-info-am install-man install-pdf \
+	install-pdf-am install-ps install-ps-am install-strip \
+	installcheck installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-generic \
+	mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..fd40b7c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+gfsview (20121130+dfsg-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #757157)
+
+ -- Anton Gladky <gladk at debian.org>  Tue, 05 Aug 2014 22:32:00 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a8652da
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,72 @@
+Source: gfsview
+Section: science
+Priority: optional
+Maintainer: Stephane Popinet <popinet at users.sf.net>
+Build-Depends:
+ fonts-tlwg-garuda,
+ debhelper (>> 9),
+ dh-autoreconf,
+ libgfs-dev,
+ libgl2ps-dev,
+ libglib2.0-dev,
+ libgts-dev,
+ libftgl-dev (>> 2.1.2),
+ libgtk2.0-dev (>= 2.4.0),
+ libgtkglext1-dev (>= 1.0.6),
+ libosmesa6-dev,
+ libstartup-notification0-dev,
+ mpi-default-dev,
+Homepage: http://gfs.sourceforge.net/
+
+Package: gfsview
+Architecture: any
+Depends:
+ fonts-tlwg-garuda,
+ zenity,
+ libgfsgl0 (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: gerris | gerris-mpi
+Description: graphical viewer for Gerris simulation files
+ Gerris is a system for the solution of the partial differential
+ equations describing fluid flow.
+ .
+ GfsView displays the results of 2D and 3D Gerris simulations.
+ A brief summary of its main features:
+ .
+    * Scalar and vector cross-sections.
+    * Isosurfaces.
+    * Streamlines.
+    * User-defined functions.
+    * Fast adaptive display (using the multiresolution data
+      representation of Gerris).
+    * Scriptable.
+    * Offline image generation.
+    * Quality PostScript, PDF and bitmap outputs.
+
+Package: libgfsgl0
+Multi-Arch: same
+Pre-Depends:
+ ${misc:Pre-Depends}
+Architecture: any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: graphical viewer for Gerris simulation files. Shared library
+ Gerris is a system for the solution of the partial differential
+ equations describing fluid flow.
+ .
+ GfsView displays the results of 2D and 3D Gerris simulations.
+ A brief summary of its main features:
+ .
+    * Scalar and vector cross-sections.
+    * Isosurfaces.
+    * Streamlines.
+    * User-defined functions.
+    * Fast adaptive display (using the multiresolution data
+      representation of Gerris).
+    * Scriptable.
+    * Offline image generation.
+    * Quality PostScript, PDF and bitmap outputs.
+ .
+ The package contains shared library
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..474600a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,83 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: http://gfs.sourceforge.net/
+Upstream-Name: GfsView
+Upstream-Contact: Stephane Popinet <popinet at users.sourceforge.net>
+Files-Excluded: debian/* gl2ps/* fonts/*
+
+Files: *
+Copyright: (C) 2001-2013 National Institute of Water and Atmospheric Research
+License: GPL-2+
+  This package 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 of the License, or
+  (at your option) any later version.
+  .
+  This package 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 the
+  GNU General Public License for more details.
+  .
+  You should have received a copy of the GNU General Public License
+  along with this package; if not, write to the Free Software
+  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+  .
+  On Debian systems, the complete text of the GNU General version 2
+  Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+Files: gl/trackball.*
+Copyright: 1993, 1994, Silicon Graphics, Inc.
+License: BSD-like
+ * Permission to use, copy, modify, and distribute this software for
+ * any purpose and without fee is hereby granted, provided that the above
+ * copyright notice appear in all copies and that both the copyright notice
+ * and this permission notice appear in supporting documentation, and that
+ * the name of Silicon Graphics, Inc. not be used in advertising
+ * or publicity pertaining to distribution of the software without specific,
+ * written prior permission.
+ *
+ * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
+ * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
+ * FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT SHALL SILICON
+ * GRAPHICS, INC.  BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
+ * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
+ * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
+ * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
+ * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC.  HAS BEEN
+ * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
+ * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * US Government Users Restricted Rights
+ * Use, duplication, or disclosure by the Government is subject to
+ * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
+ * (c)(1)(ii) of the Rights in Technical Data and Computer Software
+ * clause at DFARS 252.227-7013 and/or in similar or successor
+ * clauses in the FAR or the DOD or NASA FAR Supplement.
+ * Unpublished-- rights reserved under the copyright laws of the
+ * United States.  Contractor/manufacturer is Silicon Graphics,
+ * Inc., 2011 N.  Shoreline Blvd., Mountain View, CA 94039-7311.
+ *
+ * OpenGL(TM) is a trademark of Silicon Graphics, Inc.
+
+Files: view/main.c
+Copyright: 1998 Janne Lböf <jlof at mail.student.oulu.fi>,
+           2002 Alif Wahid, <awah005 at users.sourceforge.net>,
+           Naofumi Yasufuku  <naofumi at users.sourceforge.net>
+License: GPL-2+
+  This package 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 of the License, or
+  (at your option) any later version.
+  .
+  This package 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 the
+  GNU General Public License for more details.
+  .
+  You should have received a copy of the GNU General Public License
+  along with this package; if not, write to the Free Software
+  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+  .
+  On Debian systems, the complete text of the GNU General version 2
+  Public License can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..5502ed8
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+NEWS
+README
+TODO
diff --git a/debian/gfsview.install b/debian/gfsview.install
new file mode 100644
index 0000000..f7177e8
--- /dev/null
+++ b/debian/gfsview.install
@@ -0,0 +1,2 @@
+usr/bin
+usr/share
diff --git a/debian/gfsview.links b/debian/gfsview.links
new file mode 100644
index 0000000..a5feda5
--- /dev/null
+++ b/debian/gfsview.links
@@ -0,0 +1 @@
+usr/share/fonts/opentype/tlwg/Garuda.otf usr/share/gfsview/fonts/Garuda.ttf
diff --git a/debian/libgfsgl0.install b/debian/libgfsgl0.install
new file mode 100644
index 0000000..6845771
--- /dev/null
+++ b/debian/libgfsgl0.install
@@ -0,0 +1 @@
+usr/lib
diff --git a/debian/patches/01_use_system_font.patch b/debian/patches/01_use_system_font.patch
new file mode 100644
index 0000000..6823737
--- /dev/null
+++ b/debian/patches/01_use_system_font.patch
@@ -0,0 +1,15 @@
+Description: Use packaged font Garuda instead of embedded
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2014-08-05
+
+--- gfsview-20121129+dfsg.orig/gl/gfsgl.c
++++ gfsview-20121129+dfsg/gl/gfsgl.c
+@@ -27,7 +27,7 @@
+ # include <FTGL/ftgl.h>
+ #endif
+ 
+-#define DEFAULT_FONT (PACKAGE_DATA_DIR "/fonts/Garuda.ttf")
++#define DEFAULT_FONT (PACKAGE_DATA_DIR "/usr/share/fonts/opentype/tlwg/Garuda.otf")
+ #define DEFAULT_FONT_SIZE 72.
+ 
+ static gpointer default_font = NULL, default_raster_font = NULL;
diff --git a/debian/patches/02_use_system_gl2ps.patch b/debian/patches/02_use_system_gl2ps.patch
new file mode 100644
index 0000000..f9ffa1c
--- /dev/null
+++ b/debian/patches/02_use_system_gl2ps.patch
@@ -0,0 +1,110 @@
+Description: use packaged gl2ps instead of embedded.
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2014-08-05
+
+Index: gfsview-snapshot-121130/Makefile.am
+===================================================================
+--- gfsview-snapshot-121130.orig/Makefile.am
++++ gfsview-snapshot-121130/Makefile.am
+@@ -26,12 +26,10 @@ if HAVE_GTK
+   INTERACTIVE = view
+ endif
+ 
+-SUBDIRS = gl2ps gl $(BATCH) $(INTERACTIVE) debian
++SUBDIRS = gl $(BATCH) $(INTERACTIVE) debian
+ 
+ EXTRA_DIST = \
+ 	autogen.sh \
+-	gl2ps/COPYING.GL2PS \
+-	gl2ps/COPYING.LGPL \
+ 	m4
+ 
+ if DARCS_CONTROLLED
+Index: gfsview-snapshot-121130/batch/Makefile.am
+===================================================================
+--- gfsview-snapshot-121130.orig/batch/Makefile.am
++++ gfsview-snapshot-121130/batch/Makefile.am
+@@ -10,17 +10,15 @@ noinst_LTLIBRARIES = librender2D.la libr
+ 
+ librender2D_la_SOURCES = render.c render.h
+ librender2D_la_CFLAGS = @GERRIS2D_CFLAGS@ @OSMESA_CFLAGS@
+-librender2D_la_LIBADD = -L$(top_builddir)/gl2ps -lgl2ps \
++librender2D_la_LIBADD = -lgl2ps \
+                         -L$(top_builddir)/gl -lgfsgl2D \
+                         @OSMESA_LIBS@
+-librender2D_la_DEPENDENCIES = $(top_builddir)/gl2ps/libgl2ps.la $(top_builddir)/gl/libgfsgl2D.la
+ 
+ librender3D_la_SOURCES = render.c render.h
+ librender3D_la_CFLAGS = @GERRIS3D_CFLAGS@ @OSMESA_CFLAGS@
+-librender3D_la_LIBADD = -L$(top_builddir)/gl2ps -lgl2ps \
++librender3D_la_LIBADD = -lgl2ps \
+                         -L$(top_builddir)/gl -lgfsgl3D \
+                         @OSMESA_LIBS@
+-librender3D_la_DEPENDENCIES = $(top_builddir)/gl2ps/libgl2ps.la $(top_builddir)/gl/libgfsgl3D.la
+ 
+ bin_PROGRAMS = gfsview-batch2D gfsview-batch3D
+ 
+Index: gfsview-snapshot-121130/gl/gfsgl.h
+===================================================================
+--- gfsview-snapshot-121130.orig/gl/gfsgl.h
++++ gfsview-snapshot-121130/gl/gfsgl.h
+@@ -23,7 +23,7 @@
+ 
+ #include <gfs.h>
+ 
+-#include "gl2ps/gl2ps.h"
++#include <gl2ps.h>
+ 
+ #ifdef __cplusplus
+ extern "C" {
+Index: gfsview-snapshot-121130/view/Makefile.am
+===================================================================
+--- gfsview-snapshot-121130.orig/view/Makefile.am
++++ gfsview-snapshot-121130/view/Makefile.am
+@@ -26,23 +26,20 @@ SRC = \
+ 	glade/mangled_interface.c glade/interface.h \
+ 	glade/callbacks.c glade/callbacks.h \
+ 	glade/support.c glade/support.h \
+-	$(top_srcdir)/gl2ps/gl2ps.c $(top_srcdir)/gl2ps/gl2ps.h \
+         main.c  \
+ 	gfkgl.c gfkgl.h
+ 
+ gfsview2D_SOURCES = $(SRC) gfkgl2D.h
+ gfsview2D_CFLAGS = @SN_CFLAGS@ @GTK_CFLAGS@ @GERRIS2D_CFLAGS@
+-gfsview2D_LDADD = -L$(top_builddir)/gl2ps -lgl2ps \
++gfsview2D_LDADD = -lgl2ps \
+                   -L$(top_builddir)/gl -lgfsgl2D \
+ 	          @SN_LIBS@ @GTK_LIBS@ @GERRIS2D_LIBS@
+-gfsview2D_DEPENDENCIES = $(top_builddir)/gl2ps/libgl2ps.la $(top_builddir)/gl/libgfsgl2D.la
+ 
+ gfsview3D_SOURCES = $(SRC) gfkgl3D.h
+ gfsview3D_CFLAGS = @SN_CFLAGS@ @GTK_CFLAGS@ @GERRIS3D_CFLAGS@
+-gfsview3D_LDADD = -L$(top_builddir)/gl2ps -lgl2ps \
++gfsview3D_LDADD = -lgl2ps \
+                   -L$(top_builddir)/gl -lgfsgl3D \
+                   @SN_LIBS@ @GTK_LIBS@ @GERRIS3D_LIBS@
+-gfsview3D_DEPENDENCIES = $(top_builddir)/gl2ps/libgl2ps.la $(top_builddir)/gl/libgfsgl3D.la
+ 
+ glade/mangled_interface.c: $(srcdir)/glade/interface.c $(srcdir)/glade/interface.h
+ 	sh $(srcdir)/mangle < $(srcdir)/glade/interface.c > $(srcdir)/glade/mangled_interface.c
+Index: gfsview-snapshot-121130/configure.ac
+===================================================================
+--- gfsview-snapshot-121130.orig/configure.ac
++++ gfsview-snapshot-121130/configure.ac
+@@ -56,8 +56,6 @@ if test x$GCC = xyes ; then
+ fi
+ 
+ GERRIS_VERSION="1.2.0"
+-PKG_CHECK_MODULES(GERRIS2D,  [gerris2D  >= $GERRIS_VERSION])
+-PKG_CHECK_MODULES(GERRIS3D,  [gerris3D  >= $GERRIS_VERSION])
+ PKG_CHECK_MODULES(OSMESA, [ osmesa ], [ have_osmesa=yes ], [ have_osmesa=no ])
+ 
+ dnl alternative check for systems without pkg-config for OSMesa
+@@ -138,7 +136,6 @@ AC_OUTPUT([
+ Makefile
+ view/Makefile
+ view/desktop/Makefile
+-gl2ps/Makefile
+ gl/Makefile
+ batch/Makefile
+ debian/Makefile
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..139075e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+01_use_system_font.patch
+02_use_system_gl2ps.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..af2b420
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+%:
+	dh $@ --parallel --with autoreconf
+
+export DEB_CFLAGS_MAINT_APPEND=-I/usr/include/glib-2.0/ -I/usr/lib/$(DEB_HOST_MULTIARCH)/glib-2.0/include/
+
+override_dh_auto_install:
+	dh_auto_install
+	find $(CURDIR)/debian/ -name "*.la" | xargs rm -f
+	find $(CURDIR)/debian/ -name "*.a" | xargs rm -f
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..46d4fed
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/^(\d{6})$/20$1/,dversionmangle=s/-dfsg\.\d+$// \
+http://gerris.dalembert.upmc.fr/gerris/tarballs/gfsview-snapshot-(\d.*)\.(?:tgz|tbz2|tar\.(?:gz|bz2|xz))

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



More information about the debian-science-commits mailing list