Compare commits

...
Sign in to create a new pull request.

31 commits

Author SHA1 Message Date
Fedora Release Engineering
a70537ddb6 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:16:48 +00:00
Fedora Release Engineering
532dcd989a Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:43:57 +00:00
Yaakov Selkowitz
940d973c11 Fix build with gettext-0.25
While previous versions of gettext installed its macros into
/usr/share/aclocal where they were always discoverable, as of gettext 0.25,
they are installed into a package-specific directory.  The autoreconf -i
command is now trying to install them into the former due to
ACLOCAL_AMFLAGS; using a writable directory for that is necessary.
2025-10-19 01:17:44 -04:00
Fedora Release Engineering
b6e91440af Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:54:18 +00:00
Richard Shaw
77e3c26541 Rebuild for hamlib 4.6. 2025-02-05 20:56:38 -06:00
Fedora Release Engineering
929cbe911d Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 15:57:44 +00:00
Richard Shaw
d338df0b51 Hamlib no longer builds for i686. 2024-12-31 10:51:43 -06:00
Richard Shaw
fedd6ce4b6 Rebuild for Hamlib 4.6. 2024-12-31 10:27:22 -06:00
Filipe Rosset
ac62a1ce13 - Updated to 2.0.25 fixes rhbz#1947630 2024-12-25 19:29:47 -03:00
Miroslav Suchý
0c4858fdbd convert GPLv3 license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-29 14:47:24 +02:00
Fedora Release Engineering
1f63d78ef0 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 10:10:37 +00:00
Fedora Release Engineering
5e78481890 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 09:49:39 +00:00
Fedora Release Engineering
f0d42d310c Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 18:58:31 +00:00
AsciiWolf
91149fab97 Add AppStream metainfo, svg icon
Resolves: rhbz#1792728
2023-06-29 23:04:30 +02:00
Fedora Release Engineering
315f47de29 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 07:34:45 +00:00
Richard Shaw
e7ca747bfe Rebuild for updated hamlib 4.5. 2022-11-07 19:38:44 -06:00
Fedora Release Engineering
a58135f2ed Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 13:14:39 +00:00
Fedora Release Engineering
545e7ca0d5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 05:12:49 +00:00
Richard Shaw
fba8c1833b Rebuild for hamlib 4.4. 2021-12-23 16:46:04 -06:00
Richard Shaw
d236d8a5ff 36-build-side-49086 2021-12-23 12:41:41 -06:00
Richard Shaw
e5b6bc2a4f Rebuild for hamlib 4.3.1. 2021-10-11 20:30:19 -05:00
Fedora Release Engineering
664cd96bbd - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 21:40:32 +00:00
Richard Shaw
51194bae7a Add patch for hamlib 4.2. 2021-05-30 15:02:02 -05:00
Richard Shaw
59f65b2839 Rebuild for hamlib 4.2. 2021-05-30 08:48:27 -05:00
Richard Shaw
5e302aaa84 Update to 2.0.22. 2021-05-10 07:01:46 -05:00
Richard Shaw
8dc1cf931b Rebuild for hamlib 4.1. 2021-02-02 07:48:30 -06:00
Fedora Release Engineering
52e0f1d818 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-28 00:07:59 +00:00
Tom Stellard
08f0fa1f52 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-09 01:30:09 +00:00
Fedora Release Engineering
5b8aef1339 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 09:45:21 +00:00
Fedora Release Engineering
8ae406323f - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 14:48:33 +00:00
Jaroslav Škarvada
b34b6fd97d Fixed gitignore
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-05-14 16:59:51 +02:00
7 changed files with 192 additions and 31 deletions

8
.gitignore vendored
View file

@ -1,7 +1 @@
xlog-2.0.3.tar.gz
/xlog-2.0.4.tar.gz
/xlog-2.0.5.tar.gz
/xlog-2.0.6.tar.gz
/xlog-2.0.11.tar.gz
/xlog-2.0.13.tar.gz
/xlog-2.0.19.tar.gz
xlog-*.tar.gz

View file

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>org.nongnu.Xlog</id>
<launchable type="desktop-id">xlog.desktop</launchable>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<provides>
<binary>xlog</binary>
</provides>
<name>Xlog</name>
<summary>Logging program for Amateur Radio Operators</summary>
<description>
<p>
Xlog is a logging program for Amateur Radio Operators which can be used for daily logging and contest. Logs are stored into a text file.
You can open, close and create logs as you need them. Xlog supports cabrillo, ADIF, trlog, and EDI and can import twlog, editest and OH1AA logbook files.
</p>
<p>
QSO's are presented in a list. Items in the list can be added, deleted or updated. For each contact, DXCC information is displayed and bearings and distance is calculated, both short and long path.
When hamlib is enabled through the menu, you can retrieve frequency, mode and signal-strength from your rig over the serial port.
</p>
</description>
<screenshots>
<screenshot type="default">
<image type="source">https://xlog.nongnu.org/xlog.jpg</image>
</screenshot>
</screenshots>
<url type="homepage">https://xlog.nongnu.org</url>
<url type="bugtracker">https://savannah.nongnu.org/bugs/?group=xlog</url>
<content_rating type="oars-1.1"/>
</component>

View file

@ -1 +1 @@
SHA512 (xlog-2.0.19.tar.gz) = b69e592f97fbfbd989378a2b74036f4a169be3ca1f5b7ba8715e3a5293f1efbdbc431b0c09a305c2ca0190953777010a9d9a9b53caea8eb26609111b4f7da40b
SHA512 (xlog-2.0.25.tar.gz) = 3ce5b27a0529885862a8c5256162068504e05cbbca6e0fc6cf492bfabbb2aa84b82a54502319646ee49e78aac6cd2b685877ec3687fb962c59c8648e0be4e121

View file

@ -1,15 +1,21 @@
--- xlog-2.0.13-mod/configure.ac 2015-04-21 22:37:12.000000000 +0200
+++ xlog-2.0.13/configure.ac 2016-02-16 12:06:50.684089981 +0100
@@ -16,9 +16,9 @@
AC_FUNC_STRPTIME
AC_CHECK_FUNCS(strchr index)
Index: xlog-2.0.22/configure.ac
===================================================================
--- xlog-2.0.22.orig/configure.ac
+++ xlog-2.0.22/configure.ac
@@ -22,11 +22,11 @@ dnl if test "${ac_cv_c_compiler_gnu}" =
dnl CFLAGS="${CFLAGS} -Wno-deprecated-declarations -Wall -Wno-stringop-truncation -Wno-unused-but-set-variable -Werror"
dnl fi
-if test "${ac_cv_c_compiler_gnu}" = "yes"; then
- CFLAGS="${CFLAGS} -Wall -Wno-stringop-truncation -Wno-unused-but-set-variable -Werror"
-fi
+dnl if test "${ac_cv_c_compiler_gnu}" = "yes"; then
+dnl CFLAGS="${CFLAGS} -Wall -Wno-stringop-truncation -Wno-unused-but-set-variable -Werror"
+dnl fi
-AX_CHECK_COMPILE_FLAG([-Werror], [CFLAGS="$CFLAGS -Werror"], [], [])
-AX_CHECK_COMPILE_FLAG([-Wno-deprecated-declarations], [CFLAGS="$CFLAGS -Wno-deprecated-declarations"], [], [])
-AX_CHECK_COMPILE_FLAG([-Wall], [CFLAGS="$CFLAGS -Wall"], [], [])
-AX_CHECK_COMPILE_FLAG([-Wno-stringop-truncation], [CFLAGS="$CFLAGS -Wno-stringop-truncation"], [], [])
-AX_CHECK_COMPILE_FLAG([-Wno-unused-but-set-variable], [CFLAGS="$CFLAGS -Wno-unused-but-set-variable"], [], [])
+dnl AX_CHECK_COMPILE_FLAG([-Werror], [CFLAGS="$CFLAGS -Werror"], [], [])
+dnl AX_CHECK_COMPILE_FLAG([-Wno-deprecated-declarations], [CFLAGS="$CFLAGS -Wno-deprecated-declarations"], [], [])
+dnl AX_CHECK_COMPILE_FLAG([-Wall], [CFLAGS="$CFLAGS -Wall"], [], [])
+dnl AX_CHECK_COMPILE_FLAG([-Wno-stringop-truncation], [CFLAGS="$CFLAGS -Wno-stringop-truncation"], [], [])
+dnl AX_CHECK_COMPILE_FLAG([-Wno-unused-but-set-variable], [CFLAGS="$CFLAGS -Wno-unused-but-set-variable"], [], [])
dnl end - see xlog bug #60003 - AndyS 15-Feb-2021
PKG_CHECK_MODULES(GLIB, glib-2.0)
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.18.0)

12
xlog-2.0.25-aclocal.patch Normal file
View file

@ -0,0 +1,12 @@
diff -up a/Makefile.am b/Makefile.am
--- a/Makefile.am 2021-02-15 20:37:54.000000000 -0500
+++ b/Makefile.am 2025-10-19 01:05:33.816651640 -0400
@@ -6,7 +6,7 @@ EXTRA_DIST = config.rpath mkinstalldirs
CLEANFILES = *~
-ACLOCAL_AMFLAGS = -I /usr/share/aclocal
+ACLOCAL_AMFLAGS = -I m4
dist-hook:
rm -f AUTHORS ChangeLog

View file

@ -0,0 +1,22 @@
--- xlog-2.0.25.orig/src/hamlib-utils.c 2021-10-03 14:38:22.000000000 -0300
+++ xlog-2.0.25/src/hamlib-utils.c 2024-12-25 19:12:18.209526859 -0300
@@ -49,6 +49,10 @@
#define FILPATHLEN 150
#endif
+#ifndef HAMLIB_FILPATHLEN
+#define HAMLIB_FILPATHLEN FILEPATHLEN
+#endif
+
struct rig_id {
const gint modelnr;
const gchar *modelname;
@@ -173,7 +177,7 @@
}
}
- strncpy (myrig->state.rigport.pathname, device, FILPATHLEN);
+ strncpy (myrig->state.rigport.pathname, device, HAMLIB_FILPATHLEN);
retcode = rig_open (myrig);
if (retcode != RIG_OK)

117
xlog.spec
View file

@ -1,12 +1,21 @@
Name: xlog
Version: 2.0.19
Release: 1%{?dist}
Version: 2.0.25
Release: 7%{?dist}
Summary: Logging program for Hamradio Operators
License: GPLv3
# Automatically converted from old format: GPLv3 - review is highly recommended.
License: GPL-3.0-only
URL: http://www.nongnu.org/xlog/
Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz
Source1: org.nongnu.Xlog.metainfo.xml
Patch0: %{name}-2.0.19-no-error.patch
Patch1: xlog-%{version}-hamlib42.patch
Patch2: %{name}-2.0.25-aclocal.patch
ExcludeArch: i686
BuildRequires: make
BuildRequires: gcc
BuildRequires: autoconf
BuildRequires: automake
@ -16,6 +25,8 @@ BuildRequires: shared-mime-info
BuildRequires: gettext-devel
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
%description
xlog is a logging program for amateur radio operators. The log is stored
into a text file. QSO's are presented in a list. Items in the list can be
@ -24,8 +35,7 @@ and bearings and distance is calculated, both short and long path.
xlog supports trlog, adif, cabrillo, edit, twlog and editest files.
%prep
%setup -q
%patch0 -p1 -b .no-error
%autosetup -p1
#fix bogus .desktop file
sed -i -e "s/Utility;Database;HamRadio;GTK/Network;HamRadio;GTK/g" $RPM_BUILD_DIR/%{name}-%{version}/data/desktop/xlog.desktop
sed -i -e "s/.png//g" $RPM_BUILD_DIR/%{name}-%{version}/data/desktop/xlog.desktop
@ -33,18 +43,25 @@ sed -i -e "s/.png//g" $RPM_BUILD_DIR/%{name}-%{version}/data/desktop/xlog.deskto
%build
autoreconf -vif
%configure CFLAGS="%{optflags} -lm" --enable-hamlib --docdir=%{_docdir}/%{name}
make %{?_smp_mflags}
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
%make_install
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/mimeinfo.cache
%find_lang %{name}
# Install desktop file
desktop-file-install \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/xlog.desktop
desktop-file-edit --set-key=Icon --set-value=%{name} $RPM_BUILD_ROOT%{_datadir}/applications/xlog.desktop
# Install svg icon
install -D -p -m644 data/pixmaps/xlog.svg $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
# Install AppStream metainfo file
install -D -p -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_metainfodir}/org.nongnu.Xlog.metainfo.xml
%files -f %{name}.lang
%doc AUTHORS data/doc/BUGS ChangeLog COPYING NEWS README data/doc/TODO data/doc/manual data/doc/KEYS data/glabels
@ -53,14 +70,94 @@ desktop-file-install \
%{_datadir}/%{name}/dxcc
%{_datadir}/%{name}/maps
%{_datadir}/pixmaps/*
%{_datadir}/icons/gnome-mime-text-x-%{name}.png
%{_datadir}/icons/%{name}-icon.png
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/applications/*.desktop
%{_metainfodir}/org.nongnu.Xlog.metainfo.xml
%{_datadir}/mime/packages/*.xml
%{_mandir}/man?/*
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.25-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.25-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.25-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Feb 06 2025 Richard Shaw <hobbes1069@gmail.com> - 2.0.25-4
- Rebuild for hamlib 4.6.
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.25-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Tue Dec 31 2024 Richard Shaw <hobbes1069@gmail.com> - 2.0.25-2
- Rebuild for Hamlib 4.6.
* Wed Dec 25 2024 Filipe Rosset <rosset.filipe@gmail.com> - 2.0.25-1
- Updated to 2.0.25 fixes rhbz#1947630
* Mon Jul 29 2024 Miroslav Suchý <msuchy@redhat.com> - 2.0.22-15
- convert license to SPDX
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.22-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.22-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.22-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jun 29 2023 Daniel Rusek <mail@asciiwolf.com> - 2.0.22-11
- Add AppStream metadata, svg icon
Resolves: rhbz#1792728
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.22-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Nov 08 2022 Richard Shaw <hobbes1069@gmail.com> - 2.0.22-9
- Rebuild for updated hamlib 4.5.
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.22-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.22-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Dec 23 2021 Richard Shaw <hobbes1069@gmail.com> - 2.0.22-6
- Rebuild for hamlib 4.4.
* Thu Dec 23 2021 Richard Shaw <hobbes1069@gmail.com> - 2.0.22-5
- 36-build-side-49086
* Tue Oct 12 2021 Richard Shaw <hobbes1069@gmail.com> - 2.0.22-4
- Rebuild for hamlib 4.3.1.
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.22-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sun May 30 2021 Richard Shaw <hobbes1069@gmail.com> - 2.0.22-2
- Rebuild for hamlib 4.2.
* Mon May 10 2021 Richard Shaw <hobbes1069@gmail.com> - 2.0.22-1
- Update to 2.0.22.
* Tue Feb 02 2021 Richard Shaw <hobbes1069@gmail.com> - 2.0.19-5
- Rebuild for hamlib 4.1.
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.19-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.19-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu May 14 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 2.0.19-1
- New version
Resolves: rhbz#1834548