gnu: casync: Update to 99559cd1.
* gnu/packages/sync.scm (casync): Update to 99559cd1. [source]: Remove patch. [arguments]: Fix installation. [native-inputs]: Add python. [inputs]: Add eudev. * gnu/packages/patches/casync-renameat2-declaration.patch: Delete file. * gnu/local.mk: Remove it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
		
							parent
							
								
									7d8f6a5db5
								
							
						
					
					
						commit
						092ee35155
					
				
					 3 changed files with 37 additions and 58 deletions
				
			
		|  | @ -926,7 +926,6 @@ dist_patch_DATA =						\ | ||||||
|   %D%/packages/patches/calibre-no-updates-dialog.patch		\
 |   %D%/packages/patches/calibre-no-updates-dialog.patch		\
 | ||||||
|   %D%/packages/patches/calibre-remove-test-sqlite.patch		\
 |   %D%/packages/patches/calibre-remove-test-sqlite.patch		\
 | ||||||
|   %D%/packages/patches/calibre-remove-test-unrar.patch		\
 |   %D%/packages/patches/calibre-remove-test-unrar.patch		\
 | ||||||
|   %D%/packages/patches/casync-renameat2-declaration.patch	\
 |  | ||||||
|   %D%/packages/patches/catdoc-CVE-2017-11110.patch		\
 |   %D%/packages/patches/catdoc-CVE-2017-11110.patch		\
 | ||||||
|   %D%/packages/patches/circos-remove-findbin.patch		\
 |   %D%/packages/patches/circos-remove-findbin.patch		\
 | ||||||
|   %D%/packages/patches/cdparanoia-fpic.patch			\
 |   %D%/packages/patches/cdparanoia-fpic.patch			\
 | ||||||
|  |  | ||||||
|  | @ -1,27 +0,0 @@ | ||||||
| Fix build failure on glibc 2.28 where 'renameat2' would end up being |  | ||||||
| declared twice: <https://github.com/systemd/casync/issues/166>. |  | ||||||
| 
 |  | ||||||
| From 625244ca47e8ee1375d2d0092271bfd13b0913ea Mon Sep 17 00:00:00 2001 |  | ||||||
| From: Daniel Mack <daniel@zonque.org> |  | ||||||
| Date: Tue, 13 Nov 2018 17:52:48 +0100 |  | ||||||
| Subject: [PATCH] meson.build: pass -D_GNU_SOURCE when checking for functions |  | ||||||
| 
 |  | ||||||
| As described in #166, -D_GNU_SOURCE needs to be passed to the meson function |  | ||||||
| availability checker. h/t to @tomeon for providing a link to the solution as |  | ||||||
| well. |  | ||||||
| ---
 |  | ||||||
|  meson.build | 2 +- |  | ||||||
|  1 file changed, 1 insertion(+), 1 deletion(-) |  | ||||||
| 
 |  | ||||||
| diff --git a/meson.build b/meson.build
 |  | ||||||
| index f42ed16..c0f741e 100644
 |  | ||||||
| --- a/meson.build
 |  | ||||||
| +++ b/meson.build
 |  | ||||||
| @@ -78,6 +78,6 @@ foreach ident : [
 |  | ||||||
|          ['copy_file_range',   '''#include <sys/syscall.h> |  | ||||||
|                                   #include <unistd.h>'''], |  | ||||||
|  ] |  | ||||||
| -        have = cc.has_function(ident[0], prefix : ident[1])
 |  | ||||||
| +        have = cc.has_function(ident[0], args : '-D_GNU_SOURCE', prefix : ident[1])
 |  | ||||||
|          conf.set10('HAVE_' + ident[0].to_upper(), have) |  | ||||||
|  endforeach |  | ||||||
|  | @ -451,35 +451,42 @@ written in @command{scsh}.  It makes use of @command{unison} and | ||||||
|       (license license:expat)))) |       (license license:expat)))) | ||||||
| 
 | 
 | ||||||
| (define-public casync | (define-public casync | ||||||
|   (package |   (let ((commit "99559cd1d8cea69b30022261b5ed0b8021415654") | ||||||
|     (name "casync") |         (revision "0")) | ||||||
|     (version "2") |     (package | ||||||
|     (home-page "https://github.com/systemd/casync/") |       (name "casync") | ||||||
|     (source (origin |       (version (git-version "2" revision commit)) | ||||||
|               (method git-fetch) |       (home-page "https://github.com/systemd/casync/") | ||||||
|               (uri (git-reference |       (source (origin | ||||||
|                     (url home-page) |                 (method git-fetch) | ||||||
|                     (commit (string-append "v" version)))) |                 (uri (git-reference | ||||||
|               (sha256 |                       (url home-page) | ||||||
|                (base32 |                       (commit commit))) | ||||||
|                 "0znkp3fcksrykcsv06y2mjvf2lbwmin25snmvfa8i5qfm3f4rm88")) |                 (sha256 | ||||||
|               (file-name (string-append name "-" version "-checkout")) |                  (base32 | ||||||
|               (patches (search-patches "casync-renameat2-declaration.patch")))) |                   "139g82rkwv1kzss6crfmw3p01xnyjzz66b1ckprpbfncxb24047w")) | ||||||
|     (build-system meson-build-system) |                 (file-name (string-append name "-" version "-checkout")))) | ||||||
|     (native-inputs |       (build-system meson-build-system) | ||||||
|      (list pkg-config python-sphinx rsync))                         ;for tests |       (arguments | ||||||
|     (inputs |        `(#:configure-flags | ||||||
|      (list xz ;for liblzma |          (let ((out (assoc-ref %outputs "out"))) | ||||||
|            `(,zstd "lib") |            (list (string-append "-Dudevrulesdir=" | ||||||
|            curl |                                 out "/lib/udev/rules.d"))))) | ||||||
|            acl |       (native-inputs | ||||||
|            libselinux |        (list pkg-config python python-sphinx rsync))                  ;for tests | ||||||
|            fuse |       (inputs | ||||||
|            openssl |        (list xz ;for liblzma | ||||||
|            zlib)) |              `(,zstd "lib") | ||||||
|     (synopsis "File synchronization and backup system") |              curl | ||||||
|     (description |              acl | ||||||
|      "casync is a @dfn{content-addressable data synchronizer} that can be used |              libselinux | ||||||
|  |              eudev | ||||||
|  |              fuse | ||||||
|  |              openssl | ||||||
|  |              zlib)) | ||||||
|  |       (synopsis "File synchronization and backup system") | ||||||
|  |       (description | ||||||
|  |        "casync is a @dfn{content-addressable data synchronizer} that can be used | ||||||
| as the basis of a backup system.  It is: | as the basis of a backup system.  It is: | ||||||
| 
 | 
 | ||||||
| @itemize | @itemize | ||||||
|  | @ -490,7 +497,7 @@ large file systems or directory trees; | ||||||
| over the Internet in an HTTP and CDN friendly way; | over the Internet in an HTTP and CDN friendly way; | ||||||
| @item An efficient backup system. | @item An efficient backup system. | ||||||
| @end itemize\n") | @end itemize\n") | ||||||
|     (license license:lgpl2.1+))) |       (license license:lgpl2.1+)))) | ||||||
| 
 | 
 | ||||||
| (define-public rclone | (define-public rclone | ||||||
|   (package |   (package | ||||||
|  |  | ||||||
		Reference in a new issue