* [gentoo-commits] repo/gentoo:master commit in: media-libs/lsp-plugins/files/, media-libs/lsp-plugins/
@ 2022-10-19 3:47 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2022-10-19 3:47 UTC (permalink / raw
To: gentoo-commits
commit: 3d57e27328003037ca49aa48f6ca477c77a87dfe
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 19 03:46:25 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 19 03:46:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d57e273
media-libs/lsp-plugins: backport double buffering fix
Closes: https://bugs.gentoo.org/877557
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../lsp-plugins-1.2.3-fix-double-buffering.patch | 34 ++++++++
media-libs/lsp-plugins/lsp-plugins-1.2.3-r1.ebuild | 92 ++++++++++++++++++++++
2 files changed, 126 insertions(+)
diff --git a/media-libs/lsp-plugins/files/lsp-plugins-1.2.3-fix-double-buffering.patch b/media-libs/lsp-plugins/files/lsp-plugins-1.2.3-fix-double-buffering.patch
new file mode 100644
index 000000000000..8bd6cc4170e2
--- /dev/null
+++ b/media-libs/lsp-plugins/files/lsp-plugins-1.2.3-fix-double-buffering.patch
@@ -0,0 +1,34 @@
+https://github.com/lsp-plugins/lsp-tk-lib/commit/9afbda5b0db2909304248bdc69bb5c03a4278f74
+https://github.com/sadko4u/lsp-plugins/issues/272
+https://bugs.gentoo.org/877557
+
+From: sadko4u <sadko4u@gmail.com>
+Date: Fri, 9 Sep 2022 23:36:53 +0300
+Subject: [PATCH] Returned back double buffering for the window
+
+--- a/modules/lsp-tk-lib/src/main/widgets/containers/Window.cpp
++++ b/modules/lsp-tk-lib/src/main/widgets/containers/Window.cpp
+@@ -300,15 +300,20 @@ namespace lsp
+
+ size_t flags = nFlags;
+
+- s->begin();
++ ws::ISurface *bs = get_surface(s);
++ bs->begin();
+ {
+ ws::rectangle_t xr;
+ xr.nLeft = 0;
+ xr.nTop = 0;
+ xr.nWidth = sSize.nWidth;
+ xr.nHeight = sSize.nHeight;
+- render(s, &xr, flags);
++ render(bs, &xr, flags);
+ }
++ bs->end();
++
++ s->begin();
++ s->draw(bs, 0.0f, 0.0f, 1.0f, 1.0f, 0.0f);
+ s->end();
+ commit_redraw();
+
+
diff --git a/media-libs/lsp-plugins/lsp-plugins-1.2.3-r1.ebuild b/media-libs/lsp-plugins/lsp-plugins-1.2.3-r1.ebuild
new file mode 100644
index 000000000000..a2b21db8ebdc
--- /dev/null
+++ b/media-libs/lsp-plugins/lsp-plugins-1.2.3-r1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic xdg
+
+DESCRIPTION="Linux Studio Plugins"
+HOMEPAGE="https://lsp-plug.in"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/sadko4u/lsp-plugins"
+ EGIT_BRANCH="devel"
+else
+ SRC_URI="https://github.com/sadko4u/${PN}/releases/download/${PV}/${PN}-src-${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+ S="${WORKDIR}/${PN}"
+fi
+
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE="doc jack ladspa +lv2 test vst X"
+REQUIRED_USE="|| ( jack ladspa lv2 )
+ test? ( jack )"
+
+RESTRICT="!test? ( test )"
+
+BDEPEND="doc? ( dev-lang/php:* )"
+DEPEND="
+ media-libs/libglvnd[X]
+ media-libs/libsndfile
+ jack? (
+ media-libs/freetype
+ virtual/jack
+ x11-libs/cairo[X]
+ x11-libs/libX11
+ x11-libs/libXrandr
+ )
+ ladspa? ( media-libs/ladspa-sdk )
+ lv2? (
+ media-libs/freetype
+ media-libs/lv2
+ x11-libs/cairo[X]
+ x11-libs/libX11
+ x11-libs/libXrandr
+ )
+ vst? (
+ media-libs/freetype
+ x11-libs/cairo[X]
+ x11-libs/libX11
+ x11-libs/libXrandr
+ )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-fix-double-buffering.patch
+)
+
+src_configure() {
+ use doc && MODULES+="doc"
+ use jack && MODULES+=" jack"
+ use ladspa && MODULES+=" ladspa"
+ use lv2 && MODULES+=" lv2"
+ use vst && MODULES+=" vst2"
+ use X && MODULES+=" xdg"
+ emake \
+ FEATURES="${MODULES}" \
+ PREFIX="/usr" \
+ LIBDIR="/usr/$(get_libdir)" \
+ CFLAGS_EXT="${CFLAGS}" \
+ CXXFLAGS_EXT="${CXXFLAGS}" \
+ LDFLAGS_EXT="$(raw-ldflags)" \
+ VERBOSE=1 \
+ config
+}
+
+src_compile() {
+ emake \
+ FEATURES="${MODULES}" \
+ PREFIX="/usr" \
+ LIBDIR="/usr/$(get_libdir)" \
+ CFLAGS_EXT="${CFLAGS}" \
+ CXXFLAGS_EXT="${CXXFLAGS}" \
+ LDFLAGS_EXT="$(raw-ldflags)" \
+ VERBOSE=1
+}
+
+src_install() {
+ emake PREFIX="/usr" DESTDIR="${ED}" LIB_PATH="/usr/$(get_libdir)" VERBOSE=1 install
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/lsp-plugins/files/, media-libs/lsp-plugins/
@ 2024-03-15 2:55 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2024-03-15 2:55 UTC (permalink / raw
To: gentoo-commits
commit: f7e1707f731dd2573b99f492b4bfa7d49cdcef42
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 02:54:24 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 02:54:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e1707f
media-libs/lsp-plugins: drop 1.1.29, 1.2.3
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/lsp-plugins/Manifest | 1 -
.../files/lsp-plugins-1.1.29_armv8a-dsp.patch | 12 ---
media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild | 61 ------------
media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild | 105 ---------------------
4 files changed, 179 deletions(-)
diff --git a/media-libs/lsp-plugins/Manifest b/media-libs/lsp-plugins/Manifest
index dcb36222f831..44ad0c0d0576 100644
--- a/media-libs/lsp-plugins/Manifest
+++ b/media-libs/lsp-plugins/Manifest
@@ -1,4 +1,3 @@
-DIST lsp-plugins-1.1.29.tar.gz 66143142 BLAKE2B 6fa6943d8cdf3aedc9f671c64b433ffd5c4f6c7ca14f6a75578300240971e7c9e8546b9a7df7a13b8cd6e0844724c064daa7e249aba70636f47a622e73ed264a SHA512 b8c3804ad583322bce414d6beb079afa5b98a111126bb4507642376fcf1f82b31525b4959c6388b02cc1d14e0ec25de3596794895f2860f492a5fbf87f6e88b7
DIST lsp-plugins-1.2.14.tar.gz 46476007 BLAKE2B 3807a373e0c6d57f72cec2babc939810d208dca8791ebb2bd0abfdd6779253b2ee0a3163d97224cbcd3eb49a1fd4f059512e620ee96a61f072e3659b01a189ff SHA512 2a53111289d764b91e9a463a748415730cdb16d62b8250a082ae2cb3423dbe41bd4072c2256d07a15b89b9cf548ce27d1f7578514c6f0b99230aeddfbcc4eadb
DIST lsp-plugins-1.2.3.tar.gz 38760829 BLAKE2B c28a4b5cfdbbe5fe42c3f4821ce323cb097b84eddc850f43adcc14e8a9edb2e313236ce44e4eca17dd226c578113a5749d06754deb45a6c2e7c2ff37bfed4fc2 SHA512 1db849ebceffb24540879fcd0971ddd8bffe9a0ecaaebf4b69bf8633a267562bb3eb5cd55dce8b804868d880efdec95b19a312ee017c2a9334b5e764eebbbb30
DIST lsp-plugins-1.2.6.tar.gz 40450212 BLAKE2B 02364391f4edc894c566b0038f0340be1f923c3de6dfc48ed90460df7a6ba452720e63bb1e510e5ff580e38066915f1761bcd2ca72cdba429163cf24b20ed09e SHA512 d76cee24e976022594eac4830987921ff18c0622bae1ac2fb4744d45ee89dccd1211247f9f7d6df1083c8629f66cd443bce701864a85ff10e66abcf2fae749ce
diff --git a/media-libs/lsp-plugins/files/lsp-plugins-1.1.29_armv8a-dsp.patch b/media-libs/lsp-plugins/files/lsp-plugins-1.1.29_armv8a-dsp.patch
deleted file mode 100644
index 2603b4c8a4c7..000000000000
--- a/media-libs/lsp-plugins/files/lsp-plugins-1.1.29_armv8a-dsp.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/src/dsp/Makefile
-+++ b/src/dsp/Makefile
-@@ -44,6 +44,9 @@ endif
- ifeq ($(BUILD_PROFILE), armv7ve)
- LINK_OBJECTS += $(ARM_IMPL) $(NEON_D32_IMPL)
- endif
-+ifeq ($(BUILD_PROFILE), armv8a)
-+LINK_OBJECTS += $(ARM_IMPL) $(NEON_D32_IMPL)
-+endif
- ifeq ($(BUILD_PROFILE), arm32)
- LINK_OBJECTS += $(ARM_IMPL) $(NEON_D32_IMPL)
- endif
diff --git a/media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild b/media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild
deleted file mode 100644
index 739dcd9932ed..000000000000
--- a/media-libs/lsp-plugins/lsp-plugins-1.1.29.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit xdg
-
-DESCRIPTION="Linux Studio Plugins"
-HOMEPAGE="https://lsp-plug.in"
-
-if [[ ${PV} == *9999 ]];then
- inherit git-r3
- SRC_URI=""
- EGIT_REPO_URI="https://github.com/sadko4u/lsp-plugins"
- EGIT_BRANCH="devel"
-else
- SRC_URI="https://github.com/sadko4u/lsp-plugins/archive/${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86"
-fi
-
-LICENSE="LGPL-3"
-SLOT="0"
-IUSE="doc jack ladspa +lv2 test"
-REQUIRED_USE="|| ( jack ladspa lv2 )
- test? ( jack )"
-
-RESTRICT="!test? ( test )"
-
-DEPEND="
- dev-libs/expat
- media-libs/libsndfile
- media-libs/libglvnd[X]
- doc? ( dev-lang/php:* )
- jack? (
- virtual/jack
- x11-libs/cairo[X]
- )
- ladspa? ( media-libs/ladspa-sdk )
- lv2? (
- media-libs/lv2
- x11-libs/cairo[X]
- )
-"
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.1.29_armv8a-dsp.patch
-)
-
-src_compile() {
- use doc && MODULES+="doc"
- use jack && MODULES+=" jack"
- use ladspa && MODULES+=" ladspa"
- use lv2 && MODULES+=" lv2"
- emake BUILD_MODULES="${MODULES}"
-}
-
-src_install() {
- emake PREFIX="/usr" DESTDIR="${ED}" LIB_PATH="/usr/$(get_libdir)" install
-}
diff --git a/media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild b/media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild
deleted file mode 100644
index 564fb4512fb9..000000000000
--- a/media-libs/lsp-plugins/lsp-plugins-1.2.3.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 2019-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs xdg
-
-DESCRIPTION="Linux Studio Plugins"
-HOMEPAGE="https://lsp-plug.in"
-
-if [[ ${PV} == *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/sadko4u/lsp-plugins"
- EGIT_BRANCH="devel"
-else
- SRC_URI="https://github.com/sadko4u/${PN}/releases/download/${PV}/${PN}-src-${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
- S="${WORKDIR}/${PN}"
-fi
-
-LICENSE="LGPL-3"
-SLOT="0"
-IUSE="doc jack ladspa +lv2 test vst X"
-REQUIRED_USE="|| ( jack ladspa lv2 )
- test? ( jack )"
-
-RESTRICT="!test? ( test )"
-
-BDEPEND="doc? ( dev-lang/php:* )"
-DEPEND="
- media-libs/libglvnd[X]
- media-libs/libsndfile
- jack? (
- media-libs/freetype
- virtual/jack
- x11-libs/cairo[X]
- x11-libs/libX11
- x11-libs/libXrandr
- )
- ladspa? ( media-libs/ladspa-sdk )
- lv2? (
- media-libs/freetype
- media-libs/lv2
- x11-libs/cairo[X]
- x11-libs/libX11
- x11-libs/libXrandr
- )
- vst? (
- media-libs/freetype
- x11-libs/cairo[X]
- x11-libs/libX11
- x11-libs/libXrandr
- )
-"
-RDEPEND="${DEPEND}"
-
-src_configure() {
- # -Werror=odr
- # https://bugs.gentoo.org/875833
- #
- # Actually the whole thing is kind of a waste of time. It looks like
- # programs use LDFLAGS, but libraries do not! So some things don't
- # build with LTO, while other things don't build when LTO is enabled.
- # Attempting to build with LTO is just a waste of time and cycles.
- #
- # This was reported upstream but the ticket closed. Abandon hope.
- filter-lto
-
- use doc && MODULES+="doc"
- use jack && MODULES+=" jack"
- use ladspa && MODULES+=" ladspa"
- use lv2 && MODULES+=" lv2"
- use vst && MODULES+=" vst2"
- use X && MODULES+=" xdg"
- emake \
- FEATURES="${MODULES}" \
- PREFIX="/usr" \
- LIBDIR="/usr/$(get_libdir)" \
- CC="$(tc-getCC)" \
- CXX="$(tc-getCXX)" \
- LD="$(tc-getLD)" \
- CFLAGS_EXT="${CFLAGS}" \
- CXXFLAGS_EXT="${CXXFLAGS}" \
- LDFLAGS_EXT="$(raw-ldflags)" \
- VERBOSE=1 \
- config
-}
-
-src_compile() {
- emake \
- FEATURES="${MODULES}" \
- PREFIX="/usr" \
- LIBDIR="/usr/$(get_libdir)" \
- CC="$(tc-getCC)" \
- CXX="$(tc-getCXX)" \
- LD="$(tc-getLD)" \
- CFLAGS_EXT="${CFLAGS}" \
- CXXFLAGS_EXT="${CXXFLAGS}" \
- LDFLAGS_EXT="$(raw-ldflags)" \
- VERBOSE=1
-}
-
-src_install() {
- emake PREFIX="/usr" DESTDIR="${ED}" LIB_PATH="/usr/$(get_libdir)" VERBOSE=1 install
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-15 2:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-19 3:47 [gentoo-commits] repo/gentoo:master commit in: media-libs/lsp-plugins/files/, media-libs/lsp-plugins/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2024-03-15 2:55 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox