Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xdg-desktop-portal-hyprland for 
openSUSE:Factory checked in at 2023-09-07 21:13:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xdg-desktop-portal-hyprland (Old)
 and      /work/SRC/openSUSE:Factory/.xdg-desktop-portal-hyprland.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xdg-desktop-portal-hyprland"

Thu Sep  7 21:13:22 2023 rev:4 rq:1109424 version:unknown

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland.changes
  2023-08-17 19:44:32.150900514 +0200
+++ 
/work/SRC/openSUSE:Factory/.xdg-desktop-portal-hyprland.new.1766/xdg-desktop-portal-hyprland.changes
        2023-09-07 21:14:41.325482958 +0200
@@ -1,0 +2,28 @@
+Thu Sep  7 06:26:57 UTC 2023 - Soc Virnyl Estela <socvirnyl.est...@gmail.com>
+
+- Fix build and install for hyprland protocol and the portal
+
+-------------------------------------------------------------------
+Thu Sep  7 04:13:20 UTC 2023 - Soc Virnyl Estela <socvirnyl.est...@gmail.com>
+
+- Use sdb-c++ from system instead of subproject through cmake patch:
+  0000-sdbus-c++-cmake-lists.patch
+
+-------------------------------------------------------------------
+Thu Sep  7 04:04:51 UTC 2023 - Soc Virnyl Estela <socvirnyl.est...@gmail.com>
+
+- Add libjpeg, cairo, pango(cairo) as deps
+
+-------------------------------------------------------------------
+Thu Sep  7 03:48:23 UTC 2023 - Soc Virnyl Estela <socvirnyl.est...@gmail.com>
+
+- Use cmake instead of meson.
+
+-------------------------------------------------------------------
+Wed Sep  6 22:48:00 UTC 2023 - Soc Virnyl Estela <socvirnyl.est...@gmail.com>
+
+- Update to version 1.0.0:
+  * added sdbus-c++ as dependency
+  * this release is a full rewrite from C to C++
+
+-------------------------------------------------------------------

Old:
----
  xdg-desktop-portal-hyprland-0.5.0.tar.gz

New:
----
  0000-sdbus-c++-cmake-lists.patch
  xdg-desktop-portal-hyprland-1.0.0.tar.gz

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

Other differences:
------------------
++++++ xdg-desktop-portal-hyprland.spec ++++++
--- /var/tmp/diff_new_pack.C8comw/_old  2023-09-07 21:14:42.365520137 +0200
+++ /var/tmp/diff_new_pack.C8comw/_new  2023-09-07 21:14:42.365520137 +0200
@@ -18,7 +18,7 @@
 
 %define _protocol_version 0.2
 Name:           xdg-desktop-portal-hyprland
-Version:        0.5.0
+Version:        1.0.0
 Release:        0
 Summary:        Extended xdg-desktop-portal backend for Hyprland
 License:        MIT
@@ -26,6 +26,8 @@
 URL:            https://github.com/hyprwm/xdg-desktop-portal-hyprland
 Source0:        
https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        
https://github.com/hyprwm/hyprland-protocols/archive/refs/tags/v%{_protocol_version}.tar.gz#/hyprland-protocols-%{_protocol_version}.tar.gz
+BuildRequires:  cmake
+BuildRequires:  gcc-c++
 BuildRequires:  meson
 BuildRequires:  pkgconfig
 BuildRequires:  qt6-base-devel
@@ -37,12 +39,17 @@
 BuildRequires:  pkgconfig(gbm) >= 21.3
 BuildRequires:  pkgconfig(inih)
 BuildRequires:  pkgconfig(libdrm) >= 2.4.109
+BuildRequires:  pkgconfig(libjpeg)
 BuildRequires:  pkgconfig(libpipewire-0.3) >= 0.3.62
 BuildRequires:  pkgconfig(libsystemd)
+BuildRequires:  pkgconfig(pango)
+BuildRequires:  pkgconfig(pangocairo)
+BuildRequires:  pkgconfig(sdbus-c++)
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(uuid)
 BuildRequires:  pkgconfig(wayland-client)
 BuildRequires:  pkgconfig(wayland-protocols) >= 1.24
+Patch0:         0000-sdbus-c++-cmake-lists.patch
 # Screencasting won't work without pipewire, but it's not a hard dependency.
 Recommends:     pipewire >= 0.3.41
 
@@ -70,19 +77,31 @@
 Wayland protocol extensions for interacting or modifying Hyprland.
 
 %prep
-%setup -q
+%autosetup -p1
 
 # Needed for this portal to work.
 tar xvf %{SOURCE1} -C subprojects/hyprland-protocols --strip-components=1
 
 %build
-%meson -Dsd-bus-provider=libsystemd
+# We need to build hyprland protocols so it can be installed.
+pushd subprojects/hyprland-protocols
+%meson
 %meson_build
-make -C hyprland-share-picker all
+popd
+
+%cmake
+%cmake_build
 
 %install
+install -Dm0755 -t %{buildroot}%{_bindir}                                      
                        ./build/hyprland-share-picker/hyprland-share-picker
+install -Dm0755 -t %{buildroot}%{_libexecdir}                                  
                ./build/xdg-desktop-portal-hyprland
+install -Dm0644 -t %{buildroot}%{_datadir}/xdg-desktop-portal/portals/  
./hyprland.portal
+install -Dm0644 -t %{buildroot}%{_datadir}/dbus-1/services/                    
./org.freedesktop.impl.portal.desktop.hyprland.service
+
+# Install it as well
+pushd subprojects/hyprland-protocols
 %meson_install
-install -Dm0755 -t %{buildroot}%{_bindir} 
hyprland-share-picker/build/hyprland-share-picker
+popd
 
 %files
 %{-,root,root,-}
@@ -90,10 +109,9 @@
 %doc README.md CONTRIBUTING.md
 %{_bindir}/hyprland-share-picker
 %{_libexecdir}/%{name}
-%{_userunitdir}/%{name}.service
-%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.hyprland.service
 %dir %{_datadir}/xdg-desktop-portal
 %dir %{_datadir}/xdg-desktop-portal/portals
+%{_datadir}/dbus-1/services/org.freedesktop.impl.portal.desktop.hyprland.service
 %{_datadir}/xdg-desktop-portal/portals/hyprland.portal
 
 %files -n hyprland-protocols-devel

++++++ 0000-sdbus-c++-cmake-lists.patch ++++++
diff -ruN xdg-desktop-portal-hyprland-1.0.0.orig/CMakeLists.txt 
xdg-desktop-portal-hyprland-1.0.0/CMakeLists.txt
--- xdg-desktop-portal-hyprland-1.0.0.orig/CMakeLists.txt       2023-09-07 
12:08:41.276656877 +0800
+++ xdg-desktop-portal-hyprland-1.0.0/CMakeLists.txt    2023-09-07 
12:09:46.370012114 +0800
@@ -28,12 +28,12 @@
 add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-unused-value 
-Wno-missing-field-initializers -Wno-narrowing -Wno-pointer-arith -fpermissive)
 
 message(STATUS "Checking deps...")
-add_subdirectory(subprojects/sdbus-cpp)
+# add_subdirectory(subprojects/sdbus-cpp)
 add_subdirectory(hyprland-share-picker)
 find_package(Threads REQUIRED)
 
 find_package(PkgConfig REQUIRED)
-pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-client 
wayland-protocols cairo pango pangocairo libjpeg libpipewire-0.3 libspa-0.2 
libdrm gbm)
+pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-client 
wayland-protocols cairo pango pangocairo libjpeg libpipewire-0.3 libspa-0.2 
libdrm gbm sdbus-c++)
 
 file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp")
 add_executable(xdg-desktop-portal-hyprland ${SRCFILES})

++++++ xdg-desktop-portal-hyprland-0.5.0.tar.gz -> 
xdg-desktop-portal-hyprland-1.0.0.tar.gz ++++++
++++ 9433 lines of diff (skipped)

Reply via email to