Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
adding falkon6
build from Qt6 fork, cmake set to disable x11, bc still lists Qt5 only x11extras as depend
- Loading branch information
Showing
5 changed files
with
145 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
|
|
||
| # include global config | ||
| source ../_buildscripts/${current_repo}-${_arch}-cfg.conf | ||
|
|
||
| pkgname=falkon6 | ||
| _pkgname=falkon | ||
| pkgver=${_kdever} | ||
| pkgrel=1 | ||
| arch=('x86_64') | ||
| pkgdesc="Open source browser based on QtWebengine, written in Qt Framework" | ||
| url="https://www.falkon.org/" | ||
| license=('GPL3') | ||
| depends=('qt6-webengine' 'qt6-webchannel' 'qt6-5compat' 'ki18n6' 'kwallet6' 'kio6' | ||
| 'kcrash6' 'kcoreaddons6' 'purpose6') | ||
| makedepends=('extra-cmake-modules6' 'qt6-tools') | ||
| #groups=('network-web') | ||
| #source=("${_mirror}/${pkgname}-${_kdever}.tar.xz" | ||
| source=("https://invent.kde.org/thubble/falkon/-/archive/qt6/falkon-qt6.tar.bz2" | ||
| 'speeddial.diff' | ||
| 'preferences.diff' | ||
| 'browserwindow.diff' | ||
| 'revert.diff') #taken from commit https://github.com/KDE/falkon/commit/7308b64df6a13d5822f491f2cbc7f39ae6781488 | ||
| #md5sums=(`grep ${_pkgname}-${_kdever}.tar.xz ../kde-sc.md5 | cut -d" " -f1` | ||
| md5sums=('b91740b48d3a1c22411aaa7a215b984f' | ||
| 'add41876289657b8605b5ba5889271f9' | ||
| '2addb3a5e484bcfbb19f702d2e86d2fd' | ||
| 'cafc9d1284e700ad615265bf39a2bafb' | ||
| 'e1b0fbbc51de79774757b7b60a482ebe') | ||
|
|
||
| prepare() { | ||
| cd ${_pkgname}-qt6 | ||
|
|
||
| patch -R -p1 -i ${srcdir}/revert.diff | ||
| patch -p1 -i ${srcdir}/speeddial.diff | ||
| patch -p0 -i ${srcdir}/preferences.diff | ||
| patch -p0 -i ${srcdir}/browserwindow.diff | ||
| } | ||
|
|
||
| build() { | ||
| cmake -B build -S ${_pkgname}-qt6 \ | ||
| -DCMAKE_INSTALL_PREFIX=/usr \ | ||
| -DCMAKE_BUILD_TYPE=Release \ | ||
| -DKDE_INSTALL_LIBDIR=lib \ | ||
| -DENABLE_KDE_FRAMEWORKS_INTEGRATION_PLUGIN=TRUE \ | ||
| -DQT_MAJOR_VERSION=6 \ | ||
| -DNO_X11=ON | ||
| cmake --build build | ||
| } | ||
|
|
||
| package() { | ||
|
|
||
| DESTDIR=${pkgdir} cmake --install build | ||
|
|
||
| install -Dm644 ${_pkgname}-qt6/linux/completion/_falkon ${pkgdir}/usr/share/zsh/site-functions/_falkon | ||
| } | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- src/lib/app/browserwindow.cpp 2019-03-19 19:06:45.000000000 +0100 | ||
| +++ src/lib/app/browserwindow.cpp 2019-03-20 14:34:49.393082377 +0100 | ||
| @@ -575,7 +575,7 @@ | ||
|
|
||
| //Url settings | ||
| settings.beginGroup(QSL("Web-URL-Settings")); | ||
| - m_homepage = settings.value(QSL("homepage"), QSL("falkon:start")).toUrl(); | ||
| + m_homepage = settings.value(QSL("homepage"), QSL("falkon:speeddial")).toUrl(); | ||
| settings.endGroup(); | ||
|
|
||
| //Browser Window settings | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| --- src/lib/preferences/preferences.cpp.orig 2022-01-31 19:57:13.114800008 +0100 | ||
| +++ src/lib/preferences/preferences.cpp 2022-01-31 19:57:13.181800665 +0100 | ||
| @@ -151,7 +151,7 @@ | ||
| Settings settings; | ||
| //GENERAL URLs | ||
| settings.beginGroup("Web-URL-Settings"); | ||
| - m_homepage = settings.value("homepage", QUrl(QSL("falkon:start"))).toUrl(); | ||
| + m_homepage = settings.value("homepage", QUrl(QSL("falkon:speeddial"))).toUrl(); | ||
| m_newTabUrl = settings.value("newTabUrl", QUrl(QSL("falkon:speeddial"))).toUrl(); | ||
| ui->homepage->setText(m_homepage.toEncoded()); | ||
| ui->newTabUrl->setText(m_newTabUrl.toEncoded()); | ||
| @@ -305,7 +305,7 @@ | ||
| ui->disableVideoAutoPlay->setChecked(settings.value("DisableVideoAutoPlay", false).toBool()); | ||
| ui->webRTCPublicIpOnly->setChecked(settings.value("WebRTCPublicIpOnly", true).toBool()); | ||
| ui->dnsPrefetch->setChecked(settings.value("DNSPrefetch", true).toBool()); | ||
| - ui->intPDFViewer->setChecked(settings.value("intPDFViewer", false).toBool()); | ||
| + ui->intPDFViewer->setChecked(settings.value("intPDFViewer", true).toBool()); | ||
| ui->intPDFViewer->setEnabled(ui->allowPlugins->isChecked()); | ||
| ui->screenCaptureEnabled->setChecked(settings.value("screenCaptureEnabled", false).toBool()); | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| diff --git a/src/lib/plugins/speeddial.cpp b/src/lib/plugins/speeddial.cpp | ||
| index cd8ff4657..3c5a5e7bf 100644 | ||
| --- a/src/lib/plugins/speeddial.cpp | ||
| +++ b/src/lib/plugins/speeddial.cpp | ||
| @@ -62,13 +62,6 @@ void SpeedDial::loadSettings() | ||
| m_sdcentered = settings.value("sdcenter", false).toBool(); | ||
| settings.endGroup(); | ||
|
|
||
| - if (allPages.isEmpty()) { | ||
| - allPages = "url:\"https:/kde.org\"|title:\"KDE Community Home\";" | ||
| - "url:\"https://phabricator.kde.org/source/falkon/\"|title:\"Falkon Git\";" | ||
| - "url:\"https://bugs.kde.org/describecomponents.cgi?product=Falkon\"|title:\"Falkon Bug Tracker\";" | ||
| - "url:\"https://duckduckgo.com\"|title:\"DuckDuckGo\";"; | ||
| - | ||
| - } | ||
| changed(allPages); | ||
|
|
||
| m_thumbnailsDir = DataPaths::currentProfilePath() + "/thumbnails/"; | ||
| @@ -232,10 +225,6 @@ QString SpeedDial::initialScript() | ||
|
|
||
| void SpeedDial::changed(const QString &allPages) | ||
| { | ||
| - if (allPages.isEmpty()) { | ||
| - return; | ||
| - } | ||
| - | ||
| const QStringList entries = allPages.split(QLatin1String("\";"), Qt::SkipEmptyParts); | ||
| m_pages.clear(); | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| --- a/src/lib/plugins/speeddial.cpp 2018-02-27 14:56:58.000000000 +0100 | ||
| +++ b/src/lib/plugins/speeddial.cpp 2018-02-28 16:29:38.798407779 +0100 | ||
| @@ -58,15 +58,19 @@ | ||
| setBackgroundImage(settings.value("background", QString()).toString()); | ||
| m_backgroundImageSize = settings.value("backsize", "auto").toString(); | ||
| m_maxPagesInRow = settings.value("pagesrow", 4).toInt(); | ||
| - m_sizeOfSpeedDials = settings.value("sdsize", 231).toInt(); | ||
| + m_sizeOfSpeedDials = settings.value("sdsize", 225).toInt(); | ||
| m_sdcentered = settings.value("sdcenter", false).toBool(); | ||
| settings.endGroup(); | ||
|
|
||
| if (allPages.isEmpty()) { | ||
| - allPages = "url:\"https:/kde.org\"|title:\"KDE Community Home\";" | ||
| - "url:\"https://phabricator.kde.org/source/falkon/\"|title:\"Falkon Git\";" | ||
| - "url:\"https://bugs.kde.org/describecomponents.cgi?product=Falkon\"|title:\"Falkon Bug Tracker\";" | ||
| - "url:\"https://duckduckgo.com\"|title:\"DuckDuckGo\";"; | ||
| + allPages = "url:\"https://kaosx.us\"|title:\"KaOS - Welcome\";" | ||
| + "url:\"https://forum.kaosx.us\"|title:\"Forum\";" | ||
| + "url:\"https://web.libera.chat/#KaOS\"|title:\"IRC\";" | ||
| + "url:\"https://www.youtube.com/html5\"|title:\"YouTube-html5\";" | ||
| + "url:\"https://www.google.com\"|title:\"Google\";" | ||
| + "url:\"https://www.falkon.org/\"|title:\"Falkon\";" | ||
| + "url:\"http://madebyevan.com/webgl-water\"|title:\"WebGL\";" | ||
| + "url:\"https://vimeo.com/categories\"|title:\"Vimeo\";"; | ||
|
|
||
| } | ||
| changed(allPages); | ||
|
|