Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903879 - media-libs/libprojectm:4 slot bump request
Summary: media-libs/libprojectm:4 slot bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Craig Andrews
URL: https://github.com/projectM-visualize...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-05 17:07 UTC by Sebastian Pipping
Modified: 2024-03-07 12:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libprojectM 4.1.0 ebuild, new SLOT="4" (libprojectm-4.1.0.ebuild,1.17 KB, application/vnd.gentoo.ebuild)
2024-03-06 15:23 UTC, Kai Blaschke
Details
Patch used in the new ebuild, goes to FILESDIR (libprojectm-4.1.0-patch-include-dir.patch,352 bytes, patch)
2024-03-06 15:24 UTC, Kai Blaschke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2023-04-05 17:07:46 UTC
Hi!

projectM 4.x.x is out, it is not compatible with 3.x.x, and the file set should be conflict free with 3.x.x to be able to live side-by-side (https://github.com/projectM-visualizer/projectm/pull/699).  Would great to see a slot "4" with 4.0.0 in Gentoo.  Thanks!

Best, Sebastian
Comment 1 Kai Blaschke 2024-01-30 21:40:31 UTC
I'm still busy getting the 4.1 release done, which is the more interesting version for users. Then there's the new standalone frontend which needs to have it's UI finished. I'll see that I add new ebuilds for both once they're released, as a simple bump of this package to 4.0 would leave users without a UI since they're no longer included in the libprojectM repository.
Comment 2 Kai Blaschke 2024-03-06 15:23:41 UTC
Created attachment 886813 [details]
libprojectM 4.1.0 ebuild, new SLOT="4"

Here's a working ebuild. Requires a small patch though, as we've overlooked an issue that when using the system GLM library, the include dir for SOIL2 isn't properly set.
Comment 3 Kai Blaschke 2024-03-06 15:24:26 UTC
Created attachment 886814 [details, diff]
Patch used in the new ebuild, goes to FILESDIR
Comment 4 Kai Blaschke 2024-03-06 15:27:41 UTC
As I've recently released the 4.1.0 version, here are the ebuild and a small patch for an issue which we'll fix in a future point release.

The dependencies were drastically reduces due to the UIs being factored out completely. Now the package only contains the core library and the convenience playlist library (which I didn't make optional, as it's very small and will be used frequently in downstream projects). It also supports the "static-libs" USE flag so people can decide to build projectM as a static library.
Comment 5 Craig Andrews gentoo-dev 2024-03-06 15:40:58 UTC
Gentoo always prefers system libraries over bundled, so I removed the "glm" use flag and made the glm dependency unconditional.
Comment 6 Craig Andrews gentoo-dev 2024-03-06 15:41:14 UTC
Thank you very much for your contribution!
Comment 7 Larry the Git Cow gentoo-dev 2024-03-06 15:41:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe97459fc24f4748587ce92087398df9f4780733

commit fe97459fc24f4748587ce92087398df9f4780733
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2024-03-06 15:34:27 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2024-03-06 15:41:39 +0000

    media-libs/libprojectm: add 4.1.0
    
    Thank you Kai Blaschke <kai.blaschke@kb-dev.net>
    
    Closes: https://bugs.gentoo.org/903879
    
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 media-libs/libprojectm/Manifest                    |  1 +
 .../libprojectm-4.1.0-patch-include-dir.patch      | 14 +++++
 media-libs/libprojectm/libprojectm-4.1.0.ebuild    | 51 ++++++++++++++++++
 media-libs/libprojectm/libprojectm-9999.ebuild     | 61 +++++++---------------
 4 files changed, 86 insertions(+), 41 deletions(-)
Comment 8 Kai Blaschke 2024-03-07 12:56:18 UTC
(In reply to Craig Andrews from comment #5)
> Gentoo always prefers system libraries over bundled, so I removed the "glm"
> use flag and made the glm dependency unconditional.

Sure thing! GLM is just header-only, so doesn't matter anyways as there's no library used.