From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] woeusb: fix version, dependencies, split gui
Date: Tue, 14 Apr 2020 11:44:01 +0200 [thread overview]
Message-ID: <20200414094401.4gXlEcoVTQMYg_vtGRMfJPavkX6h5QshrD6tjeiCeok@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20910@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 520 bytes --]
There is an updated pull request by sgn against master on the void-packages repository
https://github.com/sgn/void-packages woeusb-split-gui
https://github.com/void-linux/void-packages/pull/20910
woeusb: fix version, dependencies, split gui
- fix version
- add bash as dependencies, the script is written in bash not sh
- man 1 woeusbgui said they recommend using non-gui version.
Split them out for reduced dependencies.
A patch file from https://github.com/void-linux/void-packages/pull/20910.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-woeusb-split-gui-20910.patch --]
[-- Type: text/x-diff, Size: 1870 bytes --]
From e585ba3497a0edc9dc3ada7b45ad158e91963d14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
<congdanhqx+sgn@gmail.com>
Date: Sun, 12 Apr 2020 13:26:04 +0700
Subject: [PATCH] woeusb: fix version, dependencies, split gui
---
srcpkgs/WoeUSB-cli | 1 +
srcpkgs/WoeUSB/template | 20 ++++++++++++++++++--
2 files changed, 19 insertions(+), 2 deletions(-)
create mode 120000 srcpkgs/WoeUSB-cli
diff --git a/srcpkgs/WoeUSB-cli b/srcpkgs/WoeUSB-cli
new file mode 120000
index 00000000000..69ca6ca2f77
--- /dev/null
+++ b/srcpkgs/WoeUSB-cli
@@ -0,0 +1 @@
+WoeUSB
\ No newline at end of file
diff --git a/srcpkgs/WoeUSB/template b/srcpkgs/WoeUSB/template
index 0e324e2abc4..1bb0efa56ff 100644
--- a/srcpkgs/WoeUSB/template
+++ b/srcpkgs/WoeUSB/template
@@ -1,12 +1,12 @@
# Template file for 'WoeUSB'
pkgname=WoeUSB
version=3.3.1
-revision=1
+revision=2
build_style=gnu-configure
configure_args="--with-wx-config=wx-config-gtk3"
hostmakedepends="automake gettext libtool"
makedepends="wxWidgets-gtk3-devel"
-depends="grub ntfs-3g parted wget"
+depends="WoeUSB-cli"
short_desc="Create a Windows USB stick installer from a real Windows DVD or image"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="GPL-3.0-or-later"
@@ -14,6 +14,22 @@ homepage="https://github.com/slacka/WoeUSB"
distfiles="https://github.com/slacka/WoeUSB/archive/v${version}.tar.gz"
checksum=0cab88a1113506f39d2f1c19532b2cd8d968c6a9f59129953c000e29e73f3d4f
+post_patch() {
+ vsed -i -e "s/@@WOEUSB_VERSION@@/$version/g" \
+ configure.ac \
+ src/woeusb src/woeusb.1 src/woeusbgui.1
+}
+
pre_configure() {
autoreconf -fi
}
+
+WoeUSB-cli_package() {
+ archs=noarch
+ 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
+ }
+}
next prev parent reply other threads:[~2020-04-14 9:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-12 6:42 [PR PATCH] " sgn
2020-04-12 8:14 ` bra1nwave
2020-04-12 8:36 ` bra1nwave
2020-04-12 9:23 ` sgn
2020-04-12 9:33 ` bra1nwave
2020-04-14 7:23 ` Chocimier
2020-04-14 9:36 ` sgn
2020-04-14 9:44 ` sgn [this message]
2020-04-14 9:45 ` [PR PATCH] [Updated] " sgn
2020-04-14 23:30 ` [PR PATCH] [Closed]: " xtraeme
2020-04-14 23:31 ` xtraeme
2020-04-17 19:59 ` [PR PATCH] [Merged]: " Chocimier
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=20200414094401.4gXlEcoVTQMYg_vtGRMfJPavkX6h5QshrD6tjeiCeok@z \
--to=sgn@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).