Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] duperemove: update to 0.13.
@ 2023-09-30 13:04 meator
  2023-09-30 13:26 ` [PR PATCH] [Updated] " meator
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: meator @ 2023-09-30 13:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 849 bytes --]

There is a new pull request by meator against master on the void-packages repository

https://github.com/meator/void-packages duperemove
https://github.com/void-linux/void-packages/pull/46339

duperemove: update to 0.13.
<!-- Uncomment relevant sections and delete options which are not applicable -->
I have switched the template to `gnu-makefile` build style. The makefile looks well behaved regarding environmental variables, so I have set `make_use_env`. Hash files generated with the older release (most likely) won't be compatible with the new release. This is to be expected, the manpage and documentation say that the hash file format isn't stable.

#### Testing the changes
- I tested the changes in this PR: **YES**

ping mainainer: @Gottox 

A patch file from https://github.com/void-linux/void-packages/pull/46339.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-duperemove-46339.patch --]
[-- Type: text/x-diff, Size: 1394 bytes --]

From 59741c0609f5f3776bbd0634216721704eec1371 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Sat, 30 Sep 2023 14:55:50 +0200
Subject: [PATCH] duperemove: update to 0.13.

---
 srcpkgs/duperemove/template | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index 22d41bdf4ec47..9678fdff9393d 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -1,7 +1,9 @@
 # Template file for 'duperemove'
 pkgname=duperemove
-version=0.11.2
+version=0.13
 revision=1
+build_style=gnu-makefile
+make_use_env=yes
 hostmakedepends="pkg-config"
 makedepends="sqlite-devel libglib-devel libgcrypt-devel"
 short_desc="Tools for deduping file systems"
@@ -9,11 +11,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-only"
 homepage="https://github.com/markfasheh/duperemove"
 distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
-checksum=e162c2cf99c9d1e1e111cf84fa2615490a7d654173a3719651a962257bf8179e
+checksum=65fc972339965976cf617ed430ece86dc64c2695b2017db058413aa098f1da89
 
-do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
-}
-do_install() {
-	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
-}
+# The makefile tries to use git to guess if these aren't set.
+export VERSION="${version}" IS_RELEASE=1

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] duperemove: update to 0.13.
  2023-09-30 13:04 [PR PATCH] duperemove: update to 0.13 meator
@ 2023-09-30 13:26 ` meator
  2023-09-30 13:41 ` meator
  2023-10-01  4:35 ` [PR PATCH] [Merged]: " classabbyamp
  2 siblings, 0 replies; 4+ messages in thread
From: meator @ 2023-09-30 13:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 854 bytes --]

There is an updated pull request by meator against master on the void-packages repository

https://github.com/meator/void-packages duperemove
https://github.com/void-linux/void-packages/pull/46339

duperemove: update to 0.13.
<!-- Uncomment relevant sections and delete options which are not applicable -->
I have switched the template to `gnu-makefile` build style. The makefile looks well behaved regarding environmental variables, so I have set `make_use_env`. Hash files generated with the older release (most likely) won't be compatible with the new release. This is to be expected, the manpage and documentation say that the hash file format isn't stable.

#### Testing the changes
- I tested the changes in this PR: **YES**

ping mainainer: @Gottox 

A patch file from https://github.com/void-linux/void-packages/pull/46339.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-duperemove-46339.patch --]
[-- Type: text/x-diff, Size: 2004 bytes --]

From 6a57f2c9bf575db8bf9c9739b0491c22836607d5 Mon Sep 17 00:00:00 2001
From: meator <meator.dev@gmail.com>
Date: Sat, 30 Sep 2023 14:55:50 +0200
Subject: [PATCH] duperemove: update to 0.13.

---
 srcpkgs/duperemove/patches/add_dev_t_include.patch | 11 +++++++++++
 srcpkgs/duperemove/template                        | 14 ++++++--------
 2 files changed, 17 insertions(+), 8 deletions(-)
 create mode 100644 srcpkgs/duperemove/patches/add_dev_t_include.patch

diff --git a/srcpkgs/duperemove/patches/add_dev_t_include.patch b/srcpkgs/duperemove/patches/add_dev_t_include.patch
new file mode 100644
index 0000000000000..7556bf8eebeaf
--- /dev/null
+++ b/srcpkgs/duperemove/patches/add_dev_t_include.patch
@@ -0,0 +1,11 @@
+--- a/dbfile.h
++++ b/dbfile.h
+@@ -7,6 +7,8 @@
+ #include <stdbool.h>
+ #include "util.h"
+ 
++#include <sys/types.h>
++
+ struct filerec;
+ struct block_csum;
+ struct extent_csum;
diff --git a/srcpkgs/duperemove/template b/srcpkgs/duperemove/template
index 22d41bdf4ec47..9678fdff9393d 100644
--- a/srcpkgs/duperemove/template
+++ b/srcpkgs/duperemove/template
@@ -1,7 +1,9 @@
 # Template file for 'duperemove'
 pkgname=duperemove
-version=0.11.2
+version=0.13
 revision=1
+build_style=gnu-makefile
+make_use_env=yes
 hostmakedepends="pkg-config"
 makedepends="sqlite-devel libglib-devel libgcrypt-devel"
 short_desc="Tools for deduping file systems"
@@ -9,11 +11,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-2.0-only"
 homepage="https://github.com/markfasheh/duperemove"
 distfiles="https://github.com/markfasheh/duperemove/archive/v${version}.tar.gz"
-checksum=e162c2cf99c9d1e1e111cf84fa2615490a7d654173a3719651a962257bf8179e
+checksum=65fc972339965976cf617ed430ece86dc64c2695b2017db058413aa098f1da89
 
-do_build() {
-	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS -fcommon"
-}
-do_install() {
-	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
-}
+# The makefile tries to use git to guess if these aren't set.
+export VERSION="${version}" IS_RELEASE=1

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: duperemove: update to 0.13.
  2023-09-30 13:04 [PR PATCH] duperemove: update to 0.13 meator
  2023-09-30 13:26 ` [PR PATCH] [Updated] " meator
@ 2023-09-30 13:41 ` meator
  2023-10-01  4:35 ` [PR PATCH] [Merged]: " classabbyamp
  2 siblings, 0 replies; 4+ messages in thread
From: meator @ 2023-09-30 13:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

New comment by meator on void-packages repository

https://github.com/void-linux/void-packages/pull/46339#issuecomment-1741769479

Comment:
I have fixed the musl compilation error and have notified upstream: https://github.com/markfasheh/duperemove/issues/310

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Merged]: duperemove: update to 0.13.
  2023-09-30 13:04 [PR PATCH] duperemove: update to 0.13 meator
  2023-09-30 13:26 ` [PR PATCH] [Updated] " meator
  2023-09-30 13:41 ` meator
@ 2023-10-01  4:35 ` classabbyamp
  2 siblings, 0 replies; 4+ messages in thread
From: classabbyamp @ 2023-10-01  4:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 697 bytes --]

There's a merged pull request on the void-packages repository

duperemove: update to 0.13.
https://github.com/void-linux/void-packages/pull/46339

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
I have switched the template to `gnu-makefile` build style. The makefile looks well behaved regarding environmental variables, so I have set `make_use_env`. Hash files generated with the older release (most likely) won't be compatible with the new release. This is to be expected, the manpage and documentation say that the hash file format isn't stable.

#### Testing the changes
- I tested the changes in this PR: **YES**

ping mainainer: @Gottox 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-01  4:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-30 13:04 [PR PATCH] duperemove: update to 0.13 meator
2023-09-30 13:26 ` [PR PATCH] [Updated] " meator
2023-09-30 13:41 ` meator
2023-10-01  4:35 ` [PR PATCH] [Merged]: " classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).