Skip to content

New package: bruno-desktop#55070

Closed
fabienjuif wants to merge 1 commit intovoid-linux:masterfrom
fabienjuif:new_package/bruno-desktop
Closed

New package: bruno-desktop#55070
fabienjuif wants to merge 1 commit intovoid-linux:masterfrom
fabienjuif:new_package/bruno-desktop

Conversation

@fabienjuif
Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor 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
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor 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
@fabienjuif fabienjuif force-pushed the new_package/bruno-desktop branch from 3c6b356 to 932885a Compare May 10, 2025 09:14
@fabienjuif fabienjuif changed the title New package: bruno-2.1.0 New package: bruno-desktop May 10, 2025
@fabienjuif fabienjuif force-pushed the new_package/bruno-desktop branch from 932885a to 41b3271 Compare May 10, 2025 09:15
@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 9, 2025

Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

@github-actions github-actions bot added the Stale label Aug 9, 2025
@github-actions github-actions bot closed this Aug 24, 2025
@fabienjuif fabienjuif deleted the new_package/bruno-desktop branch August 24, 2025 08:04
@fabienjuif fabienjuif restored the new_package/bruno-desktop branch August 24, 2025 08:04
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 Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants