Skip to content

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

fabienjuif
Copy link

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

  • I tested the changes in this PR: YES

New package

Local build testing

  • I built this PR locally for my native architecture, (x86_64-glibc)

@fabienjuif
Copy link
Author

Ok I've found Discord I will take inspiration from here

@tranzystorekk tranzystorekk added the new-package This PR adds a new package label Apr 16, 2025
@fabienjuif fabienjuif changed the title New package: bruno-desktop-2.1.0 New package: bruno-2.1.0 Apr 16, 2025
@fabienjuif fabienjuif marked this pull request as ready for review April 16, 2025 16:32
archs="x86_64"
hostmakedepends="n python3 python3-distutils-extra"
short_desc="Fast and Git-Friendly Opensource API client"
maintainer="Orphaned <[email protected]>"
Copy link
Contributor

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?

Copy link
Author

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.

Copy link
Contributor

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

  1. applying patches to fix compilation errors
  2. 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)
  3. removing telemetry in certain cases

Adding functionality to the package (a desktop file) doesn't fall under these exceptions.

Comment on lines +15 to +43
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
}
Copy link
Contributor

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.

Copy link
Author

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?

@classabbyamp classabbyamp added the electron 🤮 Electron package request label Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electron 🤮 Electron package request new-package This PR adds a new package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants