# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name gtksourceview set git_commit 2bd0cd80169dfb576da2974e0d3be7acc8151919 set git_date 20070930 version 1.8.6-${git_date} maintainers nomaintainer categories gnome license GPL-2+ platforms darwin description GtkSourceView is a text widget long_description \ GtkSourceView is a text widget that extends the standard gtk+ 2.x \ text widget GtkTextView. It improves GtkTextView by implementing \ syntax highlighting and other features typical of a source editor. homepage https://wiki.gnome.org/Projects/GtkSourceView fetch.type git git.url -b gtksourceview-1-8 --depth 200 https://gitlab.gnome.org/GNOME/gtksourceview.git git.branch ${git_commit} depends_build port:intltool \ port:pkgconfig \ port:gnome-common \ port:gtk-doc \ port:autoconf \ port:automake \ port:libtool depends_lib path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \ port:gnome-vfs \ port:libxml2 \ port:libgnomeprint \ port:libgnomeprintui \ port:gettext \ port:gnuregex patchfiles patch-configure.in.diff \ patch-glib-2.32.diff \ patch-gconst_return.diff \ patch-gtksourceregex.c.diff \ patch-gtksourcelanguage.c.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh configure.args --enable-compile-warnings=minimum \ --disable-gtk-doc #test-widget.c:186:26: error: format string is not a string literal [-Werror,-Wformat-nonliteral] # tmp = g_strdup_vprintf (msg, ap); # ^~~ #test-widget.c:193:7: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] # tmp); # ^~~ # TODO: fix code rather than suppress fatal error configure.cflags-append \ -Wno-error=format-nonliteral -Wno-error=format-security -Wno-implicit-function-declaration livecheck.type none