[packages/anyremote] Up to 6.7.3
arekm
arekm at pld-linux.org
Tue May 12 19:13:33 CEST 2026
commit 7324b1a581c0db6232d038bb1eb1d8ca42fa5a3f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue May 12 19:13:21 2026 +0200
Up to 6.7.3
anyremote-gcc-prototypes.patch | 35 +++++++++++++++++++++++++++++++++++
anyremote-in.patch | 11 +++++------
anyremote-useless_files.patch | 18 +++++-------------
anyremote.spec | 12 ++++++++----
4 files changed, 53 insertions(+), 23 deletions(-)
---
diff --git a/anyremote.spec b/anyremote.spec
index 37ddaaa..b934bcc 100644
--- a/anyremote.spec
+++ b/anyremote.spec
@@ -5,14 +5,15 @@
Summary: anyremote - bluetooth remote for Linux
Summary(pl.UTF-8): anyremote - pilot bluetooth dla Linuksa
Name: anyremote
-Version: 5.4.2
-Release: 2
-License: GPL v2+
+Version: 6.7.3
+Release: 1
+License: GPL v3+
Group: Applications
Source0: http://downloads.sourceforge.net/anyremote/%{name}-%{version}.tar.gz
-# Source0-md5: 9cd6b4075ae3f66ff0177c7e7cb2bafc
+# Source0-md5: fd87404e8f820e9b4756c38c930c8367
Patch0: %{name}-in.patch
Patch1: %{name}-useless_files.patch
+Patch2: %{name}-gcc-prototypes.patch
URL: http://anyremote.sourceforge.net
BuildRequires: autoconf
BuildRequires: automake
@@ -65,6 +66,9 @@ znaleźć w pakiecie kanyremote).
%setup -q
%patch -P0 -p1
%patch -P1 -p1
+%patch -P2 -p1
+
+%{__sed} -i '1s|#!/usr/bin/env python3|#!/usr/bin/python3|' cfg-data/Utils/all-in-1.py
%build
%{__libtoolize}
diff --git a/anyremote-gcc-prototypes.patch b/anyremote-gcc-prototypes.patch
new file mode 100644
index 0000000..ba75c6c
--- /dev/null
+++ b/anyremote-gcc-prototypes.patch
@@ -0,0 +1,35 @@
+--- anyremote-6.7.3/src/executor.c 2018-11-04 08:18:02.000000000 +0100
++++ anyremote-6.7.3/src/executor.c 2018-11-04 08:18:02.000000000 +0100
+@@ -56,7 +56,7 @@
+
+ static void handleInit();
+ static void handleConnect();
+-static void handleDisconnect();
++static void handleDisconnect(int peer);
+ static void handleExit();
+
+ static void cleanAutoRepeatFlag();
+
+--- anyremote-6.7.3/src/pr_web.h 2018-11-04 08:18:02.000000000 +0100
++++ anyremote-6.7.3/src/pr_web.h 2018-11-04 08:18:02.000000000 +0100
+@@ -52,7 +52,7 @@
+ 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);
+
+--- anyremote-6.7.3/src/sys_util.c 2018-11-04 08:18:02.000000000 +0100
++++ anyremote-6.7.3/src/sys_util.c 2018-11-04 08:18:02.000000000 +0100
+@@ -354,7 +354,7 @@
+ {
+ 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/anyremote-in.patch b/anyremote-in.patch
index 99723f6..d966415 100644
--- a/anyremote-in.patch
+++ b/anyremote-in.patch
@@ -1,11 +1,10 @@
---- anyremote-5.0/configure.in~ 2009-06-10 15:08:38.000000000 +0000
-+++ anyremote-5.0/configure.in 2009-10-27 11:25:59.000000000 +0000
-@@ -36,7 +36,7 @@
+--- anyremote-6.7.3/configure.ac~ 2019-11-08 12:38:58.000000000 +0100
++++ anyremote-6.7.3/configure.ac 2019-11-08 12:38:58.000000000 +0100
+@@ -37,7 +37,7 @@
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
-
+
-CFLAGS="$CFLAGS -I/usr/local/include -Wall -D_REENTRANT -O2 -g"
+CFLAGS="$CFLAGS -I/usr/include -Wall -D_REENTRANT"
-
+
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/ioctl.h sys/time.h termios.h unistd.h glib.h])
-
diff --git a/anyremote-useless_files.patch b/anyremote-useless_files.patch
index c2a4ce4..b005c72 100644
--- a/anyremote-useless_files.patch
+++ b/anyremote-useless_files.patch
@@ -1,18 +1,10 @@
---- anyremote-5.2/Makefile.am~ 2010-08-19 07:34:32.000000000 +0200
-+++ anyremote-5.2/Makefile.am 2010-08-27 16:33:32.680953498 +0200
-@@ -20,14 +20,13 @@
-
- SUBDIRS = src
-
--EXTRA_DIST = INSTALL NEWS README COPYING AUTHORS TODO anyremote.1.gz ChangeLog doc-html keymaps cfg-data specs
-+EXTRA_DIST = INSTALL NEWS README COPYING AUTHORS TODO anyremote.1.gz ChangeLog keymaps cfg-data specs
-
- install-data-local:
- test -z $(DESTDIR)$(pkgdatadir) || mkdir -p -- . $(DESTDIR)$(pkgdatadir)
+--- anyremote-6.7.3/Makefile.am~ 2019-11-08 12:38:58.000000000 +0100
++++ anyremote-6.7.3/Makefile.am 2019-11-08 12:38:58.000000000 +0100
+@@ -27,7 +27,6 @@
test -z $(DESTDIR)$(docdir) || mkdir -p -- . $(DESTDIR)$(docdir)
cp -r cfg-data $(DESTDIR)$(pkgdatadir)
rm -rf $(DESTDIR)$(pkgdatadir)/cfg-data/obsoleted
- cp -r doc-html ChangeLog README COPYING AUTHORS $(DESTDIR)$(docdir)/
find $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(docdir) -type f -exec chmod 644 {} \;
- chmod a+x $(DESTDIR)$(pkgdatadir)/cfg-data/Utils/all-in-1.py $(DESTDIR)$(pkgdatadir)/cfg-data/Utils/message.sh
- chmod a+x $(DESTDIR)$(pkgdatadir)/cfg-data/Utils/xmms_is_playing $(DESTDIR)$(pkgdatadir)/cfg-data/Utils/getPlayList.sh
+ chmod a+x $(DESTDIR)$(pkgdatadir)/cfg-data/Utils/all-in-1.py
+ chmod a+x $(DESTDIR)$(pkgdatadir)/cfg-data/Utils/generate_cover.sh
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/anyremote.git/commitdiff/7324b1a581c0db6232d038bb1eb1d8ca42fa5a3f
More information about the pld-cvs-commit
mailing list