From: dkwo <dkwo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] android-file-transfer-linux: add libmtp to depends
Date: Tue, 12 Dec 2023 22:15:55 +0100 [thread overview]
Message-ID: <20231212211555.hZcuVNkz6CLvlyWTf9MdcJ5V0_37aG5jdn1Ly0K75T0@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: 447 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: add libmtp to depends
its own libmtp-ng.so does not do the job for me.
- I tested the changes in this PR: yes
cc @Vaelatern @biopsin
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: 2275 bytes --]
From 8690d3eba4af14cfd96110584d3e929e95917768 Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Fri, 24 Nov 2023 16:55:28 -0500
Subject: [PATCH 1/2] android-file-transfer-linux: add libmtp to depends
it ships libmtp-ng but no udev rules
---
srcpkgs/android-file-transfer-linux/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/android-file-transfer-linux/template b/srcpkgs/android-file-transfer-linux/template
index 4480fb0ab6692..39f6204348d54 100644
--- a/srcpkgs/android-file-transfer-linux/template
+++ b/srcpkgs/android-file-transfer-linux/template
@@ -1,12 +1,13 @@
# Template file for 'android-file-transfer-linux'
pkgname=android-file-transfer-linux
version=4.2
-revision=3
+revision=4
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"
short_desc="Android File Transfer for Linux"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="LGPL-2.1-or-later"
From fdc0e49e7916ba71a181d04814cb4dcaf3b35a8c Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Tue, 12 Dec 2023 16:13:31 -0500
Subject: [PATCH 2/2] libmtp: split tools/examples
---
srcpkgs/libmtp/template | 10 +++++++++-
srcpkgs/mtp-tools | 1 +
2 files changed, 10 insertions(+), 1 deletion(-)
create mode 120000 srcpkgs/mtp-tools
diff --git a/srcpkgs/libmtp/template b/srcpkgs/libmtp/template
index 8f87793b08e4d..2a15d86b7cd7e 100644
--- a/srcpkgs/libmtp/template
+++ b/srcpkgs/libmtp/template
@@ -1,7 +1,7 @@
# 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"
@@ -35,3 +35,11 @@ libmtp-devel_package() {
vmove "usr/lib/*.so"
}
}
+
+mtp-tools_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - example tools"
+ pkg_install() {
+ vmove "usr/bin/*"
+ }
+}
diff --git a/srcpkgs/mtp-tools b/srcpkgs/mtp-tools
new file mode 120000
index 0000000000000..e966e1f9db2e5
--- /dev/null
+++ b/srcpkgs/mtp-tools
@@ -0,0 +1 @@
+libmtp
\ No newline at end of file
next prev parent reply other threads:[~2023-12-12 21:15 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-24 21:57 [PR PATCH] " dkwo
2023-11-25 16:37 ` biopsin
2023-12-12 20:12 ` dkwo
2023-12-12 20:12 ` [PR PATCH] [Closed]: " dkwo
2023-12-12 21:15 ` dkwo
2023-12-12 21:15 ` dkwo [this message]
2023-12-12 21:25 ` [PR PATCH] [Updated] " 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
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=20231212211555.hZcuVNkz6CLvlyWTf9MdcJ5V0_37aG5jdn1Ly0K75T0@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).