Open IbrahimTanyalcin opened 4 months ago
Hey @IbrahimTanyalcin can you rebase off the latest master
, which includes some changes to make testing unmerged PRs easier?
@rmacklin Thanks for letting me know, I've rebased, there were no merge conflicts.
I wanted to try Omakub in my raspberry pi5, however ran into premature termination of the script in multiple places. These modifications should not change anything for amd64 but allow installation of most of the apps in raspberry. In the end I was able to have all the good bits working except these:
So I finally was able to try Omakub like in the introductin video, and it is really cool! Window tiles and shortcuts are great!
Here are the changes:
utils.sh
to deal with vendor imcompatibilities when naming architechtures amd64 vs x86_64, aarch64 vs arm64 etc.dpkg --print-architechture
is not enough to deal with all the incosistencies so there is an extendablearch_config
variable for future apps.XDG_CURRENT_DESKTOP
is not onlyGNOME
butubuntu:GNOME
, so made some changes to deal with possible variations without breaking current behavioramd64
andx86_64
and replaced them with output ofget_arch
, the output defaults to lscpu's values but can be customized based on app by adding keys toarch_config
array inutils.sh
set -e
(I undestand the intention of putting set -e but when something goes wrong you are left with a broken install anyway). So if one of the apps fail, the parent script will continue unless there is something else in the parent script that triggersset -e
, that behavior is left unchanged. The failed apps are reported in a formated way inside the root folder calledomakub_report.log
.utils.sh
calledhandle_omakub_source_error
andhandle_omakub_source_success
which are used byprint_omakub_report | tee ~/.local/share/omakub/omakub_report.log
, this will list all the successful and failed ones. Currently in rasberry pi 5, I only had 5 failed which some of them do not have arm64 releases.These changes should not introduce any breaking changes or modifications for
amd64
but will allow people to install and give Omakub a try in their arm64 devices and track what failed or not down the line.Please test this in your
amd64
machines and verify I did not accidentally introduced breaking changes.