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

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Michael Stone <[email protected]>:
Bug#859781; Package coreutils. (Fri, 07 Apr 2017 12:03:04 GMT) (full text, mbox, link).


Acknowledgement sent to David Griffith <[email protected]>:
New Bug report received and forwarded. Copy sent to Michael Stone <[email protected]>. (Fri, 07 Apr 2017 12:03:04 GMT) (full text, mbox, link).


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

From: David Griffith <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: coreutils: Colorizing for .mp2 and jpeg2000 extensions
Date: Fri, 07 Apr 2017 11:58:47 +0000
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



Information forwarded to [email protected], Michael Stone <[email protected]>:
Bug#859781; Package coreutils. (Fri, 07 Apr 2017 12:24:05 GMT) (full text, mbox, link).


Acknowledgement sent to David Griffith <[email protected]>:
Extra info received and forwarded to list. Copy sent to Michael Stone <[email protected]>. (Fri, 07 Apr 2017 12:24:05 GMT) (full text, mbox, link).


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

From: David Griffith <[email protected]>
To: [email protected]
Subject: forgot j2c extension
Date: Fri, 7 Apr 2017 12:22:14 +0000 (UTC)
I forgot the j2c extension.  Here's a replacement diff:

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

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

diff --git a/src/dircolors.hin b/src/dircolors.hin
index fca51f23f..3aeec39e7 100644
--- a/src/dircolors.hin
+++ b/src/dircolors.hin
@@ -136,6 +136,13 @@ EXEC 01;32
 .jpeg 01;35
 .mjpg 01;35
 .mjpeg 01;35
+.jp2 01;35
+.j2c 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 +200,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


-- 
David Griffith
[email protected]

A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 09:01:16 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.