-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
beamerpresenter: init at 0.1.1 #92480
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
Conversation
2a65ee9
to
88cfad9
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.
nix-review
builds, I can open PDFs, use the basic functionalities, and the desktop menu works with the correct icon! 👍
Cool, works for me. |
install -m644 man/beamerpresenter.1 -Dt $out/share/man/man1/ | ||
install -m644 man/beamerpresenter.conf.5 -Dt $out/share/man/man5/ |
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.
Use installManPage
from installShellFiles
.
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.
Replaced and amended.
sha256 = "0j7wx3qqwhda33ig2464bi0j0a473y5p7ndy5f7f8x9cqdal1d01"; | ||
}; | ||
|
||
enableParallelBuilding = true; |
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.
Can be removed, parallel building is used by default for qmake
.
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.
Removed and amended.
desktopItem = makeDesktopItem { | ||
name = pname; | ||
desktopName = "BeamerPresenter"; | ||
genericName = "Beamer presentation viewer"; | ||
comment = "Simple dual screen pdf presentation software"; | ||
icon = "beamerpresenter"; | ||
categories = "Office;"; | ||
exec = "beamerpresenter %F"; | ||
mimeType = "application/pdf;application/x-pdf;"; | ||
}; |
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.
Doesn't hurt to ask upstream to include a .desktop
file, so that not every distribution has to define their own ;).
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.
Good idea; I opened a PR upstream: stiglers-eponym/BeamerPresenter#4
88cfad9
to
219dafe
Compare
219dafe
to
e2b498f
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.
Result of nixpkgs-review pr 92480
1
1 package built:
- beamerpresenter
Thanks a lot for making the changes!
Motivation for this change
This creates a package for BeamerPresenter, a PDF presentation viewer.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)CC: @minijackson