forked from getsolus/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
onedrive-gui: initial inclusion in the repository
The inclusion of onedrive-gui resolves getsolus#329 **Summary** Add the onedrive-gui package, which provides a gui for package onedrive. **Test Plan** - Launched application - Linked to account - Set up partial sync (exclude and include of directories) **Checklist** - [x] Package was built and tested against unstable
- Loading branch information
Showing
5 changed files
with
197 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,5 @@ | ||
This file is used to indicate primary maintainership for this package. A package may list more than one maintainer to avoid bus factor issues. People on this list may be considered “subject-matter experts”. Please note that Solus staff may need to perform necessary rebuilds, upgrades, or security fixes as part of the normal maintenance of the Solus package repository. If you believe this package requires an update, follow documentation from https://help.getsol.us/docs/packaging/procedures/request-a-package-update. In the event that this package becomes insufficiently maintained, the Solus staff reserves the right to request a new maintainer, or deprecate and remove this package from the repository entirely. | ||
|
||
Maik Wöhl | ||
- Matrix: @maikwoehl:matrix.org | ||
- Email: [email protected] |
54 changes: 54 additions & 0 deletions
54
packages/o/onedrive-gui/files/0001-make-project-buildable.patch
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,54 @@ | ||
commit e6d380d20dc5fc1472e66b19e5e17455fb4f6c32 | ||
Author: Maik Wöhl <[email protected]> | ||
Date: Sat Jan 20 15:19:18 2024 +0100 | ||
|
||
Make project buildable | ||
|
||
diff --git a/MANIFEST.in b/MANIFEST.in | ||
new file mode 100644 | ||
index 0000000..fca4e5b | ||
--- /dev/null | ||
+++ b/MANIFEST.in | ||
@@ -0,0 +1,2 @@ | ||
+graft src/ui | ||
+graft src/resources | ||
diff --git a/pyproject.toml b/pyproject.toml | ||
new file mode 100644 | ||
index 0000000..e0f1aac | ||
--- /dev/null | ||
+++ b/pyproject.toml | ||
@@ -0,0 +1,14 @@ | ||
+[project] | ||
+name = "onedrive-gui" | ||
+version = "1.0.3" | ||
+description = "A simple GUI for Linux OneDrive Client, with multi-account support." | ||
+readme = "README.md" | ||
+requires-python = ">=3.8" | ||
+license = {file = "LICENSE"} | ||
+ | ||
+[project.scripts] | ||
+onedrive-gui = "OneDriveGUI:main" | ||
+ | ||
+[build-system] | ||
+requires = ["setuptools >= 61.0"] | ||
+build-backend = "setuptools.build_meta" | ||
diff --git a/src/OneDriveGUI.py b/src/OneDriveGUI.py | ||
index 608aa39..4608d7d 100644 | ||
--- a/src/OneDriveGUI.py | ||
+++ b/src/OneDriveGUI.py | ||
@@ -3164,7 +3164,7 @@ def shorten_path(path, limit): | ||
return path | ||
|
||
|
||
-if __name__ == "__main__": | ||
+def main(): | ||
gui_settings = read_gui_settings() | ||
|
||
logging.basicConfig( | ||
@@ -3191,3 +3191,6 @@ if __name__ == "__main__": | ||
profile_settings_window = ProfileSettingsWindow() | ||
|
||
app.exec() | ||
+ | ||
+if __name__ == "__main__": | ||
+ main() |
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 @@ | ||
0001-make-project-buildable.patch |
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,26 @@ | ||
name : onedrive-gui | ||
version : 1.0.3 | ||
release : 1 | ||
source : | ||
- https://github.com/bpozdena/OneDriveGUI/archive/refs/tags/v1.0.3.tar.gz : 30511dd2b9c3c548e125564c08e2aaf50f0cfe348abded5733ea04dfa8eb93cf | ||
homepage : https://github.com/bpozdena/OneDriveGUI | ||
license : GPL-3.0-or-later | ||
component : network.clients | ||
summary : A simple GUI for Linux OneDrive Client, with multi-account support. | ||
description: | | ||
A simple GUI for Linux OneDrive Client, with multi-account support. | ||
builddeps : | ||
- python-build | ||
- python-installer | ||
- python-pyside6 | ||
- python-requests | ||
- python-wheel | ||
rundeps : | ||
- python-pyside6 | ||
- python-requests | ||
setup : | | ||
%apply_patches | ||
build : | | ||
%python3_setup | ||
install : | | ||
%python3_install |
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,111 @@ | ||
<PISI> | ||
<Source> | ||
<Name>onedrive-gui</Name> | ||
<Homepage>https://github.com/bpozdena/OneDriveGUI</Homepage> | ||
<Packager> | ||
<Name>Maik Wöhl</Name> | ||
<Email>[email protected]</Email> | ||
</Packager> | ||
<License>GPL-3.0-or-later</License> | ||
<PartOf>network.clients</PartOf> | ||
<Summary xml:lang="en">A simple GUI for Linux OneDrive Client, with multi-account support.</Summary> | ||
<Description xml:lang="en">A simple GUI for Linux OneDrive Client, with multi-account support. | ||
</Description> | ||
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://sources.getsol.us/README.Solus</Archive> | ||
</Source> | ||
<Package> | ||
<Name>onedrive-gui</Name> | ||
<Summary xml:lang="en">A simple GUI for Linux OneDrive Client, with multi-account support.</Summary> | ||
<Description xml:lang="en">A simple GUI for Linux OneDrive Client, with multi-account support. | ||
</Description> | ||
<PartOf>network.clients</PartOf> | ||
<Files> | ||
<Path fileType="executable">/usr/bin/onedrive-gui</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/OneDriveGUI.py</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/__pycache__/OneDriveGUI.cpython-310.opt-1.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/__pycache__/OneDriveGUI.cpython-310.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/onedrive_gui-1.0.3.dist-info/LICENSE</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/onedrive_gui-1.0.3.dist-info/METADATA</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/onedrive_gui-1.0.3.dist-info/RECORD</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/onedrive_gui-1.0.3.dist-info/WHEEL</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/onedrive_gui-1.0.3.dist-info/entry_points.txt</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/onedrive_gui-1.0.3.dist-info/top_level.txt</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/OneDriveGUI.desktop</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/default_config</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/OneDriveGUI.ico</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/OneDriveGUI.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/account.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/close-filled.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/folder.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/gear.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/icons8-cloud-cross-40_2.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/icons8-cloud-done-40_2.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/icons8-cloud-sync-40_2.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/icons8-clouds-48.ico</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/icons8-clouds-48.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/icons8-clouds-80-dark-edge.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/icons8-green-circle-48.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/icons8-red-circle-48.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/menu.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/pause.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/play.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/quit.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/stop.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/storage.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/user-account.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/resources/images/warning.png</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_create_new_profile.cpython-310.opt-1.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_create_new_profile.cpython-310.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_external_login.cpython-310.opt-1.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_external_login.cpython-310.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_gui_settings_window.cpython-310.opt-1.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_gui_settings_window.cpython-310.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_import_existing_profile.cpython-310.opt-1.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_import_existing_profile.cpython-310.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_list_item_widget.cpython-310.opt-1.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_list_item_widget.cpython-310.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_login.cpython-310.opt-1.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_login.cpython-310.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_mainwindow.cpython-310.opt-1.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_mainwindow.cpython-310.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_process_status_page.cpython-310.opt-1.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_process_status_page.cpython-310.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_profile_settings_page.cpython-310.opt-1.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_profile_settings_page.cpython-310.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_profile_settings_window.cpython-310.opt-1.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/__pycache__/ui_profile_settings_window.cpython-310.pyc</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/create_new_profile.ui</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/external_login.ui</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/gui_settings_window.ui</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/import_existing_profile.ui</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/list_item_widget.ui</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/login.ui</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/mainwindow.ui</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/mainwindow.ui.autosave</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/process_status_page.ui</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/profile_settings_page.ui</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/profile_settings_window.ui</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/setup_wizard.ui</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/test.ui</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/ui_create_new_profile.py</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/ui_external_login.py</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/ui_gui_settings_window.py</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/ui_import_existing_profile.py</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/ui_list_item_widget.py</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/ui_login.py</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/ui_mainwindow.py</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/ui_process_status_page.py</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/ui_profile_settings_page.py</Path> | ||
<Path fileType="library">/usr/lib/python3.10/site-packages/ui/ui_profile_settings_window.py</Path> | ||
</Files> | ||
</Package> | ||
<History> | ||
<Update release="1"> | ||
<Date>2024-01-20</Date> | ||
<Version>1.0.3</Version> | ||
<Comment>Packaging update</Comment> | ||
<Name>Maik Wöhl</Name> | ||
<Email>[email protected]</Email> | ||
</Update> | ||
</History> | ||
</PISI> |