Script 'mail_helper' called by obssrc
Hello community,

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

Package is "libretro-bluemsx"

Mon Sep 20 23:32:35 2021 rev:4 rq:919809 version:0~git20210808

Changes:
--------
--- /work/SRC/openSUSE:Factory/libretro-bluemsx/libretro-bluemsx.changes        
2021-06-04 22:44:31.875202241 +0200
+++ 
/work/SRC/openSUSE:Factory/.libretro-bluemsx.new.1899/libretro-bluemsx.changes  
    2021-09-20 23:33:50.747224916 +0200
@@ -1,0 +2,7 @@
+Fri Sep 10 15:15:17 UTC 2021 - i...@guoyunhe.me
+
+- Update to version 0~git20210808:
+  * add retrofw target
+  * Move conditional outside of loop
+
+-------------------------------------------------------------------

Old:
----
  libretro-bluemsx-0~git20210515.tar.xz

New:
----
  libretro-bluemsx-0~git20210808.tar.xz

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

Other differences:
------------------
++++++ libretro-bluemsx.spec ++++++
--- /var/tmp/diff_new_pack.Mdh1OJ/_old  2021-09-20 23:33:51.291225588 +0200
+++ /var/tmp/diff_new_pack.Mdh1OJ/_new  2021-09-20 23:33:51.291225588 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           libretro-bluemsx
-Version:        0~git20210515
+Version:        0~git20210808
 Release:        0
 Summary:        BlueMSX libretro core for MSX emulation
 License:        GPL-2.0-only

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Mdh1OJ/_old  2021-09-20 23:33:51.327225633 +0200
+++ /var/tmp/diff_new_pack.Mdh1OJ/_new  2021-09-20 23:33:51.327225633 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/libretro/blueMSX-libretro.git</param>
-              <param 
name="changesrevision">527e65263adadb9f030253d06a0b7884782e9b8c</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">9caaae4db9c48390248db2ab615fbd4a62ec2c4c</param></service></servicedata>
\ No newline at end of file

++++++ libretro-bluemsx-0~git20210515.tar.xz -> 
libretro-bluemsx-0~git20210808.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-bluemsx-0~git20210515/.gitlab-ci.yml 
new/libretro-bluemsx-0~git20210808/.gitlab-ci.yml
--- old/libretro-bluemsx-0~git20210515/.gitlab-ci.yml   2021-05-15 
20:48:18.000000000 +0200
+++ new/libretro-bluemsx-0~git20210808/.gitlab-ci.yml   2021-08-08 
15:18:15.000000000 +0200
@@ -99,6 +99,10 @@
   - project: 'libretro-infrastructure/ci-templates'
     file: '/tvos-arm64.yml'
 
+  # OpenDingux
+  - project: 'libretro-infrastructure/ci-templates'
+    file: '/dingux-mips32.yml'
+    
   #################################### MISC ##################################
   # Emscripten
   - project: 'libretro-infrastructure/ci-templates'
@@ -261,6 +265,12 @@
     - .libretro-libnx-static-retroarch-master
     - .core-defs
 
+# RetroFW
+libretro-build-retrofw-mips32:
+  extends:
+    - .libretro-retrofw-mips32-make-default
+    - .core-defs
+    
 #################################### MISC ##################################
 # Emscripten
 libretro-build-emscripten:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-bluemsx-0~git20210515/Makefile.libretro 
new/libretro-bluemsx-0~git20210808/Makefile.libretro
--- old/libretro-bluemsx-0~git20210515/Makefile.libretro        2021-05-15 
20:48:18.000000000 +0200
+++ new/libretro-bluemsx-0~git20210808/Makefile.libretro        2021-08-08 
15:18:15.000000000 +0200
@@ -93,6 +93,18 @@
        PLATFORM_DEFINES += -DARM
        HAVE_NEON = 1
 
+#RETROFW
+else ifeq ($(platform), retrofw)
+       TARGET := $(TARGET_NAME)_libretro.so
+       CC = /opt/retrofw-toolchain/usr/bin/mipsel-linux-gcc
+       CXX = /opt/retrofw-toolchain/usr/bin/mipsel-linux-g++
+       AR = /opt/retrofw-toolchain/usr/bin/mipsel-linux-ar
+       CC_AS = /opt/retrofw-toolchain/usr/bin/mipsel-linux-as
+       fpic := -fPIC
+       SHARED := -shared -Wl,-version-script=link.T -Wl,-no-undefined
+       PLATFORM_DEFINES += -fomit-frame-pointer -ffast-math -march=mips32 
-mtune=mips32 -mhard-float
+       PLATFORM_DEFINES += -fdata-sections -ffunction-sections
+
 # Classic Platforms ####################
 # Platform affix = classic_<ISA>_<??ARCH>
 # Help at https://modmyclassic.com/comp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libretro-bluemsx-0~git20210515/libretro.c 
new/libretro-bluemsx-0~git20210808/libretro.c
--- old/libretro-bluemsx-0~git20210515/libretro.c       2021-05-15 
20:48:18.000000000 +0200
+++ new/libretro-bluemsx-0~git20210808/libretro.c       2021-08-08 
15:18:15.000000000 +0200
@@ -1035,11 +1035,14 @@
 
    input_poll_cb();
 
-   for (i = 0; i < MAX_PADS; i++)
+   if (libretro_supports_bitmasks)
    {
-      if (libretro_supports_bitmasks)
+      for (i = 0; i < MAX_PADS; i++)
          joypad_bits[i] = input_state_cb(i, RETRO_DEVICE_JOYPAD, 0, 
RETRO_DEVICE_ID_JOYPAD_MASK);
-      else
+   }
+   else
+   {
+      for (i = 0; i < MAX_PADS; i++)
       {
          joypad_bits[i] = 0;
          for (j = 0; j < (RETRO_DEVICE_ID_JOYPAD_R3+1); j++)
@@ -1056,10 +1059,13 @@
          {
             case RETRO_DEVICE_JOYPAD:
             {
-               if (i == 0){
+               if (i == 0)
+               {
                   for (j = EC_JOY1_UP; j <= (EC_JOY1_BUTTON2); j++)
                      eventMap[j] = joypad_bits[i] & (1 << btn_map[j]) ? 1 : 0;
-               }else if (i == 1){
+               }
+               else if (i == 1)
+               {
                   for (j = EC_JOY2_UP; j <= (EC_JOY2_BUTTON2); j++)
                      eventMap[j] = joypad_bits[i] & (1 << btn_map[j]) ? 1 : 0;
                }

Reply via email to