Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libretro-freechaf for 
openSUSE:Factory checked in at 2021-09-20 23:32:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libretro-freechaf (Old)
 and      /work/SRC/openSUSE:Factory/.libretro-freechaf.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libretro-freechaf"

Mon Sep 20 23:32:40 2021 rev:3 rq:919845 version:0~git20210818

Changes:
--------
--- /work/SRC/openSUSE:Factory/libretro-freechaf/libretro-freechaf.changes      
2020-06-07 21:39:20.393644397 +0200
+++ 
/work/SRC/openSUSE:Factory/.libretro-freechaf.new.1899/libretro-freechaf.changes
    2021-09-20 23:34:01.927238728 +0200
@@ -1,0 +2,18 @@
+Fri Sep 10 16:02:55 UTC 2021 - [email protected]
+
+- Update to version 0~git20210818:
+  * retrofw
+  * Update .gitlab-ci.yml
+  * Update bins for new toolchain
+  * Update .gitlab-ci.yml
+  * Update .gitlab-ci.yml
+  * Update .gitlab-ci.yml
+  * Add PS2 support
+  * Update .gitlab-ci.yml
+  * Update .gitlab-ci.yml
+  * Update .gitlab-ci.yml
+  * Update .gitlab-ci.yml
+  * Don't hardcode CC
+  * Add .gilab-ci.yml
+
+-------------------------------------------------------------------

Old:
----
  libretro-freechaf-0~git20200512.tar.xz

New:
----
  libretro-freechaf-0~git20210818.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libretro-freechaf.spec ++++++
--- /var/tmp/diff_new_pack.MnhMHY/_old  2021-09-20 23:34:02.479239410 +0200
+++ /var/tmp/diff_new_pack.MnhMHY/_new  2021-09-20 23:34:02.479239410 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libretro-freechaf
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           libretro-freechaf
-Version:        0~git20200512
+Version:        0~git20210818
 Release:        0
 Summary:        FreeChaF libretro core for Fairchild ChannelF emulation
 License:        GPL-3.0-only

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.MnhMHY/_old  2021-09-20 23:34:02.531239474 +0200
+++ /var/tmp/diff_new_pack.MnhMHY/_new  2021-09-20 23:34:02.531239474 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/libretro/FreeChaF.git</param>
-              <param 
name="changesrevision">033146aa968b66e0cfbf3afa46261a39b4fb9e4d</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">d6cda100da3febb6a60199cf6a6e10c56175240b</param></service></servicedata>
\ No newline at end of file

++++++ libretro-freechaf-0~git20200512.tar.xz -> 
libretro-freechaf-0~git20210818.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-freechaf-0~git20200512/.gitlab-ci.yml 
new/libretro-freechaf-0~git20210818/.gitlab-ci.yml
--- old/libretro-freechaf-0~git20200512/.gitlab-ci.yml  1970-01-01 
01:00:00.000000000 +0100
+++ new/libretro-freechaf-0~git20210818/.gitlab-ci.yml  2021-08-18 
14:04:48.000000000 +0200
@@ -0,0 +1,210 @@
+# DESCRIPTION: GitLab CI/CD for libRetro (NOT FOR GitLab-proper)
+
+##############################################################################
+################################# BOILERPLATE ################################
+##############################################################################
+
+# Core definitions
+.core-defs:
+  variables:
+    GIT_SUBMODULE_STRATEGY: recursive
+    JNI_PATH: .
+    CORENAME: freechaf
+
+# Inclusion templates, required for the build to work
+include:
+  ################################## DESKTOPS ################################
+  # Windows 64-bit
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/windows-x64-mingw.yml'
+
+  # Windows 32-bit
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/windows-i686-mingw.yml'
+
+  # Linux 64-bit
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/linux-x64.yml'
+
+  # Linux 32-bit
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/linux-i686.yml'
+
+  # MacOS 64-bit
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/osx-x64.yml'
+    
+  ################################## CELLULAR ################################
+  # Android
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/android-jni.yml'
+
+  # iOS 9
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/ios9.yml'
+
+  ################################## CONSOLES ################################
+  # PlayStation 2
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/ps2-static.yml'
+    
+
+  # PlayStation Portable
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/psp-static.yml'
+    
+  # PlayStation Vita
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/vita-static.yml'
+    
+  # Nintendo 3DS
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/ctr-static.yml'
+  
+  # Nintendo GameCube
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/ngc-static.yml'
+
+  # Nintendo Wii
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/wii-static.yml'
+
+  # Nintendo WiiU
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/wiiu-static.yml'
+
+  # Nintendo Switch
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/libnx-static.yml'
+
+  # OpenDingux
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/dingux-mips32.yml'
+    
+# Stages for building
+stages:
+  - build-prepare
+  - build-shared
+  - build-static
+
+##############################################################################
+#################################### STAGES ##################################
+##############################################################################
+#
+################################### DESKTOPS #################################
+# Windows 64-bit
+libretro-build-windows-x64:
+  extends:
+    - .libretro-windows-x64-mingw-make-default
+    - .core-defs
+
+# Windows 32-bit
+libretro-build-windows-i686:
+  extends:
+    - .libretro-windows-i686-mingw-make-default
+    - .core-defs
+
+# Linux 64-bit
+libretro-build-linux-x64:
+  extends:
+    - .libretro-linux-x64-make-default
+    - .core-defs
+
+# Linux 32-bit
+libretro-build-linux-i686:
+  extends:
+    - .libretro-linux-i686-make-default
+    - .core-defs
+
+# MacOS 64-bit
+libretro-build-osx-x64:
+  extends:
+    - .libretro-osx-x64-make-default
+    - .core-defs
+    
+################################### CELLULAR #################################
+# Android ARMv7a
+android-armeabi-v7a:
+  extends:
+    - .libretro-android-jni-armeabi-v7a
+    - .core-defs
+    
+# Android ARMv8a
+android-arm64-v8a:
+  extends:
+    - .libretro-android-jni-arm64-v8a
+    - .core-defs
+
+# Android 64-bit x86
+android-x86_64:
+  extends:
+    - .libretro-android-jni-x86_64
+    - .core-defs
+
+# Android 32-bit x86
+android-x86:
+  extends:
+    - .libretro-android-jni-x86
+    - .core-defs
+
+# iOS 9
+libretro-build-ios9:
+  extends:
+    - .libretro-ios9-make-default
+    - .core-defs
+
+################################### CONSOLES #################################
+# PlayStation 2
+libretro-build-ps2:
+  extends:
+    - .libretro-ps2-static-retroarch-master
+    - .core-defs
+
+# PlayStation Portable
+libretro-build-psp:
+  extends:
+    - .libretro-psp-static-retroarch-master
+    - .core-defs
+    
+# PlayStation Vita
+libretro-build-vita:
+  extends:
+    - .libretro-vita-static-retroarch-master
+    - .core-defs
+    
+# Nintendo 3DS
+libretro-build-ctr:
+  extends:
+    - .libretro-ctr-static-retroarch-master
+    - .core-defs
+    
+# Nintendo GameCube
+libretro-build-ngc:
+  extends:
+    - .libretro-ngc-static-retroarch-master
+    - .core-defs
+
+# Nintendo Wii
+libretro-build-wii:
+  extends:
+    - .libretro-wii-static-retroarch-master
+    - .core-defs
+
+# Nintendo WiiU
+libretro-build-wiiu:
+  extends:
+    - .libretro-wiiu-static-retroarch-master
+    - .core-defs
+    
+# Nintendo Switch
+libretro-build-libnx-aarch64:
+  extends:
+    - .libretro-libnx-static-retroarch-master
+    - .core-defs
+
+# RetroFW
+libretro-build-retrofw-mips32:
+  extends:
+    - .libretro-retrofw-mips32-make-default
+    - .core-defs
+    
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-freechaf-0~git20200512/Makefile 
new/libretro-freechaf-0~git20210818/Makefile
--- old/libretro-freechaf-0~git20200512/Makefile        2020-05-12 
17:37:08.000000000 +0200
+++ new/libretro-freechaf-0~git20210818/Makefile        2021-08-18 
14:04:48.000000000 +0200
@@ -225,7 +225,17 @@
        DISABLE_ERROR_LOGGING := 1
        ARM = 1
        STATIC_LINKING=1
-       
+
+# RETROFW
+else ifeq ($(platform), retrofw)
+       EXT ?= so
+       TARGET := $(TARGET_NAME)_libretro.$(EXT)
+       CC = /opt/retrofw-toolchain/usr/bin/mipsel-linux-gcc
+       AR = /opt/retrofw-toolchain/usr/bin/mipsel-linux-ar
+       fpic := -fPIC
+       SHARED := -shared -Wl,--version-script=$(CORE_DIR)/link.T 
-Wl,--no-undefined
+       CFLAGS += -ffast-math -march=mips32 -mtune=mips32 -mhard-float
+
 # Emscripten
 else ifeq ($(platform), emscripten)
        TARGET := $(TARGET_NAME)_libretro_$(platform).bc
@@ -233,6 +243,15 @@
        SHARED := -shared -r
        STATIC_LINKING=1
 
+# PS2
+else ifeq ($(platform), ps2)
+       TARGET := $(TARGET_NAME)_libretro_$(platform).a
+       CC = mips64r5900el-ps2-elf-gcc
+       AR = mips64r5900el-ps2-elf-ar
+       CFLAGS += -G0 -DPS2 -DUSE_RGB565 -DABGR1555
+       CXXFLAGS += -G0 -DPS2 -DUSE_RGB565 -DABGR1555
+       STATIC_LINKING=1
+
 # PSP
 else ifeq ($(platform), psp1)
        TARGET := $(TARGET_NAME)_libretro_$(platform).a
@@ -448,7 +467,7 @@
 # Current Windows builds via mingw/gcc
 else
        TARGET := $(TARGET_NAME)_libretro.dll
-       CC = gcc
+       CC ?= gcc
        SHARED := -shared -static-libgcc -static-libstdc++ -s 
-Wl,--version-script=$(CORE_DIR)/link.T -Wl,--no-undefined
        CFLAGS += -D__WIN32__ -D__WIN32_LIBRETRO__ 
-Wno-missing-field-initializers
 endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-freechaf-0~git20200512/src/video.h 
new/libretro-freechaf-0~git20210818/src/video.h
--- old/libretro-freechaf-0~git20200512/src/video.h     2020-05-12 
17:37:08.000000000 +0200
+++ new/libretro-freechaf-0~git20210818/src/video.h     2021-08-18 
14:04:48.000000000 +0200
@@ -31,7 +31,11 @@
 
 #ifdef USE_RGB565
 typedef unsigned short pixel_t;
+#if defined(ABGR1555)
+#define vRGB(r,g,b) ((((b) & 0xf8) << 7) | (((g) & 0xf8) << 2) | (((r) & 0xf8) 
>> 3))
+#else
 #define vRGB(r,g,b) ((((r) & 0xf8) << 8) | (((g) & 0xfc) << 3) | (((b) & 0xf8) 
>> 3))
+#endif
 #else
 typedef unsigned int pixel_t;
 #define vRGB(r,g,b) (((r) << 16) | ((g) << 8) | (b))

Reply via email to