[gentoo-commits] repo/gentoo:master commit in: media-sound/helm/files/, media-sound/helm/

2023-06-16 Thread Sam James
commit: 1824ebce68da2dc8b4d2fef2ae513c36a912275d
Author: Violet Purcell  inventati  org>
AuthorDate: Thu Jun 15 17:41:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 17 03:11:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1824ebce

media-sound/helm: Fix build on musl

Fixes three different issues with the bundled copy of JUCE in helm.
First, it conditions the usage of execinfo.h behind __GLIBC__ being
defined when on linux. Second, it removes the usage of lfs64 interfaces
and defines _FILE_OFFSET_BITS=64. Third, it conditions the usage of
_NL_IDENTIFICATION_LANGUAGE and _NL_IDENTIFICATION_TERRITORY behind
ifdefs, since musl does not define them.

Signed-off-by: Violet Purcell  inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/31463
Signed-off-by: Sam James  gentoo.org>

 media-sound/helm/files/helm-0.9.0-musl.patch   | 129 +
 .../{helm-0.9.0-r1.ebuild => helm-0.9.0-r2.ebuild} |   3 +-
 2 files changed, 131 insertions(+), 1 deletion(-)

diff --git a/media-sound/helm/files/helm-0.9.0-musl.patch 
b/media-sound/helm/files/helm-0.9.0-musl.patch
new file mode 100644
index ..f089041c1da7
--- /dev/null
+++ b/media-sound/helm/files/helm-0.9.0-musl.patch
@@ -0,0 +1,129 @@
+Upstream (JUCE, bundled): https://github.com/juce-framework/JUCE/pull/1239
+
+From 393de14d3fb55e462eeae24a4e64978a8a30cd4f Mon Sep 17 00:00:00 2001
+From: Violet Purcell 
+Date: Thu, 15 Jun 2023 19:01:32 +
+Subject: [PATCH] JUCE: Add support for musl
+
+---
+ JUCE/modules/juce_core/juce_core.cpp  |  2 +-
+ .../native/juce_linux_SystemStats.cpp | 34 +--
+ .../juce_core/native/juce_posix_SharedCode.h  |  2 +-
+ .../juce_core/system/juce_SystemStats.cpp |  2 +-
+ .../juce_core/system/juce_TargetPlatform.h|  9 +
+ 5 files changed, 43 insertions(+), 6 deletions(-)
+
+diff --git a/JUCE/modules/juce_core/juce_core.cpp 
b/JUCE/modules/juce_core/juce_core.cpp
+index 9f87047..c6f28ce 100644
+--- a/JUCE/modules/juce_core/juce_core.cpp
 b/JUCE/modules/juce_core/juce_core.cpp
+@@ -93,7 +93,7 @@
+  #include 
+  #include 
+ 
+- #if ! JUCE_ANDROID
++ #if ! (JUCE_ANDROID || JUCE_MUSL)
+   #include 
+  #endif
+ #endif
+diff --git a/JUCE/modules/juce_core/native/juce_linux_SystemStats.cpp 
b/JUCE/modules/juce_core/native/juce_linux_SystemStats.cpp
+index 4b8f4bd..55906eb 100644
+--- a/JUCE/modules/juce_core/native/juce_linux_SystemStats.cpp
 b/JUCE/modules/juce_core/native/juce_linux_SystemStats.cpp
+@@ -126,9 +126,37 @@ static String getLocaleValue (nl_item key)
+ return result;
+ }
+ 
+-String SystemStats::getUserLanguage(){ return getLocaleValue 
(_NL_IDENTIFICATION_LANGUAGE); }
+-String SystemStats::getUserRegion()  { return getLocaleValue 
(_NL_IDENTIFICATION_TERRITORY); }
+-String SystemStats::getDisplayLanguage() { return getUserLanguage() + "-" + 
getUserRegion(); }
++String SystemStats::getUserLanguage()
++{
++   #if JUCE_GLIBC
++return getLocaleValue (_NL_ADDRESS_LANG_AB);
++   #else
++if (auto langEnv = getenv ("LANG"))
++return String::fromUTF8 (langEnv).upToLastOccurrenceOf (".UTF-8", 
false, true);
++
++return {};
++   #endif
++}
++
++String SystemStats::getUserRegion()
++{
++   #if JUCE_GLIBC
++return getLocaleValue (_NL_ADDRESS_COUNTRY_AB2);
++   #else
++return {};
++   #endif
++}
++
++String SystemStats::getDisplayLanguage()
++{
++auto result = getUserLanguage();
++auto region = getUserRegion();
++
++if (region.isNotEmpty())
++result << "-" << region;
++
++return result;
++}
+ 
+ 
//==
+ void CPUInformation::initialise() noexcept
+diff --git a/JUCE/modules/juce_core/native/juce_posix_SharedCode.h 
b/JUCE/modules/juce_core/native/juce_posix_SharedCode.h
+index 876e681..59c49ba 100644
+--- a/JUCE/modules/juce_core/native/juce_posix_SharedCode.h
 b/JUCE/modules/juce_core/native/juce_posix_SharedCode.h
+@@ -235,7 +235,7 @@ int juce_siginterrupt (int sig, int flag)
+ 
//==
+ namespace
+ {
+-   #if JUCE_LINUX || (JUCE_IOS && ! __DARWIN_ONLY_64_BIT_INO_T) // (this iOS 
stuff is to avoid a simulator bug)
++   #if JUCE_GLIBC || (JUCE_IOS && ! __DARWIN_ONLY_64_BIT_INO_T) // (this iOS 
stuff is to avoid a simulator bug)
+ typedef struct stat64 juce_statStruct;
+ #define JUCE_STAT stat64
+#else
+diff --git a/JUCE/modules/juce_core/system/juce_SystemStats.cpp 
b/JUCE/modules/juce_core/system/juce_SystemStats.cpp
+index 7e05277..cac9a14 100644
+--- a/JUCE/modules/juce_core/system/juce_SystemStats.cpp
 b/JUCE/modules/juce_core/system/juce_SystemStats.cpp
+@@ -120,7 +120,7 @@ String SystemStats::getStackBacktrace()
+ {
+ String result;
+ 
+-   #if JUCE_ANDROID || JUCE_MINGW
++   #if JUCE_ANDROID || JUCE_MINGW || JUCE_MUSL
+ jassertfalse; // sorry, not 

[gentoo-commits] repo/gentoo:master commit in: media-sound/helm/

2020-01-17 Thread Agostino Sarubbo
commit: 5157622a7a206617c0396547a4df3fd9ad359a42
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jan 17 09:29:37 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jan 17 09:29:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5157622a

media-sound/helm: amd64 stable wrt bug #705620

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-sound/helm/helm-0.9.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-sound/helm/helm-0.9.0-r1.ebuild 
b/media-sound/helm/helm-0.9.0-r1.ebuild
index 96d0ee25346..eb8bb112064 100644
--- a/media-sound/helm/helm-0.9.0-r1.ebuild
+++ b/media-sound/helm/helm-0.9.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/mtytel/helm/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE=""
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-sound/helm/, media-sound/helm/files/

2019-12-14 Thread Miroslav Šulc
commit: fe68005995163bb04bdc0f6b663ac1600a667deb
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sat Dec 14 16:28:26 2019 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sat Dec 14 16:28:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe680059

media-sound/helm-0.9.0-r1: fixes with revbump (removed old)

1) switched from xdg-utils to xdg
2) fixed bug 686108 using the patch from upstream though technically
   the patch in the bug is the same
3) fixed installation path for documentation

Closes: https://bugs.gentoo.org/686108
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-sound/helm/files/helm-0.9.0-fix-gcc91.patch  | 140 +
 .../{helm-0.9.0.ebuild => helm-0.9.0-r1.ebuild}|  18 ++-
 2 files changed, 147 insertions(+), 11 deletions(-)

diff --git a/media-sound/helm/files/helm-0.9.0-fix-gcc91.patch 
b/media-sound/helm/files/helm-0.9.0-fix-gcc91.patch
new file mode 100644
index 000..f623fef203c
--- /dev/null
+++ b/media-sound/helm/files/helm-0.9.0-fix-gcc91.patch
@@ -0,0 +1,140 @@
+From cb611a80bd5a36d31bfc31212ebbf79aa86c6f08 Mon Sep 17 00:00:00 2001
+From: jikstra 
+Date: Tue, 20 Aug 2019 03:00:51 +0200
+Subject: [PATCH] Backport
+ 
https://github.com/WeAreROLI/JUCE/commit/4e0adb2af8b424c43d22bd431011c9a6c57d36b6
+ to the bundled JUCE framework to make helm compile on gcc 9.1 again
+
+---
+ .../juce_graphics/colour/juce_PixelFormats.h  | 25 +-
+ .../native/juce_RenderingHelpers.h| 48 +--
+ 2 files changed, 4 insertions(+), 69 deletions(-)
+
+diff --git a/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h 
b/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h
+index 9be9ba09c..3535eab80 100644
+--- a/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h
 b/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h
+@@ -105,23 +105,9 @@ class JUCE_API  PixelARGB
+ 
+ 
//==
+ forcedinline uint8 getAlpha() const noexcept  { return components.a; }
+-forcedinline uint8 getRed() const noexcept{ return components.r; }
++forcedinline uint8 getRed()   const noexcept  { return components.r; }
+ forcedinline uint8 getGreen() const noexcept  { return components.g; }
+-forcedinline uint8 getBlue() const noexcept   { return components.b; }
+-
+-   #if JUCE_GCC
+-// NB these are here as a workaround because GCC refuses to bind to 
packed values.
+-forcedinline uint8& getAlpha() noexcept   { return comps 
[indexA]; }
+-forcedinline uint8& getRed() noexcept { return comps 
[indexR]; }
+-forcedinline uint8& getGreen() noexcept   { return comps 
[indexG]; }
+-forcedinline uint8& getBlue() noexcept{ return comps 
[indexB]; }
+-   #else
+-forcedinline uint8& getAlpha() noexcept   { return components.a; }
+-forcedinline uint8& getRed() noexcept { return components.r; }
+-forcedinline uint8& getGreen() noexcept   { return components.g; }
+-forcedinline uint8& getBlue() noexcept{ return components.b; }
+-   #endif
+-
++forcedinline uint8 getBlue()  const noexcept  { return components.b; }
+ 
//==
+ /** Copies another pixel colour over this one.
+ 
+@@ -340,9 +326,6 @@ class JUCE_API  PixelARGB
+ {
+ uint32 internal;
+ Components components;
+-   #if JUCE_GCC
+-uint8 comps[4];  // helper struct needed because gcc does not allow 
references to packed union members
+-   #endif
+ };
+ }
+ #ifndef DOXYGEN
+@@ -429,10 +412,6 @@ class JUCE_API  PixelRGB
+ forcedinline uint8 getGreen() const noexcept{ return g; }
+ forcedinline uint8 getBlue() const noexcept { return b; }
+ 
+-forcedinline uint8& getRed() noexcept   { return r; }
+-forcedinline uint8& getGreen() noexcept { return g; }
+-forcedinline uint8& getBlue() noexcept  { return b; }
+-
+ 
//==
+ /** Copies another pixel colour over this one.
+ 
+diff --git a/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h 
b/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h
+index 1c4cd31ef..29519cb5a 100644
+--- a/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h
 b/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h
+@@ -581,18 +581,10 @@ namespace EdgeTableFillers
+ : destData (image), sourceColour (colour)
+ {
+ if (sizeof (PixelType) == 3 && destData.pixelStride == sizeof 
(PixelType))
+-{
+ areRGBComponentsEqual = sourceColour.getRed() == 
sourceColour.getGreen()
+ && sourceColour.getGreen() 

[gentoo-commits] repo/gentoo:master commit in: media-sound/helm/files/, media-sound/helm/

2019-02-24 Thread Andreas Sturmlechner
commit: 0d3305b4b8ea983b075001a2adf8ec72947b4fe2
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Feb 24 17:00:36 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Feb 24 18:01:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d3305b4

media-sound/helm: Drop 0.4.1-r2

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-sound/helm/Manifest|  1 -
 media-sound/helm/files/helm-0.4.1-gcc6.patch | 24 ---
 media-sound/helm/helm-0.4.1-r2.ebuild| 44 
 3 files changed, 69 deletions(-)

diff --git a/media-sound/helm/Manifest b/media-sound/helm/Manifest
index 7e7894ba05e..4cffa0f04cc 100644
--- a/media-sound/helm/Manifest
+++ b/media-sound/helm/Manifest
@@ -1,2 +1 @@
-DIST helm-0.4.1.tar.gz 10170154 BLAKE2B 
8939a365c5cec2f1ced1d03855cc76ab532e168866b566e8adc575be8d16b9825bf1259c912c9e74f5465d68e7984a525c430cf57eb1439814d15fb38d3cf02e
 SHA512 
093abfd47a7f3e25d168df675b8a9c067a361ae1891af208c75ec4bc02d8a30cc5de4ab2433179bcbb6074c142c8ef9b4ef11b1854fdde0551fcd340dd6b8fe0
 DIST helm-0.9.0.tar.gz 15544141 BLAKE2B 
1b6811f32cf36a1c1f954cc071cd64f3dca656ee0bd420c01d0be3db516210a92adc3694ac49731cf2d7cf057a9eccf2c2dcefc14d24cf8582a3eb69efe1d0e1
 SHA512 
241c6bf3aec422e9ccaf7c7113eec7e30a11baadd30fe8f05f0abfac9c41d0c8a9fb284f0cae49bcaf0d3d08aa952737f6ff3eb7d48c2b2e22c60932738aeaa4

diff --git a/media-sound/helm/files/helm-0.4.1-gcc6.patch 
b/media-sound/helm/files/helm-0.4.1-gcc6.patch
deleted file mode 100644
index d71587296b9..000
--- a/media-sound/helm/files/helm-0.4.1-gcc6.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 9a94165d8c400e45d617bf2d7cb657a477f43915 Mon Sep 17 00:00:00 2001
-From: Hodorgasm 
-Date: Tue, 20 Sep 2016 17:33:14 -0400
-Subject: [PATCH] Assume there exists lround if compiling with g++ in C++11 or
- later
-
-GCC-6 doesn't define HAVE_LROUND, but lround is valid in C++ in dialects >= 
c++11.

- JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c 
b/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c
-index 87e2321e6..512b8279c 100644
 a/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c
-+++ b/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c
-@@ -50,7 +50,7 @@
- 
- #ifndef FLAC__INTEGER_ONLY_LIBRARY
- 
--#if !defined(HAVE_LROUND)
-+#if (!defined(__GNUC__) && !defined(HAVE_LROUND)) || __cplusplus < 201103L
- #if defined(_MSC_VER)
- #include 
- #define copysign _copysign

diff --git a/media-sound/helm/helm-0.4.1-r2.ebuild 
b/media-sound/helm/helm-0.4.1-r2.ebuild
deleted file mode 100644
index e7f71121652..000
--- a/media-sound/helm/helm-0.4.1-r2.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils
-
-DESCRIPTION="Open source polyphonic software synthesizer with lots of 
modulation"
-HOMEPAGE="http://tytel.org/helm/;
-SRC_URI="https://github.com/mtytel/helm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-RDEPEND="media-libs/alsa-lib
-   media-libs/freetype
-   media-libs/lv2
-   virtual/jack
-   virtual/opengl
-   x11-libs/libX11
-   x11-libs/libXcursor
-   x11-libs/libXext
-   x11-libs/libXinerama
-   x11-libs/libXrandr"
-DEPEND="${RDEPEND}"
-
-DOCS="README.md"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-gcc6.patch
-   rm patches/Synth/.DS_Store || die
-   sed -e 's|/usr/lib/|/usr/'$(get_libdir)'/|' -i Makefile || die
-   epatch_user
-}
-
-src_compile() {
-   emake PREFIX=/usr all
-}
-
-src_install() {
-   default
-   make_desktop_entry /usr/bin/helm Helm 
/usr/share/helm/icons/helm_icon_32_1x.png
-}



[gentoo-commits] repo/gentoo:master commit in: media-sound/helm/files/, media-sound/helm/

2019-01-27 Thread Andreas Sturmlechner
commit: a8d65305984352f3e1325dd64f7439cd373911cd
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jan 27 21:10:46 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jan 27 23:12:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8d65305

media-sound/helm: 0.9.0 version bump, EAPI-7 bump, https

Bug: https://bugs.gentoo.org/638150
Closes: https://bugs.gentoo.org/645592
Thanks-to: Malcolm Lashley  gmail.com>
Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-sound/helm/Manifest  |  1 +
 .../helm/files/helm-0.9.0-nomancompress.patch  | 24 ++
 media-sound/helm/helm-0.9.0.ebuild | 56 ++
 3 files changed, 81 insertions(+)

diff --git a/media-sound/helm/Manifest b/media-sound/helm/Manifest
index f9eace6f23d..7e7894ba05e 100644
--- a/media-sound/helm/Manifest
+++ b/media-sound/helm/Manifest
@@ -1 +1,2 @@
 DIST helm-0.4.1.tar.gz 10170154 BLAKE2B 
8939a365c5cec2f1ced1d03855cc76ab532e168866b566e8adc575be8d16b9825bf1259c912c9e74f5465d68e7984a525c430cf57eb1439814d15fb38d3cf02e
 SHA512 
093abfd47a7f3e25d168df675b8a9c067a361ae1891af208c75ec4bc02d8a30cc5de4ab2433179bcbb6074c142c8ef9b4ef11b1854fdde0551fcd340dd6b8fe0
+DIST helm-0.9.0.tar.gz 15544141 BLAKE2B 
1b6811f32cf36a1c1f954cc071cd64f3dca656ee0bd420c01d0be3db516210a92adc3694ac49731cf2d7cf057a9eccf2c2dcefc14d24cf8582a3eb69efe1d0e1
 SHA512 
241c6bf3aec422e9ccaf7c7113eec7e30a11baadd30fe8f05f0abfac9c41d0c8a9fb284f0cae49bcaf0d3d08aa952737f6ff3eb7d48c2b2e22c60932738aeaa4

diff --git a/media-sound/helm/files/helm-0.9.0-nomancompress.patch 
b/media-sound/helm/files/helm-0.9.0-nomancompress.patch
new file mode 100644
index 000..fab39468873
--- /dev/null
+++ b/media-sound/helm/files/helm-0.9.0-nomancompress.patch
@@ -0,0 +1,24 @@
+--- a/Makefile  2018-11-13 23:44:54.081925553 +
 b/Makefile2018-11-13 23:45:34.136381471 +
+@@ -91,7 +91,6 @@
+   $(MAKE) clean -C builds/linux/VST CONFIG=$(CONFIG)
+ 
+ install_patches:
+-  rm -rf $(PATCHES)
+   install -d $(PATCHES)
+   cp -rf patches/* $(PATCHES)
+
+@@ -100,11 +99,8 @@
+   install standalone/builds/linux/build/$(PROGRAM) $(BIN)
+   install -m644 standalone/helm.desktop $(DESKTOP)/helm.desktop
+   install -m644 images/* $(IMAGES)
+-  cp changelog changes
+-  gzip -n -9 changelog
+-  mv changes changelog
+-  mv changelog.gz $(CHANGES)/changelog.gz
+-  cp docs/helm.1.gz $(MAN)
++  gunzip docs/helm.1.gz
++  cp docs/helm.1 $(MAN)
+ 
+ install_lv2: lv2 install_patches
+   install -d $(PATCHES) $(LV2)

diff --git a/media-sound/helm/helm-0.9.0.ebuild 
b/media-sound/helm/helm-0.9.0.ebuild
new file mode 100644
index 000..5ca560251ae
--- /dev/null
+++ b/media-sound/helm/helm-0.9.0.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop xdg-utils
+
+DESCRIPTION="Open source polyphonic software synthesizer with lots of 
modulation"
+HOMEPAGE="https://tytel.org/helm/;
+SRC_URI="https://github.com/mtytel/helm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+   media-libs/alsa-lib
+   media-libs/freetype
+   media-libs/lv2
+   virtual/jack
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXcursor
+   x11-libs/libXext
+   x11-libs/libXinerama
+   x11-libs/libXrandr"
+RDEPEND="${DEPEND}
+   !app-admin/helm
+"
+
+DOCS=( changelog README.md )
+
+PATCHES=( "${FILESDIR}/${P}-nomancompress.patch" )
+
+src_prepare() {
+   default
+   sed -e "s|/usr/lib/|/usr/$(get_libdir)/|" -i Makefile || die
+}
+
+src_compile() {
+   emake PREFIX=/usr all
+}
+
+src_install() {
+   default
+   make_desktop_entry /usr/bin/helm Helm 
/usr/share/helm/icons/helm_icon_32_1x.png
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-sound/helm/

2017-11-21 Thread Alexis Ballier
commit: 954726debd5f333e2a24eaca436d5db15046059b
Author: Simon van der Veldt  gmail  com>
AuthorDate: Sun Nov 19 16:48:40 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Tue Nov 21 13:55:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=954726de

media-sound/helm Fix dependencies

Closes: https://bugs.gentoo.org/585202

 media-sound/helm/helm-0.4.1-r2.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-sound/helm/helm-0.4.1-r2.ebuild 
b/media-sound/helm/helm-0.4.1-r2.ebuild
index b4af7711363..e7f71121652 100644
--- a/media-sound/helm/helm-0.4.1-r2.ebuild
+++ b/media-sound/helm/helm-0.4.1-r2.ebuild
@@ -14,11 +14,15 @@ KEYWORDS="~amd64"
 IUSE=""
 
 RDEPEND="media-libs/alsa-lib
+   media-libs/freetype
media-libs/lv2
virtual/jack
virtual/opengl
x11-libs/libX11
-   x11-libs/libXext"
+   x11-libs/libXcursor
+   x11-libs/libXext
+   x11-libs/libXinerama
+   x11-libs/libXrandr"
 DEPEND="${RDEPEND}"
 
 DOCS="README.md"



[gentoo-commits] repo/gentoo:master commit in: media-sound/helm/

2017-06-18 Thread Alexis Ballier
commit: 7fe78c18ccd7eac18f73d7bc07b9de65a9c33799
Author: Simon van der Veldt  gmail  com>
AuthorDate: Sun Jun 18 13:18:38 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sun Jun 18 16:41:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fe78c18

media-sound/helm: depend on virtual/jack

Fixes part of bug 602898 https://bugs.gentoo.org/show_bug.cgi?id=602898

 media-sound/helm/{helm-0.4.1-r1.ebuild => helm-0.4.1-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/helm/helm-0.4.1-r1.ebuild 
b/media-sound/helm/helm-0.4.1-r2.ebuild
similarity index 95%
rename from media-sound/helm/helm-0.4.1-r1.ebuild
rename to media-sound/helm/helm-0.4.1-r2.ebuild
index e4687ef57be..b4af7711363 100644
--- a/media-sound/helm/helm-0.4.1-r1.ebuild
+++ b/media-sound/helm/helm-0.4.1-r2.ebuild
@@ -15,7 +15,7 @@ IUSE=""
 
 RDEPEND="media-libs/alsa-lib
media-libs/lv2
-   media-sound/jack-audio-connection-kit
+   virtual/jack
virtual/opengl
x11-libs/libX11
x11-libs/libXext"



[gentoo-commits] repo/gentoo:master commit in: media-sound/helm/files/

2017-06-06 Thread Ulrich Müller
commit: 83b1bbf35b53f7becef8bba1f5c11ede1d57e0e1
Author: Ulrich Müller  gentoo  org>
AuthorDate: Tue Jun  6 19:20:38 2017 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Tue Jun  6 19:20:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83b1bbf3

media-sound/helm: [QA] Remove binary garbage from patch.

Bug: 620814
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-sound/helm/files/helm-0.4.1-gcc6.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/helm/files/helm-0.4.1-gcc6.patch 
b/media-sound/helm/files/helm-0.4.1-gcc6.patch
index efb54f0b5c5..d71587296b9 100644
--- a/media-sound/helm/files/helm-0.4.1-gcc6.patch
+++ b/media-sound/helm/files/helm-0.4.1-gcc6.patch
@@ -4,7 +4,7 @@ Date: Tue, 20 Sep 2016 17:33:14 -0400
 Subject: [PATCH] Assume there exists lround if compiling with g++ in C++11 or
  later
 
-GCC-6 doesn't define HAVE_LROUND, but lround is valid in C++ in dialects >= 
c++11.
+GCC-6 doesn't define HAVE_LROUND, but lround is valid in C++ in dialects >= 
c++11.
 ---
  JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)



[gentoo-commits] repo/gentoo:master commit in: media-sound/helm/files/, media-sound/helm/

2017-05-25 Thread Alexis Ballier
commit: a3b4b54a208b3b18e6e2915cb354e209c63cffe6
Author: Peter Levine  gmail  com>
AuthorDate: Thu May 25 05:22:48 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Thu May 25 16:10:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3b4b54a

media-sound/helm: Fix building with GCC-6

Bug: https://bugs.gentoo.org/show_bug.cgi?id=594480
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-sound/helm/files/helm-0.4.1-gcc6.patch | 24 
 media-sound/helm/helm-0.4.1-r1.ebuild|  3 ++-
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/media-sound/helm/files/helm-0.4.1-gcc6.patch 
b/media-sound/helm/files/helm-0.4.1-gcc6.patch
new file mode 100644
index 000..efb54f0b5c5
--- /dev/null
+++ b/media-sound/helm/files/helm-0.4.1-gcc6.patch
@@ -0,0 +1,24 @@
+From 9a94165d8c400e45d617bf2d7cb657a477f43915 Mon Sep 17 00:00:00 2001
+From: Hodorgasm 
+Date: Tue, 20 Sep 2016 17:33:14 -0400
+Subject: [PATCH] Assume there exists lround if compiling with g++ in C++11 or
+ later
+
+GCC-6 doesn't define HAVE_LROUND, but lround is valid in C++ in dialects >= 
c++11.
+---
+ JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c 
b/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c
+index 87e2321e6..512b8279c 100644
+--- a/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c
 b/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/lpc_flac.c
+@@ -50,7 +50,7 @@
+ 
+ #ifndef FLAC__INTEGER_ONLY_LIBRARY
+ 
+-#if !defined(HAVE_LROUND)
++#if (!defined(__GNUC__) && !defined(HAVE_LROUND)) || __cplusplus < 201103L
+ #if defined(_MSC_VER)
+ #include 
+ #define copysign _copysign

diff --git a/media-sound/helm/helm-0.4.1-r1.ebuild 
b/media-sound/helm/helm-0.4.1-r1.ebuild
index 9ac626e661c..e4687ef57be 100644
--- a/media-sound/helm/helm-0.4.1-r1.ebuild
+++ b/media-sound/helm/helm-0.4.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -24,6 +24,7 @@ DEPEND="${RDEPEND}"
 DOCS="README.md"
 
 src_prepare() {
+   epatch "${FILESDIR}"/${P}-gcc6.patch
rm patches/Synth/.DS_Store || die
sed -e 's|/usr/lib/|/usr/'$(get_libdir)'/|' -i Makefile || die
epatch_user



[gentoo-commits] repo/gentoo:master commit in: media-sound/helm/

2015-08-22 Thread Ben de Groot
commit: 81beda2f81ae01b6a18b331838608cfe77f0df60
Author: Ben de Groot yngwin AT gentoo DOT org
AuthorDate: Sat Aug 22 10:24:21 2015 +
Commit: Ben de Groot yngwin AT gentoo DOT org
CommitDate: Sat Aug 22 10:24:21 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81beda2f

media-sound/helm: initial commit

Package-Manager: portage-2.2.20.1

 media-sound/helm/Manifest  |  1 +
 media-sound/helm/helm-0.4.1.ebuild | 33 +
 media-sound/helm/metadata.xml  |  5 +
 3 files changed, 39 insertions(+)

diff --git a/media-sound/helm/Manifest b/media-sound/helm/Manifest
new file mode 100644
index 000..7090407
--- /dev/null
+++ b/media-sound/helm/Manifest
@@ -0,0 +1 @@
+DIST helm-0.4.1.tar.gz 10170154 SHA256 
00fa6b973b3e13d574a19dc009e07cbbcb7823476ffc59cc89e6816b7a70bd72 SHA512 
093abfd47a7f3e25d168df675b8a9c067a361ae1891af208c75ec4bc02d8a30cc5de4ab2433179bcbb6074c142c8ef9b4ef11b1854fdde0551fcd340dd6b8fe0
 WHIRLPOOL 
6d7297b2e064d24252d11b415225e081cb2033230aba013e774198b66e6ca89196691ed8db61d9baa02e7cc09497af61462f36244668a8b3469828388f3c5d49

diff --git a/media-sound/helm/helm-0.4.1.ebuild 
b/media-sound/helm/helm-0.4.1.ebuild
new file mode 100644
index 000..8a0e4dd
--- /dev/null
+++ b/media-sound/helm/helm-0.4.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION=Open source polyphonic software synthesizer with lots of 
modulation
+HOMEPAGE=http://tytel.org/helm/;
+SRC_URI=https://github.com/mtytel/helm/archive/v${PV}.tar.gz - ${P}.tar.gz
+
+LICENSE=GPL-3+
+SLOT=0
+KEYWORDS=~amd64
+IUSE=
+
+RDEPEND=media-libs/alsa-lib
+   media-libs/lv2
+   virtual/opengl
+   x11-libs/libX11
+   x11-libs/libXext
+DEPEND=${RDEPEND}
+
+DOCS=README.md
+
+src_prepare() {
+   sed -e 's|/usr/lib/|/usr/'$(get_libdir)'/|' -i Makefile || die
+   epatch_user
+}
+
+src_compile() {
+   emake PREFIX=/usr all
+}

diff --git a/media-sound/helm/metadata.xml b/media-sound/helm/metadata.xml
new file mode 100644
index 000..af0275e
--- /dev/null
+++ b/media-sound/helm/metadata.xml
@@ -0,0 +1,5 @@
+?xml version=1.0 encoding=UTF-8?
+!DOCTYPE pkgmetadata SYSTEM http://www.gentoo.org/dtd/metadata.dtd;
+pkgmetadata
+  herdproaudio/herd
+/pkgmetadata



[gentoo-commits] repo/gentoo:master commit in: media-sound/helm/

2015-08-22 Thread Ben de Groot
commit: 191258354b859dd1b85f06dacd7f46ac81355bca
Author: Ben de Groot yngwin AT gentoo DOT org
AuthorDate: Sat Aug 22 11:39:58 2015 +
Commit: Ben de Groot yngwin AT gentoo DOT org
CommitDate: Sat Aug 22 11:39:58 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19125835

media-sound/helm: add missing jack dependency

Bug: 558412

Package-Manager: portage-2.2.20.1

 media-sound/helm/helm-0.4.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-sound/helm/helm-0.4.1.ebuild 
b/media-sound/helm/helm-0.4.1.ebuild
index 8a0e4dd..396b133 100644
--- a/media-sound/helm/helm-0.4.1.ebuild
+++ b/media-sound/helm/helm-0.4.1.ebuild
@@ -16,6 +16,7 @@ IUSE=
 
 RDEPEND=media-libs/alsa-lib
media-libs/lv2
+   media-sound/jack-audio-connection-kit
virtual/opengl
x11-libs/libX11
x11-libs/libXext



[gentoo-commits] repo/gentoo:master commit in: media-sound/helm/

2015-08-22 Thread Ben de Groot
commit: 1ea4fea15b27e85f61f76a5c7a7aa1f4e7653f11
Author: Ben de Groot yngwin AT gentoo DOT org
AuthorDate: Sat Aug 22 16:27:16 2015 +
Commit: Ben de Groot yngwin AT gentoo DOT org
CommitDate: Sat Aug 22 16:27:16 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ea4fea1

media-sound/helm: add desktop file for standalone helm

Also rm useless .DS_Store file

Package-Manager: portage-2.2.20.1

 media-sound/helm/{helm-0.4.1.ebuild = helm-0.4.1-r1.ebuild} | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/media-sound/helm/helm-0.4.1.ebuild 
b/media-sound/helm/helm-0.4.1-r1.ebuild
similarity index 82%
rename from media-sound/helm/helm-0.4.1.ebuild
rename to media-sound/helm/helm-0.4.1-r1.ebuild
index 396b133..53c20dd 100644
--- a/media-sound/helm/helm-0.4.1.ebuild
+++ b/media-sound/helm/helm-0.4.1-r1.ebuild
@@ -25,6 +25,7 @@ DEPEND=${RDEPEND}
 DOCS=README.md
 
 src_prepare() {
+   rm patches/Synth/.DS_Store || die
sed -e 's|/usr/lib/|/usr/'$(get_libdir)'/|' -i Makefile || die
epatch_user
 }
@@ -32,3 +33,8 @@ src_prepare() {
 src_compile() {
emake PREFIX=/usr all
 }
+
+src_install() {
+   default
+   make_desktop_entry /usr/bin/helm Helm 
/usr/share/helm/icons/helm_icon_32_1x.png
+}