Github messages for voidlinux
 help / color / mirror / Atom feed
From: dotnetfox <dotnetfox@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] WoeUSB: update to 5.2.2.
Date: Tue, 23 Nov 2021 23:46:28 +0100	[thread overview]
Message-ID: <20211123224628.C6kaHOwtdCRg-JJ80R3kQDh-Nb9LttTuKgbgrTWVEEw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34222@inbox.vuxu.org>

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

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

https://github.com/dotnetfox/void-packages woeusb
https://github.com/void-linux/void-packages/pull/34222

WoeUSB: update to 5.2.2.
This commit with heavy changes is made to update the package from version 3.1.1 to 5.2.2.

Due to the absence of updates for a long time the following changes are present:
- the repository has been moved to another organization.
- gui is forked into a separate repository and left unmaintained.
- GNU Auto*hell is no more.
- more dependences: wimlib and dosfstools.
- WoeUSB-cli has lost its purpose (since gui is removed, cli only is left).

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64
<!-- 
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From c3ee604539c31a99f226679dcb336792723580a0 Mon Sep 17 00:00:00 2001
From: Ranme Fritzvilliams <ranme@dotnetfox.tk>
Date: Wed, 24 Nov 2021 00:47:52 +0300
Subject: [PATCH] WoeUSB: update to 5.2.2.

This commit with heavy changes is made to update the package from
version 3.1.1 to 5.2.2.

Due to the absence of updates for a long time the following changes are
present:
- the repository has been moved to another organization.
- gui is forked into a separate repository and left unmaintained.
- GNU Auto*hell is no more.
- more dependences: wimlib and dosfstools.
- WoeUSB-cli has lost its purpose (since gui is removed, cli only is
  left).
---
 srcpkgs/WoeUSB/template | 38 +++++++++++++-------------------------
 1 file changed, 13 insertions(+), 25 deletions(-)

diff --git a/srcpkgs/WoeUSB/template b/srcpkgs/WoeUSB/template
index 4b8a4892dec5..17c9914c96fe 100644
--- a/srcpkgs/WoeUSB/template
+++ b/srcpkgs/WoeUSB/template
@@ -1,34 +1,22 @@
 # Template file for 'WoeUSB'
 pkgname=WoeUSB
-version=3.3.1
-revision=3
-build_style=gnu-configure
-configure_args="--with-wx-config=wx-config-gtk3"
-hostmakedepends="automake gettext libtool"
-makedepends="wxWidgets-gtk3-devel"
-depends="WoeUSB-cli"
+version=5.2.2
+revision=1
+depends="bash grub parted wget dosfstools ntfs-3g wimlib"
 short_desc="Create a Windows USB stick installer from a real Windows DVD or image"
-maintainer="bra1nwave <bra1nwave@protonmail.com>"
+maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
-homepage="https://github.com/slacka/WoeUSB"
-distfiles="https://github.com/slacka/WoeUSB/archive/v${version}.tar.gz"
-checksum=0cab88a1113506f39d2f1c19532b2cd8d968c6a9f59129953c000e29e73f3d4f
+homepage="https://github.com/WoeUSB/WoeUSB"
+distfiles="https://github.com/WoeUSB/WoeUSB/archive/v${version}.tar.gz"
+checksum=c7c83ce17df2429087ae91edc48a5ac79770898275580fba3feed5ce37c41b03
 
-post_patch() {
+do_patch() {
 	vsed -i -e "s/@@WOEUSB_VERSION@@/$version/g" \
-		configure.ac \
-		src/woeusb src/woeusb.1 src/woeusbgui.1
+		sbin/woeusb \
+		share/man/man1/woeusb.1
 }
 
-pre_configure() {
-	autoreconf -fi
-}
-
-WoeUSB-cli_package() {
-	depends="bash grub ntfs-3g parted wget"
-	short_desc+=" - command line only"
-	pkg_install() {
-		vmove usr/bin/woeusb
-		vmove usr/share/man/man1/woeusb.1
-	}
+do_install() {
+	vbin sbin/woeusb
+	vman share/man/man1/woeusb.1
 }

  parent reply	other threads:[~2021-11-23 22:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-23 22:11 [PR PATCH] " dotnetfox
2021-11-23 22:15 ` [PR PATCH] [Updated] " dotnetfox
2021-11-23 22:24 ` dotnetfox
2021-11-23 22:30 ` dotnetfox
2021-11-23 22:44 ` dotnetfox
2021-11-23 22:46 ` dotnetfox [this message]
2021-11-23 22:52 ` dotnetfox
2021-11-23 23:12 ` dotnetfox
2021-11-26  5:23 ` [PR PATCH] [Updated] " dotnetfox
2021-11-28 22:22 ` dotnetfox
2021-11-28 22:26 ` WoeUSB: update to 5.2.4 dotnetfox
2021-11-29 21:04 ` [PR REVIEW] " Chocimier
2021-12-01 19:47 ` [PR PATCH] [Updated] " dotnetfox
2021-12-01 19:54 ` [PR REVIEW] " dotnetfox
2021-12-28 16:26 ` dotnetfox
2021-12-28 16:26 ` [PR PATCH] [Closed]: " dotnetfox

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=20211123224628.C6kaHOwtdCRg-JJ80R3kQDh-Nb9LttTuKgbgrTWVEEw@z \
    --to=dotnetfox@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).