2018-06-24 12:25:02 +02:00
|
|
|
# $NetBSD: Makefile,v 1.44 2018/06/24 10:25:02 wiz Exp $
|
2012-08-31 21:43:49 +02:00
|
|
|
|
2018-06-24 12:25:02 +02:00
|
|
|
DISTNAME= gtksourceview-3.24.8
|
2012-08-31 21:43:49 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/gtksourceview/gtksourceview3/}
|
2014-02-12 02:07:01 +01:00
|
|
|
CATEGORIES= x11 gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtksourceview/${PKGVERSION_NOREV:R}/}
|
2012-08-31 21:43:49 +02:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
|
|
|
|
MAINTAINER= prlw1@cam.ac.uk
|
2014-11-23 14:46:07 +01:00
|
|
|
HOMEPAGE= https://wiki.gnome.org/Projects/GtkSourceView
|
2018-03-11 21:24:17 +01:00
|
|
|
COMMENT= Text widget that extends GTK3's GtkTextView widget (v3)
|
2014-11-23 14:46:07 +01:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
2012-08-31 21:43:49 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS+= gmake gsed intltool msgfmt pkg-config
|
|
|
|
USE_PKGLOCALEDIR= yes
|
2014-02-12 12:07:18 +01:00
|
|
|
#CONFIGURE_ARGS+= --disable-deprecations
|
2013-12-12 02:28:45 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-maintainer-mode
|
2014-11-23 14:46:07 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-vala
|
2012-08-31 21:43:49 +02:00
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= gtksourceview-3.0.pc.in
|
|
|
|
|
2017-06-25 14:05:59 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gtksourceview3
|
|
|
|
PKG_SUPPORTED_OPTIONS= introspection
|
|
|
|
PKG_SUGGESTED_OPTIONS= introspection
|
|
|
|
PLIST_VARS+= introspection
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
Update gtksourceview3 to 3.20.1
News in 3.20.1
--------------
* Improvements to style schemes
* Export missing public methods
* Translation updates
News in 3.20.0
--------------
* Improvements to the syntax highlighting of: CSS, JavaScript, protobuf, Vala,
imagej, Python 3 and BibTeX
* Adapt code to use GTK_TEXT_VIEW_LAYER_BELOW_TEXT and
GTK_TEXT_VIEW_LAYER_ABOVE_TEXT
* Add a "sourceview" CSS class to all GtkSourceView's
* Fixes to the MSVC build system
* Various other small fixes and improvements
* Translation updates
News in 3.19.4
--------------
* CSS fixes to track GTK+ changes
* Fix completion popup on Wayland
* MSVC build projects
* Misc bug fixes
* Translation updates
News in 3.19.3
--------------
* Many fixes to track GTK+ changes
* Rework symbol visibility handling
* Other small improvements
* Translation updates
News in 3.19.2
--------------
* Some CSS adjustments to track GTK+ changes
* Add API to get the GtkSourceView version
* Other small improvements
* Translation update
News in 3.19.1
--------------
* New class: GtkSourceTag with a draw-spaces property
* Drop build dependency on intltool, use upstream gettext and ITS Tool instead
* Completion windows: don't add space for scrollbars
* Do not show undo/redo in context menu if undo/redo is disabled
* Bracket matching: several bug fixes, unit tests written, code simplified
* Other small code improvements
* Translation updates
News in 3.18.1
--------------
* Misc bug fixes
* Translation updates
News in 3.18.0
--------------
* Minor improvement to the CSS syntax highlighting
* Translation updates
News in 3.17.7
--------------
* Handle creating pixbufs for HiDPI resolutions
* Improvements to the Octave and Matlab syntax highlighting
* Other various code improvements
* Translation updates
News in 3.17.6
--------------
* Search and replace: fix bug with regular expressions containing look-ahead
assertions.
* Add some missing GI annotations
* A few adjustments to the build system
* Translation updates
News in 3.17.5
--------------
* Support symbolic icons in the completion API
* New lang or improved lang files: Rust, Meson, C, protobuf
* Revamped build system (drop gnome-common dependency)
* Misc bug fixes
* Translation updates
News in 3.17.4
--------------
* Add .rej files as another version of diff file
* Improvements to lang files: Apache Pig, rpmspec
* Misc bug fixes
* Translation updates
News in 3.17.3
--------------
* Add a few more functions to GtkSourceFile
* Add the "smart-backspace" property
* Misc bug fixes
* Translation updates
News in 3.17.2
--------------
* New widget: GtkSourceMap
* Set a GtkTextTag name for context classes (no-spell-check, etc)
* Add gtk_source_buffer_sort_lines()
* Style schemes:
* Support "single", "double" etc for the underline attribute
* Support underline-color
* Improvements to lang files: Ocaml, C++ header and Shell
* Translation updates
News in 3.17.1
--------------
* New public function: gtk_source_encoding_get_default_candidates()
* Add g_autoptr autocleanup support
* Add lang files for (basic) CSV and jade template
* Improvements to lang files: C, CMake, GDB log, JavaScript, C#, F#,
VB.net and CSS
* Translation updates
2016-04-12 13:45:08 +02:00
|
|
|
BUILD_DEPENDS+= itstool-[0-9]*:../../textproc/itstool
|
|
|
|
|
2016-05-27 10:26:58 +02:00
|
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.48
|
2012-08-31 21:43:49 +02:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2017-06-25 14:05:59 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mintrospection)
|
|
|
|
PLIST.introspection= yes
|
2015-03-14 00:07:02 +01:00
|
|
|
BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=1.42.0
|
2012-08-31 21:43:49 +02:00
|
|
|
.include "../../devel/gobject-introspection/buildlink3.mk"
|
2017-06-25 14:05:59 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-introspection=no
|
|
|
|
.endif
|
2012-08-31 21:43:49 +02:00
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
2016-05-27 10:26:58 +02:00
|
|
|
BUILDLINK_API_DEPENDS.gtk3+= gtk3+>=3.20
|
2012-08-31 21:43:49 +02:00
|
|
|
.include "../../x11/gtk3/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|