diff options
author | rene <rene@FreeBSD.org> | 2018-12-11 21:02:50 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2018-12-11 21:02:50 +0800 |
commit | a114adb8c0d5b6ac384fc6f78364590c8e455acc (patch) | |
tree | cd29f22d33a798f960e55b15a36127d05436a4db /comms | |
parent | ef30d3f84f82a7167b095ee26979ece23af61e3f (diff) | |
download | freebsd-ports-gnome-a114adb8c0d5b6ac384fc6f78364590c8e455acc.tar.gz freebsd-ports-gnome-a114adb8c0d5b6ac384fc6f78364590c8e455acc.tar.zst freebsd-ports-gnome-a114adb8c0d5b6ac384fc6f78364590c8e455acc.zip |
Remove expired ports:
2018-12-10 net/g2ipmsg: GNOME 2 application
2018-12-10 net/grdesktop: GNOME 2 application
2018-12-10 textproc/gnome-spell: GNOME 2 application
2018-12-10 textproc/sagasu: GNOME 2 application
2018-12-10 deskutils/planner: GNOME 2 application
2018-12-10 deskutils/multisync: GNOME 2 application
2018-12-10 deskutils/drivel: GNOME 2 application
2018-12-10 deskutils/notecase: GNOME 2 application
2018-12-10 deskutils/gtodo: GNOME 2 application
2018-12-10 deskutils/gtweakui: GNOME 2 application
2018-12-10 deskutils/gnotime: GNOME 2 application
2018-12-10 deskutils/gruler: GNOME 2 application
2018-12-10 japanese/gjiten: GNOME 2 application
2018-12-10 graphics/truevision: GNOME 2 application
2018-12-10 graphics/gx: GNOME 2 application
2018-12-10 graphics/amide: GNOME 2 application
2018-12-10 graphics/cbrpager: GNOME 2 application
2018-12-10 www/gurlchecker: GNOME 2 application
2018-12-10 security/gpass: GNOME 2 application
2018-12-10 security/libgnomesu: GNOME 2 application
2018-12-10 security/gnome-gpg: GNOME 2 application
2018-12-10 devel/gnome-vfs-monikers: GNOME 2 application
2018-12-10 ftp/gwget: GNOME 2 application
2018-12-10 print/gribouy: GNOME 2 application
2018-12-10 print/gnomephotoprinter: GNOME 2 application
2018-12-10 print/ggv: GNOME 2 application
2018-12-10 print/gnome-cups-manager: GNOME 2 application
2018-12-10 editors/conglomerate: GNOME 2 application
2018-12-10 misc/gregexp: GNOME 2 application
2018-12-10 science/linsmith: GNOME 2 application
2018-12-10 games/grhino: GNOME 2 application
2018-12-10 games/gnono: GNOME 2 application
2018-12-10 games/gnomekiss: GNOME 2 application
2018-12-10 games/gtktetcolor: GNOME 2 application
2018-12-10 games/gturing: GNOME 2 application
2018-12-10 games/gtetrinet: GNOME 2 application
2018-12-10 games/gdado: GNOME 2 application
2018-12-10 games/monkeybubble: GNOME 2 application
2018-12-10 games/teg: GNOME 2 application
2018-12-10 games/gnomeattacks: GNOME 2 application
2018-12-10 games/gnomebreakout: GNOME 2 application
2018-12-10 x11-clocks/gtubeclock: GNOME 2 application
2018-12-10 x11-clocks/sanduhr: GNOME 2 application
2018-12-10 audio/grip: GNOME 2 application
2018-12-10 audio/jack-rack: GNOME 2 application
2018-12-10 math/gdcalc: GNOME 2 application
2018-12-10 x11/brightside: GNOME 2 application
2018-12-10 x11-fm/gnome-commander2: GNOME 2 application
2018-12-10 multimedia/quark: GNOME 2 application
2018-12-10 astro/celestia-gnome: GNOME 2 application
2018-12-10 comms/gmfsk: GNOME 2 application
2018-12-10 comms/ge-x2212: GNOME 2 application
2018-12-10 comms/efax-gtk: GNOME 2 application
2018-12-10 sysutils/gnome-pkgview: GNOME 2 application
2018-12-10 sysutils/fusefs-gnome-vfs: GNOME 2 application
2018-12-10 sysutils/gai-leds: GNOME 2 application
2018-12-10 sysutils/gnome-device-manager: GNOME 2 application
2018-12-10 sysutils/battfink: GNOME 2 application
2018-12-10 sysutils/cog: GNOME 2 application
2018-12-10 sysutils/gcdmaster: GNOME 2 application
Diffstat (limited to 'comms')
28 files changed, 0 insertions, 1245 deletions
diff --git a/comms/Makefile b/comms/Makefile index 9d2c314e883f..46261bf6c8da 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -39,7 +39,6 @@ SUBDIR += ebook2cwgui SUBDIR += echolinux SUBDIR += efax - SUBDIR += efax-gtk SUBDIR += ems-flasher SUBDIR += fl_moxgen SUBDIR += flcluster @@ -49,10 +48,8 @@ SUBDIR += flwrap SUBDIR += freedv SUBDIR += gammu - SUBDIR += ge-x2212 SUBDIR += geoid SUBDIR += gkermit - SUBDIR += gmfsk SUBDIR += gnocky SUBDIR += gnokii SUBDIR += gnuradio diff --git a/comms/efax-gtk/Makefile b/comms/efax-gtk/Makefile deleted file mode 100644 index 0c421a58d651..000000000000 --- a/comms/efax-gtk/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# Created by: Jean-Baptiste Quenot <jb.quenot@caraldi.com> -# $FreeBSD$ - -PORTNAME= efax-gtk -PORTVERSION= 3.2.13 -PORTREVISION= 8 -CATEGORIES= comms -MASTER_SITES= SF -EXTRACT_SUFX= .src.tgz - -MAINTAINER= ports@FreeBSD.org -COMMENT= GUI frontend for efax program - -LICENSE= GPLv2 - -DEPRECATED= GNOME 2 application -EXPIRATION_DATE= 2018-12-10 - -LIB_DEPENDS= libsigc-1.2.so:devel/libsigc++12 \ - libcxx-gtk-utils-2-2.2.so:x11-toolkits/c++-gtk-utils -RUN_DEPENDS= ggv:print/ggv - -USES= compiler:c++11-lib ghostscript:run pkgconfig -USE_GNOME= gtk20 -GNU_CONFIGURE= yes - -CONFLICTS= efax-[0-9]* - -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -pthread -lintl - -CONFIGURE_ARGS+=--with-gtk-version=gtk2 - -OPTIONS_DEFINE= NLS -OPTIONS_SUB= yes - -NLS_CONFIGURE_OFF= --disable-nls -NLS_USES= gettext - -.include <bsd.port.mk> diff --git a/comms/efax-gtk/distinfo b/comms/efax-gtk/distinfo deleted file mode 100644 index 0b5babf5f938..000000000000 --- a/comms/efax-gtk/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (efax-gtk-3.2.13.src.tgz) = 4d09de4a0c530fe24cf8d8061aae92d5c2e6b8c52120b97be0ad8e4c3b68ac37 -SIZE (efax-gtk-3.2.13.src.tgz) = 1245015 diff --git a/comms/efax-gtk/files/patch-rc b/comms/efax-gtk/files/patch-rc deleted file mode 100644 index c6e38a77aff9..000000000000 --- a/comms/efax-gtk/files/patch-rc +++ /dev/null @@ -1,27 +0,0 @@ ---- efax-gtkrc.orig Sun Sep 7 12:59:42 2003 -+++ efax-gtkrc Sat Mar 6 14:50:54 2004 -@@ -26,13 +26,13 @@ - # ie state it as `ttyS1' or `cua2', etc. With Linux, ttyS0 equates to - # COM 1, ttyS1 to COM 2, and so on - --DEVICE: ttyS1 -+DEVICE: cuaa0 - - - # Put the lock file directory here. If none is given or it is - # commented out, the program defaults to /var/lock. - --LOCK: /var/lock -+LOCK: /var/spool/lock - - - # With efax-0.9 you don't usually need to specify this, as efax will -@@ -128,7 +128,7 @@ - # A4' or '-media Letter' option to select correct paper size. ggv - # and kghosview do this automatically - --PS_VIEWER: gv -+PS_VIEWER: ggv - - - # This specifies whether a socket server is to be run to receive faxes diff --git a/comms/efax-gtk/pkg-descr b/comms/efax-gtk/pkg-descr deleted file mode 100644 index afe613a197d3..000000000000 --- a/comms/efax-gtk/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -This program is a Gtk+/Gtkmm front end for the efax program for receiving and -sending faxes with a fax modem. Any files to be faxed must be in postscript -format, which is the generic printer format for Unix/Linux systems. The -program will use ghostscript to convert these into the Group 3 fax format which -the fax modem will understand. - -WWW: http://efax-gtk.sourceforge.net diff --git a/comms/efax-gtk/pkg-message b/comms/efax-gtk/pkg-message deleted file mode 100644 index 3c4fae0d8bec..000000000000 --- a/comms/efax-gtk/pkg-message +++ /dev/null @@ -1,8 +0,0 @@ -Before sending or receiving faxes, you will need to add users to the 'dialer' -group. - -To be able to use efax-gtk as a virtual printer, go to the CUPS administration -interface and add an entry for socket://localhost:9900/ so that all jobs sent -will be queued in efax-gtk and made available for faxing. For proper -functioning, please ensure that efax-gtk is started and is listening for -connections. diff --git a/comms/efax-gtk/pkg-plist b/comms/efax-gtk/pkg-plist deleted file mode 100644 index 5777450eea7c..000000000000 --- a/comms/efax-gtk/pkg-plist +++ /dev/null @@ -1,28 +0,0 @@ -bin/efax-0.9a -bin/efax-gtk -bin/efix-0.9a -etc/efax-gtkrc -man/man1/efax-gtk.1.gz -man/man1/efax.1.gz -man/man1/efix.1.gz -share/applications/efax-gtk.desktop -%%NLS%%share/locale/bg/LC_MESSAGES/efax-gtk.mo -%%NLS%%share/locale/ca/LC_MESSAGES/efax-gtk.mo -%%NLS%%share/locale/de/LC_MESSAGES/efax-gtk.mo -%%NLS%%share/locale/el/LC_MESSAGES/efax-gtk.mo -%%NLS%%share/locale/en_GB/LC_MESSAGES/efax-gtk.mo -%%NLS%%share/locale/es/LC_MESSAGES/efax-gtk.mo -%%NLS%%share/locale/fr/LC_MESSAGES/efax-gtk.mo -%%NLS%%share/locale/he/LC_MESSAGES/efax-gtk.mo -%%NLS%%share/locale/hu/LC_MESSAGES/efax-gtk.mo -%%NLS%%share/locale/it/LC_MESSAGES/efax-gtk.mo -%%NLS%%share/locale/pl/LC_MESSAGES/efax-gtk.mo -%%NLS%%share/locale/ru/LC_MESSAGES/efax-gtk.mo -%%NLS%%share/locale/sq/LC_MESSAGES/efax-gtk.mo -%%NLS%%share/locale/sv/LC_MESSAGES/efax-gtk.mo -%%NLS%%share/locale/zh_CN/LC_MESSAGES/efax-gtk.mo -%%NLS%%share/locale/zh_TW/LC_MESSAGES/efax-gtk.mo -share/pixmaps/efax-gtk.png -/var/spool/fax/efax-gtk-faxfilter -/var/spool/fax/efax-gtk-socket-client -@dir /var/spool/fax diff --git a/comms/ge-x2212/Makefile b/comms/ge-x2212/Makefile deleted file mode 100644 index dfa004e1f6cd..000000000000 --- a/comms/ge-x2212/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# $FreeBSD$ - -PORTNAME= ge-x2212 -PORTVERSION= 0.0.2010.09.15 -PORTREVISION= 2 -CATEGORIES= comms hamradio -MASTER_SITES= http://members.shaw.ca/swstuff/ \ - LOCAL/makc -DISTNAME= ${PORTNAME}-2-15sept2010 - -MAINTAINER= hamradio@FreeBSD.org -COMMENT= EEPROM programmer for GE Phoenix SX Radios - -DEPRECATED= GNOME 2 application -EXPIRATION_DATE= 2018-12-10 - -USES= pkgconfig -USE_GNOME= libgnomeui -GNU_CONFIGURE= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-2 - -PLIST_FILES= bin/ge-x2212-2 -PORTDOCS= schematic.txt - -OPTIONS_DEFINE= DOCS - -post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${FILESDIR}/schematic.txt ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/comms/ge-x2212/distinfo b/comms/ge-x2212/distinfo deleted file mode 100644 index 669180f8365f..000000000000 --- a/comms/ge-x2212/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (ge-x2212-2-15sept2010.tar.gz) = c1f11a29c32c7b115e178efce0da8564dff3bb5bc154bbb0c68814ea0e0a908b -SIZE (ge-x2212-2-15sept2010.tar.gz) = 225098 diff --git a/comms/ge-x2212/files/patch-src__callbacks.c b/comms/ge-x2212/files/patch-src__callbacks.c deleted file mode 100644 index defa082f8cda..000000000000 --- a/comms/ge-x2212/files/patch-src__callbacks.c +++ /dev/null @@ -1,330 +0,0 @@ ---- ./src/callbacks.c.orig 2010-09-16 00:10:17.000000000 +0000 -+++ ./src/callbacks.c 2012-09-18 15:29:36.554081126 +0000 -@@ -9,6 +9,11 @@ - #include "interface.h" - #include "support.h" - -+#ifdef USE_PPI_DEV -+#include <dev/ppbus/ppi.h> -+#include <dev/ppbus/ppbconf.h> -+#endif -+ - - #ifdef __GLIBC__ - #include <sys/io.h> -@@ -20,6 +25,7 @@ - #define DIRBIT 0x20 - - extern GtkWidget *app1; -+extern gboolean uhf; - - // new port defines to get 0x378 working on lp0 - #define LPTBASE 0x378 -@@ -76,6 +82,36 @@ - "ch09cct", "ch10cct", "ch11cct", "ch12cct", - "ch13cct", "ch14cct", "ch15cct", "ch16cct" }; - -+#ifdef USE_PPI_DEV -+static void ppi_outb(u_int8_t outb_val, int addr) { -+ int outb_action=-1; -+ -+ if(addr==LPTBASE || addr==LPTDAT) -+ outb_action=PPISDATA; -+ else if(addr==LPTSTAT) -+ outb_action=PPISSTATUS; -+ else if(addr==LPTCTRL) -+ outb_action=PPISCTRL; -+ ioctl(fd0, outb_action, &outb_val); -+} -+ -+static u_int8_t ppi_inb(int addr) -+{ -+ u_int8_t ret=0; -+ -+ if(addr==LPTBASE || addr==LPTDAT) -+ ioctl(fd0, PPIGDATA, &ret); -+ else if(addr==LPTSTAT) -+ ioctl(fd0, PPIGSTATUS, &ret); -+ else if(addr==LPTCTRL) -+ ioctl(fd0, PPIGCTRL, &ret); -+ return ret; -+} -+ -+#define outb(v,a) ppi_outb((v),(a)) -+#define inb(a) ppi_inb(a) -+#endif -+ - /* convert 2 ascii chars in hex to a decimal number */ - static int hex2( unsigned char a, unsigned char b) - { -@@ -111,7 +147,9 @@ - /* release parallel port */ - if (fd0 > 0) - close(fd0); -+#ifndef USE_PPI_DEV - ioperm(LPTDAT, 3, 0); -+#endif - } - //===================================================================== - // -@@ -209,6 +247,7 @@ - case 0x03: space = 6250.0; break; - default: fprintf(stderr,"Invalid channel spacing code %d\n",r); - } -+ if(uhf) space *= 3; - - // g_print("ref = %fhz, spacing = %fhz \n",ref,space); - -@@ -736,6 +775,35 @@ - return 0; - } - -+gboolean freq_good(double freq) -+{ -+ if(uhf) -+ return ( freq >= 134.33*3 && freq <= 185.66*3 ); -+ return ( freq >= 136.0 && freq <= 174.0 ); -+} -+ -+int calc_divisor(double freq, double space, gboolean is_rx) -+{ -+ int divisor = (((freq + (is_rx?45.0:0))*1e6) + (space/2.0)) / space; -+ /* Out of range... */ -+ if(divisor > 0xffff || divisor < 0) -+ divisor=0; -+ return divisor; -+} -+ -+double calc_realfreq(int divisor, double space, gboolean is_rx) -+{ -+ return ((divisor * space ) - (is_rx?45e6:0))/1e6; /* in mhz */ -+} -+ -+void fill_ch(unsigned char *chbuff, int divisor) -+{ -+ chbuff[1] = ( divisor & 0x8000) >> 12; -+ chbuff[2] = (divisor & 0x780) >> 7; -+ chbuff[3] = (divisor & 0x7800) >> 11; -+ chbuff[4] = divisor & 0xf; -+ chbuff[5] = ((divisor & 0x30) >> 4) + ((divisor & 0x40) >> 3); -+} - - //===================================================================== - // -@@ -743,15 +811,37 @@ - //===================================================================== - void encoderom( void ) - { -- int i; -+ int i,j; - int chan; -- double freq, realfreq; -+ double realfreq; -+ double rx_freq; -+ double tx_freq; - int divisor; - unsigned char *chbuff; -- -+ double spaces[3]; -+ double errors[3]; -+ int spacecode[3]; -+ int sc_idx; -+ -+ if(uhf) { -+ spaces[0]=12500.0; -+ spaces[1]=15000.0; -+ spaces[2]=18750.0; -+ spacecode[0]=1; -+ spacecode[1]=2; -+ spacecode[2]=3; -+ } -+ else { -+ spaces[0]=5000.0; -+ spaces[1]=12500.0/3.0; -+ spaces[2]=6250.0; -+ spacecode[0]=2; -+ spacecode[1]=1; -+ spacecode[2]=3; -+ } - GtkWidget *wid; - G_CONST_RETURN gchar *txt; -- -+ - /* start with a clean image */ - memset(x2212,0,sizeof(x2212)); - -@@ -778,55 +868,61 @@ - /* single digit conversion */ - x2212[0x40] = hex2bin(txt[0]) - 1; - -- /* number of channels in radio... to do this we need to look */ -- /* at all the rx channels and count any in the range of 136-174 */ -- chan = 0; -- for ( i = 0; i<16; i++ ) -- { -- wid = lookup_widget(app1,rxfreq[i]); -- txt = gtk_entry_get_text((GtkEntry *)wid); -- freq = atof(txt); -- if ( freq >= 136.0 && freq <= 174.0 ) chan++; -- } -- if ( chan < 1 ) -- fprintf(stderr,"Warning, no valid channels found\n"); -- x2212[0x80] = chan - 1; -- -+ chan=0; - /* now lets fill in all the channels */ - for ( i = 0; i<16; i++ ) - { - /* rx freq lookup off the screen */ - wid = lookup_widget(app1,rxfreq[i]); - txt = gtk_entry_get_text((GtkEntry *)wid); -- freq = atof(txt); -+ rx_freq = atof(txt); -+ -+ if ( !freq_good(rx_freq) ) { -+ if(rx_freq > 0) -+ g_printf("Warning, ignoring and removing invalid channel %d\n",i+1); -+ continue; -+ } -+ chan++; -+ if(chan != i+1) -+ g_printf("Warning, channel %d will be renumbered to %d\n",i+1,chan); -+ -+ /* tx freq lookup off the screen */ -+ wid = lookup_widget(app1,txfreq[i]); -+ txt = gtk_entry_get_text((GtkEntry *)wid); -+ tx_freq = atof(txt); -+ -+ for(j=0; j<3; j++) { -+ divisor = calc_divisor(rx_freq, spaces[j], TRUE); -+ realfreq = calc_realfreq(divisor, spaces[j], TRUE); /* in mhz */ -+ errors[j] = fabs(rx_freq-realfreq); -+ divisor = calc_divisor(tx_freq, spaces[j], FALSE); -+ realfreq = calc_realfreq(divisor, spaces[j], FALSE); /* in mhz */ -+ errors[j] += fabs(tx_freq-realfreq)*2; -+ } -+ sc_idx=0; -+ for(j=1; j<3; j++) { -+ if(errors[j] < errors[sc_idx]) -+ sc_idx=j; -+ } -+// if(sc_idx) -+// g_printf("Using non-standard spacing of %fHz for channel %d\n",spaces[sc_idx],i+1); - -- /* 3 gross assumptions!!!, timebomb below */ - ref = 13.2e6; -- space = 5000.0; --#define REFCODE 2 - - /* point to the 8 bytes of rx channel data for specified channel */ -- chbuff = &x2212[0] + (((i+1) % 16) * 16); -+ chbuff = &x2212[0] + ((chan % 16) * 16); - /* there are 20 packed bits of freq info... lets build the numbers */ - - /* fill in info for valid rx channels */ -- if ( freq >= 136.0 && freq <= 174.0 ) -+ if ( freq_good(rx_freq) ) - { -- /* we have a choice of 3 ch spacings when building info */ -- /* for a particular rx and tx channel pair */ -- /* as a start, we assume 5khz will do.. should probably */ -- /* try all 3 and use the one with the least error */ -- divisor = (((freq + 45.0)*1e6) + (space/2.0)) / space; -- realfreq = ((divisor * space ) - 45e6)/1e6; /* in mhz */ -- if ( fabs(freq-realfreq) > 0.001 ) -+ divisor = calc_divisor(rx_freq, spaces[sc_idx], TRUE); -+ realfreq = calc_realfreq(divisor, spaces[sc_idx], TRUE); /* in mhz */ -+ if ( fabs(rx_freq-realfreq) > 0.001 ) - fprintf(stderr,"Warning ch %d freq error: %f <> %fmhz\n", -- i+1,realfreq,freq); -- chbuff[1] = REFCODE + (( divisor & 0x8000) >> 12); -- chbuff[2] = (divisor & 0x780) >> 7; -- chbuff[3] = (divisor & 0x7800) >> 11; -- chbuff[4] = divisor & 0xf; -- chbuff[5] = ((divisor & 0x30) >> 4) + ((divisor & 0x40) >> 3); -- -+ i+1,realfreq,rx_freq); -+ fill_ch(chbuff, divisor); -+ chbuff[1] |= spacecode[sc_idx]; - } - /* fill in the rx cg code (1st 2 digits of entrybox) */ - wid = lookup_widget(app1,rxcg[i]); -@@ -835,28 +931,19 @@ - chbuff[7] = hex2bin(txt[1]); - - /* now fill in the tx info */ -- /* tx freq lookup off the screen */ -- wid = lookup_widget(app1,txfreq[i]); -- txt = gtk_entry_get_text((GtkEntry *)wid); -- freq = atof(txt); -- - /* point to the 8 bytes of tx channel data for specified channel */ -- chbuff = &x2212[0] + (((i+1) % 16) * 16) + 8; -+ chbuff = &x2212[0] + ((chan % 16) * 16) + 8; - /* there are 20 packed bits of freq info... lets build the numbers */ - - /* fill in info for valid tx channels */ -- if ( freq >= 136.0 && freq <= 174.0 ) -+ if ( freq_good(tx_freq) ) - { -- divisor = ((freq*1e6) + (space/2.0)) / space; -- realfreq = divisor * space /1e6; /* in mhz */ -- if ( fabs(freq-realfreq) > 0.001 ) -+ divisor = calc_divisor(tx_freq, spaces[sc_idx], FALSE); -+ realfreq = calc_realfreq(divisor, spaces[sc_idx], FALSE); /* in mhz */ -+ if ( fabs(tx_freq-realfreq) > 0.001 ) - fprintf(stderr,"Warning ch %d freq error: %f <> %fmhz\n", -- i+1,realfreq,freq); -- chbuff[1] = ( divisor & 0x8000) >> 12; -- chbuff[2] = (divisor & 0x780) >> 7; -- chbuff[3] = (divisor & 0x7800) >> 11; -- chbuff[4] = divisor & 0xf; -- chbuff[5] = ((divisor & 0x30) >> 4) + ((divisor & 0x40) >> 3); -+ i+1,realfreq,tx_freq); -+ fill_ch(chbuff, divisor); - } - /* fill in the tx cg code (1st 2 digits of entrybox) */ - wid = lookup_widget(app1,txcg[i]); -@@ -869,6 +956,11 @@ - if (gtk_toggle_button_get_active((GtkToggleButton *)wid)) - chbuff[1] = chbuff[1] + 0x04; - } -+ /* number of channels in radio... to do this we need to look */ -+ /* at all the rx channels and count any in the range of 136-174 */ -+ if ( chan < 1 ) -+ fprintf(stderr,"Warning, no valid channels found\n"); -+ x2212[0x80] = chan - 1; - } - - -@@ -1148,19 +1240,30 @@ - } - - /* to read and write to the parallel port, we need it open as root */ -+#ifdef USE_PPI_DEV -+ fd0 = open("/dev/ppi0", O_RDWR | O_NONBLOCK); -+#else - fd0 = open("/dev/lp0", O_RDWR | O_NONBLOCK); -+#endif - if (fd0 >= 0) - { -+#ifndef USE_PPI_DEV - int stat = ioperm(LPTDAT, 3, 1); - if ( stat == -1 ) - perror("ioperm failed "); -+#endif - } - else - { -+#ifdef USE_PPI_DEV -+ fprintf(stderr,"\n\n*** open on /dev/ppi0 failed...Do you have permission?\n"); -+ perror("/dev/lp0"); -+#else - fprintf(stderr,"\n\n*** open on /dev/lp0 failed...Do you have permission?\n"); - fprintf(stderr,"*** you may need to 'sudo modprobe parport_pc'\n"); - fprintf(stderr,"*** 'sudo ge-x2212-2'\n"); - perror("/dev/lp0"); -+#endif - done(); - } - // g_print("Using port: 0x%x \n", LPTDAT); diff --git a/comms/ge-x2212/files/patch-src__callbacks.h b/comms/ge-x2212/files/patch-src__callbacks.h deleted file mode 100644 index 6d390979ddc5..000000000000 --- a/comms/ge-x2212/files/patch-src__callbacks.h +++ /dev/null @@ -1,11 +0,0 @@ ---- ./src/callbacks.h.orig 2004-09-27 20:13:40.000000000 +0000 -+++ ./src/callbacks.h 2012-09-18 15:29:36.555081225 +0000 -@@ -1,5 +1,8 @@ - #include <gnome.h> - -+#ifdef __FreeBSD__ -+#define USE_PPI_DEV -+#endif - - void - on_new1_activate (GtkMenuItem *menuitem, diff --git a/comms/ge-x2212/files/patch-src__interface.c b/comms/ge-x2212/files/patch-src__interface.c deleted file mode 100644 index 065cce3fb6a6..000000000000 --- a/comms/ge-x2212/files/patch-src__interface.c +++ /dev/null @@ -1,38 +0,0 @@ ---- ./src/interface.c.orig 2010-09-16 00:33:07.000000000 +0000 -+++ ./src/interface.c 2012-09-18 15:29:36.558084978 +0000 -@@ -18,6 +18,8 @@ - #include "interface.h" - #include "support.h" - -+extern gboolean uhf; -+ - #define GLADE_HOOKUP_OBJECT(component,widget,name) \ - gtk_object_set_data_full (GTK_OBJECT (component), name, \ - gtk_widget_ref (widget), (GtkDestroyNotify) gtk_widget_unref) -@@ -267,7 +269,7 @@ - GtkWidget *combo_entry5; - GtkWidget *appbar1; - -- app1 = gnome_app_new ("Ge-x2212-2", "GE Phoenix SX X2212 EEProm programmer (VHF 16ch scan) by Lawrence Glaister VE7IT 15-Sept-2010"); -+ app1 = gnome_app_new ("Ge-x2212-2", uhf?"GE Phoenix SX X2212 EEProm programmer (UHF 16ch scan) by Lawrence Glaister VE7IT 15-Sept-2010":"GE Phoenix SX X2212 EEProm programmer (VHF 16ch scan) by Lawrence Glaister VE7IT 15-Sept-2010"); - - bonobodock1 = GNOME_APP (app1)->dock; - gtk_widget_show (bonobodock1); -@@ -678,7 +680,7 @@ - gtk_table_attach (GTK_TABLE (table1), ch01rx, 1, 2, 1, 2, - (GtkAttachOptions) (0), - (GtkAttachOptions) (0), 2, 2); -- gtk_entry_set_text (GTK_ENTRY (ch01rx), "146.5200"); -+ gtk_entry_set_text (GTK_ENTRY (ch01rx), uhf?"446.0000":"146.5200"); - gtk_entry_set_width_chars (GTK_ENTRY (ch01rx), 9); - - ch02rx = gtk_entry_new (); -@@ -742,7 +744,7 @@ - gtk_table_attach (GTK_TABLE (table1), ch01tx, 3, 4, 1, 2, - (GtkAttachOptions) (0), - (GtkAttachOptions) (0), 2, 2); -- gtk_entry_set_text (GTK_ENTRY (ch01tx), "146.5200"); -+ gtk_entry_set_text (GTK_ENTRY (ch01tx), uhf?"446.0000":"146.5200"); - gtk_entry_set_width_chars (GTK_ENTRY (ch01tx), 9); - - ch02tx = gtk_entry_new (); diff --git a/comms/ge-x2212/files/patch-src__main.c b/comms/ge-x2212/files/patch-src__main.c deleted file mode 100644 index 7c257c2ecd0c..000000000000 --- a/comms/ge-x2212/files/patch-src__main.c +++ /dev/null @@ -1,42 +0,0 @@ ---- ./src/main.c.orig 2004-09-27 05:10:30.000000000 +0000 -+++ ./src/main.c 2012-09-18 15:29:36.559079154 +0000 -@@ -14,14 +14,31 @@ - - /* globval so we can do widget lookups */ - GtkWidget *app1; -+gboolean uhf=FALSE; - - int - main (int argc, char *argv[]) - { -+ gchar **remaining_args = NULL; -+ GOptionEntry option_entries[] = { -+ { "uhf", -+ 'u', -+ 0, -+ G_OPTION_ARG_NONE, -+ &uhf, -+ "Use UHF rather than VHF calculations", -+ NULL -+ }, -+ { NULL } -+ }; -+ GOptionContext *option_context; -+ option_context = g_option_context_new (NULL); -+ g_option_context_add_main_entries (option_context, option_entries, NULL); - - gnome_program_init (PACKAGE, VERSION, LIBGNOMEUI_MODULE, - argc, argv, - GNOME_PARAM_APP_DATADIR, PACKAGE_DATA_DIR, -+ GNOME_PARAM_GOPTION_CONTEXT, option_context, - NULL); - - /* -@@ -31,7 +48,6 @@ - */ - app1 = create_app1 (); - -- - gtk_widget_show (app1); - - gtk_main (); diff --git a/comms/ge-x2212/files/schematic.txt b/comms/ge-x2212/files/schematic.txt deleted file mode 100644 index 8ce41cfcc1c6..000000000000 --- a/comms/ge-x2212/files/schematic.txt +++ /dev/null @@ -1,37 +0,0 @@ - X2212 programmer schematic - -Parallel port X2212 / X22C12 eeprom - -2 (D0) ------------+---------------------------------------- 6 (A0) -3 (D1) ----------+-|---------------------------------------- 5 (A1) -4 (D2) --------+-|-|---------------------------------------- 4 (A2) -5 (D3) ------+-|-|-|---------------------------------------- 3 (A3) -6 (D4) ------|-|-|-|---------------------------------------- 2 (A4) -7 (D5) ------|-|-|-|---------------------------------------- 16 (A5) -8 (D6) ------|-|-|-|---------------------------------------- 17 (A6) -9 (D7) ------|-|-|-|---------------------------------------- 1 (A7) - | | | | +------------+ - | | | +--|3 d0 q0 2|-------+---------------- 12 (D0) - | | +----|4 d1 q1 5|-------|-+-------------- 13 (D1) - | +------|7 d2 q2 6|-------|-|-+------------ 14 (D2) - +--------|8 d3 q3 9|-------|-|-|-+---------- 15 (D3) - +--|1 /OE LE 11|--+ | | | | - | +------------+ | | | | | - | 74xx373 or 374 | | | | | -1 (/C0) -----------+------------------+----|-|-|-|---------- 11 (/WE) - | | | | -15 (S3) -----------------------------------+ | | | -13 (S4) -------------------------------------+ | | -12 (S5) ---------------------------------------+ | -10 (S6) -----------------------------------------+ - -14 (/C1) --------------------------------------------------> 7 (/CS) -16 (C2) --------------------------------------------------> 9 (/STORE) -17 (/C3) --------------------------------------------------> 10 (/RECALL) - -Also connect grounds: pins 18-25 on LPTx -> pin 10 on '373 -> pin 8 on 2212 -Connect 5V to pin 20 on '373, and pin 18 on 2212. If you dont trust your -5v supply, put a 5.1v zener across the X2212 power pins and use a 10ohm -quarter watt resistor in series with the plus supply lead. This may save -the logic chips if you hook it up to 12 volts by mistake (it will certainly -let you know by letting the smoke out of the resistor!). diff --git a/comms/ge-x2212/pkg-descr b/comms/ge-x2212/pkg-descr deleted file mode 100644 index ed4a209d6a0f..000000000000 --- a/comms/ge-x2212/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -This program is a software package for programming the X22C12 EEPROM -in the GE Phoenix SX radios (specifically the VHF and UHF 16 channel -scanning versions). The X2212 is removed from the radio, placed -in the parallel port adaper socket and can be read/written/verified -or archived. The prom contents can be saved in a hex file format -or exported as a text file for printing. Changing frequencies and -channel guard settings is as easy as filling in the blanks. - -WWW: http://members.shaw.ca/swstuff/phoenix2212.html diff --git a/comms/gmfsk/Makefile b/comms/gmfsk/Makefile deleted file mode 100644 index 1a45f16ec991..000000000000 --- a/comms/gmfsk/Makefile +++ /dev/null @@ -1,47 +0,0 @@ -# Created by: Carl Makin <carl@stagecraft.cx> -# $FreeBSD$ - -PORTNAME= gmfsk -PORTVERSION= 0.6 -PORTREVISION= 16 -CATEGORIES= comms audio hamradio -MASTER_SITES= http://gmfsk.connect.fi/ \ - http://he.fi/pub/ham/unix/linux/hfmodems/ \ - LOCAL/db - -MAINTAINER= carl@stagecraft.cx -COMMENT= The Gnome MFSK terminal program - -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING - -DEPRECATED= GNOME 2 application -EXPIRATION_DATE= 2018-12-10 - -LIB_DEPENDS= libfftw.so:math/fftw - -GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -USES_CSTD= gnu89 -USES= gmake pkgconfig pathfix -USE_GNOME= libgnomeui gnomeprefix -INSTALLS_OMF= yes - -GCONF_SCHEMAS= gmfsk.schemas - -CPPFLAGS+= -DFBSD_HAS_LOG2 - -OPTIONS_DEFINE= HAMLIB -HAMLIB_DESC= Enable HAMLIB Support -OPTIONS_DEFAULT= HAMLIB - -HAMLIB_LIB_DEPENDS= libhamlib.so:comms/hamlib -HAMLIB_CONFIGURE_ENABLE= hamlib -HAMLIB_CONFIGURE_ENV= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig - -post-patch: - @${REINPLACE_CMD} -e 's|[$$][(]localstatedir[)]/lib/scrollkeeper|${SCROLLKEEPER_DIR}|g' \ - ${WRKSRC}/omf.make ${WRKSRC}/help/gmfsk/C/Makefile.in - -.include <bsd.port.mk> diff --git a/comms/gmfsk/distinfo b/comms/gmfsk/distinfo deleted file mode 100644 index c0d9da357bbb..000000000000 --- a/comms/gmfsk/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (gmfsk-0.6.tar.gz) = 74a42f32b27684eaa145db3291176d7806a8e446aebd679c6ab384cee81d0c95 -SIZE (gmfsk-0.6.tar.gz) = 540765 diff --git a/comms/gmfsk/files/patch-Makfile.in b/comms/gmfsk/files/patch-Makfile.in deleted file mode 100644 index 13117257f427..000000000000 --- a/comms/gmfsk/files/patch-Makfile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig 2014-06-24 21:35:13.000000000 -0700 -+++ Makefile.in 2014-06-24 21:35:24.000000000 -0700 -@@ -598,8 +598,6 @@ - fi \ - done \ - fi -- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ -- $(GCONFTOOL) --makefile-install-rule $(top_builddir)/gmfsk.schemas - - dist-hook: - if test -d pixmaps; then \ diff --git a/comms/gmfsk/files/patch-help_gmfsk_C_Makefile.in b/comms/gmfsk/files/patch-help_gmfsk_C_Makefile.in deleted file mode 100644 index cbc225933ff6..000000000000 --- a/comms/gmfsk/files/patch-help_gmfsk_C_Makefile.in +++ /dev/null @@ -1,10 +0,0 @@ ---- help/gmfsk/C/Makefile.in.orig 2014-06-24 21:40:46.000000000 -0700 -+++ help/gmfsk/C/Makefile.in 2014-06-24 21:40:55.000000000 -0700 -@@ -383,7 +383,6 @@ - for file in $(omffile); do \ - $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \ - done -- -scrollkeeper-update -p $(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir) - - uninstall-local-omf: - -for file in $(srcdir)/*.omf; do \ diff --git a/comms/gmfsk/files/patch-mt63_dsp.h b/comms/gmfsk/files/patch-mt63_dsp.h deleted file mode 100644 index 2fed48b35150..000000000000 --- a/comms/gmfsk/files/patch-mt63_dsp.h +++ /dev/null @@ -1,21 +0,0 @@ ---- src/mt63/dsp.h.orig Sat Sep 25 10:52:22 2004 -+++ src/mt63/dsp.h Sat Sep 25 10:58:58 2004 -@@ -555,15 +555,15 @@ - inline void LowPass2(typeInp Inp, LowPass2elem &Elem, - typeW W1, typeW W2, typeW W5) - { double Sum, Diff; -- Sum=Elem.Mid+Elem.Out; Diff=Elem.Mid-Elem.Out; Elem.Mid+=W2*Inp-W1*Sum; Out+=W5*Diff; } -+ Sum=Elem.Mid+Elem.Out; Diff=Elem.Mid-Elem.Out; Elem.Mid+=W2*Inp-W1*Sum; Elem.Out+=W5*Diff; } - - template <class typeInp> - inline void LowPass2(typeInp Inp, LowPass2elem &Elem, LowPass2weight &Weight) - { double Sum, Diff; - Sum=Elem.Mid+Elem.Out; - Diff=Elem.Mid-Elem.Out; -- Elem.Mid+=Weight.W2*Inp-Weigth.W1*Sum; -- Out+=Weight.W5*Diff; } -+ Elem.Mid+=Weight.W2*Inp-Weight.W1*Sum; -+ Elem.Out+=Weight.W5*Diff; } - - /* - inline void LowPass2(float Inp, double &Mid, double &Out, diff --git a/comms/gmfsk/files/patch-src_misc_cmplx.h b/comms/gmfsk/files/patch-src_misc_cmplx.h deleted file mode 100644 index 41fa3258d776..000000000000 --- a/comms/gmfsk/files/patch-src_misc_cmplx.h +++ /dev/null @@ -1,181 +0,0 @@ ---- src/misc/cmplx.h.orig 2004-06-22 14:43:31.000000000 -0700 -+++ src/misc/cmplx.h 2014-06-21 03:17:56.000000000 -0700 -@@ -40,10 +40,19 @@ - - typedef fftw_complex complex; - -+#ifdef __OPTIMIZE__ -+#define INLINE_EXTERN static inline -+#else -+#define INLINE_EXTERN extern -+#endif -+ - /* - * Complex multiplication. - */ --extern __inline__ complex cmul(complex x, complex y) -+INLINE_EXTERN complex cmul(complex x, complex y) -+#ifndef __OPTIMIZE__ -+; -+#else - { - complex z; - -@@ -52,11 +61,15 @@ - - return z; - } -+#endif - - /* - * Complex addition. - */ --extern __inline__ complex cadd(complex x, complex y) -+INLINE_EXTERN complex cadd(complex x, complex y) -+#ifndef __OPTIMIZE__ -+; -+#else - { - complex z; - -@@ -65,11 +78,15 @@ - - return z; - } -+#endif - - /* - * Complex subtraction. - */ --extern __inline__ complex csub(complex x, complex y) -+INLINE_EXTERN complex csub(complex x, complex y) -+#ifndef __OPTIMIZE__ -+; -+#else - { - complex z; - -@@ -78,11 +95,15 @@ - - return z; - } -+#endif - - /* - * Complex multiply-accumulate. - */ --extern __inline__ complex cmac(complex *a, complex *b, int ptr, int len) -+INLINE_EXTERN complex cmac(complex *a, complex *b, int ptr, int len) -+#ifndef __OPTIMIZE__ -+; -+#else - { - complex z; - int i; -@@ -99,12 +120,16 @@ - - return z; - } -+#endif - - /* - * Complex ... yeah, what??? Returns a complex number that has the - * properties: |z| = |x| * |y| and arg(z) = arg(y) - arg(x) - */ --extern __inline__ complex ccor(complex x, complex y) -+INLINE_EXTERN complex ccor(complex x, complex y) -+#ifndef __OPTIMIZE__ -+; -+#else - { - complex z; - -@@ -113,51 +138,75 @@ - - return z; - } -+#endif - - /* - * Real part of the complex ??? - */ --extern __inline__ double ccorI(complex x, complex y) -+INLINE_EXTERN double ccorI(complex x, complex y) -+#ifndef __OPTIMIZE__ -+; -+#else - { - return c_re(x) * c_re(y) + c_im(x) * c_im(y); - } -+#endif - - /* - * Imaginary part of the complex ??? - */ --extern __inline__ double ccorQ(complex x, complex y) -+INLINE_EXTERN double ccorQ(complex x, complex y) -+#ifndef __OPTIMIZE__ -+; -+#else - { - return c_re(x) * c_im(y) - c_im(x) * c_re(y); - } -+#endif - - /* - * Modulo (absolute value) of a complex number. - */ --extern __inline__ double cmod(complex x) -+INLINE_EXTERN double cmod(complex x) -+#ifndef __OPTIMIZE__ -+; -+#else - { - return sqrt(c_re(x) * c_re(x) + c_im(x) * c_im(x)); - } -+#endif - - /* - * Square of the absolute value (power). - */ --extern __inline__ double cpwr(complex x) -+INLINE_EXTERN double cpwr(complex x) -+#ifndef __OPTIMIZE__ -+; -+#else - { - return (c_re(x) * c_re(x) + c_im(x) * c_im(x)); - } -+#endif - - /* - * Argument of a complex number. - */ --extern __inline__ double carg(complex x) -+INLINE_EXTERN double carg(complex x) -+#ifndef __OPTIMIZE__ -+; -+#else - { - return atan2(c_im(x), c_re(x)); - } -+#endif - - /* - * Complex square root. - */ --extern __inline__ complex csqrt(complex x) -+INLINE_EXTERN complex csqrt(complex x) -+#ifndef __OPTIMIZE__ -+; -+#else - { - complex z; - -@@ -166,5 +215,6 @@ - - return z; - } -+#endif - - #endif diff --git a/comms/gmfsk/files/patch-src_misc_filter-i386.h b/comms/gmfsk/files/patch-src_misc_filter-i386.h deleted file mode 100644 index 77dc5b39be75..000000000000 --- a/comms/gmfsk/files/patch-src_misc_filter-i386.h +++ /dev/null @@ -1,42 +0,0 @@ ---- src/misc/filter-i386.h.orig 2004-06-16 13:32:13.000000000 -0700 -+++ src/misc/filter-i386.h 2014-06-21 03:22:13.000000000 -0700 -@@ -32,7 +32,16 @@ - - #include <stdio.h> - --extern inline float __mac_g(const float *a, const float *b, unsigned int size) -+#ifdef __OPTIMIZE__ -+#define INLINE_EXTERN static inline -+#else -+#define INLINE_EXTERN extern -+#endif -+ -+INLINE_EXTERN float __mac_g(const float *a, const float *b, unsigned int size) -+#ifndef __OPTIMIZE__ -+; -+#else - { - float sum = 0; - unsigned int i; -@@ -41,8 +50,12 @@ - sum += (*a++) * (*b++); - return sum; - } -+#endif - --extern inline float __mac_c(const float *a, const float *b, unsigned int size) -+INLINE_EXTERN float __mac_c(const float *a, const float *b, unsigned int size) -+#ifndef __OPTIMIZE__ -+; -+#else - { - float f; - -@@ -971,6 +984,7 @@ - return __mac_g(a, b, size); - } - } -+#endif - - /* ---------------------------------------------------------------------- */ - #endif /* _FILTER_I386_H */ diff --git a/comms/gmfsk/files/patch-src_misc_filter.h b/comms/gmfsk/files/patch-src_misc_filter.h deleted file mode 100644 index 83d481fc42fd..000000000000 --- a/comms/gmfsk/files/patch-src_misc_filter.h +++ /dev/null @@ -1,22 +0,0 @@ ---- src/misc/filter.h.orig 2004-04-13 05:43:45.000000000 -0700 -+++ src/misc/filter.h 2014-06-21 03:16:02.000000000 -0700 -@@ -39,7 +39,10 @@ - - - #ifndef __HAVE_ARCH_MAC --extern __inline__ float mac(const float *a, const float *b, unsigned int size) -+INLINE_EXTERN float mac(const float *a, const float *b, unsigned int size) -+#ifndef __OPTIMIZE__ -+; -+#else - { - float sum = 0; - unsigned int i; -@@ -48,6 +51,7 @@ - sum += (*a++) * (*b++); - return sum; - } -+#endif - #endif /* __HAVE_ARCH_MAC */ - - #endif /* __OPTIMIZE__ */ diff --git a/comms/gmfsk/files/patch-src_misc_misc.c b/comms/gmfsk/files/patch-src_misc_misc.c deleted file mode 100644 index 9796be1e2b7d..000000000000 --- a/comms/gmfsk/files/patch-src_misc_misc.c +++ /dev/null @@ -1,20 +0,0 @@ ---- src/misc/misc.c.orig 2004-04-13 05:49:04.000000000 -0700 -+++ src/misc/misc.c 2014-06-21 02:32:50.000000000 -0700 -@@ -101,7 +101,7 @@ - } - - /* ---------------------------------------------------------------------- */ -- -+#ifndef FBSD_HAS_LOG2 - /* - * Integer base-2 logarithm - */ -@@ -118,7 +118,7 @@ - - return y; - } -- -+#endif - /* ---------------------------------------------------------------------- */ - - /* diff --git a/comms/gmfsk/files/patch-src_misc_misc.h b/comms/gmfsk/files/patch-src_misc_misc.h deleted file mode 100644 index 53ef4d3d1068..000000000000 --- a/comms/gmfsk/files/patch-src_misc_misc.h +++ /dev/null @@ -1,235 +0,0 @@ ---- src/misc/misc.h.orig 2004-04-13 05:45:19.000000000 -0700 -+++ src/misc/misc.h 2014-06-21 03:17:38.000000000 -0700 -@@ -27,12 +27,21 @@ - - #include <math.h> - -+#ifdef __OPTIMIZE__ -+#define INLINE_EXTERN static inline -+#else -+#define INLINE_EXTERN extern -+#endif -+ - /* ---------------------------------------------------------------------- */ - - /* - * Hamming weight (number of bits that are ones). - */ --extern inline unsigned int hweight32(unsigned int w) -+INLINE_EXTERN unsigned int hweight32(unsigned int w) -+#ifndef __OPTIMIZE__ -+; -+#else - { - w = (w & 0x55555555) + ((w >> 1) & 0x55555555); - w = (w & 0x33333333) + ((w >> 2) & 0x33333333); -@@ -41,8 +50,12 @@ - w = (w & 0x0000FFFF) + ((w >> 16) & 0x0000FFFF); - return w; - } -+#endif - --extern inline unsigned int hweight16(unsigned short w) -+INLINE_EXTERN unsigned int hweight16(unsigned short w) -+#ifndef __OPTIMIZE__ -+; -+#else - { - w = (w & 0x5555) + ((w >> 1) & 0x5555); - w = (w & 0x3333) + ((w >> 2) & 0x3333); -@@ -50,31 +63,43 @@ - w = (w & 0x00FF) + ((w >> 8) & 0x00FF); - return w; - } -+#endif - --extern inline unsigned int hweight8(unsigned char w) -+INLINE_EXTERN unsigned int hweight8(unsigned char w) -+#ifndef __OPTIMIZE__ -+; -+#else - { - w = (w & 0x55) + ((w >> 1) & 0x55); - w = (w & 0x33) + ((w >> 2) & 0x33); - w = (w & 0x0F) + ((w >> 4) & 0x0F); - return w; - } -+#endif - - /* ---------------------------------------------------------------------- */ - - /* - * Parity function. Return one if `w' has odd number of ones, zero otherwise. - */ --extern inline int parity(unsigned int w) -+INLINE_EXTERN int parity(unsigned int w) -+#ifndef __OPTIMIZE__ -+; -+#else - { - return hweight32(w) & 1; - } -+#endif - - /* ---------------------------------------------------------------------- */ - - /* - * Reverse order of bits. - */ --extern inline unsigned int rbits32(unsigned int w) -+INLINE_EXTERN unsigned int rbits32(unsigned int w) -+#ifndef __OPTIMIZE__ -+; -+#else - { - w = ((w >> 1) & 0x55555555) | ((w << 1) & 0xAAAAAAAA); - w = ((w >> 2) & 0x33333333) | ((w << 2) & 0xCCCCCCCC); -@@ -83,8 +108,12 @@ - w = ((w >> 16) & 0x0000FFFF) | ((w << 16) & 0xFFFF0000); - return w; - } -+#endif - --extern inline unsigned short rbits16(unsigned short w) -+INLINE_EXTERN unsigned short rbits16(unsigned short w) -+#ifndef __OPTIMIZE__ -+; -+#else - { - w = ((w >> 1) & 0x5555) | ((w << 1) & 0xAAAA); - w = ((w >> 2) & 0x3333) | ((w << 2) & 0xCCCC); -@@ -92,21 +121,29 @@ - w = ((w >> 8) & 0x00FF) | ((w << 8) & 0xFF00); - return w; - } -+#endif - --extern inline unsigned char rbits8(unsigned char w) -+INLINE_EXTERN unsigned char rbits8(unsigned char w) -+#ifndef __OPTIMIZE__ -+; -+#else - { - w = ((w >> 1) & 0x55) | ((w << 1) & 0xFF); - w = ((w >> 2) & 0x33) | ((w << 2) & 0xCC); - w = ((w >> 4) & 0x0F) | ((w << 4) & 0xF0); - return w; - } -+#endif - - /* ---------------------------------------------------------------------- */ -- -+#ifndef FBSD_HAS_LOG2 - /* - * Integer base-2 logarithm - */ --extern inline int log2(unsigned int x) -+INLINE_EXTERN int log2(unsigned int x) -+#ifndef __OPTIMIZE__ -+; -+#else - { - int y = 0; - -@@ -119,13 +156,17 @@ - - return y; - } -- -+#endif -+#endif - /* ---------------------------------------------------------------------- */ - - /* - * Gray encoding and decoding (8 bit) - */ --extern inline unsigned char grayencode(unsigned char data) -+INLINE_EXTERN unsigned char grayencode(unsigned char data) -+#ifndef __OPTIMIZE__ -+; -+#else - { - unsigned char bits = data; - -@@ -139,50 +180,75 @@ - - return bits; - } -+#endif - --extern inline unsigned char graydecode(unsigned char data) -+INLINE_EXTERN unsigned char graydecode(unsigned char data) -+#ifndef __OPTIMIZE__ -+; -+#else - { - return data ^ (data >> 1); - } -+#endif - - /* ---------------------------------------------------------------------- */ - - /* - * Hamming window function - */ --extern inline double hamming(double x) -+INLINE_EXTERN double hamming(double x) -+#ifndef __OPTIMIZE__ -+; -+#else - { - return 0.54 - 0.46 * cos(2 * M_PI * x); - } -+#endif - - /* ---------------------------------------------------------------------- */ - - /* - * Sinc etc... - */ --extern inline double sinc(double x) -+INLINE_EXTERN double sinc(double x) -+#ifndef __OPTIMIZE__ -+; -+#else - { - return (fabs(x) < 1e-10) ? 1.0 : (sin(M_PI * x) / (M_PI * x)); - } -+#endif - --extern inline double cosc(double x) -+INLINE_EXTERN double cosc(double x) -+#ifndef __OPTIMIZE__ -+; -+#else - { - return (fabs(x) < 1e-10) ? 0.0 : ((1.0 - cos(M_PI * x)) / (M_PI * x)); - } -+#endif - - /* ---------------------------------------------------------------------- */ - --extern inline float clamp(float x, float min, float max) -+INLINE_EXTERN float clamp(float x, float min, float max) -+#ifndef __OPTIMIZE__ -+; -+#else - { - return (x < min) ? min : ((x > max) ? max : x); - } -+#endif - - /* ---------------------------------------------------------------------- */ - --extern inline float decayavg(float average, float input, float weight) -+INLINE_EXTERN float decayavg(float average, float input, float weight) -+#ifndef __OPTIMIZE__ -+; -+#else - { - return input * (1.0 / weight) + average * (1.0 - (1.0 / weight)); - } -+#endif - - /* ---------------------------------------------------------------------- */ - diff --git a/comms/gmfsk/pkg-descr b/comms/gmfsk/pkg-descr deleted file mode 100644 index 5a7a996c1835..000000000000 --- a/comms/gmfsk/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -gMFSK v0.5 - The Gnome MFSK terminal program -============================================ - -gMFSK is a multi-mode soundcard terminal program for HF amateur -communications. Originally the program was written for compatibility -with the IZ8BLY Stream program in MFSK16 mode. Currently the program -supports the following amateur digital communications modes: MFSK16, -MFSK8, RTTY, THROB, PSK31, PSK63, MT63 and FELDHELL. - -WWW: http://gmfsk.connect.fi/ diff --git a/comms/gmfsk/pkg-message b/comms/gmfsk/pkg-message deleted file mode 100644 index 7d7e5cff3816..000000000000 --- a/comms/gmfsk/pkg-message +++ /dev/null @@ -1,14 +0,0 @@ - -******************************************************************** -gMFSK by Tomi Manninen, OH2BNS, is now installed! - -Start it using the command "gmfsk". You may need to type "rehash" -first. - -Use the Gnome-volume-control or your favourite mixer program -to set your receive and transmit levels. DO NOT OVERDRIVE YOUR RIG. - -Enjoy! -Carl, VK1KCM -carl@stagecraft.cx -******************************************************************** diff --git a/comms/gmfsk/pkg-plist b/comms/gmfsk/pkg-plist deleted file mode 100644 index 0b05ecebfd6c..000000000000 --- a/comms/gmfsk/pkg-plist +++ /dev/null @@ -1,15 +0,0 @@ -bin/gmfsk -share/gnome/help/gmfsk/C/fdl-appendix.xml -share/gnome/help/gmfsk/C/figures/gmfsk_start_window.png -share/gnome/help/gmfsk/C/figures/note.png -share/gnome/help/gmfsk/C/figures/tip.png -share/gnome/help/gmfsk/C/figures/warning.png -share/gnome/help/gmfsk/C/gmfsk.xml -share/gnome/help/gmfsk/C/legal.xml -share/omf/gmfsk/gmfsk-C.omf -share/pixmaps/gmfsk/gnome-screenshot.png -share/pixmaps/gmfsk/mfsk.png -share/pixmaps/gmfsk/pause.xpm -share/pixmaps/gmfsk/rx.xpm -share/pixmaps/gmfsk/tune.xpm -share/pixmaps/gmfsk/tx.xpm |