git: 84ca7c4c43b7 - main - editors/elementary-code: Update to 8.1.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Nov 2025 13:03:13 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=84ca7c4c43b7a7ee96bda26844b570d20e0f6f39
commit 84ca7c4c43b7a7ee96bda26844b570d20e0f6f39
Author: Olivier Duchateau <duchateau.olivier@gmail.com>
AuthorDate: 2025-11-06 18:34:12 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-11-27 13:02:56 +0000
editors/elementary-code: Update to 8.1.2
While here:
- Fix LICENSE
- Switch to USES=gettext-tools
Author's Note: spell plugin has been disabled. Because it depends of
gtkspell3, which seems unmaintained (no update since 2018).
Changelog:
- https://github.com/elementary/code/releases/tag/8.0.0
- https://github.com/elementary/code/releases/tag/8.1.0
- https://github.com/elementary/code/releases/tag/8.1.1
- https://github.com/elementary/code/releases/tag/8.1.2
PR: 290018
Reported by: Olivier Duchateau <duchateau.olivier@gmail.com>
Approved by: Miguel Gocobachi <miguel@gocobachi.dev>
---
editors/elementary-code/Makefile | 18 +++++++-----------
editors/elementary-code/distinfo | 6 +++---
editors/elementary-code/files/patch-data_meson.build | 10 ++++++++++
.../elementary-code/files/patch-plugins_meson.build | 11 +++++++++++
editors/elementary-code/pkg-plist | 4 ++--
5 files changed, 33 insertions(+), 16 deletions(-)
diff --git a/editors/elementary-code/Makefile b/editors/elementary-code/Makefile
index 1deb1599aee0..746105ea911b 100644
--- a/editors/elementary-code/Makefile
+++ b/editors/elementary-code/Makefile
@@ -1,6 +1,5 @@
PORTNAME= code
-DISTVERSION= 7.4.0
-PORTREVISION= 2
+DISTVERSION= 8.1.2
CATEGORIES= editors
PKGNAMEPREFIX= elementary-
@@ -8,7 +7,7 @@ MAINTAINER= miguel@gocobachi.dev
COMMENT= Code editor designed for elementary OS
WWW= https://github.com/elementary/code
-LICENSE= GPLv3
+LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libeditorconfig.so:editors/editorconfig-core-c \
@@ -16,21 +15,18 @@ LIB_DEPENDS= libeditorconfig.so:editors/editorconfig-core-c \
libgee-0.8.so:devel/libgee \
libgit2-glib-1.0.so:devel/libgit2-glib \
libgranite.so:x11-toolkits/granite \
- libgtkspell3-3.so:textproc/gtkspell3 \
libhandy-1.so:x11-toolkits/libhandy \
- libpeas-1.0.so:devel/libpeas1 \
- libpeas-gtk-1.0.so:devel/libpeas1 \
- libsoup-2.4.so:devel/libsoup
+ libpeas-2.so:devel/libpeas \
+ libsoup-3.0.so:devel/libsoup3
RUN_DEPENDS= droid-fonts-ttf>0:x11-fonts/droid-fonts-ttf \
pkcheck:sysutils/polkit
-USES= compiler:c++11-lang desktop-file-utils gettext gnome meson \
- pkgconfig vala:lib
+USES= compiler:c++11-lang desktop-file-utils gettext-tools gnome \
+ meson pkgconfig vala:lib
USE_GITHUB= yes
GH_ACCOUNT= elementary
USE_GNOME= cairo glib20 gtk30 gtksourceview4 pango vte3
-GLIB_SCHEMAS= io.elementary.code.gschema.xml \
- io.elementary.code.plugins.spell.gschema.xml
+GLIB_SCHEMAS= io.elementary.code.gschema.xml
USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/editors/elementary-code/distinfo b/editors/elementary-code/distinfo
index 2e73b84507a2..cfd7348be627 100644
--- a/editors/elementary-code/distinfo
+++ b/editors/elementary-code/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1736605509
-SHA256 (elementary-code-7.4.0_GH0.tar.gz) = fbb592092f7f1a0303740a20d0554efa3870f3902a0238e742fdfa1edae6e75b
-SIZE (elementary-code-7.4.0_GH0.tar.gz) = 1944025
+TIMESTAMP = 1762449953
+SHA256 (elementary-code-8.1.2_GH0.tar.gz) = 1044f7ee570c3fcfb470b71f1db0c1ea590c61400fa000be53652b55d5084df4
+SIZE (elementary-code-8.1.2_GH0.tar.gz) = 2149412
diff --git a/editors/elementary-code/files/patch-data_meson.build b/editors/elementary-code/files/patch-data_meson.build
new file mode 100644
index 000000000000..7edcf6665e37
--- /dev/null
+++ b/editors/elementary-code/files/patch-data_meson.build
@@ -0,0 +1,10 @@
+--- data/meson.build.orig 2025-08-01 15:34:51 UTC
++++ data/meson.build
+@@ -24,7 +24,6 @@ install_data(
+
+ install_data(
+ 'io.elementary.code.gschema.xml',
+- 'io.elementary.code.plugins.spell.gschema.xml',
+ install_dir: get_option('prefix') / get_option('datadir') / 'glib-2.0' / 'schemas'
+ )
+
diff --git a/editors/elementary-code/files/patch-plugins_meson.build b/editors/elementary-code/files/patch-plugins_meson.build
new file mode 100644
index 000000000000..a3ea23a4374e
--- /dev/null
+++ b/editors/elementary-code/files/patch-plugins_meson.build
@@ -0,0 +1,11 @@
+--- plugins/meson.build.orig 2025-08-01 15:34:51 UTC
++++ plugins/meson.build
+@@ -7,7 +7,7 @@ subdir('preserve-indent')
+ subdir('markdown-actions')
+ subdir('pastebin')
+ subdir('preserve-indent')
+-subdir('spell')
++#subdir('spell')
+ subdir('vim-emulation')
+ subdir('word-completion')
+ subdir('fuzzy-search')
diff --git a/editors/elementary-code/pkg-plist b/editors/elementary-code/pkg-plist
index 025bcb0434f0..50c819d33a25 100644
--- a/editors/elementary-code/pkg-plist
+++ b/editors/elementary-code/pkg-plist
@@ -16,8 +16,6 @@ lib/io.elementary.code/plugins/pastebin/libpastebin.so
lib/io.elementary.code/plugins/pastebin/pastebin.plugin
lib/io.elementary.code/plugins/preserve-indent/libpreserve-indent.so
lib/io.elementary.code/plugins/preserve-indent/preserve-indent.plugin
-lib/io.elementary.code/plugins/spell/libspell.so
-lib/io.elementary.code/plugins/spell/spell.plugin
lib/io.elementary.code/plugins/vim-emulation/libvim-emulation.so
lib/io.elementary.code/plugins/vim-emulation/vim-emulation.plugin
lib/io.elementary.code/plugins/word-completion/libword-completion.so
@@ -238,6 +236,8 @@ share/locale/yo/LC_MESSAGES/io.elementary.code.mo
share/locale/za/LC_MESSAGES/io.elementary.code.mo
share/locale/zh/LC_MESSAGES/io.elementary.code.mo
share/locale/zh_CN/LC_MESSAGES/io.elementary.code.mo
+share/locale/zh_HANS/LC_MESSAGES/io.elementary.code.mo
+share/locale/zh_HANT/LC_MESSAGES/io.elementary.code.mo
share/locale/zh_HK/LC_MESSAGES/io.elementary.code.mo
share/locale/zh_TW/LC_MESSAGES/io.elementary.code.mo
share/locale/zu/LC_MESSAGES/io.elementary.code.mo