public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ax25-tools] rawhide: This patch disabled the compilation of the legacy X/GUI tools in hdlcutil/
@ 2026-08-03 21:03 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-03 21:03 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ax25-tools
Branch : rawhide
Commit : b30d8287dc29a5e09c32ee1cac62f8e2f92f89ca
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-03T12:33:10-03:00
Stats : +41/-70 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ax25-tools/c/b30d8287dc29a5e09c32ee1cac62f8e2f92f89ca?branch=rawhide
Log:
This patch disabled the compilation of the legacy X/GUI tools in hdlcutil/
which rely on linux/hdlcdrv.h (removed from modern kernel headers)
Resolves: rhbz#2503781
---
diff --git a/ax25-tools.spec b/ax25-tools.spec
index d381a11..541bc63 100644
--- a/ax25-tools.spec
+++ b/ax25-tools.spec
@@ -13,25 +13,19 @@ URL: http://www.linux-ax25.org/wiki/LinuxAX25
# Official upstream is not active, moving to supported fork.
# https://github.com/ve7fet/linuxax25
-Source0: https://github.com/ve7fet/linuxax25/archive/ax25tools-%{version}.tar.gz
-Source1: smdiag.desktop
-Source2: xfhdlcchpar.desktop
-Source3: xfhdlcsd.desktop
-Source4: xfsmdiag.desktop
-Source5: xfsmmixer.desktop
-#Temporary Icon
-Source6: %{name}.png
-
-BuildRequires: automake gcc gcc-c++
+Source0: https://github.com/ve7fet/linuxax25/archive/ax25tools-%{version}.tar.gz
+
+# this patch disabled the compilation of the legacy X/GUI tools in hdlcutil/
+# which rely on linux/hdlcdrv.h (removed from modern kernel headers)
+Patch: ax25tools-disable-hdlcutil.patch
+
+BuildRequires: automake
+BuildRequires: gcc
+BuildRequires: gcc-c++
BuildRequires: libax25-devel
+BuildRequires: make
BuildRequires: ncurses-devel
-BuildRequires: libXt-devel
-BuildRequires: libXi-devel
-BuildRequires: fltk1.3-devel
-BuildRequires: libX11-devel
-BuildRequires: mesa-libGL-devel
-BuildRequires: desktop-file-utils
-BuildRequires: make
+BuildRequires: zlib-devel
%description
@@ -78,31 +72,13 @@ line programs; the GUI programs are contained in ax25-tools-x package.
* yamcfg - configure a YAM interface
-%package x
-Summary: X tools used to configure an AX.25 enabled computer
-Requires: %{name}%{?_isa} = %{version}-%{release}
-
-%description x
-ax25-tools-x is a collection of tools that are used to configure an ax.25 enabled
-computer. This package contains the GUI programs to configure Baycom modem
-and sound modem.
-
- * smdiag - Linux soundcard packet radio modem driver diagnostics utility
- * xfhdlcchpar - kernel HDLC radio modem driver channel parameter utility
- * xfhdlcst - kernel HDLC radio modem driver status display utility
- * xfsmdiag - kernel soundcard radio modem driver diagnostics utility
- * xfsmmixer - kernel soundcard radio modem driver mixer utility
-
-
%package docs
-Summary: Documentation for ax25-tools and ax25-tools-x
-BuildArch: noarch
+Summary: Documentation for ax25-tools
+BuildArch: noarch
%description docs
ax25-tools is a collection of tools that are used to configure an ax.25 enabled
-computer. This package contains the GUI programs to configure Baycom modem
-and sound modem. This package contains the documentation for ax25-tools and
-ax25-tools-x
+computer. This package contains the documentation for ax25-tools.
%prep
@@ -111,28 +87,13 @@ ax25-tools-x
%build
./autogen.sh
-%configure --with-xutils
-make %{?_smp_mflags} CFLAGS="%{optflags}"
+%configure
+%make_build
%install
%make_install
-# no upstream .desktop or icon yet so we'll use a temporary one
-mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
-cp %{SOURCE6} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png
-mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications
-desktop-file-install \
- --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE1}
-desktop-file-install \
- --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE2}
-desktop-file-install \
- --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE3}
-desktop-file-install \
- --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE4}
-desktop-file-install \
- --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE5}
-
#don't include these twice
rm -rf $RPM_BUILD_ROOT%{_docdir}/ax25tools
@@ -142,7 +103,9 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}/ax25tools
%doc doc/README*
%license COPYING
%{_bindir}/*
+%if "%{_bindir}" != "%{_sbindir}"
%{_sbindir}/*
+%endif
%{_localstatedir}/ax25/mheard/
%config(noreplace) %{_sysconfdir}/ax25/ax25.profile
%config(noreplace) %{_sysconfdir}/ax25/ax25d.conf
@@ -154,26 +117,12 @@ rm -rf $RPM_BUILD_ROOT%{_docdir}/ax25tools
%config(noreplace) %{_sysconfdir}/ax25/rsports
%config(noreplace) %{_sysconfdir}/ax25/rxecho.conf
%config(noreplace) %{_sysconfdir}/ax25/ttylinkd.conf
-%exclude %{_bindir}/smdiag
-%exclude %{_sbindir}/xfhdlcchpar
-%exclude %{_sbindir}/xfhdlcst
-%exclude %{_sbindir}/xfsmdiag
-%exclude %{_sbindir}/xfsmmixer
-
-%files x
-%{_bindir}/smdiag
-%{_sbindir}/xfhdlcchpar
-%{_sbindir}/xfhdlcst
-%{_sbindir}/xfsmdiag
-%{_sbindir}/xfsmmixer
-%{_datadir}/pixmaps/%{name}.png
-%{_datadir}/applications/*.desktop
+
%files docs
%doc COPYING
%{_mandir}/man?/*
-
%changelog
* Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/ax25tools-disable-hdlcutil.patch b/ax25tools-disable-hdlcutil.patch
new file mode 100644
index 0000000..23a7108
--- /dev/null
+++ b/ax25tools-disable-hdlcutil.patch
@@ -0,0 +1,22 @@
+diff -ruN ax25tools-1.0.4-orig/configure.ac ax25tools-1.0.4/configure.ac
+--- ax25tools-1.0.4-orig/configure.ac 2019-02-10 08:32:18.000000000 -0200
++++ ax25tools-1.0.4/configure.ac 2026-08-03 12:19:13.198259507 -0300
+@@ -61,8 +61,7 @@
+ fi
+
+ dnl Checks for header files.
+-AC_HEADER_STDC
+-AC_INCLUDES_DEFAULT # Checks for sys/types.h, sys/stat.h, stdlib.h, string.h, memory.h, strings.h, inttypes.h, stdint.h and unistd.h
++AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h inttypes.h stdint.h unistd.h])
+ AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h paths.h \
+ pty.h sys/file.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h \
+ syslog.h termios.h utime.h utmp.h zlib.h],,AC_MSG_ERROR([Required headers missing; aborting]))
+diff -ruN ax25tools-1.0.4-orig/Makefile.am ax25tools-1.0.4/Makefile.am
+--- ax25tools-1.0.4-orig/Makefile.am 2019-02-10 08:32:18.000000000 -0200
++++ ax25tools-1.0.4/Makefile.am 2026-08-03 12:19:05.269261237 -0300
+@@ -1,4 +1,4 @@
+-SUBDIRS = ax25 hdlcutil kiss 6pack netrom rose tcpip user_call yamdrv dmascc man doc etc
++SUBDIRS = ax25 kiss 6pack netrom rose tcpip user_call yamdrv dmascc man doc etc
+
+ EXTRA_DIST = pathnames.h ax25tools.spec
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-03 21:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 21:03 [rpms/ax25-tools] rawhide: This patch disabled the compilation of the legacy X/GUI tools in hdlcutil/ Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox