Skip to content

Commit

Permalink
Merge pull request #63 from JamiKettunen/focal
Browse files Browse the repository at this point in the history
Build for Ubuntu Touch 20.04 Focal
  • Loading branch information
timsueberkrueb authored Feb 2, 2023
2 parents 27a8223 + 4b20691 commit 56f3676
Show file tree
Hide file tree
Showing 35 changed files with 64 additions and 65 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Webber

Webber installs local shortcuts for webpages on Ubuntu touch.
Webber installs local shortcuts for webpages on Ubuntu Touch.

<a href="https://open-store.io/app/webber.timsueberkrueb"><img width="256" src="https://open-store.io/badges/en_US.svg" alt="OpenStore" /></a>

## Build using clickable

Install [clickable](https://clickable-ut.dev), the build tool for Ubuntu touch apps.
Install [clickable](https://clickable-ut.dev), the build tool for Ubuntu Touch apps.

To build and start the application on your phone, run:

Expand Down
1 change: 1 addition & 0 deletions clickable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ clickable_minimum_required: 7.6.0

builder: rust
rust_channel: nightly-2022-11-22
framework: ubuntu-sdk-20.04
kill: webber

dependencies_host:
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
},
"version": "0.6.0",
"maintainer": "Tim Süberkrüb <[email protected]>",
"framework" : "ubuntu-sdk-16.04"
"framework" : "ubuntu-sdk-20.04"
}
2 changes: 1 addition & 1 deletion po/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ msgid "About"
msgstr "حول"

#: qml/AboutDialog.qml:100
msgid "Webapp shortcut creator for Ubuntu touch"
msgid "Webapp shortcut creator for Ubuntu Touch"
msgstr "صانع اختصارات تطبيقات الإنترنت لأوبونتو توتش"

#: qml/AboutDialog.qml:115
Expand Down
2 changes: 1 addition & 1 deletion po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ msgid "About"
msgstr "Über"

#: qml/AboutDialog.qml:100
msgid "Webapp shortcut creator for Ubuntu touch"
msgid "Webapp shortcut creator for Ubuntu Touch"
msgstr "Web-App Shortcut-Tool für Ubuntu Touch"

#: qml/AboutDialog.qml:115
Expand Down
4 changes: 2 additions & 2 deletions po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ msgid "About"
msgstr "Acerca de"

#: qml/AboutDialog.qml:100
msgid "Webapp shortcut creator for Ubuntu touch"
msgstr "Creador de atajos Webapp para Ubuntu touch"
msgid "Webapp shortcut creator for Ubuntu Touch"
msgstr "Creador de atajos Webapp para Ubuntu Touch"

#: qml/AboutDialog.qml:115
msgid "Rate"
Expand Down
2 changes: 1 addition & 1 deletion po/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ msgid "About"
msgstr "À propos"

#: qml/AboutDialog.qml:100
msgid "Webapp shortcut creator for Ubuntu touch"
msgid "Webapp shortcut creator for Ubuntu Touch"
msgstr "Créateur de raccourcis vers des applications Web pour Ubuntu Touch"

#: qml/AboutDialog.qml:115
Expand Down
2 changes: 1 addition & 1 deletion po/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ msgid "About"
msgstr ""

#: qml/AboutDialog.qml:100
msgid "Webapp shortcut creator for Ubuntu touch"
msgid "Webapp shortcut creator for Ubuntu Touch"
msgstr ""

#: qml/AboutDialog.qml:115
Expand Down
2 changes: 1 addition & 1 deletion po/nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ msgid "About"
msgstr "Over"

#: qml/AboutDialog.qml:100
msgid "Webapp shortcut creator for Ubuntu touch"
msgid "Webapp shortcut creator for Ubuntu Touch"
msgstr "Maak webapp-snelkoppelingen op Ubuntu Touch"

#: qml/AboutDialog.qml:115
Expand Down
2 changes: 1 addition & 1 deletion po/webber.pot
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ msgid "About"
msgstr ""

#: qml/AboutDialog.qml:100
msgid "Webapp shortcut creator for Ubuntu touch"
msgid "Webapp shortcut creator for Ubuntu Touch"
msgstr ""

#: qml/AboutDialog.qml:115
Expand Down
4 changes: 2 additions & 2 deletions qml/AboutDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import QtQuick.Layouts 1.0
import QtQuick.Controls 2.8
import QtQuick.Controls.Suru 2.2
import QtGraphicalEffects 1.0
import Ubuntu.Components 1.3 as UUITK
import Lomiri.Components 1.3 as LUITK
import Webber 1.0
import "."

Expand Down Expand Up @@ -97,7 +97,7 @@ AdaptiveDialog {
}

Label {
text: i18n.tr("Webapp shortcut creator for Ubuntu touch")
text: i18n.tr("Webapp shortcut creator for Ubuntu Touch")
horizontalAlignment: Text.AlignHCenter
width: parent.width
wrapMode: Text.WordWrap
Expand Down
4 changes: 2 additions & 2 deletions qml/AdaptiveDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import QtQuick 2.0
import QtQuick.Layouts 1.0
import QtQuick.Controls 2.8
import QtQuick.Controls.Suru 2.2
import Ubuntu.Components 1.3 as UUITK
import Lomiri.Components 1.3 as LUITK

Dialog {
id: dialog
Expand Down Expand Up @@ -40,7 +40,7 @@ Dialog {

spacing: Suru.units.gu(1)

UUITK.Icon {
LUITK.Icon {
name: dialog.iconName
width: Suru.units.gu(4)
height: Suru.units.gu(4)
Expand Down
6 changes: 3 additions & 3 deletions qml/AddPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import QtQuick 2.0
import QtQuick.Layouts 1.0
import QtQuick.Controls 2.2
import QtQuick.Controls.Suru 2.2
import Ubuntu.Components 1.3 as UUITK
import Lomiri.Components 1.3 as LUITK
import Webber 1.0
import "."

Expand All @@ -25,7 +25,7 @@ Page {
onClicked: App.pop()
}

UUITK.TextField {
LUITK.TextField {
id: urlField

property string previousText: ""
Expand Down Expand Up @@ -128,7 +128,7 @@ Page {

spacing: units.gu(1)

UUITK.Icon {
LUITK.Icon {
name: optionalSettings.showing ? "up" : "down"
width: units.gu(3)
height: units.gu(3)
Expand Down
2 changes: 1 addition & 1 deletion qml/ContentImport.qml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import QtQuick 2.0
import Ubuntu.Content 1.3
import Lomiri.Content 1.3

QtObject {
id: contentImport
Expand Down
4 changes: 2 additions & 2 deletions qml/CustomIconSelector.qml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import QtQuick 2.0
import QtQuick.Layouts 1.0
import QtQuick.Controls 2.2
import QtQuick.Controls.Suru 2.2
import Ubuntu.Components 1.3 as UUITK
import Ubuntu.Content 1.3
import Lomiri.Components 1.3 as LUITK
import Lomiri.Content 1.3

Dialog {
id: dialog
Expand Down
4 changes: 2 additions & 2 deletions qml/EssentialSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import QtQuick 2.0
import QtQuick.Layouts 1.0
import QtQuick.Controls 2.2
import QtQuick.Controls.Suru 2.2
import Ubuntu.Components 1.3 as UUITK
import Lomiri.Components 1.3 as LUITK

Item {
id: essentialSettings
Expand Down Expand Up @@ -96,7 +96,7 @@ Item {
text: i18n.tr("Name")
}

UUITK.TextField {
LUITK.TextField {
id: nameField
Layout.fillWidth: true
placeholderText: i18n.tr("Web app name")
Expand Down
2 changes: 1 addition & 1 deletion qml/HelpDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import QtQuick 2.0
import QtQuick.Layouts 1.0
import QtQuick.Controls 2.8
import QtQuick.Controls.Suru 2.2
import Ubuntu.Components 1.3 as UUITK
import Lomiri.Components 1.3 as LUITK

AdaptiveDialog {
id: dialog
Expand Down
4 changes: 2 additions & 2 deletions qml/IconButton.qml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import QtQuick 2.0
import QtQuick.Controls 2.0
import QtQuick.Controls.Suru 2.2
import Ubuntu.Components 1.3 as UUITK
import Lomiri.Components 1.3 as LUITK

Button {
property string iconName: ""
Expand All @@ -12,7 +12,7 @@ Button {
implicitHeight: Suru.units.gu(4)
flat: true

UUITK.Icon {
LUITK.Icon {
anchors {
fill: parent
margins: Suru.units.gu(1)
Expand Down
8 changes: 4 additions & 4 deletions qml/IconSelectItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import QtQuick 2.0
import QtQuick.Layouts 1.0
import QtQuick.Controls 2.2
import QtQuick.Controls.Suru 2.2
import Ubuntu.Components 1.3 as UUITK
import Lomiri.Components 1.3 as LUITK

Column {
id: iconSelectItem
Expand All @@ -23,11 +23,11 @@ Column {
implicitWidth: Suru.units.gu(8)
implicitHeight: Suru.units.gu(8)

UUITK.UbuntuShape {
LUITK.LomiriShape {
anchors.fill: parent

backgroundColor: iconImage.source == "" ? Suru.neutralColor : "white"
aspect: UUITK.UbuntuShape.Inset
aspect: LUITK.LomiriShape.Inset

source: Image {
id: iconImage
Expand All @@ -37,7 +37,7 @@ Column {
source: iconSelectItem.source !== "" ? iconSelectItem.sourcePrefix + iconSelectItem.source : ""
}

UUITK.Icon {
LUITK.Icon {
anchors.centerIn: parent
visible: placeholderIconName !== "" && iconImage.source == ""
name: placeholderIconName
Expand Down
2 changes: 1 addition & 1 deletion qml/IconSelector.qml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import QtQuick 2.0
import QtQuick.Layouts 1.0
import QtQuick.Controls 2.2
import QtQuick.Controls.Suru 2.2
import Ubuntu.Components 1.3 as UUITK
import Lomiri.Components 1.3 as LUITK

RowLayout {
id: iconSelector
Expand Down
2 changes: 1 addition & 1 deletion qml/IconWebView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import QtQuick 2.0
import QtQuick.Controls 2.0
import QtQuick.Controls.Suru 2.2
import QtWebEngine 1.3
import Ubuntu.Components 1.3 as UUITK
import Lomiri.Components 1.3 as LUITK

Item {
id: item
Expand Down
2 changes: 1 addition & 1 deletion qml/InstallDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import QtQuick 2.0
import QtQuick.Layouts 1.0
import QtQuick.Controls 2.2
import QtQuick.Controls.Suru 2.2
import Ubuntu.Content 1.3
import Lomiri.Content 1.3
import "."

Dialog {
Expand Down
2 changes: 1 addition & 1 deletion qml/KeyboardPlaceholder.qml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Borrowed from Teleports, MessageListPage.qml

import QtQuick 2.0
import Ubuntu.Components 1.3
import Lomiri.Components 1.3
import QtQuick.Controls.Suru 2.2

Item {
Expand Down
6 changes: 3 additions & 3 deletions qml/MainPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import QtQuick.Layouts 1.0
import QtQuick.Controls 2.2
import QtQuick.Controls.Suru 2.2
import QtGraphicalEffects 1.0
import Ubuntu.Components 1.3 as UUITK
import Lomiri.Components 1.3 as LUITK
import Webber 1.0
import "."

Expand Down Expand Up @@ -55,7 +55,7 @@ Page {
margins: Suru.units.dp(32)
}

contentItem: UUITK.Icon { name: "help" }
contentItem: LUITK.Icon { name: "help" }
onClicked: tutorialDialog.open()
}

Expand All @@ -66,7 +66,7 @@ Page {
margins: Suru.units.dp(32)
}

contentItem: UUITK.Icon { name: "info" }
contentItem: LUITK.Icon { name: "info" }
onClicked: aboutDialog.open()
}

Expand Down
4 changes: 2 additions & 2 deletions qml/MiniBrowserBar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import QtQuick.Layouts 1.0
import QtQuick.Controls 2.0
import QtQuick.Controls.Suru 2.2
import QtWebEngine 1.3
import Ubuntu.Components 1.3 as UUITK
import Lomiri.Components 1.3 as LUITK

Item {
id: item
Expand Down Expand Up @@ -49,7 +49,7 @@ Item {
}
}

UUITK.TextField {
LUITK.TextField {
id: urlField

property string previousText: ""
Expand Down
2 changes: 1 addition & 1 deletion qml/MiniBrowserView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import QtQuick.Layouts 1.0
import QtQuick.Controls 2.0
import QtQuick.Controls.Suru 2.2
import QtWebEngine 1.3
import Ubuntu.Components 1.3 as UUITK
import Lomiri.Components 1.3 as LUITK

WebEngineView {
id: webview
Expand Down
8 changes: 4 additions & 4 deletions qml/OptionalSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import QtQuick 2.6
import QtQuick.Layouts 1.0
import QtQuick.Controls 2.2
import QtQuick.Controls.Suru 2.2
import Ubuntu.Components 1.3 as UUITK
import Lomiri.Components 1.3 as LUITK
import "."

Item {
Expand Down Expand Up @@ -67,7 +67,7 @@ Item {
color: colorField.text
}

UUITK.TextField {
LUITK.TextField {
id: colorField
Layout.fillWidth: true
text: "#ffffff"
Expand Down Expand Up @@ -208,7 +208,7 @@ and copy it into the text field below.")
width: parent.width
implicitHeight: customUAField.implicitHeight

UUITK.TextField {
LUITK.TextField {
id: customUAField
placeholderText: i18n.tr("Custom User-Agent header")
enabled: radioCustomUA.checked
Expand Down Expand Up @@ -274,7 +274,7 @@ and copy it into the text field below.")
RowLayout {
anchors.fill: parent

UUITK.TextField {
LUITK.TextField {
Layout.fillWidth: true

signal editingFinished()
Expand Down
Loading

0 comments on commit 56f3676

Please sign in to comment.