Skip to content

freeshow: init at 1.2.1#332658

Draft
ByteSudoer wants to merge 1 commit into
NixOS:masterfrom
ByteSudoer:init-freeshow
Draft

freeshow: init at 1.2.1#332658
ByteSudoer wants to merge 1 commit into
NixOS:masterfrom
ByteSudoer:init-freeshow

Conversation

@ByteSudoer

Copy link
Copy Markdown
Contributor

Description of changes

Project description

FreeShow is a free and open-source presentation program that makes it easy to show text on a big screen. It supports stage display, remote control, media, and many other advanced features. It is open-sourced meaning anyone can contribute.

FreeShow exists because the creator found that other simular programs was either expensive or complex to use. He wanted to create a program that was easy to use and affordable for everyone, from small churches to large venues. FreeShow is now used by people all over the world.

Metadata

Closes #332304

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@ofborg ofborg Bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Aug 6, 2024
Comment thread pkgs/by-name/fr/freeshow/package.nix Outdated

@SigmaSquadron SigmaSquadron Aug 6, 2024

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.

Are we sure we can't build FreeShow from source? It seems to just be a Node.JS app.

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.

We probably could. but I don't see a remarkable benefit since upstream provided an appImage. It makes sure all the dependencies and libraries are hard coded into the package.Maybe the only advantage is that it would extend support to reach windows platforms.

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.

I'd rather reduce the amount of new pre-compiled packages on Nixpkgs, but this is a personal preference only, and the diff looks fine otherwise.

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.

I will try to make it a source based package and if the build succeeds I will update the PR.

Comment thread pkgs/by-name/fr/freeshow/package.nix Outdated
Comment thread pkgs/by-name/fr/freeshow/package.nix Outdated
Comment thread pkgs/by-name/fr/freeshow/package.nix Outdated
Comment thread pkgs/by-name/fr/freeshow/package.nix Outdated
Comment thread pkgs/by-name/fr/freeshow/package.nix Outdated
Comment thread pkgs/by-name/fr/freeshow/package.nix Outdated

@SigmaSquadron SigmaSquadron left a comment

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.

I'd rather see a source build, to be totally honest. If it proves to be too difficult, the pre-built package is fine, but I'm sure you can do it!

@kd2flz

kd2flz commented Oct 16, 2024

Copy link
Copy Markdown

Any luck with this?

Comment thread pkgs/by-name/fr/freeshow/package.nix Outdated
Comment thread pkgs/by-name/fr/freeshow/package.nix Outdated
@eclairevoyant

This comment was marked as off-topic.

Comment thread pkgs/by-name/fr/freeshow/package.nix Outdated
Comment thread pkgs/by-name/fr/freeshow/package.nix Outdated
@FliegendeWurst FliegendeWurst removed the request for review from eclairevoyant November 4, 2024 07:46
@FliegendeWurst FliegendeWurst added the 12.approvals: 1 This PR was reviewed and approved by one person. label Nov 8, 2024

@pluiedev pluiedev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very very minor nitpicks, should probably call a committer to merge this

hash = "sha256-RBI8IkxY6Xd36vCVDJy9sqpEisB/48hwQo+mg5XTCOs=";
};
}
.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.system}");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It won't evaluate for platforms absent from the list of supported platforms anyway

Suggested change
.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.system}");
.${stdenv.hostPlatform.system};

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very common pattern in nixpkgs. I would keep the throw.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's common, but not necessary. See #314224

cp -a ${appimageContents}/usr/share/icons $out/share
install -Dm 444 ${appimageContents}/freeshow.desktop $out/share/applications
substituteInPlace $out/share/applications/freeshow.desktop \
--replace-warn 'Exec=AppRun' 'Exec=freeshow'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
--replace-warn 'Exec=AppRun' 'Exec=freeshow'
--replace-warn 'Exec=AppRun' 'Exec=freeshow'

@wegank wegank added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Nov 22, 2024

@SigmaSquadron SigmaSquadron left a comment

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.

I maintain my original review; I'd rather not have more sourceProvenance = binaryNativeCode FOSS apps in Nixpkgs. I'm sure this could become a source build. The Nixpkgs manual has a pretty good section on JS apps, and there are a few examples of similar GUI packages in the tree.

Once more, while I'm confident that you can turn this into a source build, if it proves too difficult or overly time-consuming, then feel free to reply as such and disregard this comment.

@wegank wegank removed the 12.approvals: 2 This PR was reviewed and approved by two persons. label Nov 23, 2024
@FliegendeWurst FliegendeWurst marked this pull request as draft March 2, 2025 15:14
@nixpkgs-ci nixpkgs-ci Bot added 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 12.approvals: 2 This PR was reviewed and approved by two persons. labels Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Package request: freeshow

7 participants