summaryrefslogtreecommitdiff
path: root/app-editors
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-15 21:34:37 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-15 21:34:37 +0000
commitda407288bb9fc771488c3fee13fc2f8561681e66 (patch)
treef424c3ecbe17ec2f2e75f726f6337bed848b2ccf /app-editors
parentdc0ab0fa29dee64ee586cc23ddd306c0ad9ae7dc (diff)
gentoo auto-resync : 15:12:2022 - 21:34:37
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/Manifest.gzbin14237 -> 14241 bytes
-rw-r--r--app-editors/kile/Manifest7
-rw-r--r--app-editors/kile/files/kile-2.9.93-cmake.patch20
-rw-r--r--app-editors/kile/files/kile-2.9.93-fix-crash-when-deleting-templates.patch35
-rw-r--r--app-editors/kile/files/kile-2.9.93-fix-ktoolbar-usage.patch25
-rw-r--r--app-editors/kile/files/kile-2.9.93-fix-overriding-existing-templates.patch164
-rw-r--r--app-editors/kile/files/kile-2.9.93-no-khtml.patch58
-rw-r--r--app-editors/kile/kile-2.9.93-r1.ebuild76
-rw-r--r--app-editors/vscode/Manifest4
-rw-r--r--app-editors/vscode/vscode-1.74.1.ebuild130
10 files changed, 134 insertions, 385 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz
index 62b2d04f00d3..e10e8772b816 100644
--- a/app-editors/Manifest.gz
+++ b/app-editors/Manifest.gz
Binary files differ
diff --git a/app-editors/kile/Manifest b/app-editors/kile/Manifest
index c269b1462437..0b5f78e3b249 100644
--- a/app-editors/kile/Manifest
+++ b/app-editors/kile/Manifest
@@ -1,11 +1,4 @@
-AUX kile-2.9.93-cmake.patch 549 BLAKE2B f93414f3b09b45952a5082e9c9c0cd53b01b7b2ee3b080e6d4ef554cd3cbbf84f60061e1b4f9d1ab060f2e4ea221af3407140f9d897bece353691d9f262033e2 SHA512 be9a14c712c05bc63b1bf31eb959083580913c2ae37f642eab86f47a07f75d63d633fa154cce2ac65866b25da530cf0699e654c7b05ffc4361d35bc389a13faa
-AUX kile-2.9.93-fix-crash-when-deleting-templates.patch 1480 BLAKE2B 65260e42c42264d73ec8e18273a19f539dbd820cd8529212a346bcfbc83796736ac5cf4062b2787841791a65bf450735e1a45b5e3f9f3bd853cab90f6d78a235 SHA512 b9f8369f4d480de5678cb1ef1ed599ba1df06355d0cf63966185f989f9a92af81ec3d567d829a417dfc00d70eae22b1ec351041847b46fe72eb6f8a7917fe687
-AUX kile-2.9.93-fix-ktoolbar-usage.patch 962 BLAKE2B 05ef1605d01aabb40f2c64a8ec1c0212f442860add397ee85bd4597ec71ffdeb3120bd895e4a3b2e5bf02fdab15f75ccf9550e1c65aa6c8fd076aaa5e13f53e2 SHA512 06c8c2e0de25247edc0e2798b1455f1cd062d1f04c020a78f557958214b28b4228d56af57a1e154d1bb0598f22f9fe8e850d7b11f7ae9e569b15f89e95c43f2c
-AUX kile-2.9.93-fix-overriding-existing-templates.patch 6492 BLAKE2B 38b851368913d50aba95d5f037933fdd801be90921bfffc2b25fb2cca433c85806875f1472368fc9aace4475d9b24926bfe32ca5d4615ee83bbc728d402bc8aa SHA512 24cc76a554da0e25a37dc05356cf59224fd697278da8532ee2baaa6be4e04710620120545b11dd8a7986f56859ee9365fb072c1d3eaf6ef3fb4fcd5ed9543455
-AUX kile-2.9.93-no-khtml.patch 1361 BLAKE2B 01ab239474e4446368bd4a39da8e2f26f7cefc72f1150ea99a8ecf69dafc405fbdbc18d357da136f97ab446464a579a1d3e792f3d62c7c22a22954f6e6a7ab4e SHA512 2cc92a484315c61941ea19e73a5c98e0ae275a1475fd46bbfccb9f57283454f90d2b6a7e03da0a8e7f766c4486a4d1f6fef4b6c21b6349bc368ef14d936d9ed9
AUX kile-2.9.93_p20221123-cmake.patch 747 BLAKE2B 51be48cd5f78a9385daa2ddd50a7f1b2e6c6ebd42e11d355e9b0e874260c41b00762e62aa50fca5290c48a5ee97f2a4e59b598ef8669964c92b522ecca380219 SHA512 a496ace8de21c4fc208a243ededf61f6931096dba58320f6b3cd60def52b929e57d53b5aee1781951420bbb5e097059b6bb7413e11f151f04aa9f909cb2e7bf4
-DIST kile-2.9.93.tar.bz2 8580239 BLAKE2B a43f160240dfdffc23c6898385994ee4e49e1f3d793915d1f392e41f606350269f2b9e80592c373680adb56454510abdd0b7e69131f20737fb5efa54d4eaa111 SHA512 d87277b8ef16c82cfd415dd191916641fa1a25e316e1eb2c463b275d3654dcfe180bea03027589ab30cd8b769d92d97005846a78aff8058bcfb20eed76287504
DIST kile-2.9.93_p20221123-1ca67389.tar.gz 9507069 BLAKE2B 61770aeafe6604b8a45ae9e49fc79a375815fce5e11a189aef962172f60d0182984f6908a626cb95b493f1fe894958ec0816420096a12efbd03233114e0a5dcc SHA512 ed16cfb7cee3d08ad21fabecd5536981c68431261c02f66cc979f5f01229fa33c192c33f5d1ef78d61c37e643ab313eb432fd580aea61f5a918d3de76d2dcadc
-EBUILD kile-2.9.93-r1.ebuild 1892 BLAKE2B 631acbad2cc2460164293d59044a8ae88d03ded1e646acd54900b7574c0da7709c57848f7f5d6f7c6bae2661005dfa66ec35fcf05dd229ea598b079bc5569a87 SHA512 5c1a29302716fa65569f644a726b4452287674bec41b3f301181e7668257784b5c3f894cadd115d5590dfc6e9772d8dece3cf855e7065163c9edb5d7fb8f3090
EBUILD kile-2.9.93_p20221123.ebuild 1600 BLAKE2B d8aa22d08e787d814dbe53af01d935d254846c0fc7afb67f0008e3c1e24b6f8653897c9c2a7ba4dfa529615d498eefd71dbedfcef3245b68e43ad156c067821d SHA512 f0329ba48a376df2f6428f0ee34f5464386fc85c98fb82c125ae07a3a87f14dbbaadd52764b2ce67e83e2850ce6b3c5257c78b99dc1a8a14a885b95a3b61f5fe
MISC metadata.xml 477 BLAKE2B 29032be5f6ed3ad553c35bdeb1fe167470cada69818b6faebf03959ae9fdfdbb4e1154177bbf990647c3bff89f59d5a4c333ebdd5e535734f4d15257ba0673c8 SHA512 76c905140f86d5e6c08e90ee0d4d39430a0136e9df304204fe42e17ef9c809b8585678175aefd3743b7def5976ad1a7ca62650434fbd63f4e234e5649ee09bf7
diff --git a/app-editors/kile/files/kile-2.9.93-cmake.patch b/app-editors/kile/files/kile-2.9.93-cmake.patch
deleted file mode 100644
index 94e39c463517..000000000000
--- a/app-editors/kile/files/kile-2.9.93-cmake.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-I know upstream wants to help us but it doesn't work...
-
---- a/CMakeLists.txt 2019-10-19 14:23:41.000000000 +0200
-+++ b/CMakeLists.txt 2019-10-20 15:50:52.606325681 +0200
-@@ -116,15 +116,6 @@
- kile2.0-5_upd.pl
- DESTINATION ${KDE_INSTALL_DATAROOTDIR}/kconf_update)
-
--install(FILES
-- AUTHORS
-- ChangeLog
-- README
-- README.cwl
-- kile-remote-control.txt
-- README.MacOSX
-- DESTINATION ${KDE_INSTALL_DATAROOTDIR}/doc/kile)
--
- feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
- find_package(KF5I18n CONFIG REQUIRED)
- ki18n_install(po)
diff --git a/app-editors/kile/files/kile-2.9.93-fix-crash-when-deleting-templates.patch b/app-editors/kile/files/kile-2.9.93-fix-crash-when-deleting-templates.patch
deleted file mode 100644
index 232bd3894833..000000000000
--- a/app-editors/kile/files/kile-2.9.93-fix-crash-when-deleting-templates.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 483743aa9f194376a8b496ac4e58a946070a36af Mon Sep 17 00:00:00 2001
-From: Michel Ludwig <michel.ludwig@kdemail.net>
-Date: Sun, 1 Dec 2019 09:09:55 +0100
-Subject: [PATCH] Don't crash when deleting templates
-
-BUG: 413506
----
- src/dialogs/managetemplatesdialog.cpp | 11 -----------
- 1 file changed, 11 deletions(-)
-
-diff --git a/src/dialogs/managetemplatesdialog.cpp b/src/dialogs/managetemplatesdialog.cpp
-index fe6537ad..c5298b21 100644
---- a/src/dialogs/managetemplatesdialog.cpp
-+++ b/src/dialogs/managetemplatesdialog.cpp
-@@ -317,17 +317,6 @@ bool ManageTemplatesDialog::removeTemplate()
-
- KileTemplate::Info templateInfo = templateItem->getTemplateInfo();
-
-- KIO::StatJob* statJob = KIO::stat(QUrl::fromUserInput(templateInfo.path), KIO::StatJob::DestinationSide, 0);
-- KIO::StatJob* statJob2 = KIO::stat(QUrl::fromUserInput(templateInfo.icon), KIO::StatJob::DestinationSide, 0);
-- KJobWidgets::setWindow(statJob, this);
-- KJobWidgets::setWindow(statJob2, this);
-- statJob->exec();
-- statJob2->exec();
-- if ((statJob->error() && statJob2->error()) || !QFileInfo(templateInfo.icon).exists()) {
-- KMessageBox::error(this, i18n("Sorry, but you do not have the necessary permissions to remove the selected template."));
-- return false;
-- }
--
- if (KMessageBox::warningYesNo(this, i18n("You are about to remove the template \"%1\"; are you sure?", templateInfo.name)) == KMessageBox::No) {
- return false;
- }
---
-GitLab
-
diff --git a/app-editors/kile/files/kile-2.9.93-fix-ktoolbar-usage.patch b/app-editors/kile/files/kile-2.9.93-fix-ktoolbar-usage.patch
deleted file mode 100644
index 2afd0622ea3d..000000000000
--- a/app-editors/kile/files/kile-2.9.93-fix-ktoolbar-usage.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 5c268679da2fb2cdc414890bdd79a5592e37cb22 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= <andrius@stikonas.eu>
-Date: Tue, 15 Sep 2020 15:33:51 +0100
-Subject: [PATCH] Fix KToolbar usage.
-
----
- src/widgets/scriptsmanagementwidget.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/widgets/scriptsmanagementwidget.cpp b/src/widgets/scriptsmanagementwidget.cpp
-index 79552da3..94f58f18 100644
---- a/src/widgets/scriptsmanagementwidget.cpp
-+++ b/src/widgets/scriptsmanagementwidget.cpp
-@@ -66,7 +66,7 @@ ScriptsManagement::ScriptsManagement(KileInfo *kileInfo, QWidget *parent, const
- baseLayout->setContentsMargins(0, 0, 0, 0);
- setLayout(baseLayout);
-
-- m_toolBar = new KToolBar(this, "scriptControlToolBar");
-+ m_toolBar = new KToolBar("scriptControlToolBar", this);
- m_toolBar->setToolButtonStyle(Qt::ToolButtonIconOnly);
- m_toolBar->setIconDimensions(KIconLoader::SizeSmall);
-
---
-GitLab
-
diff --git a/app-editors/kile/files/kile-2.9.93-fix-overriding-existing-templates.patch b/app-editors/kile/files/kile-2.9.93-fix-overriding-existing-templates.patch
deleted file mode 100644
index f303cff0b0f0..000000000000
--- a/app-editors/kile/files/kile-2.9.93-fix-overriding-existing-templates.patch
+++ /dev/null
@@ -1,164 +0,0 @@
-From 7a55cf2d93c9daa13f2fa2ec1ae25646507cfc0c Mon Sep 17 00:00:00 2001
-From: Michel Ludwig <michel.ludwig@kdemail.net>
-Date: Sun, 1 Dec 2019 15:56:05 +0100
-Subject: [PATCH] Fix overriding of existing templates
-
-Also, don't delete the original file after the template has been
-created from it.
-
-BUG: 413473
-
-* asturm 2020-10-17: backport to 2.9.93 (drop unnecessary string change)
-
----
- src/dialogs/managetemplatesdialog.cpp | 7 ++-
- src/templates.cpp | 78 ++-------------------------
- src/templates.h | 10 ++--
- 3 files changed, 12 insertions(+), 83 deletions(-)
-
-diff --git a/src/dialogs/managetemplatesdialog.cpp b/src/dialogs/managetemplatesdialog.cpp
-index c5298b21..77d5d6ff 100644
---- a/src/dialogs/managetemplatesdialog.cpp
-+++ b/src/dialogs/managetemplatesdialog.cpp
-@@ -292,11 +292,10 @@ void ManageTemplatesDialog::addTemplate()
- reject();
- return;
- }
-- returnValue = m_templateManager->replace(templateInfo, m_sourceURL, templateName, iconURL);
-- }
-- else {
-- returnValue = m_templateManager->add(m_sourceURL, templateName, iconURL);
- }
-+
-+ returnValue = m_templateManager->add(m_sourceURL, templateName, iconURL);
-+
- if (!returnValue) {
- KMessageBox::error(this, i18n("Failed to create the template."));
- reject();
-diff --git a/src/templates.cpp b/src/templates.cpp
---- a/src/templates.cpp
-+++ b/src/templates.cpp
-@@ -82,7 +82,10 @@ bool Manager::copyAppData(const QUrl &src, const QString& subdir, const QString&
- testDir.mkpath(dir);
- }
- // copy file
-- KIO::FileCopyJob* copyJob = KIO::file_copy(src, targetURL);
-+ if(src == targetURL) { // copying a file over itself
-+ return true;
-+ }
-+ KIO::FileCopyJob* copyJob = KIO::file_copy(src, targetURL, -1, KIO::Overwrite);
- KJobWidgets::setWindow(copyJob, m_kileInfo->mainWindow());
- return copyJob->exec();
- }
-@@ -130,77 +133,6 @@ bool Manager::remove(Info ti) {
- return removeAppData(ti.path) && removeAppData(ti.icon);
- }
-
--bool Manager::replace(const KileTemplate::Info& toBeReplaced, const QUrl &newTemplateSourceURL, const QString& newName, const QUrl& newIcon) {
-- KileDocument::Type type = m_kileInfo->extensions()->determineDocumentType(newTemplateSourceURL);
--
-- //start by copying the files that belong to the new template to a safe place
-- QString templateTempFile, iconTempFile;
--
-- if( newTemplateSourceURL.isLocalFile() ) {
-- // file protocol. We do not need the network
-- templateTempFile = newTemplateSourceURL.toLocalFile();
-- }
-- else {
-- QTemporaryFile tmpFile;
-- tmpFile.setAutoRemove( false );
-- tmpFile.open();
--
-- templateTempFile = tmpFile.fileName();
-- m_TempFilePath = tmpFile.fileName();
-- KIO::FileCopyJob* fileCopyJob = KIO::file_copy( newTemplateSourceURL, QUrl::fromLocalFile(templateTempFile), -1, KIO::Overwrite );
-- KJobWidgets::setWindow( fileCopyJob, m_kileInfo->mainWindow() );
--
-- if( ! fileCopyJob->exec() ) {
-- return false;
-- }
-- }
--
-- if( newIcon.isLocalFile() ) {
-- // file protocol. We do not need the network
-- iconTempFile = newIcon.toLocalFile();
-- }
-- else {
-- QTemporaryFile tmpFile;
-- tmpFile.setAutoRemove( false );
-- tmpFile.open();
--
-- iconTempFile = tmpFile.fileName();
-- m_TempFilePath = tmpFile.fileName();
-- KIO::FileCopyJob* fileCopyJob = KIO::file_copy( newIcon, QUrl::fromLocalFile(iconTempFile), -1, KIO::Overwrite );
-- KJobWidgets::setWindow( fileCopyJob, m_kileInfo->mainWindow() );
--
-- if( ! fileCopyJob->exec() ) {
-- if( ! templateTempFile.isEmpty() )
-- QFile::remove( templateTempFile );
-- return false;
-- }
-- }
--
-- //now delete the template that should be replaced
-- if(!remove(toBeReplaced)) {
-- if( ! templateTempFile.isEmpty() )
-- QFile::remove( templateTempFile );
-- if( ! iconTempFile.isEmpty() )
-- QFile::remove( iconTempFile );
-- }
--
-- //finally, create the new template
-- if(!add(QUrl::fromUserInput(templateTempFile), type, newName, QUrl::fromUserInput(iconTempFile))) {
-- if( ! templateTempFile.isEmpty() )
-- QFile::remove( templateTempFile );
-- if( ! iconTempFile.isEmpty() )
-- QFile::remove( iconTempFile );
-- return false;
-- }
--
-- if( ! templateTempFile.isEmpty() )
-- QFile::remove( templateTempFile );
-- if( ! iconTempFile.isEmpty() )
-- QFile::remove( iconTempFile );
--
-- return true;
--}
--
- void Manager::scanForTemplates() {
- KILE_DEBUG_MAIN << "===scanForTemplates()===================";
- QStringList dirs = KileUtilities::locateAll(QStandardPaths::AppDataLocation, "templates", QStandardPaths::LocateDirectory);
-diff --git a/src/templates.h b/src/templates.h
---- a/src/templates.h
-+++ b/src/templates.h
-@@ -1,7 +1,7 @@
- /***************************************************************************************
- begin : Sat Apr 26 2003
- copyright : (C) 2003 by Jeroen Wijnhout (wijnhout@science.uva.nl)
-- 2007, 2008 by Michel Ludwig (michel.ludwig@kdemail.net)
-+ 2007-2019 by Michel Ludwig (michel.ludwig@kdemail.net)
- ***************************************************************************************/
-
- /***************************************************************************
-@@ -79,15 +79,13 @@ public:
- **/
- bool searchForTemplate(const QString& name, KileDocument::Type& type) const;
-
-- // add a template in $HOME/kile/templates/
-+ // Add a template in .kde/share/kile/templates/
-+ // This function will override any existing template.
- bool add(const QUrl &templateSourceURL, const QString &name, const QUrl &icon);
-
-- // remove a template from $HOME/kile/templates/
-+ // Remove a template from .kde/share/kile/templates/
- bool remove(KileTemplate::Info ti);
-
-- // replaces a template
-- bool replace(const KileTemplate::Info& toBeReplaced, const QUrl &newTemplateSourceURL, const QString& newName, const QUrl& newIcon);
--
- // these have to be methods as we cannot use i18n calls in global objects
- static QString defaultEmptyTemplateCaption();
- static QString defaultEmptyLaTeXTemplateCaption();
---
-GitLab
-
diff --git a/app-editors/kile/files/kile-2.9.93-no-khtml.patch b/app-editors/kile/files/kile-2.9.93-no-khtml.patch
deleted file mode 100644
index cf055fc84490..000000000000
--- a/app-editors/kile/files/kile-2.9.93-no-khtml.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From 7c050b5e306cab115573aea1bfc951aaaa1203e9 Mon Sep 17 00:00:00 2001
-From: Michel Ludwig <michel.ludwig@kdemail.net>
-Date: Fri, 22 Nov 2019 09:40:53 +0100
-Subject: [PATCH] Remove dependency on KHTML
-
----
- CMakeLists.txt | 1 -
- src/CMakeLists.txt | 2 --
- src/kilelauncher.cpp | 1 -
- 3 files changed, 4 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 1bea621f..1b25e3a4 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -46,7 +46,6 @@ find_package(KF5 5.31 REQUIRED COMPONENTS
- I18n
- IconThemes
- Init
-- KHtml
- KIO
- Parts
- TextEditor
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 77626894..e23480fd 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -55,7 +55,6 @@ set(kile_SRCS
- dialogs/usermenu/usermenuitem.cpp
- dialogs/usermenu/usermenutree.cpp
- dialogs/validatorinputdialog.cpp
-- docpart.cpp
- documentinfo.cpp
- editorcommands.cpp
- editorextension.cpp
-@@ -238,7 +237,6 @@ PUBLIC
- KF5::Crash
- KF5::DBusAddons
- KF5::GuiAddons
-- KF5::KHtml
- KF5::I18n
- KF5::IconThemes
- KF5::KIOCore
-diff --git a/src/kilelauncher.cpp b/src/kilelauncher.cpp
-index c0bcdf9d..24a1f5b4 100644
---- a/src/kilelauncher.cpp
-+++ b/src/kilelauncher.cpp
-@@ -16,7 +16,6 @@
-
- #include <config.h>
-
--#include "docpart.h"
- #include "kileconfig.h"
- #include "kileinfo.h"
- #include "kiletool.h"
---
-GitLab
-
diff --git a/app-editors/kile/kile-2.9.93-r1.ebuild b/app-editors/kile/kile-2.9.93-r1.ebuild
deleted file mode 100644
index 60a8f8484e9c..000000000000
--- a/app-editors/kile/kile-2.9.93-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ECM_HANDBOOK="forceoptional"
-KDE_ORG_CATEGORY="office"
-KFMIN=5.74.0
-QTMIN=5.14.2
-inherit ecm kde.org
-
-DESCRIPTION="Latex Editor and TeX shell based on KDE Frameworks"
-HOMEPAGE="https://apps.kde.org/kile/ https://kile.sourceforge.io/"
-
-if [[ ${KDE_BUILD_TYPE} == release ]]; then
- SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
- KEYWORDS="amd64 ~arm64 ~riscv x86"
-fi
-
-LICENSE="FDL-1.2 GPL-2"
-SLOT="5"
-IUSE="+pdf +png"
-
-DEPEND="
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtscript-${QTMIN}:5
- >=dev-qt/qttest-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- kde-apps/okular:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/kcrash-${KFMIN}:5
- >=kde-frameworks/kdbusaddons-${KFMIN}:5
- >=kde-frameworks/kdoctools-${KFMIN}:5
- >=kde-frameworks/kguiaddons-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kiconthemes-${KFMIN}:5
- >=kde-frameworks/kinit-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
- >=kde-frameworks/kparts-${KFMIN}:5
- >=kde-frameworks/ktexteditor-${KFMIN}:5
- >=kde-frameworks/kwindowsystem-${KFMIN}:5
- >=kde-frameworks/kxmlgui-${KFMIN}:5
- pdf? ( app-text/poppler[qt5] )
-"
-RDEPEND="${DEPEND}
- kde-apps/konsole:5
- kde-apps/okular:5[pdf?]
- virtual/latex-base
- virtual/tex-base
- pdf? (
- app-text/ghostscript-gpl
- app-text/texlive-core
- )
- png? (
- app-text/dvipng
- virtual/imagemagick-tools[png?]
- )
-"
-
-DOCS=( AUTHORS ChangeLog kile-remote-control.txt README{,.cwl} )
-
-PATCHES=(
- "${FILESDIR}/${P}-cmake.patch"
- "${FILESDIR}/${P}-no-khtml.patch"
- "${FILESDIR}/${P}-fix-crash-when-deleting-templates.patch"
- "${FILESDIR}/${P}-fix-overriding-existing-templates.patch"
- "${FILESDIR}/${P}-fix-ktoolbar-usage.patch"
-)
-
-src_configure() {
- local mycmakeargs=(
- $(cmake_use_find_package pdf Poppler)
- )
- ecm_src_configure
-}
diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest
index ba1f14cc0fbf..97945e1a37af 100644
--- a/app-editors/vscode/Manifest
+++ b/app-editors/vscode/Manifest
@@ -11,7 +11,11 @@ DIST vscode-1.73.1-arm64.tar.gz 124921489 BLAKE2B dd244d2c1ebee9c8360284aa0a3afd
DIST vscode-1.74.0-amd64.tar.gz 138266029 BLAKE2B ebc7c805d06c6e3685109d3432c0cde46ec40c009dfb4245c5446e9d234df470c10e256e5e4de919a98c20c66bb22b67ab59a8c1c80cfc5c05247c167c5b32f6 SHA512 0760d12364bf1440a42ffb96754a7bdee4a17a7f9e152d461ccdd6292417882fdfb5394d60ea1a774c1c446895c127cbe3de94972ee0dd83dba425163b9e6c22
DIST vscode-1.74.0-arm.tar.gz 117871171 BLAKE2B 8b2b4180c06b57ab28df603b52a9596c38cebb33d73deff2fe2053579ad3b0d92b50b9c7ccc8e193adbf38e836a8d73065978b0709d990adb9264132a4e2a8e8 SHA512 cc1749f20753c2001f798cad5217540701458cf61a0286623999b315c764858f7b131bec772c737aaf7ec3a34aa894137aecb863dc5d90826d87da69c873b1d5
DIST vscode-1.74.0-arm64.tar.gz 127510791 BLAKE2B 829539d4d4be86f59f0e8577b55fc656e6c78f4a172c6f1fa65147f4989893cc2c81d6aa30ca635078eba5cc9bcdf01465624abfa19f68cc7c5fe03514da57ec SHA512 68c1d67ece5493feab2259baee3dec3c5299baf10b07ab763c0a59bc909ee20731b4d589ae779c4e0115badc2c0da1dd12753f94591a11f45c2aed7156fe7092
+DIST vscode-1.74.1-amd64.tar.gz 138266991 BLAKE2B 283fedd15cf2eb75f339c741785cff35a0fca62b267cf71b26e2f0dce308f2f189c32bdfa0e4137109551b3bfb45c0e71fbb4d0940961d166955b053ae80e43d SHA512 73aabce1ce68c3b321490fe36083847d9d012c1a5fd6e095bf6a0160abad5e0935d4f1d8e0ad8e7e84bdc844bf8f2331baeb6ff58df2ffba080c97f46c096038
+DIST vscode-1.74.1-arm.tar.gz 117868697 BLAKE2B 331d1fa61d6a0ee4c588dc416fee3a62e33066c4d02a2a4a07002c89f5ec7a125269d05866817277f79649a3834221d209377d78622c4c8709cc6bffd9a9da71 SHA512 cb959dccdadbbcf4a592a92a543efa5bca193fcd9293dc61f42f4328676cfc1429099e4e10b8fef456b41e428f3eefecea462adde82a915ec3ab9c543184001b
+DIST vscode-1.74.1-arm64.tar.gz 127513900 BLAKE2B 1d34816d28f2a415d33ee8196a2c6843ba49f736abf8d862232a4905ddf73679ac2bf5145cb2673355c16bc62143b1428ed0d503153d7a84a30d17cc9602a881 SHA512 6a41cc164e1fc2ea2ce5d3f0f2c346aa78df7aec93457e6b4359fb588c40120917c810f96d6434c532c199444f233690de46ec9cd94494ee1b6e2baaf2eb542b
EBUILD vscode-1.73.0.ebuild 3326 BLAKE2B 6e92fc27cc25afad09522325f3bed062db5057341f3480e8be21ac5fe66b0227bd61327f939bcdbd17c541d91392630ed71118f6ed6974737a6419d85854f2fb SHA512 e32dd9e81c9793d4f9e70dd417b11e1e5e93e52ca651a261ced93827a056b61effdf9bf127cd3ebdbfec508190179bdc08be656209d56d6d0a50227975dcb067
EBUILD vscode-1.73.1.ebuild 3326 BLAKE2B 6e92fc27cc25afad09522325f3bed062db5057341f3480e8be21ac5fe66b0227bd61327f939bcdbd17c541d91392630ed71118f6ed6974737a6419d85854f2fb SHA512 e32dd9e81c9793d4f9e70dd417b11e1e5e93e52ca651a261ced93827a056b61effdf9bf127cd3ebdbfec508190179bdc08be656209d56d6d0a50227975dcb067
EBUILD vscode-1.74.0.ebuild 3326 BLAKE2B 6e92fc27cc25afad09522325f3bed062db5057341f3480e8be21ac5fe66b0227bd61327f939bcdbd17c541d91392630ed71118f6ed6974737a6419d85854f2fb SHA512 e32dd9e81c9793d4f9e70dd417b11e1e5e93e52ca651a261ced93827a056b61effdf9bf127cd3ebdbfec508190179bdc08be656209d56d6d0a50227975dcb067
+EBUILD vscode-1.74.1.ebuild 3326 BLAKE2B 6e92fc27cc25afad09522325f3bed062db5057341f3480e8be21ac5fe66b0227bd61327f939bcdbd17c541d91392630ed71118f6ed6974737a6419d85854f2fb SHA512 e32dd9e81c9793d4f9e70dd417b11e1e5e93e52ca651a261ced93827a056b61effdf9bf127cd3ebdbfec508190179bdc08be656209d56d6d0a50227975dcb067
MISC metadata.xml 1058 BLAKE2B cf7606233d99e4429debe5ef824f235f1ff3083ab5553030453e982bfb5860dd5ccecca3792319665835d604b6ff2cb53ebd885bb959236784c62885087750b2 SHA512 961552953336ad9606c9fc004fc3e0fb8d7481a017b6ba5da683db5ba989f58d474ccb4ea3a001851b2cfe705e7fe3f70ba01a14dd1f048523e73af522d50410
diff --git a/app-editors/vscode/vscode-1.74.1.ebuild b/app-editors/vscode/vscode-1.74.1.ebuild
new file mode 100644
index 000000000000..6f579f293498
--- /dev/null
+++ b/app-editors/vscode/vscode-1.74.1.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop pax-utils xdg optfeature
+
+DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
+HOMEPAGE="https://code.visualstudio.com"
+SRC_URI="
+ amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
+ arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
+ arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )
+"
+S="${WORKDIR}"
+
+RESTRICT="mirror strip bindist"
+
+LICENSE="
+ Apache-2.0
+ BSD
+ BSD-1
+ BSD-2
+ BSD-4
+ CC-BY-4.0
+ ISC
+ LGPL-2.1+
+ Microsoft-vscode
+ MIT
+ MPL-2.0
+ openssl
+ PYTHON
+ TextMate-bundle
+ Unlicense
+ UoI-NCSA
+ W3C
+"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64"
+
+RDEPEND="
+ || (
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ ( app-accessibility/at-spi2-atk dev-libs/atk )
+ )
+ app-crypt/libsecret[crypt]
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/mesa
+ net-print/cups
+ sys-apps/util-linux
+ sys-apps/dbus
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+ x11-libs/libdrm
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libxkbcommon
+ x11-libs/libxkbfile
+ x11-libs/libXrandr
+ x11-libs/libxshmfence
+ x11-libs/pango
+"
+
+QA_PREBUILT="
+ /opt/vscode/bin/code-tunnel
+ /opt/vscode/chrome_crashpad_handler
+ /opt/vscode/chrome-sandbox
+ /opt/vscode/code
+ /opt/vscode/libEGL.so
+ /opt/vscode/libffmpeg.so
+ /opt/vscode/libGLESv2.so
+ /opt/vscode/libvk_swiftshader.so
+ /opt/vscode/libvulkan.so*
+ /opt/vscode/resources/app/extensions/*
+ /opt/vscode/resources/app/node_modules.asar.unpacked/*
+ /opt/vscode/swiftshader/libEGL.so
+ /opt/vscode/swiftshader/libGLESv2.so
+"
+
+src_install() {
+ if use amd64; then
+ cd "${WORKDIR}/VSCode-linux-x64" || die
+ elif use arm; then
+ cd "${WORKDIR}/VSCode-linux-armhf" || die
+ elif use arm64; then
+ cd "${WORKDIR}/VSCode-linux-arm64" || die
+ else
+ die "Visual Studio Code only supports amd64, arm and arm64"
+ fi
+
+ # Cleanup
+ rm -r ./resources/app/LICENSES.chromium.html ./resources/app/LICENSE.rtf ./resources/app/licenses || die
+
+ # Disable update server
+ sed -e "/updateUrl/d" -i ./resources/app/product.json || die
+
+ # Install
+ pax-mark m code
+ insinto "/opt/${PN}"
+ doins -r *
+ fperms +x /opt/${PN}/{,bin/}code
+ fperms +x /opt/${PN}/chrome_crashpad_handler
+ fperms 4711 /opt/${PN}/chrome-sandbox
+ fperms 755 /opt/${PN}/resources/app/extensions/git/dist/{askpass,git-editor}{,-empty}.sh
+ fperms -R +x /opt/${PN}/resources/app/out/vs/base/node
+ fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg
+ dosym "../../opt/${PN}/bin/code" "usr/bin/vscode"
+ dosym "../../opt/${PN}/bin/code" "usr/bin/code"
+ domenu "${FILESDIR}/vscode.desktop"
+ domenu "${FILESDIR}/vscode-url-handler.desktop"
+ domenu "${FILESDIR}/vscode-wayland.desktop"
+ domenu "${FILESDIR}/vscode-url-handler-wayland.desktop"
+ newicon "resources/app/resources/linux/code.png" "vscode.png"
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ elog "You may want to install some additional utils, check in:"
+ elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
+ optfeature "keyring support inside vscode" "gnome-base/gnome-keyring"
+}