Skip to content
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

freeshow: init at 1.2.1 #332658

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ByteSudoer
Copy link
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.

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

@SigmaSquadron SigmaSquadron Aug 6, 2024

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
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
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
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.

pkgs/by-name/fr/freeshow/package.nix Show resolved Hide resolved
pkgs/by-name/fr/freeshow/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/fr/freeshow/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/fr/freeshow/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/fr/freeshow/package.nix Outdated Show resolved Hide resolved
Copy link
Contributor

@SigmaSquadron SigmaSquadron left a comment

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
Copy link

kd2flz commented Oct 16, 2024

Any luck with this?

pkgs/by-name/fr/freeshow/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/fr/freeshow/package.nix Show resolved Hide resolved
@eclairevoyant

This comment was marked as off-topic.

pkgs/by-name/fr/freeshow/package.nix Outdated Show resolved Hide resolved
pkgs/by-name/fr/freeshow/package.nix Outdated Show resolved Hide resolved
@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 reputable person label Nov 8, 2024
Copy link
Contributor

@pluiedev pluiedev left a comment

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
Contributor

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
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
Contributor

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
Contributor

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'

@pluiedev pluiedev added the needs_merger (old Marvin label, do not use) label Nov 22, 2024
@wegank wegank added 12.approvals: 2 This PR was reviewed and approved by two reputable people and removed 12.approvals: 1 This PR was reviewed and approved by one reputable person labels Nov 22, 2024
Copy link
Contributor

@SigmaSquadron SigmaSquadron left a comment

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 reputable people label Nov 23, 2024
@SigmaSquadron SigmaSquadron removed the needs_merger (old Marvin label, do not use) label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package request: freeshow
7 participants