Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package OpenRGB for openSUSE:Factory checked 
in at 2026-06-19 16:43:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/OpenRGB (Old)
 and      /work/SRC/openSUSE:Factory/.OpenRGB.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "OpenRGB"

Fri Jun 19 16:43:11 2026 rev:12 rq:1360595 version:1.0~rc2+git32.gda9a96e3

Changes:
--------
--- /work/SRC/openSUSE:Factory/OpenRGB/OpenRGB.changes  2023-09-15 
22:09:42.882230225 +0200
+++ /work/SRC/openSUSE:Factory/.OpenRGB.new.1956/OpenRGB.changes        
2026-06-19 17:11:28.517624671 +0200
@@ -1,0 +2,48 @@
+Thu Jun 18 00:04:42 UTC 2026 - pallas wept <[email protected]>
+
+- Build against mbedtls 2.x to avoid build failures with mbedtls 4.x
+
+-------------------------------------------------------------------
+Thu Oct 16 11:58:31 UTC 2025 - Michael Gumsley <[email protected]>
+
+- Update to 1.0~rc2+git32
+- Correct license to GPL-2.0-or-later per upstream
+- Update build
+  * Change build to use Qt6
+  * Remove %suse_update_desktop_file
+      + Included %check section in spec for .desktop files
+  * Build optional systemd unit for daemon usage
+  * Drop Leap 15.5 & earlier due to lack of Qt6 and GCC8+
+  * Override compiler to GCC13 for Leap 15.6
+  * Address bsc#1215130 (Option B)
+      + Add OpenRGB-udev-i2c-use-group.patch
+      + Removes permissions from /dev/port
+      + Motherboards using old SuperIO based RGB control via
+        GigabyteSuperIORGBController & MSIRGBController will likely
+        be impacted.
+      + Members of the 'openrgb' group retain i2c/SMBus access
+      + No impact to USB based devices (inc Motherboards)
+  * Drop patch as it's no longer required: 
+    OpenRGB-use_system_libs.patch 
+
+-------------------------------------------------------------------
+Fri Apr 18 00:05:31 UTC 2025 - Marek Sapota <[email protected]>
+
+- Switch from obscpio to tar.gz as requested in
+  https://build.opensuse.org/request/show/1270147#comment-2134657
+
+-------------------------------------------------------------------
+Wed Apr 16 23:17:30 UTC 2025 - Marek Sapota <[email protected]>
+
+- Remove vendored in sources and use the _service file instead.
+  - Uses recommended obscpio
+    
(https://github.com/openSUSE/obs-service-tar_scm?tab=readme-ov-file#obscpio).
+  - This is a house keeping change that doesn't actually change the package.
+    The reasons for this change are listed here:
+    
https://openbuildservice.org/help/manuals/obs-user-guide/cha-obs-source-services
+    Most importantly "Server-side generated files are easy to identify and are
+    not modifiable by the user. This way, other users can trust them to be
+    generated in the documented way without modifications.".  I don't like
+    source files generated by the packager.
+
+-------------------------------------------------------------------

Old:
----
  OpenRGB-release_0.9.tar.gz
  OpenRGB-use_system_libs.patch

New:
----
  OpenRGB-1.0~rc2+git32.gda9a96e3.tar.gz
  OpenRGB-udev-i2c-use-group.patch
  _service
  openrgb-udev.conf
  openrgb.conf

----------(Old B)----------
  Old:  * Drop patch as it's no longer required: 
    OpenRGB-use_system_libs.patch 
----------(Old E)----------

----------(New B)----------
  New:  * Address bsc#1215130 (Option B)
      + Add OpenRGB-udev-i2c-use-group.patch
      + Removes permissions from /dev/port
----------(New E)----------

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

Other differences:
------------------
++++++ OpenRGB.spec ++++++
--- /var/tmp/diff_new_pack.BpK5ey/_old  2026-06-19 17:11:42.082086417 +0200
+++ /var/tmp/diff_new_pack.BpK5ey/_new  2026-06-19 17:11:42.110087370 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package OpenRGB
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,26 +16,42 @@
 #
 
 
+%global _name openrgb
+
 Name:           OpenRGB
-Version:        0.9
-Release:        0
+Version:        1.0~rc2+git32.gda9a96e3
+Release:        0%{?dist}
 Summary:        Open source RGB lighting control
-License:        GPL-2.0-only
+License:        GPL-2.0-or-later
 URL:            https://gitlab.com/CalcProgrammer1/OpenRGB
-Source0:        
https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_%{version}/OpenRGB-release_%{version}.tar.gz
-# PATCH-FEATURE-OPENSUSE OpenRGB-use_system_libs.patch
-Patch0:         OpenRGB-use_system_libs.patch
-BuildRequires:  gcc-c++
-BuildRequires:  libqt5-linguist
-BuildRequires:  libqt5-linguist-devel
-BuildRequires:  mbedtls-devel
-BuildRequires:  update-desktop-files
-BuildRequires:  pkgconfig(Qt5Core)
-BuildRequires:  pkgconfig(Qt5Widgets)
+Source0:        %{name}-%{version}.tar.gz
+Source1:        openrgb.conf
+Source2:        openrgb-udev.conf
+# Restrict i2c access and remove /dev/port permissions (bsc#1215130)
+Patch0:         OpenRGB-udev-i2c-use-group.patch
+# Leap 15.6 and below cannot use the default GCC7 due to std::filesystem.
+# Picking GCC13 as this works with position independent executables
+%if 0%{?suse_version} < 1600
+BuildRequires:  gcc13
+BuildRequires:  gcc13-c++
+%endif
+BuildRequires:  appstream-glib
+BuildRequires:  desktop-file-utils
+BuildRequires:  git
+BuildRequires:  hicolor-icon-theme
+BuildRequires:  mbedtls-2-devel
+BuildRequires:  qt6-dbus-devel
+BuildRequires:  qt6-linguist-devel
+BuildRequires:  qt6-tools-linguist
+BuildRequires:  sysuser-shadow
+BuildRequires:  sysuser-tools
+BuildRequires:  pkgconfig(Qt6Core)
+BuildRequires:  pkgconfig(Qt6Widgets)
 BuildRequires:  pkgconfig(gusb)
 BuildRequires:  pkgconfig(hidapi-hidraw)
 BuildRequires:  pkgconfig(libe131)
 Requires:       %{name}-udev-rules = %{version}
+%sysusers_requires
 
 %description
 The purpose of this tool is to control RGB lights on different peripherals.
@@ -44,22 +60,43 @@
 %package udev-rules
 BuildArch:      noarch
 Summary:        OpenRGB udev rules
+Requires:       %{name} = %{version}
 
 %description udev-rules
-This package contain the udev rules for OpenRGB.
+This package contains the udev rules for OpenRGB.
+
+%package systemd-unit
+BuildArch:      noarch
+Summary:        OpenRGB systemd unit
+Requires:       %{name} = %{version}
+
+%description systemd-unit
+This package contains the systemd unit for OpenRGB.
 
 %prep
-%autosetup -p1 -n %{name}-release_%{version}
+%autosetup -p1
 
 %build
-%qmake5
+%sysusers_generate_pre %{SOURCE2} openrgb openrgb-udev.conf
+# Leap 15.6 and below cannot use default GCC7 due to std::filesystem, use 
override.
+%if 0%{?suse_version} < 1600
+# Use config callout to project for compiler override
+%qmake6 QMAKE_CC=gcc-13 QMAKE_CXX=g++-13
+%else
+%qmake6
+%endif
 %make_build
 
 %install
 %make_install INSTALL_ROOT=%{buildroot}
-%suse_update_desktop_file -c %{name} %{name} 'Configure RGB LEDs' openrgb 
%{name} Settings HardwareSettings
+install -D -m 0644 %{SOURCE1} %{buildroot}%{_modulesloaddir}/%{_name}.conf
+install -D -m 0644 -t %{buildroot}%{_sysusersdir} %{SOURCE2}
+
+%check
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.xml
+desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
 
-# see if creating .conf to load speficic kernel modules is necessary
+%pre udev-rules -f openrgb.pre
 
 %post udev-rules
 %udev_rules_update
@@ -67,15 +104,33 @@
 %postun udev-rules
 %udev_rules_update
 
+%pre systemd-unit
+%service_add_pre %{_name}.service
+
+%post systemd-unit
+%fillup_only
+%service_add_post %{_name}.service
+
+%preun systemd-unit
+%service_del_preun %{_name}.service
+
+%postun systemd-unit
+%service_del_postun %{_name}.service
+
 %files
 %license LICENSE
 %doc README.md
-%{_bindir}/openrgb
-%{_datadir}/icons/hicolor/*/apps/%{name}.png
-%{_datadir}/applications/%{name}.desktop
-%{_datadir}/metainfo/org.openrgb.OpenRGB.metainfo.xml
+%{_bindir}/%{_name}
+%{_datadir}/icons/hicolor/*/apps/org.%{_name}.%{name}.png
+%{_datadir}/applications/org.%{_name}.%{name}.desktop
+%{_datadir}/metainfo/org.%{_name}.%{name}.metainfo.xml
 
 %files udev-rules
-%license LICENSE
+%{_sysusersdir}/openrgb-udev.conf
 %{_udevrulesdir}/60-openrgb.rules
 
+%files systemd-unit
+%dir %{_modulesloaddir}
+%{_unitdir}/%{_name}.service
+%{_modulesloaddir}/%{_name}.conf
+

++++++ OpenRGB-udev-i2c-use-group.patch ++++++
diff --git a/scripts/build-udev-rules.sh b/scripts/build-udev-rules.sh
index ca3967d5..18940c6a 100755
--- a/scripts/build-udev-rules.sh
+++ b/scripts/build-udev-rules.sh
@@ -23,8 +23,7 @@ 
UDEV_LINE='#---------------------------------------------------------------#\n'
 #-----------------------------------------------------------------------------#
 echo -e "Adding Static Headers"
 UDEV_HEADER=${UDEV_LINE}'#  OpenRGB udev rules - Git Commit: 
'${GIT_SHORT_HASH:0:8}'                    #\n'${UDEV_LINE}'\n'
-UDEV_HEADER+=${UDEV_LINE}'#  User I2C/SMBus Access                             
           #\n'${UDEV_LINE}'KERNEL=="i2c-[0-99]*", TAG+="uaccess"\n\n'
-UDEV_HEADER+=${UDEV_LINE}'#  Super I/O Access                                  
           #\n'${UDEV_LINE}'KERNEL=="port", TAG+="uaccess"\n\n'
+UDEV_HEADER+=${UDEV_LINE}'#  User I2C/SMBus Access                             
           #\n'${UDEV_LINE}'KERNEL=="i2c-[0-99]*", RUN="/usr/bin/setfacl -m 
g:openrgb:rw /dev/%k"\n\n'
 
 # Faustus rules
 ASUS_TUF_DEVICES=('blue' 'flags' 'green' 'mode' 'red' 'set' 'speed')

++++++ _service ++++++
<services>
  <service mode="manual" name="tar_scm">
     <param name="url">https://gitlab.com/CalcProgrammer1/OpenRGB.git</param>
     <param name="scm">git</param>
     <param name="revision">master</param>
     <param name="versionformat">@PARENT_TAG@+git@[email protected]%h</param>
     <param name="versionrewrite-pattern">release_candidate_1.0rc2?(.*)</param>
     <param name="versionrewrite-replacement">1.0~rc2\1</param>
     <param name="package-meta">yes</param>
  </service>
  <service mode="manual" name="recompress">
    <param name="file">*.tar</param>
    <param name="compression">gz</param>
  </service>
  <service mode="manual" name="set_version" />
</services>

++++++ openrgb-udev.conf ++++++
g openrgb - -

++++++ openrgb.conf ++++++
i2c-dev

Reply via email to