Ticket #50476: patch-girl.diff

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

Patch with suggested changes to port girl

  • Portfile

     
    2121
    2222use_xz              yes
    2323
     24depends_build       port:pkgconfig \
     25                    port:intltool \
     26                    port:gtk-doc \
     27                    port:gnome-common \
     28                    port:autoconf \
     29                    port:automake \
     30                    port:yelp-tools \
     31                    port:itstool
     32
    2433depends_lib         port:streamripper \
     34                    port:desktop-file-utils \
    2535                    port:gtk2 \
    26                     port:glib2 \
     36                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
    2737                    port:libgnome \
    2838                    port:libgnomeui \
    2939                    port:libxml2 \
     
    3141                    port:totem \
    3242                    port:zlib
    3343
    34 livecheck.type      gnome
     44# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
    3545
     46post-patch {
     47    xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
     48}
     49
     50configure.cmd       ./autogen.sh
     51
    3652configure.args      --with-recording \
    3753                    --disable-silent-rules \
    3854                    --mandir=${prefix}/share/man
     55
     56post-activate {
     57   system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
     58   system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
     59}
     60
     61livecheck.type      gnome
  • files/autogen.sh

     
     1#!/bin/sh
     2# Run this to generate all the initial makefiles, etc.
     3
     4srcdir=`dirname $0`
     5test -z "$srcdir" && srcdir=.
     6
     7PKG_NAME="girl"
     8
     9(test -f $srcdir/src/girl.c) || {
     10    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
     11    echo " top-level $PKG_NAME directory"
     12    exit 1
     13}
     14
     15which gnome-autogen.sh || {
     16    echo "You need to install gnome-common from the GNOME CVS"
     17    exit 1
     18}
     19
     20REQUIRED_AUTOCONF_VERSION=2.59
     21REQUIRED_AUTOMAKE_VERSION=1.15
     22REQUIRED_INTLTOOL_VERSION=0.40.0
     23REQUIRED_PKG_CONFIG_VERSION=0.16.0
     24REQUIRED_GTK_DOC_VERSION=1.9
     25USE_GNOME2_MACROS=1 . gnome-autogen.sh