-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New package: bruno-2.1.0 #55070
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
New package: bruno-2.1.0 #55070
Conversation
Ok I've found Discord I will take inspiration from here |
archs="x86_64" | ||
hostmakedepends="n python3 python3-distutils-extra" | ||
short_desc="Fast and Git-Friendly Opensource API client" | ||
maintainer="Orphaned <[email protected]>" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that new orphaned packages will get accepted. If you aren't willing to mark yourself as the maintainer of the package, why are you contributing it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @meator!
Thank you for your review.
I see the PR/this repo as a place to find some packages that are not officially supported. A bit like AUR.
And I thought it would be nice to share this template for people that want it, while I am not sure to be around on void for a long time neither.
I am not sure what the maintainer is for neither, I like the idea this is public.
So this is why I prefer not to put my name on it, but I understand your point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
void-packages is in the process of removing all desktop files, icons and other data files from the repository. New desktop files likely won't be accepted. You should try convincing upstream to ship one themselves.
void-packages tries to avoid modifying upstream projects. The only major exceptions are
- applying patches to fix compilation errors
- applying patches to fix some bugs in the currently packaged version of the package (these are usually taken from development versions of the upstream project, so such patches get dropped when a new release including the fix is made)
- removing telemetry in certain cases
Adding functionality to the package (a desktop file) doesn't fall under these exceptions.
do_build() { | ||
# using node 20 | ||
n 20 | ||
|
||
# dependencies | ||
npm run setup | ||
|
||
# node gyp dependencies | ||
npm install node-addon-api | ||
|
||
# actual bruno | ||
npm run build:web | ||
npm run build:electron | ||
} | ||
|
||
do_install() { | ||
local package_location="usr/lib/$pkgname" | ||
|
||
vlicense license.md | ||
|
||
vmkdir ${package_location} | ||
vcopy packages/bruno-electron/out/linux-unpacked/* ${package_location} | ||
|
||
vinstall ${FILESDIR}/bruno.desktop 644 usr/share/applications | ||
vinstall assets/images/logo.png 644 usr/share/pixmaps bruno.png | ||
|
||
vmkdir usr/bin | ||
ln -sfr $DESTDIR/${package_location}/bruno $DESTDIR/usr/bin/bruno | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a heavily customized build process which only supports x86_64
. I am not knowledgeable of Node.js nor npm, so I cannot review this, but be aware that you might face more scrutiny from the Void maintainers because of this. They may be less willing to merge this package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's fine for me if we do not merge.
My follow up question is, do you prefer I close the PR?
This PR is in draft because I am unsure how we are supposed to deal with .AppImage files.
I still open the PR because it could help someone (?)
Testing the changes
New package
Local build testing