-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
epsonscan2: 6.7.63.0 -> 6.7.70.0 #365687
epsonscan2: 6.7.63.0 -> 6.7.70.0 #365687
Conversation
0397c72
to
3a50217
Compare
}) | ||
]; | ||
|
||
postPatch = '' | ||
rm CMakeCache.txt |
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.
fyi that is needed as the currents version archive contains that cmake cache file, thus cmake is unhappy about our build system.
convert $src/Resources/Icons/escan2_app.ico -resize 48x48 -delete 1,2,3 $out/share/icons/hicolor/48x48/apps/epsonscan2.png | ||
convert $src/Resources/Icons/escan2_app.ico -resize 128x128 -delete 1,2,3 $out/share/icons/hicolor/128x128/apps/epsonscan2.png |
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.
icons havent worked, as the ico contains multiple resolutions and resulting in multiple pngs after convertion and thus not being named correctly
Thanks! I pushed PR #358303 a while ago but it hasn't been merged and so this would supersede it. Nice catch with the icons. |
ah, i did not see that pr, i was mainly motivated by the compile error with gcc14 (which is an issue on staging-next atm). Should i split that out so that we can cherry-pick that and the icon thing to your pr? |
(fetchpatch { | ||
url = "https://github.com/flathub/net.epson.epsonscan2/raw/master/patches/epsonscan2-crash.patch"; | ||
hash = "sha256-srMxlFfnZuJ3ed5veFcJIiZuW27F/3xOS0yr4ywn4FI="; | ||
url = "https://aur.archlinux.org/cgit/aur.git/plain/0002-Fix-crash.patch?h=epsonscan2"; |
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.
url = "https://aur.archlinux.org/cgit/aur.git/plain/0002-Fix-crash.patch?h=epsonscan2"; | |
url = "https://aur.archlinux.org/cgit/aur.git/plain/0002-Fix-crash.patch?h=epsonscan2&id=6e422c487f5f3b135df554fde65ab57bc6377159"; |
Same for other URLs, to ensure the content doesn't change.
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 did so, but by keeping the flatpak patch sources, as they also apply correctly on 6.7.70.0 (which i did not even check before).
Epson doesn't seem to publish a changelog anywhere. Remove 32-bit version as it is 2024.
upstream ico file contains multiple resolutions, those need to be deleted on convert
3a50217
to
5ea32c6
Compare
@james-atkins i cherry-picked your bump in here (i hope that was okay), and updated the patches according @FliegendeWurst s (good) suggestion to use patch origins with commit hashes. As the flatpaks 6.7.65.0 patches seem to apply correctly (havent honestly checked after i saw that the had been updated for 6.7.70.0 on archlinux end), i kept the flatpak patches |
as staging-next was merged. That becomes an unbreak PR for master (already targets master). |
Updates epsonscan2 to the latest version. As flathub is not shipping that version is switched patch source from flathub to AUR.
Aside that i updated our build.patch and added a gcc14 patch (as i noticed that epsonscan2 does not build on staging-next).
In addition the icon is now showing correctly when built with
withGUI = true;
For testing a scanned a page with a ET-3750 using epsonscan2 GUI.
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.