Skip to content

Commit

Permalink
Add stable flatpak files
Browse files Browse the repository at this point in the history
  • Loading branch information
vicr123 committed Feb 6, 2022
1 parent f93ad3d commit 10bfa25
Show file tree
Hide file tree
Showing 13 changed files with 188 additions and 48 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/flatpak-stable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on:
workflow_dispatch:
create:
tags:
- 'v*'
name: Build Flatpak (Stable)
jobs:
flatpak-builder:
name: "Flatpak Builder"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:kde-5.15
options: --privileged
steps:
- uses: actions/checkout@v2
- uses: bilelmoussaoui/flatpak-github-actions@v2
with:
bundle: "thefile.flatpak"
manifest-path: "dist/com.vicr123.thefile.yml"
- shell: bash
env:
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
REPO_LOCATION: https://flatpak.vicr123.com
REPO_NAME: stable
run: |
sudo dnf install -y python3-aiohttp python3-tenacity python3-gobject
curl https://github.com/flatpak/flat-manager/releases/download/0.3.7/flat-manager-client -L > flat-manager-client
chmod +x flat-manager-client
./flat-manager-client push --commit --publish $(./flat-manager-client create $REPO_LOCATION $REPO_NAME) repo
10 changes: 5 additions & 5 deletions application/jobs/widgets/filetransferjobwidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>400</width>
<height>166</height>
<height>172</height>
</rect>
</property>
<property name="windowTitle">
Expand All @@ -32,15 +32,14 @@
<item>
<widget class="tStackedWidget" name="stackedWidget">
<property name="currentIndex">
<number>2</number>
<number>0</number>
</property>
<widget class="QWidget" name="progressPage">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="operationLabel">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand Down Expand Up @@ -103,7 +102,6 @@
<widget class="QLabel" name="label">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand Down Expand Up @@ -143,6 +141,9 @@
</item>
<item>
<widget class="QPushButton" name="pushButton_3">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Manually Resolve Conflicts</string>
</property>
Expand All @@ -165,7 +166,6 @@
<widget class="QLabel" name="label_2">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
Expand Down
Binary file added application/translations/de.qm
Binary file not shown.
21 changes: 15 additions & 6 deletions application/translations/de.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" sourcelanguage="en_US" language="de">
<TS version="2.1" language="de" sourcelanguage="en_US">
<context>
<name>BurnJob</name>
<message>
Expand Down Expand Up @@ -207,6 +207,7 @@ Once the disc in the drive is erased, all the data on it will be gone forever.</
<source>Delete %n files</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context>
Expand All @@ -223,6 +224,7 @@ Once the disc in the drive is erased, all the data on it will be gone forever.</
<source>Counted %n files to transfer...</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
<message>
Expand All @@ -245,6 +247,7 @@ Once the disc in the drive is erased, all the data on it will be gone forever.</
<source>%n files in the destination folder have the same file name as files being transferred. Resolve the file conflicts to continue transferring files.</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
<message>
Expand All @@ -263,27 +266,31 @@ Once the disc in the drive is erased, all the data on it will be gone forever.</
<source>Moved %n files</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<location filename="../jobs/filetransferjob.cpp" line="338"/>
<source>Successfully moved %n files</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<location filename="../jobs/filetransferjob.cpp" line="340"/>
<source>Copied %n files</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<location filename="../jobs/filetransferjob.cpp" line="341"/>
<source>Successfully copied %n files</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
<message>
Expand Down Expand Up @@ -338,27 +345,27 @@ Total progress: %4 of %5</source>
<context>
<name>FileTransferJobWidget</name>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="111"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="109"/>
<source>FILE CONFLICTS</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="133"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="131"/>
<source>Replace All</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="140"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="138"/>
<source>Skip Conflicting</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="147"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="148"/>
<source>Manually Resolve Conflicts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="154"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="155"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="209"/>
<source>Cancel Operation</source>
<translation type="unfinished"></translation>
Expand All @@ -383,6 +390,7 @@ Total progress: %4 of %5</source>
<source>%n files in the destination folder have the same file name as files being transferred</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
<message>
Expand Down Expand Up @@ -504,6 +512,7 @@ Total progress: %4 of %5</source>
<source>%n items</source>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
<message>
Expand Down
10 changes: 5 additions & 5 deletions application/translations/en_US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,27 +338,27 @@ Total progress: %4 of %5</source>
<context>
<name>FileTransferJobWidget</name>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="111"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="109"/>
<source>FILE CONFLICTS</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="133"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="131"/>
<source>Replace All</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="140"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="138"/>
<source>Skip Conflicting</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="147"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="148"/>
<source>Manually Resolve Conflicts</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="154"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="155"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="209"/>
<source>Cancel Operation</source>
<translation type="unfinished"></translation>
Expand Down
10 changes: 5 additions & 5 deletions application/translations/tr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,27 +344,27 @@ Toplam ilerleme: %4 / %5</translation>
<context>
<name>FileTransferJobWidget</name>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="111"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="109"/>
<source>FILE CONFLICTS</source>
<translation>DOSYA ÇATIŞMALARI</translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="133"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="131"/>
<source>Replace All</source>
<translation>Hepsini değiştir</translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="140"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="138"/>
<source>Skip Conflicting</source>
<translation>Çakışmayı Atla</translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="147"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="148"/>
<source>Manually Resolve Conflicts</source>
<translation>Çatışmaları Manuel Olarak Çözme</translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="154"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="155"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="209"/>
<source>Cancel Operation</source>
<translation>İşlemi İptal Et</translation>
Expand Down
10 changes: 5 additions & 5 deletions application/translations/vi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,27 +344,27 @@ Tổng cộng: %4 tren %5</translation>
<context>
<name>FileTransferJobWidget</name>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="111"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="109"/>
<source>FILE CONFLICTS</source>
<translation>XUNG ĐỘT TỆP</translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="133"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="131"/>
<source>Replace All</source>
<translation>Thay thế tất cả</translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="140"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="138"/>
<source>Skip Conflicting</source>
<translation>Bỏ qua các xung đột</translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="147"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="148"/>
<source>Manually Resolve Conflicts</source>
<translation>Giải quyết thủ công</translation>
</message>
<message>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="154"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="155"/>
<location filename="../jobs/widgets/filetransferjobwidget.ui" line="209"/>
<source>Cancel Operation</source>
<translation>Hủy</translation>
Expand Down
98 changes: 98 additions & 0 deletions dist/com.vicr123.thefile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
app-id: com.vicr123.thefile
runtime: org.kde.Platform
runtime-version: '5.15'
sdk: org.kde.Sdk
command: thefile
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --share=network
- --filesystem=host
- --device=all
- --system-talk-name=org.freedesktop.UDisks2
cleanup:
- '/include'
- '/qt'
- '/share/man'
- '/share/the-libs'
- '/bin/tltrdesktop'
- '/lib/debug'
- '/lib/pkgconfig'
- '/share/applications/com.vicr123.thefrisbee.desktop'
- '/bin/thefrisbee'
modules:
- name: the-libs
buildsystem: qmake
sources:
- type: git
url: https://github.com/vicr123/the-libs
branch: master
- name: contemporary
buildsystem: qmake
config-opts:
- THELIBS_BUILDTOOLS_PATH = /app/share/the-libs/pri
- THELIBS_INSTALL_QT_PLUGINS = /app/lib/qt/plugins
- '-after'
- QT -= thelib
- QT += dbus
- LIBS += -L/app/lib -lthe-libs
- INCLUDEPATH += /app/include/the-libs
sources:
- type: git
url: https://github.com/vicr123/contemporary-theme
branch: master
- name: contemporary-icons
buildsystem: simple
build-commands:
- mkdir -p /app/share/icons/contemporary
- cp -r * /app/share/icons/contemporary/
sources:
- type: git
url: https://github.com/vicr123/contemporary-icons
branch: blueprint
- name: libtdesktopenvironment
buildsystem: qmake
builddir: true
config-opts:
- THELIBS_BUILDTOOLS_PATH = /app/share/the-libs/pri
- THELIBS_INSTALL_SETTINGS = /app/etc
- THELIBS_INSTALL_QT_PLUGINS = /app/lib/qt/plugins
- '-after'
- QT -= thelib
- QT += dbus
- LIBS += -L/app/lib -lthe-libs
- INCLUDEPATH += /app/include/the-libs
sources:
- type: git
url: https://github.com/vicr123/libtdesktopenvironment
- name: thefrisbee
buildsystem: qmake
builddir: true
config-opts:
- THELIBS_BUILDTOOLS_PATH = /app/share/the-libs/pri
- THELIBS_INSTALL_SETTINGS = /app/etc
- '-after'
- QT -= thelib
- QT += dbus
- LIBS += -L/app/lib -lthe-libs
- INCLUDEPATH += /app/include/the-libs
sources:
- type: git
url: https://github.com/vicr123/thefrisbee
branch: master
- name: thefile
buildsystem: qmake
builddir: true
config-opts:
- THELIBS_BUILDTOOLS_PATH = /app/share/the-libs/pri
- THELIBS_INSTALL_SETTINGS = /app/etc
- '-after'
- QT -= thelib frisbee tdesktopenvironment
- QT += dbus
- LIBS += -L/app/lib -lthe-libs -lthefrisbee -ltdesktopenvironment
- INCLUDEPATH += /app/include/the-libs /app/include/libtdesktopenvironment /app/include/libthefrisbee
- SUBDIRS -= appproj
sources:
- type: git
url: https://github.com/vicr123/thefile
branch: master
Loading

0 comments on commit 10bfa25

Please sign in to comment.