Ticket #42592: patch-hdhomerun_gui_2014Feb22_02.diff

File patch-hdhomerun_gui_2014Feb22_02.diff, 6.7 KB (added by ctreleaven (Craig Treleaven), 10 years ago)

Use Feb22_02 in place of prior version

  • Portfile

    diff -urN -x .DS_Store /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/hdhomerun_gui/Portfile ./Portfile
    old new  
    22# $Id: Portfile 98191 2012-09-28 02:03:19Z ecronin@macports.org $
    33
    44PortSystem          1.0
     5PortGroup           app 1.0
    56
    67name                hdhomerun_gui
    7 version             20120405
     8version             20140121
    89categories          multimedia
    910platforms           darwin
    1011license             GPL-3
    1112maintainers         nomaintainer
    12 description         HDHomeRun GTK GUI
    13 long_description    ${description}
     13description         HDHomeRun configuration utility, GTK GUI
     14long_description    Provides a utility program to access, configure and test \
     15                    HDHomeRun network tuner devices from SiliconDust including viewing \
     16                    live television.  May also be used to upgrade firmware.  Uses GTK \
     17                    graphical environment.
    1418homepage            http://www.silicondust.com/
    1519
    1620master_sites        http://download.silicondust.com/hdhomerun
     
    2125patch.args          -p1
    2226extract.suffix      .tgz
    2327worksrcdir          hdhomerun_config_gui
    24 checksums           rmd160 e0d1b748878a93b569482c685071ed1706aa09ad \
    25                     sha256 a2a9bee89d2911dd15024da53329bccf7cc5f14f801af12f32e50e0b54529ed2
     28checksums           rmd160  1647563fee263f150cc52018c26c33199818946c \
     29                    sha256  56575484578ce5a116a20e342969e41d60ad7db1212eb8c21ed134f14b6efd99
     30
    2631livecheck.type      regex
    2732livecheck.url       http://www.silicondust.com/support/hdhomerun/downloads/
    2833livecheck.regex     Current release: (\[0-9\]+)
    2934
    3035depends_build       port:pkgconfig
    3136depends_lib         port:hdhomerun port:gtk2
    32 # VLC-devel would also be acceptable.  VLC09 is not.  Patch to handle
    33 # this welcome
    34 depends_run         port:VLC
     37depends_run         port:VLC \
     38                    path:bin/Xquartz:xorg-server
    3539
    3640post-patch {
    3741    reinplace "s|@FIRMWARE_DIR@|${prefix}/share/hdhomerun/|g" \
     
    4246        ${worksrcpath}/OSX/Info.plist
    4347}
    4448
    45 post-destroot {
    46     set app_contents \
    47         "${destroot}${applications_dir}/HDHomeRun Config.app/Contents"
     49post-build {
     50# no execute permission, will refuse to run with "Error 126", Permission denied
     51    file attributes ${worksrcpath}/install-sh -permissions +x
     52}
    4853
    49     xinstall -d -m 0755 ${app_contents}/Resources
    50     xinstall -d -m 0755 ${app_contents}/MacOS
     54app.name            HDHomerun
     55app.executable      hdhomerun_config_gui
     56app.icon            ${worksrcpath}/OSX/hdhr.icns
    5157
    52     xinstall -m 0644 ${filespath}/PkgInfo ${app_contents}
    53     xinstall -m 0644 ${worksrcpath}/OSX/Info.plist ${app_contents}
    54     xinstall -m 0644 ${worksrcpath}/OSX/hdhr.icns \
    55         ${app_contents}/Resources
    56     ln -s ${prefix}/bin/hdhomerun_config_gui ${app_contents}/MacOS/
     58post-destroot {
     59# Stop icon from bouncing on dock
     60# see https://trac.macports.org/ticket/40110
     61    reinplace -E {s|(<string>APPL</string>)|\1 <key>LSUIElement</key><string>1</string>|} \
     62        "${destroot}${applications_dir}/HDHomerun.app/Contents/Info.plist"
    5763}
  • files/patch-libhdhomerun.diff

    diff -urN -x .DS_Store /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/multimedia/hdhomerun_gui/files/patch-libhdhomerun.diff ./files/patch-libhdhomerun.diff
    old new  
    1 diff -ur hdhomerun_config_gui.orig/Makefile.in hdhomerun_config_gui/Makefile.in
    2 --- hdhomerun_config_gui.orig/Makefile.in       2011-04-30 18:26:07.000000000 -0400
    3 +++ hdhomerun_config_gui/Makefile.in    2011-04-30 18:29:17.000000000 -0400
    4 @@ -177,7 +177,7 @@
    5  target_alias = @target_alias@
     1diff -ur -x .DS_Store -x '*.orig' hdhomerun_config_gui/Makefile.in hdhomerun_config_gui/Makefile.in
     2--- hdhomerun_config_gui/Makefile.in    2013-03-23 13:22:13.000000000 -0400
     3+++ hdhomerun_config_gui/Makefile.in    2013-12-01 20:38:28.000000000 -0500
     4@@ -182,7 +182,7 @@
     5 top_build_prefix = @top_build_prefix@
    66 top_builddir = @top_builddir@
    77 top_srcdir = @top_srcdir@
    88-SUBDIRS = ../libhdhomerun src po
     
    1010 EXTRA_DIST = \
    1111        autogen.sh \
    1212        hdhomerun_config.glade \
    13 diff -ur hdhomerun_config_gui.orig/src/Makefile.in hdhomerun_config_gui/src/Makefile.in
    14 --- hdhomerun_config_gui.orig/src/Makefile.in   2011-04-30 18:26:07.000000000 -0400
    15 +++ hdhomerun_config_gui/src/Makefile.in        2011-04-30 18:32:04.000000000 -0400
    16 @@ -176,7 +176,6 @@
     13diff -ur -x .DS_Store -x '*.orig' hdhomerun_config_gui/src/Makefile.in hdhomerun_config_gui/src/Makefile.in
     14--- hdhomerun_config_gui/src/Makefile.in        2013-03-23 13:22:13.000000000 -0400
     15+++ hdhomerun_config_gui/src/Makefile.in        2013-12-01 20:37:55.000000000 -0500
     16@@ -181,7 +181,6 @@
    1717 top_builddir = @top_builddir@
    1818 top_srcdir = @top_srcdir@
    1919 INCLUDES = \
     
    2121        -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
    2222        -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
    2323        @PACKAGE_CFLAGS@
    24 @@ -192,7 +191,7 @@
     24@@ -197,7 +196,7 @@
    2525        HDHRConfig.cpp HDHRConfig.h
    2626 
    2727 hdhomerun_config_gui_LDADD = \
     
    3030        @PACKAGE_LIBS@ $(INTLLIBS)
    3131 
    3232 all: all-am
    33 @@ -412,7 +411,7 @@
     33@@ -421,7 +420,7 @@
    3434 
    35  install-dvi: install-dvi-am
     35 install-dvi-am:
    3636 
    3737-install-exec-am: install-binPROGRAMS install-exec-local
    3838+install-exec-am: install-binPROGRAMS
    3939 
    4040 install-html: install-html-am
    4141 
    42 @@ -452,7 +451,7 @@
     42@@ -469,7 +468,7 @@
    4343        distclean-generic distclean-tags distdir dvi dvi-am html \
    4444        html-am info info-am install install-am install-binPROGRAMS \
    4545        install-data install-data-am install-dvi install-dvi-am \
     
    4848        install-html-am install-info install-info-am install-man \
    4949        install-pdf install-pdf-am install-ps install-ps-am \
    5050        install-strip installcheck installcheck-am installdirs \
    51 @@ -461,8 +460,6 @@
    52         tags uninstall uninstall-am uninstall-binPROGRAMS
     51@@ -479,14 +478,6 @@
     52        uninstall-local
    5353 
    5454 
    5555-install-exec-local:
    56 -       $(INSTALL) ../../libhdhomerun/libhdhomerun.so $(libdir)
     56-       test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
     57-       $(INSTALL) ../../libhdhomerun/libhdhomerun.so $(DESTDIR)$(libdir)
     58-       $(INSTALL) ../../libhdhomerun/hdhomerun_config $(DESTDIR)$(bindir)
     59-
     60-uninstall-local:
     61-       -rm -f "$(DESTDIR)$(libdir)/libhdhomerun.so"
     62-       -rm -f "$(DESTDIR)$(bindir)/hdhomerun_config"
    5763 # Tell versions [3.59,3.63) of GNU make to not export all variables.
    5864 # Otherwise a system limit (for SysV at least) may be exceeded.
    5965 .NOEXPORT: