From owner-svn-ports-head@freebsd.org Thu Jun 25 03:56:25 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E2FE134DFEC; Thu, 25 Jun 2020 03:56:25 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49smQx5j6xz4Vc9; Thu, 25 Jun 2020 03:56:25 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BEE1D1CFAC; Thu, 25 Jun 2020 03:56:25 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 05P3uPJk098704; Thu, 25 Jun 2020 03:56:25 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05P3uOko098700; Thu, 25 Jun 2020 03:56:24 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <202006250356.05P3uOko098700@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Thu, 25 Jun 2020 03:56:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r540363 - in head/audio/cava: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/audio/cava: . files X-SVN-Commit-Revision: 540363 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2020 03:56:26 -0000 Author: tobik Date: Thu Jun 25 03:56:24 2020 New Revision: 540363 URL: https://svnweb.freebsd.org/changeset/ports/540363 Log: audio/cava: Update to 0.7.1 Changes: https://github.com/karlstav/cava/releases/tag/0.7.1 Modified: head/audio/cava/Makefile head/audio/cava/distinfo head/audio/cava/files/patch-Makefile.am head/audio/cava/files/patch-cava.c Modified: head/audio/cava/Makefile ============================================================================== --- head/audio/cava/Makefile Thu Jun 25 03:29:04 2020 (r540362) +++ head/audio/cava/Makefile Thu Jun 25 03:56:24 2020 (r540363) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= cava -DISTVERSION= 0.7.0 +DISTVERSION= 0.7.1 CATEGORIES= audio MAINTAINER= tobik@FreeBSD.org Modified: head/audio/cava/distinfo ============================================================================== --- head/audio/cava/distinfo Thu Jun 25 03:29:04 2020 (r540362) +++ head/audio/cava/distinfo Thu Jun 25 03:56:24 2020 (r540363) @@ -1,3 +1,3 @@ -TIMESTAMP = 1590792822 -SHA256 (karlstav-cava-0.7.0_GH0.tar.gz) = 1ced5b131b86f2aa86259c58c2d2dfd46201ab908395229191b5a8dec894b84c -SIZE (karlstav-cava-0.7.0_GH0.tar.gz) = 52865 +TIMESTAMP = 1593045121 +SHA256 (karlstav-cava-0.7.1_GH0.tar.gz) = 7dfb8f9c72722ded5b88bba967c72d024e9446fdabdf14938f4519262c901d06 +SIZE (karlstav-cava-0.7.1_GH0.tar.gz) = 53018 Modified: head/audio/cava/files/patch-Makefile.am ============================================================================== --- head/audio/cava/files/patch-Makefile.am Thu Jun 25 03:29:04 2020 (r540362) +++ head/audio/cava/files/patch-Makefile.am Thu Jun 25 03:56:24 2020 (r540363) @@ -2,7 +2,7 @@ does not recognize - Do not install the Linux-only font ---- Makefile.am.orig 2020-05-26 20:29:47 UTC +--- Makefile.am.orig 2020-06-24 19:18:09 UTC +++ Makefile.am @@ -10,11 +10,11 @@ M_CPPFLAGS = -DSYSTEM_LIBINIPARSER=@SYSTEM_LIBINIPARSE @@ -12,19 +12,14 @@ + output/raw.c cava_LDFLAGS = -L/usr/local/lib -Wl,-rpath /usr/local/lib cava_CPPFLAGS = -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\" \ -- -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L --cava_CFLAGS = -std=c99 -Wall -Wextra -Wno-unused-result -Wno-maybe-uninitialized -+ -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -DFONT_DIR=\"@FONT_DIR@\" +- -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 ++ -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONT_DIR=\"@FONT_DIR@\" +cava_CFLAGS = -std=c99 -Wall -Wextra if OSX cava_CFLAGS += -DNORT -@@ -39,11 +39,11 @@ if SNDIO - endif - - if NCURSES -- cava_SOURCES += output/terminal_bcircle.c output/terminal_ncurses.c -+ cava_SOURCES += output/terminal_ncurses.c +@@ -43,7 +43,7 @@ if NCURSES endif cava_font_dir = @FONT_DIR@ Modified: head/audio/cava/files/patch-cava.c ============================================================================== --- head/audio/cava/files/patch-cava.c Thu Jun 25 03:29:04 2020 (r540362) +++ head/audio/cava/files/patch-cava.c Thu Jun 25 03:56:24 2020 (r540363) @@ -1,6 +1,6 @@ ---- cava.c.orig 2020-05-26 20:29:47 UTC +--- cava.c.orig 2020-06-24 19:18:09 UTC +++ cava.c -@@ -32,13 +32,11 @@ +@@ -31,13 +31,11 @@ #include "util.h" #ifdef NCURSES @@ -14,7 +14,7 @@ #include "input/alsa.h" #include "input/common.h" -@@ -91,8 +89,6 @@ void cleanup(void) { +@@ -90,8 +88,6 @@ void cleanup(void) { #else ; #endif @@ -23,7 +23,7 @@ } } -@@ -338,8 +334,12 @@ as of 0.4.0 all options are specified in config file, +@@ -337,8 +333,12 @@ as of 0.4.0 all options are specified in config file, if (strncmp(ttyname(0), "/dev/ttys", 9) == 0) inAtty = 0; if (inAtty) { @@ -36,20 +36,20 @@ } // We use unicode block characters to draw the bars and -@@ -547,12 +547,6 @@ as of 0.4.0 all options are specified in config file, +@@ -546,12 +546,6 @@ as of 0.4.0 all options are specified in config file, height = lines * 8; break; #endif - case OUTPUT_NONCURSES: - get_terminal_dim_noncurses(&width, &lines); -- init_terminal_noncurses(p.col, p.bgcol, width, lines, p.bar_width); +- init_terminal_noncurses(inAtty, p.col, p.bgcol, width, lines, p.bar_width); - height = (lines - 1) * 8; - break; - case OUTPUT_RAW: if (strcmp(p.raw_target, "/dev/stdout") != 0) { // checking if file exists -@@ -998,10 +992,6 @@ as of 0.4.0 all options are specified in config file, +@@ -997,10 +991,6 @@ as of 0.4.0 all options are specified in config file, p.gradient); break; #endif