Github messages for voidlinux
 help / color / mirror / Atom feed
From: dkwo <dkwo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [wip] transmission: build with qt6
Date: Sun, 24 Mar 2024 15:54:18 +0100	[thread overview]
Message-ID: <20240324145418.D1772211DB@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49505@inbox.vuxu.org>

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

There is an updated pull request by dkwo against master on the void-packages repository

https://github.com/dkwo/void-packages trans
https://github.com/void-linux/void-packages/pull/49505

[wip] transmission: build with qt6
- I built this PR locally for my native architecture, (x86_64)

I can't figure out how to fix cross compilation with qt6. Any ideas?

[ci skip]

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

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

From 86b69b2ca6f4237ebc62b544c43cf4c987a298bf Mon Sep 17 00:00:00 2001
From: dkwo <nicolopiazzalunga@gmail.com>
Date: Wed, 20 Mar 2024 13:37:48 -0400
Subject: [PATCH] transmission: build with qt6

---
 srcpkgs/transmission/template | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/transmission/template b/srcpkgs/transmission/template
index 058879644ab1c1..48b4d808e98c31 100644
--- a/srcpkgs/transmission/template
+++ b/srcpkgs/transmission/template
@@ -1,13 +1,18 @@
 # Template file for 'transmission'
 pkgname=transmission
 version=4.0.5
-revision=1
+revision=2
 build_style=cmake
-configure_args="-DENABLE_CLI=ON -DENABLE_GTK=ON -DENABLE_QT=ON -DENABLE_MAC=OFF"
-hostmakedepends="autoconf automake intltool glib-devel
- libtool pkg-config qt5-host-tools qt5-qmake"
+configure_args="
+ -DENABLE_CLI=ON
+ -DENABLE_GTK=ON
+ -DENABLE_QT=ON
+ -DUSE_QT_VERSION=6
+ -DWITH_SYSTEMD=OFF
+ -DENABLE_MAC=OFF"
+hostmakedepends="intltool glib-devel libtool pkg-config qt6-base qt6-tools"
 makedepends="dbus-glib-devel gtkmm4-devel glibmm-devel
- libcurl-devel libevent-devel qt5-tools-devel qt5-svg-devel
+ libcurl-devel libevent-devel qt6-tools-devel qt6-svg-devel
  libdeflate-devel miniupnpc-devel"
 short_desc="Fast, easy and free BitTorrent client"
 maintainer="Jason Elswick <jason@jasondavid.tv>"
@@ -16,16 +21,9 @@ homepage="https://www.transmissionbt.com"
 changelog="https://github.com/transmission/transmission/releases"
 distfiles="https://github.com/transmission/transmission/releases/download/${version}/${pkgname}-${version}.tar.xz"
 checksum=fd68ff114a479200043c30c7e69dba4c1932f7af36ca4c5b5d2edcb5866e6357
-
-# Create transmission system user/group
 system_accounts="transmission"
-transmission_homedir="/var/lib/transmission"
 make_dirs="/var/lib/transmission 0755 transmission transmission"
 
-if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
-	makedepends+=" musl-legacy-compat"
-fi
-
 post_install() {
 	rm -f ${DESTDIR}/usr/share/${pkgname}/web/LICENSE
 	vsv transmission-daemon

  parent reply	other threads:[~2024-03-24 14:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-24 13:48 [PR PATCH] " dkwo
2024-03-24 14:44 ` dkwo
2024-03-24 14:54 ` dkwo [this message]
2024-03-24 20:39 ` [PR REVIEW] " chrysos349
2024-03-25  1:07 ` dkwo
2024-03-25  1:08 ` [PR PATCH] [Updated] " dkwo
2024-03-25 14:59 ` [PR REVIEW] " sgn
2024-03-25 17:07 ` dkwo
2024-03-25 17:07 ` [PR PATCH] [Updated] " dkwo
2024-03-25 18:31 ` dkwo
2024-03-28  2:18 ` sgn
2024-03-28  2:19 ` sgn
2024-03-28  2:20 ` sgn
2024-03-28  3:18 ` sgn
2024-03-28  3:58 ` [PR PATCH] [Merged]: " sgn

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=20240324145418.D1772211DB@inbox.vuxu.org \
    --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).