summaryrefslogtreecommitdiff
path: root/app-editors
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-01 17:03:56 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-01 17:03:56 +0000
commitb704a12f55494cd0f6fef2a547cab684dcecd4de (patch)
tree2d8b91e3179588a8b35b9539533db10690b7fcb6 /app-editors
parent511da2e8215301136bf13531af2329e9703addaf (diff)
gentoo auto-resync : 01:12:2023 - 17:03:56
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/Manifest.gzbin13892 -> 13894 bytes
-rw-r--r--app-editors/sublime-text/Manifest2
-rw-r--r--app-editors/sublime-text/sublime-text-4_p4169.ebuild68
3 files changed, 70 insertions, 0 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz
index 552934d23b5a..7703181ad1fb 100644
--- a/app-editors/Manifest.gz
+++ b/app-editors/Manifest.gz
Binary files differ
diff --git a/app-editors/sublime-text/Manifest b/app-editors/sublime-text/Manifest
index b61fdf126ca3..e0c9c0a4207a 100644
--- a/app-editors/sublime-text/Manifest
+++ b/app-editors/sublime-text/Manifest
@@ -6,9 +6,11 @@ DIST sublime_text_build_4126_x64.tar.xz 17313756 BLAKE2B 16a036e15b920f72b47a642
DIST sublime_text_build_4143_x64.tar.xz 17480384 BLAKE2B 37617568f9ff0090a8f4f66c34f07d997c1f3405d31554ebb0d7c5791209713d236ee329714b452d69e474bda13f2ad7fb0c4b9abb2a5112ed36acffdee51371 SHA512 5aba1d587b2f61cc7aa6aa7b1eb37990a2385d51fac92945aa3e991616617c73f6fbe71af3a06a219323ff4656f78c2d27f582e60ea97171b88c0197899845f1
DIST sublime_text_build_4152_x64.tar.xz 16454288 BLAKE2B b6fa58c94cc24214abe5b3d85abdf850b8cd116001a739a9d1ddcb3fab70913882c7731dc4a856c32979695f77b1465e2e7ec0785255a1ced9b55637f2c30368 SHA512 447a3219841150e22c66b45c8a6d0415e1b309512764060f4310c7f685c93a5b4cba2dd7f202ced01f2a3d910c30784bbf5bbb85bae915296845005a69b0bdf4
DIST sublime_text_build_4166_x64.tar.xz 16572860 BLAKE2B ede62590f2913edd644b02dfd9e14fd68ac0387bc75946c1206dd7709f985ce6b584ce8f74f05c3961d2ea43590a084e2947c9586c16ced40cccfd82a3847e5a SHA512 a4e5a957160cc47e6c5fc71f3162edea5d6fe03e6a7af33f52074a49dbbd2cd49460b35e0924d38d4083561291469bc0ff43e7aea81232dbc97be6847612c4e1
+DIST sublime_text_build_4169_x64.tar.xz 16572760 BLAKE2B 1760e6a763b58e24c7360bb0068704b820b0ba91169c1e80b9b46ca728eaedd04bd2bca75d602b24034fff895c093131d30209c48c3e7b1c56941da7cf1d3296 SHA512 6764363f8f92f65532d64ba014023e28b18f40dc62a1b114239b59360257d445494f9a2f57580174b5f4994c8fa06cd8f562c9419cfda92324c9ebf25d15e576
EBUILD sublime-text-3_p3211-r2.ebuild 1661 BLAKE2B 5a82877fe42293f3d445509c626c749b81a48f5b58e0e1f6aefaf9ee7e3862297de3505352c25e1fbc80457d0833a264b8223a7390d73069df6c2ae8289f57b9 SHA512 9428d13ff44c7a6e7accf2424b5e56356d045f261890dda4f5721a3926e8627c410e6b70de3da491646852a65bd6b9b7fb6071a79b48d2ccd07e3cc18a62eb30
EBUILD sublime-text-4_p4126-r1.ebuild 1960 BLAKE2B 455a776d79c74b73f6f6d57c82e5afe04322e08c9f7016588e924d3e0749263d1c9563ad76c95237dc1cd2d9cbf5a37328292b1f02dd84199808ef5066255d84 SHA512 5543b498811f471b5ce75c27608a5e08260a52b23a075f6792bca461ec6fe1ef312912f0c7d021b5834eb25eb5455b64dcb9139d01b94221eec2f8ed94237f77
EBUILD sublime-text-4_p4143-r1.ebuild 1960 BLAKE2B 455a776d79c74b73f6f6d57c82e5afe04322e08c9f7016588e924d3e0749263d1c9563ad76c95237dc1cd2d9cbf5a37328292b1f02dd84199808ef5066255d84 SHA512 5543b498811f471b5ce75c27608a5e08260a52b23a075f6792bca461ec6fe1ef312912f0c7d021b5834eb25eb5455b64dcb9139d01b94221eec2f8ed94237f77
EBUILD sublime-text-4_p4152.ebuild 1974 BLAKE2B d3fdf1c0c1c4b079b6e65b2b3ff04d5802ee1697b1353bdeb95d21f175836016278ab554d5d00b06c67c1f6cd2afe345dca12e9e9597ee87fbff50209b510a98 SHA512 22f1be487825b245ff41a823f2d02ee48fa725d4c040985bc101415cd9929c4d0c23a7451c0dd30683372eec2a23d28e633e517a5d745981a7088fa65df2538a
EBUILD sublime-text-4_p4166.ebuild 1973 BLAKE2B 1ace2993d791a5fdf0950136fe43df9c6d9342bf4243009c2cca61366e265a1b586bccab6d5984c14b46f99b838dad85b28e40a9aae3864b7107d15d77f97c98 SHA512 1bdd591cb304bb63e43903c75b01602ff193d2681e915f4fcd40996552365abffa7f7483ad408465588fd413c07f187eeee0fc50fd816b9df671f15014b31d8d
+EBUILD sublime-text-4_p4169.ebuild 1973 BLAKE2B 1ace2993d791a5fdf0950136fe43df9c6d9342bf4243009c2cca61366e265a1b586bccab6d5984c14b46f99b838dad85b28e40a9aae3864b7107d15d77f97c98 SHA512 1bdd591cb304bb63e43903c75b01602ff193d2681e915f4fcd40996552365abffa7f7483ad408465588fd413c07f187eeee0fc50fd816b9df671f15014b31d8d
MISC metadata.xml 245 BLAKE2B 4ac08132cfdd18d0ef2c38470da5045bca296f4975a8fa1e7094c1f6f524ebf02103d487ae7d6d0bb1c912d46eb207a74a417bbdc10bc92499331112f15392e6 SHA512 fa5b2d519f191de35a1f8719e8ba7ea346c54173c797e152df2aeefda32dfb0e0741ff171b87e1ee835c1d5383f424b8bb276d597bdf2fe911525bd5719cab9d
diff --git a/app-editors/sublime-text/sublime-text-4_p4169.ebuild b/app-editors/sublime-text/sublime-text-4_p4169.ebuild
new file mode 100644
index 000000000000..fdb6b4c6c4bb
--- /dev/null
+++ b/app-editors/sublime-text/sublime-text-4_p4169.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop wrapper xdg
+
+# get the major version from PV
+MY_PV=$(ver_cut 3)
+MY_PN=${PN/-/_}
+
+DESCRIPTION="Sophisticated text editor for code, markup and prose"
+HOMEPAGE="https://www.sublimetext.com"
+SRC_URI="
+ amd64? ( https://download.sublimetext.com/sublime_text_build_${MY_PV}_x64.tar.xz )"
+S="${WORKDIR}/${MY_PN}"
+
+LICENSE="Sublime"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="dbus"
+RESTRICT="bindist mirror strip"
+
+RDEPEND="
+ dev-libs/glib:2
+ sys-libs/glibc
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ dbus? ( sys-apps/dbus )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4_p4107-remove-deprecated-key-onlyshowin-from-launcher.patch
+ "${FILESDIR}"/${PN}-4_p4107-set-explicit-startupwmclass-in-launcher.patch
+)
+
+QA_PREBUILT="*"
+
+# Sublime bundles the kitchen sink, which includes python and other assorted
+# modules. Do not try to unbundle these because you are guaranteed to fail.
+
+src_install() {
+ insinto /opt/${MY_PN}
+ doins -r Packages Lib Icon # /Icon is used at runtime by the application
+ doins changelog.txt libcrypto.so.1.1 libssl.so.1.1 libsqlite3.so sublime_text.desktop
+
+ # sublime_merge looks for /opt/sublime_text/sublime_text
+ exeinto /opt/${MY_PN}
+ doexe crash_handler plugin_host-3.3 plugin_host-3.8 sublime_text
+
+ # sublime-text sets its WM_CLASS based on its argv[0]. A wrapper script is
+ # used instead of a symlink to preserve a consistent WM_CLASS regardless of
+ # how the application is launched. This causes the WM_CLASS to be
+ # "sublime_text" which matches the .desktop entry.
+ make_wrapper subl "/opt/${MY_PN}/sublime_text --fwdargv0 \"\$0\""
+ domenu sublime_text.desktop
+
+ local size
+ for size in 16 32 48 128 256; do
+ doicon --size ${size} Icon/${size}x${size}/${PN}.png
+ done
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ elog 'Sublime Text 4'"'"'s window class changes from WM_CLASS="subl" to'
+ elog 'WM_CLASS="sublime_text" matching other distributions.'
+}