NetBSD Problem Report #45960

From www@NetBSD.org  Thu Feb  9 21:07:44 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 26F2B63DF95
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  9 Feb 2012 21:07:44 +0000 (UTC)
Message-Id: <20120209210742.AAAF063DF6E@www.NetBSD.org>
Date: Thu,  9 Feb 2012 21:07:42 +0000 (UTC)
From: bartosz.kuzma@gmail.com
Reply-To: bartosz.kuzma@gmail.com
To: gnats-bugs@NetBSD.org
Subject: sysutils/clex update to 4.6.4
X-Send-Pr-Version: www-1.0

>Number:         45960
>Category:       pkg
>Synopsis:       sysutils/clex update to 4.6.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obache
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 09 21:10:00 +0000 2012
>Closed-Date:    Fri Feb 17 13:26:17 +0000 2012
>Last-Modified:  Fri Feb 17 13:26:17 +0000 2012
>Originator:     Bartosz Kuzma
>Release:        NetBSD 5.1/i386
>Organization:
>Environment:
>Description:
sysutils/clex update to 4.6.4

Change log is too big to mention here. For full change log look at: http://www.clex.sk/help/changelog.html
>How-To-Repeat:

>Fix:
delete patches/patch-aa
delete patches/patch-ab
delete patches/patch-ac
delete patches/patch-ad
delete patches/patch-ae
delete patches/patch-af
delete patches/patch-ag
delete patches/patch-ah
delete patches/patch-ai

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/clex/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	17 Mar 2010 14:17:49 -0000	1.4
+++ Makefile	9 Feb 2012 21:00:13 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.4 2010/03/17 14:17:49 joerg Exp $
 #

-DISTNAME=		clex-3.16
+DISTNAME=		clex-4.6.4
 CATEGORIES=		sysutils
 MASTER_SITES=		http://www.clex.sk/download/

@@ -9,10 +9,12 @@
 HOMEPAGE=		http://www.clex.sk/download/
 COMMENT=		File manager with a full-screen user interface

+LICENSE=		gnu-gpl-v2
+
 PKG_DESTDIR_SUPPORT=	user-destdir

 USE_NCURSES=		yes # enter_{bold,reverse,underline}_mode
 GNU_CONFIGURE=		yes

-.include "../../devel/ncurses/buildlink3.mk"
+.include "../../devel/ncursesw/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/clex/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- PLIST	1 Dec 2005 03:54:26 -0000	1.1.1.1
+++ PLIST	9 Feb 2012 21:00:13 -0000
@@ -1,3 +1,7 @@
 @comment $NetBSD: PLIST,v 1.1.1.1 2005/12/01 03:54:26 minskim Exp $
+bin/cfg-clex
 bin/clex
+bin/kbd-test
+man/man1/cfg-clex.1
 man/man1/clex.1
+man/man1/kbd-test.1
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/clex/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	12 Jul 2007 12:43:20 -0000	1.3
+++ distinfo	9 Feb 2012 21:00:13 -0000
@@ -1,14 +1,7 @@
 $NetBSD: distinfo,v 1.3 2007/07/12 12:43:20 obache Exp $

-SHA1 (clex-3.16.tar.gz) = e92c5c596fead2cf09c22cd484b3bbff536c58e0
-RMD160 (clex-3.16.tar.gz) = 69ab253a9c451559cc4db1650ef13b24ecccbd2c
-Size (clex-3.16.tar.gz) = 186313 bytes
-SHA1 (patch-aa) = b6cd477159c3b2279f1d9d3f8dc04709115de57c
-SHA1 (patch-ab) = 0b6e36eca7ab1bc85af0a488d6d8be97f52480d5
-SHA1 (patch-ac) = f658ab8f033f60f49d5f0a2e2982a60d961a61fa
-SHA1 (patch-ad) = 318d238e46ce31102f83d9857e6f61fb671ad58b
-SHA1 (patch-ae) = 0c72744fde6b0315941396b0a62281cccb49e4dd
-SHA1 (patch-af) = 1532776758559542bdecc86b720ce2900c107867
-SHA1 (patch-ag) = ee108f63473474f7af42e25e158a22a49f0a764d
-SHA1 (patch-ah) = 21ed59c002e0a99df1091e04775807ad2b6b9a29
-SHA1 (patch-ai) = be0490fc358c252ef953d71f520efd641f7ac46f
+SHA1 (clex-4.6.4.tar.gz) = 601091677349dbd8613f185a594361a8d78c65ab
+RMD160 (clex-4.6.4.tar.gz) = 6f1ea4a1ca1c4b26f34c429ef458a04491950695
+Size (clex-4.6.4.tar.gz) = 243297 bytes
+SHA1 (patch-src_cfg-clex) = ca7a2de95c05362b71ed1886f556032231f7f57e
+SHA1 (patch-src_clexheaders.h) = f83a37d82d004eea661f4c013179bd18353d4b90
===================================================================
--- /dev/null	2012-02-09 21:57:59.000000000 +0100
+++ patches/patch-src_clexheaders.h	2012-02-09 21:39:37.000000000 +0100
@@ -0,0 +1,10 @@
+$NetBSD$
+
+--- src/clexheaders.h.orig	2009-01-11 19:44:35.000000000 +0000
++++ src/clexheaders.h
+@@ -1,4 +1,4 @@
+-#if !defined(__APPLE__) && !defined(__FreeBSD__)
++#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__NetBSD__)
+ # define _XOPEN_SOURCE 600
+ #endif
+ 
===================================================================
--- /dev/null	2012-02-09 21:57:59.000000000 +0100
+++ patches/patch-src_cfg-clex	2012-02-08 06:44:18.000000000 +0100
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/cfg-clex.orig	2009-05-20 08:58:50.000000000 +0000
++++ src/cfg-clex
+@@ -144,7 +144,7 @@ convert_config() {
+ 	if [ x"$CLEX_ACTIVE_LAYOUT" != x ] ; then
+ 		CLEX_LAYOUT_ACTIVE=`expr $CLEX_ACTIVE_LAYOUT + 1`
+ 	fi
+-	if [ x"$CLEX_XTERM_TITLE" == x'2' ] ; then
++	if [ x"$CLEX_XTERM_TITLE" = x'2' ] ; then
+ 		CLEX_XTERM_TITLE='1'
+ 	fi
+ 	if [ x"$CLEX_LAYOUT1" != x ] ; then

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 16 Feb 2012 10:57:22 +0000
Responsible-Changed-Why:
I'll take this.


From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/45960 (sysutils/clex update to 4.6.4)
Date: Thu, 16 Feb 2012 21:57:12 +0900

 Failed to build on platfoms having builtin ncurses but ncursesw not
 (DragonFly, OpenBSD, and so on).

 But I feel issues are not a this package specific problem.

 1. ncursesw from pkgsrc should be built with ncurses from pkgsrc, not builtin.
 2. if so, ncurses/builtin.mk must not prefer builtin ncurses if using pkgsrc ncursesw.

 -- 
 OBATA Akio / obache@NetBSD.org

From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45960 CVS commit: pkgsrc/sysutils/clex
Date: Fri, 17 Feb 2012 13:23:29 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Fri Feb 17 13:23:28 UTC 2012

 Modified Files:
 	pkgsrc/sysutils/clex: Makefile PLIST distinfo
 Added Files:
 	pkgsrc/sysutils/clex/patches: patch-src_cfg-clex
 	    patch-src_clexheaders.h
 Removed Files:
 	pkgsrc/sysutils/clex/patches: patch-aa patch-ab patch-ac patch-ad
 	    patch-ae patch-af patch-ag patch-ah patch-ai

 Log Message:
 Update clex to 4.6.4.
 based on maintainer update request by PR 45960.

 * * * CLEX Revision History * * *

 4.6.4 released on 21-MAY-2011

   Problems fixed:

      * Name completion did not expand a single tilde as a home
        directory.
      * A mouseclick on a certain screen area of the help panel
        could lead to a crash.

   New or improved functionality:

      * The English documentation was proofread and corrected,
        the service was kindly contributed by Richard Harris.
      * Text file preview function was added.
      * The initial working directory for the secondary file
        panel is now set by a bookmark named DIR2. This
        replaces the configuration parameter DIR2.
      * The initial working directory for the primary file
        panel can be now set by a bookmark named DIR1.
      * New configuration parameter TIME_DATE controls the
        display of date and time.
      * Changes to the mouse control were made.
      * The recommendation against using alt-R for normal file
        renaming was dropped.

 4.5 released on 24-SEP-2009

   Problems fixed:
      * Name completion could not complete user and group names
        containing a dot, comma or a dash character.

   New or improved functionality:
      * A mouse is supported on xterm-compatible terminals.
      * The location of configuration files has been moved
        again in order to comply with the XDG Specification.
        The standard place for these files is from now on the
        ~/.config/clex directory. Use the 'cfg-clex' utility to
        move the files to the new location.
      * There is a new option in the completion panel which
        allows completion of a name which is a part of a longer
        word. The option has a self-explaining description:
        'name to be completed starts at the cursor position'.
      * Configuration parameter C_PANEL_SIZE (completion panel
        size) cannot be set to AUTO (screen size) because this
        size is often uncomfortably small.
      * The Unicode soft hyphen character is displayed as a
        control character.
      * In the history panel a command separator is
        automatically inserted into the input line when a
        command is appended to the end of another command.
      * Configuration parameters CMD_Fn accept a new control
        sequence $~ which disables the 'Press enter to
        continue' prompt. The control is returned to CLEX
        immediately after the command execution terminates
        provided that:

           * the command has not been modified; and
           * the command terminates successfully (exit code
             zero).

      * The $! control sequence can appear anywhere in a
        configuration parameter CMD_Fn, not only at the end.
      * New function: alt-Z places the current line to the
        center of the panel. People using cluster-ssh might
        find it useful.

 4.4 released on 07-APR-2009

   Problems fixed:
      * In the help text there were few UTF-8 characters which
        are now eliminated because they could not be displayed
        properly in non-UTF-8 encodings.

   New or improved functionality:
      * New function was added: change into a subdirectory
        showing the contents in the other file panel (alt-X).
        This function allows a return into the original
        directory simply by switching panels (ctrl-X).

 4.3 released on 29-MAR-2009

   Problems fixed:
      * A newly added bookmark did not appear on the screen
        immediately.
      * A misleading message 'Ignoring the DIR2 configuration
        parameter' was logged when the 'DIR2' was set to
        'HOME'.

   New or improved functionality:
      * The bookmark organizer has been merged with the regular
        bookmark panel.
      * Bookmarks can have descriptive names.
      * The current working directory can be bookmarked from
        the file panel (ctrl-D).
      * The 'B_PANEL_SIZE' config parameter was removed.

 4.2 released on 15-MAR-2009

   Problems fixed:
      * In some cases the 'cfg-clex' utility was generating an
        unusable template for the copy command (F5).
      * Under certain circumstances a crash was occurring on
        exit when CLEX was used over a ssh connection.

   New or improved functionality:
      * All configuration files now reside in the .clex
        subdirectory. Use the 'cfg-clex' utility to move the
        files to new location.

 4.1 released on 09-FEB-2009

   Problems fixed:
      * Usage of uninitialized memory during the start-up has
        been corrected. It caused a crash on the Apple Mac OS X
        platform. Systems where CLEX starts normally are not
        affected by this bug.
      * A compilation problem on Apple Mac OS X was fixed.
      * The xterm title change feature did not work on remote
        telnet or ssh connections.

   New or improved functionality:
      * If a directory comparison is restricted to regular
        files, then only information about this type of file is
        displayed in the summary.
      * A small program named 'kbd-test' was added. It is a
        utility for

 CLEX 4.0 released on 22-DEC-2008

    This is the initial release of the CLEX 4 branch. Main new
    features are:
      * Unicode support was implemented.
      * Several configuration parameters have been converted to options
        which are saved automatically.
      * The log panel and optional logging to a file for auditing and
        troubleshooting were added.
      * There is now 'cfg-clex' utility.
      * A built-in function for renaming files with invalid or
        unprintable characters was added.
    Enhancements (compared to previous releases) include:
      * Configuring prompt, time format and date format is more flexible.
      * The help is not limited to one link per line.
      * The user interface of the directory compare function was redesigned.
      * Changes in the pattern matching routine were made
      * Panel filtering is now available in two more panels.
      * A new tool for inserting control characters into the input line
        was added.


 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/clex/Makefile
 cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/sysutils/clex/PLIST
 cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/clex/distinfo
 cvs rdiff -u -r1.1 -r0 pkgsrc/sysutils/clex/patches/patch-aa \
     pkgsrc/sysutils/clex/patches/patch-ab \
     pkgsrc/sysutils/clex/patches/patch-ae \
     pkgsrc/sysutils/clex/patches/patch-af \
     pkgsrc/sysutils/clex/patches/patch-ah \
     pkgsrc/sysutils/clex/patches/patch-ai
 cvs rdiff -u -r1.2 -r0 pkgsrc/sysutils/clex/patches/patch-ac \
     pkgsrc/sysutils/clex/patches/patch-ad \
     pkgsrc/sysutils/clex/patches/patch-ag
 cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/clex/patches/patch-src_cfg-clex \
     pkgsrc/sysutils/clex/patches/patch-src_clexheaders.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Fri, 17 Feb 2012 13:26:17 +0000
State-Changed-Why:
Updated.  Thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.