Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework mc (midnight commander) of synocli-file #3837

Merged
merged 2 commits into from
Jan 4, 2020

Conversation

hgy59
Copy link
Contributor

@hgy59 hgy59 commented Dec 30, 2019

Motivation: Handle reported issues and fix subshell for the synology way to define /bin/sh as link to /bin/bash
Linked issues: #3834, #3783, #3258

  • add sftp support and hence add cross/libssh2
  • fix mouse handling
  • replace usage of ncurses by slang (makes the package smaller, fixes mouse handling, is default)
  • add patch to fix subshell for /bin/sh shell linked to /bin/bash (subshell for /bin/sh is not supported)
  • add new mc icon
  • update synocli-file with reworked mc

Checklist

  • Build rule all-supported completed successfully
  • Package upgrade completed successfully
  • New installation of package completed successfully

- SynoCommunity#3834 add sftp support and hence add cross/libssh2
- SynoCommunity#3783/ SynoCommunity#3258 fix mouse handling
- replace usage of ncurses by slang
- add patch to fix subshell for /bin/sh shell linked to /bin/bash (subshell for /bin/sh is not supported)
- add new mc icon
- update synocli-file with reworked mc
Copy link
Contributor

@ymartin59 ymartin59 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great. With minor improvement ideas I propose

@@ -1,37 +1,30 @@
SPK_NAME = synocli-file
SPK_VERS = 1.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I propose to increase package version itself too

Suggested change
SPK_VERS = 1.0
SPK_VERS = 1.1

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My intent is to update revision for updated components and update the version with adding/removing components.
But we could use major/minor package version for this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer the other way "major/minor" to get a reason to increase major from time to time...


MAINTAINER = SynoCommunity
DISPLAY_NAME = SynoCli File Tools
ifneq ($(findstring $(ARCH), powerpc ppc824x ppc853x ppc854x $(ARM5_ARCHES)),$(ARCH))
# to build rnm, GCC >= 4.8 is required, but not contained in older toolchains.
DEPENDS += cross/rnm
DESCRIPTION = "SynoCli File Tools provides a set of small command-line utilities: less, tree, ncdu, jdupes, rhash, mc \(midnight commander\), nano, file, detox, rmlint, rnm."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just an idea to avoid duplicated DESCRIPTION: use a variable for only variable part content ", rnm" with list of tools according to condition...

@ymartin59 ymartin59 merged commit 88a742b into SynoCommunity:master Jan 4, 2020
@hgy59
Copy link
Contributor Author

hgy59 commented Jan 4, 2020

sorry, just found that rmlint does not compile for ppc853x, so I removed the label "status/to-publish".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants