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 <d...@661.org>
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

Reply via email to