Skip to content

Commit 5e9f3a0

Browse files
committed
Prepare v0.2.106
1 parent a68fe6a commit 5e9f3a0

File tree

4 files changed

+79
-64
lines changed

4 files changed

+79
-64
lines changed

Changelog

+30
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
Version 0.2.106
2+
===============
3+
Highlights are support for libgme, newer version of libancient, unifont files can now be bundled using --with-unifont-relative and beta support for Windows.
4+
5+
* [IT] Increase the number of max-samples to match openMPT (it can export files with more samples that original tracker and Schism supports)
6+
* [devpdisk] Reported time during playback was random
7+
* [adplug] Add support for SudoMakers RetroWave OPL3 Express, please configure it in setup:/adplugconfig.dev
8+
* [adplug] Make channel tracker aware of AM/FM modes so it more correctly can display visualization
9+
* [adplug] Left/Right OPL3 logic was incorrect in the register-tracker
10+
* [mingw] Initial support (BETA) for mingw, enables Windows support
11+
* [libancient] Add more fingerprints for compression formats that v2.1.0 can decompress
12+
* [Linux CDROM] Fix deadlock
13+
* [configure] cleanup --bindir --libdir and --datadir, and new syntax to override post ocp suffixes: ./configure LIBDIROCP=/usr/lib/ocp DATADIROCP=/usr/data/ocp
14+
* [configure] removed --with-dir-suffix
15+
* [CDROM *.CUE] REM didn't work as expected
16+
* [CDROM *.CUE] files didn't work if containing INDEX 00 (pregap)
17+
* [CDROM *.CUE] BINARY keyword should be little endian, but there are tools that produce big-endian files without marking them correctly. So we need to detect the endian used.
18+
* [CDROM *.CUE] files didn't include pregaps in the track table
19+
* [CDROM *.TOC] files didn't split the logic for pregap and offset into the raw file
20+
* [musicbrainz] Increase the buffersize, some data retrivals failed
21+
* [global MIME database] Add adplug fileformats
22+
* [global MIME database] Add Game Music Emulator fileformats
23+
* [SDL2] if entering fullscreen while in graphical effect mode, it could not be exited without visiting a textmode resolution.
24+
* [SDL2] Use SDL_OpenAudioDevice(), else the expected audio format between SDL2 and OCP might not be what we expect causing random noise to be played.
25+
* [X11] non-Shm usage could fail to successfully create butter on window resize
26+
* [X11] If background picture is loaded in GUI modes, it was not repainted on window-resize
27+
* [unifont] Allow for unifont ttf/otf files to be placed in the datadir by using ./configure --with-unifont-relative (you still need to copy the files in)
28+
* [*.VGZ] Silently convert them to *.VGM
29+
* [GME] Add support for Game Music Emulator library (libgme) for playback of various retro console systems
30+
131
Version 0.2.105
232
===============
333

configure

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.71 for ocp 0.2.105.
3+
# Generated by GNU Autoconf 2.71 for ocp 0.2.106.
44
#
55
# Report bugs to <[email protected]>.
66
#
@@ -611,8 +611,8 @@ MAKEFLAGS=
611611
# Identity of this package.
612612
PACKAGE_NAME='ocp'
613613
PACKAGE_TARNAME='ocp'
614-
PACKAGE_VERSION='0.2.105'
615-
PACKAGE_STRING='ocp 0.2.105'
614+
PACKAGE_VERSION='0.2.106'
615+
PACKAGE_STRING='ocp 0.2.106'
616616
PACKAGE_BUGREPORT='[email protected]'
617617
PACKAGE_URL=''
618618

@@ -1495,7 +1495,7 @@ if test "$ac_init_help" = "long"; then
14951495
# Omit some internal or obsolete options to make the list less imposing.
14961496
# This message is too long to be a string in the A/UX 3.1 sh.
14971497
cat <<_ACEOF
1498-
\`configure' configures ocp 0.2.105 to adapt to many kinds of systems.
1498+
\`configure' configures ocp 0.2.106 to adapt to many kinds of systems.
14991499

15001500
Usage: $0 [OPTION]... [VAR=VALUE]...
15011501

@@ -1561,7 +1561,7 @@ fi
15611561

15621562
if test -n "$ac_init_help"; then
15631563
case $ac_init_help in
1564-
short | recursive ) echo "Configuration of ocp 0.2.105:";;
1564+
short | recursive ) echo "Configuration of ocp 0.2.106:";;
15651565
esac
15661566
cat <<\_ACEOF
15671567

@@ -1796,7 +1796,7 @@ fi
17961796
test -n "$ac_init_help" && exit $ac_status
17971797
if $ac_init_version; then
17981798
cat <<\_ACEOF
1799-
ocp configure 0.2.105
1799+
ocp configure 0.2.106
18001800
generated by GNU Autoconf 2.71
18011801

18021802
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2682,7 +2682,7 @@ cat >config.log <<_ACEOF
26822682
This file contains any messages produced by compilers while
26832683
running configure, to aid debugging if configure makes a mistake.
26842684

2685-
It was created by ocp $as_me 0.2.105, which was
2685+
It was created by ocp $as_me 0.2.106, which was
26862686
generated by GNU Autoconf 2.71. Invocation command line was
26872687

26882688
$ $0$ac_configure_args_raw
@@ -3655,14 +3655,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
36553655

36563656

36573657
cat >>confdefs.h <<_ACEOF
3658-
#define DLLVERSION `printf 0x%04x%02x%02x 0 2 105`
3658+
#define DLLVERSION `printf 0x%04x%02x%02x 0 2 106`
36593659
_ACEOF
36603660

36613661
MAJOR_VERSION=0
36623662

36633663
MINOR_VERSION=2
36643664

3665-
PATCH_VERSION=105
3665+
PATCH_VERSION=106
36663666

36673667

36683668

@@ -18392,7 +18392,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1839218392
# report actual input values of CONFIG_FILES etc. instead of their
1839318393
# values after options handling.
1839418394
ac_log="
18395-
This file was extended by ocp $as_me 0.2.105, which was
18395+
This file was extended by ocp $as_me 0.2.106, which was
1839618396
generated by GNU Autoconf 2.71. Invocation command line was
1839718397

1839818398
CONFIG_FILES = $CONFIG_FILES
@@ -18456,7 +18456,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
1845618456
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1845718457
ac_cs_config='$ac_cs_config_escaped'
1845818458
ac_cs_version="\\
18459-
ocp config.status 0.2.105
18459+
ocp config.status 0.2.106
1846018460
configured by $0, generated by GNU Autoconf 2.71,
1846118461
with options \\"\$ac_cs_config\\"
1846218462

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
m4_define([MAJOR_VERSION], [0])
22
m4_define([MINOR_VERSION], [2])
3-
m4_define([PATCH_VERSION], [105])
3+
m4_define([PATCH_VERSION], [106])
44
AC_INIT([ocp],[MAJOR_VERSION.MINOR_VERSION.PATCH_VERSION],[[email protected]])
55
AC_DEFINE_UNQUOTED(DLLVERSION, `printf 0x%04x%02x%02x MAJOR_VERSION MINOR_VERSION PATCH_VERSION`)
66
AC_SUBST([MAJOR_VERSION], [MAJOR_VERSION])

ocp.spec

+37-52
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
# rpm spec file for RedHat / Fedora linux
22

33
%define name ocp
4-
%define version 0.2.105
5-
6-
# Default to _with_libmad if neither _with_libmad or _without_libmad is defined
7-
%{!?_with_libmad: %{!?_without_libmad: %define _with_libmad --with-libmad}}
8-
9-
# Error if both _with_libmad and _without_libmad is defined
10-
%{?_with_libmad: %{?_without_libmad: %{error: both _with_libmad and _without_libmad}}}
4+
%define version 0.2.106
115

126
Name: %{name}
137
Version: %{version}
@@ -24,56 +18,56 @@ License: GPL-2, Creative Commons Attribution 3.0
2418
# The extra data provided is Creative Commons Attribute 3.0
2519

2620
%if 0%{?suse_version}
27-
BuildRequires: ncurses-devel zlib-devel bzip2-devel libSDL2-devel libogg-devel libvorbis-devel gcc >= 3.0-0 gcc-c++ >= 3.0-0 flac-devel desktop-file-utils hicolor-icon-theme unzip texinfo update-desktop-files libjpeg62-turbo-devel libpng16-devel xa libdiscid-devel cjson-devel alsa-devel libfreetype2-devel gnu-unifont-bitmap-fonts ancient
21+
BuildRequires: ncurses-devel zlib-devel bzip2-devel libmad-devel libSDL2-devel libogg-devel libvorbis-devel gcc >= 3.0-0 gcc-c++ >= 3.0-0 flac-devel desktop-file-utils hicolor-icon-theme unzip texinfo update-desktop-files libjpeg62-turbo-devel libpng16-devel xa libdiscid-devel cjson-devel alsa-devel libfreetype2-devel gnu-unifont-bitmap-fonts libgme-devel ancient-devel
2822
%else
2923
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
30-
BuildRequires: ncurses-devel zlib-devel bzip2-devel SDL2-devel libogg-devel libvorbis-devel gcc >= 3.0-0 gcc-c++ >= 3.0-0 flac-devel desktop-file-utils hicolor-icon-theme unzip texinfo libjpeg-turbo-devel libpng-devel xa libdiscid-devel cjson-devel alsa-lib-devel libfreetype-devel unifont-fonts ancient
24+
BuildRequires: ncurses-devel zlib-devel bzip2-devel libmad-devel SDL2-devel libogg-devel libvorbis-devel gcc >= 3.0-0 gcc-c++ >= 3.0-0 flac-devel desktop-file-utils hicolor-icon-theme unzip texinfo libjpeg-turbo-devel libpng-devel xa libdiscid-devel cjson-devel alsa-lib-devel libfreetype-devel unifont-fonts ancient-devel game-music-emulator-devel
3125
%else
32-
BuildRequires: ncurses-devel zlib-devel bzip2-devel libSDL2-devel libogg-devel libvorbis-devel gcc >= 3.0-0 gcc-c++ >= 3.0-0 flac-devel desktop-file-utils hicolor-icon-theme unzip texinfo libjpeg-turbo-devel libpng-devel xa libdiscid-devel cjson-devel alsa-lib-devel libfreetype-devel unifont-fonts ancient
26+
BuildRequires: ncurses-devel zlib-devel bzip2-devel libmad-devel libSDL2-devel libogg-devel libvorbis-devel gcc >= 3.0-0 gcc-c++ >= 3.0-0 flac-devel desktop-file-utils hicolor-icon-theme unzip texinfo libjpeg-turbo-devel libpng-devel xa libdiscid-devel cjson-devel alsa-lib-devel libfreetype-devel unifont-fonts ancient-devel libgme-devel
3327
%endif
3428
%endif
3529

36-
# Include libmad if given
37-
%{?_with_libmad:BuildRequires: libmad-devel}
38-
3930
%description
4031
Open Cubic Player is a music player ported from DOS. Provides a nice text-based
4132
frontend, with some few optional features in graphical. Plays modules, sids,
4233
wave and mp3
4334

4435
%changelog
45-
Changes from version 0.2.103 to 0.2.105:
46-
47-
* Update libsidplayfp
48-
* Update adplug
49-
* Latest version of the upstream version
50-
* Adds support for *.PIS and *.MTR
51-
* Reimplemented the OPL2/3 status viewer
52-
* Buffer for compositing tracker data for music that supports this, was not
53-
cleared between pattern loads. Causing visual data to be accumulated.
54-
* OCP now supports multiple of the emulator implementations
55-
* Default emulator to use has been changed
56-
* Configuration dialog added into setup:
57-
* Elapsed time is now based on played samples and not counting seconds passed
58-
* Screen resizing should be more consistent on remembering settings
59-
* Add support for 3-bytes-per-pixel in SDL 1.x
60-
* Files that are detected as valid for libancient but fails decompression,
61-
OCP failed to reset the filehandler read-position back to 0.
62-
* Track viewer had some excessive CPU usage
63-
* Analyzer viewer has the scale gain range increased, and the current gain is
64-
visible in the header.
65-
* Quick help documentation has been updated, with special focus on the keyboard
66-
shortcuts.
67-
* Avoid crash if attempting to access graphical viewer moder when running in
68-
curses (text only).
36+
Changes from version 0.2.105 to 0.2.106:
37+
38+
* [IT] Increase the number of max-samples to match openMPT (it can export files with more samples that original tracker and Schism supports)
39+
* [devpdisk] Reported time during playback was random
40+
* [adplug] Add support for SudoMakers RetroWave OPL3 Express, please configure it in setup:/adplugconfig.dev
41+
* [adplug] Make channel tracker aware of AM/FM modes so it more correctly can display visualization
42+
* [adplug] Left/Right OPL3 logic was incorrect in the register-tracker
43+
* [mingw] Initial support (BETA) for mingw, enables Windows support
44+
* [libancient] Add more fingerprints for compression formats that v2.1.0 can decompress
45+
* [Linux CDROM] Fix deadlock
46+
* [configure] cleanup --bindir --libdir and --datadir, and new syntax to override post ocp suffixes: ./configure LIBDIROCP=/usr/lib/ocp DATADIROCP=/usr/data/ocp
47+
* [configure] removed --with-dir-suffix
48+
* [CDROM *.CUE] REM didn't work as expected
49+
* [CDROM *.CUE] files didn't work if containing INDEX 00 (pregap)
50+
* [CDROM *.CUE] BINARY keyword should be little endian, but there are tools that produce big-endian files without marking them correctly. So we need to detect the endian used.
51+
* [CDROM *.CUE] files didn't include pregaps in the track table
52+
* [CDROM *.TOC] files didn't split the logic for pregap and offset into the raw file
53+
* [musicbrainz] Increase the buffersize, some data retrivals failed
54+
* [global MIME database] Add adplug fileformats
55+
* [global MIME database] Add Game Music Emulator fileformats
56+
* [SDL2] if entering fullscreen while in graphical effect mode, it could not be exited without visiting a textmode resolution.
57+
* [SDL2] Use SDL_OpenAudioDevice(), else the expected audio format between SDL2 and OCP might not be what we expect causing random noise to be played.
58+
* [X11] non-Shm usage could fail to successfully create butter on window resize
59+
* [X11] If background picture is loaded in GUI modes, it was not repainted on window-resize
60+
* [unifont] Allow for unifont ttf/otf files to be placed in the datadir by using ./configure --with-unifont-relative (you still need to copy the files in)
61+
* [*.VGZ] Silently convert them to *.VGM
62+
* [GME] Add support for Game Music Emulator library (libgme) for playback of various retro console systems
6963

7064
%prep
7165
%setup -q -n %{name}-%{version}
7266
unzip $RPM_SOURCE_DIR/opencp25image1.zip
7367
unzip -o $RPM_SOURCE_DIR/opencp25ani1.zip
7468

7569
%build
76-
CFLAGS=$RPM_OPT_FLAGS CXXFLAGS=$RPM_OPT_FLAGS ./configure --prefix=%{_prefix} --exec_prefix=%{_exec_prefix} --infodir=%{_infodir} --sysconfdir=/etc %{?_with_libmad} %{?_without_libmad}
70+
CFLAGS=$RPM_OPT_FLAGS CXXFLAGS=$RPM_OPT_FLAGS ./configure --prefix=%{_prefix} --exec_prefix=%{_exec_prefix} --infodir=%{_infodir} --sysconfdir=/etc
7771
make
7872

7973
%post
@@ -97,17 +91,14 @@ make DESTDIR=%{buildroot} install
9791
%if 0%{?suse_version}
9892
%suse_update_desktop_file -n -r cubic.org-opencubicplayer AudioVideo Player
9993
%endif
100-
mkdir -p %{buildroot}%{_prefix}/share/ocp-%{version}/data
101-
cp CP* %{buildroot}%{_prefix}/share/ocp-%{version}/data
102-
rm -f %{buildroot}/%{_infodir}/dir
10394

10495
%clean
10596
rm -rf %{buildroot}
10697

10798
%files
10899
%defattr(-,root,root)
109-
%config %{_prefix}/share/ocp-%{version}/etc/ocp.ini
110-
%{_exec_prefix}/lib/ocp-%{version}
100+
%config %{_prefix}/share/ocp/etc/ocp.ini
101+
%{_exec_prefix}/lib/ocp
111102
%{_prefix}/bin/ocp
112103
%{_prefix}/bin/ocp-curses
113104
%{_prefix}/bin/ocp-sdl2
@@ -123,13 +114,7 @@ rm -rf %{buildroot}
123114
%{_prefix}/share/icons/hicolor/scalable/apps/opencubicplayer.svg
124115
%{_prefix}/share/applications/cubic.org-opencubicplayer.desktop
125116

126-
%dir %{_prefix}/share/ocp-%{version}
127-
#%dir %{_prefix}/share/ocp-%{version}/data
128-
%dir %{_prefix}/share/ocp-%{version}/etc
129-
%{_prefix}/share/ocp-%{version}/data
130-
#data/ocp.hlp
131-
#data/CP*.TAG
132-
#data/CP*.DAT
117+
%dir %{_prefix}/share/ocp
133118

134-
%docdir %{_prefix}/share/doc/ocp-%{version}
135-
%{_prefix}/share/doc/ocp-%{version}
119+
%docdir %{_prefix}/share/doc/ocp
120+
%{_prefix}/share/doc/ocp

0 commit comments

Comments
 (0)