-
Notifications
You must be signed in to change notification settings - Fork 26
onedrive and onedrive-gui fixes #136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| # Copyright 1999-2025 Gentoo Authors | ||
| # Distributed under the terms of the GNU General Public License v2 | ||
|
|
||
| EAPI=8 | ||
|
|
||
| M_PN=OneDriveGUI | ||
|
|
||
| DESCRIPTION="A simple GUI for OneDrive Linux client, with multi-account support." | ||
| HOMEPAGE="https://github.com/bpozdena/OneDriveGUI" | ||
|
|
||
| inherit desktop xdg-utils | ||
| SRC_URI=" | ||
| https://github.com/bpozdena/${M_PN}/releases/download/v${PV}/${M_PN}-${PV}_fix150-x86_64.AppImage -> ${P}.AppImage | ||
| https://raw.githubusercontent.com/bpozdena/${M_PN}/refs/tags/v${PV}/src/resources/images/${M_PN}.png -> OneDriveGUI-${PV}.png | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You forgot to update the manifests. You can do that with: In the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I noticed that forcing manifest update some times don't update🙃 |
||
| " | ||
| S="${WORKDIR}" | ||
| LICENSE="GPL-3" | ||
| SLOT="0" | ||
| KEYWORDS="-* ~amd64" | ||
|
|
||
| RDEPEND=" | ||
| <net-misc/onedrive-2.5 | ||
| !net-misc/onedrivegui | ||
| sys-fs/fuse:0 | ||
| " | ||
|
|
||
| RESTRICT="strip test" | ||
|
|
||
| src_install() { | ||
| #Install binary and alias command | ||
| newbin "${DISTDIR}/${P}.AppImage" OneDriveGUI | ||
|
|
||
| #Icon and Desktop File | ||
| newicon "${DISTDIR}/OneDriveGUI-${PV}.png" OneDriveGUI.png | ||
| domenu "${FILESDIR}/OneDriveGUI.desktop" | ||
| } | ||
|
|
||
| pkg_postinst() { | ||
| xdg_desktop_database_update | ||
| xdg_icon_cache_update | ||
| } | ||
|
|
||
| pkg_postrm() { | ||
| xdg_desktop_database_update | ||
| xdg_icon_cache_update | ||
| } | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| # Copyright 1999-2025 Gentoo Authors | ||
| # Distributed under the terms of the GNU General Public License v2 | ||
|
|
||
| EAPI=8 | ||
|
|
||
| M_PN=OneDriveGUI | ||
|
|
||
| DESCRIPTION="A simple GUI for OneDrive Linux client, with multi-account support." | ||
| HOMEPAGE="https://github.com/bpozdena/OneDriveGUI" | ||
|
|
||
| inherit desktop xdg-utils | ||
| SRC_URI=" | ||
| https://github.com/bpozdena/${M_PN}/releases/download/v${PV}a/${M_PN}-${PV}-x86_64.AppImage -> ${P}.AppImage | ||
| https://raw.githubusercontent.com/bpozdena/${M_PN}/refs/tags/v${PV}/src/resources/images/${M_PN}.png -> OneDriveGUI-${PV}.png | ||
| " | ||
| S="${WORKDIR}" | ||
| LICENSE="GPL-3" | ||
| SLOT="0" | ||
| KEYWORDS="-* ~amd64" | ||
|
|
||
| RDEPEND=" | ||
| >=net-misc/onedrive-2.5 | ||
| !net-misc/onedrivegui | ||
| sys-fs/fuse:0 | ||
| " | ||
|
|
||
| RESTRICT="strip test" | ||
|
|
||
| src_install() { | ||
| #Install binary and alias command | ||
| newbin "${DISTDIR}/${P}.AppImage" OneDriveGUI | ||
|
|
||
| #Icon and Desktop File | ||
| newicon "${DISTDIR}/OneDriveGUI-${PV}.png" OneDriveGUI.png | ||
| domenu "${FILESDIR}/OneDriveGUI.desktop" | ||
| } | ||
|
|
||
| pkg_postinst() { | ||
| xdg_desktop_database_update | ||
| xdg_icon_cache_update | ||
| } | ||
|
|
||
| pkg_postrm() { | ||
| xdg_desktop_database_update | ||
| xdg_icon_cache_update | ||
| } |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| # Copyright 1999-2025 Gentoo Authors | ||
| # Distributed under the terms of the GNU General Public License v2 | ||
|
|
||
| EAPI=8 | ||
|
|
||
| M_PN=OneDriveGUI | ||
| DISTUTILS_USE_PEP517=no | ||
| PYTHON_COMPAT=(python3_{9..13}) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Drop |
||
|
|
||
| DESCRIPTION="A simple GUI for OneDrive Linux client, with multi-account support." | ||
| HOMEPAGE="https://github.com/bpozdena/OneDriveGUI" | ||
| LICENSE="GPL-3" | ||
| SLOT="0" | ||
|
|
||
| inherit desktop distutils-r1 xdg-utils | ||
|
|
||
| if [[ ${PV} == "9999" ]]; then | ||
| EGIT_REPO_URI="https://github.com/bpozdena/${M_PN}.git" | ||
| inherit git-r3 | ||
| else | ||
| SRC_URI="https://github.com/bpozdena/${M_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" | ||
| KEYWORDS="~amd64" | ||
| S="${WORKDIR}/${M_PN}-${PV}" | ||
| fi | ||
|
|
||
| RESTRICT=test | ||
|
|
||
| RDEPEND="<net-misc/onedrive-2.5 | ||
| dev-python/requests[${PYTHON_USEDEP}] | ||
| dev-python/pyside[gui(+),webengine(+),widgets(+),${PYTHON_USEDEP}] | ||
| " | ||
|
|
||
| python_install() { | ||
| python_moduleinto "${M_PN}" | ||
| # Slightly inefficient as it duplicates the resource folder across | ||
| # python implementations but the project relies on those files being | ||
| # placed relative to the code. | ||
| python_domodule src/* | ||
|
|
||
| # The main file has to live alongside the ui module so make a | ||
| # separate script as the entry point. | ||
| # | ||
| # There is no main function and its implementation in the code is | ||
| # non-trivial so make a shell script. | ||
| local main_file="$(python_get_sitedir)/${M_PN}/${M_PN}.py" | ||
| python_newexe - "${M_PN}" <<-EOF | ||
| #!/bin/sh | ||
| exec "${EPREFIX}/usr/bin/${EPYTHON}" "${main_file}" "\${@}" | ||
| EOF | ||
| } | ||
|
|
||
| python_install_all() { | ||
| doicon src/resources/images/"${M_PN}.png" | ||
| make_desktop_entry "${M_PN}" "${M_PN}" "${M_PN}" \ | ||
| "Network;FileTransfer;Monitor" \ | ||
| "StartupNotify=true\nTerminal=false" | ||
|
|
||
| distutils-r1_python_install_all | ||
| } | ||
|
|
||
| pkg_postinst() { | ||
| xdg_desktop_database_update | ||
| xdg_icon_cache_update | ||
| } | ||
|
|
||
| pkg_postrm() { | ||
| xdg_desktop_database_update | ||
| xdg_icon_cache_update | ||
| } | ||
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you try to go to that URL you will find it 404. Upstream seems to have renamed it to https://github.com/bpozdena/OneDriveGUI/releases/tag/v1.1.1a (note the
aat the end).You can run
pkgdev manifest -funtil you are able to download all the files.