Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2025 03:26:32 GMT
From:      Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c33efeef863e - main - net/onedrivegui: Update to 1.2.2
Message-ID:  <202509290326.58T3QW4w053154@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c33efeef863e154da854df261bc868b22cf9259b

commit c33efeef863e154da854df261bc868b22cf9259b
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2025-09-29 03:25:33 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2025-09-29 03:25:33 +0000

    net/onedrivegui: Update to 1.2.2
---
 net/onedrivegui/Makefile                            |  4 +---
 net/onedrivegui/distinfo                            |  6 +++---
 net/onedrivegui/files/patch-src_global__config.py   |  2 +-
 .../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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509290326.58T3QW4w053154>