[-]
[+]
|
Changed |
_service:tar_git:harbour-fbjail.spec
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -2,7 +2,7 @@
<service name="tar_git">
<param name="url">https://gitlab.com/nephros/harbour-fbjail.git</param>
<param name="branch"></param>
- <param name="revision">0.9.15</param>
+ <param name="revision">0.9.16</param>
<param name="token"/>
<param name="debian">N</param>
<param name="dumb">N</param>
|
[-]
[+]
|
Added |
_service:tar_git:harbour-fbjail-0.9.16.tar.bz2/50-harbour-fbjail.conf
^
|
@@ -0,0 +1,2 @@
+[Unit]
+Wants=booster-browser@harbour-fbjail.service
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-fbjail-0.9.16.tar.bz2/harbour-fbjail.desktop
^
|
@@ -1,7 +1,8 @@
[Desktop Entry]
Type=Application
Icon=harbour-fbjail
-Exec=/usr/bin/invoker -s --type=generic /usr/bin/sailjail -p harbour-fbjail.desktop /usr/bin/sailfish-qml harbour-fbjail
+Exec=/usr/bin/invoker --type=browser,silica-qt5 -A -- /usr/bin/harbour-fbjail
+#Exec=/usr/bin/invoker -s --type=generic /usr/bin/sailjail -p harbour-fbjail.desktop /usr/bin/sailfish-qml harbour-fbjail
#Exec=sailjail -p harbour-fbjail.desktop /usr/bin/sailfish-qml harbour-fbjail
Name=FratzenJail
@@ -9,6 +10,7 @@
Permissions=Internet;WebView;Pictures;Documents;Downloads;MediaIndexing;Sharing
OrganizationName=org.nephros.sailfish
ApplicationName=FratzenJail
+
[X-HarbourBackup]
BackupConfigList=/org/nephros/FratzenJail
BackupPathList=.local/share/org.nephros.sailfish/FratzenJail/
|
[-]
[+]
|
Added |
_service:tar_git:harbour-fbjail-0.9.16.tar.bz2/harbour-fbjail.pro
^
|
@@ -0,0 +1,14 @@
+######################################################################
+# Automatically generated by qmake (3.0) Mon Jul 18 19:53:08 2022
+######################################################################
+
+TEMPLATE = app
+TARGET = harbour-fbjail
+CONFIG += sailfishapp sailfishapp_i18n
+INCLUDEPATH += .
+
+# Input
+SOURCES += src/main.cpp
+
+TRANSLATIONS += translations/harbour-fbjail-de.ts \
+ translations/harbour-fbjail-en.ts
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-fbjail-0.9.16.tar.bz2/qml/config/shortcuts.js
^
|
@@ -4,12 +4,12 @@
*/
var data = [
-// {"name": "Home", "link": "/home.php", "iconname": "icon-m-home"},
- {"name": "Notifications", "link": "/notifications/", "iconname": "icon-m-notifications"},
- {"name": "Messages", "link": "/messages/t/", "iconname": "icon-m-region"},
- {"name": "Groups", "link": "/groups/", "iconname": "icon-m-users"},
- {"name": "Friends", "link": "/friends/", "iconname": "icon-m-contact"},
-// {"name": "Profile", "link": "/profile/", "iconname": "icon-m-media-artists"},
- {"name": "Settings", "link": "/settings/", "iconname": "icon-m-setting"},
+// {"name": "Home", "link": "/home.php", "iconname": "icon-m-home"},
+ {"name": "Notifications", "link": "/notifications/", "iconname": "icon-m-notifications"},
+ {"name": "Messages", "link": "/messages/t/", "iconname": "icon-m-region"},
+ {"name": "Groups", "link": "/groups_browse/your_groups/", "iconname": "icon-m-users"},
+ {"name": "Friends", "link": "/friends/", "iconname": "icon-m-contact"},
+// {"name": "Profile", "link": "/profile/", "iconname": "icon-m-media-artists"},
+ {"name": "Settings", "link": "/settings/", "iconname": "icon-m-setting"},
{"name": "Log out", "link": "https://m.facebook.com/login/save-password-interstitial/?ref_component=mbasic_footer", "iconname": "icon-m-close" }
];
|
[-]
[+]
|
Added |
_service:tar_git:harbour-fbjail-0.9.16.tar.bz2/src/main.cpp
^
|
@@ -0,0 +1,35 @@
+/*
+ *
+ * Copyright 2022 Peter G. <sailfish@nephros.org>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+*/
+
+/*
+ * Minimal SailfishApp.
+ *
+ * The sole reason for this is to produce a binary, because the booster-browser
+ * service will only launch binaries, not qmlscene, not sailfish-qml, etc.
+ *
+ */
+
+/*
+#include <QQuickView>
+#include <QScopedPointer>
+#include <QtQuick>
+*/
+#include <sailfishapp.h>
+
+int main(int argc, char **argv) {
+ return SailfishApp::main(argc,argv);
+}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-fbjail.yaml
^
|
@@ -1,12 +1,14 @@
Name: harbour-fbjail
Summary: Jailed Facebook Browser
-Version: 0.9.14
+Version: 0.9.16
Release: 1
+SCM: https://gitlab.com/nephros/harbour-fbjail
+URL: https://gitlab.com/nephros/harbour-fbjail
Group: Applications/Internet
License: MIT
Sources:
- '%{name}-%{version}.tar.bz2'
-BuildArch: noarch
+#BuildArch: noarch
Description: |
%{summary}.
@@ -37,19 +39,33 @@
Donation: https://noyb.eu/en/donations-other-support-options
%endif
+RequiresPre:
+ - systemd
+RequiresPost:
+ - systemd
+RequiresPreUn:
+ - systemd
+RequiresPostUn:
+ - systemd
Requires:
- - libsailfishapp-launcher
- sailjail
- qml(Sailfish.WebEngine)
- qml(Sailfish.WebView)
+ - mapplauncherd-booster-browser
PkgBR:
- qt5-qttools-linguist
-#PkgConfigBR:
-# - ^^^
+ - qt5-qmake
+ - libsailfishapp-devel
+PkgConfigBR:
+ - Qt5Core
+ - Qt5Gui
+ - Qt5Qml
+ - Qt5Quick
Configure: none
-Builder: none
+Builder: qmake5
NoIconCache: true
Files:
+ - '%{_bindir}/*'
- '%dir %{_datadir}/%{name}'
- '%{_datadir}/dbus-1/services/*'
- '%{_datadir}/%{name}/qml/*'
@@ -57,3 +73,4 @@
- '%{_datadir}/icons/hicolor/scalable/apps/*.svg'
- '%{_datadir}/icons/hicolor/*/apps/*.png'
- '%{_datadir}/applications/%{name}*.desktop'
+ - '%{_userunitdir}/user-session.target.d/50-%{name}.conf'
|