diff --git a/.gitignore b/.gitignore index cfed097..ac75787 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,9 @@ anyremote-5.2.tar.gz /anyremote-6.3.2.tar.gz /anyremote-6.4.tar.gz /anyremote-6.5.tar.gz +/anyremote-6.6.tar.gz +/anyremote-6.6.1.tar.gz +/anyremote-6.7.tar.gz +/anyremote-6.7.1.tar.gz +/anyremote-6.7.2.tar.gz +/anyremote-6.7.3.tar.gz diff --git a/anyremote.spec b/anyremote.spec index 0257998..83e5657 100644 --- a/anyremote.spec +++ b/anyremote.spec @@ -1,35 +1,43 @@ -Summary: Remote control through bluetooth or Wi-Fi connection Name: anyremote -Version: 6.5 -Release: 2%{?dist} -License: GPLv2+ -Group: Applications/System -Source0: http://downloads.sourceforge.net/anyremote/%{name}-%{version}.tar.gz -URL: http://anyremote.sourceforge.net/ -Requires: bc,wmctrl,dbus-glib,ImageMagick,avahi-libs,anyremote-data >= 6.3.1 -BuildRequires:bluez-libs-devel >= 4.64, libX11-devel, libXi-devel, libXtst-devel, xorg-x11-proto-devel, glib2-devel >= 2.24.1, dbus-devel >= 1.2.24, dbus-glib-devel >= 0.86, avahi-devel >= 0.6.25 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Obsoletes: anyremote2html +Version: 6.7.3 +Release: 17%{?dist} +Summary: Remote control through Wi-Fi or bluetooth connection +License: GPL-3.0-or-later +URL: https://anyremote.sourceforge.net/ +Source0: https://downloads.sourceforge.net/anyremote/%{name}-%{version}.tar.gz +Patch0: fix_compile_error.patch + +BuildRequires: gcc +BuildRequires: make +BuildRequires: bluez-libs-devel >= 5.0 +BuildRequires: libX11-devel +BuildRequires: libXi-devel +BuildRequires: libXtst-devel +BuildRequires: xorg-x11-proto-devel +BuildRequires: glib2-devel >= 2.24.1 +BuildRequires: dbus-devel >= 1.2.24 +BuildRequires: dbus-glib-devel >= 0.86 +BuildRequires: avahi-devel >= 0.6.25 + +Requires: bc +Requires: wmctrl +Requires: ImageMagick +Requires: anyremote-data >= 6.7.3 %description -Remote control software for applications using Bluetooth or Wi-Fi. +Remote control software for applications using Wi-Fi or Bluetooth. %prep -%setup -q +%autosetup -p1 %build %configure -make %{?_smp_mflags} +%make_build %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT - -%clean -rm -rf $RPM_BUILD_ROOT +%make_install %files -%defattr(-,root,root,-) %{_bindir}/%{name} %{_mandir}/man1/%{name}.1.gz @@ -41,7 +49,6 @@ Group: Applications/System Configuration files for anyRemote %files data -%defattr(-,root,root,-) %{_datadir}/%{name} %package doc @@ -52,14 +59,83 @@ Group: Applications/System Documentation for anyRemote %files doc -%defattr(-,root,root,-) %doc %{_defaultdocdir}/%{name} %changelog -* Tue Jun 16 2015 Fedora Release Engineering - 6.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild +* Fri Jan 16 2026 Fedora Release Engineering - 6.7.3-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild +* Wed Jul 23 2025 Fedora Release Engineering - 6.7.3-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Fri Apr 25 2025 Sérgio Basto - 6.7.3-15 +- (rhgz#2339892) Fix FTBFS + +* Thu Jan 16 2025 Fedora Release Engineering +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Jul 17 2024 Fedora Release Engineering - 6.7.3-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 6.7.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 6.7.3-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jul 19 2023 Fedora Release Engineering - 6.7.3-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jun 24 2023 Sérgio Basto - 6.7.3-10 +- Migrate to SPDX license format + +* Wed Jan 18 2023 Fedora Release Engineering - 6.7.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Jul 20 2022 Fedora Release Engineering - 6.7.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jan 19 2022 Fedora Release Engineering - 6.7.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jul 21 2021 Fedora Release Engineering - 6.7.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 6.7.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 01 2020 Fedora Release Engineering - 6.7.3-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 27 2020 Fedora Release Engineering - 6.7.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jan 28 2020 Fedora Release Engineering - 6.7.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + + +* Fri Nov 8 2019 Mikhail Fedotov - 6.7.3 +- Avoid usage of python2 in scripts. + +* Sun Nov 18 2018 Mikhail Fedotov - 6.7.2 +- Configuration file for Shotwell and Snappy were added. Weather script was + fixed. + +* Mon Jan 22 2018 Mikhail Fedotov - 6.7.1 +- Improve interoperability with GUI frontends. + +* Mon Jan 15 2018 Mikhail Fedotov - 6.7 +- Some fixes. Configuration file for MPV was added. + +* Tue Mar 15 2016 Mikhail Fedotov - 6.6.1 +- Bluez-related fixes. + +* Sat Feb 27 2016 Mikhail Fedotov - 6.6 +- Scale images and cover pictures automatically and separately for each + connected client. Add Set(hints,...), Set(list,dir,...) and Set(text,file,...) + commands. Added -cfgdir and -tmpdir commandline options. * Sat Dec 20 2014 Mikhail Fedotov - 6.5 - Avahi support. @@ -167,7 +243,7 @@ Documentation for anyRemote Digikam (thanks to Marcus Hardt) and GPicView were added. Syntax of Emulate() command was extended. -* Sat Dec 07 2008 Mikhail Fedotov - 4.13-1 +* Sun Dec 07 2008 Mikhail Fedotov - 4.13-1 - Small corrections in configuration files. Configuration file for WmCtrl and Juk/KDE4 were added. @@ -210,10 +286,10 @@ Documentation for anyRemote - Better integration with anyremote2http: -http command line parameter was added. -* Tue Mar 07 2008 Mikhail Fedotov - 4.4-1.fc8 +* Fri Mar 07 2008 Mikhail Fedotov - 4.4-1.fc8 - Spec file correction. Some minor enhancemens. -* Tue Mar 02 2008 Mikhail Fedotov - 4.3-4.fc8 +* Sun Mar 02 2008 Mikhail Fedotov - 4.3-4.fc8 - Spec file correction. Move J2ME stuff out of the package. * Tue Feb 26 2008 Mikhail Fedotov - 4.3-3.fc8 @@ -222,8 +298,8 @@ Documentation for anyRemote * Sun Feb 17 2008 Mikhail Fedotov - 4.3-2.fc8 - Spec file correction -* Mon Feb 15 2008 Mikhail Fedotov - 4.3-1.fc8 +* Fri Feb 15 2008 Mikhail Fedotov - 4.3-1.fc8 - Bugfixes and small enhancements.Support for touchscreen devices was improved -* Fri Jan 10 2008 Mikhail Fedotov - 4.2-1.fc8 +* Tue Jan 10 2008 Mikhail Fedotov - 4.2-1.fc8 - Spec file modified. diff --git a/fix_compile_error.patch b/fix_compile_error.patch new file mode 100644 index 0000000..ec6da92 --- /dev/null +++ b/fix_compile_error.patch @@ -0,0 +1,33 @@ +--- ./src/executor.c.orig 2025-04-25 21:20:37.307777694 +0100 ++++ ./src/executor.c 2025-04-25 21:20:40.314734610 +0100 +@@ -56,7 +56,7 @@ static int isIViewerCommand(char *cmd); + + static void handleInit(); + static void handleConnect(); +-static void handleDisconnect(); ++static void handleDisconnect(int peer); + static void handleExit(); + + static void cleanAutoRepeatFlag(); +--- ./src/pr_web.h.orig 2025-04-25 21:31:10.758570383 +0100 ++++ ./src/pr_web.h 2025-04-25 21:31:14.844562838 +0100 +@@ -52,7 +52,7 @@ void webClose (ConnectInfo* connInfo, + void webReset (ConnectInfo* conn); + int listenWeb (ConnectInfo* connInfo); + int acceptWeb (ConnectInfo* connInfo); +-int checkWebPort(); ++int checkWebPort(char* buf, int capacity); + int writeWebConn(const dMessage* dm, int mode); + int writeWeb (ConnectInfo* connInfo, const dMessage* dm); + //int haveClients (_WebConnection* cn); +--- ./src/sys_util.c.orig 2025-04-25 21:34:36.141191110 +0100 ++++ ./src/sys_util.c 2025-04-25 21:34:52.101161638 +0100 +@@ -354,7 +354,7 @@ static int pclose_r(int fd, pid_t pid) + { + register int r; + int status; +- void (*hstat)(), (*istat)(), (*qstat)(); ++ void (*hstat)(int), (*istat)(int), (*qstat)(int); + + (void) close(fd); + istat = signal(SIGINT, SIG_IGN); diff --git a/sources b/sources index 55c5812..713d049 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2ebd8d41b2a525e186bd9a3199896fec anyremote-6.5.tar.gz +SHA512 (anyremote-6.7.3.tar.gz) = f2c13dbe02437a04af0c07453999fe4727970e386be9ee0d2d9d96aedb2afdc2269e040f3a42bc5479ad196495501cb34583e039a82c5cbd6861803d57e3a8ed