debian/0000775000000000000000000000000012274310262007167 5ustar debian/gpredict.man0000664000000000000000000000124611654443315011477 0ustar .TH gpredict 1 "30 April 2003" "" .SH NAME gpredict \- Satellite tracker for GNOME .SH SYNOPSIS \fBgpredict\fR .SH DESCRIPTION .B GNOME Predict is a real time satellite tracking program for GNOME, based on the tracking engine of John Magliacane's excellent satellite tracker Predict. .SH OPTIONS Standard GNOME options may be used. .PP gpredict will ask some configuration questions when first used. .SH "SEE ALSO" Some additional information can be found in /usr/share/doc/gpredict .SH AUTHOR gpredict was written by Alexandru Csete and others. This manual page was written by Hamish Moffatt VK3SB for Debian (but may be used by others). debian/rules0000775000000000000000000000213312274310177010253 0ustar #!/usr/bin/make -f build: dh_testdir dh_autotools-dev_updateconfig ./configure --prefix=/usr --datarootdir=/usr/share $(MAKE) touch build clean: dh_testdir [ ! -f Makefile ] || $(MAKE) distclean rm -f build intltool-merge intltool-extract intltool-update config.log dh_autotools-dev_restoreconfig dh_clean binary-indep: build # nothing else to do binary-arch: build dh_clean dh_installdirs $(MAKE) install DESTDIR=`pwd`/debian/gpredict cp debian/gpredict.desktop debian/gpredict/usr/share/applications cp pixmaps/icons/gpredict-icon.png debian/gpredict/usr/share/pixmaps/gpredict.png rm debian/gpredict/usr/share/gpredict/COPYING dh_installdocs AUTHORS README dh_installmenu dh_installman debian/gpredict.man dh_installchangelogs ChangeLog dh_link usr/share/common-licenses/GPL-2 usr/share/gpredict/COPYING cp NEWS debian/gpredict/usr/share/doc/gpredict dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch checkroot: dh_testdir dh_testroot .PHONY: binary binary-arch binary-indep clean checkroot debian/watch0000664000000000000000000000007111654443315010225 0ustar version=3 http://sf.net/gpredict/gpredict-(.+)\.tar\.gz debian/changelog0000664000000000000000000001460112274310214011040 0ustar gpredict (1.3-2ubuntu2) trusty; urgency=medium * Use autotools-dev to update config.{sub,guess} for new arches. -- Logan Rosen Tue, 04 Feb 2014 20:14:41 -0500 gpredict (1.3-2ubuntu1) quantal; urgency=low * Merge from Debian testing. (LP: #859367) Remaining changes: - Apply patch from hamaa1vs to resolve the application becoming unresponsive when the day or time slider is adjusted. * Rename debian/patches/debian-changes-1.3-1ubuntu1 to debian/patches/lp-789691.patch and add DEP3 header. -- Andrew Starr-Bochicchio Tue, 22 May 2012 19:32:48 -0400 gpredict (1.3-2) unstable; urgency=low * Fix control file description text. (Closes: #644531) -- Fernando M. Maresca Sat, 08 Oct 2011 17:59:01 -0300 gpredict (1.3-1ubuntu1) oneiric; urgency=low * Apply patch from hamaa1vs to resolve the application becoming unresponsive when the day or time slider is adjusted. (LP: #789691) -- Daniel T Chen Tue, 19 Jul 2011 17:18:01 -0400 gpredict (1.3-1) unstable; urgency=low * New upstream release, includes da.po. * Fix debian/watch file (thanks Charles Suprin). -- Fernando M. Maresca Fri, 04 Mar 2011 17:38:21 -0300 gpredict (1.2-1) unstable; urgency=low * Switch to dpkg-source 3.0 (quilt) format * New upstream release (Closes: #614251) -- Fernando M. Maresca Mon, 21 Feb 2011 12:32:33 -0300 gpredict (1.1-7) unstable; urgency=low * Fix "Menu item Help -> License doesn't do anything; missing COPYING file" Added dh_link to rules from GPL2 COPYING file as suggested by Kamal Mostafa. (Closes: #578585) -- Fernando M. Maresca Sun, 16 May 2010 09:31:11 -0300 gpredict (1.1-6) unstable; urgency=low * Fix "Fix desktop-file-validate warnings in the .desktop file" Removed Encoding: line, removed Application from Categories, removed the .png extension from Icon in the debian/gpredict.desktop (Closes: #572722) -- Fernando M. Maresca Tue, 13 Apr 2010 14:20:11 -0300 gpredict (1.1-5) unstable; urgency=low * Change debian/control Standards-Version from 3.8.3 to 3.8.4. * Add missing dependencies on ${misc:Depends} -- Fernando M. Maresca Sun, 31 Jan 2010 15:35:33 -0300 gpredict (1.1-4) unstable; urgency=low * Fix "Incorrect KDE menu entry showing up in Lost and Found [nb]" debian/gpredict.desktop modified as proposed by Petter Reinholdtsen so gpredict show up in several places in the menu, making it easier to find. (Closes: #489247) -- Fernando M. Maresca Sun, 31 Jan 2010 12:54:12 -0300 gpredict (1.1-3) unstable; urgency=low * Change debian/compat from 4 to 7. * Change debian/control Standards-Version from 3.8.0 to 3.8.3. -- Fernando M. Maresca Sun, 06 Dec 2009 18:32:53 -0300 gpredict (1.1-2) unstable; urgency=low * Changes buiil-dependecies to add intltool > 2.1 (closes: #555953) -- Fernando M. Maresca Fri, 13 Nov 2009 11:11:16 -0300 gpredict (1.1-1) unstable; urgency=low [ Fernando M. Maresca ] * Fix "new upstream version 1.1 available" (Closes: #550081) * Fixes typos (closes: #455578, #520203) [ Hamish Moffatt ] * Change maintainer to debian-hams -- Hamish Moffatt Thu, 12 Nov 2009 17:21:53 +1100 gpredict (0.8.0-2) unstable; urgency=low * Fix FTBFS with GTK 2.12.0 by disabling GTK_DISABLE_DEPRECATED for now (closes: #444514) * Change desktop file: remove Education as a category as it's not appropriate for this package. -- Hamish Moffatt Sun, 30 Sep 2007 01:11:58 +1000 gpredict (0.8.0-1) unstable; urgency=low * New upstream release * Fixes conflict between gpredict and libgoocanvas-common (closes: #423144) * Updated desktop and menu files for latest section policies -- Hamish Moffatt Thu, 13 Sep 2007 00:14:34 +1000 gpredict (0.6.1-1) unstable; urgency=low * New upstream release, now for GTK+ 2. * Changed build-dependencies to remove GNOME 1 and GTK 1.2 libraries. * Fixed spelling error in description (closes: #363621) -- Hamish Moffatt Tue, 12 Sep 2006 22:43:33 +1000 gpredict (0.5.3-2) unstable; urgency=low * Fixed category in .desktop ("Ham Radio" -> "HamRadio") * Fixed creation of empty old directory /usr/lib/menu * Updated to standards-revision 3.7.2 -- Hamish Moffatt Sun, 2 Jul 2006 01:19:45 +1000 gpredict (0.5.3-1) unstable; urgency=low * New upstream release * Build-depend on libhamlib-dev (new) | hamlib4-dev (old) * Update to standards-revision 3.6.2 * Add watch file -- Hamish Moffatt Fri, 21 Apr 2006 22:38:21 +1000 gpredict (0.5.1-2) unstable; urgency=low * Rebuild against latest GNOME 1 libraries (linked against libpng12) Thanks to Thomas Bushnell for taking over these libraries. -- Hamish Moffatt Sat, 8 Oct 2005 14:39:35 +1000 gpredict (0.5.1-1) unstable; urgency=low * New upstream release -- Hamish Moffatt Mon, 8 Aug 2005 00:16:39 +1000 gpredict (0.4.0-7) unstable; urgency=low * Rebuild with hamlib3 1.2.4 (updated build-deps) * Updated to Standards-Revision 3.6.1 -- Hamish Moffatt Sun, 10 Apr 2005 13:49:19 +0000 gpredict (0.4.0-6) unstable; urgency=low * Rebuild with hamlib3 * Fix problems compiling with gcc 3.4 (closes: #258748) (thanks to Andrea Jochens for the patch) -- Hamish Moffatt Sun, 12 Dec 2004 23:28:06 +1100 gpredict (0.4.0-5) unstable; urgency=low * NMU to rebuild with latest hamlib. Closes: #276523. -- Joop Stakenborg Tue, 19 Oct 2004 11:23:51 +0200 gpredict (0.4.0-4) unstable; urgency=low * Rebuild with latest hamlib (closes: #238009) -- Hamish Moffatt Wed, 17 Mar 2004 00:15:47 +1100 gpredict (0.4.0-3) unstable; urgency=low * Rebuild with latest hamlib to get proper dependencies (closes: #194603) -- Hamish Moffatt Tue, 27 May 2003 09:10:16 +1000 gpredict (0.4.0-2) unstable; urgency=low * Recompile with hamlib 1.1.4 support -- Hamish Moffatt Sat, 10 May 2003 10:16:17 +1000 gpredict (0.4.0-1) unstable; urgency=low * First release -- Hamish Moffatt Tue, 29 Apr 2003 23:55:34 +1000 debian/compat0000664000000000000000000000000211654443315010374 0ustar 7 debian/gpredict.desktop0000664000000000000000000000026211654443315012372 0ustar [Desktop Entry] Name=GNOME Predict Comment=Satellite tracker Exec=gpredict Icon=gpredict Terminal=false Type=Application Categories=Network;HamRadio;Education;Astronomy;Science; debian/copyright0000664000000000000000000000260511654443315011134 0ustar This is the Debian GNU/Linux package of Gnome Predict. Gnome Predict was written by: Alexandru Csete, , programmer and project administrator. Contributors: - William J Beksi, KC2EXL, Map view. - Dr. T.S. Kelso, the author original SGP4/SDP4 algorithms in FORTRAN and Pascal. - Neoklis Kyriazis, 5B4AZ, conversion of the algorithms to C. - Damon Chaplin is the author of GooCanvas, which is used extensively in gpredict see http://www.dachaplin.dsl.pipex.com/goocanvas/ - Maidenhead locator functions are based on work done by Stephane Fillod, Nate Bargmann, Dave Hines, Mirko Caserta, and S. R. Sampson. Copyright (C) 2001-2009 Alexandru Csete, OZ9AEC. The Debian package was initially created by Hamish Moffatt from sources obtained at: http://sourceforge.net/projects/groundstation This program is free software; you may redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details. A copy of the GNU General Public License is available as /usr/share/common-licenses/GPL in the Debian GNU/Linux distribution. debian/source/0000775000000000000000000000000011654443316010477 5ustar debian/source/format0000664000000000000000000000001411654443315011704 0ustar 3.0 (quilt) debian/menu0000664000000000000000000000025711654443315010071 0ustar ?package(gpredict):needs="X11" section="Applications/Amateur Radio" \ title="gpredict" longtitle="gpredict" \ description="Satellite tracker" \ command="/usr/bin/gpredict" debian/configure.ac0000664000000000000000000000571011654443315011467 0ustar AC_INIT(src/main.c) AM_CONFIG_HEADER(build-config.h) AM_INIT_AUTOMAKE(gpredict, 1.1) AM_MAINTAINER_MODE AC_PROG_INTLTOOL([0.21]) dnl check for programs AC_PROG_CC AC_ISC_POSIX AC_HEADER_STDC AM_PROG_LIBTOOL AC_CHECK_HEADERS([sys/time.h unistd.h getopt.h]) if test "${ac_cv_c_compiler_gnu}" = "yes"; then CFLAGS="${CFLAGS} -Wall" fi dnl check for glib, gtk, and goocanvas libraries pkg_modules="gtk+-2.0 >= 2.12.0, glib-2.0 >= 2.16.0, gthread-2.0 >= 2.14.0, goocanvas >= 0.9, libcurl >= 7.16.0" PKG_CHECK_MODULES(PACKAGE, [$pkg_modules]) AC_SUBST(PACKAGE_CFLAGS) AC_SUBST(PACKAGE_LIBS) dnl Hamlib not needed if we go for the TCP based I/F dnl check for hamlib dnl PKG_CHECK_MODULES(HAMLIB, hamlib, [ dnl CFLAGS="$CFLAGS $HAMLIB_CFLAGS"; dnl LIBS="$LIBS $HAMLIB_LIBS"; dnl havehamlib=true; dnl AC_DEFINE(HAVE_HAMLIB, 1, [Define if hamlib is available]) dnl ], [ dnl havehamlib=false; dnl AC_DEFINE(HAVE_HAMLIB, 0, [Define if hamlib is unvailable]) dnl]) dnl Add the languages which your application supports here. dnl Note that other progs only have ALL_LINGUAS and AM_GLIB_GNU_GETTEXT ALL_LINGUAS="en_GB en_US fr" GETTEXT_PACKAGE=gpredict AC_SUBST(GETTEXT_PACKAGE) AM_GLIB_GNU_GETTEXT AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", "definition of GETTEXT_PACKAGE") dnl compiler flags to enable generating coverage report dnl using gcov AC_ARG_ENABLE(coverage, [ --enable-coverage enable coverge reports],enable_coerage=yes,enable_coverage=no) if test "$enable_coverage" = yes ; then CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"; AC_DEFINE(ENABLE_COV, 1, [Define if code coverage should be enabled.]) fi GLIB_V=`pkg-config --modversion glib-2.0` GIO_V=`pkg-config --modversion gio-2.0` GTHR_V=`pkg-config --modversion gthread-2.0` GDK_V=`pkg-config --modversion gdk-2.0` GTK_V=`pkg-config --modversion gtk+-2.0` GOOC_V=`pkg-config --modversion goocanvas` CURL_V=`pkg-config --modversion libcurl` dnl SQL_V=`pkg-config --modversion sqlite3` dnl if test "$havehamlib" = true ; then dnl HAML_V=`pkg-config --modversion hamlib` dnl fi AC_SUBST(CFLAGS) AC_SUBST(LDFLAGS) AC_OUTPUT([ Makefile doc/Makefile doc/man/gpredict.1 doc/man/Makefile src/Makefile src/sgpsdp/Makefile src/sgpsdp/TR/Makefile pixmaps/Makefile pixmaps/maps/Makefile pixmaps/icons/Makefile data/Makefile data/satdata/Makefile data/trsp/Makefile po/Makefile.in ]) echo echo SUMMARY: echo echo Gpredict version... : $VERSION echo Glib version....... : $GLIB_V echo Gio version........ : $GIO_V echo Gthread version.... : $GTHR_V echo Gdk version........ : $GDK_V echo Gtk+ version....... : $GTK_V echo GooCanvas version.. : $GOOC_V echo Liburl version..... : $CURL_V dnl echo SQLite version..... : $SQL_V dnl if test "$havehamlib" = true ; then dnl echo Hamlib version..... : $HAML_V dnl else dnl echo Hamlib version..... : none dnl fi dnl echo Enable coverage.... : $enable_coverage dnl echo debian/control0000664000000000000000000000347612274310257010610 0ustar Source: gpredict Section: hamradio Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Hamradio Maintainers Uploaders: Hamish Moffatt , Fernando M. Maresca Standards-Version: 3.9.1 Build-Depends: debhelper (>= 7), libhamlib-dev | hamlib-dev (>= 1.2.4), libgtk2.0-dev, libglib2.0-dev, libxml-parser-perl, libcurl4-gnutls-dev | libcurl-dev, libgoocanvas-dev, intltool (>>0.21.0), autotools-dev Package: gpredict Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Satellite tracking program Gpredict is a real time satellite tracking program for GNOME, based on the tracking engine of John Magliacane's excellent satellite tracker Predict. . Gpredict includes the following features: . * Tracking an infinite number of satellites limited only by the physical memory and processing power of the computer. * Display the tracking data in lists, maps, polar plots or any combination of these. * You can have many modules open at the same time, either in a notebook or in their own windows. The module can also run in full-screen mode. * You can use many ground stations. Ground station coordinates can be entered manually or you can get some approximate values from a list with more than 2000 predefined locations worldwide. * Predict upcoming passes for satellites, including passes where a satellite may be visible and communication windows open. * Very detailed information about both the real time data and the predicted passes. * Gpredict can run in real-time, simulated real-time (fast forward and backward), and manual time control. * Doppler tuning of radios via Hamlib rigctld. * Antenna rotator control via Hamlib rotctld. debian/dirs0000664000000000000000000000012711654443315010062 0ustar usr/bin usr/share/menu usr/share/doc/gpredict usr/share/pixmaps usr/share/applications debian/patches/0000775000000000000000000000000011757021646010630 5ustar debian/patches/lp-789691.patch0000664000000000000000000000536511757021321013050 0ustar Description: Patch from hamaa1vs to resolve the application becoming unresponsive when the day or time slider is adjusted. Origin: vendor Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634771 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gpredict/+bug/789691 Reviewed-By: Daniel T Chen --- gpredict-1.3.orig/src/gtk-sat-module-tmg.c +++ gpredict-1.3/src/gtk-sat-module-tmg.c @@ -483,7 +483,6 @@ static void tmg_time_set (GtkWidget *wid gdouble slider; gdouble jd; - /* update time only if we are in manual time control */ if (!mod->throttle && !mod->reset) { @@ -513,7 +512,7 @@ static void tmg_time_set (GtkWidget *wid /* convert UTC time to Julian Date */ if (sat_cfg_get_bool (SAT_CFG_BOOL_USE_LOCAL_TIME)) { /* convert local time to UTC */ - utim = Time_to_UTC (&tim); + Time_to_UTC (&tim, &utim); /* Convert to JD */ jd = Julian_Date (&utim); @@ -814,7 +813,7 @@ static void tmg_cal_add_one_day (GtkSatM /* convert UTC time to Julian Date */ if (sat_cfg_get_bool (SAT_CFG_BOOL_USE_LOCAL_TIME)) { /* convert local time to UTC */ - utim = Time_to_UTC (&tim); + Time_to_UTC (&tim, &utim); /* Convert to JD */ jd = Julian_Date (&utim); @@ -869,7 +868,7 @@ static void tmg_cal_sub_one_day (GtkSatM /* convert UTC time to Julian Date */ if (sat_cfg_get_bool (SAT_CFG_BOOL_USE_LOCAL_TIME)) { /* convert local time to UTC */ - utim = Time_to_UTC (&tim); + Time_to_UTC (&tim, &utim); /* Convert to JD */ jd = Julian_Date (&utim); --- gpredict-1.3.orig/src/sgpsdp/sgp4sdp4.h +++ gpredict-1.3/src/sgpsdp/sgp4sdp4.h @@ -347,7 +347,7 @@ void Time_of_Day(double jd, struct tm double Julian_Date(struct tm *cdate); void Date_Time(double jd, struct tm *cdate); int Check_Date(struct tm *cdate); -struct tm Time_to_UTC(struct tm *cdate); +void Time_to_UTC(struct tm *cdate, struct tm *odate); struct tm Time_from_UTC(struct tm *cdate); double JD_to_UTC(double jt); double JD_from_UTC(double jt); --- gpredict-1.3.orig/src/sgpsdp/sgp_time.c +++ gpredict-1.3/src/sgpsdp/sgp_time.c @@ -241,13 +241,15 @@ Check_Date(struct tm *cdate) /* The procedures JD_to_UTC and JD_from_UTC are used to */ /* do the same thing working directly with Julian dates. */ -struct tm -Time_to_UTC(struct tm *cdate) +void +Time_to_UTC(struct tm *cdate, struct tm *odate) { time_t tdate; - + cdate->tm_year -= 1900; + cdate->tm_isdst = -1; tdate = mktime(cdate); - return( *gmtime(&tdate) ); + gmtime_r(&tdate,odate); + odate->tm_year += 1900; } /*Procedure Time_to_UTC*/ /*------------------------------------------------------------------*/ debian/patches/series0000664000000000000000000000002011757021404012025 0ustar lp-789691.patch