[packages/mc] - rel 2, typescript is javaSCRIPT not java, ffs

baggins baggins at pld-linux.org
Sat Jul 13 15:35:23 CEST 2024


commit 76803da9fa37f98008121cb31ea8be7974382500
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Jul 13 14:52:34 2024 +0200

    - rel 2, typescript is javaSCRIPT not java, ffs

 mc.spec              |  4 +++-
 typescript-ext.patch | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/mc.spec b/mc.spec
index 524b6db..5aecc80 100644
--- a/mc.spec
+++ b/mc.spec
@@ -18,7 +18,7 @@ Summary(uk.UTF-8):	Диспетчер файлів Midnight Commander
 Summary(zh_CN.UTF-8):	一个方便实用的文件管理器和虚拟Shell
 Name:		mc
 Version:	4.8.31
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL v3+
 Group:		Applications/Shells
@@ -33,6 +33,7 @@ Patch3:		%{name}-noperl-vfs.patch
 # at now syntax highligthing for PLD-update-TODO and CVSROOT/users
 Patch4:		%{name}-pld-developerfriendly.patch
 Patch5:		ebook-ext.patch
+Patch6:		typescript-ext.patch
 URL:		http://www.midnight-commander.org/
 BuildRequires:	autoconf >= 2.64
 BuildRequires:	automake >= 1:1.12
@@ -166,6 +167,7 @@ tar, zip ve RPM dosyalarının içeriklerini gösterebilmesidir.
 %{!?with_perl_vfs:%patch3 -p1}
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %{__rm} po/stamp-po
 
diff --git a/typescript-ext.patch b/typescript-ext.patch
new file mode 100644
index 0000000..066b604
--- /dev/null
+++ b/typescript-ext.patch
@@ -0,0 +1,11 @@
+--- mc-4.8.31/misc/mc.ext.ini.in~	2024-07-13 14:49:22.000000000 +0200
++++ mc-4.8.31/misc/mc.ext.ini.in	2024-07-13 14:50:15.144930575 +0200
+@@ -462,7 +462,7 @@
+ [Typescript]
+ Shell=.ts
+ ShellIgnoreCase=true
+-Type=^Java source
++Type=^JavaScript source
+ Include=editor
+ 
+ # .so libraries
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mc.git/commitdiff/76803da9fa37f98008121cb31ea8be7974382500



More information about the pld-cvs-commit mailing list