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

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