Ticket #40493: Portfile-yelp.diff
File Portfile-yelp.diff, 2.8 KB (added by c.herbig@…, 11 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name yelp 7 version 2.31.6 8 revision 1 7 version 3.8.1 9 8 license GPL-2 10 9 set branch [join [lrange [split ${version} .] 0 1] .] 11 10 description Help browser for GNOME. … … 20 19 homepage http://www.gnome.org/ 21 20 master_sites gnome:sources/${name}/${branch}/ 22 21 23 use_ bzip2yes22 use_xz yes 24 23 25 checksums sha256 9f6080b79cbf4b73d682c47088b7320c871ae5c3ee3d38c86aa83321b444dede\26 rmd160 5eddca1e9f63982f6158c060537900f9e13722d324 checksums rmd160 c441d4cde423079da6754aff6aef3fb30f4dddba \ 25 sha256 73b3941316194dea8ea7d1d2b1f6612424c5d80ee1871ef627455893ad15606e 27 26 28 27 depends_build port:pkgconfig \ 29 28 port:intltool \ 30 port:gnome-common \ 31 port:gnome-doc-utils 29 port:itstool 32 30 33 31 depends_lib port:desktop-file-utils \ 34 port:gconf \ 35 port:startup-notification \ 32 port:gtk3 \ 33 port:webkit-gtk3 \ 34 port:sqlite3 \ 36 35 port:xz \ 37 port:pangox-compat \ 38 port:webkit-gtk \ 36 port:bzip2 \ 39 37 port:yelp-xsl 40 38 41 39 # … … 45 43 46 44 depends_run port:gnome-user-docs 47 45 48 patchfiles patch-src-yelp-application.c.diff \49 patch-yelp.desktop.in.in.diff \50 patch-configure.ac.diff51 52 #53 # compiling yelp-2.31.6 with -O1 or higher produces a binary that segfaults on startup54 # TODO: find out why55 #56 configure.optflags-delete -Os -O1 -O2 -O357 58 use_autoreconf yes59 autoreconf.args -fvi60 61 46 configure.args --x-includes=${prefix}/include \ 62 47 --x-libraries=${prefix}/lib \ 63 --with-x \64 48 --disable-schemas-compile \ 65 49 --disable-silent-rules \ 66 50 --enable-debug 67 51 68 # This is masking a real bug which should be fixed... 69 configure.cflags-append -Wno-error=return-type 52 patchfiles patch-libyelp-yelp-view.c.diff \ 53 patch-src-yelp-application.c.diff 54 55 variant quartz { 56 configure.args-delete --x-includes=${prefix}/include \ 57 --x-libraries=${prefix}/lib 58 } 59 60 post-destroot { 61 set gsettingsschemadir ${prefix}/share/glib-2.0/schemas 62 file mkdir ${destroot}${gsettingsschemadir} 63 file copy [glob ${worksrcpath}/data/*.gschema.xml] ${destroot}${gsettingsschemadir} 64 } 70 65 71 66 post-activate { 72 67 system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" 73 68 system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" 74 69 } 75 70 76 livecheck.type gnome -with-unstable71 livecheck.type gnome