Ticket #50476: patch-girl.diff
File patch-girl.diff, 2.2 KB (added by dbevans (David B. Evans), 9 years ago) |
---|
-
Portfile
21 21 22 22 use_xz yes 23 23 24 depends_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 24 33 depends_lib port:streamripper \ 34 port:desktop-file-utils \ 25 35 port:gtk2 \ 26 p ort:glib2 \36 path:lib/pkgconfig/glib-2.0.pc:glib2 \ 27 37 port:libgnome \ 28 38 port:libgnomeui \ 29 39 port:libxml2 \ … … 31 41 port:totem \ 32 42 port:zlib 33 43 34 livecheck.type gnome 44 # reconfigure using upstream autogen.sh for intltool 0.51 compatibility 35 45 46 post-patch { 47 xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} 48 } 49 50 configure.cmd ./autogen.sh 51 36 52 configure.args --with-recording \ 37 53 --disable-silent-rules \ 38 54 --mandir=${prefix}/share/man 55 56 post-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 61 livecheck.type gnome -
files/autogen.sh
1 #!/bin/sh 2 # Run this to generate all the initial makefiles, etc. 3 4 srcdir=`dirname $0` 5 test -z "$srcdir" && srcdir=. 6 7 PKG_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 15 which gnome-autogen.sh || { 16 echo "You need to install gnome-common from the GNOME CVS" 17 exit 1 18 } 19 20 REQUIRED_AUTOCONF_VERSION=2.59 21 REQUIRED_AUTOMAKE_VERSION=1.15 22 REQUIRED_INTLTOOL_VERSION=0.40.0 23 REQUIRED_PKG_CONFIG_VERSION=0.16.0 24 REQUIRED_GTK_DOC_VERSION=1.9 25 USE_GNOME2_MACROS=1 . gnome-autogen.sh