Add Debian files to create packages

This commit is contained in:
Markus Gans 2017-02-05 23:55:54 +01:00
parent dbbf811993
commit e369a11d1a
18 changed files with 2090 additions and 3 deletions

View File

@ -1,3 +1,3 @@
PROJECT_NAME = "The Final Cut"
EXCLUDE = icon, logo, m4, scripts, test
EXCLUDE = debian, icon, logo, m4, scripts, test

17
debian/changelog vendored Normal file
View File

@ -0,0 +1,17 @@
finalcut (0.3.0) unstable; urgency=low
* Release (version 0.3.0)
-- Markus Gans <guru.mail@muenster.de> Sat, 27 Nov 2016 15:00:41 +0100
finalcut (0.2.0) unstable; urgency=low
* Release (version 0.2.0)
-- Markus Gans <guru.mail@muenster.de> Sat, 19 Dec 2015 22:01:48 +0100
finalcut (0.1.1) unstable; urgency=low
* Initial Release (version 0.1.1)
-- Markus Gans <guru.mail@muenster.de> Fri, 18 Sep 2015 23:35:57 +0100

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

66
debian/control vendored Normal file
View File

@ -0,0 +1,66 @@
Source: finalcut
Maintainer: Markus Gans <guru.mail@muenster.de>
Section: libs
Priority: standard
Build-Depends: debhelper (>= 5), dpkg-dev, g++, pkg-config, autotools-dev
Standards-Version: 3.8.4
Homepage: https://github.com/gansm/finalcut/
Package: libfinal0
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Multi-Arch: same
Depends: libtinfo-dev (>= 5.3), ${shlibs:Depends}, ${misc:Depends}
Recommends: libgpm-dev [linux-any]
Suggests: coreutils, grep, sed, vim-common, gzip, xfonts-utils
Description: Shared library for the final cut widget toolkit
The Final Cut is a class library and widget toolkit with full mouse
support for creating a text-based user interface. The library supports
the programmer to develop an application for the text console. It allows
the simultaneous handling of multiple windows on the screen.
.
The C++ class design was inspired by the Qt framework. It provides
common controls like dialog windows, push buttons, check boxes,
radio buttons, input lines, list boxes, status bars and so on.
.
This package contains the shared library necessary to run programs
compiled with the final cut.
Package: libfinal-dev
Architecture: any
Section: libdevel
Priority: optional
Multi-Arch: same
Depends: libfinal0 (= ${binary:Version}), ${misc:Depends}
Description: Developer's library for the final cut widget toolkit
The Final Cut is a class library and widget toolkit with full mouse
support for creating a text-based user interface. The library supports
the programmer to develop an application for the text console. It allows
the simultaneous handling of multiple windows on the screen.
.
The C++ class design was inspired by the Qt framework. It provides
common controls like dialog windows, push buttons, check boxes,
radio buttons, input lines, list boxes, status bars and so on.
.
This package contains the static library and symbolic link that developers
using the final cut widget toolkit will need. Packages should not
build-depend on this package.
Package: libfinal-examples
Architecture: any
Section: misc
Priority: optional
Multi-Arch: same
Depends: libfinal0 (= ${binary:Version}), ${misc:Depends}
Description: Test and example programs for the final cut widget toolkit
The Final Cut is a class library and widget toolkit with full mouse
support for creating a text-based user interface. The library supports
the programmer to develop an application for the text console. It allows
the simultaneous handling of multiple windows on the screen.
.
The C++ class design was inspired by the Qt framework. It provides
common controls like dialog windows, push buttons, check boxes,
radio buttons, input lines, list boxes, status bars and so on.
.
This package contains programs that demonstrate the possibilities of
the final cut library.

26
debian/copyright vendored Normal file
View File

@ -0,0 +1,26 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: finalcut
source https://github.com/gansm/finalcut
Files: *
Copyright: 2014, Markus Gans <guru.mail@muenster.de>
License: GPL-3
License: GPL-3
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 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 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 full text of the GNU General Public License
Version 3 can be found in the file
`/usr/share/common-licenses/GPL-3`.

18
debian/libfinal-dev.docs vendored Normal file
View File

@ -0,0 +1,18 @@
doc/calendar-draft.png
doc/class-diagram.txt
doc/console_codes-manual.sh
doc/console_ioctl-manual.sh
doc/fileopen-dialog.png
doc/ncurses.supp
doc/newfont1.png
doc/newfont2.png
doc/progress-bar.png
doc/readme.txt
doc/coding-style.txt
doc/terminfo-capabilities.sh
doc/terminfo-manual.sh
doc/textview.png
doc/TODO
doc/vt100_line_drawing_graphics.png
doc/VTerm.txt
doc/xgraphics

3
debian/libfinal-dev.install vendored Normal file
View File

@ -0,0 +1,3 @@
usr/lib/*/lib*.la
usr/lib/*/lib*.a
usr/include/final/*.h

4
debian/libfinal-examples.install vendored Normal file
View File

@ -0,0 +1,4 @@
test/.libs/* usr/lib/finalcut/examples
test/*.cpp usr/lib/finalcut/examples
test/Makefile.clang usr/lib/finalcut/examples
test/Makefile.gcc usr/lib/finalcut/examples

2
debian/libfinal-examples.links vendored Normal file
View File

@ -0,0 +1,2 @@
usr/lib/finalcut/examples/Makefile.gcc usr/lib/finalcut/examples/Makefile
usr/lib/finalcut/examples usr/share/doc/libfinal-examples/examples

2
debian/libfinal0.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/lib/*/lib*.so.*

1
debian/libfinal0.shlibs vendored Normal file
View File

@ -0,0 +1 @@
libfinal 0 libfinal0 (>= 0.3.0)

1909
debian/libfinal0.symbols vendored Normal file

File diff suppressed because it is too large Load Diff

32
debian/rules vendored Executable file
View File

@ -0,0 +1,32 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
# 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
# main packaging script based on dh7 syntax
%:
dh $@ --with autotools-dev
# debmake generated override targets
# This is example for Cmake (See http://bugs.debian.org/641051 )
#override_dh_auto_configure:
# dh_auto_configure -- \
# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (native)

2
debian/watch vendored Normal file
View File

@ -0,0 +1,2 @@
version=3
opts=passive https://github.com/gansm/finalcut/archive/([\d.]+)\.tar.gz

View File

@ -15,6 +15,7 @@ EXTRA_DIST = \
newfont2.png \
progress-bar.png \
readme.txt \
coding-style.txt \
terminfo-capabilities.sh \
terminfo-manual.sh \
textview.png \
@ -34,6 +35,7 @@ doc_DATA = \
newfont2.png \
progress-bar.png \
readme.txt \
coding-style.txt \
terminfo-capabilities.sh \
terminfo-manual.sh \
textview.png \
@ -41,4 +43,3 @@ doc_DATA = \
vt100_line_drawing_graphics.png \
VTerm.txt \
xgraphics

View File

@ -277,6 +277,7 @@ EXTRA_DIST = \
newfont2.png \
progress-bar.png \
readme.txt \
coding-style.txt \
terminfo-capabilities.sh \
terminfo-manual.sh \
textview.png \
@ -296,6 +297,7 @@ doc_DATA = \
newfont2.png \
progress-bar.png \
readme.txt \
coding-style.txt \
terminfo-capabilities.sh \
terminfo-manual.sh \
textview.png \

View File

@ -4,4 +4,4 @@
TERMTITLE="infocmp: $TERM"
echo -ne "\033]0;${TERMTITLE}\007"
infocmp | less
infocmp -x | less