view src/xpm/README.txt @ 33491:e6c00b4c3ee5 v9.0.1996

patch 9.0.1996: Cannot build with python312 Commit: https://github.com/vim/vim/commit/fa145f200966e47e11c403520374d6d37cfd1de7 Author: Ken Takata <kentkt@csc.jp> Date: Fri Oct 6 19:27:13 2023 +0200 patch 9.0.1996: Cannot build with python312 Problem: Cannot build with python312 Solution: Define wrapper types and functions for python 3.12 Py_SIZE() uses PyLong_Type and PyBool_Type starting from Python 3.12. We need to define our own Py_SIZE() to replace Py{Bool,Long}_Type with py3_Py{Bool,Long}_Type. We also need to redefine PyTuple_GET_SIZE() and PyList_GET_SIZE(), because they use Py_SIZE(). closes: #13281 closes: #13290 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ken Takata <kentkt@csc.jp>
author Christian Brabandt <cb@256bit.org>
date Fri, 06 Oct 2023 19:45:03 +0200
parents 219dbe63ad2a
children
line wrap: on
line source

This is XPM library compiled for Windows which is intended for use with Vim
'signs' feature.

Libraries in x86 directory were compiled with MSVC6 and MinGW. Proposed
commands to compile Vim are:

If you want to build XPM library by yourself, you may want to use the
following Win32 port:
https://github.com/koron/libXpm-win32

Any version of MSVC starting from version 6.0:
nmake -f Make_mvc.mak GUI=yes CSCOPE=yes NETBEANS=yes XPM=e:\hg\xpm\x86

MinGW:
mingw32-make -f Make_ming.mak GUI=yes CSCOPE=yes XPM=e:/hg/xpm/x86

MinGW 64 for x64:
mingw32-make -f Make_ming.mak GUI=yes ARCH=x86-64 XPM=E:\HG\xpm\x64

Microsoft Visual C++ on x64 (tested with versions 2008 and 2010):
nmake -f Make_mvc.mak GUI=yes CSCOPE=yes XPM=E:\HG\xpm\x64

To test, open some file in Vim and execute commands below:
:exe 'sign define vimxpm icon='.$VIMRUNTIME.'\\vim32x32.xpm'
:exe 'sign place 1 line=1 name=vimxpm file='.expand('%:p')


See COPYRIGHT for XPM licence.

If you have questions please email sergey.khorev@gmail.com.