Ticket #40461: update-gaw-to-20130801.diff

File update-gaw-to-20130801.diff, 3.1 KB (added by maehne (Torsten Maehne), 11 years ago)

Patch to update gaw

  • Portfile

    diff -puNr gaw.orig/Portfile gaw/Portfile
    old new  
    33
    44PortSystem 1.0
    55
    6 name            gaw
    7 version         20111016
    8 categories      cad
    9 platforms       darwin
    10 license         GPL-2
    11 maintainers     gmx.de:Torsten.Maehne
    12 description     Gtk Analog Wave viewer
    13 long_description \
    14     Gaw is a software tool for displaying analog waveforms from \
    15     sampled data, e.g., from the output of simulators like Spice. Data \
    16     can be imported to gaw using files or direct TCP/IP connections. \
    17     Gaw is based on the Gtk2+ toolkit.
    18 
    19 homepage        http://www.rvq.fr/linux/gaw.php
    20 master_sites    http://download.tuxfamily.org/gaw/download/
    21 
    22 checksums       md5    344bc70737f217451babf69f16a9196f \
    23                         sha1   544a0ccf56a4e86c830d5915b212cb373bb117b6 \
    24                         rmd160 a3e76e129c458abfd220bb3147f632c15becee21
    25 
    26 depends_build   port:pkgconfig
    27 depends_lib     port:gtk2 \
    28                 port:hicolor-icon-theme
    29 depends_run     port:openbrowser
     6name                gaw
     7version             20130801
     8categories          cad
     9platforms           darwin
     10license             GPL-2
     11maintainers         gmx.de:Torsten.Maehne
     12description         Gtk Analog Wave viewer
     13long_description    Gaw is a software tool for displaying analog waveforms \
     14                    from sampled data, e.g., from the output of simulators \
     15                    like Spice. Data can be imported to gaw using files or \
     16                    direct TCP/IP connections. Gaw is based on the \
     17                    Gtk2+ toolkit.
     18
     19homepage            http://www.rvq.fr/linux/gaw.php
     20master_sites        http://download.tuxfamily.org/gaw/download/
     21distname            ${name}2-${version}
     22
     23checksums           md5     2ea388d530176d30be52a1530237f21b \
     24                    sha1    c3d54a320454f3fc5e8fc45db213eaeda3e4f2fd \
     25                    rmd160  aa0e7c95afa1be77b6c84a97863e77f0d9e147cd
     26
     27depends_build       port:pkgconfig
     28depends_lib         port:gtk2 \
     29                    port:hicolor-icon-theme
     30depends_run         port:openbrowser
    3031
    31 patchfiles      patch-src-userprefs.h.diff
     32patchfiles          patch-src-userprefs.h.diff
    3233
    33 configure.args  --enable-gawsound=no
     34configure.args      --enable-gawsound=no
    3435
    3536livecheck.type      regex
    3637livecheck.url       ${master_sites}
    37 livecheck.regex     ${name}-(\[0-9\]+)${extract.suffix}
     38livecheck.regex     ${name}2-(\[0-9\]+)${extract.suffix}
  • files/patch-src-userprefs.h.diff

    diff -puNr gaw.orig/files/patch-src-userprefs.h.diff gaw/files/patch-src-userprefs.h.diff
    old new  
    1 --- src/userprefs.h.orig        2011-10-24 15:36:25.000000000 +0200
    2 +++ src/userprefs.h     2011-10-24 15:44:54.000000000 +0200
    3 @@ -540,7 +540,7 @@
     1--- src/userprefs.h.orig        2013-09-12 11:15:58.000000000 +0200
     2+++ src/userprefs.h     2013-09-12 11:16:49.000000000 +0200
     3@@ -557,7 +557,7 @@ void up_init_defaults(UserPrefs *up)
    44    up->input = 2;    /* correspond to 'Line' on my machine */
    55    up->rate = 48000;
    66    up->duration = 10;