From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 04525158041 for ; Fri, 22 Mar 2024 00:14:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A5D52BC014; Fri, 22 Mar 2024 00:14:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 246902BC014 for ; Fri, 22 Mar 2024 00:14:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2E2F7342FFB for ; Fri, 22 Mar 2024 00:14:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB99414F1 for ; Fri, 22 Mar 2024 00:14:36 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1711066104.a8bb45eae0f9a9f08279313ff31e55be839bb61d.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: gnome-extra/commit/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gnome-extra/commit/Manifest gnome-extra/commit/commit-4.1.ebuild gnome-extra/commit/metadata.xml X-VCS-Directories: gnome-extra/commit/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: a8bb45eae0f9a9f08279313ff31e55be839bb61d X-VCS-Branch: master Date: Fri, 22 Mar 2024 00:14:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 025b2c2f-4580-4ca1-8098-fb57cfb3d762 X-Archives-Hash: f0134c79f6953a7bebf29229b61dd00d Message-ID: <20240322001436.-prsO4VJQF8Pz3B-GkZ22dPIyC4uRY46e178-3TQolQ@z> commit: a8bb45eae0f9a9f08279313ff31e55be839bb61d Author: Julien Roy jroy ca> AuthorDate: Fri Mar 22 00:08:24 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Fri Mar 22 00:08:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a8bb45ea gnome-extra/commit: new package, add 4.1 Signed-off-by: Julien Roy jroy.ca> gnome-extra/commit/Manifest | 2 ++ gnome-extra/commit/commit-4.1.ebuild | 62 ++++++++++++++++++++++++++++++++++++ gnome-extra/commit/metadata.xml | 37 +++++++++++++++++++++ 3 files changed, 101 insertions(+) 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 + +