Ah, thx so far.
It looks like that the ebuilds
https://gitweb.gentoo.org/repo/gentoo.g ... blime-text do only download the x64 package
Code: Select all
SRC_URI=" amd64? ( https://download.sublimetext.com/sublime_text_build_${MY_PV}_x64.tar.xz )"
But
https://www.sublimetext.com/download does provide (after a click on
direct downloads after Linux repos) an arm package.
Next step would be to create a ebuild for the arm package and try that.
A emerge does currenlt result in, but I'm not really sure if this is related to the arch difference
Code: Select all
>>> Emerging (1 of 1) app-editors/sublime-text-4_p4192::gentoo
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/app-editors/sublime-text-4_p4192/work
>>> Preparing source in /var/tmp/portage/app-editors/sublime-text-4_p4192/work ...
* Applying sublime-text-4_p4107-remove-deprecated-key-onlyshowin-from-launcher.patch ...
can't find file to patch at input line 19
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 9df21c9ec00ac34174b443cc7cd8c4053b98eb00 Mon Sep 17 00:00:00 2001
|From: webstrand <webstrand@gmail.com>
|Date: Thu, 27 May 2021 17:08:03 -0400
|Subject: [PATCH 1/2] remove deprecated key OnlyShowIn from launcher
|
|Silences a QA notice that the key "OnlyShowIn" in group
|"Desktop Action new-file" and "Desktop Action new-window" is deprecated.
|
|https://bugs.freedesktop.org/show_bug.cgi?id=66712 No replacement or
|alternative is provided, the key is simply ignored.
|---
| sublime_text.desktop | 2 --
| 1 file changed, 2 deletions(-)
|
|diff --git a/sublime_text.desktop b/sublime_text.desktop
|index 7407709..b171254 100644
|--- a/sublime_text.desktop
|+++ b/sublime_text.desktop
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored [ !! ]
* ERROR: app-editors/sublime-text-4_p4192::gentoo failed (prepare phase):
* patch -p1 failed with /var/tmp/portage/app-editors/sublime-text-4_p4192/files/sublime-text-4_p4107-remove-deprecated-key-onlyshowin-from-launcher.patch
*
* Call stack:
* ebuild.sh, line 136: Called src_prepare
* environment, line 611: Called default
* phase-functions.sh, line 877: Called default_src_prepare
* phase-functions.sh, line 953: Called __eapi8_src_prepare
* phase-helpers.sh, line 815: Called eapply '--' '/var/tmp/portage/app-editors/sublime-text-4_p4192/files/sublime-text-4_p4107-remove-deprecated-key-onlyshowin-from-launcher.patch' '/var/tmp/portage/app-editors/sublime-text-4_p4192/files/sublime-text-4_p4107-set-explicit-startupwmclass-in-launcher.patch'
* phase-helpers.sh, line 1070: Called _eapply_patch '/var/tmp/portage/app-editors/sublime-text-4_p4192/files/sublime-text-4_p4107-remove-deprecated-key-onlyshowin-from-launcher.patch'
* phase-helpers.sh, line 1003: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/app-editors/sublime-text-4_p4192/files/sublime-text-4_p4107-remove-deprecated-key-onlyshowin-from-launcher.patch'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
*
* If you need support, post the output of `emerge --info '=app-editors/sublime-text-4_p4192::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-editors/sublime-text-4_p4192::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-editors/sublime-text-4_p4192/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-editors/sublime-text-4_p4192/temp/environment'.
* Working directory: '/var/tmp/portage/app-editors/sublime-text-4_p4192/work'
* S: '/var/tmp/portage/app-editors/sublime-text-4_p4192/work/sublime_text'