GNU bug report logs -
#58876
[PATCH] gnu: Add onedrive.
Previous Next
Reported by: Efraim Flashner <efraim <at> flashner.co.il>
Date: Sat, 29 Oct 2022 20:51:01 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58876 in the body.
You can then email your comments to 58876 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#58876
; Package
guix-patches
.
(Sat, 29 Oct 2022 20:51:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 29 Oct 2022 20:51:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/sync.scm (onedrive): New variable.
---
gnu/packages/sync.scm | 65 ++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 64 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/sync.scm b/gnu/packages/sync.scm
index 8c174c98ba..8330b96dd7 100644
--- a/gnu/packages/sync.scm
+++ b/gnu/packages/sync.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim <at> flashner.co.il>
+;;; Copyright © 2015-2020, 2022 Efraim Flashner <efraim <at> flashner.co.il>
;;; Copyright © 2017 Ricardo Wurmus <rekado <at> elephly.net>
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me <at> tobias.gr>
;;; Copyright © 2018, 2021 Ludovic Courtès <ludo <at> gnu.org>
@@ -31,6 +31,8 @@ (define-module (gnu packages sync)
#:use-module (guix build-system go)
#:use-module (guix build-system meson)
#:use-module (guix build-system qt)
+ #:use-module (guix gexp)
+ #:use-module (guix utils)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix packages)
@@ -38,10 +40,12 @@ (define-module (gnu packages sync)
#:use-module (gnu packages acl)
#:use-module (gnu packages adns)
#:use-module (gnu packages autotools)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
+ #:use-module (gnu packages dlang)
#:use-module (gnu packages documentation)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages glib)
@@ -359,6 +363,65 @@ (define-public owncloud-client
silently and reliably flow across to every other.")
(license license:gpl2+)))
+(define-public onedrive
+ (package
+ (name "onedrive")
+ (version "2.4.21")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/abraunegg/onedrive")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "04rnkc6ap9mkghvlj102f2gvnjqg3bs4vw9q3wm869fsflnm3599"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:configure-flags
+ #~(list "--enable-completions"
+ "--enable-notifications"
+ (string-append "--with-zsh-completion-dir="
+ #$output "/share/zsh/site-functions")
+ (string-append "--with-fish-completion-dir="
+ #$output "/share/fish/vendor_completions.d"))
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target)))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'link-to-external-libraries
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "DCFLAGS" (string-append
+ ;; The default linker is ld.gold.
+ "--linker=\"\" "
+ ;; Only link necessary libraries.
+ "-L--as-needed "))))
+ (add-after 'configure 'adjust-makefile
+ (lambda _
+ (substitute* "Makefile"
+ (("-L/gnu") "-Wl,-rpath=/gnu")
+ (("-O ") "-O2 "))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "./onedrive" "--version")))))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list bash-minimal
+ curl-minimal
+ ldc
+ libnotify
+ sqlite))
+ (home-page "https://abraunegg.github.io")
+ (synopsis "Client for OneDrive")
+ (description "OneDrive Client which supports OneDrive Personal, OneDrive for
+Business, OneDrive for Office365 and SharePoint and fully supports Azure
+National Cloud Deployments. It supports one-way and two-way sync capabilities
+and securely connects to Microsoft OneDrive services.")
+ (license license:gpl3)))
+
(define-public lsyncd
(package
(name "lsyncd")
base-commit: 34e6c5d4280d67729bbd8cdae333ca5e0bd580f5
--
2.38.0
Reply sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
You have taken responsibility.
(Tue, 15 Nov 2022 08:27:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
bug acknowledged by developer.
(Tue, 15 Nov 2022 08:27:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 58876-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Patch pushed.
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 13 Dec 2022 12:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 184 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.