[ITP] jdupes

Federico Kircheis federico@kircheis.it
Tue Sep 13 20:23:20 GMT 2022


Hello to everyone,

I'm interested in becoming a package maintainer for the program jdupes.

https://github.com/jbruchon/jdupes/

It would be a new package for the cygwin distribution, but it is already
distributed on different systems.
For example

https://packages.debian.org/search?keywords=jdupes
https://packages.gentoo.org/packages/app-misc/jdupes
https://software.opensuse.org/package/jdupes
https://pkgs.org/download/jdupes
https://pkgs.alpinelinux.org/package/edge/testing/x86_64/jdupes
https://formulae.brew.sh/formula/jdupes
https://www.freshports.org/sysutils/jdupes/

The current release can be downloaded from

https://github.com/jbruchon/jdupes/releases/tag/v1.21.0

and can be compiled on cygwin without patches (necessary changes have 
been integrated by the author after contacting him).

jdupes has a native windows port, but I see an added value having it 
available in cygwin.

It is a program similar to fdupes (already present in cygwin), and is 
not a drop-in replacement. From the website description:

 > Why use jdupes instead of the original fdupes or other duplicate finders?
 >
 > The biggest reason is raw speed. In testing on various data sets, 
jdupes is over 7 times faster than fdupes-1.51 on average.


.hint and .cygport files are attached

Best regards

Federico
-------------- next part --------------
# jdupes.cygport
NAME="jdupes"
VERSION=1.21.0
RELEASE=1
SUMMARY="jdupes is a program for identifying and taking actions upon duplicate files."
DESCRIPTION="jdupes is a program for identifying and taking actions upon duplicate files."
CATEGORY="Utility"

HOMEPAGE="https://github.com/jbruchon/jdupes"
SRC_URI="https://github.com/jbruchon/jdupes/archive/v${VERSION}.tar.gz"
SRC_DIR="jdupes-${VERSION}"
BUILD_REQUIRES=""
REQUIRES=""


PKG_NAMES="jdupes"

src_compile() {
	lndirs
	cd ${B}

	NO_WINDOWS=1 cygmake "PREFIX=${D}"
}

src_install(){
	cd ${B}
	NO_WINDOWS=1 cygmake "PREFIX=${D}" install
}
-------------- next part --------------
# jdupes.hint
sdesc: "jdupes is a program for identifying and taking actions upon duplicate files"
ldesc: "Searches the given path(s) for duplicate files.
Such files are found by comparing file sizes, then partial and full file hashes, followed by a byte-by-byte comparison.
The default behavior with no other <action options> specified (delete, summarize, link, dedupe, etc.) is to print sets of matching files."

category: Utility


More information about the Cygwin-apps mailing list