[152701] trunk/dports/editors/vim
raimue at macports.org
raimue at macports.org
Wed Sep 14 14:45:12 PDT 2016
Revision: 152701
https://trac.macports.org/changeset/152701
Author: raimue at macports.org
Date: 2016-09-14 14:45:11 -0700 (Wed, 14 Sep 2016)
Log Message:
-----------
editors/vim: update to version 8.0.0003
Regenerate patches for new version.
Remove patches applied upstream.
Remove +gtk1 variant, add +gtk3 variant.
Modified Paths:
--------------
trunk/dports/editors/vim/Portfile
trunk/dports/editors/vim/files/patch-python.diff
trunk/dports/editors/vim/files/patch-python3.diff
trunk/dports/editors/vim/files/patch-tcl.diff
Removed Paths:
-------------
trunk/dports/editors/vim/files/patch-compat-sigaltstack.diff
Property Changed:
----------------
trunk/dports/editors/vim/
Property changes on: trunk/dports/editors/vim
___________________________________________________________________
Modified: svn:mergeinfo
- /branches/mld-qt-481/dports/editors/vim:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/users/larryv/dports/editors/vim:109312-111447
+ /branches/mld-qt-481/dports/editors/vim:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856
/users/larryv/dports/editors/vim:109312-111447
/users/raimue/ports/editors/vim:152566-152693
Modified: trunk/dports/editors/vim/Portfile
===================================================================
--- trunk/dports/editors/vim/Portfile 2016-09-14 21:30:36 UTC (rev 152700)
+++ trunk/dports/editors/vim/Portfile 2016-09-14 21:45:11 UTC (rev 152701)
@@ -4,8 +4,8 @@
PortGroup github 1.0
name vim
-set vim_version 7.4
-set vim_patchlevel 2196
+set vim_version 8.0
+set vim_patchlevel 0003
github.setup vim vim ${vim_version}.${vim_patchlevel} v
categories editors
platforms darwin freebsd
@@ -18,16 +18,14 @@
homepage http://www.vim.org/
-checksums rmd160 98c7513d3c6c8f8da173ec76f52dd051c2786b05 \
- sha256 00caf35b275d06907fc39cb0ddd339b43e61c75490e3cf94bcda566f955b46ed
+checksums rmd160 57836f9ae2f2fb6dddd3f93acc4092243436d6dc \
+ sha256 d3d3c1e7d72fd0dda59e5ac319be742df08db7c948b992543b994d66c4dcabf0
depends_build bin:grep:grep
depends_lib port:ncurses \
port:gettext \
port:libiconv
-patchfiles-append patch-compat-sigaltstack.diff
-
post-patch {
set features [open ${worksrcpath}/src/feature.h a+]
puts $features "#define SYS_VIMRC_FILE \"${prefix}/etc/vimrc\""
@@ -66,23 +64,23 @@
depends_lib-append port:xorg-libXt
}
-variant athena description {Build GUI version using Athena widgets} requires x11 conflicts gtk1 gtk2 motif {
+variant athena description {Build GUI version using Athena widgets} requires x11 conflicts gtk2 gtk3 motif {
configure.args-delete --disable-gui
configure.args-append --enable-gui=athena --disable-darwin
depends_lib-append port:xorg-libXaw
}
-variant gtk1 description {Build GUI version using GTK 1.x widgets} requires x11 conflicts athena gtk2 motif {
+variant gtk2 description {Build GUI version using GTK 2.x widgets} requires x11 conflicts athena gtk3 motif {
configure.args-delete --disable-gui
- configure.args-append --enable-gui=gtk --disable-darwin
- depends_lib-append port:gtk1
-}
-variant gtk2 description {Build GUI version using GTK 2.x widgets} requires x11 conflicts athena gtk1 motif {
- configure.args-delete --disable-gui
configure.args-append --enable-gui=gtk2 --disable-darwin
depends_lib-append port:gtk2
}
-variant motif description {Build GUI version with Motif widgets} requires x11 conflicts athena gtk1 gtk2 {
+variant gtk3 description {Build GUI version using GTK 3.x widgets} requires x11 conflicts athena gtk2 motif {
configure.args-delete --disable-gui
+ configure.args-append --enable-gui=gtk3 --disable-darwin
+ depends_lib-append port:gtk3
+}
+variant motif description {Build GUI version with Motif widgets} requires x11 conflicts athena gtk2 gtk3 {
+ configure.args-delete --disable-gui
configure.args-append --enable-gui=motif --disable-darwin
depends_lib-append lib:libXm:openmotif
}
Deleted: trunk/dports/editors/vim/files/patch-compat-sigaltstack.diff
===================================================================
--- trunk/dports/editors/vim/files/patch-compat-sigaltstack.diff 2016-09-14 21:30:36 UTC (rev 152700)
+++ trunk/dports/editors/vim/files/patch-compat-sigaltstack.diff 2016-09-14 21:45:11 UTC (rev 152701)
@@ -1,13 +0,0 @@
---- src/os_unix.c 2013-08-02 15:13:48.000000000 -0500
-+++ src/os_unix.c 2013-08-02 15:14:51.000000000 -0500
-@@ -18,6 +18,10 @@
- * changed beyond recognition.
- */
-
-+#if defined(__APPLE__)
-+#include <AvailabilityMacros.h>
-+#endif
-+
- /*
- * Some systems have a prototype for select() that has (int *) instead of
- * (fd_set *), which is wrong. This define removes that prototype. We define
Modified: trunk/dports/editors/vim/files/patch-python.diff
===================================================================
--- trunk/dports/editors/vim/files/patch-python.diff 2016-09-14 21:30:36 UTC (rev 152700)
+++ trunk/dports/editors/vim/files/patch-python.diff 2016-09-14 21:45:11 UTC (rev 152701)
@@ -1,6 +1,6 @@
---- src/configure.in.orig 2015-05-29 22:32:15.000000000 +0200
-+++ src/configure.in 2015-05-29 22:34:23.000000000 +0200
-@@ -1046,7 +1046,11 @@
+--- src/configure.in.orig 2016-09-12 16:31:10.000000000 +0200
++++ src/configure.in 2016-09-12 19:21:34.000000000 +0200
+@@ -1106,7 +1106,11 @@
fi
dnl -- find the python executable
@@ -13,7 +13,7 @@
if test "X$vi_cv_path_python" != "X"; then
dnl -- get its version number
-@@ -1125,7 +1129,7 @@
+@@ -1185,7 +1189,7 @@
@echo "python_SYSLIBS='$(SYSLIBS)'"
@echo "python_LINKFORSHARED='$(LINKFORSHARED)'"
@echo "python_DLLLIBRARY='$(DLLLIBRARY)'"
@@ -22,11 +22,11 @@
@echo "python_PYTHONFRAMEWORK='$(PYTHONFRAMEWORK)'"
@echo "python_PYTHONFRAMEWORKPREFIX='$(PYTHONFRAMEWORKPREFIX)'"
@echo "python_PYTHONFRAMEWORKINSTALLDIR='$(PYTHONFRAMEWORKINSTALLDIR)'"
-@@ -1133,13 +1137,6 @@
+@@ -1193,13 +1197,6 @@
dnl -- delete the lines from make about Entering/Leaving directory
eval "`cd ${PYTHON_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
rm -f -- "${tmp_mkf}"
-- if test "x$MACOSX" = "xyes" && ${vi_cv_path_python} -c \
+- if test "x$MACOSX" = "xyes" && test -n "${python_PYTHONFRAMEWORK}" && ${vi_cv_path_python} -c \
- "import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
- vi_cv_path_python_plibs="-framework Python"
- if test "x${vi_cv_path_python}" != "x/usr/bin/python" && test -n "${python_PYTHONFRAMEWORKPREFIX}"; then
@@ -36,11 +36,11 @@
if test "${vi_cv_var_python_version}" = "1.4"; then
vi_cv_path_python_plibs="${PYTHON_CONFDIR}/libModules.a ${PYTHON_CONFDIR}/libPython.a ${PYTHON_CONFDIR}/libObjects.a ${PYTHON_CONFDIR}/libParser.a"
else
-@@ -1167,7 +1164,6 @@
+@@ -1227,7 +1224,6 @@
vi_cv_path_python_plibs="${vi_cv_path_python_plibs} ${python_BASEMODLIBS} ${python_LIBS} ${python_SYSLIBS} ${python_LINKFORSHARED}"
dnl remove -ltermcap, it can conflict with an earlier -lncurses
vi_cv_path_python_plibs=`echo $vi_cv_path_python_plibs | sed s/-ltermcap//`
- fi
])
- AC_CACHE_VAL(vi_cv_dll_name_python,
+ AC_CACHE_CHECK(Python's dll name,vi_cv_dll_name_python,
[
Modified: trunk/dports/editors/vim/files/patch-python3.diff
===================================================================
--- trunk/dports/editors/vim/files/patch-python3.diff 2016-09-14 21:30:36 UTC (rev 152700)
+++ trunk/dports/editors/vim/files/patch-python3.diff 2016-09-14 21:45:11 UTC (rev 152701)
@@ -1,6 +1,6 @@
---- src/configure.in.orig 2015-05-29 21:25:49.000000000 +0200
-+++ src/configure.in 2015-05-29 21:30:04.000000000 +0200
-@@ -1277,7 +1277,11 @@
+--- src/configure.in.orig 2016-09-12 16:31:10.000000000 +0200
++++ src/configure.in 2016-09-12 19:26:47.000000000 +0200
+@@ -1337,7 +1337,11 @@
fi
dnl -- find the python3 executable
@@ -13,7 +13,7 @@
if test "X$vi_cv_path_python3" != "X"; then
dnl -- get its version number
-@@ -1367,7 +1363,7 @@
+@@ -1427,7 +1431,7 @@
@echo "python3_LIBS='$(LIBS)'"
@echo "python3_SYSLIBS='$(SYSLIBS)'"
@echo "python3_DLLLIBRARY='$(DLLLIBRARY)'"
Modified: trunk/dports/editors/vim/files/patch-tcl.diff
===================================================================
--- trunk/dports/editors/vim/files/patch-tcl.diff 2016-09-14 21:30:36 UTC (rev 152700)
+++ trunk/dports/editors/vim/files/patch-tcl.diff 2016-09-14 21:45:11 UTC (rev 152701)
@@ -1,7 +1,7 @@
---- src/configure.in.orig 2010-04-18 00:11:11.000000000 +0200
-+++ src/configure.in 2010-04-18 00:17:10.000000000 +0200
-@@ -1213,12 +1213,7 @@
- tclloc=`echo 'set l [[info library]];set i [[string last lib $l]];incr i -2;puts [[string range $l 0 $i]]' | $vi_cv_path_tcl -`
+--- src/configure.in.orig 2016-09-12 16:31:10.000000000 +0200
++++ src/configure.in 2016-09-12 19:28:57.000000000 +0200
+@@ -1721,12 +1721,7 @@
+ tcldll=`echo 'puts libtcl[[info tclversion]][[info sharedlibextension]]' | $vi_cv_path_tcl -`
AC_MSG_CHECKING(for location of Tcl include)
- if test "x$MACOSX" != "xyes"; then
@@ -14,7 +14,7 @@
TCL_INC=
for try in $tclinc; do
if test -f "$try/tcl.h"; then
-@@ -1233,13 +1233,8 @@
+@@ -1741,13 +1736,8 @@
fi
if test -z "$SKIP_TCL"; then
AC_MSG_CHECKING(for location of tclConfig.sh script)
@@ -28,5 +28,5 @@
+ tclcnf=`echo $tclinc | sed s/include/lib/g`
+ tclcnf="$tclcnf `echo $tclinc | sed s/include/lib64/g`"
for try in $tclcnf; do
- if test -f $try/tclConfig.sh; then
+ if test -f "$try/tclConfig.sh"; then
AC_MSG_RESULT($try/tclConfig.sh)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160914/3a4dee74/attachment-0001.html>
More information about the macports-changes
mailing list