Skip to content

Commit 1620aae

Browse files
mtboehlkeoreo639
authored andcommitted
gedit: update to 48.2.
Strategy for including the missing git submodule adapted from Alpine Linux's method: https://gitlab.alpinelinux.org/alpine/aports/-/commit/326b6a4daf16dae2ecadc8594a4981d432d429fb Also, PLEASE NOTE: plugins implemented in python are no longer supported. The official plugins written in python have been removed. See https://gitlab.gnome.org/World/gedit/gedit/-/issues/614 for more details. Also see https://gitlab.gnome.org/World/gedit/gedit/-/issues/618 concerning the status for third-party plugins.
1 parent 5376fc0 commit 1620aae

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

common/shlibs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3676,7 +3676,7 @@ libqhttpengine.so.1 qhttpengine-1.0.1_1
36763676
libqmdnsengine.so.0 qmdnsengine-0.1.0_1
36773677
libyang.so.1 libyang-1.0r5_1
36783678
libhtp.so.2 libhtp-0.5.30_1
3679-
libgedit-48.1.so gedit-48.1_1
3679+
libgedit-48.2.so gedit-48.2_1
36803680
libgedit-amtk-5.so.0 libgedit-amtk-5.8.0_1
36813681
libgedit-gtksourceview-300.so.3 libgedit-gtksourceview-299.4.0_1
36823682
libgedit-gfls-1.so.0 libgedit-gfls-0.1.0_1

srcpkgs/gedit/template

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,38 @@
11
# Template file for 'gedit'
22
# keep major version in sync with gedit-plugins
33
pkgname=gedit
4-
version=48.1
5-
revision=2
4+
version=48.2
5+
revision=1
6+
_libgd_gitrev=3cccf99234288a6121b3945a25cd4ec3b7445c74
67
build_helper="gir"
78
build_style=meson
8-
pycompile_dirs="usr/lib/gedit/plugins"
99
configure_args="-Dgtk_doc=false"
10-
hostmakedepends="itstool pkg-config glib-devel gdk-pixbuf perl gettext
10+
hostmakedepends="itstool pkg-config glib-devel gdk-pixbuf gettext
1111
gtk-update-icon-cache desktop-file-utils"
1212
makedepends="gsettings-desktop-schemas-devel gspell-devel libgedit-gtksourceview-devel
13-
libpeas-devel python3-gobject-devel libgedit-amtk-devel libgedit-tepl-devel"
13+
libpeas-devel libgedit-amtk-devel libgedit-tepl-devel"
1414
depends="desktop-file-utils gsettings-desktop-schemas iso-codes"
1515
short_desc="Text editor for GNOME"
1616
maintainer="Orphaned <[email protected]>"
1717
license="GPL-2.0-or-later"
18-
homepage="https://wiki.gnome.org/Apps/Gedit"
18+
homepage="https://gedit-text-editor.org"
1919
changelog="https://gitlab.gnome.org/World/gedit/gedit/-/raw/${version}/NEWS"
20-
distfiles="${GNOME_SITE}/gedit/${version%.*}/gedit-${version}.tar.xz"
21-
checksum=971e7ac26bc0a3a3ded27a7563772415687db0e5a092b4547e5b10a55858b30a
22-
python_version=3
23-
shlib_provides="libgedit-48.1.so"
20+
distfiles="https://gitlab.gnome.org/World/gedit/gedit/-/archive/${version}/gedit-${version}.tar.gz
21+
https://gitlab.gnome.org/GNOME/libgd/-/archive/${_libgd_gitrev}/libgd-${_libgd_gitrev}.tar.gz"
22+
checksum="a47f400d63222efdf9ad104c9dcc7c3939a6eb24fd882be5a5fa229e1ac19893
23+
bb1387edfd79a764241b60e1288fe1da7277137328d4b412333e2ca2cb817586"
24+
skip_extraction="libgd-${_libgd_gitrev}.tar.gz"
25+
shlib_provides="libgedit-48.2.so"
26+
27+
# gedit tarballs are no longer being produced for download.gnome.org.
28+
# See: https://gitlab.gnome.org/World/gedit/gedit/-/issues/611
29+
# The tarballs from gitlab don't automatically include git submodules.
30+
# libgd is not versioned and is intended to be included in projects directly.
31+
# This works around the issue by downloading the revision corresponding to
32+
# the latest git head at the time of relesase.
33+
post_extract() {
34+
vsrcextract -C subprojects/libgd "libgd-${_libgd_gitrev}.tar.gz"
35+
}
2436

2537
gedit-devel_package() {
2638
depends="${sourcepkg}>=${version}_${revision} gtk+3-devel libglib-devel

0 commit comments

Comments
 (0)