From 4dad404effdf86447093f9ff539a44dea441b4b1 Mon Sep 17 00:00:00 2001 From: alihanozturk Date: Wed, 29 Jun 2016 22:23:18 +0300 Subject: [PATCH] qupzilla:add repo --- network/web/qupzilla/actions.py | 25 +++++ .../web/qupzilla/files/bookmarks_json.diff | 48 ++++++++++ network/web/qupzilla/files/browserwindow.diff | 11 +++ network/web/qupzilla/files/defines.diff | 10 ++ network/web/qupzilla/files/preferences.diff | 11 +++ network/web/qupzilla/files/speeddial.diff | 26 +++++ network/web/qupzilla/pspec.xml | 94 +++++++++++++++++++ network/web/qupzilla/translations.xml | 8 ++ 8 files changed, 233 insertions(+) create mode 100644 network/web/qupzilla/actions.py create mode 100644 network/web/qupzilla/files/bookmarks_json.diff create mode 100644 network/web/qupzilla/files/browserwindow.diff create mode 100644 network/web/qupzilla/files/defines.diff create mode 100644 network/web/qupzilla/files/preferences.diff create mode 100644 network/web/qupzilla/files/speeddial.diff create mode 100644 network/web/qupzilla/pspec.xml create mode 100644 network/web/qupzilla/translations.xml diff --git a/network/web/qupzilla/actions.py b/network/web/qupzilla/actions.py new file mode 100644 index 0000000000..2d1056a09d --- /dev/null +++ b/network/web/qupzilla/actions.py @@ -0,0 +1,25 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt + +from pisi.actionsapi import qt5 +from pisi.actionsapi import autotools +from pisi.actionsapi import shelltools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + qt5.configure(parameters="USE_WEBGL=true \ + QUPZILLA_PREFIX=/usr/ \ + GNOME_INTEGRATION=true \ + KDE_INTEGRATION=true \ + NO_X11=true") + +def build(): + qt5.make() + +def install(): + qt5.install("INSTALL_ROOT=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "BUILDING*", "CHANGELOG", "COPYRIGHT", "FAQ", "GPLv3", "README*") diff --git a/network/web/qupzilla/files/bookmarks_json.diff b/network/web/qupzilla/files/bookmarks_json.diff new file mode 100644 index 0000000000..642131e11c --- /dev/null +++ b/network/web/qupzilla/files/bookmarks_json.diff @@ -0,0 +1,48 @@ +--- src/lib/data/data/bookmarks.json.orig 2014-02-14 04:53:19.000000000 -0500 ++++ src/lib/data/data/bookmarks.json 2014-03-03 20:18:08.031463865 -0500 +@@ -3,41 +3,17 @@ + "bookmark_bar": { + "children": [ + { +- "description": "Source code of QupZilla", +- "keyword": "qz-git", +- "name": "QupZilla Git", +- "type": "url", +- "url": "https://github.com/QupZilla/qupzilla", +- "visit_count": 0 +- }, +- { +- "description": "", +- "keyword": "qz-wiki", +- "name": "QupZilla Wiki", +- "type": "url", +- "url": "https://github.com/QupZilla/qupzilla/wiki", +- "visit_count": 0 +- }, +- { +- "description": "GitHub Issue Tracker for QupZilla", +- "keyword": "qz-issues", +- "name": "QupZilla Issues", ++ "description": "Pisilinux Homepage", ++ "keyword": "Pisilinux", ++ "name": "Pisilinux", + "type": "url", +- "url": "https://github.com/QupZilla/qupzilla/issues", ++ "url": "http://www.pisilinux.org", + "visit_count": 0 + }, + { + "type": "separator" + }, + { +- "description": "Blog with development updates", +- "keyword": "qz-blog", +- "name": "QupZilla Blog", +- "type": "url", +- "url": "http://blog.qupzilla.com/", +- "visit_count": 0 +- }, +- { + "description": "QupZilla Homepage", + "keyword": "qz-home", + "name": "QupZilla Home", diff --git a/network/web/qupzilla/files/browserwindow.diff b/network/web/qupzilla/files/browserwindow.diff new file mode 100644 index 0000000000..f64f04f2e6 --- /dev/null +++ b/network/web/qupzilla/files/browserwindow.diff @@ -0,0 +1,11 @@ +--- src/lib/app/browserwindow.cpp.orig 2016-03-16 16:30:21.000000000 -0400 ++++ src/lib/app/browserwindow.cpp 2016-03-18 21:49:40.833636454 -0400 +@@ -419,7 +419,7 @@ + + //Url settings + settings.beginGroup("Web-URL-Settings"); +- m_homepage = settings.value("homepage", "qupzilla:start").toUrl(); ++ m_homepage = settings.value("homepage", "qupzilla:speeddial").toUrl(); + settings.endGroup(); + + //Browser Window settings \ No newline at end of file diff --git a/network/web/qupzilla/files/defines.diff b/network/web/qupzilla/files/defines.diff new file mode 100644 index 0000000000..afd39ab9db --- /dev/null +++ b/network/web/qupzilla/files/defines.diff @@ -0,0 +1,10 @@ +--- src/defines.pri 2013-12-07 17:03:03.000000000 -0500 ++++ src/defines_new.pri 2013-12-11 13:30:42.211002583 -0500 +@@ -4,6 +4,8 @@ + RCC_DIR = $$PWD/../build + UI_DIR = $$PWD/../build + ++CONFIG += debug ++ + # workaround for #849: see https://bugreports.qt-project.org/browse/QTBUG-23196 + mocinclude.CONFIG *= fix_target \ No newline at end of file diff --git a/network/web/qupzilla/files/preferences.diff b/network/web/qupzilla/files/preferences.diff new file mode 100644 index 0000000000..f6fac03d21 --- /dev/null +++ b/network/web/qupzilla/files/preferences.diff @@ -0,0 +1,11 @@ +--- src/lib/preferences/preferences.cpp.orig 2014-11-18 17:52:54.635782052 -0500 ++++ src/lib/preferences/preferences.cpp 2014-11-18 17:52:55.129103922 -0500 +@@ -140,7 +140,7 @@ + Settings settings; + //GENERAL URLs + settings.beginGroup("Web-URL-Settings"); +- m_homepage = settings.value("homepage", QUrl(QSL("qupzilla:start"))).toUrl(); ++ m_homepage = settings.value("homepage", QUrl(QSL("qupzilla:speeddial"))).toUrl(); + m_newTabUrl = settings.value("newTabUrl", QUrl(QSL("qupzilla:speeddial"))).toUrl(); + ui->homepage->setText(m_homepage.toEncoded()); + ui->newTabUrl->setText(m_newTabUrl.toEncoded()); \ No newline at end of file diff --git a/network/web/qupzilla/files/speeddial.diff b/network/web/qupzilla/files/speeddial.diff new file mode 100644 index 0000000000..800787fa78 --- /dev/null +++ b/network/web/qupzilla/files/speeddial.diff @@ -0,0 +1,26 @@ +--- src/lib/plugins/speeddial.cpp 2016-02-29 11:18:45.000000000 -0500 ++++ src/lib/plugins/speeddial.cpp 2016-03-04 17:25:39.726171052 -0500 +@@ -58,15 +58,18 @@ + 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://www.qupzilla.com\"|title:\"QupZilla\";" +- "url:\"http://blog.qupzilla.com\"|title:\"QupZilla Blog\";" +- "url:\"https://github.com/QupZilla/qupzilla\"|title:\"QupZilla GitHub\";" +- "url:\"https://duckduckgo.com\"|title:\"DuckDuckGo\";"; ++ allPages = "url:\"http://www.pisilinux.org\"|title:\"Pisilinux - Hoşgeldiniz\";" ++ "url:\"http://forum.pisilinux.org\"|title:\"Forum\";" ++ "url:\"http://wiki.pisilinux.org\"|title:\"Pisilinux Wiki\";" ++ "url:\"http://www.youtube.com/html5\"|title:\"YouTube-html5\";" ++ "url:\"http://www.google.com\"|title:\"Google\";" ++ "url:\"http://www.qupzilla.com\"|title:\"QupZilla\";" ++ "url:\"https://github.com/pisilinux\"|title:\"Github\";"; + } + changed(allPages); + diff --git a/network/web/qupzilla/pspec.xml b/network/web/qupzilla/pspec.xml new file mode 100644 index 0000000000..2fea5ad32e --- /dev/null +++ b/network/web/qupzilla/pspec.xml @@ -0,0 +1,94 @@ + + + qupzilla + http://www.qupzilla.com/ + + Alihan Öztürk + alihan@pisilinux.org + + GPLv3 + app:gui + Cross-platform QtWebKit browser + QupZilla is a new and very fast QtWebEngine browser. + https://github.com/QupZilla/qupzilla/releases/download/v2.0.1/QupZilla-2.0.1.tar.xz + + openssl-devel + glib2-devel + qt5-base-devel + qt5-webkit-devel + qt5-webengine-devel + qt5-x11extras-devel + qt5-svg-devel + qt5-sql-sqlite + qt5-declarative-devel + qt5-xmlpatterns-devel + qt5-phonon-devel + qt5-sensors-devel + qt5-script-devel + qt5-designer-devel + qt5-webchannel-devel + qt5-location-devel + qt5-imageformats + qt5-linguist + xcb-util-devel + libvpx-devel + libgnome-keyring-devel + kdelibs4-support-devel + kwallet-devel + hunspell-devel + gdb-devel + libmng-devel + lcms2-devel + tiff-devel + jbigkit-devel + nss-devel + + + speeddial.diff + preferences.diff + browserwindow.diff + defines.diff + bookmarks_json.diff + + + + + qupzilla + Cross-platform QtWebKit browser + + libgcc + libxcb + openssl + qt5-base + qt5-webengine + qt5-x11extras + qt5-webchannel + qt5-declarative + hunspell + kwallet + + + /usr/bin + /usr/lib + /usr/qupzilla + /usr/share + /usr/share/appdata + /usr/share/applications + /usr/share/bash-completion + /usr/share/icons + /usr/share/pixmaps + /usr/share/qupzilla + /usr/share/doc + + + + + + 2016-06-18 + 2.0.1 + First release + Alihan Öztürk + alihan@pisilinux.org + + + diff --git a/network/web/qupzilla/translations.xml b/network/web/qupzilla/translations.xml new file mode 100644 index 0000000000..8ec628364e --- /dev/null +++ b/network/web/qupzilla/translations.xml @@ -0,0 +1,8 @@ + + + + qupzilla + A fast open source browser based on WebKit core, written in Qt Framework, wayland port + A fast open source browser based on WebKit core, written in Qt Framework, wayland port + + \ No newline at end of file