Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] woeusb: fix version, dependencies, split gui
@ 2020-04-12  6:42 sgn
  2020-04-12  8:14 ` bra1nwave
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: sgn @ 2020-04-12  6:42 UTC (permalink / raw)
  To: ml

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

There is a new 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: 3290 bytes --]

From 0fe18aa2d5364a4bf47f12a6db1b277e31226e4b 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          |  1 +
 srcpkgs/WoeUSB/template | 19 -----------------
 srcpkgs/woeusb/template | 46 +++++++++++++++++++++++++++++++++++++++++
 srcpkgs/woeusbgui       |  1 +
 4 files changed, 48 insertions(+), 19 deletions(-)
 create mode 120000 srcpkgs/WoeUSB
 delete mode 100644 srcpkgs/WoeUSB/template
 create mode 100644 srcpkgs/woeusb/template
 create mode 120000 srcpkgs/woeusbgui

diff --git a/srcpkgs/WoeUSB b/srcpkgs/WoeUSB
new file mode 120000
index 00000000000..8d870da0c7d
--- /dev/null
+++ b/srcpkgs/WoeUSB
@@ -0,0 +1 @@
+woeusb
\ No newline at end of file
diff --git a/srcpkgs/WoeUSB/template b/srcpkgs/WoeUSB/template
deleted file mode 100644
index 0e324e2abc4..00000000000
--- a/srcpkgs/WoeUSB/template
+++ /dev/null
@@ -1,19 +0,0 @@
-# Template file for 'WoeUSB'
-pkgname=WoeUSB
-version=3.3.1
-revision=1
-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"
-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"
-homepage="https://github.com/slacka/WoeUSB"
-distfiles="https://github.com/slacka/WoeUSB/archive/v${version}.tar.gz"
-checksum=0cab88a1113506f39d2f1c19532b2cd8d968c6a9f59129953c000e29e73f3d4f
-
-pre_configure() {
-	autoreconf -fi
-}
diff --git a/srcpkgs/woeusb/template b/srcpkgs/woeusb/template
new file mode 100644
index 00000000000..021f314d1f0
--- /dev/null
+++ b/srcpkgs/woeusb/template
@@ -0,0 +1,46 @@
+# Template file for 'woeusb'
+pkgname=woeusb
+version=3.3.1
+revision=2
+wrksrc="WoeUSB-$version"
+archs=noarch
+build_style=gnu-configure
+configure_args="--with-wx-config=wx-config-gtk3"
+hostmakedepends="automake gettext libtool"
+makedepends="wxWidgets-gtk3-devel"
+depends="bash grub ntfs-3g parted wget"
+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"
+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
+}
+
+woeusbgui_package() {
+	archs='*'
+	depends="${sourcepkg}-${version}_${revision}"
+	short_desc+=" - GUI wrapper"
+	pkg_install() {
+		vmove usr/bin/woeusbgui
+		vmove usr/share/applications
+		vmove usr/share/man/man1/woeusbgui*
+		vmove usr/share/pixmaps
+		vmove usr/share/woeusb
+	}
+}
+
+WoeUSB_package() {
+	build_style=meta
+	depends="woeusbgui"
+	short_desc+=" - old packages"
+}
diff --git a/srcpkgs/woeusbgui b/srcpkgs/woeusbgui
new file mode 120000
index 00000000000..8d870da0c7d
--- /dev/null
+++ b/srcpkgs/woeusbgui
@@ -0,0 +1 @@
+woeusb
\ No newline at end of file

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: woeusb: fix version, dependencies, split gui
  2020-04-12  6:42 [PR PATCH] woeusb: fix version, dependencies, split gui sgn
@ 2020-04-12  8:14 ` bra1nwave
  2020-04-12  8:36 ` bra1nwave
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bra1nwave @ 2020-04-12  8:14 UTC (permalink / raw)
  To: ml

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

New comment by bra1nwave on void-packages repository

https://github.com/void-linux/void-packages/pull/20910#issuecomment-612580261

Comment:
Why create a separate template (`woeusb`) and not just fixing the existing one (`WoeUSB`)?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: woeusb: fix version, dependencies, split gui
  2020-04-12  6:42 [PR PATCH] woeusb: fix version, dependencies, split gui sgn
  2020-04-12  8:14 ` bra1nwave
@ 2020-04-12  8:36 ` bra1nwave
  2020-04-12  9:23 ` sgn
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bra1nwave @ 2020-04-12  8:36 UTC (permalink / raw)
  To: ml

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

New comment by bra1nwave on void-packages repository

https://github.com/void-linux/void-packages/pull/20910#issuecomment-612580261

Comment:
Why create a separate template (`woeusb`) and not just change the existing one (`WoeUSB`)?

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: woeusb: fix version, dependencies, split gui
  2020-04-12  6:42 [PR PATCH] woeusb: fix version, dependencies, split gui 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
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: sgn @ 2020-04-12  9:23 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/20910#issuecomment-612587203

Comment:
- binary is all lowercase
- who installed WoeUSB will still get full version with gui, until they want to remove it and install woeusb.

Anyway, you're this package maintainer, it's your call.

I don't want to pull wxWidget dependencies.


On 12 April 2020 15:14:16 GMT+07:00, Daniel Boguslawski <notifications@github.com> wrote:
>Why create a separate template (`woeusb`) and not just fixing the
>existing one (`WoeUSB`)?
>
>-- 
>You are receiving this because you authored the thread.
>Reply to this email directly or view it on GitHub:
>https://github.com/void-linux/void-packages/pull/20910#issuecomment-612580261

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: woeusb: fix version, dependencies, split gui
  2020-04-12  6:42 [PR PATCH] woeusb: fix version, dependencies, split gui sgn
                   ` (2 preceding siblings ...)
  2020-04-12  9:23 ` sgn
@ 2020-04-12  9:33 ` bra1nwave
  2020-04-14  7:23 ` Chocimier
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bra1nwave @ 2020-04-12  9:33 UTC (permalink / raw)
  To: ml

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

New comment by bra1nwave on void-packages repository

https://github.com/void-linux/void-packages/pull/20910#issuecomment-612588177

Comment:
I think we should just change the existing one. There's no need to create a separate template IMHO

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: woeusb: fix version, dependencies, split gui
  2020-04-12  6:42 [PR PATCH] woeusb: fix version, dependencies, split gui sgn
                   ` (3 preceding siblings ...)
  2020-04-12  9:33 ` bra1nwave
@ 2020-04-14  7:23 ` Chocimier
  2020-04-14  9:36 ` sgn
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Chocimier @ 2020-04-14  7:23 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/20910#issuecomment-613271457

Comment:
Please keep main package WoeUSB, and create WoeUSB-cli or similar with `vmove /`.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: woeusb: fix version, dependencies, split gui
  2020-04-12  6:42 [PR PATCH] woeusb: fix version, dependencies, split gui sgn
                   ` (4 preceding siblings ...)
  2020-04-14  7:23 ` Chocimier
@ 2020-04-14  9:36 ` sgn
  2020-04-14  9:44 ` [PR PATCH] [Updated] " sgn
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: sgn @ 2020-04-14  9:36 UTC (permalink / raw)
  To: ml

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

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/20910#issuecomment-613334522

Comment:
On 2020-04-14 00:23:54-0700, Piotr <notifications@github.com> wrote:
> Please keep main package WoeUSB, and create WoeUSB-cli or similar with `vmove /`.

This is the best approach, IMHO.

-- 
Danh


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] woeusb: fix version, dependencies, split gui
  2020-04-12  6:42 [PR PATCH] woeusb: fix version, dependencies, split gui sgn
                   ` (5 preceding siblings ...)
  2020-04-14  9:36 ` sgn
@ 2020-04-14  9:44 ` sgn
  2020-04-14  9:45 ` sgn
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: sgn @ 2020-04-14  9:44 UTC (permalink / raw)
  To: ml

[-- 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
+	}
+}

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] woeusb: fix version, dependencies, split gui
  2020-04-12  6:42 [PR PATCH] woeusb: fix version, dependencies, split gui sgn
                   ` (6 preceding siblings ...)
  2020-04-14  9:44 ` [PR PATCH] [Updated] " sgn
@ 2020-04-14  9:45 ` sgn
  2020-04-14 23:30 ` [PR PATCH] [Closed]: " xtraeme
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: sgn @ 2020-04-14  9:45 UTC (permalink / raw)
  To: ml

[-- 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: 1961 bytes --]

From f169726f19c2532079a44fb7380f5dc5aff76ed3 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 cli

GUI version is not necessary in most case, and upstream recommend using
cli tools instead.
---
 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
+	}
+}

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Closed]: woeusb: fix version, dependencies, split gui
  2020-04-12  6:42 [PR PATCH] woeusb: fix version, dependencies, split gui sgn
                   ` (7 preceding siblings ...)
  2020-04-14  9:45 ` sgn
@ 2020-04-14 23:30 ` xtraeme
  2020-04-14 23:31 ` xtraeme
  2020-04-17 19:59 ` [PR PATCH] [Merged]: " Chocimier
  10 siblings, 0 replies; 12+ messages in thread
From: xtraeme @ 2020-04-14 23:30 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

woeusb: fix version, dependencies, split gui
https://github.com/void-linux/void-packages/pull/20910

Description:
- 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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: woeusb: fix version, dependencies, split gui
  2020-04-12  6:42 [PR PATCH] woeusb: fix version, dependencies, split gui sgn
                   ` (8 preceding siblings ...)
  2020-04-14 23:30 ` [PR PATCH] [Closed]: " xtraeme
@ 2020-04-14 23:31 ` xtraeme
  2020-04-17 19:59 ` [PR PATCH] [Merged]: " Chocimier
  10 siblings, 0 replies; 12+ messages in thread
From: xtraeme @ 2020-04-14 23:31 UTC (permalink / raw)
  To: ml

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

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/pull/20910#issuecomment-613731139

Comment:
Err wrong button heh

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Merged]: woeusb: fix version, dependencies, split gui
  2020-04-12  6:42 [PR PATCH] woeusb: fix version, dependencies, split gui sgn
                   ` (9 preceding siblings ...)
  2020-04-14 23:31 ` xtraeme
@ 2020-04-17 19:59 ` Chocimier
  10 siblings, 0 replies; 12+ messages in thread
From: Chocimier @ 2020-04-17 19:59 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

woeusb: fix version, dependencies, split gui
https://github.com/void-linux/void-packages/pull/20910

Description:
- 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.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-04-17 19:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-12  6:42 [PR PATCH] woeusb: fix version, dependencies, split gui 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 ` [PR PATCH] [Updated] " sgn
2020-04-14  9:45 ` 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

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).