makedeb
An utility to directly boot image files without reformating the USB
Click here to go back to the commit logs for ventoy-bin.
Hash: 13779b51e7021dec57ba69d28f54e306cf427b3a
Message: add GUI files
diff --git a/.SRCINFO b/.SRCINFO
index 5247651..114c56b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ventoy-bin
pkgdesc = A new multiboot USB solution (Binary)
pkgver = 1.0.52
- pkgrel = 1
+ pkgrel = 2
url = http://www.ventoy.net/
install = ventoy.install
arch = i686
@@ -16,15 +16,19 @@ pkgbase = ventoy-bin
conflicts = ventoy
source = https://github.com/ventoy/Ventoy/releases/download/v1.0.52/ventoy-1.0.52-linux.tar.gz
source = ventoy
+ source = ventoygui
source = ventoyweb
source = ventoy-persistent
source = ventoy-extend-persistent
+ source = ventoy.desktop
source = sanitize.patch
sha256sums = ed1120bcaa63ee810fb8bd712964c73057f70c7648be3125f45e639599a631c2
sha256sums = 1ad5d314e02b84127a5a59f3871eb1d28617218cad07cde3eeddcac391473000
+ sha256sums = cbe6f47007981ada5e27a092fac7620a926301a704b59186295552d9f64cb0e7
sha256sums = c3d4463a878a89d96e5f0bc4e1a43e48f27af5965bd4c977567695d7cf91fe5f
sha256sums = 51029745da197dded6e007aee3f30f7ea1aa6e898172a6ea176cc2f3a842d0ff
sha256sums = 00dec31721a052d5e6c928e3b38b870959bdb42188f34717898d99c0cef950df
+ sha256sums = 2da0b79fe15ee242cea42c706752153b0325475615c1a652b8ac1253a5e071a4
sha256sums = 1555f65997e6d92ca29a774b45052e97a3358430fa5869f521a4fe7818427a1f
pkgname = ventoy-bin
diff --git a/.gitignore b/.gitignore
index 422df6a..04a1f25 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,8 +6,10 @@
!PKGBUILD
!.SRCINFO
!ventoy
+!ventoygui
!ventoyweb
!ventoy-persistent
!ventoy-extend-persistent
+!ventoy.desktop
!sanitize.patch
!ventoy.install
diff --git a/PKGBUILD b/PKGBUILD
index 35c0206..914798b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=ventoy-bin
pkgver=1.0.52
-pkgrel=1
+pkgrel=2
pkgdesc='A new multiboot USB solution (Binary)'
url='http://www.ventoy.net/'
arch=('i686' 'x86_64')
@@ -14,13 +14,20 @@ provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
install="${pkgname%-bin}.install"
source=("https://github.com/ventoy/Ventoy/releases/download/v${pkgver}/${pkgname%-bin}-${pkgver}-linux.tar.gz"
- "${pkgname%-bin}" "${pkgname%-bin}web" "${pkgname%-bin}-persistent" "${pkgname%-bin}-extend-persistent"
+ "${pkgname%-bin}"
+ "${pkgname%-bin}gui"
+ "${pkgname%-bin}web"
+ "${pkgname%-bin}-persistent"
+ "${pkgname%-bin}-extend-persistent"
+ "${pkgname%-bin}.desktop"
'sanitize.patch')
sha256sums=('ed1120bcaa63ee810fb8bd712964c73057f70c7648be3125f45e639599a631c2'
'1ad5d314e02b84127a5a59f3871eb1d28617218cad07cde3eeddcac391473000'
+ 'cbe6f47007981ada5e27a092fac7620a926301a704b59186295552d9f64cb0e7'
'c3d4463a878a89d96e5f0bc4e1a43e48f27af5965bd4c977567695d7cf91fe5f'
'51029745da197dded6e007aee3f30f7ea1aa6e898172a6ea176cc2f3a842d0ff'
'00dec31721a052d5e6c928e3b38b870959bdb42188f34717898d99c0cef950df'
+ '2da0b79fe15ee242cea42c706752153b0325475615c1a652b8ac1253a5e071a4'
'1555f65997e6d92ca29a774b45052e97a3358430fa5869f521a4fe7818427a1f')
_msg2() {
@@ -57,16 +64,20 @@ package() {
_msg2 "Copying package files..."
install -Dm644 -vt "$pkgdir/opt/${pkgname%-bin}/boot/" boot/*
install -Dm644 -vt "$pkgdir/opt/${pkgname%-bin}/${pkgname%-bin}/" "${pkgname%-bin}"/*
- install -Dm755 -vt "$pkgdir/opt/${pkgname%-bin}/tool/" tool/*.{cer,sh}
+ install -Dm755 -vt "$pkgdir/opt/${pkgname%-bin}/tool/" tool/*.{cer,glade,json,sh}
install -Dm755 -vt "$pkgdir/opt/${pkgname%-bin}/tool/$CARCH/" tool/$CARCH/*
install -Dm755 -vt "$pkgdir/opt/${pkgname%-bin}/" *.sh
cp --no-preserve=o -avt "$pkgdir/opt/${pkgname%-bin}/" plugin WebUI
+ install -Dm755 "VentoyGUI.$CARCH" -vt "$pkgdir/opt/${pkgname%-bin}"
+ install -Dm644 WebUI/static/img/VentoyLogo.png -v "$pkgdir/usr/share/pixmaps/${pkgname%-bin}.png"
+ install -Dm644 "$srcdir/${pkgname%-bin}.desktop" -vt "$pkgdir/usr/share/applications"
+
_msg2 "Linking system binaries..."
for binary in xzcat hexdump; do
ln -svf /usr/bin/$binary "$pkgdir/opt/${pkgname%-bin}/tool/$CARCH/"
done
_msg2 "Creating /usr/bin entries..."
- install -Dm755 "$srcdir/${pkgname%-bin}"{,web,-{,extend-}persistent} -vt "$pkgdir"/usr/bin/
+ install -Dm755 "$srcdir/${pkgname%-bin}"{,gui,web,-{,extend-}persistent} -vt "$pkgdir"/usr/bin/
}
diff --git a/ventoy.desktop b/ventoy.desktop
new file mode 100755
index 0000000..52e037d
--- /dev/null
+++ b/ventoy.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Icon=ventoy
+Name=Ventoy
+Exec=ventoygui
+Terminal=true
+Hidden=false
+Categories=Utility
+Comment=Ventoy2Disk GUI
diff --git a/ventoygui b/ventoygui
new file mode 100644
index 0000000..4a36ffe
--- /dev/null
+++ b/ventoygui
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /opt/ventoy || exit 1
+exec ./VentoyGUI.x86_64 "$@"