Compare commits

..

32 commits

Author SHA1 Message Date
Fabian Affolter
1ff08f2cd3
Upstream dead for years 2017-04-03 17:24:37 +02:00
Fabian Affolter
d396cf359b
* Mon Apr 03 2017 Fabian Affolter <mail@fabian-affolter.ch> - 0.9-37
- Rebuild
2017-04-03 17:08:47 +02:00
23cfeb1450 rebuild for new libzip 2017-02-28 16:19:47 +01:00
Fedora Release Engineering
c4a9494b7f - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:04:05 +00:00
Fabian Affolter
1490ad9291
* Tue Jan 31 2017 Fabian Affolter <mail@fabian-affolter.ch> - 0.9-27
- Rebuild (libproj)
2017-01-31 10:08:30 +01:00
Fedora Release Engineering
30daeb2391 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 02:41:37 +00:00
Dennis Gilmore
75feb291a5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 01:59:41 +00:00
69e7577e43 rebuild for new libzip 2015-05-06 10:22:31 +02:00
Kalev Lember
bf93b3a8f6 Rebuilt for GCC 5 C++11 ABI change 2015-05-02 18:31:15 +02:00
Devrim Gündüz
336571e0a9 Rebuild for Proj 4.9.1 and new gpsd 2015-03-19 16:54:15 +02:00
Devrim Gündüz
f3002e1181 - Rebuild for Proj 4.9.1 2015-03-11 19:05:57 +02:00
Fabian Affolter
7783d8719c * Sat Mar 07 2015 Fabian Affolter <mail@fabian-affolter.ch> - 0.9-28
- Rebuild (libgps)
2015-03-07 18:29:13 +01:00
Fabian Affolter
a14e3160d3 * Sat Aug 23 2014 Fabian Affolter <mail@fabian-affolter.ch> - 0.9-27
- Rebuild (libgeotiff)
2014-08-23 09:28:47 +02:00
f9b3da0211 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 07:50:58 +00:00
Peter Robinson
8bc293bc9e rebuild (libnova) 2014-07-28 20:02:39 +01:00
Orion Poplawski
d7a71d3e9c Rebuild for libgeotiff rollback 2014-07-15 11:20:33 -06:00
1850f59c2d * Sun Jul 13 2014 Fabian Affolter <mail@fabian-affolter.ch> - 0.9-23
- Rebuild (libgeotiff)
2014-07-13 12:24:48 +02:00
Dennis Gilmore
cc3d95bbdd - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 22:39:21 -05:00
Fabian Affolter
2b54b6f2f0 * Sat Dec 21 2013 Fabian Affolter <mail@fabian-affolter.ch> - 0.9-21
- Remove poppler dep (rhbz#1043506)
2013-12-21 16:34:03 +01:00
Fabian Affolter
1341472503 * Thu Nov 28 2013 Fabian Affolter <mail@fabian-affolter.ch> - 0.9-20
- Rebuild for libgps
2013-11-28 10:10:42 +01:00
Marek Kasik
995145306a Rebuild (poppler-0.24.0) 2013-08-19 17:17:12 +02:00
Dennis Gilmore
f0abf2a215 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 01:11:15 -05:00
Bruno Wolff III
d6e360703f Fix typo in date 2013-06-30 11:15:17 -05:00
Bruno Wolff III
0a72346cc8 Rebuild for poppler soname bump
It looks like someone else tried this a few days ago but it didn't
work. It built locally for me today, so maybe some other build root
issue has been fixed since then.
2013-06-30 11:11:53 -05:00
Fabian Affolter
21717893d4 * Wed Jun 26 2013 Fabian Affolter <mail@fabian-affolter.ch> - 0.9-16
- Rebuild poppler
2013-06-26 09:13:15 +02:00
Dennis Gilmore
e156d16769 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 20:46:54 -06:00
Marek Kasik
3ef7a69b36 Rebuild (poppler-0.22.0) 2013-01-18 14:00:58 +01:00
Fabian Affolter
aeac80149f * Sat Nov 10 2012 Fabian Affolter <mail@fabian-affolter.ch> - 0.9-13
- Rebuild for F19
2012-11-10 16:13:48 +01:00
Dennis Gilmore
b3e6274000 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 21:42:55 -05:00
Marek Kasik
0908f5c342 Rebuild (poppler-0.20.1) 2012-07-02 14:58:13 +02:00
Marek Kasik
717085742c Rebuild (poppler-0.20.0) 2012-05-16 17:49:53 +02:00
Fabian Affolter
72ed272c37 * Thu May 10 2012 Fabian Affolter <mail@fabian-affolter.ch> - 0.9-9
- Rebuild for libtiff
2012-05-10 22:58:03 +02:00
5 changed files with 1 additions and 255 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
/vifir-0.9.tar.gz

1
dead.package Normal file
View file

@ -0,0 +1 @@
Upstream dead for years

View file

@ -1 +0,0 @@
680a37d611253ec3b64e835e06c9207c vifir-0.9.tar.gz

View file

@ -1,77 +0,0 @@
diff -up vifir-0.9/src/GPS.cpp.gpsd296 vifir-0.9/src/GPS.cpp
--- vifir-0.9/src/GPS.cpp.gpsd296 2010-10-12 08:36:14.000000000 -0400
+++ vifir-0.9/src/GPS.cpp 2011-08-23 13:38:54.465863249 -0400
@@ -54,14 +54,22 @@ bool GPS::Activate() {
{
case Config::gpsd:
/* gpsd.mainframe.cx:2947 and gpsd.rellim.com:2947 have gpsd data sources we can connect to for testing */
+#if GPSD_API_MAJOR_VERSION >= 5
+ if (!gps_open (Cfg->GetgpsdHost().c_str(),Cfg->GetgpsdPort().c_str(), &gpsdata_buf)) {
+ gpsddata = &gpsdata_buf;
+ } else {
+ gpsddata = NULL;
+ }
+#else
gpsddata=gps_open(Cfg->GetgpsdHost().c_str(),Cfg->GetgpsdPort().c_str());
+#endif
if (!gpsddata) {
fprintf(stderr,"Failure in gps_open(%s,%s)\n",Cfg->GetgpsdHost().c_str(),Cfg->GetgpsdPort().c_str());
return false;
}
#if GPSD_API_MAJOR_VERSION==3
gps_query(gpsddata,"w+x\n");
-#elif GPSD_API_MAJOR_VERSION==4
+#elif GPSD_API_MAJOR_VERSION>=4
gps_stream(gpsddata, WATCH_ENABLE, NULL);
#else
# error Unsupported GPSd library version
@@ -91,7 +99,11 @@ void GPS::Deactivate() {
#ifdef HAVE_LIBGPS
if (gpsddata) {
gps_close(gpsddata);
+#if GPSD_API_MAJOR_VERSION >= 5
+ delete gpsddata;
+#else
gpsddata=NULL;
+#endif
}
ActiveFlag=false;
#endif
@@ -129,14 +141,24 @@ bool GPS::GetFix(double *Lon, double *La
if ((pfd.revents|POLLIN)==POLLIN) {
int result;
errno=0;
+#if GPSD_API_MAJOR_VERSION >= 5
+ result=gps_read(gpsddata);
+ if (result > 0)
+ result=0;
+#else
result=gps_poll(gpsddata);
+#endif
if (result!=0) {
if (errno==0) {
/* Connection to gpsd closed */
fprintf(stderr,"Connection to gpsd lost.\n");
} else {
/* Read error */
+#if GPSD_API_MAJOR_VERSION >= 5
+ perror("gps_read()");
+#else
perror("gps_poll()");
+#endif
}
Deactivate();
return false;
diff -up vifir-0.9/src/GPS.h.gpsd296 vifir-0.9/src/GPS.h
--- vifir-0.9/src/GPS.h.gpsd296 2010-05-23 00:10:44.000000000 -0400
+++ vifir-0.9/src/GPS.h 2011-08-23 13:37:18.403202488 -0400
@@ -47,6 +47,9 @@ public:
private:
#ifdef HAVE_LIBGPS
gps_data_t *gpsddata;
+#if GPSD_API_MAJOR_VERSION >= 5
+ gps_data_t gpsdata_buf;
+#endif
pthread_t handler;
#endif
bool ActiveFlag;

View file

@ -1,176 +0,0 @@
Name: vifir
Version: 0.9
Release: 8%{?dist}
Summary: A viewer for electronic aviation charts
Group: Applications/Communications
License: GPLv3
URL: http://vifir.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0: vifir-0.9-gpsd-2.96.patch
BuildRequires: gtkmm24-devel
BuildRequires: gpsd-devel
BuildRequires: libgeotiff-devel
BuildRequires: dbus-devel
BuildRequires: dbus-glib-devel
BuildRequires: proj-devel
BuildRequires: poppler-devel
BuildRequires: poppler-glib-devel
BuildRequires: libxml++-devel
BuildRequires: libglademm24-devel
BuildRequires: libcurl-devel
BuildRequires: desktop-file-utils
BuildRequires: freetype-devel
BuildRequires: intltool
BuildRequires: libnova-devel
BuildRequires: libzip-devel
Requires: evince
%description
Vifir processes and displays electronic aviation charts produced by the U.S.
National Aeronautical Charting Office in a similar way to an Electronic Flight
Bag.
%prep
%setup -q
%patch0 -p1 -b .gpsd296
%build
export CXXFLAGS="$RPM_OPT_FLAGS"
%configure --prefix=%{_prefix} --libdir=%{_libdir}
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot} INSTALL="install -p"
desktop-file-install \
--delete-original \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/%{name}.desktop
%files
%doc AUTHORS ChangeLog COPYING DEVELOPERS README THANKS TODO
%{_bindir}/%{name}
%{_bindir}/llepdftopng
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/*.png
%changelog
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-8
- Rebuilt for c++ ABI breakage
* Sat Feb 04 2012 Remi Collet <remi@fedoraproject.org> - 0.9-7
- rebuild for new libzip
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Oct 28 2011 Rex Dieter <rdieter@fedoraproject.org> - 0.9-5
- rebuild(poppler)
* Fri Sep 30 2011 Marek Kasik <mkasik@redhat.com> - 0.9-4
- Rebuild (poppler-0.18.0)
* Mon Sep 19 2011 Marek Kasik <mkasik@redhat.com> - 0.9-3
- Rebuild (poppler-0.17.3)
* Tue Aug 23 2011 Tom Callaway <spot@fedoraproject.org> - 0.9-2
- cleanup spec file (I have no idea how it got past review with those
redundant globals)
- enable gpsd 2.96+ support
* Sun Jul 31 2011 Dave Ludlow <dave@adsllc.com> - 0.9-1
- Fix off-by-one error causing a crash upon loading a chart
* Fri Jul 15 2011 Marek Kasik <mkasik@redhat.com> - 0.8-2
- Rebuild (poppler-0.17.0)
* Mon Mar 14 2011 Dave Ludlow <dave@adsllc.com> - 0.8-1
- Clip airport elevations to 32,767 feet when importing X-Plane data
* Sun Mar 13 2011 Marek Kasik <mkasik@redhat.com> - 0.7-8
- Rebuild (poppler-0.16.3)
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sun Jan 02 2011 Rex Dieter <rdieter@fedoraproject.org> - 0.7-6
- rebuild (poppler)
* Wed Dec 15 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.7-5
- rebuild (poppler)
* Sat Nov 06 2010 Fabian Affolter <fabian@bernewireless.net> - 0.7-4
- rebuild (poppler)
* Thu Sep 30 2010 Fabian Affolter <fabian@bernewireless.net> - 0.7-3
- rebuild (poppler)
- Duplicated variable definitions removed
* Thu Aug 19 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.7-2
- rebuild (poppler)
* Tue Jul 20 2010 Dave Ludlow <dave@adsllc.com> - 0.7-1
- Improve handling of unexpected data/conditions from the GPS
- Improve signal-to-noise ratio on stderr output
* Mon Jul 05 2010 Dave Ludlow <dave@adsllc.com> - 0.6-1
- Support the gpsd version 4 API
- Improve the gps data timeout calculation
- Fix checking for valid lat/lon data
- Add gpsd host/port configuration options
- Add ccache compiler-cache support
- Prevent crashes when no data volume is active
* Fri May 14 2010 Dave Ludlow <dave@adsllc.com> - 0.5-1
- Add X-Plane 9.00 airport data import support
- Numerous tweaks for future Win32 support
- Code style/standardization support
- Fix runway headings import decimal shifting
- Data import performance tweaks
- Add airport info dialog
- Add i18n support
- Reduce nuisance warnings
- Incorporate some changes from Fabian Affolter's Fedora .spec file.
* Sun May 09 2010 Fabian Affolter <fabian@bernewireless.net> - 0.4-3
- Rebuild for new gpsd
* Thu May 06 2010 Fabian Affolter <fabian@bernewireless.net> - 0.4-2
- Rebuild for new poppler
* Sun Jul 26 2009 Fabian Affolter <fabian@bernewireless.net> - 0.4-1
- Initial package for Fedora
* Fri Jun 12 2009 Dave Ludlow <dave@adsllc.com> 0.4-1
- Aircraft data storage
- Performance improvements on slower systems
- METAR download and graphics support
- Add flashlight support
- Shapefile support
- Improve chart scrolling performance
- Simple on-screen keyboard support
* Sat Jul 5 2008 Dave Ludlow <dave@adsllc.com> 0.3-1
- dTPP (approach plate) support
- National Flight Database support
- Route support
- Data overlay support
- Add screensaver & powersave disable hooks
- Multiple data volume support
* Thu Aug 23 2007 Dave Ludlow <dave@adsllc.com> 0.2-1
- Improve look and feel somewhat
- Add GPSD integration and moving map support
- Make recent files menu actually functional
- Add a configuration dialog and persistent storage
- Add approach plate support
* Thu Aug 9 2007 Dave Ludlow <dave@adsllc.com> 0.1-1
- Initial packaging