Package Details: lenmus 6.0.1-3

Git Clone URL: https://aur.archlinux.org/lenmus.git (read-only, click to copy)
Package Base: lenmus
Description: A free program for learning music
Upstream URL: http://www.lenmus.org/
Licenses: GPL
Submitter: kolewu
Maintainer: kolewu
Last Packager: kolewu
Votes: 9
Popularity: 0.000000
First Submitted: 2013-06-09 11:46 (UTC)
Last Updated: 2025-03-19 23:57 (UTC)

Latest Comments

1 2 3 Next › Last »

kolewu commented on 2025-03-20 00:00 (UTC)

Issue fixed with patch from upstream: https://github.com/lenmus/lenmus/commit/a18c09a1245cdc9065997f3550bb5cbf3166a0f5

Thanks for the headsup Popolon!

Popolon commented on 2025-03-05 17:35 (UTC) (edited on 2025-03-05 18:27 (UTC) by Popolon)

This package currently doesn't compile, probably need to set gcc flags to more permissive ones or to patch the code upstream to don't have overflows:

enmus/src/lenmus-Release_6.0.1/lomse/trunk/src/render/lomse_font_freetype.cpp:203:31: error: invalid conversion from ‘unsigned char*’ to ‘char*’ [-fpermissive]
  203 |         tags  = outline.tags  + first;
      |                 ~~~~~~~~~~~~~~^~~~~~~
      |                               |
      |                               unsigned char*

Made a pull request upstream: https://github.com/lenmus/lenmus/pull/158

Can be patched by applying the following patch with the following line in prepare() after the cd (...):

patch -p1 -i "$srcdir/0003-unchar_tags.patch"

  • 0003-unchar_tags.patch
  • 58f08d99e4068ea0d6795eccd5b90d72514cf14a6177a14d1242bcf4120cb1e2
diff --git a/lomse/trunk/src/render/lomse_font_freetype.cpp b/lomse/trunk/src/render/lomse_font_freetype.cpp
index 118c0999..635fadac 100644
--- a/lomse/trunk/src/render/lomse_font_freetype.cpp
+++ b/lomse/trunk/src/render/lomse_font_freetype.cpp
@@ -179,7 +179,7 @@ bool decompose_ft_outline(const FT_Outline& outline, bool flip_y, const trans_af

     FT_Vector*  point;
     FT_Vector*  limit;
-    char*       tags;
+    unsigned char*  tags;

     int   n;         // index of contour in outline
     int   first;     // index of first point in contour

kolewu commented on 2023-05-13 14:18 (UTC)

Issue fixed with new release.

PortMidi has switched back to the original upstream release (now active again) and that has porttime included in the portmidi library.

Thank's for the headsup!

vt220 commented on 2023-05-10 08:49 (UTC) (edited on 2023-05-10 08:53 (UTC) by vt220)

It seems that due to (relatively) recent changes in portmidi library the package doesn't compile any more. The compilation fails with the following error:


Generation starts:
-- Configuring done (1.0s)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PortTime_LIBRARY
linked by target "lenmus" in directory <path to pkg>/src/lenmus-Release_6.0.1
linked by target "lenmus" in directory <path to pkg>/src/lenmus-Release_6.0.1

-- Generating done (0.0s)
CMake Generate step failed. Build files cannot be regenerated correctly.
==> ERROR: A failure occurred in build().
Aborting...


Workaround:

ln -s /usr/lib/libportmidi.so /usr/lib/libporttime.so

Note: it seems that portmidi merged its two libraries (libportmidi.so & libporttime.so) into one, but lenmus expects to find both of them. Creating the link satisfies this dependency. This is just a guess about what had happened, not something that I actually checked & verified. The workaround definitely works, though.

duprezjm commented on 2022-02-18 18:01 (UTC) (edited on 2022-02-18 18:04 (UTC) by duprezjm)

Super ! Thanks ! I delete my comments verey very too large ! Thanks again for your speed to fix the bug! Now everything is in order and I will be able to enjoy the new version of Lenmus!

kolewu commented on 2022-02-18 00:28 (UTC)

I have found the problem and fixed it in a new release. Thanks for the help!

kolewu commented on 2022-02-18 00:04 (UTC)

What's the result of lsb_release -a? For me it gives

LSB Version:    1.4
Distributor ID: Arch
Description:    Arch Linux
Release:    rolling
Codename:   n/a

duprezjm commented on 2022-02-17 22:45 (UTC)

This is my /etc/os-release

NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
LOGO=archlinux-logo

duprezjm commented on 2022-02-17 22:19 (UTC) (edited on 2022-02-18 18:02 (UTC) by duprezjm)

deleted

kolewu commented on 2022-02-17 18:43 (UTC) (edited on 2022-02-17 18:46 (UTC) by kolewu)

Please fence your logs for better readability (three backticks before and after the block of log or code).

That's not enough. Please use makepkg (or tell yay to give you the full log). I need exactly the lines I have given, at least the first 4. I suspect that your system will not be identified as "Arch" (or "ManjaroLinux") and this means portmidi is not configured fully (the libporttime.so is missing from the linker command). And preferably start your command with LANG=C makepkg to get english messages