- Updated to 0.82.2 * Changed dosbox-staging-name.patch. * https://www.dosbox-staging.org/releases/release-notes/0.82.2 OBS-URL: https://build.opensuse.org/request/show/1286511 OBS-URL: https://build.opensuse.org/package/show/Emulators/dosbox?expand=0&rev=77
115 lines
5.1 KiB
Diff
115 lines
5.1 KiB
Diff
diff -Pdpru dosbox-staging-0.82.0.orig/contrib/icons/meson.build dosbox-staging-0.82.0/contrib/icons/meson.build
|
|
--- dosbox-staging-0.82.0.orig/contrib/icons/meson.build 2024-10-23 10:37:53.000000000 +0300
|
|
+++ dosbox-staging-0.82.0/contrib/icons/meson.build 2024-12-10 06:59:59.112412395 +0300
|
|
@@ -2,15 +2,9 @@ icons_hicolor = data_dir / 'icons' / 'hi
|
|
|
|
png_files = {
|
|
'icon_16.png': '16x16',
|
|
- 'icon_22.png': '22x22',
|
|
- 'icon_24.png': '24x24',
|
|
'icon_32.png': '32x32',
|
|
'icon_48.png': '48x48',
|
|
- 'icon_96.png': '96x96',
|
|
'icon_128.png': '128x128',
|
|
- 'icon_256.png': '256x256',
|
|
- 'icon_512.png': '512x512',
|
|
- 'icon_1024.png': '1024x1024',
|
|
}
|
|
|
|
# small bitmap icons
|
|
@@ -19,7 +13,7 @@ png_files = {
|
|
foreach name, size : png_files
|
|
install_data(
|
|
'png' / name,
|
|
- rename: 'org.dosbox-staging.dosbox-staging.png',
|
|
+ rename: 'dosbox.png',
|
|
install_dir: icons_hicolor / size / 'apps',
|
|
)
|
|
endforeach
|
|
@@ -28,6 +22,6 @@ endforeach
|
|
#
|
|
install_data(
|
|
'svg' / 'dosbox-staging.svg',
|
|
- rename: 'org.dosbox-staging.dosbox-staging.svg',
|
|
+ rename: 'dosbox.svg',
|
|
install_dir: icons_hicolor / 'scalable' / 'apps',
|
|
)
|
|
diff -Pdpru dosbox-staging-0.82.0.orig/contrib/linux/meson.build dosbox-staging-0.82.0/contrib/linux/meson.build
|
|
--- dosbox-staging-0.82.0.orig/contrib/linux/meson.build 2024-10-23 10:37:53.000000000 +0300
|
|
+++ dosbox-staging-0.82.0/contrib/linux/meson.build 2024-12-10 06:59:59.112412395 +0300
|
|
@@ -1,3 +1,3 @@
|
|
-install_data('org.dosbox-staging.dosbox-staging.desktop', install_dir: data_dir / 'applications')
|
|
+install_data('org.dosbox-staging.dosbox-staging.desktop', rename: 'dosbox.desktop', install_dir: data_dir / 'applications')
|
|
|
|
-install_data('org.dosbox-staging.dosbox-staging.metainfo.xml', install_dir: data_dir / 'metainfo')
|
|
+install_data('org.dosbox-staging.dosbox-staging.metainfo.xml', rename: 'dosbox.metainfo.xml', install_dir: data_dir / 'metainfo')
|
|
diff -Pdpru dosbox-staging-0.82.0.orig/contrib/linux/org.dosbox-staging.dosbox-staging.desktop dosbox-staging-0.82.0/contrib/linux/org.dosbox-staging.dosbox-staging.desktop
|
|
--- dosbox-staging-0.82.0.orig/contrib/linux/org.dosbox-staging.dosbox-staging.desktop 2024-10-23 10:37:53.000000000 +0300
|
|
+++ dosbox-staging-0.82.0/contrib/linux/org.dosbox-staging.dosbox-staging.desktop 2024-12-10 06:59:59.112412395 +0300
|
|
@@ -58,5 +58,5 @@
|
|
Exec=dosbox
|
|
-Icon=org.dosbox-staging.dosbox-staging
|
|
+Icon=dosbox
|
|
Type=Application
|
|
Terminal=false
|
|
Keywords=dos;gaming;game;games;emulator;
|
|
diff -Pdpru dosbox-staging-0.82.0.orig/contrib/linux/org.dosbox-staging.dosbox-staging.metainfo.xml dosbox-staging-0.82.0/contrib/linux/org.dosbox-staging.dosbox-staging.metainfo.xml
|
|
--- dosbox-staging-0.82.0.orig/contrib/linux/org.dosbox-staging.dosbox-staging.metainfo.xml 2024-10-23 10:37:53.000000000 +0300
|
|
+++ dosbox-staging-0.82.0/contrib/linux/org.dosbox-staging.dosbox-staging.metainfo.xml 2024-12-10 06:59:59.112412395 +0300
|
|
@@ -3,5 +3,5 @@
|
|
<component type="desktop">
|
|
- <id>org.dosbox-staging.dosbox-staging</id>
|
|
+ <id>dosbox</id>
|
|
<metadata_license>CC0-1.0</metadata_license>
|
|
<project_license>GPL-2.0-or-later</project_license>
|
|
<name>DOSBox Staging</name>
|
|
@@ -67,7 +67,7 @@
|
|
<control>console</control>
|
|
<control>gamepad</control>
|
|
</recommends>
|
|
- <launchable type="desktop-id">org.dosbox-staging.dosbox-staging.desktop</launchable>
|
|
+ <launchable type="desktop-id">dosbox.desktop</launchable>
|
|
<developer_name>The DOSBox Staging Team</developer_name>
|
|
<update_contact>john@johnnovak.net</update_contact>
|
|
<url type="homepage">https://www.dosbox-staging.org/</url>
|
|
diff -Pdpru dosbox-staging-0.82.0.orig/include/dosbox.h dosbox-staging-0.82.0/include/dosbox.h
|
|
--- dosbox-staging-0.82.0.orig/include/dosbox.h 2024-10-23 10:37:53.000000000 +0300
|
|
+++ dosbox-staging-0.82.0/include/dosbox.h 2024-12-10 07:12:05.893618302 +0300
|
|
@@ -26,7 +26,7 @@
|
|
#include <memory>
|
|
|
|
// Project name, lower-case and without spaces
|
|
-#define DOSBOX_PROJECT_NAME "dosbox-staging"
|
|
+#define DOSBOX_PROJECT_NAME "dosbox"
|
|
|
|
// Name of the emulator
|
|
#define DOSBOX_NAME "DOSBox Staging"
|
|
@@ -40,7 +40,7 @@
|
|
// Fully qualified application ID for the emulator; see
|
|
// https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names
|
|
// for more details
|
|
-#define DOSBOX_APP_ID "org.dosbox-staging.dosbox-staging"
|
|
+#define DOSBOX_APP_ID "dosbox"
|
|
|
|
|
|
int sdl_main(int argc, char *argv[]);
|
|
diff -Pdpru dosbox-staging-0.82.0.orig/meson.build dosbox-staging-0.82.0/meson.build
|
|
--- dosbox-staging-0.82.0.orig/meson.build 2024-10-23 10:37:53.000000000 +0300
|
|
+++ dosbox-staging-0.82.0/meson.build 2024-12-10 06:59:59.115745745 +0300
|
|
@@ -1,5 +1,5 @@
|
|
project(
|
|
- 'dosbox-staging', 'c', 'cpp',
|
|
+ 'dosbox', 'c', 'cpp',
|
|
|
|
version: run_command(
|
|
meson.project_source_root() + '/scripts/get-version.sh',
|
|
@@ -45,7 +45,7 @@ project(
|
|
#
|
|
data_dir = get_option('datadir')
|
|
licenses_dir = data_dir / 'licenses' / meson.project_name()
|
|
-doc_dir = data_dir / 'doc' / meson.project_name()
|
|
+doc_dir = data_dir / 'doc' / 'packages' / meson.project_name()
|
|
|
|
install_man('docs/dosbox.1')
|
|
# Bundle licenses, but skip the ones that are not relevant for
|