public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/spek/, media-sound/spek/files/
@ 2020-11-16  9:40 David Seifert
  0 siblings, 0 replies; 3+ messages in thread
From: David Seifert @ 2020-11-16  9:40 UTC (permalink / raw
  To: gentoo-commits

commit:     da47b0e74bb59cdc66804a13bce61f1d4f335171
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Mon Nov 16 09:39:40 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 09:39:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da47b0e7

media-sound/spek: respect AR

Closes: https://bugs.gentoo.org/754861
Closes: https://github.com/gentoo/gentoo/pull/18280
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Reported-by: Agostino Sarrubo <ago <AT> gentoo.org>
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-sound/spek/files/spek-0.8.3-AR.patch | 18 ++++++++++++++++++
 media-sound/spek/spek-0.8.3-r1.ebuild      |  1 +
 2 files changed, 19 insertions(+)

diff --git a/media-sound/spek/files/spek-0.8.3-AR.patch b/media-sound/spek/files/spek-0.8.3-AR.patch
new file mode 100644
index 00000000000..be797ba663f
--- /dev/null
+++ b/media-sound/spek/files/spek-0.8.3-AR.patch
@@ -0,0 +1,18 @@
+Bug: https://bugs.gentoo.org/754861
+https://github.com/alexkay/spek/pull/198
+
+diff --git a/configure.ac b/configure.ac
+index 3fc451b..b270033 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -5,6 +5,7 @@ AM_INIT_AUTOMAKE([1.11.1 foreign no-dist-gzip dist-xz serial-tests])
+ AM_SILENT_RULES([yes])
+ 
+ AC_LANG([C++])
++AM_PROG_AR
+ AC_PROG_CXX
+ CXXFLAGS="$CXXFLAGS -std=gnu++11 -Wall -Wextra"
+ AC_PROG_CXXCPP
+-- 
+2.26.2
+

diff --git a/media-sound/spek/spek-0.8.3-r1.ebuild b/media-sound/spek/spek-0.8.3-r1.ebuild
index 7a4eb6af0e7..be7cff89511 100644
--- a/media-sound/spek/spek-0.8.3-r1.ebuild
+++ b/media-sound/spek/spek-0.8.3-r1.ebuild
@@ -30,6 +30,7 @@ PATCHES=(
 	"${FILESDIR}"/${P}-stdlib.patch
 	"${FILESDIR}"/${P}-ffmpeg3.patch
 	"${FILESDIR}"/${P}-ffmpeg3-1.patch
+	"${FILESDIR}"/${P}-AR.patch
 )
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-sound/spek/, media-sound/spek/files/
@ 2022-07-26  6:22 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2022-07-26  6:22 UTC (permalink / raw
  To: gentoo-commits

commit:     876ecd41959cad8a382e2b364bf214c70ace77d5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 26 06:21:44 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 26 06:22:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=876ecd41

media-sound/spek: add 0.8.4

Makes ffmpeg 5 situation better but not yet enough.

Bug: https://bugs.gentoo.org/834397
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/spek/Manifest                          |  1 +
 .../spek/files/spek-0.8.4-disable-updates.patch    | 11 ++++++++
 media-sound/spek/spek-0.8.4.ebuild                 | 33 ++++++++++++++++++++++
 3 files changed, 45 insertions(+)

diff --git a/media-sound/spek/Manifest b/media-sound/spek/Manifest
index 54f02a8e7449..60f47392b50a 100644
--- a/media-sound/spek/Manifest
+++ b/media-sound/spek/Manifest
@@ -1 +1,2 @@
 DIST spek-0.8.3.tar.gz 1349573 BLAKE2B ce783c319741c43f27462caf9dcd27e71f4c8fbc9d3a3d2ac0b977189cca4cf8ed14f258958bbf59532c4cae97562fa20819222ae68567e9e607f243a2777000 SHA512 a4b54746316d295574bc963e650728b23b3730ee6bcc8d78b043a5678baac70a0e859870120de2b0e6a17059e9e3757075f4691e2abde98c083afc393e93e17c
+DIST spek-0.8.4.tar.xz 430096 BLAKE2B 4b3a512f0a8e74650161c9ed7ef0e054325d9f42743362180d970854fccc99cf20fcf329643ffbd0e84a5ee0aff746d2fc2750b91f300e29243ce1194b1b0d9d SHA512 08e39d4c0c7732feec159a8ff29550a62bab37a01325589787e027a027c50ee926f4cd9e0971061bf4e0b53a590b842c6586b4173e09cc9b27dd3b5668dc2d8b

diff --git a/media-sound/spek/files/spek-0.8.4-disable-updates.patch b/media-sound/spek/files/spek-0.8.4-disable-updates.patch
new file mode 100644
index 000000000000..8f498e7942e2
--- /dev/null
+++ b/media-sound/spek/files/spek-0.8.4-disable-updates.patch
@@ -0,0 +1,11 @@
+--- a/src/spek-preferences.cc
++++ b/src/spek-preferences.cc
+@@ -44,7 +44,7 @@ SpekPreferences::SpekPreferences() : locale(NULL)
+ 
+ bool SpekPreferences::get_check_update()
+ {
+-    bool result = true;
++    bool result = false;
+     this->config->Read("/update/check", &result);
+     return result;
+ }

diff --git a/media-sound/spek/spek-0.8.4.ebuild b/media-sound/spek/spek-0.8.4.ebuild
new file mode 100644
index 000000000000..dbfa6ab4d593
--- /dev/null
+++ b/media-sound/spek/spek-0.8.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WX_GTK_VER="3.0-gtk3"
+
+inherit wxwidgets xdg
+
+DESCRIPTION="Analyse your audio files by showing their spectrogram"
+HOMEPAGE="http://www.spek-project.org/"
+SRC_URI="https://github.com/alexkay/spek/releases/download/v${PV}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	media-video/ffmpeg:=
+	x11-libs/wxGTK:${WX_GTK_VER}[X]"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	sys-devel/gettext
+	virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.8.4-disable-updates.patch
+)
+
+src_configure() {
+	setup-wxwidgets unicode
+	default
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-sound/spek/, media-sound/spek/files/
@ 2023-11-24 13:54 Pacho Ramos
  0 siblings, 0 replies; 3+ messages in thread
From: Pacho Ramos @ 2023-11-24 13:54 UTC (permalink / raw
  To: gentoo-commits

commit:     94641762d9211adbd1b95b6dcd03bed4faa5d258
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 24 13:41:13 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Nov 24 13:54:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94641762

media-sound/spek: drop 0.8.3-r1, 0.8.4

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 media-sound/spek/Manifest                          |  2 -
 .../spek/files/spek-0.8.1-disable-updates.patch    | 11 ------
 media-sound/spek/files/spek-0.8.3-AR.patch         | 18 ---------
 media-sound/spek/files/spek-0.8.3-ffmpeg3-1.patch  | 33 ----------------
 media-sound/spek/files/spek-0.8.3-ffmpeg3.patch    | 37 ------------------
 .../spek-0.8.3-replace-gnu+11-with-c++11.patch     | 11 ------
 media-sound/spek/files/spek-0.8.3-stdlib.patch     | 22 -----------
 media-sound/spek/spek-0.8.3-r1.ebuild              | 44 ----------------------
 media-sound/spek/spek-0.8.4.ebuild                 | 33 ----------------
 9 files changed, 211 deletions(-)

diff --git a/media-sound/spek/Manifest b/media-sound/spek/Manifest
index 9818c2bad9f4..ca9e2b639607 100644
--- a/media-sound/spek/Manifest
+++ b/media-sound/spek/Manifest
@@ -1,3 +1 @@
-DIST spek-0.8.3.tar.gz 1349573 BLAKE2B ce783c319741c43f27462caf9dcd27e71f4c8fbc9d3a3d2ac0b977189cca4cf8ed14f258958bbf59532c4cae97562fa20819222ae68567e9e607f243a2777000 SHA512 a4b54746316d295574bc963e650728b23b3730ee6bcc8d78b043a5678baac70a0e859870120de2b0e6a17059e9e3757075f4691e2abde98c083afc393e93e17c
-DIST spek-0.8.4.tar.xz 430096 BLAKE2B 4b3a512f0a8e74650161c9ed7ef0e054325d9f42743362180d970854fccc99cf20fcf329643ffbd0e84a5ee0aff746d2fc2750b91f300e29243ce1194b1b0d9d SHA512 08e39d4c0c7732feec159a8ff29550a62bab37a01325589787e027a027c50ee926f4cd9e0971061bf4e0b53a590b842c6586b4173e09cc9b27dd3b5668dc2d8b
 DIST spek-0.8.5.tar.xz 430464 BLAKE2B 54c977cc38f8162ec7fe45fe9eca023a9bdd2c1b42c0ad80dcf07c15ab93b416f58b499a3e8a9b9bb2ed16143deb899ce1c4fed2eba6b0e78eeab8b23a3326e7 SHA512 25f72c9372b142183ab34c47f1d7d6e62b9316d94b31aacff5d3ca007be030f4848a385be1bbb98f285aba010804fd429a7e099e597c30861347f5b8ed50d5b1

diff --git a/media-sound/spek/files/spek-0.8.1-disable-updates.patch b/media-sound/spek/files/spek-0.8.1-disable-updates.patch
deleted file mode 100644
index e035a4c60819..000000000000
--- a/media-sound/spek/files/spek-0.8.1-disable-updates.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- spek-0.8.1/src/spek-preferences.cc
-+++ spek-0.8.1/src/spek-preferences.cc
-@@ -62,7 +62,7 @@
- 
- bool SpekPreferences::get_check_update()
- {
--    bool result = true;
-+    bool result = false;
-     this->config->Read(wxT("/update/check"), &result);
-     return result;
- }

diff --git a/media-sound/spek/files/spek-0.8.3-AR.patch b/media-sound/spek/files/spek-0.8.3-AR.patch
deleted file mode 100644
index be797ba663fc..000000000000
--- a/media-sound/spek/files/spek-0.8.3-AR.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Bug: https://bugs.gentoo.org/754861
-https://github.com/alexkay/spek/pull/198
-
-diff --git a/configure.ac b/configure.ac
-index 3fc451b..b270033 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -5,6 +5,7 @@ AM_INIT_AUTOMAKE([1.11.1 foreign no-dist-gzip dist-xz serial-tests])
- AM_SILENT_RULES([yes])
- 
- AC_LANG([C++])
-+AM_PROG_AR
- AC_PROG_CXX
- CXXFLAGS="$CXXFLAGS -std=gnu++11 -Wall -Wextra"
- AC_PROG_CXXCPP
--- 
-2.26.2
-

diff --git a/media-sound/spek/files/spek-0.8.3-ffmpeg3-1.patch b/media-sound/spek/files/spek-0.8.3-ffmpeg3-1.patch
deleted file mode 100644
index dee0e3ca0f8f..000000000000
--- a/media-sound/spek/files/spek-0.8.3-ffmpeg3-1.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-https://github.com/alexkay/spek/commit/ee8bc49ed4a93a14a933ecb0eebfe424111f8413
-
-Index: spek-0.8.3/src/spek-audio.cc
-===================================================================
---- spek-0.8.3.orig/src/spek-audio.cc
-+++ spek-0.8.3/src/spek-audio.cc
-@@ -202,7 +202,7 @@ AudioFileImpl::AudioFileImpl(
-     this->packet.data = nullptr;
-     this->packet.size = 0;
-     this->offset = 0;
--    this->frame = avcodec_alloc_frame();
-+    this->frame = av_frame_alloc();
-     this->buffer_size = 0;
-     this->buffer = nullptr;
-     this->frames_per_interval = 0;
-@@ -218,7 +218,7 @@ AudioFileImpl::~AudioFileImpl()
-     if (this->frame) {
-         // TODO: Remove this check after Debian switches to libav 9.
- #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(54, 28, 0)
--        avcodec_free_frame(&this->frame);
-+        av_frame_free(&this->frame);
- #else
-         av_freep(&this->frame);
- #endif
-@@ -258,7 +258,7 @@ int AudioFileImpl::read()
- 
-     for (;;) {
-         while (this->packet.size > 0) {
--            avcodec_get_frame_defaults(this->frame);
-+	    av_frame_unref(this->frame);
-             auto codec_context = this->format_context->streams[this->audio_stream]->codec;
-             int got_frame = 0;
-             int len = avcodec_decode_audio4(codec_context, this->frame, &got_frame, &this->packet);

diff --git a/media-sound/spek/files/spek-0.8.3-ffmpeg3.patch b/media-sound/spek/files/spek-0.8.3-ffmpeg3.patch
deleted file mode 100644
index ad82a38c31c5..000000000000
--- a/media-sound/spek/files/spek-0.8.3-ffmpeg3.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-commit 1ef950dcbf89dd8adf816009b54009f487828a45
-Author: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-Date:   Sun Mar 27 14:19:42 2016 -0700
-
-    Replace deprecated FFmpeg API
-
-diff --git a/src/spek-audio.cc b/src/spek-audio.cc
-index b7633bc..21ea7a4 100644
---- a/src/spek-audio.cc
-+++ b/src/spek-audio.cc
-@@ -222,7 +222,7 @@ AudioFileImpl::~AudioFileImpl()
-         this->packet.data -= this->offset;
-         this->packet.size += this->offset;
-         this->offset = 0;
--        av_free_packet(&this->packet);
-+        av_packet_unref(&this->packet);
-     }
-     if (this->format_context) {
-         if (this->audio_stream >= 0) {
-@@ -326,7 +326,7 @@ int AudioFileImpl::read()
-             this->packet.data -= this->offset;
-             this->packet.size += this->offset;
-             this->offset = 0;
--            av_free_packet(&this->packet);
-+            av_packet_unref(&this->packet);
-         }
- 
-         int res = 0;
-@@ -334,7 +334,7 @@ int AudioFileImpl::read()
-             if (this->packet.stream_index == this->audio_stream) {
-                 break;
-             }
--            av_free_packet(&this->packet);
-+            av_packet_unref(&this->packet);
-         }
-         if (res < 0) {
-             // End of file or error.

diff --git a/media-sound/spek/files/spek-0.8.3-replace-gnu+11-with-c++11.patch b/media-sound/spek/files/spek-0.8.3-replace-gnu+11-with-c++11.patch
deleted file mode 100644
index 624e969dba4a..000000000000
--- a/media-sound/spek/files/spek-0.8.3-replace-gnu+11-with-c++11.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- spek-0.8.3/configure.ac
-+++ spek-0.8.3/configure.ac
-@@ -6,7 +6,7 @@
- 
- AC_LANG([C++])
- AC_PROG_CXX
--CXXFLAGS="$CXXFLAGS -std=gnu++11 -Wall -Wextra"
-+CXXFLAGS="$CXXFLAGS -std=c++11 -Wall -Wextra"
- AC_PROG_CXXCPP
- AC_PROG_RANLIB
- AC_PROG_INSTALL

diff --git a/media-sound/spek/files/spek-0.8.3-stdlib.patch b/media-sound/spek/files/spek-0.8.3-stdlib.patch
deleted file mode 100644
index c0ffa16b4d52..000000000000
--- a/media-sound/spek/files/spek-0.8.3-stdlib.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-https://bugs.gentoo.org/519450
-
---- spek-0.8.3/src/spek-fft.cc
-+++ spek-0.8.3/src/spek-fft.cc
-@@ -17,6 +17,7 @@
-  */
- 
- #include <math.h>
-+#include <stdlib.h>
- 
- #define __STDC_CONSTANT_MACROS
- extern "C" {
---- spek-0.8.3/src/spek-events.cc
-+++ spek-0.8.3/src/spek-events.cc
-@@ -16,6 +16,7 @@
-  * along with Spek.  If not, see <http://www.gnu.org/licenses/>.
-  */
- 
-+#include <stdlib.h>
- #include "spek-events.h"
- 
- //IMPLEMENT_DYNAMIC_CLASS(SpekHaveSampleEvent, wxEvent)

diff --git a/media-sound/spek/spek-0.8.3-r1.ebuild b/media-sound/spek/spek-0.8.3-r1.ebuild
deleted file mode 100644
index be7cff895114..000000000000
--- a/media-sound/spek/spek-0.8.3-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-WX_GTK_VER="3.0"
-
-inherit autotools wxwidgets xdg
-
-DESCRIPTION="Analyse your audio files by showing their spectrogram"
-HOMEPAGE="http://www.spek-project.org/"
-SRC_URI="https://github.com/alexkay/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-	media-video/ffmpeg:0=
-	x11-libs/wxGTK:${WX_GTK_VER}[X]"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	dev-util/intltool
-	sys-devel/gettext
-	virtual/pkgconfig"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-0.8.1-disable-updates.patch
-	"${FILESDIR}"/${P}-replace-gnu+11-with-c++11.patch
-	"${FILESDIR}"/${P}-stdlib.patch
-	"${FILESDIR}"/${P}-ffmpeg3.patch
-	"${FILESDIR}"/${P}-ffmpeg3-1.patch
-	"${FILESDIR}"/${P}-AR.patch
-)
-
-src_prepare() {
-	default
-	eautoreconf
-}
-
-src_configure() {
-	setup-wxwidgets unicode
-	default
-}

diff --git a/media-sound/spek/spek-0.8.4.ebuild b/media-sound/spek/spek-0.8.4.ebuild
deleted file mode 100644
index 437ebc2afb97..000000000000
--- a/media-sound/spek/spek-0.8.4.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-WX_GTK_VER="3.0-gtk3"
-
-inherit wxwidgets xdg
-
-DESCRIPTION="Analyse your audio files by showing their spectrogram"
-HOMEPAGE="http://spek.cc/"
-SRC_URI="https://github.com/alexkay/spek/releases/download/v${PV}/${P}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-	media-video/ffmpeg:=
-	x11-libs/wxGTK:${WX_GTK_VER}[X]"
-DEPEND="${RDEPEND}"
-BDEPEND="
-	sys-devel/gettext
-	virtual/pkgconfig"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-0.8.4-disable-updates.patch
-)
-
-src_configure() {
-	setup-wxwidgets unicode
-	default
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-24 13:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-16  9:40 [gentoo-commits] repo/gentoo:master commit in: media-sound/spek/, media-sound/spek/files/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2022-07-26  6:22 Sam James
2023-11-24 13:54 Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox