void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.5k stars 2.11k forks source link

`Package request:` Ventoy - Bootable USB Solution #37999

Closed ghost closed 3 weeks ago

ghost commented 2 years ago

Package name

ventoy

Package homepage

https://github.com/ventoy/Ventoy/releases

Description

Ventoy is an open source tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files. With ventoy, you don't need to format the disk over and over, you just need to copy the ISO/WIM/IMG/VHD(x)/EFI files to the USB drive and boot them directly. You can copy many files at a time and ventoy will give you a boot menu to select them (screenshot). You can also browse ISO/WIM/IMG/VHD(x)/EFI files in local disks and boot them. x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI, ARM64 UEFI and MIPS64EL UEFI are supported in the same way. Most types of OS supported (Windows/WinPE/Linux/ChromeOS/Unix/VMware/Xen...)

Does the requested package meet the quality requirements?

System

Is the requested package released?

Yes

apprehensions commented 2 years ago

i had tried to package this but got distracted looking at how bad the shell scripting was. i will attempt to package this.

but i will say its a maybe this would get accepted.

apprehensions commented 2 years ago

on second thought: this will probably not get accepted.

packages are preferred to be built from source and the way Ventoy is structured is such a mess and a headache to try to build from source..

https://github.com/ventoy/Ventoy/blob/master/DOC/BuildVentoyFromSource.txt

ghost commented 2 years ago

packages are preferred to be built from source

Preferred but not mandatory right. It's the same old discussion with browsers & office suites, caz they consume huge time to build from source. Ventoy might be a small application. But because it's a headache to package from source, why not package the binary...

apprehensions commented 2 years ago

i really don't have a choice. guess i can do a binary package..

apprehensions commented 2 years ago

disabling stripping the packages and having nopie=yes doesn't help with the binaries.

i need a higher up to choose:

ghost commented 2 years ago

should this be compiled from source or to be binary?

If you have time & patience, why not ;b

should the parts of ventoy (Web,GUI,QT5) be split into seperate packages?

Probably should. If you have difficulty packaging it, it's okay anyways. This ain't that important as of now.

classabbyamp commented 2 years ago

Preferred but not mandatory right

if the source is available, it's almost mandatory

apprehensions commented 2 years ago

@classabbyamp ,

https://github.com/ventoy/Ventoy/blob/master/DOC/BuildVentoyFromSource.txt

building from source requires building grub, musl, dietlibc,aarch64-uclibc, from source and putting them in the ventoy source directory, how would we go about building this for x86_64 anyway?

Ved-un commented 2 years ago

Why create a package if there are working binary? https://www.ventoy.net/en/download.html

ghost commented 2 years ago

Why create a package if there are working binary? https://www.ventoy.net/en/download.html

Caz package maintainers think sticking towards application sources help users thinking they using legit software. I think this misconception of source only packaging should go away when we already have pre-compiled binaries from author's source pages.

classabbyamp commented 2 years ago

Why create a package if there are working binary?

  1. compatibility: void has musl, which almost no upstream creates binaries for, and sometimes upstream-created binaries will link to different versions of libraries than void has (or statically link to them, which is largely a waste of space)
  2. hardening and optimisation: void enables a set of compiler flags that ensure packages have certain optimisations, hardening measures, and compatibility with all possible targets
  3. ease of use for users: having a package in the repos means users don't have to manually deal with updates aside from xbps-install -Su
  4. trust: users don't have to decide whether they trust the binaries from some random dev's download page if they choose to trust the maintainers of their distro
ghost commented 2 years ago

@classabbyamp You forgot the main reason. Skipping binary uploads into void's servers which'll probably free their load, bandwidth & server side compilation.

classabbyamp commented 3 weeks ago

https://github.com/ventoy/Ventoy/issues/2795