mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ladislav Michl <ladis@linux-mips.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] mc: vesion bump 4.6.1 -> 4.8.20
Date: Tue, 8 May 2018 00:21:26 +0200	[thread overview]
Message-ID: <20180507222126.GA10427@lenoch> (raw)

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
 Note: 4.6.1 is almost a decade old, so it really deserve some update.
 No preference MMI option was droped as it is not really an option
 and we need to compile one of those librarieas anyway and make mc
 depend on it.

 rules/mc.in   | 44 ++++++++++++++++++++++++++++++++----------
 rules/mc.make | 53 ++++++++++++++++++++++++++++-----------------------
 2 files changed, 63 insertions(+), 34 deletions(-)

diff --git a/rules/mc.in b/rules/mc.in
index 9dba3c974..3c7e5c8dc 100644
--- a/rules/mc.in
+++ b/rules/mc.in
@@ -11,27 +11,51 @@ menuconfig MC
 	help
 	  midnight commander is a text oriented file manager
 
+if MC
+
 comment "build options   ---"
-	depends on MC
 
 choice
 	prompt "Kind of MMI "
-	default MC_USES_NO_PREFERENCE
-	depends on MC
-
-config MC_USES_NO_PREFERENCE
-	bool "no preference"
-	help
-	  Build midnight commander without any external library preference
+	default MC_USES_NCURSES
 
 config MC_USES_NCURSES
-	bool "Use ncurses  "
+	bool "ncurses"
 	help
 	  Build midnight commander with ncurses
 
 config MC_USES_SLANG
-	bool "Use slang    "
+	bool "slang  "
 	help
 	  Build midnight commander with slang
 
 endchoice
+
+config MC_VFS_CPIO
+	bool "Support for cpio filesystem"
+
+config MC_VFS_EXTFS
+	bool "Support for extfs filesystem"
+
+config MC_VFS_FISH
+	bool "Support for FISH filesystem"
+
+config MC_VFS_FTP
+	bool "Support for FTP filesystem"
+
+config MC_VFS_SFS
+	bool "Support for sfs filesystem"
+
+config MC_VFS_SFTP
+	bool "Support for SFTP filesystem"
+
+config MC_VFS_SMB
+	bool "Support for SMB filesystem"
+
+config MC_VFS_TAR
+	bool "Support for tar filesystem"
+
+config MC_VFS_UNDELFS
+	bool "Support for ext2 undelete filesystem"
+
+endif
diff --git a/rules/mc.make b/rules/mc.make
index 2586c2c3d..c0c04b005 100644
--- a/rules/mc.make
+++ b/rules/mc.make
@@ -17,11 +17,11 @@ PACKAGES-$(PTXCONF_MC) += mc
 #
 # Paths and names
 #
-MC_VERSION	:= 4.6.1
-MC_MD5		:= 18b20db6e40480a53bac2870c56fc3c4
+MC_VERSION	:= 4.8.20
+MC_MD5		:= 7f808b01f3f7d9aa52152a9efb86dbca
 MC		:= mc-$(MC_VERSION)
-MC_SUFFIX	:= tar.gz
-MC_URL		:= http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/$(MC).$(MC_SUFFIX)
+MC_SUFFIX	:= tar.xz
+MC_URL		:= http://ftp.midnight-commander.org/$(MC).$(MC_SUFFIX)
 MC_SOURCE	:= $(SRCDIR)/$(MC).$(MC_SUFFIX)
 MC_DIR		:= $(BUILDDIR)/$(MC)
 MC_LICENSE	:= GPL-2.0-only
@@ -31,28 +31,33 @@ MC_LICENSE	:= GPL-2.0-only
 # Prepare
 # ----------------------------------------------------------------------------
 
-MC_PATH	:= PATH=$(CROSS_PATH)
-MC_ENV 	:= $(CROSS_ENV)
+# smbfs helpers configure.ac is using AC_TRY_RUN to figure out
+# gettimeofday parameters
+MC_CONF_ENV	:= \
+	$(CROSS_ENV) \
+	samba_cv_HAVE_GETTIMEOFDAY_TZ=yes
 
-#
-# autoconf
-#
-MC_AUTOCONF := \
+MC_CONF_TOOL	:= autoconf
+MC_CONF_OPT	:= \
 	$(CROSS_AUTOCONF_USR) \
-	--with-x=no \
-	--without-gpm-mouse \
-	--without-ext2undel \
-	--disable-rpath
-
-ifdef PTXCONF_MC_USES_NCURSES
-MC_AUTOCONF += --with-screen=ncurses
-endif
-
-ifdef PTXCONF_MC_USES_SLANG
-MC_AUTOCONF += --with-screen=slang
-endif
-
-MC_INSTALL_OPT := -C src install
+	--disable-tests \
+	$(GLOBAL_LARGE_FILE_OPTION) \
+	--disable-nls \
+	--$(call ptx/endis,PTXCONF_MC_VFS)-vfs \
+	--$(call ptx/endis,PTXCONF_MC_VFS_CPIO)-vfs-cpio \
+	--$(call ptx/endis,PTXCONF_MC_VFS_EXTFS)-vfs-extfs \
+	--$(call ptx/endis,PTXCONF_MC_VFS_FISH)-vfs-fish \
+	--$(call ptx/endis,PTXCONF_MC_VFS_FTP)-vfs-ftp \
+	--$(call ptx/endis,PTXCONF_MC_VFS_SFS)-vfs-sfs \
+	--$(call ptx/endis,PTXCONF_MC_VFS_SFTP)-vfs-sftp \
+	--$(call ptx/endis,PTXCONF_MC_VFS_SMB)-vfs-smb \
+	--$(call ptx/endis,PTXCONF_MC_VFS_TAR)-vfs-tar \
+	--$(call ptx/endis,PTXCONF_MC_VFS_UNDELFS)-vfs-undelfs \
+	--disable-doxygen-doc \
+	--with-screen=$(call ptx/ifdef, PTXCONF_MC_USES_SLANG, slang, ncurses) \
+	--without-x \
+	--with-mmap \
+	--without-gpm-mouse
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.17.0

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2018-05-07 22:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180507222126.GA10427@lenoch \
    --to=ladis@linux-mips.org \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox