Apply upstream update

This commit is contained in:
dp67 2011-06-12 00:45:11 -04:00
parent b89aa284e0
commit 9f95415aa9
4 changed files with 49 additions and 8 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ fldigi-3.20.20.tar.gz
/fldigi-3.20.34.tar.gz
/fldigi-3.21.7.tar.gz
/fldigi-3.21.9.tar.gz
/fldigi-3.21.11.tar.gz

View File

@ -0,0 +1,15 @@
diff -up ./src/globals/globals.cxx.old ./src/globals/globals.cxx
--- ./src/globals/globals.cxx.old 2011-06-09 17:12:59.000000000 -0400
+++ ./src/globals/globals.cxx 2011-06-12 00:20:44.546248229 -0400
@@ -112,7 +112,10 @@ const struct mode_info_t mode_info[NUM_M
{ MODE_SSB, &ssb_modem, "SSB", "SSB", "", "SSB", "" },
{ MODE_WWV, &wwv_modem, "WWV", "WWV", "", "", "" },
- { MODE_ANALYSIS, &anal_modem, "ANALYSIS", _("Freq Analysis"), "", "", "" }
+ // N.B. it is not valid to use an _("NLS") string in this table!!
+ // ... doing so will break the Fl_menu_item table 'menu_'. -Kamal
+ // { MODE_ANALYSIS, &anal_modem, "ANALYSIS", _("Freq Analysis"), "", "", "" }
+ { MODE_ANALYSIS, &anal_modem, "ANALYSIS", "Freq Analysis", "", "", "" }
};
std::ostream& operator<<(std::ostream& s, const qrg_mode_t& m)

View File

@ -1,12 +1,14 @@
Name: fldigi
Version: 3.21.9
Release: 2%{?dist}
Version: 3.21.11
Release: 3%{?dist}
Summary: Digital modem program for Linux
Group: Applications/Communications
License: GPLv3+
URL: http://www.w1hkj.com/Fldigi.html
Source0: http://www.w1hkj.com/downloads/%{name}/%{name}-%{version}.tar.gz
Source0: http://www.w1hkj.com/alpha/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Patch By Kamal Mostafa, KA6MAL Fixes #708696 "Fldigi crashes when started" reported upstream.
Patch0: %{name}-%{version}-global.cxx.patch
BuildRequires: hamlib-devel
BuildRequires: fltk-devel
@ -21,9 +23,10 @@ BuildRequires: xmlrpc-c-devel
BuildRequires: gettext
BuildRequires: libXinerama-devel
Provides: flarq
Provides: %{name}-shell
%description
# Spelling errors are intentional ignore rpmlint warnings.
Fldigi is a modem program which supports most of the digital modes used by
ham radio operators today. You can also use the program for calibrating your
sound card to WWV or doing a frequency measurement test. The program also comes
@ -43,11 +46,11 @@ exported by fldigi, and also defines some useful commands of its own.
# Fix spurious executeable
chmod 644 ./src/olivia/olivia.cxx
%patch0 -p1 -b %{name}-%{version}-global.cxx.patch
%build
%configure
make -k %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LIBS="-lm -lX11 -lpthread -lXinerama
"
make -k %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LIBS="-lm -lX11 -lpthread"
%install
rm -rf $RPM_BUILD_ROOT
@ -70,7 +73,7 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
%doc AUTHORS ChangeLog COPYING README NEWS
%{_bindir}/*
%{_datadir}/pixmaps/%{name}.xpm
%{_datadir}/pixmaps/flarq.xpm
@ -81,6 +84,28 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644,root,root) %{_datadir}/applications/flarq.desktop
%changelog
* Sun Jun 12 2011 Randall J. Berry <dp67@fedoraproject.org> - 3.21.11-3
- Removed --disable-nls temporary fix
- Apply Patch0 by Kamal Mostafa, KA6MAL
- Fixes crash when started (bug #708696)
- Added provides fldigi-shell, flarq
* Sat Jun 11 2011 Randall J. Berry <dp67@fedoraproject.org> - 3.21.11-2
- Upload source to git (F15)
- Build for F15
* Sat Jun 11 2011 Randall J. Berry <dp67@fedoraproject.org> - 3.21.11-1
- Upstream update (alpha)
- Build with --disable-nls as a temporary measure to prevent crash on startup (bug #708696)
- Temporary disable of i18n (bug #708696)
* Sat Jun 4 2011 Randall J. Berry <dp67@fedoraproject.org> - 3.21.10-3
- Successful local build F14
- Test build on koji F14
* Sat Jun 4 2011 Randall J. Berry <dp67@fedoraproject.org> - 3.21.10-2
- Removed patches
- Test build for Rawhide
* Sat Jun 4 2011 Randall J. Berry <dp67@fedoraproject.org> - 3.21.10-1
- Apply upstream patches dup_defines.diff
* Thu May 26 2011 Randall J. Berry <dp67@fedoraproject.org> - 3.21.9-3
- Added Panel.cxx patch1 to fix int error.
* Thu May 26 2011 Randall J. Berry <dp67@fedoraproject.org> - 3.21.9-2
- Added BuildRequires: libXinerama-devel
* Thu May 26 2011 Randall J. Berry <dp67@fedoraproject.org> - 3.21.9-1

View File

@ -1 +1 @@
9e15ee21d7de48511c6e18b1fcef261f fldigi-3.21.9.tar.gz
863cbac80a829a8c5287fb536f635f4b fldigi-3.21.11.tar.gz