commit 9650dab029af948c280354c44e0bf6495a55915950be21c47a6ffb7ae1a9f55f Author: OBS User mrdocs Date: Wed Jun 1 21:48:17 2016 +0000 Accepting request 398529 from home:tumic:GPXSee Could GPXSee - a Qt based GPX viewer - added to the project? OBS-URL: https://build.opensuse.org/request/show/398529 OBS-URL: https://build.opensuse.org/package/show/graphics/gpxsee?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/GPXSee-2.14.tar.gz b/GPXSee-2.14.tar.gz new file mode 100644 index 0000000..869a8ef --- /dev/null +++ b/GPXSee-2.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dacfa1873f537c255801a21cf5f11d47a8852a2214dae947e85c9d42a4d33169 +size 212902 diff --git a/debian.changelog b/debian.changelog new file mode 100644 index 0000000..72b421c --- /dev/null +++ b/debian.changelog @@ -0,0 +1,73 @@ +gpxsee (2.14) stable; urgency=low + + * Added print support. + * Many fixes & improvements in PDF export (e.g. map support). + + -- Martin Tuma Sat, 28 May 2016 10:06:06 +0200 + +gpxsee (2.13) stable; urgency=low + + * Fixed broken opening of non-ASCII named files as program arguments. + * File info in window title. + * Persistent program settings. + + -- Martin Tuma Tue, 3 May 2016 20:09:06 +0200 + +gpxsee (2.12) stable; urgency=low + + * Added fullscreen mode. + * Polished GUI. + + -- Martin Tuma Thu, 14 Apr 2016 07:54:37 +0200 + +gpxsee (2.11) stable; urgency=low + + * Added "clear tile cache" option. + * Lots of minor bug fixes and enhancements. + + -- Martin Tuma Sat, 2 Apr 2016 17:52:12 +0200 + +gpxsee (2.10) stable; urgency=low + + * Added heart rate graphs. + * Polished GUI. + * Redesigned map/POI data sources handling. + * Lots of minor bug fixes and enhancements. + + -- Martin Tuma Fri, 25 Mar 2016 13:32:27 +0100 + +gpxsee (2.9) stable; urgency=low + + * Added support for displaying waypoints. + * Minor bug fixes and enhancements. + + -- Martin Tuma Sun, 20 Mar 2016 21:14:33 +0100 + +gpxsee (2.8) stable; urgency=low + + * Improved POI files control. + * Minor bug fixes and enhancements. + + -- Martin Tuma Sun, 6 Mar 2016 17:29:07 +0100 + +gpxsee (2.7) stable; urgency=low + + * Added default map sources (OSM, Thunderforest). + * Added support for POIs in GPX format. + * Added support for GPX files with multiple tracks. + + -- Martin Tuma Sat, 13 Feb 2016 12:39:16 +0100 + +gpxsee (2.6) stable; urgency=low + + * Added map scale info. + * Improved PDF export. + + -- Martin Tuma Wed, 3 Feb 2016 16:05:17 +0100 + +gpxsee (2.5) stable; urgency=low + + * Added support for imperial units. + * Fixed track view resizing issues. + + -- Martin Tuma Sun, 20 Dec 2015 16:42:00 +0100 diff --git a/debian.compat b/debian.compat new file mode 100644 index 0000000..4511376 --- /dev/null +++ b/debian.compat @@ -0,0 +1 @@ +9 diff --git a/debian.control b/debian.control new file mode 100644 index 0000000..27c7073 --- /dev/null +++ b/debian.control @@ -0,0 +1,11 @@ +Source: gpxsee +Section: Graphics +Priority: optional +Maintainer: Martin Tuma +Build-Depends: debhelper (>= 9), qtbase5-dev, qtbase5-dev-tools, qt5-qmake, qttools5-dev-tools + +Package: gpxsee +Architecture: any +Depends: ${shlibs:Depends} +Description: GPX visualizing and analyzing tool + GPXSee is a Qt based tool for visualizing and analyzing GPX files. diff --git a/debian.postinst b/debian.postinst new file mode 100644 index 0000000..24338de --- /dev/null +++ b/debian.postinst @@ -0,0 +1,19 @@ +#!/bin/sh + +case "$1" in + configure) + if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database > /dev/null + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# diff --git a/debian.postrm b/debian.postrm new file mode 100644 index 0000000..7588a56 --- /dev/null +++ b/debian.postrm @@ -0,0 +1,24 @@ +#!/bin/sh + +case "$1" in + purge) + ;; + + remove) + if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database > /dev/null + fi + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian.rules b/debian.rules new file mode 100644 index 0000000..1dbfc0e --- /dev/null +++ b/debian.rules @@ -0,0 +1,86 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +export QT_SELECT := qt5 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + lrelease gpxsee.pro + qmake gpxsee.pro + make + # --- end custom part for compiling + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + make clean || true + # --- end custom part for cleaning up + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package + # The DESTDIR Has To Be Exactly /usr/src/packages/BUILD/debian/ + mkdir -p /usr/src/packages/BUILD/debian/gpxsee/usr/bin + mkdir -p /usr/src/packages/BUILD/debian/gpxsee/usr/share/applications + mkdir -p /usr/src/packages/BUILD/debian/gpxsee/usr/share/pixmaps + mkdir -p /usr/src/packages/BUILD/debian/gpxsee/usr/share/gpxsee + cp GPXSee /usr/src/packages/BUILD/debian/gpxsee/usr/bin/gpxsee + cp pkg/maps.txt /usr/src/packages/BUILD/debian/gpxsee/usr/share/gpxsee + cp icons/gpxsee.png /usr/src/packages/BUILD/debian/gpxsee/usr/share/pixmaps + cp ../SOURCES/gpxsee.desktop /usr/src/packages/BUILD/debian/gpxsee/usr/share/applications + # --- end custom part for installing + +# Build architecture-independent files here. +binary-indep: build install + # We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/gpxsee.changes b/gpxsee.changes new file mode 100644 index 0000000..8e5d391 --- /dev/null +++ b/gpxsee.changes @@ -0,0 +1,73 @@ +------------------------------------------------------------------- +Sat May 28 10:06:25 CEST 2016 - tumic@cbox.cz + +- Update to version 2.14 + * Added print support. + * Many fixes & improvements in PDF export (e.g. map support). + +------------------------------------------------------------------- +Tue May 3 20:09:06 CEST 2016 - tumic@cbox.cz + +- Update to version 2.13 + * Fixed broken opening of non-ASCII named files as program arguments. + * File info in window title. + * Persistent program settings. + +------------------------------------------------------------------- +Thu Apr 14 07:54:37 CEST 2016 - tumic@cbox.cz + +- Update to version 2.12 + * Added fullscreen mode. + * Polished GUI. + +------------------------------------------------------------------- +Sat Apr 2 17:52:12 CEST 2016 - tumic@cbox.cz + +- Update to version 2.11 + * Added "clear tile cache" option. + * Lots of minor bug fixes and enhancements. + +------------------------------------------------------------------- +Fri Mar 25 13:32:27 CET 2016 - tumic@cbox.cz + +- Update to version 2.10 + * Added heart rate graphs. + * Polished GUI. + * Redesigned map/POI data sources handling. + * Lots of minor bug fixes and enhancements. + +------------------------------------------------------------------- +Sun Mar 20 21:14:33 CET 2016 - tumic@cbox.cz + +- Update to version 2.9 + * Added support for displaying waypoints. + * Minor bug fixes and enhancements. + +------------------------------------------------------------------- +Sun Mar 6 17:29:07 CET 2016 - tumic@cbox.cz + +- Update to version 2.8 + * Improved POI files control. + * Minor bug fixes and enhancements. + +------------------------------------------------------------------- +Sat Feb 13 12:39:16 CET 2016 - tumic@cbox.cz + +- Update to version 2.7 + * Added default map sources (OSM, Thunderforest). + * Added support for POIs in GPX format. + * Added support for GPX files with multiple tracks. + +------------------------------------------------------------------- +Wed Feb 3 16:05:17 CET 2016 - tumic@cbox.cz + +- Update to version 2.6 + * Added map scale info. + * Improved PDF export. + +------------------------------------------------------------------- +Sun Dec 20 17:42:00 CET 2015 - tumic@cbox.cz + +- Update to version 2.5 + * Added support for imperial units. + * Fixed track view resizing issues. diff --git a/gpxsee.desktop b/gpxsee.desktop new file mode 100644 index 0000000..13bfffc --- /dev/null +++ b/gpxsee.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=GPXSee +Exec=gpxsee +Icon=gpxsee +Terminal=0 +Type=Application +Categories=qt;Graphics;Viewer +MimeType=application/gpx+xml diff --git a/gpxsee.dsc b/gpxsee.dsc new file mode 100644 index 0000000..4512015 --- /dev/null +++ b/gpxsee.dsc @@ -0,0 +1,9 @@ +Format: 1.0 +Source: gpxsee +Version: 2.14 +Binary: gpxsee +Maintainer: Martin Tuma +Architecture: any +Build-Depends: debhelper (>= 9), qtbase5-dev, qtbase5-dev-tools, qt5-qmake, qttools5-dev-tools +Files: + 00000000000000000000000000000000 0 GPXSee-2.14.tar.gz diff --git a/gpxsee.spec b/gpxsee.spec new file mode 100644 index 0000000..56a1872 --- /dev/null +++ b/gpxsee.spec @@ -0,0 +1,91 @@ +# +# spec file for package gpxsee +# +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +# See also http://en.opensuse.org/openSUSE:Specfile_guidelines + +Name: gpxsee +Version: 2.14 +Release: 1 +Summary: GPX visualizing and analyzing tool +License: GPL-3.0 +Group: Productivity/Graphics/Visualization +Url: http://tumic.wz.cz/gpxsee +Source0: GPXSee-%{version}.tar.gz +Source1: gpxsee.desktop + +BuildRequires: gcc-c++ +BuildRequires: make +%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} +BuildRequires: libqt4-devel +%else +BuildRequires: libQt5Core-devel +BuildRequires: libQt5Gui-devel +BuildRequires: libQt5Widgets-devel +BuildRequires: libQt5Network-devel +BuildRequires: libQt5PrintSupport-devel +BuildRequires: libqt5-linguist +%endif + + +%description +GPXSee is a Qt based tool for visualizing and analyzing GPX files. + +%prep +%setup -q -n GPXSee-%{version} + +%build +%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} +lrelease-qt4 gpxsee.pro +qmake-qt4 gpxsee.pro +%else +lrelease-qt5 gpxsee.pro +qmake-qt5 gpxsee.pro +%endif +make %{?_smp_mflags} +make clean + + +%install +install -d 755 %{buildroot}/%{_bindir} +install -d 755 %{buildroot}/%{_datadir}/applications +install -d 755 %{buildroot}/%{_datadir}/pixmaps +install -d 755 %{buildroot}/%{_datadir}/%{name} +install -m 755 GPXSee %{buildroot}/%{_bindir}/%{name} +install -m 644 pkg/maps.txt %{buildroot}/%{_datadir}/%{name} +install -m 644 icons/gpxsee.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png +install -m 644 %{SOURCE1} %{buildroot}/%{_datadir}/applications/%{name}.desktop + +%post +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database > /dev/null || : +fi + +%postun +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database > /dev/null || : +fi + +%files +%defattr(-,root,root) +%dir %{_datadir}/gpxsee +%{_bindir}/* +%{_datadir}/%{name}/* +%{_datadir}/applications/* +%{_datadir}/pixmaps/* + +%changelog