debian/0000755000000000000000000000000011577267130007177 5ustar debian/control0000644000000000000000000000077011577427617010616 0ustar Source: gpsk31 Section: hamradio Priority: optional Maintainer: Debian QA Group Build-Depends: debhelper (>= 7.0.50~), libgtk2.0-dev, autotools-dev Standards-Version: 3.9.2 Homepage: http://aintel.bi.ehu.es/psk31.html Package: gpsk31 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: GTK-based psk31 This is a PSK31 transmission mode program using the sound card and optionally serial port to PTT the RIG. It has nice functions and listen very well. debian/gpsk31.docs0000644000000000000000000000001511371266140011145 0ustar TODO AUTHORS debian/patches/0000755000000000000000000000000011577217624010631 5ustar debian/patches/deprecated_GTK.patch0000644000000000000000000000647211371271746014465 0ustar Description: Replace deprecated GTK macro with related function Bug-Debian: http://bugs.debian.org/577375 Index: gpsk31-0.5/src/call_dialog.C =================================================================== --- gpsk31-0.5.orig/src/call_dialog.C 2010-05-08 16:18:33.771933160 +0200 +++ gpsk31-0.5/src/call_dialog.C 2010-05-08 16:18:48.000000000 +0200 @@ -375,7 +375,7 @@ void toggle_call_dialog () { // The Dialog is Visible, we save the coordinates and hide it - if (GTK_WIDGET_VISIBLE(qso_dialog.window)) + if (gtk_widget_get_visible(qso_dialog.window)) { gdk_window_get_root_origin (qso_dialog.window->window, &x, &y); check_menu("/MainMenu/WindowMenu/Details", 0); Index: gpsk31-0.5/src/main.C =================================================================== --- gpsk31-0.5.orig/src/main.C 2010-05-08 16:18:33.859924158 +0200 +++ gpsk31-0.5/src/main.C 2010-05-08 16:18:48.000000000 +0200 @@ -200,8 +200,8 @@ /* Receiving...... */ draw_scope (rxinfo.phdelta, rxinfo.strength, rxinfo.dcd); /* Update RX freq spin button */ - if (!GTK_WIDGET_HAS_FOCUS (main_screen.rx_freq) && - !GTK_WIDGET_HAS_FOCUS (main_screen.tx_freq)) + if (!gtk_widget_has_focus (main_screen.rx_freq) && + !gtk_widget_has_focus (main_screen.tx_freq)) { if ((rxfreq - rxfreqOld) > .05 || rxfreqOld - rxfreq > .05) { Index: gpsk31-0.5/src/main_screen.C =================================================================== --- gpsk31-0.5.orig/src/main_screen.C 2010-05-08 16:23:30.311930918 +0200 +++ gpsk31-0.5/src/main_screen.C 2010-05-08 16:23:26.811925447 +0200 @@ -77,7 +77,7 @@ expose_event_phase_scope (GtkWidget * widget, GdkEventExpose * event) { gdk_draw_drawable (widget->window, - widget->style->fg_gc[GTK_WIDGET_STATE (widget)], + widget->style->fg_gc[gtk_widget_get_state (widget)], main_screen.phase_scope, event->area.x, event->area.y, event->area.x, event->area.y, @@ -108,7 +108,7 @@ { if (display_waterfall==0) { gdk_draw_drawable (widget->window, - widget->style->fg_gc[GTK_WIDGET_STATE (widget)], + widget->style->fg_gc[gtk_widget_get_state (widget)], main_screen.spectrum, event->area.x, event->area.y, event->area.x, event->area.y, Index: gpsk31-0.5/src/phasescope.C =================================================================== --- gpsk31-0.5.orig/src/phasescope.C 2010-05-08 16:23:29.727934441 +0200 +++ gpsk31-0.5/src/phasescope.C 2010-05-08 16:23:26.839926096 +0200 @@ -144,7 +144,7 @@ gdk_draw_drawable (main_screen.phase_drawing->window, main_screen.phase_drawing-> - style->fg_gc[GTK_WIDGET_STATE (main_screen.phase_drawing)], + style->fg_gc[gtk_widget_get_state (main_screen.phase_drawing)], main_screen.phase_scope, 0, 0, 0, 0, 100, 100); Index: gpsk31-0.5/src/spectrum.C =================================================================== --- gpsk31-0.5.orig/src/spectrum.C 2010-05-08 16:23:29.967924899 +0200 +++ gpsk31-0.5/src/spectrum.C 2010-05-08 16:23:26.875926484 +0200 @@ -270,7 +270,7 @@ gdk_draw_drawable (main_screen.spectrum_drawing->window, main_screen.spectrum_drawing-> - style->fg_gc[GTK_WIDGET_STATE + style->fg_gc[gtk_widget_get_state (main_screen.spectrum_drawing)], main_screen.spectrum, 0, 0, 0, 0, SPECTRUM_WIDTH, SPECTRUM_HEIGHT); debian/patches/MSG_MORE.patch0000644000000000000000000000112511371270665013115 0ustar Description: Only pass MSG_MORE if it's defined Bug-Debian: http://bugs.debian.org/557160 Index: gpsk31-0.5/src/socketif.C =================================================================== --- gpsk31-0.5.orig/src/socketif.C 2010-05-08 16:08:35.883920752 +0200 +++ gpsk31-0.5/src/socketif.C 2010-05-08 16:08:32.075934694 +0200 @@ -186,7 +186,13 @@ int tcp_send(char *buf, int len) { int sts; - sts = send(stream_fd, buf, len, MSG_MORE); + int flags; +#ifdef MSG_MORE + flags = MSG_MORE; +#else + flags = 0; +#endif + sts = send(stream_fd, buf, len, flags); return sts; } debian/patches/series0000644000000000000000000000012211577217661012042 0ustar MSG_MORE.patch deprecated_GTK.patch disable_gtk_deprecated hint_snd_pcm_oss.patch debian/patches/hint_snd_pcm_oss.patch0000644000000000000000000000077011577225164015205 0ustar Description: Add hint for loading snd_pcm_oss kernel module Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626043 --- gpsk31-0.5/src/server-main.C.orig 2008-06-27 16:50:08.000000000 +0200 +++ gpsk31-0.5/src/server-main.C 2011-05-08 10:18:35.000000000 +0200 @@ -256,6 +256,7 @@ if (audiofd < 0) { fprintf (stderr, "init_audio: can't open %s\n", audio_path); + fprintf(stderr, "Hint: you might want to try to load snd_pcm_oss kernel module\n"); return -1; } debian/patches/disable_gtk_deprecated0000644000000000000000000000237211550270323015172 0ustar Description: Remove G{D,T}K_DISABLE_DEPRECATED flag from CFLAGS (quick fix) Author: Ralf Treinen Debian-Bug: 621995 Index: gpsk31-0.5/src/Makefile.am =================================================================== --- gpsk31-0.5.orig/src/Makefile.am 2011-04-10 10:52:41.000000000 +0200 +++ gpsk31-0.5/src/Makefile.am 2011-04-10 10:55:28.000000000 +0200 @@ -14,7 +14,7 @@ INCLUDES = @GTK_CFLAGS@ \ -DPIXMAPDIR=\"$(appicondir)\" -DDATADIR=\"$(pkgdatadir)\" \ - -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED \ - -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED + -DG_DISABLE_DEPRECATED \ + -DGDK_PIXBUF_DISABLE_DEPRECATED LDADD = @GTK_LIBS@ Index: gpsk31-0.5/src/Makefile.in =================================================================== --- gpsk31-0.5.orig/src/Makefile.in 2011-04-10 10:52:41.000000000 +0200 +++ gpsk31-0.5/src/Makefile.in 2011-04-10 10:55:27.000000000 +0200 @@ -175,8 +175,8 @@ appicondir = $(datadir)/pixmaps INCLUDES = @GTK_CFLAGS@ \ -DPIXMAPDIR=\"$(appicondir)\" -DDATADIR=\"$(pkgdatadir)\" \ - -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED \ - -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED + -DG_DISABLE_DEPRECATED \ + -DGDK_PIXBUF_DISABLE_DEPRECATED LDADD = @GTK_LIBS@ all: all-am debian/changelog0000644000000000000000000001140011577431123011040 0ustar gpsk31 (0.5-6) unstable; urgency=low * QA upload. * Add hint for loading snd_pcm_oss. Closes: #626043 + Thanks to Nemeth Marton for the patch. * debian/control + Bumped standard versions 3.9.2 (no changes) * Switch from override_* targets to files in debian/ * Added Homepage field -- Daniel Echeverry Sat, 18 Jun 2011 16:57:48 -0500 gpsk31 (0.5-5) unstable; urgency=low * QA upload * patch disable_gtk_deprecated: Remove G{D,T}K_DISABLE_DEPRECATED flag from CFLAGS (closes: #621995). -- Ralf Treinen Sun, 10 Apr 2011 10:51:14 +0200 gpsk31 (0.5-4) unstable; urgency=low * QA upload. * Switch to debhelper 7. * Switch to format 3.0 (quilt). * Bump Standards-Version to 3.8.4. * debian/patches/MSG_MORE.patch: - Convert fix from last upload in this patch. * debian/patches/deprecated_GTK.patch: - Replace deprecated GTK macro with related function (Closes: #577375). -- Luca Falavigna Sat, 08 May 2010 15:58:48 +0200 gpsk31 (0.5-3) unstable; urgency=low * QA upload. * Fix FTBFS on GNU/kFreeBSD (Closes: #557160): only pass MSG_MORE if it's defined. It might not be sufficient to get a working package on GNU/kFreeBSD, bug reports are (as always) welcome. * Tweak config.{guess,sub} handling: - Unconditionally copy them before configure (there's autotools-dev in Build-Depends already). - Remove them in the clean target to keep the Debian diff clean. -- Cyril Brulebois Mon, 21 Dec 2009 10:38:58 +0100 gpsk31 (0.5-2) unstable; urgency=low * Retiring - set the package maintainer to Debian QA Group. -- Joop Stakenborg Sun, 01 Nov 2009 19:23:30 +0000 gpsk31 (0.5-1) unstable; urgency=low * New upstream release * Update standards version -- Joop Stakenborg Sun, 29 Jun 2008 20:18:59 +0200 gpsk31 (0.4.2-1) unstable; urgency=low * New upstream release -- Joop Stakenborg Thu, 29 May 2008 19:36:12 +0200 gpsk31 (0.4.1-1) unstable; urgency=low * New upstream release. -- Joop Stakenborg Mon, 21 Apr 2008 23:29:18 +0200 gpsk31 (0.3.2-1) unstable; urgency=low * New upstream release. * Fixes buffer overflow reading config file. Closes: #466850. * New maintainer. * Add Uploaders field to the control file with Carlos Barros, who is the previous maintainer and me (upstream maintainer). * Menu transition. * Several lintian fixes. * Remove debian manual page, is now provided upstream. * Remove README from the docs, it is provided upstream in /usr/share/gpsk31 and also available through the Help menu. -- Joop Stakenborg Mon, 25 Feb 2008 21:29:36 +0100 gpsk31 (0.3-1) unstable; urgency=low * New upstream version, closes: #363560. -- Carlos Barros Wed, 10 May 2006 21:30:46 +0200 gpsk31 (0.2.99-1) unstable; urgency=low * New upstream maintainer Joop Stakenborg PG4I. * Fix FTBFS on GNU/kFreeBSD, closes: #336917. * Trying to close a previous fixed bug report, closes: #117073. -- Carlos Barros Thu, 22 Dec 2005 21:30:46 +0100 gpsk31 (0.2.4a-7) unstable; urgency=low * Closes: #119923: Adopting NMU fixes. * Closes: #260910: Changed manual to document options. * Closes: #260902: Fixed message "unable to open file". * Closes: #260912: Removed file /usr/share/doc/gpsk31/gpsk31.conf. * Closes: #266946: Applied patch to fix FTBFS with gcc/g++ 3.4. -- Carlos Barros Sat, 4 Dec 2004 21:40:46 +0100 gpsk31 (0.2.4a-6.1) unstable; urgency=low * Non-maintainer upload during BSP * Update config.sub,config.guess again as these updates seems to have been lost (Closes: #119923) -- Frank Lichtenheld Sat, 20 Mar 2004 00:58:11 +0100 gpsk31 (0.2.4a-6) unstable; urgency=low * Packaging with a newer gcc/g++. -- Carlos Barros Fri, 13 Feb 2004 14:40:46 +0100 gpsk31 (0.2.4a-5) unstable; urgency=low * Closing fixed bugs. Closes: #119923, #117073. -- Carlos Barros Tue, 23 Apr 2002 21:45:14 -0300 gpsk31 (0.2.4a-4) unstable; urgency=low * update the manpage and change it name to gpsk31.1.gz instead of manpage.1.gz . -- Carlos Barros Tue, 4 Dec 2001 01:50:31 -0300 gpsk31 (0.2.4a-3) unstable; urgency=low * Update config.{guess,sub} (closes: Bug#119923) * make it compile under gcc 3.0 (closes: Bug#117703) -- Carlos Barros Tue, 4 Dec 2001 00:33:01 -0300 gpsk31 (0.2.4a-2) unstable; urgency=low * Lintian clean. -- Carlos Barros Mon, 13 Aug 2001 22:52:51 -0300 gpsk31 (0.2.4a-1) unstable; urgency=low * Initial Release. -- Carlos Barros Fri, 10 Aug 2001 21:54:20 -0300 debian/compat0000644000000000000000000000000211371266621010371 0ustar 7 debian/copyright0000644000000000000000000000246011371266140011124 0ustar This package was debianized by Carlos Barros on Thu, 22 Dec 2005 21:30:56 +0000. It was downloaded from http://pg4i.chronos.org.uk/download Copyright Holder: Luc Langehegermann, LX2GT Hansi Reiser, DL9RDZ Joop Stakenborg, PG4I License, from src/main.C: /* gpsk31 - PSK31 for Linux with a GTK+ Interface * Copyright (C) 2000 Luc Langehegermann, LX2GT * Copyright (C) 2005 Joop Stakenborg, PG4I * * This program is free software; you can 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 of * the License, or (at your option) any later version. * * This program 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. * * You should have received a copy of the GNU General Public * License along with this program; if not, write to the Free * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, * MA 02110-1301 USA */ Both gpsk31 and the Debian packaging work are licensed under the GNU General Public License version 2, which can be found in `/usr/share/common-licenses/GPL-2'. debian/gpsk31.menu0000644000000000000000000000015611371266140011167 0ustar ?package(gpsk31):needs="X11" section="Applications/Amateur Radio"\ title="gpsk31" command="/usr/bin/gpsk31" debian/source/0000755000000000000000000000000011371267473010501 5ustar debian/source/format0000644000000000000000000000001411371267473011707 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000056611577235400010261 0ustar #!/usr/bin/make -f %: dh $@ override_dh_clean: dh_clean config.guess config.sub override_dh_auto_configure: cp -f /usr/share/misc/config.guess . cp -f /usr/share/misc/config.sub . CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info