]> git.sur5r.net Git - fstl/commitdiff
Preliminary packaging of 0.9.2-1
authorJakob Haufe <sur5r@sur5r.net>
Sat, 26 Mar 2016 17:44:41 +0000 (18:44 +0100)
committerJakob Haufe <sur5r@sur5r.net>
Sat, 26 Mar 2016 17:44:41 +0000 (18:44 +0100)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/fstl.1 [new file with mode: 0644]
debian/fstl.manpages [new file with mode: 0644]
debian/patches/fix-qt-project [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
debian/watch [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..ac69b97
--- /dev/null
@@ -0,0 +1,5 @@
+fstl (0.9.2-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #819313)
+
+ -- Jakob Haufe <sur5r@sur5r.net>  Sun, 13 Mar 2016 23:29:30 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..3015109
--- /dev/null
@@ -0,0 +1,18 @@
+Source: fstl
+Section: science
+Priority: optional
+Maintainer: Jakob Haufe <sur5r@sur5r.net>
+Build-Depends: debhelper (>=9), cdbs, qtbase5-dev, qtchooser, libqt5opengl5-dev
+Standards-Version: 3.9.7
+Homepage: http://www.mattkeeter.com/projects/fstl/
+Vcs-Git: git://git.sur5r.net/fstl
+Vcs-Browser: https://git.sur5r.net/?p=fstl;a=summary
+
+Package: fstl
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Viewer for .stl files
+ fstl is a viewer for .stl files.
+ .
+ It is optimized to quickly load and render very high-polygon models.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..6d75a27
--- /dev/null
@@ -0,0 +1,31 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: fstl
+Source: http://www.mattkeeter.com/projects/fstl/
+
+Files: *
+Copyright: 2014 Matt Keeter <matt.j.keeter@gmail.com>
+License: MIT-like
+ This work may be reproduced, modified, distributed, performed, and displayed
+ for any purpose. Copyright is retained and must be preserved. The work is
+ provided as is; no warranty is provided, and users accept all liability.
+
+Files: debian/*
+Copyright: 2016 Jakob Haufe <sur5r@sur5r.net>
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
diff --git a/debian/fstl.1 b/debian/fstl.1
new file mode 100644 (file)
index 0000000..85fdf36
--- /dev/null
@@ -0,0 +1,24 @@
+.\" (C) Copyright 2016 Jakob Haufe <sur5r@sur5r.net>,
+.TH FSTL 1 "March 13 2016"
+.\" Please adjust this date whenever revising the manpage.
+.SH NAME
+fstl \- A viewer for .stl files
+.SH SYNOPSIS
+.B fstl
+.RI [ file.stl ]
+.SH DESCRIPTION
+This manual page documents briefly the
+.B fstl
+command.
+.PP
+\fBfstl\fP is a viewer for .stl files.
+
+It is optimized to quickly load and render very high-polygon models.
+.SH OPTIONS
+\fBfstl\fP does not take any options. You can, however, supply the name of
+an .stl file to be viewed.
+.SH AUTHOR
+\fBfstl\fP was written by Matt Keeter <matt.j.keeter@gmail.com>.
+.PP
+This manual page was written by Jakob Haufe <sur5r@sur5r.net>, for the Debian
+project (and may be used by others).
diff --git a/debian/fstl.manpages b/debian/fstl.manpages
new file mode 100644 (file)
index 0000000..ece5d3b
--- /dev/null
@@ -0,0 +1 @@
+debian/fstl.1
diff --git a/debian/patches/fix-qt-project b/debian/patches/fix-qt-project
new file mode 100644 (file)
index 0000000..6f46838
--- /dev/null
@@ -0,0 +1,14 @@
+Description: Make qt project installable
+ This patch makes adds an install target to the resulting makefile.
+Author: Jakob Haufe <sur5r@sur5r.net>
+
+--- fstl-0.9.2.orig/qt/fstl.pro
++++ fstl-0.9.2/qt/fstl.pro
+@@ -44,3 +44,7 @@ win32 {
+ static {
+     CONFIG += static
+ }
++
++target.path = /usr/bin
++INSTALLS += target
++
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..43bfce6
--- /dev/null
@@ -0,0 +1 @@
+fix-qt-project
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..b78d01a
--- /dev/null
@@ -0,0 +1,32 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+export QT_SELECT=qt5
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+# package maintainers to append LDFLAGS
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+
+#DEB_DH_INSTALL_ARGS := --sourcedir=debian/tmp --list-missing
+
+export DEB_QMAKE_ARGS=qt/fstl.pro
+
+export QT_SELECT=qt5
+include /usr/share/dpkg/buildflags.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/qmake.mk
+
+
+ #dh_make generated override targets
+# This is example for Cmake (See https://bugs.debian.org/641051 )
+#override_dh_auto_configure:
+#      dh_auto_configure -- #  -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..b221574
--- /dev/null
@@ -0,0 +1,33 @@
+# Compulsory line, this is a version 4 file
+version=4
+
+# PGP signature mangle, so foo.tar.gz has foo.tar.gz.sig
+#opts="pgpsigurlmangle=s%$%.sig%"
+
+# HTTP site (basic)
+#http://example.com/downloads.html \
+#  files/fstl-([\d\.]+)\.tar\.gz debian uupdate
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/fstl-(.*)\.tar\.gz debian uupdate
+
+# SourceForge hosted projects
+# http://sf.net/fstl/ fstl-(.*)\.tar\.gz debian uupdate
+
+# GitHub hosted projects
+#opts=filenamemangle="s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%<project>-$1.tar.gz%" https://github.com/mkeeter/fstl/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/fstl-$1\.tar\.gz/ https://github.com/mkeeter/fstl/releases .*/v?(\d\S*)\.tar\.gz
+
+# PyPI
+# https://pypi.python.org/packages/source/<initial>/fstl/ \
+#   fstl-(.+)\.tar\.gz debian uupdate
+
+# Direct Git
+# opts="mode=git" http://git.example.com/fstl.git \
+#   refs/tags/v([\d\.]+) debian uupdate
+
+
+
+
+# Uncomment to find new files on GooglePages
+# http://example.googlepages.com/foo.html fstl-(.*)\.tar\.gz