From 529abfa74a08ae5099db9780bcdf8250aa52ecb6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 3 Dec 2022 14:59:59 +0000 Subject: gentoo auto-resync : 03:12:2022 - 14:59:58 --- app-editors/sublime-text/Manifest | 6 +- .../sublime-text/sublime-text-3_p3211-r1.ebuild | 64 -------------------- .../sublime-text/sublime-text-3_p3211-r2.ebuild | 65 +++++++++++++++++++++ .../sublime-text/sublime-text-4_p4126-r1.ebuild | 68 ++++++++++++++++++++++ .../sublime-text/sublime-text-4_p4126.ebuild | 67 --------------------- .../sublime-text/sublime-text-4_p4143-r1.ebuild | 68 ++++++++++++++++++++++ .../sublime-text/sublime-text-4_p4143.ebuild | 67 --------------------- 7 files changed, 204 insertions(+), 201 deletions(-) delete mode 100644 app-editors/sublime-text/sublime-text-3_p3211-r1.ebuild create mode 100644 app-editors/sublime-text/sublime-text-3_p3211-r2.ebuild create mode 100644 app-editors/sublime-text/sublime-text-4_p4126-r1.ebuild delete mode 100644 app-editors/sublime-text/sublime-text-4_p4126.ebuild create mode 100644 app-editors/sublime-text/sublime-text-4_p4143-r1.ebuild delete mode 100644 app-editors/sublime-text/sublime-text-4_p4143.ebuild (limited to 'app-editors/sublime-text') diff --git a/app-editors/sublime-text/Manifest b/app-editors/sublime-text/Manifest index 13d4f6da370b..251e007c74df 100644 --- a/app-editors/sublime-text/Manifest +++ b/app-editors/sublime-text/Manifest @@ -4,7 +4,7 @@ DIST sublime_text_3_build_3211_x32.tar.bz2 13806489 BLAKE2B 1e07df2fc9fb9fb60a6f DIST sublime_text_3_build_3211_x64.tar.bz2 13677324 BLAKE2B e2ac54c1e8ab90c0fcefb4baf225b02d13a3405e846f08163773ed52c6278f8e89a7b13c15e6c2d6241139d58be9c2c5a1201abb04a3cd68efdffc723075c5af SHA512 a6a068119eff95c5360e9ccbe1d845e7a93e4ad13b3659073752a7bd0e87f4691555820185514875649e677a4e8702e2338f74f5584fc80f69c16b323685d6f1 DIST sublime_text_build_4126_x64.tar.xz 17313756 BLAKE2B 16a036e15b920f72b47a6425540efcbc5ac5c44d3f3c79fa0a106128857f6fa6775a244d6497c814448a3f42cfe1515546b372475b22b47364a759ad0412bfdc SHA512 1f7a1543e68e67bd507f2f4b65f53085c96796287521878011e183df26579cd593c333d53b5ee9bc5adb41dd5344c62875fea869d11962ba80a39dfb63a80652 DIST sublime_text_build_4143_x64.tar.xz 17480384 BLAKE2B 37617568f9ff0090a8f4f66c34f07d997c1f3405d31554ebb0d7c5791209713d236ee329714b452d69e474bda13f2ad7fb0c4b9abb2a5112ed36acffdee51371 SHA512 5aba1d587b2f61cc7aa6aa7b1eb37990a2385d51fac92945aa3e991616617c73f6fbe71af3a06a219323ff4656f78c2d27f582e60ea97171b88c0197899845f1 -EBUILD sublime-text-3_p3211-r1.ebuild 1645 BLAKE2B 5bdf8d1fdae1df2bc59937e2bd2382385aad77fb60a99e3ea4830239adc027f2c09663c9bec3b795d5f633d3625b2ff5a17b328b46986968e99e45ceeb71e515 SHA512 339364d412f075d97ae576e75dfc50a021fdbf2953a0a6de78f45b97d1db21f335a43a2373631b2a42becd8877b4003fc06b4669f3b092f86df0ff09b3c11f2d -EBUILD sublime-text-4_p4126.ebuild 1944 BLAKE2B 0171c665702901ba22d1dc536a55157d4112cdfcb04fdffa561298e0fb75850a847b54387966e9910d5fa3a2da42b22c8caf5a55d1794fb88ac5eb6eaa59d71c SHA512 56ac4d5d09d1100557a170266ac42cf3603f122d709b58fb200a397d171c5222cd6d73271d72f4c24ca664e3a5966743faff56fb6d5f1a5984472023d12e5147 -EBUILD sublime-text-4_p4143.ebuild 1944 BLAKE2B 597b3f43caf3fc80ac1b71445551231814ed1ee63ad9de444c6e411e940c018b6173bce9f020c7130a7c2053cb1f1fa9c87d23e75d77c27cd2da46eda2567159 SHA512 2c42213ee11068eef0404b30790fe74f0e5d9d7bffac8587def243f57f51c4f72adc0282469eefa3de5537242f0d94aa847991a3fc2b581ed74f56627f3b4fa6 +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 MISC metadata.xml 245 BLAKE2B 4ac08132cfdd18d0ef2c38470da5045bca296f4975a8fa1e7094c1f6f524ebf02103d487ae7d6d0bb1c912d46eb207a74a417bbdc10bc92499331112f15392e6 SHA512 fa5b2d519f191de35a1f8719e8ba7ea346c54173c797e152df2aeefda32dfb0e0741ff171b87e1ee835c1d5383f424b8bb276d597bdf2fe911525bd5719cab9d diff --git a/app-editors/sublime-text/sublime-text-3_p3211-r1.ebuild b/app-editors/sublime-text/sublime-text-3_p3211-r1.ebuild deleted file mode 100644 index 97148c436c35..000000000000 --- a/app-editors/sublime-text/sublime-text-3_p3211-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop xdg-utils - -# get the major version from PV -MV=${PV:0:1} -MY_PV=${PV#*_p} - -DESCRIPTION="Sophisticated text editor for code, markup and prose" -HOMEPAGE="https://www.sublimetext.com" -SRC_URI=" - amd64? ( https://download.sublimetext.com/sublime_text_${MV}_build_${MY_PV}_x64.tar.bz2 ) - x86? ( https://download.sublimetext.com/sublime_text_${MV}_build_${MY_PV}_x32.tar.bz2 )" - -LICENSE="Sublime" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="dbus" -RESTRICT="bindist mirror strip" - -RDEPEND=" - dev-libs/glib:2 - x11-libs/gtk+:3 - x11-libs/libX11 - dbus? ( sys-apps/dbus )" - -QA_PREBUILT="*" -S="${WORKDIR}/sublime_text_${MV}" - -# 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/${PN}${MV} - doins -r Packages Icon - doins changelog.txt sublime_plugin.py sublime.py python3.3.zip - - exeinto /opt/${PN}${MV} - doexe crash_reporter plugin_host sublime_text - dosym ../../opt/${PN}${MV}/sublime_text /usr/bin/subl - - local size - for size in 16 32 48 128 256; do - dosym ../../../../../../opt/${PN}${MV}/Icon/${size}x${size}/sublime-text.png \ - /usr/share/icons/hicolor/${size}x${size}/apps/subl.png - done - - make_desktop_entry "subl %F" "Sublime Text ${MV}" subl \ - "TextEditor;IDE;Development" "StartupNotify=true" - - # needed to get WM_CLASS lookup right - mv "${ED}"/usr/share/applications/subl{-sublime-text,}.desktop || die -} - -pkg_postrm() { - xdg_icon_cache_update -} - -pkg_postinst() { - xdg_icon_cache_update -} diff --git a/app-editors/sublime-text/sublime-text-3_p3211-r2.ebuild b/app-editors/sublime-text/sublime-text-3_p3211-r2.ebuild new file mode 100644 index 000000000000..0990d91e8c53 --- /dev/null +++ b/app-editors/sublime-text/sublime-text-3_p3211-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop xdg-utils + +# get the major version from PV +MV=${PV:0:1} +MY_PV=${PV#*_p} + +DESCRIPTION="Sophisticated text editor for code, markup and prose" +HOMEPAGE="https://www.sublimetext.com" +SRC_URI=" + amd64? ( https://download.sublimetext.com/sublime_text_${MV}_build_${MY_PV}_x64.tar.bz2 ) + x86? ( https://download.sublimetext.com/sublime_text_${MV}_build_${MY_PV}_x32.tar.bz2 )" + +LICENSE="Sublime" +SLOT="0" +KEYWORDS="~amd64 ~x86" +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 )" + +QA_PREBUILT="*" +S="${WORKDIR}/sublime_text_${MV}" + +# 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/${PN}${MV} + doins -r Packages Icon + doins changelog.txt sublime_plugin.py sublime.py python3.3.zip + + exeinto /opt/${PN}${MV} + doexe crash_reporter plugin_host sublime_text + dosym ../../opt/${PN}${MV}/sublime_text /usr/bin/subl + + local size + for size in 16 32 48 128 256; do + dosym ../../../../../../opt/${PN}${MV}/Icon/${size}x${size}/sublime-text.png \ + /usr/share/icons/hicolor/${size}x${size}/apps/subl.png + done + + make_desktop_entry "subl %F" "Sublime Text ${MV}" subl \ + "TextEditor;IDE;Development" "StartupNotify=true" + + # needed to get WM_CLASS lookup right + mv "${ED}"/usr/share/applications/subl{-sublime-text,}.desktop || die +} + +pkg_postrm() { + xdg_icon_cache_update +} + +pkg_postinst() { + xdg_icon_cache_update +} diff --git a/app-editors/sublime-text/sublime-text-4_p4126-r1.ebuild b/app-editors/sublime-text/sublime-text-4_p4126-r1.ebuild new file mode 100644 index 000000000000..3f2823912619 --- /dev/null +++ b/app-editors/sublime-text/sublime-text-4_p4126-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 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 sublime_text.desktop + + # sublime_merge looks for /opt/sublime_text/sublime_text + exeinto /opt/${MY_PN} + doexe crash_reporter 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.' +} diff --git a/app-editors/sublime-text/sublime-text-4_p4126.ebuild b/app-editors/sublime-text/sublime-text-4_p4126.ebuild deleted file mode 100644 index 67a825bdb8e4..000000000000 --- a/app-editors/sublime-text/sublime-text-4_p4126.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 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 - 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 sublime_text.desktop - - # sublime_merge looks for /opt/sublime_text/sublime_text - exeinto /opt/${MY_PN} - doexe crash_reporter 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.' -} diff --git a/app-editors/sublime-text/sublime-text-4_p4143-r1.ebuild b/app-editors/sublime-text/sublime-text-4_p4143-r1.ebuild new file mode 100644 index 000000000000..3f2823912619 --- /dev/null +++ b/app-editors/sublime-text/sublime-text-4_p4143-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 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 sublime_text.desktop + + # sublime_merge looks for /opt/sublime_text/sublime_text + exeinto /opt/${MY_PN} + doexe crash_reporter 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.' +} diff --git a/app-editors/sublime-text/sublime-text-4_p4143.ebuild b/app-editors/sublime-text/sublime-text-4_p4143.ebuild deleted file mode 100644 index 34982bb995a1..000000000000 --- a/app-editors/sublime-text/sublime-text-4_p4143.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2022 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 - 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 sublime_text.desktop - - # sublime_merge looks for /opt/sublime_text/sublime_text - exeinto /opt/${MY_PN} - doexe crash_reporter 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.' -} -- cgit v1.2.3