diff options
Diffstat (limited to 'net/onedrivegui')
-rw-r--r-- | net/onedrivegui/Makefile | 4 | ||||
-rw-r--r-- | net/onedrivegui/distinfo | 6 | ||||
-rw-r--r-- | net/onedrivegui/files/patch-src_global__config.py | 2 | ||||
-rw-r--r-- | net/onedrivegui/files/patch-src_resources_OneDriveGUI.desktop | 21 |
4 files changed, 14 insertions, 19 deletions
diff --git a/net/onedrivegui/Makefile b/net/onedrivegui/Makefile index d261549201f7..a86ce56e977b 100644 --- a/net/onedrivegui/Makefile +++ b/net/onedrivegui/Makefile @@ -1,5 +1,5 @@ PORTNAME= onedrivegui -DISTVERSION= 1.2.1 +DISTVERSION= 1.2.2 DISTVERSIONPREFIX= v CATEGORIES= net python @@ -31,8 +31,6 @@ SUB_FILES= onedrivegui.sh post-patch: ${REINPLACE_CMD} -i "" -e "s|%%DATADIR%%|${DATADIR}|g" ${WRKSRC}/src/global_config.py - ${REINPLACE_CMD} -i "" -e "s|%%PYTHON_CMD%%|${PYTHON_CMD}|g" \ - -e "s|%%DATADIR%%|${DATADIR}|g" ${WRKSRC}/src/resources/OneDriveGUI.desktop ${RM} ${WRKSRC}/src/resources/OneDriveGUI.desktop.orig ${RM} ${WRKSRC}/src/global_config.py.orig diff --git a/net/onedrivegui/distinfo b/net/onedrivegui/distinfo index 3cbd1a2282e4..4c67e99ee9c8 100644 --- a/net/onedrivegui/distinfo +++ b/net/onedrivegui/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1752769251 -SHA256 (bpozdena-OneDriveGUI-v1.2.1_GH0.tar.gz) = 50320c5df5ad599da673af35a0f5d0c80a0f9d4f979333a06a762017a64224c5 -SIZE (bpozdena-OneDriveGUI-v1.2.1_GH0.tar.gz) = 112478 +TIMESTAMP = 1759115543 +SHA256 (bpozdena-OneDriveGUI-v1.2.2_GH0.tar.gz) = c98fe134fae3b58188b2408b4733520335d5a1682cd7d9709b7f34ad7cf05758 +SIZE (bpozdena-OneDriveGUI-v1.2.2_GH0.tar.gz) = 115872 diff --git a/net/onedrivegui/files/patch-src_global__config.py b/net/onedrivegui/files/patch-src_global__config.py index 3455329b4b49..307a1b61a407 100644 --- a/net/onedrivegui/files/patch-src_global__config.py +++ b/net/onedrivegui/files/patch-src_global__config.py @@ -5,7 +5,7 @@ -DIR_PATH = os.path.dirname(os.path.realpath(__file__)) -+DIR_PATH = "/usr/local/share/onedrivegui" ++DIR_PATH = "%%DATADIR%%" PROFILES_FILE = os.path.expanduser("~/.config/onedrive-gui/profiles") diff --git a/net/onedrivegui/files/patch-src_resources_OneDriveGUI.desktop b/net/onedrivegui/files/patch-src_resources_OneDriveGUI.desktop index 02801c7b71da..42c424dfddf7 100644 --- a/net/onedrivegui/files/patch-src_resources_OneDriveGUI.desktop +++ b/net/onedrivegui/files/patch-src_resources_OneDriveGUI.desktop @@ -1,18 +1,15 @@ ---- src/resources/OneDriveGUI.desktop.orig 2025-06-16 11:23:57 UTC +--- src/resources/OneDriveGUI.desktop.orig 2025-09-10 08:49:21 UTC +++ src/resources/OneDriveGUI.desktop -@@ -1,8 +1,10 @@ Name=OneDriveGUI +@@ -1,9 +1,9 @@ Name=OneDriveGUI [Desktop Entry] Name=OneDriveGUI -+GenericName=OneDrive Client for FreeBSD - StartupNotify=true --Exec=/usr/bin/python3 /home/bob/host_share/Python/OneDriveGUI/src/OneDriveGUI.py +-Comment=A simple GUI for OneDrive Linux client +-Exec=OneDriveGUI ++Comment=A simple GUI for OneDrive FreeBSD client +Exec=onedrivegui Terminal=false --Path=/home/bob/host_share/Python/OneDriveGUI/src/resources/images --Icon=/home/bob/host_share/Python/OneDriveGUI/src/resources/images/icons8-clouds-48.png --Type=Application -\ No newline at end of file + Type=Application +-Icon=OneDriveGUI +Icon=onedrivegui -+Categories=Network; -+Type=Application -+ + Categories=Network;Office + StartupNotify=true |