Dear ports@ readers,
please find enclosed a diff for updating graphics/ipe to the latest release.
What's new upstream
===================
* Image objects now support transparency (feature #233).
* Path objects can now have distinct fill and stroke opacities
(feature #134).
* Symbols can now specify a list of snap positions, which are active
in vertex snap mode. Such symbols can be selected by clicking near
any snap position, and are presented like groups in the selection
(feature #238).
* Can now specify the initial attribute settings in the preferences
(feature #235).
* Symbols ipelet now presents symbols in groups (feature #237).
* Added default external editors on Windows and MacOS.
* Fixed IPELATEXDIR environment variable not working on windows (bug
#242).
* Fix "Waiting for external editor" dialog not closing on MacOS. Define
default external editors for Windows and MacOS.
* New "Preferences" item in Help menu with information about
"prefs.lua".
* Lua function tonumber now returns nil when it fails to convert,
like the original Lua function (bug #236).
What's new in the port
======================
We have to add a trigger for strtod(3) usage in another part of
ipeplatform.cpp
Other modifications are trivial updates.
Tested on amd64 only.
--
Alessandro DE LAURENZIS
[mailto:jus...@atlantide.t28.net]
Web: http://www.atlantide.t28.net
LinkedIn: https://www.linkedin.com/in/delaurenzis/
Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/ipe/Makefile,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 Makefile
--- Makefile 17 May 2019 16:45:27 -0000 1.20
+++ Makefile 13 Jun 2019 06:01:06 -0000
@@ -2,11 +2,10 @@
COMMENT = extensible drawing editor
-V = 7.2.11
+V = 7.2.12
SUBST_VARS += V
DISTNAME = ipe-${V}-src
PKGNAME = ipe-${V}
-REVISION = 0
# Upstream libraries would be installed as libxxx.so.${V}
SHLIB_VERSION = 0.0
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/ipe/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo 30 Apr 2019 06:44:29 -0000 1.4
+++ distinfo 13 Jun 2019 06:01:06 -0000
@@ -1,2 +1,2 @@
-SHA256 (ipe-7.2.11-src.tar.gz) = oi3K6ctmD0ZmeKa1aOn+0bEqODDklGVZTWX8eJsLpyU=
-SIZE (ipe-7.2.11-src.tar.gz) = 1950071
+SHA256 (ipe-7.2.12-src.tar.gz) = fJp4sg59CL5YUCmSQLnNK0WYL/EpmpA6mZ2P+HllgeM=
+SIZE (ipe-7.2.12-src.tar.gz) = 1958565
Index: patches/patch-src_ipe_lua_prefs_lua
===================================================================
RCS file: /cvs/ports/graphics/ipe/patches/patch-src_ipe_lua_prefs_lua,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-src_ipe_lua_prefs_lua
--- patches/patch-src_ipe_lua_prefs_lua 30 Apr 2019 06:44:29 -0000 1.3
+++ patches/patch-src_ipe_lua_prefs_lua 13 Jun 2019 06:01:06 -0000
@@ -5,7 +5,7 @@ Swapped out the default on-screen keyboa
Index: src/ipe/lua/prefs.lua
--- src/ipe/lua/prefs.lua.orig
+++ src/ipe/lua/prefs.lua
-@@ -256,7 +256,7 @@ elseif config.platform == "apple" then
+@@ -290,7 +290,7 @@ elseif config.platform == "apple" then
prefs.keyboard = "open -a KeyboardViewer -n"
else
-- On Linux, you could use: prefs.keyboard = "onboard &"
Index: patches/patch-src_ipelib_ipeplatform_cpp
===================================================================
RCS file: /cvs/ports/graphics/ipe/patches/patch-src_ipelib_ipeplatform_cpp,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-src_ipelib_ipeplatform_cpp
--- patches/patch-src_ipelib_ipeplatform_cpp 30 Apr 2019 06:44:29 -0000 1.2
+++ patches/patch-src_ipelib_ipeplatform_cpp 13 Jun 2019 06:01:06 -0000
@@ -23,3 +23,12 @@ Index: src/ipelib/ipeplatform.cpp
#else
return strtod_l(s.z(), nullptr, ipeLocale);
#endif
+@@ -633,6 +639,8 @@ int Platform::toNumber(String s, int &iValue, double &
+ dValue = _strtod_l(s.z(), &fin, ipeLocale);
+ else
+ dValue = strtod(s.z(), &fin);
++#elif defined(__OpenBSD__)
++ dValue = strtod(s.z(), &fin);
+ #else
+ dValue = strtod_l(s.z(), &fin, ipeLocale);
+ #endif