From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] woeusb: fix version, dependencies, split gui
Date: Sun, 12 Apr 2020 08:42:33 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20910@inbox.vuxu.org> (raw)
[-- 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
next reply other threads:[~2020-04-12 6:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-12 6:42 sgn [this message]
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
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20910@inbox.vuxu.org \
--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).