Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] xarchiver: update to 0.5.4.19.
@ 2022-08-24 16:53 icp1994
  2022-08-25 17:39 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 1 reply; 2+ messages in thread
From: icp1994 @ 2022-08-24 16:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages xarchiver
https://github.com/void-linux/void-packages/pull/38889

xarchiver: update to 0.5.4.19.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/38889.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-xarchiver-38889.patch --]
[-- Type: text/x-diff, Size: 4272 bytes --]

From e54c33f10237f32844d12ae18c21bf817fa95f6e Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 23 Aug 2022 23:03:37 +0530
Subject: [PATCH] xarchiver: update to 0.5.4.19.

Adopt.
---
 srcpkgs/xarchiver/patches/doubleclick.patch | 75 ---------------------
 srcpkgs/xarchiver/template                  | 10 +--
 2 files changed, 5 insertions(+), 80 deletions(-)
 delete mode 100644 srcpkgs/xarchiver/patches/doubleclick.patch

diff --git a/srcpkgs/xarchiver/patches/doubleclick.patch b/srcpkgs/xarchiver/patches/doubleclick.patch
deleted file mode 100644
index aaac2c6b16e0..000000000000
--- a/srcpkgs/xarchiver/patches/doubleclick.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-From f245d8714690af30064a2e5ec94bd2374288c2b9 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ingo=20Br=C3=BCckl?= <ib@wupperonline.de>
-Date: Sat, 2 Jul 2022 23:47:36 +0200
-Subject: [PATCH 1/2] Simplify code
-
-The state of the modifier keys is available in event->state.
----
- src/window.c | 6 +-----
- 1 file changed, 1 insertion(+), 5 deletions(-)
-
-diff --git a/src/window.c b/src/window.c
-index 1ec0e02c..e9760386 100644
---- a/src/window.c
-+++ b/src/window.c
-@@ -2620,11 +2620,7 @@ gboolean xa_treeview_mouse_button_press (GtkWidget *widget, GdkEventButton *even
- 
- 		if (event->button == 1)
- 		{
--			GdkModifierType state;
--
--			gdk_event_get_state((GdkEvent *) event, &state);
--
--			if (gtk_tree_selection_iter_is_selected(selection, &iter) && ((state & (GDK_SHIFT_MASK | GDK_CONTROL_MASK)) == 0))
-+			if (gtk_tree_selection_iter_is_selected(selection, &iter) && ((event->state & (GDK_SHIFT_MASK | GDK_CONTROL_MASK)) == 0))
- 				return TRUE;
- 			else
- 				return FALSE;
-
-From 5d18fd23e8242678dbe47c232bc60b47f8fd75b0 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ingo=20Br=C3=BCckl?= <ib@wupperonline.de>
-Date: Sat, 2 Jul 2022 23:51:40 +0200
-Subject: [PATCH 2/2] Re-enable left mouse button double clicks
-
-Check the time between two left mouse button clicks and if they are
-fast enough, fake a double-click event.
-
-Left mouse button double clicks have been unintentionally disabled by
-the change in commit e81d108c429e29b13ef1759c05033a6f3c645ac1 in order
-to allow dragging of multiple rows.
-
-This fixes github issue #148, reported by aianson.
----
- src/window.c | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
-diff --git a/src/window.c b/src/window.c
-index e9760386..b9591aed 100644
---- a/src/window.c
-+++ b/src/window.c
-@@ -2597,6 +2597,7 @@ void xa_location_entry_activated (GtkEntry *entry,gpointer user_data)
- 
- gboolean xa_treeview_mouse_button_press (GtkWidget *widget, GdkEventButton *event, XArchive *archive)
- {
-+	static guint32 last_button1;
- 	XEntry *entry;
- 	GtkTreePath *path;
- 	GtkTreeIter iter;
-@@ -2620,10 +2621,17 @@ gboolean xa_treeview_mouse_button_press (GtkWidget *widget, GdkEventButton *even
- 
- 		if (event->button == 1)
- 		{
-+			if (event->time - last_button1 > 250)
-+			{
-+				last_button1 = event->time;
-+
- 			if (gtk_tree_selection_iter_is_selected(selection, &iter) && ((event->state & (GDK_SHIFT_MASK | GDK_CONTROL_MASK)) == 0))
- 				return TRUE;
- 			else
- 				return FALSE;
-+			}
-+			else
-+				event->button = 2;
- 		}
- 
- 		if (!gtk_tree_selection_iter_is_selected(selection, &iter))
diff --git a/srcpkgs/xarchiver/template b/srcpkgs/xarchiver/template
index c0403f69ac47..a73157f99cce 100644
--- a/srcpkgs/xarchiver/template
+++ b/srcpkgs/xarchiver/template
@@ -1,15 +1,15 @@
 # Template file for 'xarchiver'
 pkgname=xarchiver
-version=0.5.4.18
-revision=2
+version=0.5.4.19
+revision=1
 build_style=gnu-configure
 configure_args="--disable-doc --enable-gtk2=no"
 hostmakedepends="pkg-config intltool"
 makedepends="gtk+3-devel"
 depends="xdg-utils desktop-file-utils hicolor-icon-theme"
 short_desc="Lightweight desktop independent archive manager"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="icp <pangolin@vivaldi.net>"
 license="GPL-2.0-or-later"
 homepage="https://github.com/ib/xarchiver"
-distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=639889e052aad60c4a4ecacd607de3128ab765686570e93d954171ffdc22333e
+distfiles="https://github.com/ib/xarchiver/archive/refs/tags/${version}.tar.gz"
+checksum=3a7b74699527da196034c089ebdc6d6b1360b717ad9811b782719a2194b4734f

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

* Re: [PR PATCH] [Merged]: xarchiver: update to 0.5.4.19.
  2022-08-24 16:53 [PR PATCH] xarchiver: update to 0.5.4.19 icp1994
@ 2022-08-25 17:39 ` classabbyamp
  0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2022-08-25 17:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

There's a merged pull request on the void-packages repository

xarchiver: update to 0.5.4.19.
https://github.com/void-linux/void-packages/pull/38889

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

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

end of thread, other threads:[~2022-08-25 17:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-24 16:53 [PR PATCH] xarchiver: update to 0.5.4.19 icp1994
2022-08-25 17:39 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).