Skip to content

Commit

Permalink
synocli-file: update rmlint to support reflink (#5462)
Browse files Browse the repository at this point in the history
* update rmlint to support reflink
* libelf: fix 64-bit support for cross compile
* synocli-file: update file (follow up to #5441)
- update cross/file to match the version of the build environment
* update several tools:
- Update bat to v0.22.1
- Update fdupes to v2.2.1
- Update fzf to v.0.34.0
- Update jdupes to v1.21.0
- Update tree to v2.0.4
* use dedicated extract folder to compile util-linux for libblkid
* final fix for rmlint to support reflink in synocli-file packages
* rmlint: add json-glib to support to read json caches
  • Loading branch information
hgy59 authored Oct 30, 2022
1 parent 1be28e9 commit 5726baa
Show file tree
Hide file tree
Showing 34 changed files with 166 additions and 63 deletions.
5 changes: 1 addition & 4 deletions cross/bat/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME = bat
PKG_VERS = 0.21.0
PKG_VERS = 0.22.1
PKG_EXT = tar.gz
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/sharkdp/bat/archive
Expand All @@ -10,9 +10,6 @@ DEPENDS = cross/zlib-ng

# unsupported by cross/zlib-ng
UNSUPPORTED_ARCHS = $(OLD_PPC_ARCHS)
# rust issue with target 'armv5te-unknown-linux-gnueabi'
# https://github.com/rust-lang/compiler-builtins/issues/420
UNSUPPORTED_ARCHS += $(ARMv5_ARCHS)

HOMEPAGE = https://github.com/sharkdp/bat
COMMENT = A cat(1) clone with wings.
Expand Down
6 changes: 3 additions & 3 deletions cross/bat/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
bat-0.21.0.tar.gz SHA1 8ddd0bda35c50c4256b7c0ed2285630e87d92f77
bat-0.21.0.tar.gz SHA256 3dff1e52d577d0a105f4afe3fe7722a4a2b8bb2eb3e7a6a5284ac7add586a3ee
bat-0.21.0.tar.gz MD5 77dfa252d77a0cd655f601d172526798
bat-0.22.1.tar.gz SHA1 517a26fb4c873ff95eb18faf339ca3a443ed5684
bat-0.22.1.tar.gz SHA256 25e45debf7c86794281d63a51564feefa96fdfdf575381e3adc5c06653ecaeca
bat-0.22.1.tar.gz MD5 079a00e594fcd588bfaa6c21fc16a05f
4 changes: 1 addition & 3 deletions cross/e2fsprogs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@ PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v$(PKG_VERS)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/libuuid
DEPENDS =

HOMEPAGE = http://e2fsprogs.sourceforge.net/
COMMENT = Ext2/3/4 filesystem userspace utilities.
LICENSE = GPL

GNU_CONFIGURE = 1
CONFIGURE_ARGS = --enable-elf-shlibs
# use cross/libuuid instead
CONFIGURE_ARGS += --disable-libuuid

include ../../mk/spksrc.archs.mk

Expand Down
2 changes: 1 addition & 1 deletion cross/fdupes/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME = fdupes
PKG_VERS = 2.1.2
PKG_VERS = 2.2.1
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/adrianlopezroche/fdupes/releases/download/v$(PKG_VERS)
Expand Down
6 changes: 3 additions & 3 deletions cross/fdupes/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
fdupes-2.1.2.tar.gz SHA1 f28e91729b867bb28d18d05efbefad2c26df0e23
fdupes-2.1.2.tar.gz SHA256 cd5cb53b6d898cf20f19b57b81114a5b263cc1149cd0da3104578b083b2837bd
fdupes-2.1.2.tar.gz MD5 03fa46275d8b04b0baea80ebde973926
fdupes-2.2.1.tar.gz SHA1 5cb0773b7ac8f1e4496d53dc4e9bce0f137f5045
fdupes-2.2.1.tar.gz SHA256 846bb79ca3f0157856aa93ed50b49217feb68e1b35226193b6bc578be0c5698d
fdupes-2.2.1.tar.gz MD5 215dfb62542f26338229ca1d7e33202f
4 changes: 2 additions & 2 deletions cross/file/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
PKG_NAME = file
PKG_VERS = 5.35
PKG_VERS = 5.39
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = ftp://ftp.astron.com/pub/file/
PKG_DIST_SITE = http://ftp.astron.com/pub/file
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

# remarks: the build environment must have file installed of the same version
Expand Down
3 changes: 0 additions & 3 deletions cross/file/PLIST
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@ bin:bin/file
lnk:lib/libmagic.so
lnk:lib/libmagic.so.1
lib:lib/libmagic.so.1.0.0
rsc:share/man/man1/file.1
rsc:share/man/man3/libmagic.3
rsc:share/man/man4/magic.4
rsc:share/misc/magic.mgc
6 changes: 3 additions & 3 deletions cross/file/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
file-5.35.tar.gz SHA1 a6f73580a93b768bfedd01ba54868375b7eb7bd0
file-5.35.tar.gz SHA256 30c45e817440779be7aac523a905b123cba2a6ed0bf4f5439e1e99ba940b5546
file-5.35.tar.gz MD5 5f10fb45bdaffd729a572e563783b78e
file-5.39.tar.gz SHA1 a5a8941a8e4c436fe22933db6a71c5161c3fb10b
file-5.39.tar.gz SHA256 f05d286a76d9556243d0cb05814929c2ecf3a5ba07963f8f70bfaaa70517fad1
file-5.39.tar.gz MD5 1c450306053622803a25647d88f80f25
2 changes: 1 addition & 1 deletion cross/fzf/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME = fzf
PKG_VERS = 0.32.1
PKG_VERS = 0.34.0
PKG_EXT = tar.gz
PKG_REVISION = $(shell date +%m/%d/%Y)
PKG_DIST_NAME = $(PKG_VERS).$(PKG_EXT)
Expand Down
6 changes: 3 additions & 3 deletions cross/fzf/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
fzf-0.32.1.tar.gz SHA1 119600d703a0fb0588b8ec95eedec8e96c7b4623
fzf-0.32.1.tar.gz SHA256 c7afef61553b3b3e4e02819c5d560fa4acf33ecb39829aeba392c2e05457ca6a
fzf-0.32.1.tar.gz MD5 f51bfcb16e934a8f3e45c393c02fe35c
fzf-0.34.0.tar.gz SHA1 947d233eec826b2778f0e3c56d62c2030f14e040
fzf-0.34.0.tar.gz SHA256 5bfd2518f0d136a76137de799ff5911608802d23564fc26e245f25a627395ecc
fzf-0.34.0.tar.gz MD5 c944fc51ba24f73ecc44bf240f374001
2 changes: 1 addition & 1 deletion cross/jdupes/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME = jdupes
PKG_VERS = 1.20.2
PKG_VERS = 1.21.0
PKG_EXT = tar.gz
PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/jbruchon/jdupes/archive
Expand Down
6 changes: 3 additions & 3 deletions cross/jdupes/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
jdupes-1.20.2.tar.gz SHA1 9484f11cebdcf98de35bd781b477186df4f69f7b
jdupes-1.20.2.tar.gz SHA256 d079d22dc77e1d181abcb8a59216520633a8712d197d007a9a9fb64c72610824
jdupes-1.20.2.tar.gz MD5 effaaad22f120046c91808b741bd3727
jdupes-1.21.0.tar.gz SHA1 bc587263af88d8ea5cdec6e9319cc41a61c3e398
jdupes-1.21.0.tar.gz SHA256 13e56c608354f10f9314c99cf37b034dde14e6bf4a9303c77391323e2ef4f549
jdupes-1.21.0.tar.gz MD5 a10b2d358319bc8c8d08a27a98f69c58
22 changes: 22 additions & 0 deletions cross/json-glib/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
PKG_NAME = json-glib
PKG_VERS = 1.6.6
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/GNOME/json-glib/archive
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

# https://github.com/GNOME/json-glib/archive/refs/tags/1.6.6.tar.gz

DEPENDS = cross/glib

UNSUPPORTED_ARCHS = $(OLD_PPC_ARCHS)

HOMEPAGE = https://gitlab.gnome.org/GNOME/json-glib
COMMENT = JSON-GLib implements a full JSON parser and generator using GLib and GObject, and integrates JSON with GLib data types.
LICENSE = LGPLv2.1

# let it find glib-mkenums
ENV += "PATH=$(PATH):$(STAGING_INSTALL_PREFIX)/bin"

include ../../mk/spksrc.cross-meson.mk
3 changes: 3 additions & 0 deletions cross/json-glib/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
lnk:lib/libjson-glib-1.0.so
lnk:lib/libjson-glib-1.0.so.0
lib:lib/libjson-glib-1.0.so.0.600.6
3 changes: 3 additions & 0 deletions cross/json-glib/digests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
json-glib-1.6.6.tar.gz SHA1 1a4cb411fae355ce65016542c560392a023ee0c4
json-glib-1.6.6.tar.gz SHA256 bf4d1cd6c343ce13b9258e6703a0411a3b659887b65877e85a2aa488ae18b865
json-glib-1.6.6.tar.gz MD5 d8c50be019c50e61c61001feccd44269
25 changes: 25 additions & 0 deletions cross/libblkid/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
PKG_NAME = libblkid
PKG_REAL_NAME = util-linux
PKG_VERS = 2.38.1
PKG_VERS_MAJOR = $(word 1,$(subst ., ,$(PKG_VERS))).$(word 2,$(subst ., ,$(PKG_VERS)))
PKG_EXT = tar.xz
PKG_DIST_NAME = $(PKG_REAL_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://www.kernel.org/pub/linux/utils/$(PKG_REAL_NAME)/v$(PKG_VERS_MAJOR)
# use dedicated folder to build independent of other libraries built from util-linux (i.e. libuuid)
PKG_DIR = $(PKG_NAME)/$(PKG_REAL_NAME)-$(PKG_VERS)
EXTRACT_PATH = $(WORK_DIR)/$(PKG_NAME)

DEPENDS =

HOMEPAGE = https://github.com/karelzak/util-linux
COMMENT = Random collection of Linux utilities. We use this only to build libblkid out of util-linux.
LICENSE = GPLv2

GNU_CONFIGURE = 1
CONFIGURE_ARGS = --disable-static --without-ncurses --without-python --disable-asciidoc
# Create libblkid only
CONFIGURE_ARGS += --disable-all-programs --enable-libblkid

ADDITIONAL_CFLAGS = -Wno-unused-parameter

include ../../mk/spksrc.cross-cc.mk
3 changes: 3 additions & 0 deletions cross/libblkid/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
lib:lib/libblkid.so
lib:lib/libblkid.so.1
lib:lib/libblkid.so.1.1.0
3 changes: 3 additions & 0 deletions cross/libblkid/digests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
util-linux-2.38.1.tar.xz SHA1 f62a7b6fe64ce7f4569b57d7d2d0875b39f79836
util-linux-2.38.1.tar.xz SHA256 60492a19b44e6cf9a3ddff68325b333b8b52b6c59ce3ebd6a0ecaa4c5117e84f
util-linux-2.38.1.tar.xz MD5 cd11456f4ddd31f7fbfdd9488c0c0d02
19 changes: 19 additions & 0 deletions cross/libelf/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
PKG_NAME = libelf
PKG_VERS = 0.8.13
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://fossies.org/linux/misc/old
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS =

# original homepage not reachable anymore (http://www.mr511.de/software/english.html).
HOMEPAGE = https://fossies.org/linux/misc/old/libelf-0.8.13.tar.gz/index_ap.html
COMMENT = libelf is a free ELF object file access library (supports 64-bit ELF files).
LICENSE = LPGL

GNU_CONFIGURE = 1

INSTALL_MAKE_OPTIONS = install instroot=$(INSTALL_DIR) prefix=$(INSTALL_PREFIX)

include ../../mk/spksrc.cross-cc.mk
3 changes: 3 additions & 0 deletions cross/libelf/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
lnk:lib/libelf.so
lnk:lib/libelf.so.0
lib:lib/libelf.so.0.8.13
3 changes: 3 additions & 0 deletions cross/libelf/digests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
libelf-0.8.13.tar.gz SHA1 c1d6ac5f182d19dd685c4dfd74eedbfe3992425d
libelf-0.8.13.tar.gz SHA256 591a9b4ec81c1f2042a97aa60564e0cb79d041c52faa7416acb38bc95bd2c76d
libelf-0.8.13.tar.gz MD5 4136d7b4c04df68b686570afa26988ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# enable build of shared libs when cross compiling
# enable 64-bit support as gcc of all toolchains support "long long" type
#
--- configure.orig 2008-05-23 08:18:03.000000000 +0000
+++ configure 2022-10-22 08:19:17.280203269 +0000
@@ -1595,7 +1595,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
- ac_cv_sizeof_long_long=0
+ ac_cv_sizeof_long_long=8
else
cat > conftest.$ac_ext <<EOF
#line 1602 "configure"
@@ -3291,7 +3291,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
if test "$cross_compiling" = yes; then
- mr_cv_target_elf=no
+ mr_cv_target_elf=yes
else
cat > conftest.$ac_ext <<EOF
#line 3298 "configure"
12 changes: 9 additions & 3 deletions cross/rmlint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ PKG_DIST_FILE=$(PKG_NAME)-v$(PKG_VERS).$(PKG_EXT)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/glib
# libblkid required to "Optimize non-rotational disks"
DEPENDS += cross/libblkid
# libelf required to "Find non-stripped binaries"
DEPENDS += cross/libelf
# json-glib required to "Read json caches"
DEPENDS += cross/json-glib

HOMEPAGE = https://rmlint.readthedocs.io
COMMENT = rmlint finds space waste and other broken things on your filesystem and offers to remove it.
Expand All @@ -23,8 +29,8 @@ include ../../mk/spksrc.cross-cc.mk

.PHONY: rmlint_compile rmlint_install
rmlint_compile:
$(RUN) scons config --prefix=${INSTALL_PREFIX} VERBOSE=0 DEBUG=0 O=release
$(RUN) scons --prefix=${INSTALL_PREFIX} VERBOSE=0 DEBUG=0 O=release
@$(RUN) scons config --prefix=${INSTALL_PREFIX} VERBOSE=0 DEBUG=0 O=release
@$(RUN) scons --prefix=${INSTALL_PREFIX} VERBOSE=0 DEBUG=0 O=release

rmlint_install:
$(RUN) install --mode=755 --target-directory=${INSTALL_DIR}${INSTALL_PREFIX}/bin/ ./rmlint
@$(RUN) install --mode=755 --target-directory=${INSTALL_DIR}${INSTALL_PREFIX}/bin/ ./rmlint
2 changes: 1 addition & 1 deletion cross/tree/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME = tree
PKG_VERS = 2.0.2
PKG_VERS = 2.0.4
PKG_EXT = tgz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = http://mama.indstate.edu/users/ice/tree/src
Expand Down
6 changes: 3 additions & 3 deletions cross/tree/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tree-2.0.2.tgz SHA1 e8631df29f8568cc086f52f6ff89a1908dceb1c5
tree-2.0.2.tgz SHA256 7d693a1d88d3c4e70a73e03b8dbbdc12c2945d482647494f2f5bd83a479eeeaf
tree-2.0.2.tgz MD5 bc4b2e2c8726c6156d52a00b52de6b1d
tree-2.0.4.tgz SHA1 311a4de560216083cb7087bb3f10a2866faf955f
tree-2.0.4.tgz SHA256 b0ea92197849579a3f09a50dbefc3d4708caf555d304a830e16e20b73b4ffa74
tree-2.0.4.tgz MD5 3aff51f13bb10bff874aa1d13fb9e50c
14 changes: 7 additions & 7 deletions cross/tree/patches/001-enable-cross-compiler-definitions.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- Makefile.orig 2022-02-16 21:45:43.000000000 +0000
+++ Makefile 2022-06-25 08:02:58.467213836 +0000
--- Makefile.orig 2022-09-06 13:31:53.000000000 +0000
+++ Makefile 2022-10-22 10:19:19.934111080 +0000
@@ -16,9 +16,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Expand All @@ -11,13 +11,13 @@
+#CC=gcc
INSTALL=install

VERSION=2.0.2
VERSION=2.0.4
@@ -33,7 +33,7 @@

# Linux defaults:
#CFLAGS=-ggdb -pedantic -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-CFLAGS=-O3 -pedantic -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+#CFLAGS=-O3 -pedantic -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
LDFLAGS=-s
#CFLAGS+=-ggdb -pedantic -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-CFLAGS+=-O3 -pedantic -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+#CFLAGS+=-O3 -pedantic -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
#LDFLAGS+=-s

# Uncomment for FreeBSD:
2 changes: 1 addition & 1 deletion diyspk/bat/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SPK_NAME = bat
SPK_VERS = 0.21.0
SPK_VERS = 0.22.1
SPK_REV = 1

DEPENDS = cross/$(SPK_NAME)
Expand Down
4 changes: 2 additions & 2 deletions diyspk/fdupes/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SPK_NAME = fdupes
SPK_VERS = 2.1.2
SPK_REV = 3
SPK_VERS = 2.2.1
SPK_REV = 1
SPK_ICON = src/fdupes.png

DEPENDS = cross/fdupes
Expand Down
5 changes: 1 addition & 4 deletions diyspk/file/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
SPK_NAME = file
SPK_VERS = 5.35
SPK_VERS = 5.39
SPK_REV = 1

DEPENDS = cross/file

MAINTAINER = SynoCommunity
DESCRIPTION = The file command is "a file type guesser", that is, a command-line tool that tells you in words what kind of data a file contains. Unlike most GUI systems, command-line UNIX systems - with this program leading the charge - don't rely on filename extentions to tell you the type of a file, but look at the file's actual contents. This is, of course, more reliable, but requires a bit of I/O.
RELOAD_UI = no
DISPLAY_NAME = file
STARTABLE = no
CHANGELOG = Initial release

HOMEPAGE = http://www.darwinsys.com/file/
LICENSE = https://github.com/file/file/blob/master/COPYING
Expand Down
4 changes: 2 additions & 2 deletions diyspk/fzf/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SPK_NAME = fzf
SPK_VERS = 0.30.0
SPK_REV = 2
SPK_VERS = 0.34.0
SPK_REV = 1
SPK_ICON = src/fzf.png

DEPENDS = cross/fzf
Expand Down
4 changes: 2 additions & 2 deletions diyspk/jdupes/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SPK_NAME = jdupes
SPK_VERS = 1.20.2
SPK_REV = 3
SPK_VERS = 1.21.0
SPK_REV = 1
SPK_ICON = src/jdupes.png

DEPENDS = cross/jdupes
Expand Down
2 changes: 1 addition & 1 deletion diyspk/rmlint/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SPK_NAME = rmlint
SPK_VERS = 2.9.0
SPK_VERS = 2.10.1
SPK_REV = 1
SPK_ICON = src/rmlint-logo.png

Expand Down
2 changes: 1 addition & 1 deletion diyspk/tree/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SPK_NAME = tree
SPK_VERS = 1.8.0
SPK_VERS = 2.0.4
SPK_REV = 1

DEPENDS = cross/tree
Expand Down
13 changes: 7 additions & 6 deletions spk/synocli-file/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SPK_NAME = synocli-file
SPK_VERS = 2.7
SPK_REV = 17
SPK_REV = 18
SPK_ICON = src/synocli-file.png

# packages depending on cross/zlib must be defined later, see below
Expand Down Expand Up @@ -34,16 +34,17 @@ DEPENDS += cross/bat cross/exa
OPTIONAL_DESC := $(OPTIONAL_DESC)", bat, exa"
endif

# packages depending on cross/zlib
DEPENDS += cross/mc cross/pcre2 cross/fdupes cross/zstd


# PPC archs except QorIQ
ifneq ($(findstring $(ARCH),$(OLD_PPC_ARCHS)),$(ARCH))
# rmlint must be built before "cross/mc cross/pcre2 cross/fdupes cross/zstd"
# to use libblkid and support reflink
DEPENDS += cross/rmlint
OPTIONAL_DESC := $(OPTIONAL_DESC)", rmlint"
endif

# packages depending on cross/zlib
DEPENDS += cross/mc cross/pcre2 cross/fdupes cross/zstd

ifneq ($(findstring $(ARCH),$(OLD_PPC_ARCHS) $(ARMv5_ARCHS)),$(ARCH))
# gcc with stdc++11 support
ifneq ($(call version_lt, ${TCVERSION}, 6.0)$(call version_ge, ${TCVERSION}, 3.0),11)
Expand Down Expand Up @@ -77,7 +78,7 @@ export PCRE2_CLI_FULL

DESCRIPTION = "SynoCli File Tools provide a set of small command-line utilities: less, tree, ncdu, jdupes, fdupes, rhash, mc \(midnight commander\), mg \(emacs-like text editor\), nano, jupp \(based on JOE - Joe\'s Own Editor 3.1\), file, detox, pcre2, zstd, lzip, plzip, detox, iconv, dos2unix tools$(OPTIONAL_DESC)."
STARTABLE = no
CHANGELOG = "1. Add dos2unix tools.<br/2. Update fzf to v0.32.1.<br/>3. Update micro to v2.0.11.<br/>4. Update nano to v6.4.<br/>5. Update nnn to v4.6."
CHANGELOG = "1. Update rmlint to support reflink, find nonstripped binaries and to read json caches.<br/>2. Update file to v5.39.<br/>3. Update fdupes to v2.2.1.<br/>4. Update jdupes to v1.21.0.<br/>5. Update fzf to v.0.34.0<br/>6. Update tree to v2.0.4.<br/>7. Update bat to v0.22.1."

SERVICE_SETUP = src/service-setup.sh

Expand Down

0 comments on commit 5726baa

Please sign in to comment.