public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/uxplay] rawhide: Update to 1.73.7; Fixes: RHBZ#2447699
@ 2026-09-18 16:48 Davide Cavalca
0 siblings, 0 replies; only message in thread
From: Davide Cavalca @ 2026-09-18 16:48 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/uxplay
Branch : rawhide
Commit : 46f4f89297ff34fb66e3cd2a0aaa656902ee9d64
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date : 2026-09-18T09:48:35-07:00
Stats : +170/-10 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/uxplay/c/46f4f89297ff34fb66e3cd2a0aaa656902ee9d64?branch=rawhide
Log:
Update to 1.73.7; Fixes: RHBZ#2447699
---
diff --git a/.gitignore b/.gitignore
index 5ee8ac6..89832a4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/UxPlay-1.71.1.tar.gz
/UxPlay-1.72.2.tar.gz
/UxPlay-1.73.3.tar.gz
+/UxPlay-1.73.7.tar.gz
diff --git a/sources b/sources
index 303a7e7..2865f9b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (UxPlay-1.73.3.tar.gz) = 04c41c8334a4e3863958ca6b6b0ab4779126083dd65d2b1b5422b73d72d7942a42a5b26f43b829844d68e521062193482c4275bc2e88fb0f9922299a1ef1cec7
+SHA512 (UxPlay-1.73.7.tar.gz) = 269efad0ba37698b863a9dbcd2040e5315f4ee1b0e3412617cbebf752711cf7a50b342aacbdc188cc6429a151e292022189307240e8b14962c0622482a250d21
diff --git a/uxplay-relocate-beacon-modules.patch b/uxplay-relocate-beacon-modules.patch
new file mode 100644
index 0000000..d622169
--- /dev/null
+++ b/uxplay-relocate-beacon-modules.patch
@@ -0,0 +1,43 @@
+diff -Naur a/Bluetooth_LE_beacon/uxplay-beacon.py b/Bluetooth_LE_beacon/uxplay-beacon.py
+--- a/Bluetooth_LE_beacon/uxplay-beacon.py 2026-09-04 09:10:54.000000000 -0700
++++ b/Bluetooth_LE_beacon/uxplay-beacon.py 2026-09-18 09:41:39.125262274 -0700
+@@ -8,6 +8,7 @@
+ import sys
+ if not sys.version_info >= (3,6):
+ print("uxplay-beacon.py requires Python 3.6 or higher")
++sys.path.insert(0, "/usr/lib/uxplay-beacon")
+
+ import importlib
+ import argparse
+diff -Naur a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt 2026-09-04 09:10:54.000000000 -0700
++++ b/CMakeLists.txt 2026-09-18 09:44:39.404460861 -0700
+@@ -75,24 +75,24 @@
+ DESTINATION bin
+ PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ)
+ install( FILES Bluetooth_LE_beacon/uxplay_beacon_module_BleuIO.py
+- DESTINATION bin
++ DESTINATION lib/uxplay-beacon
+ PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)
+
+ if (DBUS_FOUND)
+ install( FILES Bluetooth_LE_beacon/uxplay_beacon_module_BlueZ.py
+- DESTINATION bin
++ DESTINATION lib/uxplay-beacon
+ PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)
+ endif()
+
+ if (WIN32)
+ install( FILES Bluetooth_LE_beacon/uxplay_beacon_module_winrt.py
+- DESTINATION bin
++ DESTINATION lib/uxplay-beacon
+ PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)
+ endif()
+
+ if (UNIX AND NOT APPLE)
+ install( FILES Bluetooth_LE_beacon/uxplay_beacon_module_HCI.py
+- DESTINATION bin
++ DESTINATION lib/uxplay-beacon
+ PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)
+ endif()
+
diff --git a/uxplay-unvendor-llhttp.patch b/uxplay-unvendor-llhttp.patch
index 862952a..2a04d2b 100644
--- a/uxplay-unvendor-llhttp.patch
+++ b/uxplay-unvendor-llhttp.patch
@@ -1,7 +1,7 @@
diff -Naur a/CMakeLists.txt b/CMakeLists.txt
---- a/CMakeLists.txt 2026-02-12 07:21:14.000000000 -0800
-+++ b/CMakeLists.txt 2026-03-11 21:26:39.984673048 -0700
-@@ -48,7 +48,6 @@
+--- a/CMakeLists.txt 2026-09-04 09:10:54.000000000 -0700
++++ b/CMakeLists.txt 2026-09-17 14:06:24.771079504 -0700
+@@ -49,7 +49,6 @@
set( CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE )
endif()
@@ -9,17 +9,130 @@ diff -Naur a/CMakeLists.txt b/CMakeLists.txt
add_subdirectory( lib/playfair )
add_subdirectory( lib )
add_subdirectory( renderers )
-@@ -72,7 +71,6 @@
+@@ -68,7 +67,6 @@
install( TARGETS uxplay RUNTIME DESTINATION bin )
install( FILES uxplay.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 )
install( FILES README.md README.txt README.html LICENSE DESTINATION ${CMAKE_INSTALL_DOCDIR} )
-install( FILES lib/llhttp/LICENSE-MIT DESTINATION ${CMAKE_INSTALL_DOCDIR}/llhttp )
install( FILES uxplay.service DESTINATION ${CMAKE_INSTALL_DOCDIR}/systemd )
-
- if (DBUS_FOUND)
+ install( FILES Bluetooth_LE_beacon/uxplay-beacon.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 )
+ install( FILES Bluetooth_LE_beacon/uxplay-beacon.py
+diff -Naur a/CMakeLists.txt.orig b/CMakeLists.txt.orig
+--- a/CMakeLists.txt.orig 1969-12-31 16:00:00.000000000 -0800
++++ b/CMakeLists.txt.orig 2026-09-04 09:10:54.000000000 -0700
+@@ -0,0 +1,109 @@
++cmake_minimum_required( VERSION 3.13 )
++
++project( uxplay )
++
++message( STATUS "Project name: " ${PROJECT_NAME} )
++
++include(GNUInstallDirs)
++
++set ( CMAKE_CXX_STANDARD 11 )
++
++if (ZOOMFIX )
++ message (STATUS "cmake option ZOOMFIX is no longer used (if needed, ZOOMFIX is automatically applied if X11 libraries are present)" )
++endif()
++
++if ( ( UNIX AND NOT APPLE ) OR USE_X11 )
++ if ( NOT NO_X11_DEPS )
++ find_package( X11 )
++ if ( X11_FOUND )
++ message (STATUS "Will compile using X11 Libraries (use cmake option -DNO_X11_DEPS=ON if X11 dependence is not wanted)" )
++ link_libraries( ${X11_LIBRARIES} )
++ include_directories( ${X11_INCLUDE_DIR} )
++ else ()
++ message (STATUS "X11 libraries not found, will compile without X11 dependence" )
++ endif ()
++ else()
++ message (STATUS "will compile without X11 dependence" )
++ endif()
++endif()
++
++if( UNIX AND NOT APPLE )
++ find_package(PkgConfig REQUIRED)
++ pkg_check_modules(DBUS dbus-1>=1.4.12)
++ if (DBUS_FOUND )
++ add_definitions(-DDBUS )
++ include_directories(${DBUS_INCLUDE_DIRS})
++ #FreeBSD has this Library in /usr/local/lib
++ find_library (DBUS_LIBRARY NAMES dbus-1 PATHS /usr/local/lib)
++ if (NOT DBUS_LIBRARY)
++ message(FATAL_ERROR "libdbus-1 not found")
++ endif()
++ endif()
++endif()
++
++if( UNIX AND NOT APPLE )
++ add_definitions( -DSUPPRESS_AVAHI_COMPAT_WARNING )
++ # convert AirPlay colormap 1:3:7:1 to sRGB (1:1:7:1), needed on Linux and BSD
++ add_definitions( -DFULL_RANGE_RGB_FIX )
++else()
++ set( CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE )
++endif()
++
++add_subdirectory( lib/llhttp )
++add_subdirectory( lib/playfair )
++add_subdirectory( lib )
++add_subdirectory( renderers )
++
++if ( GST_MACOS )
++ add_definitions( -DGST_MACOS )
++ message ( STATUS "define GST_MACOS" )
++endif()
++
++add_executable( uxplay uxplay.cpp )
++target_link_libraries( uxplay renderers airplay )
++if (DBUS_FOUND)
++ target_link_libraries( uxplay ${DBUS_LIBRARY})
++endif()
++
++install( TARGETS uxplay RUNTIME DESTINATION bin )
++install( FILES uxplay.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 )
++install( FILES README.md README.txt README.html LICENSE DESTINATION ${CMAKE_INSTALL_DOCDIR} )
++install( FILES lib/llhttp/LICENSE-MIT DESTINATION ${CMAKE_INSTALL_DOCDIR}/llhttp )
++install( FILES uxplay.service DESTINATION ${CMAKE_INSTALL_DOCDIR}/systemd )
++install( FILES Bluetooth_LE_beacon/uxplay-beacon.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 )
++install( FILES Bluetooth_LE_beacon/uxplay-beacon.py
++ DESTINATION bin
++ PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ)
++install( FILES Bluetooth_LE_beacon/uxplay_beacon_module_BleuIO.py
++ DESTINATION bin
++ PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)
++
++if (DBUS_FOUND)
++install( FILES Bluetooth_LE_beacon/uxplay_beacon_module_BlueZ.py
++ DESTINATION bin
++ PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)
++endif()
++
++if (WIN32)
++install( FILES Bluetooth_LE_beacon/uxplay_beacon_module_winrt.py
++ DESTINATION bin
++ PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)
++endif()
++
++if (UNIX AND NOT APPLE)
++install( FILES Bluetooth_LE_beacon/uxplay_beacon_module_HCI.py
++ DESTINATION bin
++ PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)
++endif()
++
++
++# uninstall target
++if(NOT TARGET uninstall)
++ configure_file(
++ "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
++ "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
++ IMMEDIATE @ONLY)
++
++ add_custom_target(uninstall
++ COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
++endif()
diff -Naur a/lib/http_request.c b/lib/http_request.c
---- a/lib/http_request.c 2026-02-12 07:21:14.000000000 -0800
-+++ b/lib/http_request.c 2026-03-11 21:26:39.985141682 -0700
+--- a/lib/http_request.c 2026-09-04 09:10:54.000000000 -0700
++++ b/lib/http_request.c 2026-09-17 14:06:24.771631952 -0700
@@ -21,7 +21,7 @@
#include <stdio.h>
diff --git a/uxplay.spec b/uxplay.spec
index 8b5f9ea..df52b58 100644
--- a/uxplay.spec
+++ b/uxplay.spec
@@ -1,7 +1,7 @@
%global srcname UxPlay
Name: uxplay
-Version: 1.73.3
+Version: 1.73.7
Release: %autorelease
Summary: AirPlay Unix mirroring server
@@ -10,6 +10,8 @@ URL: https://github.com/FDH2/UxPlay
Source: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
# Do not use vendored llhttp library
Patch: uxplay-unvendor-llhttp.patch
+# Relocate beacon modules
+Patch: uxplay-relocate-beacon-modules.patch
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -75,6 +77,7 @@ rm -r %{buildroot}%{_pkgdocdir}
%files beacon
%license LICENSE
%{_bindir}/uxplay-beacon.py
+%{_prefix}/lib/uxplay-beacon/
%{_mandir}/man1/uxplay-beacon.1*
%changelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-18 16:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-18 16:48 [rpms/uxplay] rawhide: Update to 1.73.7; Fixes: RHBZ#2447699 Davide Cavalca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox