Debian Bug report logs - #859781
coreutils: Colorizing for .mp2 and jpeg2000 extensions

version graph

Package: coreutils; Maintainer for coreutils is Michael Stone <[email protected]>; Source for coreutils is src:coreutils (PTS, buildd, popcon).

Reported by: David Griffith <[email protected]>

Date: Fri, 7 Apr 2017 12:03:01 UTC

Severity: wishlist

Tags: patch, upstream

Found in version coreutils/8.13-3.5

Full log


Message #5 received at [email protected] (full text, mbox, reply):

Received: (at submit) by bugs.debian.org; 7 Apr 2017 11:58:47 +0000
From [email protected] Fri Apr 07 11:58:47 2017
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-9.4 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
	FOURLA,HAS_PACKAGE,MURPHY_DRUGS_REL8,URIBL_CNKR,XMAILER_REPORTBUG
	autolearn=ham autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 8; hammy, 150; neutral, 129; spammy,
	0. spammytokens: hammytokens:0.000-+--H*x:6.4.4, 0.000-+--H*UA:6.4.4,
	0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug, 0.000-+--H*x:reportbug
Return-path: <[email protected]>
Received: from nyx.feedle.net ([66.175.220.197])
	by buxtehude.debian.org with esmtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1cwSXP-000074-N3
	for [email protected]; Fri, 07 Apr 2017 11:58:47 +0000
Received: by nyx.feedle.net (Postfix, from userid 1001)
	id 39089A319; Fri,  7 Apr 2017 11:58:47 +0000 (UTC)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: David Griffith <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: coreutils: Colorizing for .mp2 and jpeg2000 extensions
Message-ID: <[email protected]>
X-Mailer: reportbug 6.4.4
Date: Fri, 07 Apr 2017 11:58:47 +0000
Delivered-To: [email protected]
Package: coreutils
Version: 8.13-3.5
Severity: wishlist
Tags: patch upstream

Dear Maintainer,

I'd like to see the JPEG2000 file extensions colorized as image files.  
I'd also like to see mp2 files colorized as audio files.  Here's a diff 
against the master branch at git://git.sv.gnu.org/coreutils.git.  I'm 
not sure if this is an acceptable way to get a patch into a GNU project, 
so please be gentle.

>From 7f1ea1e883edc35b8e88a98d03979d1691491ff2 Mon Sep 17 00:00:00 2001
From: David Griffith <[email protected]>
Date: Fri, 7 Apr 2017 04:50:03 -0700
Subject: [PATCH] dircolors: Colorize jp2 j2k jpf jpx jpm mj2 mp2 filename
 extensions

* src/dircolors.hin jp2 j2k jpf jpx jpm mj2 for JPEG2000
mp2 for an older flavor of mpeg audio before mp3
---
 src/dircolors.hin | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/dircolors.hin b/src/dircolors.hin
index fca51f23f..813a5ed55 100644
--- a/src/dircolors.hin
+++ b/src/dircolors.hin
@@ -136,6 +136,12 @@ EXEC 01;32
 .jpeg 01;35
 .mjpg 01;35
 .mjpeg 01;35
+.jp2 01;35
+.j2k 01;35
+.jpf 01;35
+.jpx 01;35
+.jpm 01;35
+.mj2 01;35
 .gif 01;35
 .bmp 01;35
 .pbm 01;35
@@ -193,6 +199,7 @@ EXEC 01;32
 .midi 00;36
 .mka 00;36
 .mp3 00;36
+.mp2 00;36
 .mpc 00;36
 .ogg 00;36
 .ra 00;36
-- 
2.11.0





-- System Information:
Debian Release: 7.11
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.6-x86_64-linode78 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages coreutils depends on:
ii  dpkg          1.16.18
ii  install-info  4.13a.dfsg.1-10
ii  libacl1       2.2.51-8
ii  libattr1      1:2.4.46-8
ii  libc6         2.19-11
ii  libselinux1   2.1.9-5

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:28:26 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.