diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..d274218 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +siedit (0.0~git20230914.5a09a29) bullseye; urgency=medium + + * Initial release + + -- Joshua Peisach <itzswirlz2020@outlook.com> Thu, 14 Sep 2023 20:14:31 -0400 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..57c91c4 --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: siedit +Section: utils +Priority: optional +Maintainer: Joshua Peisach <itzswirlz2020@outlook.com> +Build-Depends: cmake, debhelper-compat (= 13), dh-cmake, libavcodec-dev, libavdevice-dev, libavfilter-dev, libavformat-dev, libavutil-dev, libswresample-dev, libswscale-dev, qtbase5-dev, qtmultimedia5-dev +Standards-Version: 4.6.0 +Homepage: https://github.com/itsmattkc/SIEdit +Rules-Requires-Root: no + +Package: siedit +Architecture: all +Depends: ${misc:Depends} +Description: Tools for working with SI files + TODO: Extended description, check build deps diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5325c57 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,27 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: siedit +Upstream-Contact: MattKC <business@mattkc.com> +Source: https://github.com/itsmattkc/SIEdit + +Files: * +Copyright: 2023 MattKC <business@mattkc.com> +License: GPL-3+ + +Files: debian/* +Copyright: 2023 Joshua Peisach <itzswirlz2020@outlook.com> +License: GPL-3+ + 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 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 <https://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". diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..98f89a3 --- /dev/null +++ b/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +# 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 + + +%: + dh $@ --buildsystem=cmake \ No newline at end of file diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/lib/file.cpp b/lib/file.cpp index 9a62ad5..241ce89 100644 --- a/lib/file.cpp +++ b/lib/file.cpp @@ -115,6 +115,7 @@ void File::seek(File::pos_t p, SeekMode s) std::ios::seekdir d; switch (s) { + default: case SeekStart: d = std::ios::beg; break;