View Issue Details

IDProjectCategoryView StatusLast Update
0000582OpenMPTlibopenmptpublic2014-12-21 13:14
Reportermanx Assigned Tomanx  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Target VersionOpenMPT 1.24.01.00 / libopenmpt 0.2-beta8 (upgrade first)Fixed in VersionOpenMPT 1.24.01.00 / libopenmpt 0.2-beta8 (upgrade first) 
Summary0000582: libopenmpt autotools build system
Description

A GNU autotools build system should be added to libopenmpt in order to allow for hopefully easier portability to different Linux distributions and non-Linux systems.

TagsNo tags attached.
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Activities

manx

manx

2014-09-07 16:57

administrator   ~0001786

As of release 0.2.4259-beta7, libopenmpt now also provides autotools based tarballs.

wiz

wiz

2014-09-07 21:48

reporter   ~0001787

Thank you for implementing this!

I found three differences to the non-autotools version of beta7:

The example source code is installed into "share/doc/libopenmpt" instead of "share/doc/libopenmpt/examples".

The library is now a libtool library (thank you!) called libopenmpt while before I got plain "openmpt.a" (no lib). libtool is better, I just wonder why it wasn't called libopenmpt.a before.

libopenmpt_modplug.so is not installed with the autotools version.

manx

manx

2014-09-08 05:39

administrator   ~0001788

"The library is now a libtool library (thank you!) called libopenmpt while before I got plain "openmpt.a" (no lib). libtool is better, I just wonder why it wasn't called libopenmpt.a before."

This was just a bug in the makefile. Fixed and renamed to libopenmpt.a.

manx

manx

2014-09-08 08:17

administrator   ~0001789

"libopenmpt_modplug.so is not installed with the autotools version."

As of r4265, the Makefile now does not install libopenmpt_modplug by default either. It gets installed with a separate target now: 'make install-openmpt-modplug'.
I also added --enable-libopenmpt_modplug (which installs a libopenmpt_modplug) and --enable-libmodplug (which installs a replacement library for libmodplug (use with extreme caution, I do not consider the emulation of the libmodplug interface complete or stable; and I also do not expect to ever have a full emulation as libmodplug exposes lots of internal implementation details to applications). Both are not enabled by default as they are not required for normal libopenmpt usage, they just emulate the interface of libmodplug for applications that do not support libopenmpt directly.

manx

manx

2014-10-05 18:00

administrator   ~0001813

Autotools-based build was broken since r4099.
Should now work again in r4376.
And our tests will now catch it if this kind of breakage should happen again in the future.

manx

manx

2014-12-21 13:14

administrator   ~0001883

Should be all fixed and working now, in the libopenmpt 0.2-beta9 release.

Issue History

Date Modified Username Field Change
2014-08-26 10:36 manx New Issue
2014-08-26 10:36 manx Status new => assigned
2014-08-26 10:36 manx Assigned To => manx
2014-08-26 12:34 manx Status assigned => acknowledged
2014-09-07 16:57 manx Note Added: 0001786
2014-09-07 21:48 wiz Note Added: 0001787
2014-09-08 05:39 manx Note Added: 0001788
2014-09-08 08:17 manx Note Added: 0001789
2014-10-05 18:00 manx Note Added: 0001813
2014-12-21 13:14 manx Note Added: 0001883
2014-12-21 13:14 manx Status acknowledged => resolved
2014-12-21 13:14 manx Fixed in Version => OpenMPT 1.24.01.00 / libopenmpt 0.2-beta8 (upgrade first)
2014-12-21 13:14 manx Resolution open => fixed