public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Charles R. Anderson <cra@alum.wpi.edu>
To: git-commits@fedoraproject.org
Subject: [rpms/ocp] f43: Update to 3.5.0
Date: Sat, 15 Aug 2026 16:00:41 GMT	[thread overview]
Message-ID: <178680964138.1.2209186779610687318.rpms-ocp-6e3eb6ceec86@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ocp
Branch : f43
Commit : 6e3eb6ceec861dfd890960663b1dbe4816f85349
Author : Charles R. Anderson <cra@alum.wpi.edu>
Date   : 2026-08-15T01:09:45-04:00
Stats  : +107/-97 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/ocp/c/6e3eb6ceec861dfd890960663b1dbe4816f85349?branch=f43

Log:
Update to 3.5.0

---
diff --git a/ocp-3.4.1-rompaths.patch b/ocp-3.4.1-rompaths.patch
deleted file mode 100644
index 02f2ca3..0000000
--- a/ocp-3.4.1-rompaths.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-diff -up ocp-3.4.1/boot/pmain.c.rompaths ocp-3.4.1/boot/pmain.c
---- ocp-3.4.1/boot/pmain.c.rompaths	2026-08-07 09:48:03.000000000 -0400
-+++ ocp-3.4.1/boot/pmain.c	2026-08-14 23:08:30.428984475 -0400
-@@ -516,9 +516,9 @@ static int init_modules(int argc, char *
- 			cfSetProfileString("libsidplayfp", "filtercurve6581", "0.5");
- 			cfSetProfileString("libsidplayfp", "filtercurve8580", "0.5");
- 			cfSetProfileBool("libsidplayfp", "digiboost", 0);
--			cfSetProfileString("libsidplayfp", "kernal", "KERNAL.ROM");
--			cfSetProfileString("libsidplayfp", "basic", "BASIC.ROM");
--			cfSetProfileString("libsidplayfp", "chargen", "CHARGEN.ROM");
-+			cfSetProfileString("libsidplayfp", "kernal", "/usr/share/ocp/data/KERNAL.ROM");
-+			cfSetProfileString("libsidplayfp", "basic", "/usr/share/ocp/data/BASIC.ROM");
-+			cfSetProfileString("libsidplayfp", "chargen", "/usr/share/ocp/data/CHARGEN.ROM");
- 		}
- 
- 		if (epoch < 20210118)
-@@ -799,9 +799,9 @@ static int init_modules(int argc, char *
- 		{
- 			char *kernal, *basic, *chargen, *iter;
- 			printf("ocp.ini update (0.2.95) libsidplayfp ROM paths changed into UNIX syntax\n");
--			kernal  = strdup (cfGetProfileString ("libsidplayfp", "kernal",  "KERNAL.ROM"));
--			basic   = strdup (cfGetProfileString ("libsidplayfp", "basic",   "BASIC.ROM"));
--			chargen = strdup (cfGetProfileString ("libsidplayfp", "chargen", "CHARGEN.ROM"));
-+			kernal  = strdup (cfGetProfileString ("libsidplayfp", "kernal",  "/usr/share/ocp/data/KERNAL.ROM"));
-+			basic   = strdup (cfGetProfileString ("libsidplayfp", "basic",   "/usr/share/ocp/data/BASIC.ROM"));
-+			chargen = strdup (cfGetProfileString ("libsidplayfp", "chargen", "/usr/share/ocp/data/CHARGEN.ROM"));
- 			for (iter = kernal; *iter; iter++)
- 			{
- 				if (*iter == '/')
-@@ -1089,6 +1089,14 @@ static int init_modules(int argc, char *
- 		}
- 
- 		if (epoch < 20260419)
-+		{
-+			fprintf(stderr, "Fedora ocp.ini update (3.3.0) libsidplayfp ROM paths\n");
-+			cfSetProfileString("libsidplayfp", "kernal", "/usr/share/ocp/data/KERNAL.ROM");
-+			cfSetProfileString("libsidplayfp", "basic", "/usr/share/ocp/data/BASIC.ROM");
-+			cfSetProfileString("libsidplayfp", "chargen", "/usr/share/ocp/data/CHARGEN.ROM");
-+		}
-+
-+		if (epoch < 20260419)
- 		{
- 			fprintf(stderr, "ocp.ini update (3.3.0) add [sndh]\n");
- 			cfSetProfileString ("sndh", "stereomodel", "empiric");
-diff -up ocp-3.4.1/ocp.ini.in.rompaths ocp-3.4.1/ocp.ini.in
---- ocp-3.4.1/ocp.ini.in.rompaths	2026-08-07 09:48:03.000000000 -0400
-+++ ocp-3.4.1/ocp.ini.in	2026-08-14 23:07:57.148221511 -0400
-@@ -141,9 +141,9 @@
- ; kernal=~/roms/KERNAL.ROM
- ; basic=../BASIC.ROM
- ; chargen=/var/lib/roms/chargen.ROM
--  kernal=KERNAL.ROM
--  basic=BASIC.ROM
--  chargen=CHARGEN.ROM
-+  kernal=/usr/share/ocp/data/KERNAL.ROM
-+  basic=/usr/share/ocp/data/BASIC.ROM
-+  chargen=/usr/share/ocp/data/CHARGEN.ROM
- 
- [adplug]
-   emulator=nuked          ; Possible values are ken, nuked, satoh woody and retrowave.
-diff -up ocp-3.4.1/playsid/sidconfig.c.rompaths ocp-3.4.1/playsid/sidconfig.c
---- ocp-3.4.1/playsid/sidconfig.c.rompaths	2026-08-07 09:48:04.000000000 -0400
-+++ ocp-3.4.1/playsid/sidconfig.c	2026-08-14 23:07:57.148663923 -0400
-@@ -1056,9 +1056,9 @@ static void sidConfigRun (void **token,
- 	config_filtercurve8580 = float100x_to_int (API->configAPI->GetProfileString ("libsidplayfp", "filtercurve8580", "0.5"));
- 	config_combinedwaveforms = CWS_to_int     (API->configAPI->GetProfileString ("libsidplayfp", "combinedwaveforms", "Strong"));
- 	config_digiboost =                         API->configAPI->GetProfileBool   ("libsidplayfp", "digiboost",       0, 0);
--	config_kernal = strdup                    (API->configAPI->GetProfileString ("libsidplayfp", "kernal",          "KERNEL.ROM"));
--	config_basic = strdup                     (API->configAPI->GetProfileString ("libsidplayfp", "basic",           "BASIC.ROM"));
--	config_chargen = strdup                   (API->configAPI->GetProfileString ("libsidplayfp", "chargen",         "CHARGEN.ROM"));
-+	config_kernal = strdup                    (API->configAPI->GetProfileString ("libsidplayfp", "kernal",          "/usr/share/ocp/data/KERNAL.ROM"));
-+	config_basic = strdup                     (API->configAPI->GetProfileString ("libsidplayfp", "basic",           "/usr/share/ocp/data/BASIC.ROM"));
-+	config_chargen = strdup                   (API->configAPI->GetProfileString ("libsidplayfp", "chargen",         "/usr/share/ocp/data/CHARGEN.ROM"));
- 
- 	if (config_filtercurve6581 < 0) config_filtercurve6581 = 0;
- 	if (config_filtercurve6581 > 100) config_filtercurve6581 = 100;

diff --git a/ocp-3.5.0-rompaths.patch b/ocp-3.5.0-rompaths.patch
new file mode 100644
index 0000000..3c258a5
--- /dev/null
+++ b/ocp-3.5.0-rompaths.patch
@@ -0,0 +1,76 @@
+diff -up ocp-3.5.0/boot/pmain.c.rompaths ocp-3.5.0/boot/pmain.c
+--- ocp-3.5.0/boot/pmain.c.rompaths	2026-08-12 16:27:43.000000000 -0400
++++ ocp-3.5.0/boot/pmain.c	2026-08-14 23:38:34.918599505 -0400
+@@ -516,9 +516,9 @@ static int init_modules(int argc, char *
+ 			cfSetProfileString("libsidplayfp", "filtercurve6581", "0.5");
+ 			cfSetProfileString("libsidplayfp", "filtercurve8580", "0.5");
+ 			cfSetProfileBool("libsidplayfp", "digiboost", 0);
+-			cfSetProfileString("libsidplayfp", "kernal", "KERNAL.ROM");
+-			cfSetProfileString("libsidplayfp", "basic", "BASIC.ROM");
+-			cfSetProfileString("libsidplayfp", "chargen", "CHARGEN.ROM");
++			cfSetProfileString("libsidplayfp", "kernal", "/usr/share/ocp/data/KERNAL.ROM");
++			cfSetProfileString("libsidplayfp", "basic", "/usr/share/ocp/data/BASIC.ROM");
++			cfSetProfileString("libsidplayfp", "chargen", "/usr/share/ocp/data/CHARGEN.ROM");
+ 		}
+ 
+ 		if (epoch < 20210118)
+@@ -799,9 +799,9 @@ static int init_modules(int argc, char *
+ 		{
+ 			char *kernal, *basic, *chargen, *iter;
+ 			printf("ocp.ini update (0.2.95) libsidplayfp ROM paths changed into UNIX syntax\n");
+-			kernal  = strdup (cfGetProfileString ("libsidplayfp", "kernal",  "KERNAL.ROM"));
+-			basic   = strdup (cfGetProfileString ("libsidplayfp", "basic",   "BASIC.ROM"));
+-			chargen = strdup (cfGetProfileString ("libsidplayfp", "chargen", "CHARGEN.ROM"));
++			kernal  = strdup (cfGetProfileString ("libsidplayfp", "kernal",  "/usr/share/ocp/data/KERNAL.ROM"));
++			basic   = strdup (cfGetProfileString ("libsidplayfp", "basic",   "/usr/share/ocp/data/BASIC.ROM"));
++			chargen = strdup (cfGetProfileString ("libsidplayfp", "chargen", "/usr/share/ocp/data/CHARGEN.ROM"));
+ 			for (iter = kernal; *iter; iter++)
+ 			{
+ 				if (*iter == '/')
+@@ -1089,6 +1089,14 @@ static int init_modules(int argc, char *
+ 		}
+ 
+ 		if (epoch < 20260419)
++		{
++			fprintf(stderr, "Fedora ocp.ini update (3.3.0) libsidplayfp ROM paths\n");
++			cfSetProfileString("libsidplayfp", "kernal", "/usr/share/ocp/data/KERNAL.ROM");
++			cfSetProfileString("libsidplayfp", "basic", "/usr/share/ocp/data/BASIC.ROM");
++			cfSetProfileString("libsidplayfp", "chargen", "/usr/share/ocp/data/CHARGEN.ROM");
++		}
++
++		if (epoch < 20260419)
+ 		{
+ 			fprintf(stderr, "ocp.ini update (3.3.0) add [sndh]\n");
+ 			cfSetProfileString ("sndh", "stereomodel", "empiric");
+diff -up ocp-3.5.0/ocp.ini.in.rompaths ocp-3.5.0/ocp.ini.in
+--- ocp-3.5.0/ocp.ini.in.rompaths	2026-08-12 16:27:43.000000000 -0400
++++ ocp-3.5.0/ocp.ini.in	2026-08-14 23:38:34.920834081 -0400
+@@ -149,9 +149,9 @@
+ ; kernal=~/roms/KERNAL.ROM
+ ; basic=../BASIC.ROM
+ ; chargen=/var/lib/roms/chargen.ROM
+-  kernal=KERNAL.ROM
+-  basic=BASIC.ROM
+-  chargen=CHARGEN.ROM
++  kernal=/usr/share/ocp/data/KERNAL.ROM
++  basic=/usr/share/ocp/data/BASIC.ROM
++  chargen=/usr/share/ocp/data/CHARGEN.ROM
+ 
+ [adplug]
+   emulator=nuked          ; Possible values are ken, nuked, satoh woody and retrowave.
+diff -up ocp-3.5.0/playsid/sidconfig.c.rompaths ocp-3.5.0/playsid/sidconfig.c
+--- ocp-3.5.0/playsid/sidconfig.c.rompaths	2026-08-12 16:27:43.000000000 -0400
++++ ocp-3.5.0/playsid/sidconfig.c	2026-08-14 23:42:08.741517119 -0400
+@@ -1102,9 +1102,9 @@ static void sidConfigRun (void **token,
+ 	config_digiboost =                         API->configAPI->GetProfileBool   ("libsidplayfp", "digiboost",       0, 0);
+ 	config_dacLeakageLevel = float100x_to_int (API->configAPI->GetProfileString ("libsidplayfp", "dacLeakageLevel", "1.0"));
+ 	config_dcBlockResistor = float100x_to_int (API->configAPI->GetProfileString ("libsidplayfp", "dcBlockResistor", "0.0"));
+-	config_kernal = strdup                    (API->configAPI->GetProfileString ("libsidplayfp", "kernal",          "KERNEL.ROM"));
+-	config_basic = strdup                     (API->configAPI->GetProfileString ("libsidplayfp", "basic",           "BASIC.ROM"));
+-	config_chargen = strdup                   (API->configAPI->GetProfileString ("libsidplayfp", "chargen",         "CHARGEN.ROM"));
++	config_kernal = strdup                    (API->configAPI->GetProfileString ("libsidplayfp", "kernal",          "/usr/share/ocp/data/KERNAL.ROM"));
++	config_basic = strdup                     (API->configAPI->GetProfileString ("libsidplayfp", "basic",           "/usr/share/ocp/data/BASIC.ROM"));
++	config_chargen = strdup                   (API->configAPI->GetProfileString ("libsidplayfp", "chargen",         "/usr/share/ocp/data/CHARGEN.ROM"));
+ 
+ 	if (config_filtercurve6581 <   0) config_filtercurve6581 =   0;
+ 	if (config_filtercurve6581 > 100) config_filtercurve6581 = 100;

diff --git a/ocp.spec b/ocp.spec
index aa9210a..d159cfe 100644
--- a/ocp.spec
+++ b/ocp.spec
@@ -3,13 +3,13 @@
 %global _lto_cflags %nil
 
 #global snapshot 0
-%global commit e3173207868c39d44e73a37ff404b69dc12213ae
-%global commitdate 20260807
-%global gittag v3.4.1
+%global commit 82ee58cd0cfad1c634bd00e4de785677c331ad4c
+%global commitdate 20260812
+%global gittag v3.5.0
 %global shortcommit %(c=%{commit}; echo ${c:0:7})
 
 Name:		ocp
-Version:	3.4.1%{?snapshot:^%{commitdate}git%{shortcommit}}
+Version:	3.5.0%{?snapshot:^%{commitdate}git%{shortcommit}}
 Release:	1%{?dist}
 Summary:	Open Cubic Player for MOD/S3M/XM/IT/MIDI music files
 
@@ -29,7 +29,7 @@ Source1:	ftp://ftp.cubic.org/pub/player/gfx/opencp25image1.zip
 Source2:	ftp://ftp.cubic.org/pub/player/gfx/opencp25ani1.zip
 Source3:	ocp-git-snapshot.sh
 Source4:	ocp-bundled-versions.sh
-Patch1:		ocp-3.4.1-rompaths.patch
+Patch1:		ocp-3.5.0-rompaths.patch
 Patch2:		ocp-3.1.1-timidity-config-file.patch
 
 BuildRequires:	alsa-lib-devel
@@ -53,11 +53,14 @@ BuildRequires:	libXpm-devel
 BuildRequires:	libXxf86vm-devel
 BuildRequires:	make
 BuildRequires:	ncurses-devel
+BuildRequires:	opus-devel
 BuildRequires:	perl-interpreter
 BuildRequires:	SDL3-devel >= 3.2.0
+BuildRequires:	speex-devel
 BuildRequires:	texinfo
 BuildRequires:	unifont-fonts
 BuildRequires:	unzip
+BuildRequires:  wavpack-devel
 BuildRequires:	xa
 BuildRequires:	zlib-devel
 
@@ -70,31 +73,31 @@ Recommends:	soundfont2-default
 
 # Bundled code
 
-# ocp-3.4.1/playtimidity/timidity-git/configure.ac:AC_INIT([TiMidity++],[2.15.0],[timidity-talk@lists.sourceforge.net],[TiMidity++])
+# ocp-3.5.0/playtimidity/timidity-git/configure.ac:AC_INIT([TiMidity++],[2.15.0],[timidity-talk@lists.sourceforge.net],[TiMidity++])
 Provides:	bundled(timidity++) = 2.15.0
 
-# ocp-3.4.1/playopl/adplug-git/configure.ac:AC_INIT([adplug], [2.4.1-beta])
+# ocp-3.5.0/playopl/adplug-git/configure.ac:AC_INIT([adplug], [2.4.1-beta])
 Provides:	bundled(adplug) = 2.4.1-beta
 
-# ocp-3.4.1/playopl/libbinio-git/configure.ac:AC_INIT([binio],[1.5],[dn.tlp@gmx.net],[libbinio])
+# ocp-3.5.0/playopl/libbinio-git/configure.ac:AC_INIT([binio],[1.5],[dn.tlp@gmx.net],[libbinio])
 Provides:	bundled(libbinio) = 1.5
 
-# ocp-3.4.1/playsid/libresidfp-git/configure.ac:m4_define([lib_major], [1])
-# ocp-3.4.1/playsid/libresidfp-git/configure.ac:m4_define([lib_minor], [2])
-# ocp-3.4.1/playsid/libresidfp-git/configure.ac:m4_define([lib_level], [0a])
-# ocp-3.4.1/playsid/libresidfp-git/configure.ac:m4_define([lib_version], [lib_major.lib_minor.lib_level])
-# ocp-3.4.1/playsid/libresidfp-git/configure.ac:AC_INIT([libresidfp],[lib_version],[],[],[https://github.com/libsidplayfp/libresidfp/])
+# ocp-3.5.0/playsid/libresidfp-git/configure.ac:m4_define([lib_major], [1])
+# ocp-3.5.0/playsid/libresidfp-git/configure.ac:m4_define([lib_minor], [2])
+# ocp-3.5.0/playsid/libresidfp-git/configure.ac:m4_define([lib_level], [1])
+# ocp-3.5.0/playsid/libresidfp-git/configure.ac:m4_define([lib_version], [lib_major.lib_minor.lib_level])
+# ocp-3.5.0/playsid/libresidfp-git/configure.ac:AC_INIT([libresidfp],[lib_version],[],[],[https://github.com/libsidplayfp/libresidfp/])
 # But: const char* residfp_version_string = "@PACKAGE_VERISON"; which resolves to just the ocp version.
-Provides:	bundled(reSIDfp) = 1.2.0a
+Provides:	bundled(reSIDfp) = 1.2.1
 
-# ocp-3.4.1/playsid/libsidplayfp-git/configure.ac:m4_define([lib_major], [3])
-# ocp-3.4.1/playsid/libsidplayfp-git/configure.ac:m4_define([lib_minor], [1])
-# ocp-3.4.1/playsid/libsidplayfp-git/configure.ac:m4_define([lib_level], [0a])
-# ocp-3.4.1/playsid/libsidplayfp-git/configure.ac:m4_define([lib_version], [lib_major.lib_minor.lib_level])
-# ocp-3.4.1/playsid/libsidplayfp-git/configure.ac:AC_INIT([libsidplayfp],[lib_version],[],[],[https://github.com/libsidplayfp/libsidplayfp/])
-Provides:	bundled(libsidplayfp) = 3.1.0a
+# ocp-3.5.0/playsid/libsidplayfp-git/configure.ac:m4_define([lib_major], [3])
+# ocp-3.5.0/playsid/libsidplayfp-git/configure.ac:m4_define([lib_minor], [1])
+# ocp-3.5.0/playsid/libsidplayfp-git/configure.ac:m4_define([lib_level], [0])
+# ocp-3.5.0/playsid/libsidplayfp-git/configure.ac:m4_define([lib_version], [lib_major.lib_minor.lib_level])
+# ocp-3.5.0/playsid/libsidplayfp-git/configure.ac:AC_INIT([libsidplayfp],[lib_version],[],[],[https://github.com/libsidplayfp/libsidplayfp/])
+Provides:	bundled(libsidplayfp) = 3.1.0
 
-# ocp-3.4.1/playsid/libsidplayfp-git/src/builders/exsid-builder/driver/configure.ac:AC_INIT([libexsid], [2.1], [], [], [https://github.com/libsidplayfp/exsid-driver])
+# ocp-3.5.0/playsid/libsidplayfp-git/src/builders/exsid-builder/driver/configure.ac:AC_INIT([libexsid], [2.1], [], [], [https://github.com/libsidplayfp/exsid-driver])
 Provides:	bundled(libexsid) = 2.1
 
 %description
@@ -208,6 +211,9 @@ mv license.txt license-videos.txt
 	   --without-sdl \
 	   --with-sdl3 \
 	   --with-mad \
+	   --with-opus \
+	   --with-speex \
+	   --with-wavpack \
 	   --with-libiconv=auto \
 	   --with-timidity-default-path=/etc \
 	   --with-unifont-otf=/usr/share/fonts/unifont/unifont.otf \
@@ -282,6 +288,10 @@ rm -f %{buildroot}%{_pkgdocdir}/COPYING
 
 
 %changelog
+* Fri Aug 14 2026 Charles R. Anderson <cra@alum.wpi.edu> - 3.5.0-1
+- Update to 3.5.0
+- Add opus, speex, and wavpack support
+
 * Fri Aug  7 2026 Charles R. Anderson <cra@alum.wpi.edu> - 3.4.1-1
 - Update to 3.4.1
 

                 reply	other threads:[~2026-08-15 16:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178680964138.1.2209186779610687318.rpms-ocp-6e3eb6ceec86@fedoraproject.org \
    --to=cra@alum.wpi.edu \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox