Ticket #52993: girl-9.7.1.patch

File girl-9.7.1.patch, 3.7 KB (added by dbevans (David B. Evans), 8 years ago)

Update to girl 9.7.1 using gstreamer1, recording functionality removed, remove +record variant

  • gnome/girl/Portfile

    diff --git a/gnome/girl/Portfile b/gnome/girl/Portfile
    index ed68656..d161c45 100644
    a b  
    33PortSystem          1.0
    44
    55name                girl
    6 version             9.5.1
     6version             9.7.1
    77set branch          [join [lrange [split $version .] 0 1] .]
    88categories          gnome
    99platforms           darwin
    long_description Locate Internet Radio Stations 
    1515homepage            http://people.gnome.org/~ole/girl/
    1616master_sites        gnome:sources/${name}/${branch}/
    1717
    18 checksums           rmd160  50f2554179325c7cb97eff1d9331424dd3661340 \
    19                     sha256  a18b1803600a7f94ff8577276dd7094b858af970262d67486eb8828d4d39bd87
    20 
    2118use_xz              yes
    2219
     20checksums           rmd160  8f855ff39d1998cf53e76471d41a6b626e1f1704 \
     21                    sha256  35cab81d5342b54d2c352d834c75aaea8b6bfbd6e6fe9a26b239a7d59c6f2af7
     22
    2323depends_build       port:pkgconfig \
    2424                    port:intltool \
    2525                    port:gtk-doc \
    depends_lib port:desktop-file-utils \ 
    3636                    port:libgnomeui \
    3737                    port:libxml2 \
    3838                    port:gnome-vfs \
    39                     port:totem \
     39                    port:gstreamer1 \
     40                    port:gstreamer1-gst-plugins-base \
    4041                    port:zlib
    4142
     43depends_run         port:gstreamer1-gst-plugins-good \
     44                    port:gstreamer1-gst-plugins-bad \
     45                    port:gstreamer1-gst-plugins-ugly
     46
    4247# reconfigure using autogen.sh from upstream git for intltool 0.51 compatibility
    4348
    4449post-patch {
    post-patch { 
    4752
    4853configure.cmd       ./autogen.sh
    4954
     55# building with optimization greater than -O0 causes crash on selecting station
     56# https://trac.macports.org/ticket/52993
     57configure.optflags  -O0
    5058configure.args      --disable-silent-rules
    5159
    5260variant debug description {Build with debug symbols and enable debug messages} {
    variant debug description {Build with debug symbols and enable debug messages} { 
    5462    configure.optflags  -O0 -g
    5563}
    5664
    57 variant record description {Enable recording using external streamripper (broken)} {
    58     depends_lib-append      port:streamripper
    59     configure.args-append   --with-recording
    60 }
    61 
    6265post-activate {
    6366   system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
    6467   system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
  • gnome/girl/files/autogen.sh

    diff --git a/gnome/girl/files/autogen.sh b/gnome/girl/files/autogen.sh
    index 452c6c8..b579eac 100644
    a b which gnome-autogen.sh || { 
    1818}
    1919
    2020REQUIRED_AUTOCONF_VERSION=2.59
    21 REQUIRED_AUTOMAKE_VERSION=1.15
     21REQUIRED_AUTOMAKE_VERSION=1.14
    2222REQUIRED_INTLTOOL_VERSION=0.40.0
    2323REQUIRED_PKG_CONFIG_VERSION=0.16.0
    2424REQUIRED_GTK_DOC_VERSION=1.9
  • gnome/girl/files/patch-enable-debug.diff

    diff --git a/gnome/girl/files/patch-enable-debug.diff b/gnome/girl/files/patch-enable-debug.diff
    index f59a2ce..99a06b0 100644
    a b  
    1 --- src/Makefile.am.orig        2016-01-31 02:54:15.000000000 -0800
    2 +++ src/Makefile.am     2016-01-31 02:54:38.000000000 -0800
    3 @@ -36,7 +36,7 @@
     1--- src/Makefile.am.orig        2017-01-17 09:45:54.000000000 -0800
     2+++ src/Makefile.am     2017-01-18 15:50:48.000000000 -0800
     3@@ -44,7 +44,7 @@
    44 girl_CFLAGS  = $(GIRL_CFLAGS) \
    55               -DGIRL_DATADIR=\"$(datadir)/girl\" \
    66               -DDATADIR=\"$(datadir)\" \
    77-              -DGIRL_DEBUG=1 \
    88+              -DGIRL_DEBUG=0 \
    99               -DGIRL_CFG \
    10                -DGIRL_HELPER_PLAYER=\"$(GIRL_HELPER_PLAYER)\" \
    11                -DGIRL_HELPER_RECORD=\"$(GIRL_HELPER_RECORD)\" \
     10               -DGNOMELOCALEDIR=\"$(datadir)/locale\"
     11