From d35cb6be1fd9e411007f63293151c4f476ac87b8 Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Thu, 21 Mar 2024 20:04:48 -0400 Subject: [PATCH 1/2] app-text/libspelling: add 0.2.1 Signed-off-by: Julien Roy --- app-text/libspelling/Manifest | 1 + app-text/libspelling/libspelling-0.2.1.ebuild | 59 +++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 app-text/libspelling/libspelling-0.2.1.ebuild diff --git a/app-text/libspelling/Manifest b/app-text/libspelling/Manifest index 86ad005039..a12f1fab53 100644 --- a/app-text/libspelling/Manifest +++ b/app-text/libspelling/Manifest @@ -1 +1,2 @@ DIST libspelling-0.2.0.tar.bz2 45591 BLAKE2B 5fefe443d9f492d1d84e41eaba74065eab8a0b1d62b5bb292f221b4af02832dc0114d801cd08e6b9ef3c905f27da524f3331b64e7726e8138e665dfd512ac7ab SHA512 3eef6fe3d0ed32d2c7a8da7eab337b4553d5f4dd0a3c3b24dcf3036d4c1218411122bfec3842160581a669e049bee7f3e3c1b86a03cc1de67ae30bb9cab0584f +DIST libspelling-0.2.1.tar.bz2 45653 BLAKE2B a0efe16246bf215ee974fd7f5101791b85f7ed76a29259bc158a22271771a77ecd3e83ca460a38fbf86f8057cb7f3826f71061de4fbee546a001b1a0b0fedd34 SHA512 430dc8eddfcb86c9a2d5a225cf43e56bff8652013fe3eededf3bf97323736afcbeaa75004f94d79f745173bb67947ac14274ea7c72d2584c945302fc97fe899f diff --git a/app-text/libspelling/libspelling-0.2.1.ebuild b/app-text/libspelling/libspelling-0.2.1.ebuild new file mode 100644 index 0000000000..3948c223f8 --- /dev/null +++ b/app-text/libspelling/libspelling-0.2.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson vala + +DESCRIPTION="A GNOME library for spellchecking" +HOMEPAGE="https://gitlab.gnome.org/chergert/libspelling" +SRC_URI="https://gitlab.gnome.org/chergert/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2.1+" +SLOT="1" +KEYWORDS="~amd64" +IUSE="+enchant gtk-doc vala" + +RDEPEND=" + dev-libs/glib:2 + >=gui-libs/gtk-4.8:4 + >=gui-libs/gtksourceview-5.6:5 + enchant? ( + app-text/enchant:2 + dev-libs/icu:= + ) +" +DEPEND="${RDEPEND} + vala? ( + $(vala_depend) + >=gui-libs/gtksourceview-5.6:5[vala] + ) +" +BDEPEND=" + dev-libs/gobject-introspection + virtual/pkgconfig + gtk-doc? ( dev-util/gi-docgen ) +" + +src_prepare() { + use vala && vala_setup + default +} + +src_configure() { + local emesonargs=( + $(meson_feature enchant) + $(meson_use gtk-doc docs) + $(meson_use vala vapi) + ) + meson_src_configure +} + +src_install() { + meson_src_install + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/${PN}-${SLOT} "${ED}"/usr/share/gtk-doc/html/ || die + fi +} From a8bb45eae0f9a9f08279313ff31e55be839bb61d Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Thu, 21 Mar 2024 20:08:24 -0400 Subject: [PATCH 2/2] gnome-extra/commit: new package, add 4.1 Signed-off-by: Julien Roy --- gnome-extra/commit/Manifest | 2 + gnome-extra/commit/commit-4.1.ebuild | 62 ++++++++++++++++++++++++++++ gnome-extra/commit/metadata.xml | 37 +++++++++++++++++ 3 files changed, 101 insertions(+) create mode 100644 gnome-extra/commit/Manifest create mode 100644 gnome-extra/commit/commit-4.1.ebuild create mode 100644 gnome-extra/commit/metadata.xml diff --git a/gnome-extra/commit/Manifest b/gnome-extra/commit/Manifest new file mode 100644 index 0000000000..81dbce18fe --- /dev/null +++ b/gnome-extra/commit/Manifest @@ -0,0 +1,2 @@ +DIST commit-4.1-troll.gh.tar.gz 474880 BLAKE2B 9ebde0b0d32dd0591f1940add827776938d42121b84b391c478ad7baf82580eec12b084c89bf6cebbf34759aea5b6bdc7ced518fa56ea9a9def7bcc5b5a2c734 SHA512 140eeae1458aeed3ce294fb89c4c1ae84a947f3abf6992d1bcaca23e78595f5f41700934889914c1f152fc0d31543205f62097ee000c7f285edf853be79beb13 +DIST commit-4.1.gh.tar.gz 598633 BLAKE2B 8381d385ca62f351cc61e405e115f81311eb6509ab32f75e42e066ed3ab24156b8f6036c94204c5137ab720e976099a6f80a9b1c21145126857076b520367330 SHA512 0208cbea33d19913ca928e72397ffb5cb40456ab1154f0ccd9a271758eb77491f7197a39c9593c5daad207e35f16de8ac05da8c85aced790a4152564f9e77f76 diff --git a/gnome-extra/commit/commit-4.1.ebuild b/gnome-extra/commit/commit-4.1.ebuild new file mode 100644 index 0000000000..3bf78f0dc4 --- /dev/null +++ b/gnome-extra/commit/commit-4.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome2-utils meson xdg + +TROLL_COMMIT="e7933a083681d23fce0078b0246fcff244af5ac3" +DESCRIPTION="Commit message editor" +HOMEPAGE=" + https://github.com/sonnyp/Commit + https://apps.gnome.org/Commit/ +" +SRC_URI=" + https://github.com/sonnyp/Commit/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz + https://github.com/sonnyp/troll/archive/${TROLL_COMMIT}.tar.gz -> ${P}-troll.gh.tar.gz +" +S="${WORKDIR}/${PN/c/C}-${PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-text/libspelling + gui-libs/gtk:4 + gui-libs/libadwaita:1 +" +DEPEND="${RDEPEND}" + +BDEPEND=" + app-alternatives/ninja + dev-libs/appstream-glib + dev-libs/gjs + dev-libs/glib:2= + dev-util/blueprint-compiler + dev-util/desktop-file-utils + sys-devel/gettext + virtual/pkgconfig +" + +src_unpack() { + default + mv "${WORKDIR}"/troll-${TROLL_COMMIT}/* "${S}"/troll || die +} + +src_install() { + meson_src_install + dosym -r /usr/bin/re.sonny.Commit /usr/bin/"${PN}" +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update + xdg_icon_cache_update +} diff --git a/gnome-extra/commit/metadata.xml b/gnome-extra/commit/metadata.xml new file mode 100644 index 0000000000..94407373e8 --- /dev/null +++ b/gnome-extra/commit/metadata.xml @@ -0,0 +1,37 @@ + + + + + Julien Roy + julien@jroy.ca + + +Commit is an editor that helps you write better Git and Mercurial commit messages. + +After installing make sure to launch the application and follow the instructions. + +Commit will pop up automatically when you make a commit in one of your projects. To save your commit message, press the Commit button or the Ctrl+Return shortcut. To abort and dismiss Commit, press the Abort button or the Escape key. + +Features: + +Highlights overflow of the commit title +Smart body wrapping +Inserts a blank line between title and body +Spell checking +Comments are read-only and excluded from "Select All" +Displays project folder and branch in window header +Dark mode support +Keyboard navigation and shortcuts +Undo/Redo support +Emoji picker +Supports git commit, merge, tag --annotate, add --patch, rebase --interactive +Supports Mercurial commit +Auto capitalize the commit title +Welcome window with settings and instructions +Highlight syntax for Git, Mercurial and diffs + + + https://github.com/sonnyp/Commit/issues + sonnyp/Commit + +