[134708] trunk/dports/science/gqrx

michaelld at macports.org michaelld at macports.org
Fri Apr 3 09:56:39 PDT 2015


Revision: 134708
          https://trac.macports.org/changeset/134708
Author:   michaelld at macports.org
Date:     2015-04-03 09:56:39 -0700 (Fri, 03 Apr 2015)
Log Message:
-----------
gqrx: update to df629bd5 (20150402); add a patch to completely remove deprecated filterButton code.

Modified Paths:
--------------
    trunk/dports/science/gqrx/Portfile

Added Paths:
-----------
    trunk/dports/science/gqrx/files/patch-remove-filterButton.diff

Modified: trunk/dports/science/gqrx/Portfile
===================================================================
--- trunk/dports/science/gqrx/Portfile	2015-04-03 16:06:07 UTC (rev 134707)
+++ trunk/dports/science/gqrx/Portfile	2015-04-03 16:56:39 UTC (rev 134708)
@@ -21,16 +21,21 @@
     long_description    ${description}  \
         This port is kept up with the Gqrx GIT 'master' branch, is typically updated weekly to monthly, and provides compatibility with the GNU Radio release 3.7 API: the gnuradio and gnuradio-devel ports.  ${description_common}
 
-    github.setup        csete gqrx 4ee2c48ebdefd959e8c19ace04f027535ca39603
-    version             20150331
+    github.setup        csete gqrx df629bd53c2855a4dcc019a188aadf98b5c2ae6e
+    version             20150402
 
-    checksums           rmd160 a77a3c200509cb86cc8e7bb9eab928d34e4e48be \
-                        sha256 ac7751964bd21df3d39252dbd79ae506c0780414e40cece820c9dc8504866610
+    checksums           rmd160 2557d9cdaa39ace73ce2325a3c497b28df0d6160 \
+                        sha256 fcafc295eaefd06368efa8fe24c4bddc7fa0ebd719c99cdcaf4131aa6d6e9b6a
 
     conflicts           gqrx-legacy
 
     patchfiles-append   patch-gqrx.pro.diff
 
+    # temporary patch to remove filterButton code, since it has been
+    # removed as of df629bd5 (2015-Apr-02).
+
+    patchfiles-append   patch-remove-filterButton.diff
+
     # allow gqrx to work with both gnuradio and gnuradio-devel ...
 
     depends_lib-append  port:gr-osmosdr \

Added: trunk/dports/science/gqrx/files/patch-remove-filterButton.diff
===================================================================
--- trunk/dports/science/gqrx/files/patch-remove-filterButton.diff	                        (rev 0)
+++ trunk/dports/science/gqrx/files/patch-remove-filterButton.diff	2015-04-03 16:56:39 UTC (rev 134708)
@@ -0,0 +1,34 @@
+--- qtgui/dockrxopt.cpp.orig
++++ qtgui/dockrxopt.cpp
+@@ -55,7 +55,6 @@ DockRxOpt::DockRxOpt(qint64 filterOffsetRange, QWidget *parent) :
+ #ifdef Q_WS_MAC
+     // Workaround for Mac, see http://stackoverflow.com/questions/3978889/why-is-qhboxlayout-causing-widgets-to-overlap
+     // Might be fixed in Qt 5?
+-    ui->filterButton->setAttribute(Qt::WA_LayoutUsesWidgetRect);
+     ui->modeButton->setAttribute(Qt::WA_LayoutUsesWidgetRect);
+     ui->agcButton->setAttribute(Qt::WA_LayoutUsesWidgetRect);
+     ui->autoSquelchButton->setAttribute(Qt::WA_LayoutUsesWidgetRect);
+@@ -284,13 +283,6 @@ void DockRxOpt::on_filterCombo_activated(int index)
+     emit demodSelected(ui->modeSelector->currentIndex());
+ }
+ 
+-/*! \brief Filter shape (TBC).
+- */
+-void DockRxOpt::on_filterButton_clicked()
+-{
+-
+-}
+-
+ /*! \brief Mode selector activated.
+  *  \param New mode selection.
+  *
+--- qtgui/dockrxopt.h.orig
++++ qtgui/dockrxopt.h
+@@ -155,7 +155,6 @@ signals:
+ private slots:
+     void on_filterFreq_newFrequency(qint64 freq);
+     void on_filterCombo_activated(int index);
+-    void on_filterButton_clicked();
+     void on_modeSelector_activated(int index);
+     void on_modeButton_clicked();
+     void on_agcButton_clicked();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150403/6f45db71/attachment.html>


More information about the macports-changes mailing list