-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
base: master
Are you sure you want to change the base?
freeshow: init at 1.2.1 #332658
Conversation
pkgs/by-name/fr/freeshow/package.nix
Outdated
hash = "sha256-RBI8IkxY6Xd36vCVDJy9sqpEisB/48hwQo+mg5XTCOs="; | ||
}; | ||
} | ||
.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}"); |
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.
Are we sure we can't build FreeShow from source? It seems to just be a Node.JS app.
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.
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.
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'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.
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 will try to make it a source based package and if the build succeeds I will update the PR.
498d93c
to
fe42cd1
Compare
fe42cd1
to
fdffbb6
Compare
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'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!
Any luck with this? |
fdffbb6
to
9e58c70
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
9e58c70
to
220f0db
Compare
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.
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}"); |
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.
It won't evaluate for platforms absent from the list of supported platforms anyway
.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.system}"); | |
.${stdenv.hostPlatform.system}; |
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 very common pattern in nixpkgs. I would keep the throw.
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.
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' |
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.
--replace-warn 'Exec=AppRun' 'Exec=freeshow' | |
--replace-warn 'Exec=AppRun' 'Exec=freeshow' |
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 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.
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
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.