Compare commits

..
26 Commits
Author SHA1 Message Date
EnumDev b22ec3ceb8 Update package version to 9.2.1001 2026-09-04 15:58:18 +03:00
EnumDev 4ef05913da Update package version to 9.2.0782 2026-07-08 13:33:40 +03:00
EnumDev 007679f4dd Update package version to 9.2.0677 2026-06-21 11:34:46 +03:00
EnumDev 0b86da01ae Switch to new package format 2026-06-13 20:01:38 +03:00
EnumDev 8ff7584ea8 Update package version to 9.2.0600 2026-06-07 16:32:28 +03:00
EnumDev 7018b08a15 Update package version to 9.2.0564 2026-06-01 14:42:44 +03:00
EnumDev ec3430bc88 Update package version to 9.2.0488 2026-05-17 16:18:49 +03:00
EnumDev c128abd3b1 Update package version to 9.2.0424 2026-05-02 18:24:47 +03:00
EnumDev 2af8b81c5f Update package version to 9.2.0390 2026-04-26 16:17:29 +03:00
EnumDev 55b82629e7 Update package version to 9.2.0360 2026-04-20 12:19:24 +03:00
EnumDev 8ff2eb3297 Update package version to 9.2.0287 2026-04-04 20:25:59 +03:00
EnumDev 6208bb5c99 Update package version to 9.2.0219 2026-03-22 13:57:37 +02:00
EnumDev 546b11d5d2 Update package version to 9.2.0161 2026-03-15 12:24:42 +02:00
EnumDev 968a146658 Update package version to 9.2.0116 2026-03-08 17:09:25 +02:00
EnumDev 18ba143c9d Update package version to 9.2.0068 2026-02-27 22:05:13 +02:00
EnumDev 70e8f5cff8 Rebuild without tcl 2026-02-26 14:27:44 +02:00
EnumDev 9ed71db86b Update package version to 9.2.0033 2026-02-20 19:46:14 +02:00
EnumDev b49c2107f4 Update package version to 9.1.2147 2026-02-14 15:04:58 +02:00
EnumDev 7cd97bdb81 Update package version to 9.1.2139 2026-02-08 19:54:02 +02:00
EnumDev 4046053e3b Rebuild without 9.1.2119 2026-02-01 16:59:25 +02:00
EnumDev 6abc8aacb9 Update package version to 9.1.2103 2026-01-23 18:52:14 +02:00
EnumDev 2934d920b0 Rebuild with lua 5.5 2026-01-18 10:56:34 +02:00
EnumDev daf29b5c80 Update package version to 9.1.2089 2026-01-17 16:41:23 +02:00
EnumDev 823e26edeb Update package version to 9.1.2072 2026-01-10 16:16:09 +02:00
EnumDev 4902d310c3 Update package version to 9.1.2041 2026-01-02 15:53:27 +02:00
EnumDev 60bf91b076 Update package version to 9.1.2037 2026-01-02 15:27:45 +02:00
4 changed files with 11 additions and 134 deletions
+3 -2
View File
@@ -1,2 +1,3 @@
# Exclude bpm archives # Ignore BPM archives and signatures
*.bpm *.bpm
*.bpm.sig
+5 -3
View File
@@ -1,9 +1,11 @@
name: vim name: vim
description: A highly configurable text editor description: A highly configurable text editor
version: 9.1.2028 version: 9.2.1001
revision: 4 revision: 1
url: https://www.vim.org/ url: https://www.vim.org/
license: vim license: vim
maintainers:
- [email protected]
architecture: any architecture: any
type: source type: source
keep: keep:
@@ -35,4 +37,4 @@ downloads:
- url: https://github.com/vim/vim/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz - url: https://github.com/vim/vim/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE} extract_to: ${BPM_SOURCE}
extract_strip_components: 1 extract_strip_components: 1
checksum: 4a06e3c7823e31f5d161ac660ce6d920b0042c7aa0ba6c6eeb8fae7228d9e99a checksum: e3a36210b5411e2c46785f81cb7f3ed6072dd9690ef930e3529744112899e155
+3 -5
View File
@@ -1,4 +1,4 @@
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package # This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
@@ -6,8 +6,6 @@
# This function is used for putting downloaded files to the correct location or applying patches # This function is used for putting downloaded files to the correct location or applying patches
prepare() { prepare() {
cd "$BPM_SOURCE" cd "$BPM_SOURCE"
# Fix building with ruby 4.0
patch -p1 -i "$BPM_WORKDIR"/fix-building-with-ruby-4.0.patch
# Define place for global vimrc file # Define place for global vimrc file
sed -E 's|^.*(#define SYS_.*VIMRC_FILE.*").*$|\1|g' -i src/feature.h sed -E 's|^.*(#define SYS_.*VIMRC_FILE.*").*$|\1|g' -i src/feature.h
@@ -37,8 +35,8 @@ build() {
--enable-python3interp=dynamic \ --enable-python3interp=dynamic \
--enable-rubyinterp=dynamic \ --enable-rubyinterp=dynamic \
--enable-luainterp=dynamic \ --enable-luainterp=dynamic \
--enable-tclinterp=dynamic \ --disable-canberra \
--disable-canberra --disable-tclinterp
make make
} }
@@ -1,124 +0,0 @@
From 293c5e235bf590bca1088e9ce0af71e1c25b3678 Mon Sep 17 00:00:00 2001
From: EnumDev <[email protected]>
Date: Tue, 30 Dec 2025 17:10:53 +0200
Subject: [PATCH 1/3] Fix building with ruby 4.0
Signed-off-by: EnumDev <[email protected]>
---
src/if_ruby.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/src/if_ruby.c b/src/if_ruby.c
index 6af508beccdc1..a2dc53da8b79f 100644
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -244,7 +244,11 @@ static int ruby_convert_to_vim_value(VALUE val, typval_T *rettv);
# define rb_check_type dll_rb_check_type
# endif
# ifdef USE_TYPEDDATA
-# define rb_check_typeddata dll_rb_check_typeddata
+# if RUBY_VERSION >= 40
+# define rbimpl_check_typeddata dll_rbimpl_check_typeddata
+# else
+# define define rb_check_typeddata dll_rb_check_typeddata
+# endif
# endif
# define rb_class_path dll_rb_class_path
# ifdef USE_TYPEDDATA
@@ -373,7 +377,11 @@ VALUE *dll_rb_cTrueClass;
static VALUE (*dll_rb_class_new_instance) (int,VALUE*,VALUE);
static void (*dll_rb_check_type) (VALUE,int);
# ifdef USE_TYPEDDATA
+# if RUBY_VERSION >= 40
+static void *(*dll_rbimpl_check_typeddata) (VALUE,const rb_data_type_t *);
+# else
static void *(*dll_rb_check_typeddata) (VALUE,const rb_data_type_t *);
+# endif
# endif
static VALUE (*dll_rb_class_path) (VALUE);
# ifdef USE_TYPEDDATA
@@ -632,7 +640,11 @@ static struct
{"rb_class_new_instance", (RUBY_PROC*)&dll_rb_class_new_instance},
{"rb_check_type", (RUBY_PROC*)&dll_rb_check_type},
# ifdef USE_TYPEDDATA
+# if RUBY_VERSION >= 40
+ {"rbimpl_check_typeddata", (RUBY_PROC*)&dll_rbimpl_check_typeddata},
+# else
{"rb_check_typeddata", (RUBY_PROC*)&dll_rb_check_typeddata},
+# endif
# endif
{"rb_class_path", (RUBY_PROC*)&dll_rb_class_path},
# ifdef USE_TYPEDDATA
From 9c7c407a83226bd72541fc3c080245e72d8b23e2 Mon Sep 17 00:00:00 2001
From: EnumDev <[email protected]>
Date: Wed, 31 Dec 2025 14:17:28 +0200
Subject: [PATCH 2/3] Fix typo in src/if_ruby.c
Signed-off-by: EnumDev <[email protected]>
---
src/if_ruby.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/if_ruby.c b/src/if_ruby.c
index a2dc53da8b79f..81252102b1d48 100644
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -247,7 +247,7 @@ static int ruby_convert_to_vim_value(VALUE val, typval_T *rettv);
# if RUBY_VERSION >= 40
# define rbimpl_check_typeddata dll_rbimpl_check_typeddata
# else
-# define define rb_check_typeddata dll_rb_check_typeddata
+# define rb_check_typeddata dll_rb_check_typeddata
# endif
# endif
# define rb_class_path dll_rb_class_path
From 4cd61636526b710f12ca2d987c1c898502718f2d Mon Sep 17 00:00:00 2001
From: EnumDev <[email protected]>
Date: Wed, 31 Dec 2025 21:05:02 +0200
Subject: [PATCH 3/3] Always define rb_check_typeddata
Signed-off-by: EnumDev <[email protected]>
---
src/if_ruby.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/if_ruby.c b/src/if_ruby.c
index 81252102b1d48..49fdc34dd5316 100644
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -246,9 +246,8 @@ static int ruby_convert_to_vim_value(VALUE val, typval_T *rettv);
# ifdef USE_TYPEDDATA
# if RUBY_VERSION >= 40
# define rbimpl_check_typeddata dll_rbimpl_check_typeddata
-# else
-# define rb_check_typeddata dll_rb_check_typeddata
# endif
+# define rb_check_typeddata dll_rb_check_typeddata
# endif
# define rb_class_path dll_rb_class_path
# ifdef USE_TYPEDDATA
@@ -379,9 +378,8 @@ static void (*dll_rb_check_type) (VALUE,int);
# ifdef USE_TYPEDDATA
# if RUBY_VERSION >= 40
static void *(*dll_rbimpl_check_typeddata) (VALUE,const rb_data_type_t *);
-# else
-static void *(*dll_rb_check_typeddata) (VALUE,const rb_data_type_t *);
# endif
+static void *(*dll_rb_check_typeddata) (VALUE,const rb_data_type_t *);
# endif
static VALUE (*dll_rb_class_path) (VALUE);
# ifdef USE_TYPEDDATA
@@ -640,11 +638,7 @@ static struct
{"rb_class_new_instance", (RUBY_PROC*)&dll_rb_class_new_instance},
{"rb_check_type", (RUBY_PROC*)&dll_rb_check_type},
# ifdef USE_TYPEDDATA
-# if RUBY_VERSION >= 40
- {"rbimpl_check_typeddata", (RUBY_PROC*)&dll_rbimpl_check_typeddata},
-# else
{"rb_check_typeddata", (RUBY_PROC*)&dll_rb_check_typeddata},
-# endif
# endif
{"rb_class_path", (RUBY_PROC*)&dll_rb_class_path},
# ifdef USE_TYPEDDATA