From: dkwo <dkwo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] android-file-transfer-linux: depend on libmtp-udev (newly split)
Date: Sun, 24 Dec 2023 21:15:11 +0100 [thread overview]
Message-ID: <20231224201511._Z9BsBkVAD0KwRCcH44medei8Fc7gkY_-aBMlYmFwv0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-47378@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 409 bytes --]
There is an updated pull request by dkwo against master on the void-packages repository
https://github.com/dkwo/void-packages aft
https://github.com/void-linux/void-packages/pull/47378
android-file-transfer-linux: depend on libmtp-udev (newly split)
it's missing udev rules
- I tested the changes in this PR: yes
A patch file from https://github.com/void-linux/void-packages/pull/47378.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-aft-47378.patch --]
[-- Type: text/x-diff, Size: 2976 bytes --]
From 0802e946a3594d63ec18f97dee36812da5fb634a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Tue, 12 Dec 2023 16:13:31 -0500
Subject: [PATCH 1/2] libmtp: split udev rules
---
srcpkgs/libmtp-udev | 1 +
srcpkgs/libmtp/template | 13 ++++++++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
create mode 120000 srcpkgs/libmtp-udev
diff --git a/srcpkgs/libmtp-udev b/srcpkgs/libmtp-udev
new file mode 120000
index 0000000000000..e966e1f9db2e5
--- /dev/null
+++ b/srcpkgs/libmtp-udev
@@ -0,0 +1 @@
+libmtp
\ No newline at end of file
diff --git a/srcpkgs/libmtp/template b/srcpkgs/libmtp/template
index 8f87793b08e4d..f240a0ab3cc43 100644
--- a/srcpkgs/libmtp/template
+++ b/srcpkgs/libmtp/template
@@ -1,12 +1,13 @@
# Template file for 'libmtp'
pkgname=libmtp
version=1.1.21
-revision=1
+revision=2
build_style=gnu-configure
configure_args="--disable-static --with-udev=/usr/lib/udev
--with-udev-group=plugdev"
hostmakedepends="pkg-config"
makedepends="libgcrypt-devel libusb-devel"
+depends="libmtp-udev"
short_desc="Library for Microsoft's Media Transfer Protocol (MTP)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
@@ -35,3 +36,13 @@ libmtp-devel_package() {
vmove "usr/lib/*.so"
}
}
+
+libmtp-udev_package() {
+ short_desc+=" - udev rules"
+ pkg_install() {
+ vmove usr/lib/udev/hwdb.d/69-libmtp.hwdb
+ vmove usr/lib/udev/rules.d/69-libmtp.rules
+ # this is hardcoded within the above rule
+ vmove usr/lib/udev/mtp-probe
+ }
+}
From df755d060e9db7c03787296d903a69e78b462c2a Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Nov 2023 16:55:28 -0500
Subject: [PATCH 2/2] android-file-transfer-linux: add libmtp-udev to depends,
update to 4.3
it ships libmtp-ng but no udev rules
---
srcpkgs/android-file-transfer-linux/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/android-file-transfer-linux/template b/srcpkgs/android-file-transfer-linux/template
index 4480fb0ab6692..430deb820282f 100644
--- a/srcpkgs/android-file-transfer-linux/template
+++ b/srcpkgs/android-file-transfer-linux/template
@@ -1,15 +1,16 @@
# Template file for 'android-file-transfer-linux'
pkgname=android-file-transfer-linux
-version=4.2
-revision=3
+version=4.3
+revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIB=1"
hostmakedepends="qt5-qmake qt5-host-tools ninja pkg-config"
makedepends="file-devel fuse-devel qt5-devel readline-devel
qt5-tools-devel"
+depends="libmtp-udev"
short_desc="Android File Transfer for Linux"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/whoozle/android-file-transfer-linux"
distfiles="https://github.com/whoozle/android-file-transfer-linux/archive/v${version}.tar.gz"
-checksum=cc607d68e8a18273c9b56975a70a0e68fbdf9d5b903b2727a345a605ff48a19f
+checksum=8ff658630fc820a7ca0b70025aa47d235b7fb64f5cb6a72ca76a7acbf3435128
next prev parent reply other threads:[~2023-12-24 20:15 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-24 21:57 [PR PATCH] android-file-transfer-linux: add libmtp to depends dkwo
2023-11-25 16:37 ` biopsin
2023-12-12 20:12 ` [PR PATCH] [Closed]: " dkwo
2023-12-12 20:12 ` dkwo
2023-12-12 21:15 ` dkwo
2023-12-12 21:15 ` [PR PATCH] [Updated] " dkwo
2023-12-12 21:25 ` dkwo
2023-12-13 17:15 ` dkwo
2023-12-14 15:43 ` dkwo
2023-12-14 15:44 ` dkwo
2023-12-14 15:44 ` dkwo
2023-12-23 19:07 ` [PR PATCH] [Updated] android-file-transfer-linux: depend on libmtp-udev (newly split) dkwo
2023-12-24 8:30 ` dkwo
2023-12-24 20:15 ` dkwo [this message]
2023-12-26 18:00 ` dkwo
2023-12-27 16:22 ` dkwo
2024-01-16 22:46 ` dkwo
2024-01-16 23:33 ` tornaria
2024-01-16 23:55 ` dkwo
2024-01-17 0:31 ` tornaria
2024-01-31 21:20 ` dkwo
2024-02-01 0:36 ` Duncaen
2024-02-01 0:37 ` Duncaen
2024-02-01 16:03 ` [PR PATCH] [Closed]: " dkwo
2024-02-01 16:03 ` dkwo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231224201511._Z9BsBkVAD0KwRCcH44medei8Fc7gkY_-aBMlYmFwv0@z \
--to=dkwo@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).