diff options
author | Lasse Flygenring-Harrsen <Lasse@Flygenring-Harrsen.com> | 2020-07-01 17:23:30 +0200 |
---|---|---|
committer | Lasse Flygenring-Harrsen <Lasse@Flygenring-Harrsen.com> | 2020-07-09 00:42:03 +0200 |
commit | b4ad76f5775d908a4d3d9986688b18d58cfb8aa8 (patch) | |
tree | 5b8ac4edee80ad163fda66e7615850439a75aae9 | |
parent | 6d2fa862858dafdea29fc2e4a3dc39c3dbb17f2e (diff) |
Import Debian changes 0.7.1-4
cava-alsa (0.7.1-4) unstable; urgency=medium
.
* Updated vcs-* fields in debian/control to reflect new repository
.
cava-alsa (0.7.1-3) unstable; urgency=medium
.
* Added hardening bindnow option to DEB_BUILD_MAINT_OPTIONS
.
cava-alsa (0.7.1-2) unstable; urgency=medium
.
* Added debian/upstream/metadata file
* Updated package to follow debian standards version 4.5.0
* Removed dh_make template from debian/watch file
.
cava-alsa (0.7.1-1) unstable; urgency=medium
.
* Updated to new upstream version
* String literal error was fixed upstream, so the related patch was no
longer necessary, and was thus removed.
.
cava-alsa (0.7.0-1) unstable; urgency=medium
.
* Initial release Closes: #954325
* My first Debian package.
* Fixed rpath issue makefile.
* Fixed string literal compiler warning.
* Fixed minor spelling mistake in binary
-rw-r--r-- | debian/cava.1 | 35 | ||||
-rw-r--r-- | debian/cava.manpages | 1 | ||||
-rw-r--r-- | debian/changelog | 37 | ||||
-rw-r--r-- | debian/control | 20 | ||||
-rw-r--r-- | debian/copyright | 35 | ||||
-rw-r--r-- | debian/docs | 1 | ||||
-rw-r--r-- | debian/install | 2 | ||||
-rw-r--r-- | debian/patches/fix-rpath-in-makefile.patch | 22 | ||||
-rw-r--r-- | debian/patches/series | 2 | ||||
-rw-r--r-- | debian/patches/spelling-mistakes.diff | 22 | ||||
-rwxr-xr-x | debian/rules | 10 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/upstream/metadata | 5 | ||||
-rw-r--r-- | debian/watch | 4 |
14 files changed, 197 insertions, 0 deletions
diff --git a/debian/cava.1 b/debian/cava.1 new file mode 100644 index 0000000..9fe6c06 --- /dev/null +++ b/debian/cava.1 @@ -0,0 +1,35 @@ +.TH CAVA 1 "March 2020" Linux "User Manual" +.SH NAME +.PP +cava \- Console\-based Audio Visualizer for ALSA + +.SH SYNOPSIS +.PP +\fB\fCcava\fR [\fB\fC\-p\fR \fIpath to config file\fP] [\fB\fC\-v\fR \fIversion\fP] + +.SH DESCRIPTION +.PP +\fB\fCcava\fR is a bar spectrum audio visualizer for the Linux terminal using ALSA, pulseaudio or fifo buffer for input. This program is not intended for a scientific use. It's written to look responsive and aesthetic when used to visualize music. + +.SH OPTIONS +.PP +\fB\fC\-p\fR \fIpath to config file\fP + Specifies path to alternative config file. + +.PP +\fB\fC\-v\fR + Prints version. + +.SH FILES +.PP +\fI/usr/share/cava/example\_files/config\fP + Example config file, it's copied to \(ti/.config/cava/config in the current users + home directory if it doesn't already exist. + +.PP +\fI\(ti/.config/cava/config\fP + Per user configuration file. + +.SH SEE ALSO +.PP +Cava Homepage http://karlstav.github.io/cava/ diff --git a/debian/cava.manpages b/debian/cava.manpages new file mode 100644 index 0000000..5fd722c --- /dev/null +++ b/debian/cava.manpages @@ -0,0 +1 @@ +debian/cava.1 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..dbdca16 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,37 @@ +cava-alsa (0.7.1-4) unstable; urgency=medium + + * Updated vcs-* fields in debian/control to reflect new repository + + -- Lasse Flygenring-Harrsen <Lasse@Flygenring-Harrsen.com> Wed, 01 Jul 2020 17:23:30 +0200 + +cava-alsa (0.7.1-3) unstable; urgency=medium + + * Added hardening bindnow option to DEB_BUILD_MAINT_OPTIONS + + -- Lasse Flygenring-Harrsen <Lasse@Flygenring-Harrsen.com> Wed, 01 Jul 2020 15:22:48 +0200 + +cava-alsa (0.7.1-2) unstable; urgency=medium + + * Added debian/upstream/metadata file + * Updated package to follow debian standards version 4.5.0 + * Removed dh_make template from debian/watch file + + -- Lasse Flygenring-Harrsen <Lasse@Flygenring-Harrsen.com> Wed, 01 Jul 2020 14:45:37 +0200 + +cava-alsa (0.7.1-1) unstable; urgency=medium + + * Updated to new upstream version + * String literal error was fixed upstream, so the related patch was no + longer necessary, and was thus removed. + + -- Lasse Flygenring-Harrsen <Lasse@Flygenring-Harrsen.com> Wed, 01 Jul 2020 14:11:27 +0200 + +cava-alsa (0.7.0-1) unstable; urgency=medium + + * Initial release Closes: #954325 + * My first Debian package. + * Fixed rpath issue makefile. + * Fixed string literal compiler warning. + * Fixed minor spelling mistake in binary + + -- Lasse Flygenring-Harrsen <Lasse@Flygenring-Harrsen.com> Wed, 01 Jul 2020 13:40:00 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..5001ac3 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: cava-alsa +Section: sound +Priority: optional +Maintainer: Lasse Flygenring-Harrsen <Lasse@Flygenring-Harrsen.com> +Build-Depends: debhelper-compat (= 13), libfftw3-dev, libasound2-dev, libncursesw5-dev, libpulse-dev, libncurses5-dev, libtool-bin, libiniparser-dev +Standards-Version: 4.5.0 +Homepage: https://karlstav.github.io/cava/ +Vcs-Browser: https://git.flygenring-harrsen.com/lasse/cava-alsa +Vcs-Git: https://git.flygenring-harrsen.com/lasse/cava-alsa.git +Rules-Requires-Root: no + +Package: cava +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: pulseaudio +Description: Console-based Audio Visualizer for Alsa + C.A.V.A. is a bar spectrum audio visualizer for the Linux terminal using + ALSA, pulseaudio or fifo buffer for input. This program is not intended + for scientific use. It's written to look responsive and aesthetic when + used to visualize music. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..fe938a5 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: cava +Upstream-Contact: Karl Stavestrand <karl@stavestrand.no> +Source: https://github.com/karlstav/cava + +Files: * +Copyright: 2015-2020 Karl Stavestrand <karl@stavestrand.no> +License: MIT + +Files: debian/* +Copyright: 2020 Lasse Flygenring-Harrsen <Lasse@Flygenring-Harrsen.com> +License: MIT + +Files: iniparser/* +Copyright: 2000-2011 Nicolas Devillard <ndevilla@free.re> +License: MIT + +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/docs b/debian/docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..f902a6a --- /dev/null +++ b/debian/install @@ -0,0 +1,2 @@ +example_files /usr/share/cava + diff --git a/debian/patches/fix-rpath-in-makefile.patch b/debian/patches/fix-rpath-in-makefile.patch new file mode 100644 index 0000000..9b043ab --- /dev/null +++ b/debian/patches/fix-rpath-in-makefile.patch @@ -0,0 +1,22 @@ +From: Lasse Flygenring-Harrsen <Lasse@Flygenring-Harrsen.com> +Date: Wed, 1 Jul 2020 13:52:24 +0200 +Subject: fix-rpath-in-makefile + +Avoid changing the runtime search path for the binary, which is not necessary since the binary is statically linked. +--- + Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: cava-alsa/Makefile.am +=================================================================== +--- cava-alsa.orig/Makefile.am 2020-07-01 14:04:17.405510966 +0200 ++++ cava-alsa/Makefile.am 2020-07-01 14:05:54.364797434 +0200 +@@ -11,7 +11,7 @@ + bin_PROGRAMS = cava + cava_SOURCES = cava.c config.c input/common.c input/fifo.c input/shmem.c \ + output/terminal_noncurses.c output/raw.c +-cava_LDFLAGS = -L/usr/local/lib -Wl,-rpath /usr/local/lib ++cava_LDFLAGS = -L/usr/local/lib + cava_CPPFLAGS = -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\" \ + -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED + cava_CFLAGS = -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..adf0fc3 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +fix-rpath-in-makefile.patch +spelling-mistakes.diff diff --git a/debian/patches/spelling-mistakes.diff b/debian/patches/spelling-mistakes.diff new file mode 100644 index 0000000..c332b66 --- /dev/null +++ b/debian/patches/spelling-mistakes.diff @@ -0,0 +1,22 @@ +From: Lasse Flygenring-Harrsen <Lasse@Flygenring-Harrsen.com> +Date: Wed, 1 Jul 2020 13:52:24 +0200 +Subject: spelling-mistakes + +Fixed spelling mistake 'quiting' instead of 'quitting', which ended up in the binary. +--- + cava.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cava.c b/cava.c +index 45ec0c3..8ee0043 100644 +--- a/cava.c ++++ b/cava.c +@@ -473,7 +473,7 @@ as of 0.4.0 all options are specified in config file, see in '/home/username/.co + if (n > 2000) { + cleanup(); + fprintf(stderr, "could not get rate and/or format, problems with audio thread? " +- "quiting...\n"); ++ "quitting...\n"); + exit(EXIT_FAILURE); + } + } diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..1ff311c --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +#Override variables to ensure package uses the systems libiniparser. +export DEB_CPPFLAGS_MAINT_APPEND = -I/usr/include/iniparser + +#Hardning bindnow +export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow + +%: + dh $@ 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/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..f3d4573 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +Bug-Submit: https://github.com/karlstav/cava/issues//new +Documentation: https://github.com/karlstav/cava +Bug-Database: https://github.com/karlstav/cava/issues/ +Repository: https://github.com/karlstav/cava.git +Repository-Browse: https://github.com/karlstav/cava diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..b79127f --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%cava-$1.tar.gz%" \ + https://github.com/karlstav/cava/releases \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz |