Import solvespace_2.3+repack1-2.debian.tar.xz
authorAnton Gladky <gladk@debian.org>
Mon, 6 Mar 2017 19:59:20 +0000 (19:59 +0000)
committerAnton Gladky <gladk@debian.org>
Mon, 6 Mar 2017 19:59:20 +0000 (19:59 +0000)
[dgit import tarball solvespace 2.3+repack1-2 solvespace_2.3+repack1-2.debian.tar.xz]

19 files changed:
changelog [new file with mode: 0644]
compat [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
docs [new file with mode: 0644]
get_orig.sh [new file with mode: 0755]
libslvs1-dev.install [new file with mode: 0644]
libslvs1.install [new file with mode: 0644]
patches/01_RemoveGitHash.patch [new file with mode: 0644]
patches/20_use_system_unifont.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
rules [new file with mode: 0755]
solvespace.1 [new file with mode: 0644]
solvespace.install [new file with mode: 0644]
solvespace.manpages [new file with mode: 0644]
solvespace.sharedmimeinfo [new file with mode: 0644]
source/format [new file with mode: 0644]
source/options [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..7189eb4
--- /dev/null
+++ b/changelog
@@ -0,0 +1,20 @@
+solvespace (2.3+repack1-2) unstable; urgency=medium
+
+  * [0d4dc2b] Add missing dependency on libslvs1. (Closes: #856937)
+
+ -- Anton Gladky <gladk@debian.org>  Mon, 06 Mar 2017 20:59:20 +0100
+
+solvespace (2.3+repack1-1) unstable; urgency=medium
+
+  * [a7825d4] Add d/watch.
+  * [15facd8] Update get_orig.sh script.
+  * [4bcf775] New upstream version 2.3+repack1
+  * [5bfcd9a] Refresh patch.
+
+ -- Anton Gladky <gladk@debian.org>  Sat, 31 Dec 2016 09:54:59 +0100
+
+solvespace (2.1+repack2-1) unstable; urgency=medium
+
+  * Initial Release. (Closes: #797997)
+
+ -- Anton Gladky <gladk@debian.org>  Mon, 15 Aug 2016 22:31:44 +0200
diff --git a/compat b/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+9
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..da92eb3
--- /dev/null
+++ b/control
@@ -0,0 +1,63 @@
+Source: solvespace
+Section: graphics
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
+Uploaders: whitequark <whitequark@whitequark.org>,
+           Anton Gladky <gladk@debian.org>
+Build-Depends: cmake,
+               debhelper (>= 9),
+               libfontconfig1-dev,
+               libgl-dev,
+               libglew-dev,
+               libglu-dev,
+               libgtkmm-2.4-dev,
+               libjson-c-dev,
+               libpangomm-1.4-dev,
+               libpng-dev,
+               unifont,
+               zlib1g-dev
+Standards-Version: 3.9.8
+Homepage: http://solvespace.com
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/solvespace.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/solvespace.git
+
+Package: solvespace
+Architecture: any
+Multi-Arch: foreign
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Parametric 2d/3d CAD
+ SolveSpace is a parametric 2d/3d CAD program. Applications include:
+ .
+  * modeling 3d parts — draw with extrudes, revolves, and Boolean
+    (union / difference) operations;
+  * modeling 2d parts — draw the part as a single section, and export DXF,
+    PDF, SVG; use 3d assembly to verify fit;
+  * 3d-printed parts — export the STL or other triangle mesh expected by
+    most 3d printers;
+  * preparing CAM data — export 2d vector art for a waterjet machine or
+    laser cutter; or generate STEP or STL, for import into third-party
+    CAM software for machining;
+  * mechanism design — use the constraint solver to simulate planar or
+    spatial linkages, with pin, ball, or slide joints;
+  * plane and solid geometry — replace hand-solved trigonometry and
+    spreadsheets with a live dimensioned drawing.
+
+Package: libslvs1
+Section: libs
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: SolveSpace geometric kernel
+ SolveSpace is a parametric 2d/3d CAD. libslvs contains the geometric
+ kernel of SolveSpace, built as a library.
+
+Package: libslvs1-dev
+Section: libdevel
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, ${shlibs:Depends}, libslvs1 (= ${binary:Version})
+Description: SolveSpace geometric kernel (development files)
+ SolveSpace is a parametric 2d/3d CAD. libslvs contains the geometric
+ kernel of SolveSpace, built as a library.
+ .
+ This package includes development files for libslvs.
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..bb13cf7
--- /dev/null
+++ b/copyright
@@ -0,0 +1,57 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: solvespace
+Source: https://github.com/solvespace/solvespace
+
+Files: *
+Copyright: 2008-2013 Jonathan Westhues
+ 2015-2016 whitequark <whitequark@whitequark.org>
+ 2015-2016 Aleksey Egorov <anandamide@mail.ru>
+License: GPL-3.0+
+
+Files: debian/*
+Copyright: 2015-2016 whitequark <whitequark@whitequark.org>
+License: GPL-3.0+
+
+Files: extlib/libdxfrw/*
+Copyright: 2011-2015 José F. Soriano, rallazz@gmail.com
+License: GPL-2.0+
+
+Files: src/fonts/unicode.lff.gz
+Copyright: 2011 Rallaz <rallazz@gmail.com>
+           2011 Eugene Osintsev <osgene@omskelecom.ru>
+           2011 Yoshimune Kobayashi <cfg47520@syd.odn.ne,jp>
+License: GPL-2.0+
+
+License: GPL-3.0+
+ 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 3 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 program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
+License: GPL-2.0+
+ 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 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 program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/docs b/docs
new file mode 100644 (file)
index 0000000..b43bf86
--- /dev/null
+++ b/docs
@@ -0,0 +1 @@
+README.md
diff --git a/get_orig.sh b/get_orig.sh
new file mode 100755 (executable)
index 0000000..2e37887
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+RELEASE_NAME=v2.3
+
+UPSTREAM="https://github.com/solvespace/solvespace.git"
+git clone --depth=1 --recursive -b ${RELEASE_NAME} ${UPSTREAM}
+
+rm -rfv solvespace/extlib/libfreetype
+rm -rfv solvespace/extlib/libpng
+rm -rfv solvespace/extlib/zlib
+rm -rfv solvespace/extlib/si
+rm -rfv solvespace/debian
+rm -rfv solvespace/.gi*
+rm -rfv solvespace/.travis
+rm -rfv solvespace/src/fonts/unifont-8.0.01.hex.gz
+
+tar cJf solvespace_${RELEASE_NAME}+repack2.tar.xz solvespace
diff --git a/libslvs1-dev.install b/libslvs1-dev.install
new file mode 100644 (file)
index 0000000..8de0fcd
--- /dev/null
@@ -0,0 +1,2 @@
+usr/include/slvs.h
+usr/lib/*/libslvs.so
diff --git a/libslvs1.install b/libslvs1.install
new file mode 100644 (file)
index 0000000..ffa6d6e
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/*/libslvs.so.*
diff --git a/patches/01_RemoveGitHash.patch b/patches/01_RemoveGitHash.patch
new file mode 100644 (file)
index 0000000..4fd06ee
--- /dev/null
@@ -0,0 +1,16 @@
+Description: Remove git hash commit consideration
+Author: Anton Gladky <gladk@debian.org>
+Last-Update: 2016-12-31
+
+Index: solvespace/CMakeLists.txt
+===================================================================
+--- solvespace.orig/CMakeLists.txt
++++ solvespace/CMakeLists.txt
+@@ -20,7 +20,6 @@ set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX
+ # NOTE TO PACKAGERS: The embedded git commit hash is critical for rapid bug triage when the builds
+ # can come from a variety of sources. If you are mirroring the sources or otherwise build when
+ # the .git directory is not present, please comment the following line:
+-include(GetGitCommitHash)
+ # and instead uncomment the following, adding the complete git hash of the checkout you are using:
+ # set(GIT_COMMIT_HASH 0000000000000000000000000000000000000000)
diff --git a/patches/20_use_system_unifont.patch b/patches/20_use_system_unifont.patch
new file mode 100644 (file)
index 0000000..2ece363
--- /dev/null
@@ -0,0 +1,56 @@
+Description: Use system packaged unifont
+Author: Anton Gladky <gladk@debian.org>
+Last-Update: 2016-08-15
+
+Index: solvespace/src/CMakeLists.txt
+===================================================================
+--- solvespace.orig/src/CMakeLists.txt
++++ solvespace/src/CMakeLists.txt
+@@ -101,10 +101,10 @@ add_custom_command(
+     OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/generated/bitmapfont.table.h
+     COMMAND $<TARGET_FILE:unifont2c>
+             ${CMAKE_CURRENT_BINARY_DIR}/generated/bitmapfont.table.h
+-            ${CMAKE_CURRENT_SOURCE_DIR}/fonts/unifont-8.0.01.hex.gz
++            /usr/share/unifont/unifont.hex
+             ${chars}
+     DEPENDS unifont2c
+-            ${CMAKE_CURRENT_SOURCE_DIR}/fonts/unifont-8.0.01.hex.gz
++            /usr/share/unifont/unifont.hex
+             ${chars}
+     VERBATIM)
+Index: solvespace/tools/unifont2c.cpp
+===================================================================
+--- solvespace.orig/tools/unifont2c.cpp
++++ solvespace/tools/unifont2c.cpp
+@@ -118,17 +118,17 @@ int main(int argc, char** argv) {
+         properties[codepoint].exists = true;
+     }
+-    gzFile unifont = gzopen(argv[2], "rb");
++    FILE *unifont = fopen(argv[2], "rb");
+     if(!unifont)
+         die("unifont fopen failed");
+     while(1) {
+         char buf[100];
+-        if(!gzgets(unifont, buf, sizeof(buf))){
+-            if(gzeof(unifont)) {
++        if(!fgets(buf, sizeof(buf), unifont)){
++            if(feof(unifont)) {
+                 break;
+             } else {
+-                die("unifont gzgets failed");
++                die("unifont gets failed");
+             }
+         }
+@@ -164,7 +164,7 @@ int main(int argc, char** argv) {
+         properties[codepoint].isWide = isWide;
+     }
+-    gzclose(unifont);
++    fclose(unifont);
+     FILE *source = fopen(argv[1], "wt");
+     if(!source)
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..ebc2025
--- /dev/null
@@ -0,0 +1,2 @@
+01_RemoveGitHash.patch
+20_use_system_unifont.patch 
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..ce2eb52
--- /dev/null
+++ b/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+       dh $@ --parallel
diff --git a/solvespace.1 b/solvespace.1
new file mode 100644 (file)
index 0000000..d997372
--- /dev/null
@@ -0,0 +1,28 @@
+.\"Created with GNOME Manpages Editor Wizard
+.\"http://sourceforge.net/projects/gmanedit2
+.TH solvespace 1 "August 15, 2016" "" "SOLVESPACE"
+
+.SH NAME
+solvespace \- a parametric 3d CAD program 
+
+.SH DESCRIPTION
+.PP
+.B modeling 3d parts -
+draw with extrudes, revolves, and Boolean (union / difference) operations
+.PP
+.B modeling 1d parts -
+draw the part as a single section, and export DXF, PDF, SVG; use 3d assembly to verify fit
+.PP
+.B 3d-printed parts -
+export the STL or other triangle mesh expected by most 3d printers
+.PP
+.B preparing CAM data - 
+export 2d vector art for a waterjet machine or laser cutter; or generate STEP or STL, for import into third-party CAM software for machining
+.PP
+.B  mechanism design -
+use the constraint solver to simulate planar or spatial linkages, with pin, ball, or slide joints
+.PP
+.B  plane and solid geometry -
+replace hand-solved trigonometry and spreadsheets with a live dimensioned drawing
+.PP
+
diff --git a/solvespace.install b/solvespace.install
new file mode 100644 (file)
index 0000000..0ca010a
--- /dev/null
@@ -0,0 +1,3 @@
+usr/bin/solvespace
+usr/share/applications
+usr/share/icons
diff --git a/solvespace.manpages b/solvespace.manpages
new file mode 100644 (file)
index 0000000..be9c64a
--- /dev/null
@@ -0,0 +1 @@
+debian/solvespace.1
diff --git a/solvespace.sharedmimeinfo b/solvespace.sharedmimeinfo
new file mode 100644 (file)
index 0000000..4f6e2cf
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+    <mime-type type="application/x-solvespace">
+    <comment>SolveSpace sketch</comment>
+    <glob pattern="*.slvs"/>
+    <generic-icon name="x-office-document"/>
+  </mime-type>
+</mime-info>
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/source/options b/source/options
new file mode 100644 (file)
index 0000000..3fbd3a4
--- /dev/null
@@ -0,0 +1,3 @@
+tar-ignore = "*.sublime-*"
+tar-ignore = "build*"
+tar-ignore = ".git"
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..72df02a
--- /dev/null
+++ b/watch
@@ -0,0 +1,3 @@
+version=3
+opts=repacksuffix=+dfsg1,uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)\d*)$/$1~$2/,dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$// \
+https://github.com/solvespace/solvespace/tags .*/v?(\d\S*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))