public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: gnome-extra/commit/
@ 2024-03-22  0:08 Julien Roy
  2024-03-22  0:14 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
  0 siblings, 1 reply; 4+ messages in thread
From: Julien Roy @ 2024-03-22  0:08 UTC (permalink / raw
  To: gentoo-commits

commit:     a8bb45eae0f9a9f08279313ff31e55be839bb61d
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Fri Mar 22 00:08:24 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> 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 <julien <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<name>Julien Roy</name>
+		<email>julien@jroy.ca</email>
+	</maintainer>
+	<longdescription>
+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
+	</longdescription>
+	<upstream>
+		<bugs-to>https://github.com/sonnyp/Commit/issues</bugs-to>
+		<remote-id type="github">sonnyp/Commit</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: gnome-extra/commit/
  2024-03-22  0:08 [gentoo-commits] repo/proj/guru:dev commit in: gnome-extra/commit/ Julien Roy
@ 2024-03-22  0:14 ` Julien Roy
  0 siblings, 0 replies; 4+ messages in thread
From: Julien Roy @ 2024-03-22  0:14 UTC (permalink / raw
  To: gentoo-commits

commit:     a8bb45eae0f9a9f08279313ff31e55be839bb61d
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Fri Mar 22 00:08:24 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> 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 <julien <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<name>Julien Roy</name>
+		<email>julien@jroy.ca</email>
+	</maintainer>
+	<longdescription>
+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
+	</longdescription>
+	<upstream>
+		<bugs-to>https://github.com/sonnyp/Commit/issues</bugs-to>
+		<remote-id type="github">sonnyp/Commit</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: gnome-extra/commit/
@ 2024-04-07 15:46 Julien Roy
  0 siblings, 0 replies; 4+ messages in thread
From: Julien Roy @ 2024-04-07 15:46 UTC (permalink / raw
  To: gentoo-commits

commit:     0ea579d1c747b43d8be3f711724098fa0e316b8e
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Sat Apr  6 12:55:45 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat Apr  6 12:57:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0ea579d1

gnome-extra/commit: remove redundant xdg update

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 gnome-extra/commit/commit-4.1-r1.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gnome-extra/commit/commit-4.1-r1.ebuild b/gnome-extra/commit/commit-4.1-r1.ebuild
index 60e4597529..ae5e9bb71c 100644
--- a/gnome-extra/commit/commit-4.1-r1.ebuild
+++ b/gnome-extra/commit/commit-4.1-r1.ebuild
@@ -59,11 +59,9 @@ src_install() {
 pkg_postinst() {
 	xdg_pkg_postinst
 	gnome2_schemas_update
-	xdg_icon_cache_update
 }
 
 pkg_postrm() {
 	xdg_pkg_postrm
 	gnome2_schemas_update
-	xdg_icon_cache_update
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: gnome-extra/commit/
  2024-04-07 15:43 [gentoo-commits] repo/proj/guru:dev " Julien Roy
@ 2024-04-07 15:46 ` Julien Roy
  0 siblings, 0 replies; 4+ messages in thread
From: Julien Roy @ 2024-04-07 15:46 UTC (permalink / raw
  To: gentoo-commits

commit:     c5d2e11f9052638d2b030c9072d7299a12b583ae
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Sun Apr  7 15:38:57 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sun Apr  7 15:38:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c5d2e11f

gnome-extra/commit: improve S variable bashism

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 gnome-extra/commit/commit-4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnome-extra/commit/commit-4.1-r1.ebuild b/gnome-extra/commit/commit-4.1-r1.ebuild
index ae5e9bb71c..af659e1e57 100644
--- a/gnome-extra/commit/commit-4.1-r1.ebuild
+++ b/gnome-extra/commit/commit-4.1-r1.ebuild
@@ -15,7 +15,7 @@ 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}"
+S="${WORKDIR}/${PN^}-${PV}"
 
 LICENSE="GPL-3"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-07 15:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-22  0:08 [gentoo-commits] repo/proj/guru:dev commit in: gnome-extra/commit/ Julien Roy
2024-03-22  0:14 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
  -- strict thread matches above, loose matches on Subject: below --
2024-04-07 15:43 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-04-07 15:46 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-07 15:46 Julien Roy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox