Package Details: sublime-text-4 4.4192-1

Git Clone URL: https://aur.archlinux.org/sublime-text-4.git (read-only, click to copy)
Package Base: sublime-text-4
Description: Sophisticated text editor for code, html and prose - stable build
Upstream URL: https://www.sublimetext.com/download
Licenses: custom
Conflicts: sublime-text
Provides: sublime-text
Submitter: SunRed
Maintainer: SunRed
Last Packager: SunRed
Votes: 86
Popularity: 2.32
First Submitted: 2021-05-21 11:53 (UTC)
Last Updated: 2025-01-20 16:00 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

SunRed commented on 2023-08-04 19:00 (UTC)

Thanks for the heads up. They must have silently changed the tar archive. :/

krafairus commented on 2023-08-04 17:02 (UTC) (edited on 2023-08-04 17:03 (UTC) by krafairus)

The checksums must be changed, now they are like this:

sha512sums_x86_64=('447a3219841150e22c66b45c8a6d0415e1b309512764060f4310c7f685c93a5b4cba2dd7f202ced01f2a3d910c30784bbf5bbb85bae915296845005a69b0bdf4')

sha512sums_aarch64=('dd206f4b174db0809fa80a0e1eef33ffdd59d15d951be91a5438bd2b7774bc2bf8e81521c0e48d54e712d909d9f5d6a485fd3e3de0eb9fa83546a322123864e7')

When I manually change it, downloading the package, and change the checksums, it works correctly.

raul commented on 2023-08-04 11:45 (UTC)

just a heads up, latest version (4.4152-1 as of this writing) apparently changed sha512sums

SunRed commented on 2022-12-10 09:06 (UTC) (edited on 2022-12-12 11:20 (UTC) by SunRed)

@Nek With 4.4143-3 the option now gets added back to the desktop file. I also updated the -dev and -3 package accordingly. Thanks for the feedback. :)

Edit: It now uses the correct wmclass string. My understanding of the wmclass option was wrong. I first thought the wmclass string is set by whatever is used in the desktop file but subl is in fact the correct class set by Sublime Text itself.

Nek commented on 2022-12-08 16:04 (UTC) (edited on 2022-12-08 16:04 (UTC) by Nek)

@SunRed You were right. I added StartupWMClass=subl to the desktop file (under [Desktop Entry]) and it worked, the alt-tab icon is back. Thank you.

SunRed commented on 2022-12-02 23:15 (UTC)

@Nek That must be due to the latest update now using the .desktop file from the upstream package and sed'ing that one, rather than providing one in the AUR package. Quickly looking at the differences, it possibly is the lack of StartupWMClass in the new one as seen here on the old desktop file. You can try out setting that in /usr/share/applications/sublime_text.desktop and report back as it seems like a GNOME specific option and I don't have it currently anywhere installed. (plasma wayland/sway user here)

Nek commented on 2022-12-02 14:48 (UTC) (edited on 2022-12-02 14:48 (UTC) by Nek)

with version 4.4143-2 Gnome 43 (wayland) does not show the sublimetext icon in the ALT-TAB menu but it shows a generic gear icon instead. The icon in the Gnome Activities is the correct one though. Is this an upstream issue or a package issue? Worked well before this version.

sebdotv commented on 2022-11-10 08:51 (UTC)

Update to build 4142:

diff --git a/.SRCINFO b/.SRCINFO
index 65d97aa..1615d81 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = sublime-text-4
    pkgdesc = Sophisticated text editor for code, html and prose - stable build
-   pkgver = 4.4126
+   pkgver = 4.4142
    pkgrel = 1
    url = https://www.sublimetext.com/download
    install = sublime-text-4.install
@@ -14,9 +14,9 @@ pkgbase = sublime-text-4
    conflicts = sublime-text
    source = sublime_text.desktop
    sha256sums = e991aac5207655dadf69c6f74c194c80009fb9767d7710337f586908969aa9cf
-   source_x86_64 = https://download.sublimetext.com/sublime_text_build_4126_x64.tar.xz
-   sha256sums_x86_64 = 5c64e534cce0032e54d3c7028e8d6b3bdef28f3fd28a26244a360a2ce75450a1
-   source_aarch64 = https://download.sublimetext.com/sublime_text_build_4126_arm64.tar.xz
-   sha256sums_aarch64 = 0ad4ac168d47034c47ab31faaa0d8b6b4f27e233ea4e48634b930bf999efb63e
+   source_x86_64 = https://download.sublimetext.com/sublime_text_build_4142_x64.tar.xz
+   sha256sums_x86_64 = 26b14bd7bb6b72c51c4bf6d86d26cc8539d233295ae8092830823696dda70306
+   source_aarch64 = https://download.sublimetext.com/sublime_text_build_4142_arm64.tar.xz
+   sha256sums_aarch64 = afa6f13985d5036440a3ca6b74143bfe048d2853e6c035b9a2c6e5204d1acd3e

 pkgname = sublime-text-4
diff --git a/PKGBUILD b/PKGBUILD
index 6ea2aa4..a0c1858 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Manuel Hüsers <aur@huesers.de>

 pkgname=sublime-text-4
-pkgver=4.4126
+pkgver=4.4142
 pkgrel=1
 pkgdesc="Sophisticated text editor for code, html and prose - stable build"
 arch=('x86_64' 'aarch64')
@@ -18,8 +18,8 @@ source_x86_64=("https://download.sublimetext.com/sublime_text_build_${pkgver:2}_
 source_aarch64=("https://download.sublimetext.com/sublime_text_build_${pkgver:2}_arm64.tar.xz")

 sha256sums=('e991aac5207655dadf69c6f74c194c80009fb9767d7710337f586908969aa9cf')
-sha256sums_x86_64=('5c64e534cce0032e54d3c7028e8d6b3bdef28f3fd28a26244a360a2ce75450a1')
-sha256sums_aarch64=('0ad4ac168d47034c47ab31faaa0d8b6b4f27e233ea4e48634b930bf999efb63e')
+sha256sums_x86_64=('26b14bd7bb6b72c51c4bf6d86d26cc8539d233295ae8092830823696dda70306')
+sha256sums_aarch64=('afa6f13985d5036440a3ca6b74143bfe048d2853e6c035b9a2c6e5204d1acd3e')

 package() {
   cd "${srcdir}"

SunRed commented on 2022-06-18 19:48 (UTC)

@NullRoute In case you read this, sorry I never came back to this. The reason for sublime-text being in conflicts is because it should be removed if you try to install the official repo package. Same for the -dev version. The patch you want to include that allows side-by-side installation and execution should be applied to the legacy versions as those ones are not provided by official repos anymore and where the binary should be renamed to subl3 and subl2 respectively. These packages should only have sublime-text in provides but not in conflicts with that patch applied and would allow what you ask for.

SunRed commented on 2022-02-19 16:36 (UTC) (edited on 2022-02-19 16:37 (UTC) by SunRed)

@prabh1601: I unflagged the package already.

Please only flag the package out-of-date if the version on the upstream URL of this package is newer.

In addition I want to note that I actually have a notifier in place that checks every hour if the version has been updated on the sublime text website. My plan was to automate this process with a bot account here on the AUR but I have yet to implement that part.