mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
gedit: Upgrade 44.2 -> 46.1
- add recipes for libedit-amtk and libgedit-gtksourceview
- drop deprecated amtk recipe
- update dependencies
- fix reproducibility issue
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit cddc20f9c6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
3dd5d208be
commit
ca949dbe33
|
|
@ -1,22 +0,0 @@
|
|||
SUMMARY = "Actions, Menus and Toolbars Kit"
|
||||
LICENSE = "LGPL-3.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://LICENSES/LGPL-3.0-or-later.txt;md5=c51d3eef3be114124d11349ca0d7e117"
|
||||
|
||||
DEPENDS = " \
|
||||
glib-2.0-native \
|
||||
gtk+3 \
|
||||
gtk-doc-native \
|
||||
libxslt-native \
|
||||
docbook-xsl-stylesheets-native \
|
||||
python3-pygments-native \
|
||||
"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
|
||||
GIR_MESON_OPTION = ""
|
||||
|
||||
inherit gnomebase gettext features_check gobject-introspection
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "d50115b85c872aac296934b5ee726a3fa156c6f5ad96d27e0edd0aa5ad173228"
|
||||
|
|
@ -6,27 +6,34 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
|
|||
GNOMEBASEBUILDCLASS = "meson"
|
||||
|
||||
DEPENDS = " \
|
||||
appstream-glib-native \
|
||||
desktop-file-utils-native \
|
||||
libgedit-amtk \
|
||||
libgedit-gtksourceview \
|
||||
gdk-pixbuf-native \
|
||||
gtk+3 \
|
||||
gsettings-desktop-schemas \
|
||||
libpeas \
|
||||
libsoup \
|
||||
gspell \
|
||||
gtksourceview4 \
|
||||
tepl \
|
||||
"
|
||||
|
||||
inherit gnomebase gsettings itstool gnome-help gobject-introspection gtk-doc vala gettext features_check mime-xdg python3targetconfig
|
||||
inherit gnomebase gsettings itstool gnome-help gobject-introspection gtk-doc vala gettext features_check mime-xdg gtk-icon-cache python3targetconfig
|
||||
|
||||
def gnome_verdir(v):
|
||||
return oe.utils.trim_version(v, 1)
|
||||
|
||||
SRC_URI[archive.sha256sum] = "3bbb1b3775d4c277daf54aaab44b0eb83a4eb1f09f0391800041c9e56893ec11"
|
||||
SRC_URI[archive.sha256sum] = "a1a6e37f041765dff7227a1f5578b6f49faaf016b1e17e869caf5bfb94c6aa4e"
|
||||
|
||||
# gobject-introspection is mandatory and cannot be configured
|
||||
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
|
||||
do_install:prepend() {
|
||||
sed -i -e 's|${B}||g' ${B}/plugins/filebrowser/gedit-file-browser-enum-types.c
|
||||
}
|
||||
|
||||
GIR_MESON_OPTION = ""
|
||||
|
||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||
17
meta-gnome/recipes-gnome/gedit/libgedit-amtk_5.8.0.bb
Normal file
17
meta-gnome/recipes-gnome/gedit/libgedit-amtk_5.8.0.bb
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
SUMMARY = "libgedit-amtk - Actions, Menus and Toolbars Kit for GTK applications"
|
||||
SECTION = "gnome"
|
||||
LICENSE = "LGPL-3.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://LICENSES/LGPL-3.0-or-later.txt;md5=c51d3eef3be114124d11349ca0d7e117"
|
||||
|
||||
DEPENDS = "glib-2.0 gtk+3"
|
||||
|
||||
inherit meson pkgconfig gobject-introspection features_check gtk-doc
|
||||
|
||||
SRC_URI = "git://github.com/gedit-technology/libgedit-amtk.git;protocol=https;branch=main"
|
||||
S = "${WORKDIR}/git"
|
||||
SRCREV = "f6fbfd1c57de3d97cab2056a5c3088b0da49e8a4"
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
|
||||
GIR_MESON_OPTION = "gobject_introspection"
|
||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
SUMMARY = "Gedit Technology - Source code editing widget"
|
||||
SECTION = "gnome"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
|
||||
|
||||
DEPENDS = "glib-2.0 gtk+3 libxml2"
|
||||
|
||||
inherit meson pkgconfig gobject-introspection features_check gtk-doc
|
||||
|
||||
SRC_URI = "git://github.com/gedit-technology/libgedit-gtksourceview.git;protocol=https;branch=main"
|
||||
S = "${WORKDIR}/git"
|
||||
SRCREV = "7062264d635f6efe04d88217a893a97ff385b873"
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
|
||||
GIR_MESON_OPTION = "gobject_introspection"
|
||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||
|
||||
do_install:prepend() {
|
||||
sed -i -e 's|${B}||g' ${B}/gtksourceview/gtksource-enumtypes.c
|
||||
sed -i -e 's|${B}||g' ${B}/gtksourceview/gtksource-enumtypes.h
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}"
|
||||
Loading…
Reference in New Issue
Block a user