* [gentoo-commits] repo/gentoo:master commit in: app-editors/mousepad/, app-editors/mousepad/files/
@ 2021-03-01 13:15 Michał Górny
0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2021-03-01 13:15 UTC (permalink / raw
To: gentoo-commits
commit: 47ca700313a5a01e042d1308598b10e2fdc24af4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 1 13:12:55 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 1 13:15:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47ca7003
app-editors/mousepad: Backport select-all fix
Closes: https://bugs.gentoo.org/772245
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../mousepad/files/mousepad-0.5.2-select-all.patch | 28 ++++++++++++++++++++++
...sepad-0.5.2.ebuild => mousepad-0.5.2-r1.ebuild} | 4 ++++
...sepad-0.5.3.ebuild => mousepad-0.5.3-r1.ebuild} | 4 ++++
3 files changed, 36 insertions(+)
diff --git a/app-editors/mousepad/files/mousepad-0.5.2-select-all.patch b/app-editors/mousepad/files/mousepad-0.5.2-select-all.patch
new file mode 100644
index 00000000000..46762e687c4
--- /dev/null
+++ b/app-editors/mousepad/files/mousepad-0.5.2-select-all.patch
@@ -0,0 +1,28 @@
+From 8473653ad37a32375ff416205c0f44f771f380df Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Mon, 1 Mar 2021 13:36:33 +0100
+Subject: [PATCH] Fix missing parameter to "select-all" signal
+
+Add missing "select" parameter to the "select-all" signal. This fixes
+undefined behavior reported in https://bugs.gentoo.org/772245.
+Thanks to Mart Raudsepp for figuring out the problem.
+---
+ mousepad/mousepad-window.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mousepad/mousepad-window.c b/mousepad/mousepad-window.c
+index 2f901b2..9ba6223 100644
+--- a/mousepad/mousepad-window.c
++++ b/mousepad/mousepad-window.c
+@@ -5223,7 +5223,7 @@ mousepad_window_action_select_all (GSimpleAction *action,
+ g_return_if_fail (MOUSEPAD_IS_DOCUMENT (window->active));
+
+ /* select everything in the document */
+- g_signal_emit_by_name (window->active->textview, "select-all");
++ g_signal_emit_by_name (window->active->textview, "select-all", TRUE);
+ }
+
+
+--
+GitLab
+
diff --git a/app-editors/mousepad/mousepad-0.5.2.ebuild b/app-editors/mousepad/mousepad-0.5.2-r1.ebuild
similarity index 93%
rename from app-editors/mousepad/mousepad-0.5.2.ebuild
rename to app-editors/mousepad/mousepad-0.5.2-r1.ebuild
index e11ee91e2ab..ed7d2cd8fcf 100644
--- a/app-editors/mousepad/mousepad-0.5.2.ebuild
+++ b/app-editors/mousepad/mousepad-0.5.2-r1.ebuild
@@ -23,6 +23,10 @@ BDEPEND="
sys-devel/gettext
virtual/pkgconfig"
+PATCHES=(
+ "${FILESDIR}"/mousepad-0.5.2-select-all.patch
+)
+
pkg_postinst() {
gnome2_schemas_update
xdg_desktop_database_update
diff --git a/app-editors/mousepad/mousepad-0.5.3.ebuild b/app-editors/mousepad/mousepad-0.5.3-r1.ebuild
similarity index 93%
rename from app-editors/mousepad/mousepad-0.5.3.ebuild
rename to app-editors/mousepad/mousepad-0.5.3-r1.ebuild
index 727e1bf8656..3440cd70cd8 100644
--- a/app-editors/mousepad/mousepad-0.5.3.ebuild
+++ b/app-editors/mousepad/mousepad-0.5.3-r1.ebuild
@@ -23,6 +23,10 @@ BDEPEND="
sys-devel/gettext
virtual/pkgconfig"
+PATCHES=(
+ "${FILESDIR}"/mousepad-0.5.2-select-all.patch
+)
+
pkg_postinst() {
gnome2_schemas_update
xdg_desktop_database_update
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-editors/mousepad/, app-editors/mousepad/files/
@ 2021-07-03 6:21 Michał Górny
0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2021-07-03 6:21 UTC (permalink / raw
To: gentoo-commits
commit: 31161458f6bafba5f9c305b4d1a9c8ef9baddb90
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 3 06:20:43 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 3 06:21:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31161458
app-editors/mousepad: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-editors/mousepad/Manifest | 2 -
.../mousepad/files/mousepad-0.5.2-select-all.patch | 28 --------------
app-editors/mousepad/mousepad-0.5.3-r1.ebuild | 40 --------------------
app-editors/mousepad/mousepad-0.5.4.ebuild | 43 ----------------------
4 files changed, 113 deletions(-)
diff --git a/app-editors/mousepad/Manifest b/app-editors/mousepad/Manifest
index d61178a747e..4fe301720c6 100644
--- a/app-editors/mousepad/Manifest
+++ b/app-editors/mousepad/Manifest
@@ -1,3 +1 @@
-DIST mousepad-0.5.3.tar.bz2 848169 BLAKE2B c5001d5a1f3c8ef820fdf2297679b8c7acae7cb08ed134529b7b1e0861e8d9b36c9495b6a207371c9e6a0f59a3f7bd41adaa678250d96ab7112427d5cfc2aa0d SHA512 596d85a9b7caa1616bd5adc2bb4f7ddbdf47d9e4a049f100581ecba9c61db5243f45d3dd8217ecaed1803c73c2221a396817790efe3898c487c12c8ce8d328c6
-DIST mousepad-0.5.4.tar.bz2 855416 BLAKE2B a998b2faabae1ad505da3a8fb560c731e6f5002801cdc3a4edcd515d5d75210ae509261644070e1951629271bd5956aee1e196c35c6b7e9c3ab782cd06b35ac6 SHA512 52d1d9b235b13a651ee7e6e1633074c7829c27e880033637eacdd7cd63f246d1f47d0cd2c981cf2a7eb96dbb7119204a685f00a60968e4478d5057bce8500370
DIST mousepad-0.5.5.tar.bz2 891263 BLAKE2B a75930385f9087f6294811c91b2a162d2e9ca2e945ec84efdfd932806211ee105d2ac2835122c2de4ea519b6728959478147d11df75ff3b00324c262983046a0 SHA512 5c6d6d048fe8a08c04ddeff7adb7d621d9beac631dd58fe5778cc8236e06ddb4ab50380eaebf4236c655b6d26058242024d5d3bbb1772607ab1f10744f8936f1
diff --git a/app-editors/mousepad/files/mousepad-0.5.2-select-all.patch b/app-editors/mousepad/files/mousepad-0.5.2-select-all.patch
deleted file mode 100644
index 46762e687c4..00000000000
--- a/app-editors/mousepad/files/mousepad-0.5.2-select-all.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 8473653ad37a32375ff416205c0f44f771f380df Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Mon, 1 Mar 2021 13:36:33 +0100
-Subject: [PATCH] Fix missing parameter to "select-all" signal
-
-Add missing "select" parameter to the "select-all" signal. This fixes
-undefined behavior reported in https://bugs.gentoo.org/772245.
-Thanks to Mart Raudsepp for figuring out the problem.
----
- mousepad/mousepad-window.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/mousepad/mousepad-window.c b/mousepad/mousepad-window.c
-index 2f901b2..9ba6223 100644
---- a/mousepad/mousepad-window.c
-+++ b/mousepad/mousepad-window.c
-@@ -5223,7 +5223,7 @@ mousepad_window_action_select_all (GSimpleAction *action,
- g_return_if_fail (MOUSEPAD_IS_DOCUMENT (window->active));
-
- /* select everything in the document */
-- g_signal_emit_by_name (window->active->textview, "select-all");
-+ g_signal_emit_by_name (window->active->textview, "select-all", TRUE);
- }
-
-
---
-GitLab
-
diff --git a/app-editors/mousepad/mousepad-0.5.3-r1.ebuild b/app-editors/mousepad/mousepad-0.5.3-r1.ebuild
deleted file mode 100644
index ed7d2cd8fcf..00000000000
--- a/app-editors/mousepad/mousepad-0.5.3-r1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit gnome2-utils xdg-utils
-
-DESCRIPTION="GTK+-based editor for the Xfce Desktop Environment"
-HOMEPAGE="https://git.xfce.org/apps/mousepad/about/"
-SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-
-RDEPEND=">=dev-libs/glib-2.52
- >=xfce-base/xfconf-4.12:=
- >=x11-libs/gtk+-3.22:3
- >=x11-libs/gtksourceview-3.24:3.0"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-lang/perl
- dev-util/intltool
- sys-devel/gettext
- virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}"/mousepad-0.5.2-select-all.patch
-)
-
-pkg_postinst() {
- gnome2_schemas_update
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_schemas_update
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
diff --git a/app-editors/mousepad/mousepad-0.5.4.ebuild b/app-editors/mousepad/mousepad-0.5.4.ebuild
deleted file mode 100644
index bcb567c7aa2..00000000000
--- a/app-editors/mousepad/mousepad-0.5.4.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit gnome2-utils xdg-utils
-
-DESCRIPTION="GTK+-based editor for the Xfce Desktop Environment"
-HOMEPAGE="https://git.xfce.org/apps/mousepad/about/"
-SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-
-RDEPEND=">=dev-libs/glib-2.52
- >=xfce-base/xfconf-4.12:=
- >=x11-libs/gtk+-3.22:3
- >=x11-libs/gtksourceview-4.0.0:4"
-DEPEND="${RDEPEND}"
-BDEPEND="
- dev-lang/perl
- dev-util/intltool
- sys-devel/gettext
- virtual/pkgconfig"
-
-src_configure() {
- local myconf=(
- --enable-gtksourceview4
- )
- econf "${myconf[@]}"
-}
-
-pkg_postinst() {
- gnome2_schemas_update
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_schemas_update
- xdg_desktop_database_update
- xdg_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-03 6:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-03 6:21 [gentoo-commits] repo/gentoo:master commit in: app-editors/mousepad/, app-editors/mousepad/files/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2021-03-01 13:15 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox