Compare commits

...

169 Commits
v7.3 ... main

Author SHA1 Message Date
1baec22b5c Fix error message when using ffmpeg git version 2025-01-04 11:07:29 +01:00
dbf77c2ea6 Static build with Makefiles 2024-11-25 13:11:53 +01:00
4986242219 README.md 2024-08-17 12:57:20 +02:00
2b84f9db3b README.md 2024-07-18 17:10:59 +02:00
ecda4e59d6 Update doc 2024-05-01 11:26:47 +02:00
5f02d5bc69 README.md (v8.5) 2024-01-04 15:59:02 +01:00
a7dcddeaf9 Bump up version number to 8.5 2024-01-04 15:56:11 +01:00
873e9156ba Fix error messages on MacOS 2023-11-06 20:07:07 +01:00
348a1550e8 Fix error messages on MacOS 2023-11-06 19:38:49 +01:00
8b758765a6 Fix wrappers for Homebrew 2023-11-02 20:21:56 +01:00
68ceaadb04 README.md 2023-11-02 19:46:53 +01:00
2ca3dc16d5 Fix error message without Linux Homebrew installed 2023-11-02 19:45:59 +01:00
4b4c314d88 README.md 2023-11-01 21:08:36 +01:00
158085ce20 README.md 2023-11-01 21:05:52 +01:00
be7063cfd5 Add Makefile for MacOS Homebrew 2023-11-01 21:00:33 +01:00
7699d01b0c Add support for MacOS Homebrew 2023-11-01 20:54:07 +01:00
be3ebf6f02 Makefile.linuxbrew 2023-11-01 20:34:30 +01:00
771cd06af6 Add support for Linux Homebrew 2023-11-01 20:28:02 +01:00
bbc9846adf Add support for Linux Homebrew 2023-11-01 20:24:52 +01:00
d4cc9909ee Fix detect resolution with two or more video tracks 2023-05-26 18:36:36 +02:00
6fc7c1a692 Add bc alias for Cygwin 2023-05-22 17:10:28 +02:00
1c92e6b74b Fix checksum test (ks-upr) 2023-05-22 16:45:30 +02:00
14a4dc6747 README.md (Add bc dependency) 2023-05-22 16:15:35 +02:00
a7015d228b Change calc command for bc 2023-05-22 16:13:52 +02:00
e2e801e741 Added function for detecting proper resolution scaling 2023-05-22 15:31:27 +02:00
bb45e2fe88 Change default settings for ks-mp4 2023-03-19 12:32:55 +01:00
7f5df78576 Fix reset config for ks-av1(s) 2023-03-18 22:25:55 +01:00
b4a88231a5 Show errors with recursive checksum 2023-03-13 18:20:16 +01:00
c7de69f2c4 Fix text for error message 2023-03-13 18:07:40 +01:00
e57c79f92f Add checksum for recursive upload (ks-upr) 2023-03-13 18:03:25 +01:00
c0b2101435 Update documentation 2023-03-12 19:03:35 +01:00
8c39912218 Setting scp-pem as default when select certificate (ks-upv/upa/upf/upr) 2023-03-12 19:01:23 +01:00
5c384a0350 Change upload tool when select password 2023-03-12 18:51:03 +01:00
e054341701 Change upload tool when select certificate 2023-03-12 18:47:26 +01:00
faead28243 Cancel configuration if certificate is invalid (ks-upv/upa/upf/upr) 2023-03-12 18:32:32 +01:00
f5f32b9208 Change title text 2023-03-12 18:10:42 +01:00
1986d7ff94 Change title text 2023-03-12 18:09:39 +01:00
0904ffc312 Fix video & audio track detection (wrappers) 2023-03-12 15:33:06 +01:00
49e6641085 Update README.md 2023-03-12 15:08:05 +01:00
935c590dfa Set the correct permissions to the pem file (ks-upv/upa/upf/upr) 2023-03-12 15:05:07 +01:00
906cb000d9 Assign the correct permissions to the pem file when importing it (ks-upv/upa/upf/upr) 2023-03-12 15:01:04 +01:00
147753c1a0 Bump up version number to 8.5-dev 2023-03-12 14:52:54 +01:00
26cabcda89 Bump up version number to 8.4 2023-03-11 18:46:17 +01:00
1dc9297491 Update documentation 2023-03-11 15:46:16 +01:00
438afccf7a README.md 2023-03-11 14:37:58 +01:00
85845c59c7 Add support for connect using pem certificate (ks-upv/upa/upf/upr) 2023-03-11 14:36:57 +01:00
f84e808df3 Fix function to generate certificate on remote machine (ks-up*) 2023-03-11 13:04:25 +01:00
1682255e62 Added option to generate certificate on remote machine (ks-up*) 2023-03-11 12:49:52 +01:00
2ce46a33a4 Remove parameter -async 1 (ks-crop) 2023-03-11 12:25:21 +01:00
d25a15babb Support for H265 HDR conversion to H264 (ks-mix) 2023-03-11 12:24:34 +01:00
8e1b7e01e3 Change name for output folder 2023-03-10 20:58:36 +01:00
ddf3080d68 Update Makefiles 2023-03-10 20:54:45 +01:00
b4f408f634 Fix load profile with libsvtav1 codec (ks-av1s) 2023-03-10 20:54:32 +01:00
2d85f66888 Add support for ks-av1(s) from ks-conf tool 2023-03-10 20:46:10 +01:00
36ac1bed0c Update README.md 2023-03-10 20:25:47 +01:00
c7bfcf62a7 Add tool ks-av1s-folder 2023-03-10 20:23:20 +01:00
b19b714e88 Update Makefiles 2023-03-10 20:18:04 +01:00
6109e960b4 Add doc for ks-av1(s)-wrapper 2023-03-10 20:12:29 +01:00
09958c2a0a Fix load config variables (wrappers) 2023-03-10 20:09:19 +01:00
15c1245441 Add ks-av1(s)-wrapper 2023-03-10 20:04:49 +01:00
8aa97437e4 README.md 2023-03-10 19:54:32 +01:00
caa5bfe080 README.md 2023-03-10 19:46:37 +01:00
3cc479b994 Makefile.Cygwin 2023-03-10 18:54:41 +01:00
a6818a633c Add script for build ffmpeg on Cygwin x86_64 2023-03-10 18:53:35 +01:00
cd5bd77f9f Remove files 2023-03-10 18:45:39 +01:00
03192865cc Makefile 2023-03-10 18:43:44 +01:00
c514d44588 README.md 2023-03-10 00:35:32 +01:00
ee762b4025 Update Makefile 2023-03-10 00:32:46 +01:00
c35d7d322f Add documentation for ks-av1/ks-av1s 2023-03-10 00:22:58 +01:00
c7cd5db478 Update date for ks-av1/ks-av1s 2023-03-10 00:15:49 +01:00
7518d0bc3b Add ks-av1 & ks-av1s tools 2023-03-10 00:14:18 +01:00
af1c6ded2b Fixed video profile for different codecs 2023-03-07 23:16:12 +01:00
e5de2ca52e Remove year from title metadata (ks-mp4s) 2023-02-24 18:08:47 +01:00
f23a215a10 Fix subtitle error of last commit 2023-02-20 18:38:07 +01:00
fddfa1bd9d Add support for convert to h264 from h265 HDR (ks-mp4/s/k) 2023-02-20 00:03:32 +01:00
4236268df1 Add support for convert to h264 from h265 HDR (ks-mp4/s/k) 2023-02-20 00:00:42 +01:00
035842912e Add ssh-keyscan dependency (ks-upv/upa/upr/upf) 2023-02-13 19:41:22 +01:00
c9af167626 Add function to check all dependencies 2023-02-13 19:27:56 +01:00
aa794ea621 Remove sleep for scanning 2023-02-12 13:10:18 +01:00
53fedec45c Rewrite function for check dependencies (ks-upv/upa/upf/upr) 2023-02-12 13:07:50 +01:00
79752b15c5 Fix fail recursive upload using scp + expect (ks-upr) 2023-02-11 17:00:29 +01:00
8c2aa0f375 Fix IFS unset 2023-02-11 14:46:48 +01:00
8f47ebabed Fix fps_mode parameter with old ffmpeg releases 2023-02-11 14:33:51 +01:00
400318bdb4 Update documentation 2023-02-10 18:48:25 +01:00
c9aa8b2d37 Update deprecated -vsync to -fps_mode 2023-02-10 18:38:08 +01:00
573f92e978 Update date for last change 2023-02-10 18:30:24 +01:00
ea2629c2a5 Add support for using expect for login uploads (ks-upv/upf/upa/upr) 2023-02-10 18:28:20 +01:00
7d507549b8 Bump up version number to 8.4-dev 2023-02-10 13:24:07 +01:00
7f90051d4a Bump up version number to 8.4-dev 2023-02-10 13:20:13 +01:00
1e27c06547 Remove check_fingerprint function (ks-upX) 2023-02-10 13:11:36 +01:00
20b928a291 Makefile.Cygwin 2023-02-08 19:34:45 +01:00
94791c7f4f Update Makefile 2023-02-08 19:34:33 +01:00
ae216ccee7 Remove disabled ks-zui 2023-02-08 19:22:03 +01:00
2d25717acb Disable x264opts colorprim=bt2020:colormatrix=bt2020nc:transfer=smpte2084:chromaloc=2 2023-02-08 19:19:17 +01:00
c128723a1c Default slow preset for ks-mp4s (config) 2023-02-08 18:56:12 +01:00
9ff3034b05 Default slow preset for ks-mp4s 2023-02-08 18:53:32 +01:00
30132339f4 Update documentation 2022-10-12 13:17:48 +02:00
80badbf796 Update ks-tools packages links 2022-10-12 13:13:20 +02:00
q3aql
5736ddc91b Update Makefile 2022-04-21 21:07:36 +02:00
q3aql
ea7bd033e6 Script for rename ffmpeg to ffmpeg-av (My build for Arch Linux) 2022-04-21 21:03:27 +02:00
q3aql
2f21131b80 Change aresample to soft (squeeze/stretch) compensation 2022-04-21 20:41:30 +02:00
q3aql
6dad9f9318 Update README.md 2022-03-26 23:12:06 +01:00
q3aql
318bd98a2d Update doc 2022-03-26 14:53:14 +01:00
q3aql
41359771de README.md (v8.3.1) 2022-02-04 17:14:38 +01:00
q3aql
83c0343b5a Bump up version number to 8.3.1 2022-02-04 17:07:26 +01:00
q3aql
fec69289f8 Update vsync syntax (ks-mix) 2022-02-04 16:26:11 +01:00
q3aql
de8d05135e Fix fail to crop video with audio filter (ks-crop) 2022-02-04 16:25:16 +01:00
q3aql
4fe9b2a15d README.md (v8.3) 2022-01-28 19:02:13 +01:00
q3aql
a8bc1002ae Bump up version number to 8.3 2022-01-28 18:52:21 +01:00
q3aql
7af70dccf6 Fixed failure to display cut-off time (ks-mix) 2022-01-28 18:42:06 +01:00
q3aql
6e35a2a980 Text for entering the password is changed 2022-01-28 18:15:10 +01:00
q3aql
442dd14096 Update Makefile 2022-01-28 18:10:38 +01:00
q3aql
fbfb4c5969 Added error checking when defining time (ks-mix) 2022-01-28 18:05:25 +01:00
q3aql
cdb03d2157 Fix help info (ks-mix) 2022-01-28 16:49:19 +01:00
q3aql
dcbd799252 Update documentation 2022-01-25 20:21:47 +01:00
q3aql
8de980a6fc Add option for set port connection 2022-01-25 20:11:59 +01:00
q3aql
36535837e2 Fix info comment 2022-01-23 00:09:05 +01:00
q3aql
36fee80af7 Add option for legacy RSA Algorithm 2022-01-23 00:04:06 +01:00
q3aql
209c2167ab Add option for legacy RSA Algorithm 2022-01-23 00:03:17 +01:00
q3aql
9e970d5e37 README.md (v8.2) 2022-01-22 12:59:00 +01:00
q3aql
82da7c0b6d Bump up version number to 8.2 2022-01-22 12:52:37 +01:00
q3aql
3599bb9b38 Update Makefile 2022-01-22 12:38:54 +01:00
q3aql
d1f62b05a4 Update files-here.txt 2022-01-22 12:30:59 +01:00
q3aql
bacd8bb33a Update Makefile 2022-01-22 12:22:27 +01:00
q3aql
994aaa64e5 Add more detection format extensions 2022-01-22 12:13:28 +01:00
q3aql
e2f294877c Add check first connection to save fingerprint 2022-01-22 11:42:42 +01:00
q3aql
573a691fac Update documentation 2022-01-22 00:10:10 +01:00
q3aql
32a70bfeed Add more dependencies commands 2022-01-21 23:55:41 +01:00
q3aql
ef0ca8219e Show message if you use scp 2022-01-21 23:41:16 +01:00
q3aql
d2e28f22e6 Update documentation 2022-01-21 22:59:30 +01:00
q3aql
9253822184 Remove temp files 2022-01-21 22:50:47 +01:00
q3aql
27552047a8 Fix alias variable (ks-upr) 2022-01-21 22:50:16 +01:00
q3aql
65ce82f437 Remove temp files 2022-01-21 22:20:50 +01:00
q3aql
620ee69b65 Fix recursive upload with Cygwin 2022-01-21 22:19:41 +01:00
q3aql
2c034253b4 Fix upload & checksum fail with Cygwin (for Windows) 2022-01-21 22:06:47 +01:00
q3aql
9fc9c42f1a Add option for select scp or rsync for upload 2022-01-21 21:22:01 +01:00
q3aql
27a636b32c
Update README.md 2022-01-19 20:55:54 +01:00
q3aql
b9ec1ccda0 Update README.md (FFmpeg URL builds) 2022-01-19 19:57:53 +01:00
q3aql
393960c9c4 Update documentation (ks-crop) 2022-01-18 21:28:53 +01:00
q3aql
524ae47774 Update documentation (ks-crop) 2022-01-18 21:28:06 +01:00
q3aql
25068647bb Update documentation 2022-01-18 21:25:57 +01:00
q3aql
21520f4b83 Update documentation 2022-01-18 20:56:36 +01:00
q3aql
a255c296bf Update vsync & async syntax 2022-01-18 20:53:03 +01:00
q3aql
ac485f2139 README.md (v8.1) 2022-01-04 12:54:30 +01:00
q3aql
d32bec8f5b Bump up version number to 8.1 2022-01-04 12:35:09 +01:00
q3aql
7e07cae7fe Ask for confirmation before deleting the configuration 2022-01-04 12:10:33 +01:00
q3aql
7910ba6dc9 Add option for create configuration without upload directly 2022-01-04 11:58:24 +01:00
q3aql
90c373df23 Fix ISO Codes URL && add info for bitrate (ks-conf) 2022-01-04 11:22:17 +01:00
q3aql
3fbf90c630 Update documentation 2022-01-03 19:34:53 +01:00
q3aql
3c11961951 Check and migrate old configuration 2022-01-03 19:31:11 +01:00
q3aql
e1f657c6be Change config files for upload tools 2022-01-03 19:06:15 +01:00
q3aql
e6c738fc38 Remove dependencies for cygwin version 2022-01-02 19:10:35 +01:00
q3aql
65530e8796 Fix error reading config file (ks-conf) 2022-01-02 19:07:06 +01:00
q3aql
7c0ea17a11 Update README.md (v8.0) 2022-01-02 18:14:57 +01:00
q3aql
d2a79efa85 Bump up version number to 8.0 2022-01-02 18:14:43 +01:00
q3aql
d6a0385270 Bump up version number to 8.0 2022-01-02 17:20:24 +01:00
q3aql
75cd8bc8cc Update script for dependencies on Cygwin 2022-01-02 17:02:55 +01:00
q3aql
4e37689196 Update documentation 2022-01-02 16:47:57 +01:00
q3aql
19fd44fe58 Update README.md (ks-conf.md) 2022-01-02 16:39:06 +01:00
q3aql
d0fe75be0b Add doc for ks-conf 2022-01-02 16:35:47 +01:00
q3aql
93c8a858fc Add doc for ks-conf 2022-01-02 16:34:44 +01:00
q3aql
e69a8009b7 Update Makefile 2022-01-02 15:36:54 +01:00
q3aql
ee1eb401c1 Add tool for editing all configs 2022-01-02 15:30:48 +01:00
q3aql
74f8efc496 Update documentation 2022-01-02 12:28:09 +01:00
q3aql
f6664328ec Update documentation 2022-01-02 12:25:43 +01:00
q3aql
72c83f80e5 Read configuration from file on ~/.ks-tools/ 2022-01-02 12:17:53 +01:00
q3aql
27656677d3 Read configuration from file on ~/.ks-tools/ 2022-01-02 12:03:27 +01:00
q3aql
b8a51234bf
Update ks-mix.md 2021-08-03 15:30:48 +02:00
q3aql
3834c7a06c
Fix word on README.md 2021-08-03 15:16:16 +02:00
2945 changed files with 9173 additions and 10856 deletions

176
Makefile
View File

@ -23,8 +23,14 @@ install:
chmod +x $(PREFIX)/bin/ks-mp4s
cp -rf src/ks-mp4s-folder $(PREFIX)/bin/ks-mp4s-folder
chmod +x $(PREFIX)/bin/ks-mp4s-folder
cp -rf src/ks-av1s-folder $(PREFIX)/bin/ks-av1s-folder
chmod +x $(PREFIX)/bin/ks-av1s-folder
cp -rf src/ks-vob $(PREFIX)/bin/ks-vob
chmod +x $(PREFIX)/bin/ks-vob
cp -rf src/ks-av1 $(PREFIX)/bin/ks-av1
chmod +x $(PREFIX)/bin/ks-av1
cp -rf src/ks-av1s $(PREFIX)/bin/ks-av1s
chmod +x $(PREFIX)/bin/ks-av1s
cp -rf src/ks-oga $(PREFIX)/bin/ks-oga
chmod +x $(PREFIX)/bin/ks-oga
cp -rf src/ks-mp3 $(PREFIX)/bin/ks-mp3
@ -37,6 +43,8 @@ install:
chmod +x $(PREFIX)/bin/ks-mix
cp -rf src/ks-crop $(PREFIX)/bin/ks-crop
chmod +x $(PREFIX)/bin/ks-crop
cp -rf src/ks-conf $(PREFIX)/bin/ks-conf
chmod +x $(PREFIX)/bin/ks-conf
cp -rf wrapper/ks-mp4-wrapper $(PREFIX)/bin/ks-mp4-wrapper
chmod +x $(PREFIX)/bin/ks-mp4-wrapper
cp -rf wrapper/ks-mp4k-wrapper $(PREFIX)/bin/ks-mp4k-wrapper
@ -47,18 +55,12 @@ install:
chmod +x $(PREFIX)/bin/ks-avi-wrapper
cp -rf wrapper/ks-vob-wrapper $(PREFIX)/bin/ks-vob-wrapper
chmod +x $(PREFIX)/bin/ks-vob-wrapper
cp -rf wrapper/ks-av1-wrapper $(PREFIX)/bin/ks-av1-wrapper
chmod +x $(PREFIX)/bin/ks-av1-wrapper
cp -rf wrapper/ks-av1s-wrapper $(PREFIX)/bin/ks-av1s-wrapper
chmod +x $(PREFIX)/bin/ks-av1s-wrapper
cp -rf cygwin/cygwin-path $(PREFIX)/bin/cygwin-path
chmod +x $(PREFIX)/bin/cygwin-path
mkdir -p $(PREFIX)/share/ks-tools
cp -rf prompt/ks-tools-rc $(PREFIX)/share/ks-tools
cp -rf prompt/ks-tools $(PREFIX)/share/ks-tools
cp -rf prompt/ks-tools-zui $(PREFIX)/share/ks-tools
cp -rf prompt/ks-tools.svg $(PREFIX)/share/ks-tools
cp -rf prompt/ks-tools.desktop $(PREFIX)/share/ks-tools
cp -rf prompt/ks-tools.desktop $(PREFIX)/share/applications
cp -rf prompt/ks-tools-zui.desktop $(PREFIX)/share/ks-tools
chmod +x $(PREFIX)/share/ks-tools/ks-tools
chmod +x $(PREFIX)/share/ks-tools/ks-tools-zui
compile:
mkdir -p build/
@ -71,6 +73,7 @@ compile:
cp -rf src/ks-mp4k build
cp -rf src/ks-mp4s build
cp -rf src/ks-mp4s-folder build
cp -rf src/ks-av1s-folder build
cp -rf src/ks-oga build
cp -rf src/ks-oga-album build
cp -rf src/ks-upa build
@ -78,32 +81,43 @@ compile:
cp -rf src/ks-upr build
cp -rf src/ks-upv build
cp -rf src/ks-vob build
cp -rf src/ks-av1 build
cp -rf src/ks-av1s build
cp -rf src/ks-conf build
cp -rf wrapper/ks-avi-wrapper build
cp -rf wrapper/ks-mp4k-wrapper build
cp -rf wrapper/ks-mp4s-wrapper build
cp -rf wrapper/ks-mp4-wrapper build
cp -rf wrapper/ks-vob-wrapper build
shc -f build/ks-avi -o build/ks-avi.out
shc -f build/ks-crop -o build/ks-crop.out
shc -f build/ks-mix -o build/ks-mix.out
shc -f build/ks-mp3 -o build/ks-mp3.out
shc -f build/ks-mp3-album -o build/ks-mp3-album.out
shc -f build/ks-mp4 -o build/ks-mp4.out
shc -f build/ks-mp4k -o build/ks-mp4k.out
shc -f build/ks-mp4s -o build/ks-mp4s.out
shc -f build/ks-mp4s-folder -o build/ks-mp4s-folder.out
shc -f build/ks-oga -o build/ks-oga.out
shc -f build/ks-oga-album -o build/ks-oga-album.out
shc -f build/ks-upa -o build/ks-upa.out
shc -f build/ks-upf -o build/ks-upf.out
shc -f build/ks-upr -o build/ks-upr.out
shc -f build/ks-upv -o build/ks-upv.out
shc -f build/ks-vob -o build/ks-vob.out
shc -f build/ks-avi-wrapper -o build/ks-avi-wrapper.out
shc -f build/ks-mp4k-wrapper -o build/ks-mp4k-wrapper.out
shc -f build/ks-mp4s-wrapper -o build/ks-mp4s-wrapper.out
shc -f build/ks-mp4-wrapper -o build/ks-mp4-wrapper.out
shc -f build/ks-vob-wrapper -o build/ks-vob-wrapper.out
cp -rf wrapper/ks-av1-wrapper build
cp -rf wrapper/ks-av1s-wrapper build
shc -rS -f build/ks-avi -o build/ks-avi.out
shc -rS -f build/ks-crop -o build/ks-crop.out
shc -rS -f build/ks-mix -o build/ks-mix.out
shc -rS -f build/ks-mp3 -o build/ks-mp3.out
shc -rS -f build/ks-mp3-album -o build/ks-mp3-album.out
shc -rS -f build/ks-mp4 -o build/ks-mp4.out
shc -rS -f build/ks-mp4k -o build/ks-mp4k.out
shc -rS -f build/ks-mp4s -o build/ks-mp4s.out
shc -rS -f build/ks-mp4s-folder -o build/ks-mp4s-folder.out
shc -rS -f build/ks-av1s-folder -o build/ks-av1s-folder.out
shc -rS -f build/ks-oga -o build/ks-oga.out
shc -rS -f build/ks-oga-album -o build/ks-oga-album.out
shc -rS -f build/ks-upa -o build/ks-upa.out
shc -rS -f build/ks-upf -o build/ks-upf.out
shc -rS -f build/ks-upr -o build/ks-upr.out
shc -rS -f build/ks-upv -o build/ks-upv.out
shc -rS -f build/ks-vob -o build/ks-vob.out
shc -rS -f build/ks-av1 -o build/ks-av1.out
shc -rS -f build/ks-av1s -o build/ks-av1s.out
shc -rS -f build/ks-conf -o build/ks-conf.out
shc -rS -f build/ks-avi-wrapper -o build/ks-avi-wrapper.out
shc -rS -f build/ks-mp4k-wrapper -o build/ks-mp4k-wrapper.out
shc -rS -f build/ks-mp4s-wrapper -o build/ks-mp4s-wrapper.out
shc -rS -f build/ks-mp4-wrapper -o build/ks-mp4-wrapper.out
shc -rS -f build/ks-vob-wrapper -o build/ks-vob-wrapper.out
shc -rS -f build/ks-av1-wrapper -o build/ks-av1-wrapper.out
shc -rS -f build/ks-av1s-wrapper -o build/ks-av1s-wrapper.out
rm -rf build/ks-avi.out
rm -rf build/ks-crop.out
rm -rf build/ks-mix.out
@ -113,6 +127,7 @@ compile:
rm -rf build/ks-mp4k.out
rm -rf build/ks-mp4s.out
rm -rf build/ks-mp4s-folder.out
rm -rf build/ks-av1s-folder.out
rm -rf build/ks-oga.out
rm -rf build/ks-oga-album.out
rm -rf build/ks-upa.out
@ -120,11 +135,16 @@ compile:
rm -rf build/ks-upr.out
rm -rf build/ks-upv.out
rm -rf build/ks-vob.out
rm -rf build/ks-av1.out
rm -rf build/ks-av1s.out
rm -rf build/ks-conf.out
rm -rf build/ks-avi-wrapper.out
rm -rf build/ks-mp4k-wrapper.out
rm -rf build/ks-mp4s-wrapper.out
rm -rf build/ks-mp4-wrapper.out
rm -rf build/ks-vob-wrapper.out
rm -rf build/ks-av1-wrapper.out
rm -rf build/ks-av1s-wrapper.out
rm -rf build/ks-avi
rm -rf build/ks-crop
rm -rf build/ks-mix
@ -134,6 +154,7 @@ compile:
rm -rf build/ks-mp4k
rm -rf build/ks-mp4s
rm -rf build/ks-mp4s-folder
rm -rf build/ks-av1s-folder
rm -rf build/ks-oga
rm -rf build/ks-oga-album
rm -rf build/ks-upa
@ -141,11 +162,14 @@ compile:
rm -rf build/ks-upr
rm -rf build/ks-upv
rm -rf build/ks-vob
rm -rf build/ks-conf
rm -rf build/ks-avi-wrapper
rm -rf build/ks-mp4k-wrapper
rm -rf build/ks-mp4s-wrapper
rm -rf build/ks-mp4-wrapper
rm -rf build/ks-vob-wrapper
rm -rf build/ks-av1-wrapper
rm -rf build/ks-av1s-wrapper
mv build/ks-avi.x.c build/ks-avi.c
mv build/ks-crop.x.c build/ks-crop.c
mv build/ks-mix.x.c build/ks-mix.c
@ -155,6 +179,7 @@ compile:
mv build/ks-mp4k.x.c build/ks-mp4k.c
mv build/ks-mp4s.x.c build/ks-mp4s.c
mv build/ks-mp4s-folder.x.c build/ks-mp4s-folder.c
mv build/ks-av1s-folder.x.c build/ks-av1s-folder.c
mv build/ks-oga.x.c build/ks-oga.c
mv build/ks-oga-album.x.c build/ks-oga-album.c
mv build/ks-upa.x.c build/ks-upa.c
@ -162,32 +187,43 @@ compile:
mv build/ks-upr.x.c build/ks-upr.c
mv build/ks-upv.x.c build/ks-upv.c
mv build/ks-vob.x.c build/ks-vob.c
mv build/ks-av1.x.c build/ks-av1.c
mv build/ks-av1s.x.c build/ks-av1s.c
mv build/ks-conf.x.c build/ks-conf.c
mv build/ks-avi-wrapper.x.c build/ks-avi-wrapper.c
mv build/ks-mp4k-wrapper.x.c build/ks-mp4k-wrapper.c
mv build/ks-mp4s-wrapper.x.c build/ks-mp4s-wrapper.c
mv build/ks-mp4-wrapper.x.c build/ks-mp4-wrapper.c
mv build/ks-vob-wrapper.x.c build/ks-vob-wrapper.c
gcc build/ks-avi.c -o build/ks-avi
gcc build/ks-avi-wrapper.c -o build/ks-avi-wrapper
gcc build/ks-crop.c -o build/ks-crop
gcc build/ks-mix.c -o build/ks-mix
gcc build/ks-mp3-album.c -o build/ks-mp3-album
gcc build/ks-mp3.c -o build/ks-mp3
gcc build/ks-mp4.c -o build/ks-mp4
gcc build/ks-mp4k.c -o build/ks-mp4k
gcc build/ks-mp4k-wrapper.c -o build/ks-mp4k-wrapper
gcc build/ks-mp4s.c -o build/ks-mp4s
gcc build/ks-mp4s-folder.c -o build/ks-mp4s-folder
gcc build/ks-mp4s-wrapper.c -o build/ks-mp4s-wrapper
gcc build/ks-mp4-wrapper.c -o build/ks-mp4-wrapper
gcc build/ks-oga-album.c -o build/ks-oga-album
gcc build/ks-oga.c -o build/ks-oga
gcc build/ks-upa.c -o build/ks-upa
gcc build/ks-upf.c -o build/ks-upf
gcc build/ks-upr.c -o build/ks-upr
gcc build/ks-upv.c -o build/ks-upv
gcc build/ks-vob.c -o build/ks-vob
gcc build/ks-vob-wrapper.c -o build/ks-vob-wrapper
mv build/ks-av1-wrapper.x.c build/ks-av1-wrapper.c
mv build/ks-av1s-wrapper.x.c build/ks-av1s-wrapper.c
gcc -static build/ks-avi.c -o build/ks-avi
gcc -static build/ks-avi-wrapper.c -o build/ks-avi-wrapper
gcc -static build/ks-crop.c -o build/ks-crop
gcc -static build/ks-mix.c -o build/ks-mix
gcc -static build/ks-mp3-album.c -o build/ks-mp3-album
gcc -static build/ks-mp3.c -o build/ks-mp3
gcc -static build/ks-mp4.c -o build/ks-mp4
gcc -static build/ks-mp4k.c -o build/ks-mp4k
gcc -static build/ks-mp4k-wrapper.c -o build/ks-mp4k-wrapper
gcc -static build/ks-mp4s.c -o build/ks-mp4s
gcc -static build/ks-mp4s-folder.c -o build/ks-mp4s-folder
gcc -static build/ks-av1s-folder.c -o build/ks-av1s-folder
gcc -static build/ks-mp4s-wrapper.c -o build/ks-mp4s-wrapper
gcc -static build/ks-mp4-wrapper.c -o build/ks-mp4-wrapper
gcc -static build/ks-oga-album.c -o build/ks-oga-album
gcc -static build/ks-oga.c -o build/ks-oga
gcc -static build/ks-upa.c -o build/ks-upa
gcc -static build/ks-upf.c -o build/ks-upf
gcc -static build/ks-upr.c -o build/ks-upr
gcc -static build/ks-upv.c -o build/ks-upv
gcc -static build/ks-vob.c -o build/ks-vob
gcc -static build/ks-av1.c -o build/ks-av1
gcc -static build/ks-av1s.c -o build/ks-av1s
gcc -static build/ks-conf.c -o build/ks-conf
gcc -static build/ks-vob-wrapper.c -o build/ks-vob-wrapper
gcc -static build/ks-av1-wrapper.c -o build/ks-av1-wrapper
gcc -static build/ks-av1s-wrapper.c -o build/ks-av1s-wrapper
compile-install:
cp -rf build/ks-upv $(PREFIX)/bin/ks-upv
@ -208,8 +244,14 @@ compile-install:
chmod +x $(PREFIX)/bin/ks-mp4s
cp -rf build/ks-mp4s-folder $(PREFIX)/bin/ks-mp4s-folder
chmod +x $(PREFIX)/bin/ks-mp4s-folder
cp -rf build/ks-av1s-folder $(PREFIX)/bin/ks-av1s-folder
chmod +x $(PREFIX)/bin/ks-av1s-folder
cp -rf build/ks-vob $(PREFIX)/bin/ks-vob
chmod +x $(PREFIX)/bin/ks-vob
cp -rf build/ks-av1 $(PREFIX)/bin/ks-av1
chmod +x $(PREFIX)/bin/ks-av1
cp -rf build/ks-av1s $(PREFIX)/bin/ks-av1s
chmod +x $(PREFIX)/bin/ks-av1s
cp -rf build/ks-oga $(PREFIX)/bin/ks-oga
chmod +x $(PREFIX)/bin/ks-oga
cp -rf build/ks-mp3 $(PREFIX)/bin/ks-mp3
@ -222,6 +264,8 @@ compile-install:
chmod +x $(PREFIX)/bin/ks-mix
cp -rf build/ks-crop $(PREFIX)/bin/ks-crop
chmod +x $(PREFIX)/bin/ks-crop
cp -rf build/ks-conf $(PREFIX)/bin/ks-conf
chmod +x $(PREFIX)/bin/ks-conf
cp -rf build/ks-mp4-wrapper $(PREFIX)/bin/ks-mp4-wrapper
chmod +x $(PREFIX)/bin/ks-mp4-wrapper
cp -rf build/ks-mp4k-wrapper $(PREFIX)/bin/ks-mp4k-wrapper
@ -232,18 +276,12 @@ compile-install:
chmod +x $(PREFIX)/bin/ks-avi-wrapper
cp -rf build/ks-vob-wrapper $(PREFIX)/bin/ks-vob-wrapper
chmod +x $(PREFIX)/bin/ks-vob-wrapper
cp -rf build/ks-av1-wrapper $(PREFIX)/bin/ks-av1-wrapper
chmod +x $(PREFIX)/bin/ks-av1-wrapper
cp -rf build/ks-av1s-wrapper $(PREFIX)/bin/ks-av1s-wrapper
chmod +x $(PREFIX)/bin/ks-av1s-wrapper
cp -rf cygwin/cygwin-path $(PREFIX)/bin/cygwin-path
chmod +x $(PREFIX)/bin/cygwin-path
mkdir -p $(PREFIX)/share/ks-tools
cp -rf prompt/ks-tools-rc $(PREFIX)/share/ks-tools
cp -rf prompt/ks-tools $(PREFIX)/share/ks-tools
cp -rf prompt/ks-tools-zui $(PREFIX)/share/ks-tools
cp -rf prompt/ks-tools.svg $(PREFIX)/share/ks-tools
cp -rf prompt/ks-tools.desktop $(PREFIX)/share/ks-tools
cp -rf prompt/ks-tools.desktop $(PREFIX)/share/applications
cp -rf prompt/ks-tools-zui.desktop $(PREFIX)/share/ks-tools
chmod +x $(PREFIX)/share/ks-tools/ks-tools
chmod +x $(PREFIX)/share/ks-tools/ks-tools-zui
compile-clean:
rm -rf build/ks-avi
@ -255,6 +293,7 @@ compile-clean:
rm -rf build/ks-mp4k
rm -rf build/ks-mp4s
rm -rf build/ks-mp4s-folder
rm -rf build/ks-av1s-folder
rm -rf build/ks-oga
rm -rf build/ks-oga-album
rm -rf build/ks-upa
@ -262,11 +301,16 @@ compile-clean:
rm -rf build/ks-upr
rm -rf build/ks-upv
rm -rf build/ks-vob
rm -rf build/ks-av1
rm -rf build/ks-av1s
rm -rf build/ks-conf
rm -rf build/ks-avi-wrapper
rm -rf build/ks-mp4k-wrapper
rm -rf build/ks-mp4s-wrapper
rm -rf build/ks-mp4-wrapper
rm -rf build/ks-vob-wrapper
rm -rf build/ks-av1-wrapper
rm -rf build/ks-av1s-wrapper
uninstall:
rm -rf $(PREFIX)/bin/ks-upv
@ -278,18 +322,22 @@ uninstall:
rm -rf $(PREFIX)/bin/ks-mp4k
rm -rf $(PREFIX)/bin/ks-mp4s
rm -rf $(PREFIX)/bin/ks-mp4s-folder
rm -rf $(PREFIX)/bin/ks-av1s-folder
rm -rf $(PREFIX)/bin/ks-vob
rm -rf $(PREFIX)/bin/ks-av1
rm -rf $(PREFIX)/bin/ks-av1s
rm -rf $(PREFIX)/bin/ks-oga
rm -rf $(PREFIX)/bin/ks-oga-album
rm -rf $(PREFIX)/bin/ks-mp3
rm -rf $(PREFIX)/bin/ks-mp3-album
rm -rf $(PREFIX)/bin/ks-mix
rm -rf $(PREFIX)/bin/ks-crop
rm -rf $(PREFIX)/bin/ks-conf
rm -rf $(PREFIX)/bin/ks-mp4-wrapper
rm -rf $(PREFIX)/bin/ks-mp4k-wrapper
rm -rf $(PREFIX)/bin/ks-mp4s-wrapper
rm -rf $(PREFIX)/bin/ks-avi-wrapper
rm -rf $(PREFIX)/bin/ks-vob-wrapper
rm -rf $(PREFIX)/bin/ks-av1-wrapper
rm -rf $(PREFIX)/bin/ks-av1s-wrapper
rm -rf $(PREFIX)/bin/cygwin-path
rm -rf $(PREFIX)/share/ks-tools
rm -rf $(PREFIX)/share/applications/ks-tools.desktop

96
Makefile.Cygwin Executable file
View File

@ -0,0 +1,96 @@
##################################
# Installing ks-tools (Cygwin) #
##################################
PREFIX=/usr
install:
cp -rf src/ks-upv $(PREFIX)/bin/ks-upv
chmod +x $(PREFIX)/bin/ks-upv
cp -rf src/ks-upa $(PREFIX)/bin/ks-upa
chmod +x $(PREFIX)/bin/ks-upa
cp -rf src/ks-upf $(PREFIX)/bin/ks-upf
chmod +x $(PREFIX)/bin/ks-upf
cp -rf src/ks-upr $(PREFIX)/bin/ks-upr
chmod +x $(PREFIX)/bin/ks-upr
cp -rf src/ks-avi $(PREFIX)/bin/ks-avi
chmod +x $(PREFIX)/bin/ks-avi
cp -rf src/ks-mp4 $(PREFIX)/bin/ks-mp4
chmod +x $(PREFIX)/bin/ks-mp4
cp -rf src/ks-mp4k $(PREFIX)/bin/ks-mp4k
chmod +x $(PREFIX)/bin/ks-mp4k
cp -rf src/ks-mp4s $(PREFIX)/bin/ks-mp4s
chmod +x $(PREFIX)/bin/ks-mp4s
cp -rf src/ks-mp4s-folder $(PREFIX)/bin/ks-mp4s-folder
chmod +x $(PREFIX)/bin/ks-mp4s-folder
cp -rf src/ks-av1s-folder $(PREFIX)/bin/ks-av1s-folder
chmod +x $(PREFIX)/bin/ks-av1s-folder
cp -rf src/ks-vob $(PREFIX)/bin/ks-vob
chmod +x $(PREFIX)/bin/ks-vob
cp -rf src/ks-av1 $(PREFIX)/bin/ks-av1
chmod +x $(PREFIX)/bin/ks-av1
cp -rf src/ks-av1s $(PREFIX)/bin/ks-av1s
chmod +x $(PREFIX)/bin/ks-av1s
cp -rf src/ks-oga $(PREFIX)/bin/ks-oga
chmod +x $(PREFIX)/bin/ks-oga
cp -rf src/ks-mp3 $(PREFIX)/bin/ks-mp3
chmod +x $(PREFIX)/bin/ks-mp3
cp -rf src/ks-oga-album $(PREFIX)/bin/ks-oga-album
chmod +x $(PREFIX)/bin/ks-oga-album
cp -rf src/ks-mp3-album $(PREFIX)/bin/ks-mp3-album
chmod +x $(PREFIX)/bin/ks-mp3-album
cp -rf src/ks-mix $(PREFIX)/bin/ks-mix
chmod +x $(PREFIX)/bin/ks-mix
cp -rf src/ks-crop $(PREFIX)/bin/ks-crop
chmod +x $(PREFIX)/bin/ks-crop
cp -rf src/ks-conf $(PREFIX)/bin/ks-conf
chmod +x $(PREFIX)/bin/ks-conf
cp -rf wrapper/ks-mp4-wrapper $(PREFIX)/bin/ks-mp4-wrapper
chmod +x $(PREFIX)/bin/ks-mp4-wrapper
cp -rf wrapper/ks-mp4k-wrapper $(PREFIX)/bin/ks-mp4k-wrapper
chmod +x $(PREFIX)/bin/ks-mp4k-wrapper
cp -rf wrapper/ks-mp4s-wrapper $(PREFIX)/bin/ks-mp4s-wrapper
chmod +x $(PREFIX)/bin/ks-mp4s-wrapper
cp -rf wrapper/ks-avi-wrapper $(PREFIX)/bin/ks-avi-wrapper
chmod +x $(PREFIX)/bin/ks-avi-wrapper
cp -rf wrapper/ks-vob-wrapper $(PREFIX)/bin/ks-vob-wrapper
chmod +x $(PREFIX)/bin/ks-vob-wrapper
cp -rf wrapper/ks-av1-wrapper $(PREFIX)/bin/ks-av1-wrapper
chmod +x $(PREFIX)/bin/ks-av1-wrapper
cp -rf wrapper/ks-av1s-wrapper $(PREFIX)/bin/ks-av1s-wrapper
chmod +x $(PREFIX)/bin/ks-av1s-wrapper
cp -rf cygwin/cygwin-path $(PREFIX)/bin/cygwin-path
chmod +x $(PREFIX)/bin/cygwin-path
cp -rf cygwin/cygwin-alias.sh $(PREFIX)/bin
chmod +x $(PREFIX)/bin/cygwin-alias.sh
uninstall:
rm -rf $(PREFIX)/bin/ks-upv
rm -rf $(PREFIX)/bin/ks-upa
rm -rf $(PREFIX)/bin/ks-upf
rm -rf $(PREFIX)/bin/ks-upr
rm -rf $(PREFIX)/bin/ks-avi
rm -rf $(PREFIX)/bin/ks-mp4
rm -rf $(PREFIX)/bin/ks-mp4k
rm -rf $(PREFIX)/bin/ks-mp4s
rm -rf $(PREFIX)/bin/ks-mp4s-folder
rm -rf $(PREFIX)/bin/ks-av1s-folder
rm -rf $(PREFIX)/bin/ks-vob
rm -rf $(PREFIX)/bin/ks-av1
rm -rf $(PREFIX)/bin/ks-av1s
rm -rf $(PREFIX)/bin/ks-oga
rm -rf $(PREFIX)/bin/ks-oga-album
rm -rf $(PREFIX)/bin/ks-mp3
rm -rf $(PREFIX)/bin/ks-mp3-album
rm -rf $(PREFIX)/bin/ks-mix
rm -rf $(PREFIX)/bin/ks-crop
rm -rf $(PREFIX)/bin/ks-conf
rm -rf $(PREFIX)/bin/ks-mp4-wrapper
rm -rf $(PREFIX)/bin/ks-mp4k-wrapper
rm -rf $(PREFIX)/bin/ks-mp4s-wrapper
rm -rf $(PREFIX)/bin/ks-avi-wrapper
rm -rf $(PREFIX)/bin/ks-vob-wrapper
rm -rf $(PREFIX)/bin/ks-av1-wrapper
rm -rf $(PREFIX)/bin/ks-av1s-wrapper
rm -rf $(PREFIX)/bin/cygwin-path
rm -rf $(PREFIX)/bin/cygwin-alias.sh

343
Makefile.linuxbrew Executable file
View File

@ -0,0 +1,343 @@
#################################################
# Installing ks-tools (Linux Homebrew) #
#################################################
PREFIX=/home/linuxbrew/.linuxbrew
install:
cp -rf src/ks-upv $(PREFIX)/bin/ks-upv
chmod +x $(PREFIX)/bin/ks-upv
cp -rf src/ks-upa $(PREFIX)/bin/ks-upa
chmod +x $(PREFIX)/bin/ks-upa
cp -rf src/ks-upf $(PREFIX)/bin/ks-upf
chmod +x $(PREFIX)/bin/ks-upf
cp -rf src/ks-upr $(PREFIX)/bin/ks-upr
chmod +x $(PREFIX)/bin/ks-upr
cp -rf src/ks-avi $(PREFIX)/bin/ks-avi
chmod +x $(PREFIX)/bin/ks-avi
cp -rf src/ks-mp4 $(PREFIX)/bin/ks-mp4
chmod +x $(PREFIX)/bin/ks-mp4
cp -rf src/ks-mp4k $(PREFIX)/bin/ks-mp4k
chmod +x $(PREFIX)/bin/ks-mp4k
cp -rf src/ks-mp4s $(PREFIX)/bin/ks-mp4s
chmod +x $(PREFIX)/bin/ks-mp4s
cp -rf src/ks-mp4s-folder $(PREFIX)/bin/ks-mp4s-folder
chmod +x $(PREFIX)/bin/ks-mp4s-folder
cp -rf src/ks-av1s-folder $(PREFIX)/bin/ks-av1s-folder
chmod +x $(PREFIX)/bin/ks-av1s-folder
cp -rf src/ks-vob $(PREFIX)/bin/ks-vob
chmod +x $(PREFIX)/bin/ks-vob
cp -rf src/ks-av1 $(PREFIX)/bin/ks-av1
chmod +x $(PREFIX)/bin/ks-av1
cp -rf src/ks-av1s $(PREFIX)/bin/ks-av1s
chmod +x $(PREFIX)/bin/ks-av1s
cp -rf src/ks-oga $(PREFIX)/bin/ks-oga
chmod +x $(PREFIX)/bin/ks-oga
cp -rf src/ks-mp3 $(PREFIX)/bin/ks-mp3
chmod +x $(PREFIX)/bin/ks-mp3
cp -rf src/ks-oga-album $(PREFIX)/bin/ks-oga-album
chmod +x $(PREFIX)/bin/ks-oga-album
cp -rf src/ks-mp3-album $(PREFIX)/bin/ks-mp3-album
chmod +x $(PREFIX)/bin/ks-mp3-album
cp -rf src/ks-mix $(PREFIX)/bin/ks-mix
chmod +x $(PREFIX)/bin/ks-mix
cp -rf src/ks-crop $(PREFIX)/bin/ks-crop
chmod +x $(PREFIX)/bin/ks-crop
cp -rf src/ks-conf $(PREFIX)/bin/ks-conf
chmod +x $(PREFIX)/bin/ks-conf
cp -rf wrapper/ks-mp4-wrapper $(PREFIX)/bin/ks-mp4-wrapper
chmod +x $(PREFIX)/bin/ks-mp4-wrapper
cp -rf wrapper/ks-mp4k-wrapper $(PREFIX)/bin/ks-mp4k-wrapper
chmod +x $(PREFIX)/bin/ks-mp4k-wrapper
cp -rf wrapper/ks-mp4s-wrapper $(PREFIX)/bin/ks-mp4s-wrapper
chmod +x $(PREFIX)/bin/ks-mp4s-wrapper
cp -rf wrapper/ks-avi-wrapper $(PREFIX)/bin/ks-avi-wrapper
chmod +x $(PREFIX)/bin/ks-avi-wrapper
cp -rf wrapper/ks-vob-wrapper $(PREFIX)/bin/ks-vob-wrapper
chmod +x $(PREFIX)/bin/ks-vob-wrapper
cp -rf wrapper/ks-av1-wrapper $(PREFIX)/bin/ks-av1-wrapper
chmod +x $(PREFIX)/bin/ks-av1-wrapper
cp -rf wrapper/ks-av1s-wrapper $(PREFIX)/bin/ks-av1s-wrapper
chmod +x $(PREFIX)/bin/ks-av1s-wrapper
cp -rf cygwin/cygwin-path $(PREFIX)/bin/cygwin-path
chmod +x $(PREFIX)/bin/cygwin-path
compile:
mkdir -p build/
cp -rf src/ks-avi build
cp -rf src/ks-crop build
cp -rf src/ks-mix build
cp -rf src/ks-mp3 build
cp -rf src/ks-mp3-album build
cp -rf src/ks-mp4 build
cp -rf src/ks-mp4k build
cp -rf src/ks-mp4s build
cp -rf src/ks-mp4s-folder build
cp -rf src/ks-av1s-folder build
cp -rf src/ks-oga build
cp -rf src/ks-oga-album build
cp -rf src/ks-upa build
cp -rf src/ks-upf build
cp -rf src/ks-upr build
cp -rf src/ks-upv build
cp -rf src/ks-vob build
cp -rf src/ks-av1 build
cp -rf src/ks-av1s build
cp -rf src/ks-conf build
cp -rf wrapper/ks-avi-wrapper build
cp -rf wrapper/ks-mp4k-wrapper build
cp -rf wrapper/ks-mp4s-wrapper build
cp -rf wrapper/ks-mp4-wrapper build
cp -rf wrapper/ks-vob-wrapper build
cp -rf wrapper/ks-av1-wrapper build
cp -rf wrapper/ks-av1s-wrapper build
shc -rS -f build/ks-avi -o build/ks-avi.out
shc -rS -f build/ks-crop -o build/ks-crop.out
shc -rS -f build/ks-mix -o build/ks-mix.out
shc -rS -f build/ks-mp3 -o build/ks-mp3.out
shc -rS -f build/ks-mp3-album -o build/ks-mp3-album.out
shc -rS -f build/ks-mp4 -o build/ks-mp4.out
shc -rS -f build/ks-mp4k -o build/ks-mp4k.out
shc -rS -f build/ks-mp4s -o build/ks-mp4s.out
shc -rS -f build/ks-mp4s-folder -o build/ks-mp4s-folder.out
shc -rS -f build/ks-av1s-folder -o build/ks-av1s-folder.out
shc -rS -f build/ks-oga -o build/ks-oga.out
shc -rS -f build/ks-oga-album -o build/ks-oga-album.out
shc -rS -f build/ks-upa -o build/ks-upa.out
shc -rS -f build/ks-upf -o build/ks-upf.out
shc -rS -f build/ks-upr -o build/ks-upr.out
shc -rS -f build/ks-upv -o build/ks-upv.out
shc -rS -f build/ks-vob -o build/ks-vob.out
shc -rS -f build/ks-av1 -o build/ks-av1.out
shc -rS -f build/ks-av1s -o build/ks-av1s.out
shc -rS -f build/ks-conf -o build/ks-conf.out
shc -rS -f build/ks-avi-wrapper -o build/ks-avi-wrapper.out
shc -rS -f build/ks-mp4k-wrapper -o build/ks-mp4k-wrapper.out
shc -rS -f build/ks-mp4s-wrapper -o build/ks-mp4s-wrapper.out
shc -rS -f build/ks-mp4-wrapper -o build/ks-mp4-wrapper.out
shc -rS -f build/ks-vob-wrapper -o build/ks-vob-wrapper.out
shc -rS -f build/ks-av1-wrapper -o build/ks-av1-wrapper.out
shc -rS -f build/ks-av1s-wrapper -o build/ks-av1s-wrapper.out
rm -rf build/ks-avi.out
rm -rf build/ks-crop.out
rm -rf build/ks-mix.out
rm -rf build/ks-mp3.out
rm -rf build/ks-mp3-album.out
rm -rf build/ks-mp4.out
rm -rf build/ks-mp4k.out
rm -rf build/ks-mp4s.out
rm -rf build/ks-mp4s-folder.out
rm -rf build/ks-av1s-folder.out
rm -rf build/ks-oga.out
rm -rf build/ks-oga-album.out
rm -rf build/ks-upa.out
rm -rf build/ks-upf.out
rm -rf build/ks-upr.out
rm -rf build/ks-upv.out
rm -rf build/ks-vob.out
rm -rf build/ks-av1.out
rm -rf build/ks-av1s.out
rm -rf build/ks-conf.out
rm -rf build/ks-avi-wrapper.out
rm -rf build/ks-mp4k-wrapper.out
rm -rf build/ks-mp4s-wrapper.out
rm -rf build/ks-mp4-wrapper.out
rm -rf build/ks-vob-wrapper.out
rm -rf build/ks-av1-wrapper.out
rm -rf build/ks-av1s-wrapper.out
rm -rf build/ks-avi
rm -rf build/ks-crop
rm -rf build/ks-mix
rm -rf build/ks-mp3
rm -rf build/ks-mp3-album
rm -rf build/ks-mp4
rm -rf build/ks-mp4k
rm -rf build/ks-mp4s
rm -rf build/ks-mp4s-folder
rm -rf build/ks-av1s-folder
rm -rf build/ks-oga
rm -rf build/ks-oga-album
rm -rf build/ks-upa
rm -rf build/ks-upf
rm -rf build/ks-upr
rm -rf build/ks-upv
rm -rf build/ks-vob
rm -rf build/ks-conf
rm -rf build/ks-avi-wrapper
rm -rf build/ks-mp4k-wrapper
rm -rf build/ks-mp4s-wrapper
rm -rf build/ks-mp4-wrapper
rm -rf build/ks-vob-wrapper
rm -rf build/ks-av1-wrapper
rm -rf build/ks-av1s-wrapper
mv build/ks-avi.x.c build/ks-avi.c
mv build/ks-crop.x.c build/ks-crop.c
mv build/ks-mix.x.c build/ks-mix.c
mv build/ks-mp3.x.c build/ks-mp3.c
mv build/ks-mp3-album.x.c build/ks-mp3-album.c
mv build/ks-mp4.x.c build/ks-mp4.c
mv build/ks-mp4k.x.c build/ks-mp4k.c
mv build/ks-mp4s.x.c build/ks-mp4s.c
mv build/ks-mp4s-folder.x.c build/ks-mp4s-folder.c
mv build/ks-av1s-folder.x.c build/ks-av1s-folder.c
mv build/ks-oga.x.c build/ks-oga.c
mv build/ks-oga-album.x.c build/ks-oga-album.c
mv build/ks-upa.x.c build/ks-upa.c
mv build/ks-upf.x.c build/ks-upf.c
mv build/ks-upr.x.c build/ks-upr.c
mv build/ks-upv.x.c build/ks-upv.c
mv build/ks-vob.x.c build/ks-vob.c
mv build/ks-av1.x.c build/ks-av1.c
mv build/ks-av1s.x.c build/ks-av1s.c
mv build/ks-conf.x.c build/ks-conf.c
mv build/ks-avi-wrapper.x.c build/ks-avi-wrapper.c
mv build/ks-mp4k-wrapper.x.c build/ks-mp4k-wrapper.c
mv build/ks-mp4s-wrapper.x.c build/ks-mp4s-wrapper.c
mv build/ks-mp4-wrapper.x.c build/ks-mp4-wrapper.c
mv build/ks-vob-wrapper.x.c build/ks-vob-wrapper.c
mv build/ks-av1-wrapper.x.c build/ks-av1-wrapper.c
mv build/ks-av1s-wrapper.x.c build/ks-av1s-wrapper.c
gcc -static build/ks-avi.c -o build/ks-avi
gcc -static build/ks-avi-wrapper.c -o build/ks-avi-wrapper
gcc -static build/ks-crop.c -o build/ks-crop
gcc -static build/ks-mix.c -o build/ks-mix
gcc -static build/ks-mp3-album.c -o build/ks-mp3-album
gcc -static build/ks-mp3.c -o build/ks-mp3
gcc -static build/ks-mp4.c -o build/ks-mp4
gcc -static build/ks-mp4k.c -o build/ks-mp4k
gcc -static build/ks-mp4k-wrapper.c -o build/ks-mp4k-wrapper
gcc -static build/ks-mp4s.c -o build/ks-mp4s
gcc -static build/ks-mp4s-folder.c -o build/ks-mp4s-folder
gcc -static build/ks-av1s-folder.c -o build/ks-av1s-folder
gcc -static build/ks-mp4s-wrapper.c -o build/ks-mp4s-wrapper
gcc -static build/ks-mp4-wrapper.c -o build/ks-mp4-wrapper
gcc -static build/ks-oga-album.c -o build/ks-oga-album
gcc -static build/ks-oga.c -o build/ks-oga
gcc -static build/ks-upa.c -o build/ks-upa
gcc -static build/ks-upf.c -o build/ks-upf
gcc -static build/ks-upr.c -o build/ks-upr
gcc -static build/ks-upv.c -o build/ks-upv
gcc -static build/ks-vob.c -o build/ks-vob
gcc -static build/ks-av1.c -o build/ks-av1
gcc -static build/ks-av1s.c -o build/ks-av1s
gcc -static build/ks-conf.c -o build/ks-conf
gcc -static build/ks-vob-wrapper.c -o build/ks-vob-wrapper
gcc -static build/ks-av1-wrapper.c -o build/ks-av1-wrapper
gcc -static build/ks-av1s-wrapper.c -o build/ks-av1s-wrapper
compile-install:
cp -rf build/ks-upv $(PREFIX)/bin/ks-upv
chmod +x $(PREFIX)/bin/ks-upv
cp -rf build/ks-upa $(PREFIX)/bin/ks-upa
chmod +x $(PREFIX)/bin/ks-upa
cp -rf build/ks-upf $(PREFIX)/bin/ks-upf
chmod +x $(PREFIX)/bin/ks-upf
cp -rf build/ks-upr $(PREFIX)/bin/ks-upr
chmod +x $(PREFIX)/bin/ks-upr
cp -rf build/ks-avi $(PREFIX)/bin/ks-avi
chmod +x $(PREFIX)/bin/ks-avi
cp -rf build/ks-mp4 $(PREFIX)/bin/ks-mp4
chmod +x $(PREFIX)/bin/ks-mp4
cp -rf build/ks-mp4k $(PREFIX)/bin/ks-mp4k
chmod +x $(PREFIX)/bin/ks-mp4k
cp -rf build/ks-mp4s $(PREFIX)/bin/ks-mp4s
chmod +x $(PREFIX)/bin/ks-mp4s
cp -rf build/ks-mp4s-folder $(PREFIX)/bin/ks-mp4s-folder
chmod +x $(PREFIX)/bin/ks-mp4s-folder
cp -rf build/ks-av1s-folder $(PREFIX)/bin/ks-av1s-folder
chmod +x $(PREFIX)/bin/ks-av1s-folder
cp -rf build/ks-vob $(PREFIX)/bin/ks-vob
chmod +x $(PREFIX)/bin/ks-vob
cp -rf build/ks-av1 $(PREFIX)/bin/ks-av1
chmod +x $(PREFIX)/bin/ks-av1
cp -rf build/ks-av1s $(PREFIX)/bin/ks-av1s
chmod +x $(PREFIX)/bin/ks-av1s
cp -rf build/ks-oga $(PREFIX)/bin/ks-oga
chmod +x $(PREFIX)/bin/ks-oga
cp -rf build/ks-mp3 $(PREFIX)/bin/ks-mp3
chmod +x $(PREFIX)/bin/ks-mp3
cp -rf build/ks-oga-album $(PREFIX)/bin/ks-oga-album
chmod +x $(PREFIX)/bin/ks-oga-album
cp -rf build/ks-mp3-album $(PREFIX)/bin/ks-mp3-album
chmod +x $(PREFIX)/bin/ks-mp3-album
cp -rf build/ks-mix $(PREFIX)/bin/ks-mix
chmod +x $(PREFIX)/bin/ks-mix
cp -rf build/ks-crop $(PREFIX)/bin/ks-crop
chmod +x $(PREFIX)/bin/ks-crop
cp -rf build/ks-conf $(PREFIX)/bin/ks-conf
chmod +x $(PREFIX)/bin/ks-conf
cp -rf build/ks-mp4-wrapper $(PREFIX)/bin/ks-mp4-wrapper
chmod +x $(PREFIX)/bin/ks-mp4-wrapper
cp -rf build/ks-mp4k-wrapper $(PREFIX)/bin/ks-mp4k-wrapper
chmod +x $(PREFIX)/bin/ks-mp4k-wrapper
cp -rf build/ks-mp4s-wrapper $(PREFIX)/bin/ks-mp4s-wrapper
chmod +x $(PREFIX)/bin/ks-mp4s-wrapper
cp -rf build/ks-avi-wrapper $(PREFIX)/bin/ks-avi-wrapper
chmod +x $(PREFIX)/bin/ks-avi-wrapper
cp -rf build/ks-vob-wrapper $(PREFIX)/bin/ks-vob-wrapper
chmod +x $(PREFIX)/bin/ks-vob-wrapper
cp -rf build/ks-av1-wrapper $(PREFIX)/bin/ks-av1-wrapper
chmod +x $(PREFIX)/bin/ks-av1-wrapper
cp -rf build/ks-av1s-wrapper $(PREFIX)/bin/ks-av1s-wrapper
chmod +x $(PREFIX)/bin/ks-av1s-wrapper
cp -rf cygwin/cygwin-path $(PREFIX)/bin/cygwin-path
chmod +x $(PREFIX)/bin/cygwin-path
compile-clean:
rm -rf build/ks-avi
rm -rf build/ks-crop
rm -rf build/ks-mix
rm -rf build/ks-mp3
rm -rf build/ks-mp3-album
rm -rf build/ks-mp4
rm -rf build/ks-mp4k
rm -rf build/ks-mp4s
rm -rf build/ks-mp4s-folder
rm -rf build/ks-av1s-folder
rm -rf build/ks-oga
rm -rf build/ks-oga-album
rm -rf build/ks-upa
rm -rf build/ks-upf
rm -rf build/ks-upr
rm -rf build/ks-upv
rm -rf build/ks-vob
rm -rf build/ks-av1
rm -rf build/ks-av1s
rm -rf build/ks-conf
rm -rf build/ks-avi-wrapper
rm -rf build/ks-mp4k-wrapper
rm -rf build/ks-mp4s-wrapper
rm -rf build/ks-mp4-wrapper
rm -rf build/ks-vob-wrapper
rm -rf build/ks-av1-wrapper
rm -rf build/ks-av1s-wrapper
uninstall:
rm -rf $(PREFIX)/bin/ks-upv
rm -rf $(PREFIX)/bin/ks-upa
rm -rf $(PREFIX)/bin/ks-upf
rm -rf $(PREFIX)/bin/ks-upr
rm -rf $(PREFIX)/bin/ks-avi
rm -rf $(PREFIX)/bin/ks-mp4
rm -rf $(PREFIX)/bin/ks-mp4k
rm -rf $(PREFIX)/bin/ks-mp4s
rm -rf $(PREFIX)/bin/ks-mp4s-folder
rm -rf $(PREFIX)/bin/ks-av1s-folder
rm -rf $(PREFIX)/bin/ks-vob
rm -rf $(PREFIX)/bin/ks-av1
rm -rf $(PREFIX)/bin/ks-av1s
rm -rf $(PREFIX)/bin/ks-oga
rm -rf $(PREFIX)/bin/ks-oga-album
rm -rf $(PREFIX)/bin/ks-mp3
rm -rf $(PREFIX)/bin/ks-mp3-album
rm -rf $(PREFIX)/bin/ks-mix
rm -rf $(PREFIX)/bin/ks-crop
rm -rf $(PREFIX)/bin/ks-conf
rm -rf $(PREFIX)/bin/ks-mp4-wrapper
rm -rf $(PREFIX)/bin/ks-mp4k-wrapper
rm -rf $(PREFIX)/bin/ks-mp4s-wrapper
rm -rf $(PREFIX)/bin/ks-avi-wrapper
rm -rf $(PREFIX)/bin/ks-vob-wrapper
rm -rf $(PREFIX)/bin/ks-av1-wrapper
rm -rf $(PREFIX)/bin/ks-av1s-wrapper
rm -rf $(PREFIX)/bin/cygwin-path

93
Makefile.macbrew Executable file
View File

@ -0,0 +1,93 @@
#################################################
# Installing ks-tools (Linux Homebrew) #
#################################################
PREFIX=/usr/local
install:
cp -rf src/ks-upv $(PREFIX)/bin/ks-upv
chmod +x $(PREFIX)/bin/ks-upv
cp -rf src/ks-upa $(PREFIX)/bin/ks-upa
chmod +x $(PREFIX)/bin/ks-upa
cp -rf src/ks-upf $(PREFIX)/bin/ks-upf
chmod +x $(PREFIX)/bin/ks-upf
cp -rf src/ks-upr $(PREFIX)/bin/ks-upr
chmod +x $(PREFIX)/bin/ks-upr
cp -rf src/ks-avi $(PREFIX)/bin/ks-avi
chmod +x $(PREFIX)/bin/ks-avi
cp -rf src/ks-mp4 $(PREFIX)/bin/ks-mp4
chmod +x $(PREFIX)/bin/ks-mp4
cp -rf src/ks-mp4k $(PREFIX)/bin/ks-mp4k
chmod +x $(PREFIX)/bin/ks-mp4k
cp -rf src/ks-mp4s $(PREFIX)/bin/ks-mp4s
chmod +x $(PREFIX)/bin/ks-mp4s
cp -rf src/ks-mp4s-folder $(PREFIX)/bin/ks-mp4s-folder
chmod +x $(PREFIX)/bin/ks-mp4s-folder
cp -rf src/ks-av1s-folder $(PREFIX)/bin/ks-av1s-folder
chmod +x $(PREFIX)/bin/ks-av1s-folder
cp -rf src/ks-vob $(PREFIX)/bin/ks-vob
chmod +x $(PREFIX)/bin/ks-vob
cp -rf src/ks-av1 $(PREFIX)/bin/ks-av1
chmod +x $(PREFIX)/bin/ks-av1
cp -rf src/ks-av1s $(PREFIX)/bin/ks-av1s
chmod +x $(PREFIX)/bin/ks-av1s
cp -rf src/ks-oga $(PREFIX)/bin/ks-oga
chmod +x $(PREFIX)/bin/ks-oga
cp -rf src/ks-mp3 $(PREFIX)/bin/ks-mp3
chmod +x $(PREFIX)/bin/ks-mp3
cp -rf src/ks-oga-album $(PREFIX)/bin/ks-oga-album
chmod +x $(PREFIX)/bin/ks-oga-album
cp -rf src/ks-mp3-album $(PREFIX)/bin/ks-mp3-album
chmod +x $(PREFIX)/bin/ks-mp3-album
cp -rf src/ks-mix $(PREFIX)/bin/ks-mix
chmod +x $(PREFIX)/bin/ks-mix
cp -rf src/ks-crop $(PREFIX)/bin/ks-crop
chmod +x $(PREFIX)/bin/ks-crop
cp -rf src/ks-conf $(PREFIX)/bin/ks-conf
chmod +x $(PREFIX)/bin/ks-conf
cp -rf wrapper/ks-mp4-wrapper $(PREFIX)/bin/ks-mp4-wrapper
chmod +x $(PREFIX)/bin/ks-mp4-wrapper
cp -rf wrapper/ks-mp4k-wrapper $(PREFIX)/bin/ks-mp4k-wrapper
chmod +x $(PREFIX)/bin/ks-mp4k-wrapper
cp -rf wrapper/ks-mp4s-wrapper $(PREFIX)/bin/ks-mp4s-wrapper
chmod +x $(PREFIX)/bin/ks-mp4s-wrapper
cp -rf wrapper/ks-avi-wrapper $(PREFIX)/bin/ks-avi-wrapper
chmod +x $(PREFIX)/bin/ks-avi-wrapper
cp -rf wrapper/ks-vob-wrapper $(PREFIX)/bin/ks-vob-wrapper
chmod +x $(PREFIX)/bin/ks-vob-wrapper
cp -rf wrapper/ks-av1-wrapper $(PREFIX)/bin/ks-av1-wrapper
chmod +x $(PREFIX)/bin/ks-av1-wrapper
cp -rf wrapper/ks-av1s-wrapper $(PREFIX)/bin/ks-av1s-wrapper
chmod +x $(PREFIX)/bin/ks-av1s-wrapper
cp -rf cygwin/cygwin-path $(PREFIX)/bin/cygwin-path
chmod +x $(PREFIX)/bin/cygwin-path
uninstall:
rm -rf $(PREFIX)/bin/ks-upv
rm -rf $(PREFIX)/bin/ks-upa
rm -rf $(PREFIX)/bin/ks-upf
rm -rf $(PREFIX)/bin/ks-upr
rm -rf $(PREFIX)/bin/ks-avi
rm -rf $(PREFIX)/bin/ks-mp4
rm -rf $(PREFIX)/bin/ks-mp4k
rm -rf $(PREFIX)/bin/ks-mp4s
rm -rf $(PREFIX)/bin/ks-mp4s-folder
rm -rf $(PREFIX)/bin/ks-av1s-folder
rm -rf $(PREFIX)/bin/ks-vob
rm -rf $(PREFIX)/bin/ks-av1
rm -rf $(PREFIX)/bin/ks-av1s
rm -rf $(PREFIX)/bin/ks-oga
rm -rf $(PREFIX)/bin/ks-oga-album
rm -rf $(PREFIX)/bin/ks-mp3
rm -rf $(PREFIX)/bin/ks-mp3-album
rm -rf $(PREFIX)/bin/ks-mix
rm -rf $(PREFIX)/bin/ks-crop
rm -rf $(PREFIX)/bin/ks-conf
rm -rf $(PREFIX)/bin/ks-mp4-wrapper
rm -rf $(PREFIX)/bin/ks-mp4k-wrapper
rm -rf $(PREFIX)/bin/ks-mp4s-wrapper
rm -rf $(PREFIX)/bin/ks-avi-wrapper
rm -rf $(PREFIX)/bin/ks-vob-wrapper
rm -rf $(PREFIX)/bin/ks-av1-wrapper
rm -rf $(PREFIX)/bin/ks-av1s-wrapper
rm -rf $(PREFIX)/bin/cygwin-path

93
Makefile.macbrew.arm Executable file
View File

@ -0,0 +1,93 @@
#################################################
# Installing ks-tools (Linux Homebrew) #
#################################################
PREFIX=/opt/homebrew
install:
cp -rf src/ks-upv $(PREFIX)/bin/ks-upv
chmod +x $(PREFIX)/bin/ks-upv
cp -rf src/ks-upa $(PREFIX)/bin/ks-upa
chmod +x $(PREFIX)/bin/ks-upa
cp -rf src/ks-upf $(PREFIX)/bin/ks-upf
chmod +x $(PREFIX)/bin/ks-upf
cp -rf src/ks-upr $(PREFIX)/bin/ks-upr
chmod +x $(PREFIX)/bin/ks-upr
cp -rf src/ks-avi $(PREFIX)/bin/ks-avi
chmod +x $(PREFIX)/bin/ks-avi
cp -rf src/ks-mp4 $(PREFIX)/bin/ks-mp4
chmod +x $(PREFIX)/bin/ks-mp4
cp -rf src/ks-mp4k $(PREFIX)/bin/ks-mp4k
chmod +x $(PREFIX)/bin/ks-mp4k
cp -rf src/ks-mp4s $(PREFIX)/bin/ks-mp4s
chmod +x $(PREFIX)/bin/ks-mp4s
cp -rf src/ks-mp4s-folder $(PREFIX)/bin/ks-mp4s-folder
chmod +x $(PREFIX)/bin/ks-mp4s-folder
cp -rf src/ks-av1s-folder $(PREFIX)/bin/ks-av1s-folder
chmod +x $(PREFIX)/bin/ks-av1s-folder
cp -rf src/ks-vob $(PREFIX)/bin/ks-vob
chmod +x $(PREFIX)/bin/ks-vob
cp -rf src/ks-av1 $(PREFIX)/bin/ks-av1
chmod +x $(PREFIX)/bin/ks-av1
cp -rf src/ks-av1s $(PREFIX)/bin/ks-av1s
chmod +x $(PREFIX)/bin/ks-av1s
cp -rf src/ks-oga $(PREFIX)/bin/ks-oga
chmod +x $(PREFIX)/bin/ks-oga
cp -rf src/ks-mp3 $(PREFIX)/bin/ks-mp3
chmod +x $(PREFIX)/bin/ks-mp3
cp -rf src/ks-oga-album $(PREFIX)/bin/ks-oga-album
chmod +x $(PREFIX)/bin/ks-oga-album
cp -rf src/ks-mp3-album $(PREFIX)/bin/ks-mp3-album
chmod +x $(PREFIX)/bin/ks-mp3-album
cp -rf src/ks-mix $(PREFIX)/bin/ks-mix
chmod +x $(PREFIX)/bin/ks-mix
cp -rf src/ks-crop $(PREFIX)/bin/ks-crop
chmod +x $(PREFIX)/bin/ks-crop
cp -rf src/ks-conf $(PREFIX)/bin/ks-conf
chmod +x $(PREFIX)/bin/ks-conf
cp -rf wrapper/ks-mp4-wrapper $(PREFIX)/bin/ks-mp4-wrapper
chmod +x $(PREFIX)/bin/ks-mp4-wrapper
cp -rf wrapper/ks-mp4k-wrapper $(PREFIX)/bin/ks-mp4k-wrapper
chmod +x $(PREFIX)/bin/ks-mp4k-wrapper
cp -rf wrapper/ks-mp4s-wrapper $(PREFIX)/bin/ks-mp4s-wrapper
chmod +x $(PREFIX)/bin/ks-mp4s-wrapper
cp -rf wrapper/ks-avi-wrapper $(PREFIX)/bin/ks-avi-wrapper
chmod +x $(PREFIX)/bin/ks-avi-wrapper
cp -rf wrapper/ks-vob-wrapper $(PREFIX)/bin/ks-vob-wrapper
chmod +x $(PREFIX)/bin/ks-vob-wrapper
cp -rf wrapper/ks-av1-wrapper $(PREFIX)/bin/ks-av1-wrapper
chmod +x $(PREFIX)/bin/ks-av1-wrapper
cp -rf wrapper/ks-av1s-wrapper $(PREFIX)/bin/ks-av1s-wrapper
chmod +x $(PREFIX)/bin/ks-av1s-wrapper
cp -rf cygwin/cygwin-path $(PREFIX)/bin/cygwin-path
chmod +x $(PREFIX)/bin/cygwin-path
uninstall:
rm -rf $(PREFIX)/bin/ks-upv
rm -rf $(PREFIX)/bin/ks-upa
rm -rf $(PREFIX)/bin/ks-upf
rm -rf $(PREFIX)/bin/ks-upr
rm -rf $(PREFIX)/bin/ks-avi
rm -rf $(PREFIX)/bin/ks-mp4
rm -rf $(PREFIX)/bin/ks-mp4k
rm -rf $(PREFIX)/bin/ks-mp4s
rm -rf $(PREFIX)/bin/ks-mp4s-folder
rm -rf $(PREFIX)/bin/ks-av1s-folder
rm -rf $(PREFIX)/bin/ks-vob
rm -rf $(PREFIX)/bin/ks-av1
rm -rf $(PREFIX)/bin/ks-av1s
rm -rf $(PREFIX)/bin/ks-oga
rm -rf $(PREFIX)/bin/ks-oga-album
rm -rf $(PREFIX)/bin/ks-mp3
rm -rf $(PREFIX)/bin/ks-mp3-album
rm -rf $(PREFIX)/bin/ks-mix
rm -rf $(PREFIX)/bin/ks-crop
rm -rf $(PREFIX)/bin/ks-conf
rm -rf $(PREFIX)/bin/ks-mp4-wrapper
rm -rf $(PREFIX)/bin/ks-mp4k-wrapper
rm -rf $(PREFIX)/bin/ks-mp4s-wrapper
rm -rf $(PREFIX)/bin/ks-avi-wrapper
rm -rf $(PREFIX)/bin/ks-vob-wrapper
rm -rf $(PREFIX)/bin/ks-av1-wrapper
rm -rf $(PREFIX)/bin/ks-av1s-wrapper
rm -rf $(PREFIX)/bin/cygwin-path

163
README.md
View File

@ -4,71 +4,142 @@ ks-tools - Tools for upload, convert and crop/mix video/audio files.
### Documentation:
* `Tools for upload:`
* [ks-upv](https://github.com/q3aql/ks-tools/blob/main/doc/ks-upv.md) - Upload video file(s) to server with rsync+ssh.
* [ks-upa](https://github.com/q3aql/ks-tools/blob/main/doc/ks-upa.md) - Upload audio file(s) to server with rsync+ssh.
* [ks-upf](https://github.com/q3aql/ks-tools/blob/main/doc/ks-upf.md) - Upload common file(s) to server with rsync+ssh.
* [ks-upr](https://github.com/q3aql/ks-tools/blob/main/doc/ks-upr.md) - Upload recursively file(s) to server with rsync+ssh.
* [ks-upv](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-upv.md) - Upload video file(s) to server with scp or rsync.
* [ks-upa](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-upa.md) - Upload audio file(s) to server with scp or rsync.
* [ks-upf](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-upf.md) - Upload common file(s) to server with scp or rsync.
* [ks-upr](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-upr.md) - Upload recursively file(s) to server with scp or rsync.
* `Tools for convert video:`
* [ks-mp4](https://github.com/q3aql/ks-tools/blob/main/doc/ks-mp4.md) - Convert video file(s) to compact and efficient MP4 (libx264 + aac).
* [ks-mp4k](https://github.com/q3aql/ks-tools/blob/main/doc/ks-mp4k.md) - Convert video file(s) to compact and efficient MP4 (4K).
* [ks-mp4s](https://github.com/q3aql/ks-tools/blob/main/doc/ks-mp4s.md) - Convert video file(s) to compact and efficient MP4 (Series).
* [ks-mp4s-folder](https://github.com/q3aql/ks-tools/blob/main/doc/ks-mp4s-folder.md) - Convert videos from folder to MP4 format (Series).
* [ks-avi](https://github.com/q3aql/ks-tools/blob/main/doc/ks-avi.md) - Convert video file(s) to compact and efficient AVI (libxvid + mp3).
* [ks-vob](https://github.com/q3aql/ks-tools/blob/main/doc/ks-vob.md) - Convert videos to VOB (DVD splitet) format.
* [ks-mp4](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp4.md) - Convert video file to compact and efficient MP4 (libx264 + aac).
* [ks-mp4k](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp4k.md) - Convert video file to compact and efficient MP4 (4K).
* [ks-mp4s](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp4s.md) - Convert video file to compact and efficient MP4 (Series).
* [ks-mp4s-folder](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp4s-folder.md) - Convert videos from folder to MP4 format (Series).
* [ks-avi](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-avi.md) - Convert video file to compact and efficient AVI (libxvid + mp3).
* [ks-vob](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-vob.md) - Convert video file to VOB (DVD splitet) format.
* [ks-av1](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-av1.md) - Convert video file to compact and efficient AV1 codec (libsvtav1 + libvorbis).
* [ks-av1s](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-av1s.md) - Convert video file to compact and efficient AV1 codec (Series).
* [ks-av1s-folder](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-av1s-folder.md) - Convert videos from folder to AV1 codec (Series).
* `Tools for convert audio:`
* [ks-oga](https://github.com/q3aql/ks-tools/blob/main/doc/ks-oga.md) - Convert video/audio file(s) to OGA (OGG Audio) Format.
* [ks-oga-album](https://github.com/q3aql/ks-tools/blob/main/doc/ks-oga-album.md) - Convert folder album to OGA (OGG Audio) Format.
* [ks-mp3](https://github.com/q3aql/ks-tools/blob/main/doc/ks-mp3.md) - Convert video/audio file(s) to MP3 Audio Format.
* [ks-mp3-album](https://github.com/q3aql/ks-tools/blob/main/doc/ks-mp3-album.md) - Convert folder album to MP3 Audio Format.
* [ks-oga](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-oga.md) - Convert video/audio file to OGA (OGG Audio) Format.
* [ks-oga-album](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-oga-album.md) - Convert folder album to OGA (OGG Audio) Format.
* [ks-mp3](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp3.md) - Convert video/audio file to MP3 Audio Format.
* [ks-mp3-album](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp3-album.md) - Convert folder album to MP3 Audio Format.
* `Tools for crop/mix video/audio:`
* [ks-mix](https://github.com/q3aql/ks-tools/blob/main/doc/ks-mix.md) - Extract video/audio and mix video/audio files.
* [ks-crop](https://github.com/q3aql/ks-tools/blob/main/doc/ks-crop.md) - Crop or change aspect ratio of a video.
* [ks-mix](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mix.md) - Extract video/audio and mix video/audio files.
* [ks-crop](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-crop.md) - Crop or change aspect ratio of a video.
* `Wrappers:`
* `Wrappers/Configuration:`
* [ks-mp4-wrapper](https://github.com/q3aql/ks-tools/blob/main/doc/ks-mp4-wrapper.md) - Wrapper for ks-mp4 to create graphical interfaces.
* [ks-mp4k-wrapper](https://github.com/q3aql/ks-tools/blob/main/doc/ks-mp4k-wrapper.md) - Wrapper for ks-mp4k to create graphical interfaces.
* [ks-mp4s-wrapper](https://github.com/q3aql/ks-tools/blob/main/doc/ks-mp4s-wrapper.md) - Wrapper for ks-mp4s to create graphical interfaces.
* [ks-avi-wrapper](https://github.com/q3aql/ks-tools/blob/main/doc/ks-avi-wrapper.md) - Wrapper for ks-avi to create graphical interfaces.
* [ks-vob-wrapper](https://github.com/q3aql/ks-tools/blob/main/doc/ks-vob-wrapper.md) - Wrapper for ks-vob to create graphical interfaces.
### Downloads:
* [ks-tools-7.3-030521-Linux-en.tar.gz](https://github.com/q3aql/ks-tools/releases/download/v7.3/ks-tools-7.3-030521-Linux-en.tar.gz) - Unix/Linux package.
* [ks-tools-7.3-030521-Windows-en-x86.zip](https://github.com/q3aql/ks-tools/releases/download/v7.3/ks-tools-7.3-030521-Windows-en-x86.zip) - Windows 32-bit package (with cygwin).
* [ks-tools-7.3-030521-Windows-en-x86-64.zip](https://github.com/q3aql/ks-tools/releases/download/v7.3/ks-tools-7.3-030521-Windows-en-x86-64.zip) - Windows 64-bit package (with cygwin).
* [ks-tools-7.3-030521-en-all.deb](https://github.com/q3aql/ks-tools/releases/download/v7.3/ks-tools-7.3-030521-en-all.deb) - Debian based package.
* [ks-tools-7.3-030521-en-all.rpm](https://github.com/q3aql/ks-tools/releases/download/v7.3/ks-tools-7.3-030521-en-all.rpm) - Red Hat based package.
_Dependencies: `bash`, `coreutils`, `openssh-server`, `openssh-client`, `sshpass`, `rsync`, `ffmpeg`, `grep`_
* [ks-mp4-wrapper](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp4-wrapper.md) - Wrapper for ks-mp4 to create graphical interfaces.
* [ks-mp4k-wrapper](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp4k-wrapper.md) - Wrapper for ks-mp4k to create graphical interfaces.
* [ks-mp4s-wrapper](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp4s-wrapper.md) - Wrapper for ks-mp4s to create graphical interfaces.
* [ks-avi-wrapper](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-avi-wrapper.md) - Wrapper for ks-avi to create graphical interfaces.
* [ks-vob-wrapper](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-vob-wrapper.md) - Wrapper for ks-vob to create graphical interfaces.
* [ks-av1-wrapper](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-av1-wrapper.md) - Wrapper for ks-av1 to create graphical interfaces.
* [ks-av1s-wrapper](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-av1s-wrapper.md) - Wrapper for ks-av1s to create graphical interfaces.
* [ks-conf](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-conf.md) - Tool for create and modify all configuration files.
### Installation:
* **Unix/Linux instructions:**
* **GNU/Linux:**
* Open the terminal and type the following commands:
* Install dependencies **(for Arch Linux)**:
```shell
$ tar zxvf ks-tools-7.3-030521-Linux-en.tar.gz
$ cd ks-tools
$ sudo make install
````
sudo pacman -Syu git make expect rsync openssh sshpass grep coreutils binutils bc
* **Windows instruccions:**
* Install dependencies **(for Ubuntu/Debian)**:
sudo apt install git make expect rsync openssh-client openssh-server sshpass grep binutils bc
* Install dependencies **(for Fedora)**:
sudo dnf install git make expect rsync openssh sshpass grep coreutils binutils bc
* Install dependencies **(for Linux Homebrew)**:
brew install git make expect rsync openssh grep binutils ffmpeg bc
curl -L https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb > sshpass.rb
brew install sshpass.rb
* Unzip the package with [7-zip](http://www.7-zip.org/) or [Winrar](http://www.rarlab.com/).
* Copy folder `ks-tools` on `C:\Program Files`.
* Open CMD terminal and type the following commands:
* Install `ffmpeg` from repository or use the package [ffmpeg-7.0.2-linux-gnu-64bit-build.tar.bz2](https://q3aql.dev/ffmpeg-builds/ffmpeg-7.0.2-linux-gnu-64bit-build.tar.bz2):
sudo tar jxvf ffmpeg-7.0.2-linux-gnu-64bit-build.tar.bz2 -C /
* Install ks-tools cloning the repository:
git clone https://git.q3aql.dev/q3aql/ks-tools
cd ks-tools
sudo make install
```shell
Drive:> cd "C:\Program Files\ks-tools"
Drive:> Install.cmd
````
* For Linux Homebrew, install with:
make -f Makefile.linuxbrew
* **Windows ([Cygwin](https://www.cygwin.com/)):**
* Install dependencies:
lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg
install apt-cyg /bin
apt-cyg install git make expect rsync openssh sshpass grep coreutils binutils bc
* Download package [ffmpeg-7.0.2-cygwin-64bit-build.tar.gz](https://q3aql.dev/ffmpeg-builds/ffmpeg-7.0.2-cygwin-64bit-build.tar.gz) and install it:
tar zxvf ffmpeg-7.0-cygwin-64bit-build.tar.gz -C /
* If you prefer your own ffmpeg build, use this script for build it:
git clone https://git.q3aql.dev/q3aql/ks-tools
cd ks-tools/cygwin
chmod +x ffmpeg-build-cygwin64.sh
./ffmpeg-build-cygwin64.sh
* Install ks-tools cloning the repository:
git clone https://git.q3aql.dev/q3aql/ks-tools
cd ks-tools
make -f Makefile.Cygwin
* **Windows ([WSL](https://learn.microsoft.com/en-us/windows/wsl/install)):**
* Install dependencies:
sudo apt install git make expect rsync openssh-client openssh-server sshpass grep binutils bc
* Install `ffmpeg` from the package [ffmpeg-7.0.2-linux-gnu-64bit-build.tar.bz2](https://q3aql.dev/ffmpeg-builds/ffmpeg-7.0.2-linux-gnu-64bit-build.tar.bz2) or from repository:
sudo apt install ffmpeg
* Install ks-tools cloning the repository:
git clone https://git.q3aql.dev/q3aql/ks-tools
cd ks-tools
sudo make install
* **MacOS ([HomeBrew](https://brew.sh/)):**
* Install dependencies:
brew install git make expect rsync openssh grep binutils ffmpeg bc
curl -L https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb > sshpass.rb
brew install sshpass.rb
* Install ks-tools cloning the repository **(for MacOS Intel)**:
git clone https://git.q3aql.dev/q3aql/ks-tools
cd ks-tools
sudo make -f Makefile.macbrew
* Install ks-tools cloning the repository **(for MacOS ARM)**:
git clone https://git.q3aql.dev/q3aql/ks-tools
cd ks-tools
sudo make -f Makefile.macbrew.arm
### External links:

View File

@ -1,47 +0,0 @@
@echo off
set VERSION=7.3
echo.
echo #####################################
echo # Welcome to ks-tools installer %VERSION% #
echo #####################################
echo.
echo - This installer simply creates a shortcut to the
echo application on your desktop. We recommend that
echo before continuing, make sure you have left the
echo application folder in a place where no one can
echo delete it.
echo.
echo Examples:
echo - C:\ks-tools
echo - C:\Program Files\ks-tools
echo.
echo * Press ENTER to continue or Ctrl+C to exit
pause > nul
echo.
echo * Creating shortchut (%USERPROFILE%\Desktop\ks-tools.lnk)
set SCRIPT="%TEMP%\%RANDOM%-%RANDOM%.vbs"
echo Set oWS = WScript.CreateObject("WScript.Shell") >> %SCRIPT%
echo sLinkFile = "%USERPROFILE%\Desktop\ks-tools.lnk" >> %SCRIPT%
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> %SCRIPT%
echo oLink.TargetPath = "%~d0%~p0\ks-tools.cmd" >> %SCRIPT%
echo oLink.WorkingDirectory = "%~d0%~p0" >> %SCRIPT%
echo oLink.IconLocation = "%~d0%~p0\prompt\ks-tools.ico" >> %SCRIPT%
echo oLink.Save >> %SCRIPT%
cscript /nologo %SCRIPT%
del %SCRIPT%
rem echo * Creating shortchut (%USERPROFILE%\Desktop\ks-tools (ZUI).lnk)
rem set SCRIPT="%TEMP%\%RANDOM%-%RANDOM%.vbs"
rem echo Set oWS = WScript.CreateObject("WScript.Shell") >> %SCRIPT%
rem echo sLinkFile = "%USERPROFILE%\Desktop\ks-tools (ZUI).lnk" >> %SCRIPT%
rem echo Set oLink = oWS.CreateShortcut(sLinkFile) >> %SCRIPT%
rem echo oLink.TargetPath = "%~d0%~p0\ks-tools-zui.cmd" >> %SCRIPT%
rem echo oLink.WorkingDirectory = "%~d0%~p0" >> %SCRIPT%
rem echo oLink.IconLocation = "%~d0%~p0\prompt\ks-tools.ico" >> %SCRIPT%
rem echo oLink.Save >> %SCRIPT%
rem cscript /nologo %SCRIPT%
rem del %SCRIPT%
echo.
echo * Shortcuts created!
echo.
pause

View File

@ -1,172 +0,0 @@
#!/bin/bash
# Copy necessary tools for Cygwin/Windows version
# After, you must copy all files to /bin directory
mkdir -p ${HOME}/ks-tools
cd /usr/bin
# All executables
cp -rfv bash.exe ${HOME}/ks-tools
cp -rfv bashbug ${HOME}/ks-tools
cp -rfv cat.exe ${HOME}/ks-tools
cp -rfv clear.exe ${HOME}/ks-tools
cp -rfv cut.exe ${HOME}/ks-tools
cp -rfv cygwin-console-helper.exe ${HOME}/ks-tools
cp -rfv date.exe ${HOME}/ks-tools
cp -rfv echo.exe ${HOME}/ks-tools
cp -rfv expr.exe ${HOME}/ks-tools
cp -rfv ffmpeg.exe ${HOME}/ks-tools
cp -rfv ffprobe.exe ${HOME}/ks-tools
cp -rfv find.exe ${HOME}/ks-tools
cp -rfv ftp.exe ${HOME}/ks-tools
cp -rfv grep.exe ${HOME}/ks-tools
cp -rfv head.exe ${HOME}/ks-tools
cp -rfv ls.exe ${HOME}/ks-tools
cp -rfv md5sum.exe ${HOME}/ks-tools
cp -rfv mkdir.exe ${HOME}/ks-tools
cp -rfv mv.exe ${HOME}/ks-tools
cp -rfv cp.exe ${HOME}/ks-tools
cp -rfv rm.exe ${HOME}/ks-tools
cp -rfv rsync.exe ${HOME}/ks-tools
cp -rfv scp.exe ${HOME}/ks-tools
cp -rfv sed.exe ${HOME}/ks-tools
cp -rfv sleep.exe ${HOME}/ks-tools
cp -rfv ssh-add.exe ${HOME}/ks-tools
cp -rfv ssh-agent.exe ${HOME}/ks-tools
cp -rfv ssh-keygen.exe ${HOME}/ks-tools
cp -rfv ssh-keyscan.exe ${HOME}/ks-tools
cp -rfv ssh.exe ${HOME}/ks-tools
cp -rfv sshpass.exe ${HOME}/ks-tools
cp -rfv tail.exe ${HOME}/ks-tools
cp -rfv tr.exe ${HOME}/ks-tools
cp -rfv wc.exe ${HOME}/ks-tools
cp -rfv pwd.exe ${HOME}/ks-tools
cp -rfv mintty.exe ${HOME}/ks-tools
cp -rfv x264.exe ${HOME}/ks-tools
cp -rfv zenity.exe ${HOME}/ks-tools
cp -rfv xvidcore.dll ${HOME}/ks-tools
cp -rfv file.exe ${HOME}/ks-tools
cp -rfv ldd.exe ${HOME}/ks-tools
cp -rfv touch.exe ${HOME}/ks-tools
cp -rfv nano.exe ${HOME}/ks-tools
# All libraries
cp -rfv cygwin1.dll ${HOME}/ks-tools
cp -rfv cygz.dll ${HOME}/ks-tools
cp -rfv cygattr-1.dll ${HOME}/ks-tools
cp -rfv cygcom_err-2.dll ${HOME}/ks-tools
cp -rfv cygcrypto-1.1.dll ${HOME}/ks-tools
cp -rfv cyggcc_s-1.dll ${HOME}/ks-tools
cp -rfv cyggmp-10.dll ${HOME}/ks-tools
cp -rfv cyggssapi_krb5-2.dll ${HOME}/ks-tools
cp -rfv cygiconv-2.dll ${HOME}/ks-tools
cp -rfv cygintl-8.dll ${HOME}/ks-tools
cp -rfv cygk5crypto-3.dll ${HOME}/ks-tools
cp -rfv cygkrb5-3.dll ${HOME}/ks-tools
cp -rfv cygkrb5support-0.dll ${HOME}/ks-tools
cp -rfv cygncursesw-10.dll ${HOME}/ks-tools
cp -rfv cygpcre-1.dll ${HOME}/ks-tools
cp -rfv cygpopt-0.dll ${HOME}/ks-tools
cp -rfv cygreadline7.dll ${HOME}/ks-tools
cp -rfv cygFLAC-8.dll ${HOME}/ks-tools
cp -rfv cygcaca-0.dll ${HOME}/ks-tools
cp -rfv cygexpat-1.dll ${HOME}/ks-tools
cp -rfv cygfontconfig-1.dll ${HOME}/ks-tools
cp -rfv cygfreetype-6.dll ${HOME}/ks-tools
cp -rfv cygfribidi-0.dll ${HOME}/ks-tools
cp -rfv cyggnutls-30.dll ${HOME}/ks-tools
cp -rfv cygiconv-2.dll ${HOME}/ks-tools
cp -rfv cygmp3lame-0.dll ${HOME}/ks-tools
cp -rfv cygncursesw-10.dll ${HOME}/ks-tools
cp -rfv cygpng16-16.dll ${HOME}/ks-tools
cp -rfv cygpopt-0.dll ${HOME}/ks-tools
cp -rfv cygpulse-0.dll ${HOME}/ks-tools
cp -rfv cygtheoradec-1.dll ${HOME}/ks-tools
cp -rfv cygtheoraenc-1.dll ${HOME}/ks-tools
cp -rfv cygtwolame-0.dll ${HOME}/ks-tools
cp -rfv cygvorbis-0.dll ${HOME}/ks-tools
cp -rfv cygvorbisenc-2.dll ${HOME}/ks-tools
cp -rfv cygvpx-5.dll ${HOME}/ks-tools
cp -rfv cygwavpack-1.dll ${HOME}/ks-tools
cp -rfv cygwebp-7.dll ${HOME}/ks-tools
cp -rfv cygmagic-1.dll ${HOME}/ks-tools
cp -rfv cygbz2-1.dll ${HOME}/ks-tools
cp -rfv cygSDL2-2-0-0.dll ${HOME}/ks-tools
cp -rfv cygopenal-1.dll ${HOME}/ks-tools
cp -rfv cygxcb-shm-0.dll ${HOME}/ks-tools
cp -rfv cygxcb-1.dll ${HOME}/ks-tools
cp -rfv cygcairo-2.dll ${HOME}/ks-tools
cp -rfv cygglib-2.0-0.dll ${HOME}/ks-tools
cp -rfv cyggobject-2.0-0.dll ${HOME}/ks-tools
cp -rfv cyggsm-1.dll ${HOME}/ks-tools
cp -rfv cyglzma-5.dll ${HOME}/ks-tools
cp -rfv cygopenjp2-7.dll ${HOME}/ks-tools
cp -rfv cygopus-0.dll ${HOME}/ks-tools
cp -rfv cygrsvg-2-2.dll ${HOME}/ks-tools
cp -rfv cygsnappy-1.dll ${HOME}/ks-tools
cp -rfv cygwebpmux-3.dll ${HOME}/ks-tools
cp -rfv cygass-9.dll ${HOME}/ks-tools
cp -rfv cygbs2b-0.dll ${HOME}/ks-tools
cp -rfv cygflite*.dll ${HOME}/ks-tools
cp -rfv cygsoxr-0.dll ${HOME}/ks-tools
cp -rfv cygGLU-1.dll ${HOME}/ks-tools
cp -rfv cygGL-1.dll ${HOME}/ks-tools
cp -rfv cygglut-3.dll ${HOME}/ks-tools
cp -rfv cyggme-0.dll ${HOME}/ks-tools
cp -rfv cygssh-4.dll ${HOME}/ks-tools
cp -rfv cygxml2-2.dll ${HOME}/ks-tools
cp -rfv cygzmq-5.dll ${HOME}/ks-tools
cp -rfv cygX11-6.dll ${HOME}/ks-tools
cp -rfv cygdbus-1-3.dll ${HOME}/ks-tools
cp -rfv cygpulsecommon-11.1.dll ${HOME}/ks-tools
cp -rfv cygharfbuzz-0.dll ${HOME}/ks-tools
cp -rfv cygffi-6.dll ${HOME}/ks-tools
cp -rfv cygcroco-0.6-3.dll ${HOME}/ks-tools
cp -rfv cyggdk_pixbuf-2.0-0.dll ${HOME}/ks-tools
cp -rfv cyggio-2.0-0.dll ${HOME}/ks-tools
cp -rfv cygXdmcp-6.dll ${HOME}/ks-tools
cp -rfv cygXau-6.dll ${HOME}/ks-tools
cp -rfv cygstdc++-6.dll ${HOME}/ks-tools
cp -rfv cyguuid-1.dll ${HOME}/ks-tools
cp -rfv cygbrotlidec-1.dll ${HOME}/ks-tools
cp -rfv cygsodium-23.dll ${HOME}/ks-tools
cp -rfv cyghogweed-4.dll ${HOME}/ks-tools
cp -rfv cygidn2-0.dll ${HOME}/ks-tools
cp -rfv cygpixman-1-0.dll ${HOME}/ks-tools
cp -rfv cygxcb-render-0.dll ${HOME}/ks-tools
cp -rfv cygXext-6.dll ${HOME}/ks-tools
cp -rfv cygXrender-1.dll ${HOME}/ks-tools
cp -rfv cygpango-1.0-0.dll ${HOME}/ks-tools
cp -rfv cygpangocairo-1.0-0.dll ${HOME}/ks-tools
cp -rfv cygpangoft2-1.0-0.dll ${HOME}/ks-tools
cp -rfv cygogg-0.dll ${HOME}/ks-tools
cp -rfv cygnettle-6.dll ${HOME}/ks-tools
cp -rfv cygtasn1-6.dll ${HOME}/ks-tools
cp -rfv cygp11-kit-0.dll ${HOME}/ks-tools
cp -rfv cygunistring-2.dll ${HOME}/ks-tools
cp -rfv cyggomp-1.dll ${HOME}/ks-tools
cp -rfv cygthai-0.dll ${HOME}/ks-tools
cp -rfv cyggmodule-2.0-0.dll ${HOME}/ks-tools
cp -rfv cygXi-6.dll ${HOME}/ks-tools
cp -rfv cygXrandr-2.dll ${HOME}/ks-tools
cp -rfv cygX11-xcb-1.dll ${HOME}/ks-tools
cp -rfv cygxcb-glx-0.dll ${HOME}/ks-tools
cp -rfv cygglapi-0.dll ${HOME}/ks-tools
cp -rfv cygasyncns-0.dll ${HOME}/ks-tools
cp -rfv cygsndfile-1.dll ${HOME}/ks-tools
cp -rfv cygwrap-0.dll ${HOME}/ks-tools
cp -rfv cyggraphite2-3.dll ${HOME}/ks-tools
cp -rfv cygbrotlicommon-1.dll ${HOME}/ks-tools
cp -rfv cygdatrie-1.dll ${HOME}/ks-tools
cp -rfv cyglz4-1.dll ${HOME}/ks-tools
cp -rfv cygzstd-1.dll ${HOME}/ks-tools
# Strip libraries
strip --strip-all ${HOME}/ks-tools/*
cp -rfv cygwin1.dll ${HOME}/ks-tools
cp -rfv cygz.dll ${HOME}/ks-tools
# FFmpeg build parameters
#./configure --prefix=/home/q3aql/ffmpeg-build --extra-version=ks-tools --enable-gpl --disable-stripping --disable-ffplay --enable-avresample --disable-filter=resample --enable-gnutls --enable-libass --enable-libbs2b --enable-libcaca --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsnappy --enable-libsoxr --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libxml2 --enable-libxvid --enable-libzmq --enable-openal --enable-sdl2 --enable-libx264 --enable-shared --enable-static --enable-version3 --disable-doc
# Finally, copy ks-tools scripts here.

View File

@ -34,12 +34,14 @@ alias ssh-keygen="/usr/bin/ssh-keygen"
alias ssh-keyscan="/usr/bin/ssh-keyscan"
alias ssh="/usr/bin/ssh"
alias sshpass="/usr/bin/sshpass"
alias expect="/usr/bin/expect"
alias tail="/usr/bin/tail"
alias touch="/usr/bin/touch"
alias tr="/usr/bin/tr"
alias wc="/usr/bin/wc"
alias x264="/usr/bin/x264"
alias zenity="/usr/bin/zenity"
alias bc="/usr/bin/bc"
alias all-commands='ls /bin | grep ".exe" | cut -d "." -f 1'
# List of alias for drives:

View File

@ -4,7 +4,7 @@
# cygwin-path - Convert Windows paths in Cywin paths & vice versa #
# Date: 28-03-2020 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
# Contact: q3aql@duck.com #
####################################################################
VERSION="1.0"
M_DATE="280320"

302
cygwin/ffmpeg-build-cywin64.sh Executable file
View File

@ -0,0 +1,302 @@
#!/bin/bash
############################################
# Script for build FFmpeg on Cygwin x86_64 #
# Author: q3aql #
# Contact: q3aql@duck.com #
############################################
# IMPORTANT
# YOU NEED INSTALL:
# - wget
# - git
# Build variables
dir_build="/opt/ffmpeg-builds/build/cygwin64-shared"
dir_build_libs="/opt/ffmpeg-builds/lib/cygwin64-shared"
dir_build_packages="/opt/ffmpeg-builds/packages"
# FFmpeg version
ffmpeg_package="https://ffmpeg.org/releases/ffmpeg-6.0.tar.bz2"
ffmpeg_package_name="ffmpeg-6.0.tar.bz2@ffmpeg-6.0"
# COMPILER VARIABLES
C_COMPILER="gcc"
CXX_COMPILER="g++"
# URL Libraries Variables
lib_x264="https://code.videolan.org/videolan/x264"
lib_x264_name="x264"
lib_x265="https://bitbucket.org/multicoreware/x265_git/downloads/x265_3.5.tar.gz"
lib_x265_name="x265_3.5.tar.gz@x265_3.5"
lib_xvid="https://downloads.xvid.com/downloads/xvidcore-1.3.7.tar.gz"
lib_xvid_name="xvidcore-1.3.7.tar.gz@xvidcore"
lib_aom_msys="https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-aom-3.6.0-1-any.pkg.tar.zst"
lib_aom_msys_name="mingw-w64-x86_64-aom-3.6.0-1-any.pkg.tar.zst@mingw64"
#https://packages.msys2.org/package/mingw-w64-i686-aom
lib_svtav1_msys="https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-svt-av1-1.4.1-1-any.pkg.tar.zst"
lib_svtav1_msys_name="mingw-w64-x86_64-svt-av1-1.4.1-1-any.pkg.tar.zst@mingw64"
# Dependencies for aom
dep_one="https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-gcc-libs-12.2.0-6-any.pkg.tar.zst"
dep_one_name="mingw-w64-x86_64-gcc-libs-12.2.0-6-any.pkg.tar.zst"
dep_two="https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-libwinpthread-git-10.0.0.r0.gaa08f56da-1-any.pkg.tar.zst"
dep_two_name="mingw-w64-x86_64-libwinpthread-git-10.0.0.r0.gaa08f56da-1-any.pkg.tar.zst"
dep_three="https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-gmp-6.2.1-5-any.pkg.tar.zst"
dep_three_name="mingw-w64-x86_64-gmp-6.2.1-5-any.pkg.tar.zst"
dep_four="https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-mpc-1.3.1-1-any.pkg.tar.zst"
dep_four_name="mingw-w64-x86_64-mpc-1.3.1-1-any.pkg.tar.zst"
dep_five="https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-mpfr-4.2.0-1-any.pkg.tar.zst"
dep_five_name="mingw-w64-x86_64-mpfr-4.2.0-1-any.pkg.tar.zst"
# Check root permission
mkdir -p /etc/root &> /dev/null
administrador=$?
if [ ${administrador} -eq 0 ] ; then
rm -rf /etc/root
else
echo ""
echo "* ${0}"
echo ""
echo "* Administrator permissions are required."
echo ""
exit
fi
# Create directories
mkdir -p ${dir_build}
mkdir -p ${dir_build_libs}
mkdir -p ${dir_build_packages}
# Install apt-cyg
if [ -f "/usr/bin/apt-cyg" ] ; then
echo "* apt-cyg manager is ready"
sleep 1
else
cd /tmp
git clone "https://github.com/q3aql/ffmpeg-builds"
cd ffmpeg-builds
cp -rfv apt-cyg /usr/bin
echo "* apt-cyg installed"
fi
# Fix strafe.sh
if [ -f /usr/include/w32api/strsafe.h_fix ] ; then
echo "* strsafe.h was fixed previously"
else
cd /tmp
git clone "https://github.com/q3aql/ffmpeg-builds"
cd ffmpeg-builds
cp -rfv /usr/include/w32api/strsafe.h /usr/include/w32api/strsafe.h.bck
cp -rfv cygwin_fix_strsafe.h /usr/include/w32api/strsafe.h
cp -rfv cygwin_fix_strsafe.h /usr/include/w32api/strsafe.h_fix
echo "* strsafe.sh fixed"
fi
# Install dependencies
apt-cyg update
apt-cyg install wget
apt-cyg install curl
apt-cyg install nasm
apt-cyg install yasm
apt-cyg install zip
apt-cyg install perl
apt-cyg install sed
apt-cyg install fontconfig
apt-cyg install libass-devel
apt-cyg install libfreetype-devel
apt-cyg install libfontconfig-devel
apt-cyg install libbs2b-devel
apt-cyg install meson
apt-cyg install make
apt-cyg install gcc
apt-cyg install gcc-core
apt-cyg install gcc-g++
apt-cyg install zstd
apt-cyg install libfribidi-devel
apt-cyg install libgme-devel
apt-cyg install libcaca++-devel
apt-cyg install libcaca-devel
apt-cyg install libtwolame-devel
apt-cyg install libmp3lame-devel
apt-cyg install libwebp-devel
apt-cyg install libsoxr-devel
apt-cyg install libvpx-devel
apt-cyg install libtheora-devel
apt-cyg install libxml2-devel
apt-cyg install libopenjpeg-devel
apt-cyg install libgnutls-devel
apt-cyg install libvorbis-devel
apt-cyg install libogg-devel
apt-cyg install libopus-devel
apt-cyg install openssl-devel
apt-cyg install libopusfile-devel
apt-cyg install libopenjp2-devel
apt-cyg install libtheora-devel
apt-cyg install speex-devel
apt-cyg install speexdsp-devel
apt-cyg install cmake
apt-cyg install libgc-devel
apt-cyg install autoconf
apt-cyg install libtool
apt-cyg install ninja
apt-cyg install libiconv-devel
apt-cyg install clang
apt-cyg install compiler-rt
apt-cyg install libjson-c-common
apt-cyg install libc++abi-devel
apt-cyg install libc++-devel
# Build x264
if [ -f /usr/lib/pkgconfig/x264.pc ] ; then
echo "* x264 was compiled previously"
sleep 1
else
cd ${dir_build_libs}
rm -rfv ${name_package}
rm -rfv ${name_folder}
name_folder=$(echo ${lib_x264_name})
name_package=$(echo ${lib_x264_name})
git clone ${lib_x264}
cd "${name_folder}"
./configure --prefix=/usr --enable-static --disable-opencl --disable-cli
make
make install
fi
# Build x265
if [ -f /usr/lib/pkgconfig/x265.pc ] ; then
echo "* x265 was compiled previously"
sleep 1
else
cd ${dir_build_libs}
rm -rfv ${name_package}
rm -rfv ${name_folder}
name_package=$(echo ${lib_x265_name} | cut -d "@" -f 1)
name_folder=$(echo ${lib_x265_name} | cut -d "@" -f 2)
wget -c "${lib_x265}"
tar zxvf ${name_package}
cd "${name_folder}"
cd build/linux
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DSTATIC_LINK_CRT:BOOL=ON -DENABLE_CLI:BOOL=OFF ../../source
sed -i 's/-lgcc_s/-lgcc_eh/g' x265.pc
make
make install
fi
# Build xvid
if [ -f /usr/lib/xvidcore.a ] ; then
echo "* Xvid was compiled previously"
sleep 1
else
cd ${dir_build_libs}
rm -rfv ${name_package}
rm -rfv ${name_folder}
name_package=$(echo ${lib_xvid_name} | cut -d "@" -f 1)
name_folder=$(echo ${lib_xvid_name} | cut -d "@" -f 2)
wget -c "${lib_xvid}"
tar zxvf ${name_package}
cd "${name_folder}"/build/generic
./configure --prefix=/usr
make
make install
fi
# Build aom
if [ -f /usr/lib/pkgconfig/aom.pc ] ; then
echo "* Aom was compiled previously"
sleep 1
else
cd ${dir_build_libs}
rm -rfv ${name_package}
name_package=$(echo ${lib_aom_msys_name} | cut -d "@" -f 1)
name_folder=$(echo ${lib_aom_msys_name} | cut -d "@" -f 2)
cd /tmp
wget ${lib_aom_msys}
tar --use-compress-program=unzstd -xvf ${name_package}
cd ${name_folder}
cp -rfv * /usr/
cd ..
rm -rfv ${name_package}
rm -rfv ${name_folder}
# Install binary dependencies
cd /tmp
wget -c ${dep_one}
wget -c ${dep_two}
wget -c ${dep_three}
wget -c ${dep_four}
wget -c ${dep_five}
tar --use-compress-program=unzstd -xvf ${dep_one_name}
tar --use-compress-program=unzstd -xvf ${dep_two_name}
tar --use-compress-program=unzstd -xvf ${dep_three_name}
tar --use-compress-program=unzstd -xvf ${dep_four_name}
tar --use-compress-program=unzstd -xvf ${dep_five_name}
cd ${name_folder}
cp -rfv bin/* /usr/bin/
cd ..
rm -rfv ${name_package}
rm -rfv ${name_folder}
fi
# Build SVT-AV1
if [ -f /usr/lib/pkgconfig/SvtAv1Dec.pc ] ; then
echo "* SVT-AV1 was compiled previously"
rm -rfv ${name_package}
rm -rfv ${name_folder}
sleep 1
else
cd ${dir_build_libs}
rm -rfv ${name_package}
name_package=$(echo ${lib_svtav1_msys_name} | cut -d "@" -f 1)
name_folder=$(echo ${lib_svtav1_msys_name} | cut -d "@" -f 2)
cd /tmp
wget ${lib_svtav1_msys}
tar --use-compress-program=unzstd -xvf ${name_package}
cd ${name_folder}
cp -rfv * /usr/
cd ..
rm -rfv ${name_package}
rm -rfv ${name_folder}
fi
# Download FFmpeg
cd / && ln -s usr mingw64
unlink /mingw64/usr 2> /dev/null
echo "* Building FFmpeg using system libraries"
cd ${dir_build_libs}
name_package=$(echo ${ffmpeg_package_name} | cut -d "@" -f 1)
name_folder=$(echo ${ffmpeg_package_name} | cut -d "@" -f 2)
curl "${ffmpeg_package}" > ${name_package}
wget -c ${ffmpeg_package}
tar jxvf ${name_package}
cd ${name_folder}
chmod +x configure
./configure --prefix=/usr --enable-gpl --enable-nonfree --disable-ffplay --disable-w32threads --enable-openssl --enable-libass --enable-libbs2b --enable-libcaca --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libxvid --enable-libspeex --enable-libx264 --enable-libx265 --enable-static --enable-version3 --enable-doc --disable-indev=dshow --disable-indev=gdigrab --enable-libsvtav1 --enable-libaom
build_error=$?
if [ ${build_error} -eq 0 ] ; then
echo ""
echo "* Build configuration ready"
sleep 5
else
echo ""
echo "* Build configuration failed"
echo "* Trying with build config without errors."
echo "* Disabling the following libraries:"
echo " - aom"
echo ""
sleep 5
./configure --prefix=/usr --enable-gpl --enable-nonfree --disable-ffplay --disable-w32threads --enable-openssl --enable-libass --enable-libbs2b --enable-libcaca --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libxvid --enable-libspeex --enable-libx264 --enable-libx265 --enable-static --enable-version3 --enable-doc --disable-indev=dshow --disable-indev=gdigrab --enable-libsvtav1 --disable-libaom
fi
make
rm -rf ${dir_build}/*
make install
# Remove packages
echo "* Remove temporal files"
cd ..
rm -rfv ${name_package}
rm -rf ${name_folder}

View File

View File

@ -1,19 +0,0 @@
@echo off
rem ######################################
rem # ks-tools for Windows #
rem # U. Modificacion: 03-05-2021 #
rem # Author: q3aql #
rem # Contact: q3aql@protonmail.ch #
rem # License: GPL v2.0 #
rem ######################################
set VERSION=7.3
rem # Start ks-tools terminal (bash)
mkdir home\%USERNAME%
copy /Y prompt\.bashrc home\%USERNAME%
copy /Y prompt\.minttyrc home\%USERNAME%
cls
set PATH=%PATH%;%~d0%~p0\bin
mintty
rem bash

View File

@ -1,210 +0,0 @@
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
# don't put duplicate lines or lines starting with space in the history.
# See bash(1) for more options
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize
# If set, the pattern "**" used in a pathname expansion context will
# match all files and zero or more directories and subdirectories.
#shopt -s globstar
# make less more friendly for non-text input files, see lesspipe(1)
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
esac
# uncomment for a colored prompt, if the terminal has the capability; turned
# off by default to not distract the user: the focus in a terminal window
# should be on the output of commands, not on the prompt
#force_color_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=
fi
fi
if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]ks-tools\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}ks-tools:\w\$ '
fi
unset color_prompt force_color_prompt
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]ks-tools: \w\a\]$PS1"
;;
*)
;;
esac
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
#alias grep='grep --color=auto'
#alias fgrep='fgrep --color=auto'
#alias egrep='egrep --color=auto'
fi
# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# some more ls aliases
#alias ll='ls -l'
#alias la='ls -A'
#alias l='ls -CF'
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
# List of alias
alias cat="/usr/bin/cat"
alias clear="/usr/bin/clear"
alias cut="/usr/bin/cut"
alias date="/usr/bin/date"
alias echo="/usr/bin/echo"
alias expr="/usr/bin/expr"
alias ffmpeg="/usr/bin/ffmpeg"
alias ffplay="/usr/bin/ffplay"
alias ffprobe="/usr/bin/ffprobe"
alias file="/usr/bin/file"
alias find="/usr/bin/find"
alias ftp="/usr/bin/ftp"
alias grep="/usr/bin/grep"
alias head="/usr/bin/head"
alias ldd="/usr/bin/ldd"
alias ls="/usr/bin/ls"
alias md5sum="/usr/bin/md5sum"
alias mintty="/usr/bin/mintty"
alias mkdir="/usr/bin/mkdir"
alias mv="/usr/bin/mv"
alias pwd="/usr/bin/pwd"
alias rm="/usr/bin/rm"
alias rsync="/usr/bin/rsync"
alias scp="/usr/bin/scp"
alias sed="/usr/bin/sed"
alias sleep="/usr/bin/sleep"
alias ssh-add="/usr/bin/ssh-add"
alias ssh-agent="/usr/bin/ssh-agent"
alias ssh-keygen="/usr/bin/ssh-keygen"
alias ssh-keyscan="/usr/bin/ssh-keyscan"
alias ssh="/usr/bin/ssh"
alias sshpass="/usr/bin/sshpass"
alias tail="/usr/bin/tail"
alias touch="/usr/bin/touch"
alias tr="/usr/bin/tr"
alias wc="/usr/bin/wc"
alias x264="/usr/bin/x264"
alias zenity="/usr/bin/zenity"
alias all-commands='ls /bin | grep ".exe" | cut -d "." -f 1'
# List of alias for drives:
alias A:="/cygdrive/a"
alias B:="/cygdrive/b"
alias C:="/cygdrive/c"
alias D:="/cygdrive/d"
alias E:="/cygdrive/e"
alias F:="/cygdrive/f"
alias G:="/cygdrive/g"
alias H:="/cygdrive/h"
alias I:="/cygdrive/i"
alias J:="/cygdrive/j"
alias K:="/cygdrive/k"
alias L:="/cygdrive/l"
alias M:="/cygdrive/m"
alias N:="/cygdrive/n"
alias O:="/cygdrive/o"
alias P:="/cygdrive/p"
alias Q:="/cygdrive/q"
alias R:="/cygdrive/r"
alias S:="/cygdrive/s"
alias T:="/cygdrive/t"
alias U:="/cygdrive/u"
alias V:="/cygdrive/v"
alias W:="/cygdrive/w"
alias X:="/cygdrive/x"
alias Y:="/cygdrive/y"
alias Z:="/cygdrive/z"
# Show menu of ks-tools
echo ""
echo " #####################################"
echo " # ks-tools 7.3 (for Windows/Cygwin) #"
echo " #####################################"
echo ""
echo " * Note:"
echo " - C: is /cygdrive/c"
echo " Example: cd /cygdrive/c/Users/Default/Desktop"
echo ""
echo " * Available commands:"
echo ""
echo " - ks-upv - ks-crop"
echo " - ks-upa - ks-oga"
echo " - ks-upf - ks-oga-album"
echo " - ks-upr - ks-mp4-wrapper"
echo " - ks-mp4 - ks-avi-wrapper"
echo " - ks-mp4k - ks-vob-wrapper"
echo " - ks-mp4s - ks-mp4k-wrapper"
echo " - ks-mix - ks-mp4s-wrapper"
echo " - ks-avi - ks-mp4s-folder"
echo " - ks-mp3 - ks-mp3-album"
echo " - ks-vob"
echo ""
echo " * Type 'all-commands' for show all commands."
echo ""

View File

@ -1,4 +0,0 @@
Font=Consolas
FontHeight=11
Columns=120
Rows=27

View File

@ -1,18 +0,0 @@
@echo off
rem ######################################
rem # ks-tools for Windows #
rem # U. Modificacion: 03-05-2021 #
rem # Author: q3aql #
rem # Contact: q3aql@protonmail.ch #
rem # License: GPL v2.0 #
rem ######################################
set VERSION=7.3
rem # Start ks-tools ZUI (bash)
mkdir home\%USERNAME%
copy /Y prompt\.bashrc home\%USERNAME%
copy /Y prompt\.minttyrc home\%USERNAME%
cls
set PATH=%PATH%;%~d0%~p0\bin
bin\bash.exe bin\ks-zui

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -1,380 +0,0 @@
#!/bin/bash
#################################################################
# ks-zui (ks-tools) - Simple zenity user interface for ks-tools #
# Date: 03-05-2021 #
# Author: q3aql #
# Contact: q3aql@protonmail.ch #
#################################################################
VERSION="7.3 (BETA)"
M_DATE="030521"
# Function to show about
function showAbout() {
/usr/bin/zenity --title "About" --info --width=330 \
--text "Software: ks-zui (ks-tools) ${VERSION} \
(${M_DATE})\nAuthor: q3aql\nContact: q3aql@protonmail.ch\nLicense: GPL v2.0"
}
# Function to show information of video file
# Sintax: showVideoInfo
function showVideoInfo() {
videoFile=$(/usr/bin/zenity --title "ks-zui (ks-tools) ${VERSION} (${M_DATE}) \
| Select the video file" --file-selection)
# Enable in Cygwin
videoFile=$(cygwin-path -c "${videoFile}")
ks-mp4-wrapper --show-info "${videoFile}"
echo -n "Press ENTER to continue " ; read null
}
# Function to convert MP4 with subs
# Sintax: convertMP4WithSub
function convertMP4WithSub() {
videoFile=$(/usr/bin/zenity --title "ks-zui (ks-tools) ${VERSION} (${M_DATE}) \
| Select the video file" --file-selection)
# Enable in Cygwin
videoFile=$(cygwin-path -c "${videoFile}")
# Detect configuration
if [ -z "${videoFile}" ] ; then
echo null > /dev/null
else
videoTrackDefault=$(ks-mp4-wrapper --show-video-default "${videoFile}")
audioTrackDefault=$(ks-mp4-wrapper --show-audio-default "${videoFile}")
subtitleTrackDefault=$(ks-mp4-wrapper --show-subtitle-default "${videoFile}")
resolutionDefault=$(ks-mp4-wrapper --show-resolution-default)
nameDefault=$(ks-mp4-wrapper --show-name-title-default "${videoFile}")
yearDefault=$(ks-mp4-wrapper --show-year-default)
genreDefault=$(ks-mp4-wrapper --show-genre-default)
# Ask the configuration
videoTrack=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the video track to map: " --entry-text "${videoTrackDefault}")
audioTrack=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the audio track to map: " --entry-text "${audioTrackDefault}")
subtitleTrack=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the subtitle track to map: " --entry-text "${subtitleTrackDefault}")
resolution=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the resolution: " --entry-text "${resolutionDefault}")
nameVideo=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "[METADATA] Enter the name title: " --entry-text "${nameDefault}")
yearVideo=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "[METADATA] Enter the year: " --entry-text "${yearDefault}")
genreVideo=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "[METADATA] Enter the genre: " --entry-text "${genreDefault}")
# Disable on Cygwin
#mkdir -p ${HOME}/Conv
#outputFile=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
#--text "Enter the path of ouput file prefix: " --entry-text "${HOME}/Conv/Default")
# Enable on Cygwin
mkdir -p /cygdrive/c/Conv
outputFile=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the path of ouput file prefix: " --entry-text "/cygdrive/c/Conv/Default")
/usr/bin/zenity --question --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" --cancel-label="No" \
--ok-label="Yes" --width=320 --text "Do you want apply '-thread_queue_size 2048' patch?"
outputPath=$?
if [ ${outputPath} -eq 0 ] ; then
ks-mp4-wrapper --conv-with-sub "${videoFile}" "${outputFile}" ${videoTrack} ${audioTrack} \
${subtitleTrack} ${resolution} "${nameVideo}" ${yearVideo} ${genreVideo} patch
else
ks-mp4-wrapper --conv-with-sub "${videoFile}" "${outputFile}" ${videoTrack} ${audioTrack} \
${subtitleTrack} ${resolution} "${nameVideo}" ${yearVideo} ${genreVideo}
fi
echo ""
echo -n "Press ENTER to continue " ; read null
fi
}
# Function to convert MP4
# Sintax: convertMP4
function convertMP4() {
videoFile=$(/usr/bin/zenity --title "ks-zui (ks-tools) ${VERSION} (${M_DATE}) \
| Select the video file" --file-selection)
# Enable in Cygwin
videoFile=$(cygwin-path -c "${videoFile}")
# Detect configuration
if [ -z "${videoFile}" ] ; then
echo null > /dev/null
else
videoTrackDefault=$(ks-mp4-wrapper --show-video-default "${videoFile}")
audioTrackDefault=$(ks-mp4-wrapper --show-audio-default "${videoFile}")
resolutionDefault=$(ks-mp4-wrapper --show-resolution-default)
nameDefault=$(ks-mp4-wrapper --show-name-title-default "${videoFile}")
yearDefault=$(ks-mp4-wrapper --show-year-default)
genreDefault=$(ks-mp4-wrapper --show-genre-default)
# Ask the configuration
videoTrack=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the video track to map: " --entry-text "${videoTrackDefault}")
audioTrack=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the audio track to map: " --entry-text "${audioTrackDefault}")
resolution=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the resolution: " --entry-text "${resolutionDefault}")
nameVideo=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "[METADATA] Enter the name title: " --entry-text "${nameDefault}")
yearVideo=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "[METADATA] Enter the year: " --entry-text "${yearDefault}")
genreVideo=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "[METADATA] Enter the genre: " --entry-text "${genreDefault}")
# Disable on Cygwin
#mkdir -p ${HOME}/Conv
#outputFile=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
#--text "Enter the path of ouput file prefix: " --entry-text "${HOME}/Conv/Default")
# Enable on Cygwin
mkdir -p /cygdrive/c/Conv
outputFile=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the path of ouput file prefix: " --entry-text "/cygdrive/c/Conv/Default")
/usr/bin/zenity --question --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" --cancel-label="No" \
--ok-label="Yes" --width=320 --text "Do you want apply '-thread_queue_size 2048' patch?"
outputPath=$?
if [ ${outputPath} -eq 0 ] ; then
ks-mp4-wrapper --conv "${videoFile}" "${outputFile}" ${videoTrack} \
${audioTrack} ${resolution} "${nameVideo}" ${yearVideo} ${genreVideo} patch
else
ks-mp4-wrapper --conv "${videoFile}" "${outputFile}" ${videoTrack} \
${audioTrack} ${resolution} "${nameVideo}" ${yearVideo} ${genreVideo}
fi
echo ""
echo -n "Press ENTER to continue " ; read null
fi
}
# Function to convert AVI with subs
# Sintax: convertAVIWithSub
function convertAVIWithSub() {
videoFile=$(/usr/bin/zenity --title "ks-zui (ks-tools) ${VERSION} (${M_DATE}) \
| Select the video file" --file-selection)
# Enable in Cygwin
videoFile=$(cygwin-path -c "${videoFile}")
# Detect configuration
if [ -z "${videoFile}" ] ; then
echo null > /dev/null
else
videoTrackDefault=$(ks-avi-wrapper --show-video-default "${videoFile}")
audioTrackDefault=$(ks-avi-wrapper --show-audio-default "${videoFile}")
subtitleTrackDefault=$(ks-avi-wrapper --show-subtitle-default "${videoFile}")
resolutionDefault=$(ks-avi-wrapper --show-resolution-default)
nameDefault=$(ks-avi-wrapper --show-name-title-default "${videoFile}")
yearDefault=$(ks-avi-wrapper --show-year-default)
genreDefault=$(ks-avi-wrapper --show-genre-default)
# Ask the configuration
videoTrack=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the video track to map: " --entry-text "${videoTrackDefault}")
audioTrack=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the audio track to map: " --entry-text "${audioTrackDefault}")
subtitleTrack=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the subtitle track to map: " --entry-text "${subtitleTrackDefault}")
resolution=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the resolution: " --entry-text "${resolutionDefault}")
nameVideo=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "[METADATA] Enter the name title: " --entry-text "${nameDefault}")
yearVideo=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "[METADATA] Enter the year: " --entry-text "${yearDefault}")
genreVideo=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "[METADATA] Enter the genre: " --entry-text "${genreDefault}")
# Disable on Cygwin
#mkdir -p ${HOME}/Conv
#outputFile=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
#--text "Enter the path of ouput file prefix: " --entry-text "${HOME}/Conv/Default")
# Enable on Cygwin
mkdir -p /cygdrive/c/Conv
outputFile=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the path of ouput file prefix: " --entry-text "/cygdrive/c/Conv/Default")
/usr/bin/zenity --question --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" --cancel-label="No" \
--ok-label="Yes" --width=320 --text "Do you want apply '-thread_queue_size 2048' patch?"
outputPath=$?
if [ ${outputPath} -eq 0 ] ; then
ks-avi-wrapper --conv-with-sub "${videoFile}" "${outputFile}" ${videoTrack} ${audioTrack} \
${subtitleTrack} ${resolution} "${nameVideo}" ${yearVideo} ${genreVideo} patch
else
ks-avi-wrapper --conv-with-sub "${videoFile}" "${outputFile}" ${videoTrack} ${audioTrack} \
${subtitleTrack} ${resolution} "${nameVideo}" ${yearVideo} ${genreVideo}
fi
echo ""
echo -n "Press ENTER to continue " ; read null
fi
}
# Function to convert AVI
# Sintax: convertAVIW
function convertAVI() {
videoFile=$(/usr/bin/zenity --title "ks-zui (ks-tools) ${VERSION} (${M_DATE}) \
| Select the video file" --file-selection)
# Enable in Cygwin
videoFile=$(cygwin-path -c "${videoFile}")
# Detect configuration
if [ -z "${videoFile}" ] ; then
echo null > /dev/null
else
videoTrackDefault=$(ks-avi-wrapper --show-video-default "${videoFile}")
audioTrackDefault=$(ks-avi-wrapper --show-audio-default "${videoFile}")
resolutionDefault=$(ks-avi-wrapper --show-resolution-default)
nameDefault=$(ks-avi-wrapper --show-name-title-default "${videoFile}")
yearDefault=$(ks-avi-wrapper --show-year-default)
genreDefault=$(ks-avi-wrapper --show-genre-default)
# Ask the configuration
videoTrack=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the video track to map: " --entry-text "${videoTrackDefault}")
audioTrack=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the audio track to map: " --entry-text "${audioTrackDefault}")
resolution=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the resolution: " --entry-text "${resolutionDefault}")
nameVideo=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "[METADATA] Enter the name title: " --entry-text "${nameDefault}")
yearVideo=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "[METADATA] Enter the year: " --entry-text "${yearDefault}")
genreVideo=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "[METADATA] Enter the genre: " --entry-text "${genreDefault}")
# Disable on Cygwin
#mkdir -p ${HOME}/Conv
#outputFile=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
#--text "Enter the path of ouput file prefix: " --entry-text "${HOME}/Conv/Default")
# Enable on Cygwin
mkdir -p /cygdrive/c/Conv
outputFile=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the path of ouput file prefix: " --entry-text "/cygdrive/c/Conv/Default")
/usr/bin/zenity --question --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" --cancel-label="No" \
--ok-label="Yes" --width=320 --text "Do you want apply '-thread_queue_size 2048' patch?"
outputPath=$?
if [ ${outputPath} -eq 0 ] ; then
ks-avi-wrapper --conv "${videoFile}" "${outputFile}" ${videoTrack} \
${audioTrack} ${resolution} "${nameVideo}" ${yearVideo} ${genreVideo} patch
else
ks-avi-wrapper --conv "${videoFile}" "${outputFile}" ${videoTrack} \
${audioTrack} ${resolution} "${nameVideo}" ${yearVideo} ${genreVideo}
fi
echo ""
echo -n "Press ENTER to continue " ; read null
fi
}
# Function to convert VOB
# Sintax: convertVOB
function convertVOB() {
videoFile=$(/usr/bin/zenity --title "ks-zui (ks-tools) ${VERSION} (${M_DATE}) \
| Select the video file" --file-selection)
# Enable in Cygwin
videoFile=$(cygwin-path -c "${videoFile}")
# Detect configuration
if [ -z "${videoFile}" ] ; then
echo null > /dev/null
else
videoTrackDefault=$(ks-vob-wrapper --show-video-default "${videoFile}")
audioTrackDefault=$(ks-vob-wrapper --show-audio-default "${videoFile}")
resolutionDefault=$(ks-vob-wrapper --show-resolution-default)
# Ask the configuration
videoTrack=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the video track to map: " --entry-text "${videoTrackDefault}")
audioTrack=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the audio track to map: " --entry-text "${audioTrackDefault}")
resolution=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the resolution: " --entry-text "${resolutionDefault}")
# Disable on Cygwin
#mkdir -p ${HOME}/Conv
#outputFile=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
#--text "Enter the path of ouput file prefix: " --entry-text "${HOME}/Conv/Default")
# Enable on Cygwin
mkdir -p /cygdrive/c/Conv
outputFile=$(/usr/bin/zenity --entry --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" \
--text "Enter the path of ouput file prefix: " --entry-text "/cygdrive/c/Conv/Default")
/usr/bin/zenity --question --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" --cancel-label="No" \
--ok-label="Yes" --width=320 --text "Do you want apply '-thread_queue_size 2048' patch?"
outputPath=$?
if [ ${outputPath} -eq 0 ] ; then
ks-vob-wrapper --conv "${videoFile}" "${outputFile}" ${videoTrack} \
${audioTrack} ${resolution} patch
else
ks-vob-wrapper --conv "${videoFile}" "${outputFile}" ${videoTrack} \
${audioTrack} ${resolution} "${nameVideo}" ${yearVideo} ${genreVideo}
fi
echo ""
echo -n "Press ENTER to continue " ; read null
fi
}
# Choose subtitles in MP4 convert
function subtitlesMP4() {
/usr/bin/zenity --question --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" --cancel-label="No" \
--ok-label="Yes" --width=320 --text "Do you want enable subtitles?"
outputPath=$?
if [ ${outputPath} -eq 0 ] ; then
convertMP4WithSub
else
convertMP4
fi
}
# Choose subtitles in AVI convert
function subtitlesAVI() {
/usr/bin/zenity --question --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" --cancel-label="No" \
--ok-label="Yes" --width=320 --text "Do you want enable subtitles?"
outputPath=$?
if [ ${outputPath} -eq 0 ] ; then
convertAVIWithSub
else
convertAVI
fi
}
# Show main menu
echo ""
echo "* Starting ks-zui (ks-tools) ${VERSION} (${M_DATE})"
echo ""
showMenu=0
while [ ${showMenu} -eq 0 ] ; do
clear
opcion=$(/usr/bin/zenity --width=420 --height=560 --list --title "ks-zui (ks-tools) ${VERSION} ($M_DATE)" \
--column "Available options:" "### CONVERSION OPTIONS ###" "Show video file information" \
"Convert video file to MP4" "Convert video file to AVI" "Convert video file to VOB" \
"########################" "### UPLOAD OPTIONS ###" "Upload videos file(s) to server" \
"Upload audio file(s) to server" "Upload common file(s) to server" "Upload recursively file(s) to server"\
"Remove configuration" "Show configuration" "Edit configuration" \
"About" "Exit")
opcion=$(echo ${opcion} | cut -d "|" -f 1)
# opcion=$(echo ${opcion} | cut -d "|" -f 1)
echo ${opcion}
if [ "${opcion}" == "### CONVERSION OPTIONS ###" ] ; then
echo null > /dev/null
elif [ "${opcion}" == "Show video file information" ] ; then
showVideoInfo
elif [ "${opcion}" == "Convert video file to MP4" ] ; then
subtitlesMP4
elif [ "${opcion}" == "Convert video file to AVI" ] ; then
subtitlesAVI
elif [ "${opcion}" == "Convert video file to VOB" ] ; then
convertVOB
elif [ "${opcion}" == "########################" ] ; then
echo null > /dev/null
elif [ "${opcion}" == "### UPLOAD OPTIONS ###" ] ; then
echo null > /dev/null
elif [ "${opcion}" == "Upload videos file(s) to server" ] ; then
ks-upv -i
/usr/bin/zenity --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" --info --width=300 \
--text "File(s) upload is complete!"
elif [ "${opcion}" == "Upload audio file(s) to server" ] ; then
ks-upa -i
/usr/bin/zenity --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" --info --width=300 \
--text "File(s) upload is complete!"
elif [ "${opcion}" == "Upload common file(s) to server" ] ; then
ks-upf -i
/usr/bin/zenity --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" --info --width=300 \
--text "File(s) upload is complete!"
elif [ "${opcion}" == "Upload recursively file(s) to server" ] ; then
ks-upr -i
/usr/bin/zenity --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" --info --width=300 \
--text "File(s) upload is complete!"
elif [ "${opcion}" == "Remove configuration" ] ; then
ks-upf -r
/usr/bin/zenity --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" --info --width=300 \
--text "The configuration has been removed!"
elif [ "${opcion}" == "Show configuration" ] ; then
ks-upf -c
echo -n "Press ENTER to continue " ; read null
elif [ "${opcion}" == "Edit configuration" ] ; then
ks-upf -e
elif [ "${opcion}" == "About" ] ; then
showAbout
elif [ "${opcion}" == "Exit" ] ; then
showMenu=1
else
/usr/bin/zenity --title "ks-zui (ks-tools) ${VERSION} (${M_DATE})" --warning --width=300 \
--text "Choose one of the menu options"
fi
done

View File

@ -1,98 +0,0 @@
_blkid_module()
{
local cur prev OPTS OUTPUT_ALL
OUTPUT_ALL=''
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-c'|'--cache-file')
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
;;
'-o'|'--output')
COMPREPLY=( $(compgen -W "value device export full" -- $cur) )
return 0
;;
'-s'|'--match-tag')
COMPREPLY=( $(compgen -W "tag" -- $cur) )
return 0
;;
'-t'|'--match-token')
COMPREPLY=( $(compgen -W "TYPE= LABEL= UUID=" -- $cur) )
return 0
;;
'-L'|'--label')
COMPREPLY=( $(compgen -W "$(cd /dev/disk/by-label/ 2>/dev/null && echo *)" -- $cur) )
return 0
;;
'-U'|'--uuid')
COMPREPLY=( $(compgen -W "$(cd /dev/disk/by-uuid/ 2>/dev/null && echo *)" -- $cur) )
return 0
;;
'-S'|'--size')
COMPREPLY=( $(compgen -W "size" -- $cur) )
return 0
;;
'-O'|'--offset')
COMPREPLY=( $(compgen -W "offset" -- $cur) )
return 0
;;
'-u'|'--usages')
OUTPUT_ALL={,no}{filesystem,raid,crypto,other}
;;
'-n'|'--match-types')
OUTPUT_ALL="
$(awk '{print $NF}' /proc/filesystems)
$(\ls /lib/modules/$(uname -r)/kernel/fs)
"
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
if [ -n "$OUTPUT_ALL" ]; then
local prefix realcur OUTPUT_ALL OUTPUT
realcur="${cur##*,}"
prefix="${cur%$realcur}"
for WORD in $OUTPUT_ALL; do
if ! [[ $prefix == *"$WORD"* ]]; then
OUTPUT="$WORD ${OUTPUT:-""}"
fi
done
compopt -o nospace
COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- "$realcur") )
return 0
fi
case $cur in
-*)
OPTS="
--cache-file
--no-encoding
--garbage-collect
--output
--list-filesystems
--match-tag
--match-token
--list-one
--label
--uuid
--probe
--info
--size
--offset
--usages
--match-types
--help
--version
"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) )
return 0
}
complete -F _blkid_module blkid

View File

@ -1,29 +0,0 @@
_cal_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
case $cur in
-*)
OPTS=" --one
--three
--months
--sunday
--span
--monday
--julian
--year
--twelve
--week
--color=auto
--color=always
--color=never
--version
--help"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
return 0
}
complete -F _cal_module cal

View File

@ -1,29 +0,0 @@
_cfdisk_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-L'|'--color')
COMPREPLY=( $(compgen -W "auto never always" -- $cur) )
return 0
;;
'-V'|'--version'|'h'|'--help')
return 0
;;
esac
case $cur in
-*)
OPTS=" --color
--zero
--help
--version"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) )
return 0
}
complete -F _cfdisk_module cfdisk

View File

@ -1,27 +0,0 @@
_col_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-l'|'--lines')
COMPREPLY=( $(compgen -W "number" -- $cur) )
return 0
;;
'-H'|'--help'|'-V'|'--version')
return 0
;;
esac
OPTS="--no-backspaces
--fine
--pass
--tabs
--spaces
--lines
--version
--help"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
}
complete -F _col_module col

View File

@ -1,27 +0,0 @@
_colcrt_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS=" --no-underlining
--half-lines
--version
--help"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _colcrt_module colcrt

View File

@ -1,29 +0,0 @@
_colrm_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="--version --help"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
case $COMP_CWORD in
1)
COMPREPLY=( $(compgen -W "startcol" -- $cur) )
;;
2)
COMPREPLY=( $(compgen -W "endcol" -- $cur) )
;;
esac
return 0
}
complete -F _colrm_module colrm

View File

@ -1,62 +0,0 @@
_column_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-c'|'--output-width')
COMPREPLY=( $(compgen -W "number" -- $cur) )
return 0
;;
'-s'|'--separator'|'-o'|'--output-separator'|'-n'|'--table-name'|'-O')
COMPREPLY=( $(compgen -W "string" -- $cur) )
return 0
;;
'-O'|'--table-order'|'-N'|'--table-columns'|'-E'|'--table-noextreme'|'-H'|'--table-hide'|'-R'|'--table-right'|'-T'|'--table-truncate'|'-W'|'--table-wrap')
COMPREPLY=( $(compgen -W "string" -- $cur) )
return 0
;;
'-r'|'--tree'|'-i'|'--tree-id'|'-p'|'--tree-parent')
COMPREPLY=( $(compgen -W "string" -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="--columns
--table
--table-name
--table-order
--table-columns
--table-noextreme
--table-noheadings
--table-header-repeat
--table-hide
--table-right
--table-truncate
--table-wrap
--table-empty-lines
--json
--tree
--tree-id
--tree-parent
--output-width
--separator
--output-separator
--fillrows
--help
--version"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _column_module column

View File

@ -1,97 +0,0 @@
_fdisk_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-s'|'--getsz')
COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) )
return 0
;;
'-b'|'--sector-size')
COMPREPLY=( $(compgen -W "512 1024 2048 4096" -- $cur) )
return 0
;;
'-c'|'--compatibility')
COMPREPLY=( $(compgen -W "dos nondos" -- $cur) )
return 0
;;
'-L'|'--color')
COMPREPLY=( $(compgen -W "auto never always" -- $cur) )
return 0
;;
'--output')
local prefix realcur OUTPUT_ALL OUTPUT
realcur="${cur##*,}"
prefix="${cur%$realcur}"
OUTPUT_ALL="
Attrs
Boot
Bsize
Cpg
Cylinders
Device
End
End-C/H/S
Flags
Fsize
Id
Name
Sectors
Size
Slice
Start
Start-C/H/S
Type
Type-UUID
UUID
"
for WORD in $OUTPUT_ALL; do
if ! [[ $prefix == *"$WORD"* ]]; then
OUTPUT="$WORD ${OUTPUT:-""}"
fi
done
compopt -o nospace
COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- "$realcur") )
return 0
;;
'-u'|'--units')
COMPREPLY=( $(compgen -W "cylinders sectors" -- $cur) )
return 0
;;
'-C'|'--cylinders'|'-H'|'--heads'|'-S'|'--sectors')
COMPREPLY=( $(compgen -W "number" -- $cur) )
return 0
;;
'-h'|'--help'|'-v'|'--version'|'-V'|'--list')
return 0
;;
esac
case $cur in
-*)
OPTS="--sector-size
--protect-boot
--compatibility
--color
--list
--output
--type
--units
--getsz
--bytes
--wipe
--wipe-partitions
--cylinders
--heads
--sectors
--help
--version"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) )
return 0
}
complete -F _fdisk_module fdisk

View File

@ -1,34 +0,0 @@
_findfs_module()
{
local cur prev OPTS findable
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="--version --help"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
for i in $(lsblk -rpno label); do
findable+=" LABEL=$i"
done
for i in $(lsblk -rpno uuid); do
findable+=" UUID=$i"
done
for i in $(lsblk -rpno partlabel); do
findable+=" PARTLABEL=$i"
done
for i in $(lsblk -rpno partuuid); do
findable+=" PARTUUID=$i"
done
COMPREPLY=( $(compgen -W "$findable" -- $cur) )
return 0
}
complete -F _findfs_module findfs

View File

@ -1,47 +0,0 @@
_flock_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-w'|'--timeout')
COMPREPLY=( $(compgen -W "seconds" -- $cur) )
return 0
;;
'-E'|'--conflict-exit-code')
COMPREPLY=( $(compgen -W "{0..255}" -- $cur) )
return 0
;;
'-c'|'--command')
compopt -o bashdefault
COMPREPLY=( $(compgen -c -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="--shared
--exclusive
--unlock
--nonblock
--timeout
--conflict-exit-code
--close
--command
--no-fork
--help
--version"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- ${cur:-"/"}) )
return 0
}
complete -F _flock_module flock

View File

@ -1,33 +0,0 @@
_fsck.cramfs_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-b'|'--blocksize')
COMPREPLY=( $(compgen -W "size" -- $cur) )
return 0
;;
'--extract')
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/"}) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
COMPREPLY=( $(compgen -W "--verbose --blocksize --extract --help --version" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _fsck.cramfs_module fsck.cramfs

View File

@ -1,16 +0,0 @@
_fsck.minix_module()
{
local cur OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
case $cur in
-*)
OPTS="--list --auto --repair --verbose --super --uncleared --force --help --version"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) )
return 0
}
complete -F _fsck.minix_module fsck.minix

View File

@ -1,37 +0,0 @@
_getopt_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-l'|'--longoptions')
COMPREPLY=( $(compgen -W "longopts" -- $cur) )
return 0
;;
'-n'|'--name')
COMPREPLY=( $(compgen -W "name" -- $cur) )
return 0
;;
'-o'|'--options')
COMPREPLY=( $(compgen -W "optstring" -- $cur) )
return 0
;;
'-s'|'--shell')
COMPREPLY=( $(compgen -W "sh bash csh tcsh" -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="--alternative --help --longoptions --name --options --quiet --quiet-output --shell --test --unquoted --version"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
return 0
}
complete -F _getopt_module getopt

File diff suppressed because it is too large Load Diff

View File

@ -1,53 +0,0 @@
_hexdump_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-L'|'--color')
COMPREPLY=( $(compgen -W "auto never always" -- $cur) )
return 0
;;
'-e'|'--format')
COMPREPLY=( $(compgen -W "format" -- $cur) )
return 0
;;
'-n'|'--length')
COMPREPLY=( $(compgen -W "length" -- $cur) )
return 0
;;
'-s'|'--skip')
COMPREPLY=( $(compgen -W "offset" -- $cur) )
return 0
;;
'-V'|'--version'|'-h'|'--help')
return 0
;;
esac
case $cur in
-*)
OPTS=" --one-byte-octal
--one-byte-char
--canonical
--two-bytes-decimal
--two-bytes-octal
--two-bytes-hex
--color=
--format
--format-file
--length
--skip
--no-squeezing
--version
--help"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _hexdump_module hexdump

View File

@ -1,27 +0,0 @@
_ipcmk_module()
{
local cur prev
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-M'|'--shmem')
COMPREPLY=( $(compgen -W "size" -- $cur) )
return 0
;;
'-S'|'--semaphore')
COMPREPLY=( $(compgen -W "number" -- $cur) )
return 0
;;
'-p'|'--mode')
COMPREPLY=( $(compgen -W "mode" -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
COMPREPLY=( $(compgen -W "--shmem --semaphore --queue --mode --help --version" -- $cur) )
return 0
}
complete -F _ipcmk_module ipcmk

View File

@ -1,27 +0,0 @@
_isosize_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-d'|'--divisor')
COMPREPLY=( $(compgen -W "number" -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
COMPREPLY=( $(compgen -W "--divisor --sectors --help --version" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _isosize_module isosize

View File

@ -1,78 +0,0 @@
_logger_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-f'|'--file'|'--journald')
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
;;
'-n'|'--server')
COMPREPLY=( $(compgen -A hostname -- $cur) )
return 0
;;
'-P'|'--port')
COMPREPLY=( $(compgen -W "$(awk '$1 ~ /^syslog$/ {split($2, a, "/"); print a[1]}' /etc/services)" -- $cur) )
return 0
;;
'-p'|'--priority')
COMPREPLY=( $(compgen -W "{auth,authpriv,cron,daemon,ftp,lpr,mail,news,security}.{alert,crit,debug,emerg,err,error}" -- $cur) )
return 0
;;
'-t'|'--tag')
COMPREPLY=( $(compgen -W "tag" -- $cur) )
return 0
;;
'-u'|'--socket')
COMPREPLY=( $(compgen -W "$(awk '$NF ~ /^\// {print $NF}' /proc/net/unix)" -- $cur) )
return 0
;;
'--socket-errors')
COMPREPLY=( $(compgen -W "on off auto" -- $cur) )
return 0
;;
'--msgid')
COMPREPLY=( $(compgen -W "msgid" -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="
--file
--help
--id
--journald
--msgid
--no-act
--octet-count
--port
--prio-prefix
--priority
--rfc3164
--rfc5424
--server
--size
--skip-empty
--socket
--socket-errors
--stderr
--tag
--tcp
--udp
--version
"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
return 0
}
complete -F _logger_module logger

View File

@ -1,35 +0,0 @@
_look_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-t'|'--terminate')
COMPREPLY=( $(compgen -W "char" -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="--alternative --alphanum --ignore-case --terminate --version --help"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
case $COMP_CWORD in
1)
COMPREPLY=( $(compgen -W "$(look "$cur")" -- $cur) )
;;
2)
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
;;
esac
return 0
}
complete -F _look_module look

View File

@ -1,31 +0,0 @@
_mcookie_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-f'|'--file')
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
;;
'-m'|'--max-size')
COMPREPLY=( $(compgen -W "bytes" -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="--file --max-size --verbose --version --help"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
return 0
}
complete -F _mcookie_module mcookie

View File

@ -1,27 +0,0 @@
_mkfs_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-t'|'--type')
FSTYPES=$(for I in /sbin/mkfs.* /usr/sbin/mkfs.*; do if [ -e $I ]; then echo ${I##*mkfs.}; fi; done)
COMPREPLY=( $(compgen -W "$FSTYPES" -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS='--type --verbose --help --version'
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
COMPREPLY=( $(compgen -W "$(lsblk -pnro name) /path/to/file" -- $cur) )
return 0
}
complete -F _mkfs_module mkfs

View File

@ -1,30 +0,0 @@
_mkfs.bfs_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-N'|'--inodes')
COMPREPLY=( $(compgen -W "number" -- $cur) )
return 0
;;
'-V'|'--vname'|'-F'|'--fname')
COMPREPLY=( $(compgen -W "name" -- $cur) )
return 0
;;
'-h'|'--help'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS='--inodes --vname --fname --verbose --help --version'
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
COMPREPLY=( $(compgen -W "$(lsblk -pnro name) /path/to/file" -- $cur) )
return 0
}
complete -F _mkfs.bfs_module mkfs.bfs

View File

@ -1,44 +0,0 @@
_mkfs.cramfs_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-b')
COMPREPLY=( $(compgen -W "blksize" -- $cur) )
return 0
;;
'-e')
COMPREPLY=( $(compgen -W "edition" -- $cur) )
return 0
;;
'-N')
COMPREPLY=( $(compgen -W "big little host" -- $cur) )
return 0
;;
'-i')
COMPREPLY=( $(compgen -f -- $cur) )
return 0
;;
'-n')
COMPREPLY=( $(compgen -W "name" -- $cur) )
return 0
;;
'-h'|'-V')
return 0
;;
esac
case $cur in
-*)
OPTS="-h -v -E -b -e -N -i -n -p -s -z"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _mkfs.cramfs_module mkfs.cramfs

View File

@ -1,32 +0,0 @@
_mkfs.minix_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-i'|'--inodes')
COMPREPLY=( $(compgen -W "inodes" -- $cur) )
return 0
;;
'-l'|'--badblocks')
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
;;
'-n'|'--namelength')
COMPREPLY=( $(compgen -W "14 30 60" -- $cur) )
return 0
;;
esac
case $cur in
-*)
OPTS="--namelength --inodes --check --badblocks --help --version -1 -2 -3"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) )
return 0
}
complete -F _mkfs.minix_module mkfs.minix

View File

@ -1,40 +0,0 @@
_mkswap_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-p'|'--pagesize')
COMPREPLY=( $(compgen -W "bytes" -- $cur) )
return 0
;;
'-L'|'--label')
COMPREPLY=( $(compgen -W "label" -- $cur) )
return 0
;;
'-v'|'--swapversion')
COMPREPLY=( $(compgen -W "1" -- $cur) )
return 0
;;
'-U'|'--uuid')
COMPREPLY=( $(compgen -W "$(uuidgen -r)" -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="--check --force --pagesize --label --swapversion --uuid --version --help"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _mkswap_module mkswap

View File

@ -1,30 +0,0 @@
_more_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-V')
return 0
;;
esac
case $cur in
-*)
OPTS="-d -f -l -p -c -u -s -number -V"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
+*)
OPTS="+number +/string"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _more_module more

View File

@ -1,24 +0,0 @@
_namei_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="--help --version --mountpoints --modes --owners --long --nosymlinks --vertical"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _namei_module namei

View File

@ -1,33 +0,0 @@
_pg_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-p')
COMPREPLY=( $(compgen -W "prompt" -- $cur) )
return 0
;;
'-h'|'-V')
return 0
;;
esac
case $cur in
-*)
OPTS="-number -c -e -f -n -p -r -s -h -V"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
+*)
OPTS="+number +/pattern/"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _pg_module pg

View File

@ -1,34 +0,0 @@
_rename_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="--verbose --symlink --help --version --no-act --no-override --interactive"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
case $COMP_CWORD in
1)
COMPREPLY=( $(compgen -W "expression" -- $cur) )
;;
2)
COMPREPLY=( $(compgen -W "replacement" -- $cur) )
;;
*)
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
;;
esac
return 0
}
complete -F _rename_module rename

View File

@ -1,41 +0,0 @@
_renice_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-g'|'--pgrp')
local PGRP
PGRP=$(ps -ax -opgrp | sed '1d')
COMPREPLY=( $(compgen -W "$PGRP" -- $cur) )
return 0
;;
'-n'|'--priority')
COMPREPLY=( $(compgen -W "{-20..20}" -- $cur) )
return 0
;;
'-p'|'--pid')
local PIDS
PIDS=$(cd /proc && echo [0-9]*)
COMPREPLY=( $(compgen -W "$PIDS" -- $cur) )
return 0
;;
'-u'|'--user')
COMPREPLY=( $(compgen -u -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
OPTS="--pgrp
--priority
--pid
--user
--help
--version"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
}
complete -F _renice_module renice

View File

@ -1,24 +0,0 @@
_rev_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="--version --help"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _rev_module rev

View File

@ -1,45 +0,0 @@
_script_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-c'|'--command')
compopt -o bashdefault
COMPREPLY=( $(compgen -c -- $cur) )
return 0
;;
'-o'|'--output-limit')
COMPREPLY=( $(compgen -W "size" -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
'=')
cur=${cur#=}
;;
-*)
OPTS="--append
--command
--return
--flush
--force
--quiet
--output-limit
--timing=
--version
--help"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _script_module script

View File

@ -1,33 +0,0 @@
_scriptreplay_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-d'|'--divisor'|'-m'|'--maxdelay')
COMPREPLY=( $(compgen -W "digit" -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="--timing
--typescript
--divisor
--maxdelay
--version
--help"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _scriptreplay_module scriptreplay

View File

@ -1,23 +0,0 @@
_setsid_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="--ctty --wait --help --version"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
compopt -o bashdefault
COMPREPLY=( $(compgen -c -- $cur) )
return 0
}
complete -F _setsid_module setsid

View File

@ -1,96 +0,0 @@
_sfdisk_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-d'|'--dump'|'-J'|'--json'|'-l'|'--list'|'-F'|'--list-free'|'-r'|'--reorder'|'-s'|'--show-size'|'-V'|'--verify'|'-A'|'--activate'|'--delete')
COMPREPLY=( $(compgen -W "$(lsblk -dpnro name)" -- $cur) )
return 0
;;
'-N'|'--partno')
COMPREPLY=( $(compgen -W "number" -- $cur) )
return 0
;;
'--color'|'-w'|'--wipe'|'-W'|'--wipe-partitions')
COMPREPLY=( $(compgen -W "auto never always" -- $cur) )
return 0
;;
'-o'|'--output')
local prefix realcur OUTPUT_ALL OUTPUT
realcur="${cur##*,}"
prefix="${cur%$realcur}"
OUTPUT_ALL="
Attrs Boot Bsize Cpg Cylinders Device End
End-C/H/S Flags Fsize Id Name Sectors Size
Slice Start Start-C/H/S Type Type-UUID UUID
"
for WORD in $OUTPUT_ALL; do
if ! [[ $prefix == *"$WORD"* ]]; then
OUTPUT="$WORD ${OUTPUT:-""}"
fi
done
compopt -o nospace
COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- "$realcur") )
return 0
;;
'-O'|'--backup-file')
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
;;
'-h'|'--help'|'-v'|'--version')
return 0
;;
esac
case $cur in
'=')
cur=${cur#=}
;;
-*)
OPTS="
--activate
--dump
--json
--show-geometry
--list
--list-free
--reorder
--show-size
--list-types
--verify
--delete
--part-label
--part-type
--part-uuid
--part-attrs
--append
--backup
--bytes
--move-data
--force
--color
--partno
--no-act
--no-reread
--no-tell-kernel
--backup-file
--output
--quiet
--wipe
--wipe-partitions
--label
--label-nested
--help
--version
"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) )
return 0
}
complete -F _sfdisk_module sfdisk

View File

@ -1,32 +0,0 @@
_swaplabel_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-L'|'--label')
COMPREPLY=( $(compgen -W "label" -- $cur) )
return 0
;;
'-U'|'--uuid')
COMPREPLY=( $(compgen -W '$(uuidgen)' -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="--label --uuid --help --version"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _swaplabel_module swaplabel

View File

@ -1,33 +0,0 @@
_ul_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-t'|'--terminal')
local TERM_LIST I
TERM_LIST=''
for I in /usr/share/terminfo/?/*; do
TERM_LIST+="${I##*/} "
done
COMPREPLY=( $(compgen -W "$TERM_LIST" -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="--terminal --indicated --version --help"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -f -- $cur) )
return 0
}
complete -F _ul_module ul

View File

@ -1,39 +0,0 @@
_uuidgen_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-n'|'--namespace')
COMPREPLY=( $(compgen -W "@dns @url @oid @x500 @x.500" -- "$cur") )
return 0
;;
'-N'|'--name')
COMPREPLY=( $(compgen -W "name" -- "$cur") )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="
--random
--time
--namespace
--name
--md5
--sha1
--hex
--help
--version
"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
return 0
}
complete -F _uuidgen_module uuidgen

View File

@ -1,37 +0,0 @@
_uuidparse_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-o'|'--output')
local prefix realcur OUTPUT
realcur="${cur##*,}"
prefix="${cur%$realcur}"
for WORD in "UUID VARIANT TYPE TIME"; do
if ! [[ $prefix == *"$WORD"* ]]; then
OUTPUT="$WORD ${OUTPUT:-""}"
fi
done
compopt -o nospace
COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- $realcur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
OPTS="
--json
--noheadings
--output
--raw
--help
--version
"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
}
complete -F _uuidparse_module uuidparse

View File

@ -1,28 +0,0 @@
_whereis_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-B'|'-M'|'-S')
local IFS=$'\n'
compopt -o filenames
COMPREPLY=( $(compgen -o dirnames -- ${cur:-"/"}) )
return 0
;;
'-h'|'-V')
return 0
;;
esac
case $cur in
-*)
OPTS="-b -B -m -M -s -S -f -u -l"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
COMPREPLY=( $(compgen -W "file" -- $cur) )
return 0
}
complete -F _whereis_module whereis

View File

@ -1,60 +0,0 @@
_wipefs_module()
{
local cur prev OPTS
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
case $prev in
'-O'|'--output')
local prefix realcur OUTPUT_ALL OUTPUT
realcur="${cur##*,}"
prefix="${cur%$realcur}"
OUTPUT_ALL="UUID LABEL LENGTH TYPE OFFSET USAGE DEVICE"
for WORD in $OUTPUT_ALL; do
if ! [[ $prefix == *"$WORD"* ]]; then
OUTPUT="$WORD ${OUTPUT:-""}"
fi
done
compopt -o nospace
COMPREPLY=( $(compgen -P "$prefix" -W "$OUTPUT" -S ',' -- $realcur) )
return 0
;;
'-o'|'--offset')
COMPREPLY=( $(compgen -W "offset" -- $cur) )
return 0
;;
'-t'|'--types')
local TYPES
TYPES="$(blkid -k)"
COMPREPLY=( $(compgen -W "$TYPES" -- $cur) )
return 0
;;
'-h'|'--help'|'-V'|'--version')
return 0
;;
esac
case $cur in
-*)
OPTS="
--all
--backup
--force
--noheadings
--json
--no-act
--offset
--output
--parsable
--quiet
--types
--help
--version
"
COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
return 0
;;
esac
COMPREPLY=( $(compgen -W "$(lsblk -pnro name)" -- $cur) )
return 0
}
complete -F _wipefs_module wipefs

View File

@ -1,253 +0,0 @@
# =========================================================================
#
# Schema Extension for Cygwin User and Group auxiliary classes
#
# Extend your Active Directory using
#
# ldifde -i -f <path>\<this>.ldif -b <username> <domain> <password> \
# -k -c "CN=schema,CN=Configuration,DC=X" #schemaNamingContext
#
# Remember:
# - you have to be schema admin for your active directory
# - you have to run the above command directly from your schema master
#
# For further information read
# http://technet.microsoft.com/en-us/magazine/2008.05.schema.aspx
#
# ----------------------------------------------------------------------
#
# Explanation for the OIDs:
#
# Value Meaning Description
# 1 ISO Identifies the root authority.
# 3 IANA Group designation assigned by ISO.
# 6.1.4.1.2312 Red Hat Organization assigned by IANA.
# 15 Cygwin Assigned by Organization.
# Y Object Type Number defining the different object type
# (category) such as classSchema or
# attributeSchema. For example, 5 defines
# object class.
# Z Object Number identifying a particular object
# within the category. For example, the user
# class has the number 9 assigned to it.
#
# ----------------------------------------------------------------------
# Attribute definition for cygwinHome
dn: CN=cygwin-Home,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd
objectClass: top
objectClass: attributeSchema
cn: cygwin-Home
attributeID: 1.3.6.1.4.1.2312.15.2.1
# attributeSyntax 2.5.5.12 is String(Unicode) with oMSyntax == 64
# see http://technet.microsoft.com/en-us/library/cc961740.aspx
attributeSyntax: 2.5.5.12
isSingleValued: TRUE
adminDisplayName: cygwin-Home
adminDescription: cygwin-Home
oMSyntax: 64
searchFlags: 1
lDAPDisplayName: cygwinHome
systemOnly: FALSE
dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-
# Attribute definition for cygwinShell
dn: CN=cygwin-Shell,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd
objectClass: top
objectClass: attributeSchema
cn: cygwin-Shell
attributeID: 1.3.6.1.4.1.2312.15.2.2
attributeSyntax: 2.5.5.12
isSingleValued: TRUE
adminDisplayName: cygwin-Shell
adminDescription: cygwin-Shell
oMSyntax: 64
searchFlags: 1
lDAPDisplayName: cygwinShell
systemOnly: FALSE
dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-
# Attribute definition for cygwinGecos
dn: CN=cygwin-Gecos,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd
objectClass: top
objectClass: attributeSchema
cn: cygwin-Gecos
attributeID: 1.3.6.1.4.1.2312.15.2.3
attributeSyntax: 2.5.5.12
isSingleValued: TRUE
adminDisplayName: cygwin-Gecos
adminDescription: cygwin-Gecos
oMSyntax: 64
searchFlags: 1
lDAPDisplayName: cygwinGecos
systemOnly: FALSE
dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-
# Attribute definition for cygwinFstab
dn: CN=cygwin-Fstab,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd
objectClass: top
objectClass: attributeSchema
cn: cygwin-Fstab
attributeID: 1.3.6.1.4.1.2312.15.2.4
attributeSyntax: 2.5.5.12
isSingleValued: FALSE
adminDisplayName: cygwin-Fstab
adminDescription: cygwin-Fstab
oMSyntax: 64
searchFlags: 1
lDAPDisplayName: cygwinFstab
systemOnly: FALSE
dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-
# Attribute definition for cygwinUnixUid
dn: CN=cygwin-UnixUid,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd
objectClass: top
objectClass: attributeSchema
cn: cygwin-UnixUid
attributeID: 1.3.6.1.4.1.2312.15.2.5
# attributeSyntax 2.5.5.9 is Integer with oMSyntax == 2
attributeSyntax: 2.5.5.9
isSingleValued: TRUE
adminDisplayName: cygwin-UnixUid
adminDescription: cygwin-UnixUid
oMSyntax: 2
searchFlags: 1
lDAPDisplayName: cygwinUnixUid
systemOnly: FALSE
dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-
# Attribute definition for cygwinUnixGid
dn: CN=cygwin-UnixGid,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd
objectClass: top
objectClass: attributeSchema
cn: cygwin-UnixGid
attributeID: 1.3.6.1.4.1.2312.15.2.6
attributeSyntax: 2.5.5.9
isSingleValued: TRUE
adminDisplayName: cygwin-UnixGid
adminDescription: cygwin-UnixGid
oMSyntax: 2
searchFlags: 1
lDAPDisplayName: cygwinUnixGid
systemOnly: FALSE
dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-
# cygwin-User auxiliary class
dn: CN=cygwin-User,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd
objectClass: top
objectClass: classSchema
cn: cygwin-User
governsID: 1.3.6.1.4.1.2312.15.1.1
mayContain: cygwinHome
mayContain: cygwinShell
mayContain: cygwinGecos
mayContain: cygwinFstab
mayContain: cygwinUnixUid
rDNAttID: cn
adminDisplayName: cygwin-User
adminDescription: cygwin-User
objectClassCategory: 3
lDAPDisplayName: cygwinUser
name: cygwin-User
systemOnly: FALSE
dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-
# cygwin-Group auxiliary class
dn: CN=cygwin-Group,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemaadd
objectClass: top
objectClass: classSchema
cn: cygwin-Group
governsID: 1.3.6.1.4.1.2312.15.1.2
mayContain: cygwinUnixGid
rDNAttID: cn
adminDisplayName: cygwin-Group
adminDescription: cygwin-Group
objectClassCategory: 3
lDAPDisplayName: cygwinGroup
name: cygwin-Group
systemOnly: FALSE
dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-
# Attach cygwin-User to User
dn: CN=User,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemamodify
add: auxiliaryClass
auxiliaryClass: cygwinUser
-
dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-
# Attach cygwin-Group to Group
dn: CN=Group,CN=Schema,CN=Configuration,DC=X
changetype: ntdsschemamodify
add: auxiliaryClass
auxiliaryClass: cygwinGroup
-
dn:
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-

View File

@ -1,19 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Enable autohinter</description>
<!-- Use the Autohinter -->
<match target="pattern">
<!--
This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.
-->
<edit name="autohint" mode="append"><bool>true</bool></edit>
</match>
</fontconfig>

View File

@ -1,19 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Set hintfull to hintstyle</description>
<match target="pattern">
<!--
This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.
-->
<edit name="hintstyle" mode="append"><const>hintfull</const></edit>
</match>
</fontconfig>

View File

@ -1,19 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Set hintmedium to hintstyle</description>
<match target="pattern">
<!--
This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.
-->
<edit name="hintstyle" mode="append"><const>hintmedium</const></edit>
</match>
</fontconfig>

View File

@ -1,19 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Set hintnone to hintstyle</description>
<match target="pattern">
<!--
This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.
-->
<edit name="hintstyle" mode="append"><const>hintnone</const></edit>
</match>
</fontconfig>

View File

@ -1,19 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Set hintslight to hintstyle</description>
<match target="pattern">
<!--
This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.
-->
<edit name="hintstyle" mode="append"><const>hintslight</const></edit>
</match>
</fontconfig>

View File

@ -1,19 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Disable sub-pixel rendering</description>
<!-- Disable sub-pixel rendering -->
<match target="pattern">
<!--
This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.
-->
<edit name="rgba" mode="append"><const>none</const></edit>
</match>
</fontconfig>

View File

@ -1,87 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Bitmap scaling</description>
<!--
If font is bitmap, calculate scale factor.
Note that color bitmap fonts have scalable=true, while
non-color ones have scalable=false. Both groups have outline=false.
-->
<match target="font">
<test name="outline" compare="eq">
<bool>false</bool>
</test>
<edit name="pixelsizefixupfactor" mode="assign">
<divide>
<name target="pattern">pixelsize</name>
<name target="font" >pixelsize</name>
</divide>
</edit>
</match>
<!--
For non-scalable bitmap fonts (ie. non-color), skip
minor scaling if hinting is enabled.
-->
<match target="font">
<test name="outline" compare="eq">
<bool>false</bool>
</test>
<test name="scalable" compare="eq">
<bool>false</bool>
</test>
<test name="hinting" compare="eq">
<bool>true</bool>
</test>
<edit name="scalingnotneeded" mode="assign">
<and>
<less>
<name>pixelsizefixupfactor</name>
<double>1.2</double>
</less>
<more>
<name>pixelsizefixupfactor</name>
<double>0.8</double>
</more>
</and>
</edit>
</match>
<match target="font">
<test name="scalingnotneeded" compare="eq">
<bool>true</bool>
</test>
<edit name="pixelsizefixupfactor" mode="assign">
<double>1.0</double>
</edit>
</match>
<!--
If we *are* going to scale, go ahead and do it.
-->
<match target="font">
<test name="outline" compare="eq">
<bool>false</bool>
</test>
<test name="pixelsizefixupfactor" compare="not_eq">
<double>1.0</double>
</test>
<edit name="matrix" mode="assign">
<times>
<name>matrix</name>
<matrix>
<name>pixelsizefixupfactor</name> <double>0</double>
<double>0</double> <name>pixelsizefixupfactor</name>
</matrix>
</times>
</edit>
<edit name="size" mode="assign">
<divide>
<name>size</name>
<name>pixelsizefixupfactor</name>
</divide>
</edit>
</match>
</fontconfig>

View File

@ -1,19 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Enable sub-pixel rendering with the BGR stripes layout</description>
<!-- Enable sub-pixel rendering -->
<match target="pattern">
<!--
This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.
-->
<edit name="rgba" mode="append"><const>bgr</const></edit>
</match>
</fontconfig>

View File

@ -1,19 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Enable sub-pixel rendering with the RGB stripes layout</description>
<!-- Enable sub-pixel rendering -->
<match target="pattern">
<!--
This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.
-->
<edit name="rgba" mode="append"><const>rgb</const></edit>
</match>
</fontconfig>

View File

@ -1,19 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Enable sub-pixel rendering with the vertical BGR stripes layout</description>
<!-- Enable sub-pixel rendering -->
<match target="pattern">
<!--
This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.
-->
<edit name="rgba" mode="append"><const>vbgr</const></edit>
</match>
</fontconfig>

View File

@ -1,19 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Enable sub-pixel rendering with the vertical RGB stripes layout</description>
<!-- Enable sub-pixel rendering -->
<match target="pattern">
<!--
This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.
-->
<edit name="rgba" mode="append"><const>vrgb</const></edit>
</match>
</fontconfig>

View File

@ -1,19 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Disable hinting</description>
<!-- Disable hinting -->
<match target="pattern">
<!--
This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.
-->
<edit name="hinting" mode="append"><bool>false</bool></edit>
</match>
</fontconfig>

View File

@ -1,21 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Use lcddefault as default for LCD filter</description>
<!-- Use lcddefault as default for LCD filter -->
<match target="pattern">
<!--
This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.
-->
<edit mode="append" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>

View File

@ -1,21 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Use lcdlegacy as default for LCD filter</description>
<!-- Use lcdlegacy as default for LCD filter -->
<match target="pattern">
<!--
This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.
-->
<edit mode="append" name="lcdfilter">
<const>lcdlegacy</const>
</edit>
</match>
</fontconfig>

View File

@ -1,21 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Use lcdlight as default for LCD filter</description>
<!-- Use lcdlight as default for LCD filter -->
<match target="pattern">
<!--
This configuration is available on the major desktop environments.
We shouldn't overwrite it with "assign" unconditionally.
Most clients may picks up the first value only. so using "append"
may simply works to avoid it.
-->
<edit mode="append" name="lcdfilter">
<const>lcdlight</const>
</edit>
</match>
</fontconfig>

View File

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<!-- /etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf
Disable hinting manually at smaller sizes (< 8ppem)
This is a copy of the Bistream Vera fonts fonts rule, as DejaVu is
derived from Vera.
The Bistream Vera fonts have GASP entries suggesting that hinting be
disabled below 8 ppem, but FreeType ignores those, preferring to use
the data found in the instructed hints. The initial Vera release
didn't include the right instructions in the 'prep' table.
-->
<match target="font">
<test name="family">
<string>DejaVu Sans Mono</string>
</test>
<test compare="less" name="pixelsize">
<double>7.5</double>
</test>
<edit name="hinting">
<bool>false</bool>
</edit>
</match>
</fontconfig>

View File

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<!-- /etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf
Disable hinting manually at smaller sizes (< 8ppem)
This is a copy of the Bistream Vera fonts fonts rule, as DejaVu is
derived from Vera.
The Bistream Vera fonts have GASP entries suggesting that hinting be
disabled below 8 ppem, but FreeType ignores those, preferring to use
the data found in the instructed hints. The initial Vera release
didn't include the right instructions in the 'prep' table.
-->
<match target="font">
<test name="family">
<string>DejaVu Sans</string>
</test>
<test compare="less" name="pixelsize">
<double>7.5</double>
</test>
<edit name="hinting">
<bool>false</bool>
</edit>
</match>
</fontconfig>

View File

@ -1,26 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<!-- /etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf
Disable hinting manually at smaller sizes (< 8ppem)
This is a copy of the Bistream Vera fonts fonts rule, as DejaVu is
derived from Vera.
The Bistream Vera fonts have GASP entries suggesting that hinting be
disabled below 8 ppem, but FreeType ignores those, preferring to use
the data found in the instructed hints. The initial Vera release
didn't include the right instructions in the 'prep' table.
-->
<match target="font">
<test name="family">
<string>DejaVu Serif</string>
</test>
<test compare="less" name="pixelsize">
<double>7.5</double>
</test>
<edit name="hinting">
<bool>false</bool>
</edit>
</match>
</fontconfig>

View File

@ -1,53 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Disable hinting for Bitstream Vera fonts when the size is less than 8ppem</description>
<!--
The Bitstream Vera fonts have GASP entries suggesting that hinting be
disabled below 8 ppem, but FreeType ignores those, preferring to use
the data found in the instructed hints. The initial Vera release
didn't include the right instructions in the 'prep' table. Fix this
by disabling hinting manually at smaller sizes (< 8ppem)
-->
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>Bitstream Vera Sans</string>
</test>
<test name="pixelsize" compare="less">
<double>7.5</double>
</test>
<edit name="hinting">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>Bitstream Vera Serif</string>
</test>
<test name="pixelsize" compare="less">
<double>7.5</double>
</test>
<edit name="hinting">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>Bitstream Vera Sans Mono</string>
</test>
<test name="pixelsize" compare="less">
<double>7.5</double>
</test>
<edit name="hinting">
<bool>false</bool>
</edit>
</match>
</fontconfig>

View File

@ -1,132 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Disable hinting for CJK fonts</description>
<!-- We can't hint CJK fonts well, so turn off hinting for CJK fonts. -->
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>Kochi Mincho</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>Kochi Gothic</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>Sazanami Mincho</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>Sazanami Gothic</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>Baekmuk Batang</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>Baekmuk Dotum</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>Baekmuk Gulim</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>Baekmuk Headline</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>AR PL Mingti2L Big5</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>AR PL ShanHeiSun Uni</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>AR PL KaitiM Big5</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>AR PL ZenKai Uni</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>AR PL SungtiL GB</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>AR PL KaitiM GB</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family" compare="eq" ignore-blanks="true">
<string>ZYSong18030</string>
</test>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>

View File

@ -1,634 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Set substitutions for similar/metric-compatible families</description>
<!--
Alias similar/metric-compatible families from various sources:
PostScript fonts: URW fonts: GUST fonts: Windows fonts:
====================== ================== ================= ==================
Helvetica Nimbus Sans TeX Gyre Heros
Helvetica Narrow Nimbus Sans Narrow TeX Gyre Heros Cn
Times Nimbus Roman TeX Gyre Termes
Courier Nimbus Mono PS TeX Gyre Cursor
ITC Avant Garde Gothic URW Gothic TeX Gyre Adventor
ITC Bookman URW Bookman TeX Gyre Bonum Bookman Old Style
ITC Zapf Chancery Z003 TeX Gyre Chorus
Palatino P052 TeX Gyre Pagella Palatino Linotype
New Century Schoolbook C059 TeX Gyre Schola Century Schoolbook
Microsoft fonts: Liberation fonts: Google CrOS core fonts: StarOffice fonts: AMT fonts:
================ ====================== ======================= ================= ==============
Arial Liberation Sans Arimo Albany Albany AMT
Arial Narrow Liberation Sans Narrow
Times New Roman Liberation Serif Tinos Thorndale Thorndale AMT
Courier New Liberation Mono Cousine Cumberland Cumberland AMT
Cambria Caladea
Calibri Carlito
Symbol SymbolNeu
Microsoft fonts: Other fonts:
================ ============
Georgia Gelasio
We want for each of them to fallback to any of these available,
but in an order preferring similar designs first. We do this in three steps:
1) Alias each specific to its generic family.
e.g. Liberation Sans to Arial
2) Weak alias each generic to the other generic of its family.
e.g. Arial to Helvetica
3) Alias each generic to its specifics.
e.g. Arial to Liberation Sans, Arimo, Albany, and Albany AMT
NOTE: The (URW)++ fonts mappings of generics to specifics were removed, because
upstream now includes them in their release of (URW)++ Core Font Set here:
https://github.com/ArtifexSoftware/urw-base35-fonts/tree/master/fontconfig
-->
<!-- Map specifics to generics -->
<!-- PostScript -->
<alias binding="same">
<family>Nimbus Sans L</family>
<default>
<family>Helvetica</family>
</default>
</alias>
<alias binding="same">
<family>Nimbus Sans</family>
<default>
<family>Helvetica</family>
</default>
</alias>
<alias binding="same">
<family>TeX Gyre Heros</family>
<default>
<family>Helvetica</family>
</default>
</alias>
<alias binding="same">
<family>Nimbus Sans Narrow</family>
<default>
<family>Helvetica Narrow</family>
</default>
</alias>
<alias binding="same">
<family>TeX Gyre Heros Cn</family>
<default>
<family>Helvetica Narrow</family>
</default>
</alias>
<alias binding="same">
<family>Nimbus Roman No9 L</family>
<default>
<family>Times</family>
</default>
</alias>
<alias binding="same">
<family>Nimbus Roman</family>
<default>
<family>Times</family>
</default>
</alias>
<alias binding="same">
<family>TeX Gyre Termes</family>
<default>
<family>Times</family>
</default>
</alias>
<alias binding="same">
<family>Nimbus Mono L</family>
<default>
<family>Courier</family>
</default>
</alias>
<alias binding="same">
<family>Nimbus Mono</family>
<default>
<family>Courier</family>
</default>
</alias>
<alias binding="same">
<family>Nimbus Mono PS</family>
<default>
<family>Courier</family>
</default>
</alias>
<alias binding="same">
<family>TeX Gyre Cursor</family>
<default>
<family>Courier</family>
</default>
</alias>
<alias binding="same">
<family>Avant Garde</family>
<default>
<family>ITC Avant Garde Gothic</family>
</default>
</alias>
<alias binding="same">
<family>URW Gothic L</family>
<default>
<family>ITC Avant Garde Gothic</family>
</default>
</alias>
<alias binding="same">
<family>URW Gothic</family>
<default>
<family>ITC Avant Garde Gothic</family>
</default>
</alias>
<alias binding="same">
<family>TeX Gyre Adventor</family>
<default>
<family>ITC Avant Garde Gothic</family>
</default>
</alias>
<alias binding="same">
<family>Bookman</family>
<default>
<family>ITC Bookman</family>
</default>
</alias>
<alias binding="same">
<family>URW Bookman L</family>
<default>
<family>ITC Bookman</family>
</default>
</alias>
<alias binding="same">
<family>Bookman URW</family>
<default>
<family>ITC Bookman</family>
</default>
</alias>
<alias binding="same">
<family>URW Bookman</family>
<default>
<family>ITC Bookman</family>
</default>
</alias>
<alias binding="same">
<family>TeX Gyre Bonum</family>
<default>
<family>ITC Bookman</family>
</default>
</alias>
<alias binding="same">
<family>Bookman Old Style</family>
<default>
<family>ITC Bookman</family>
</default>
</alias>
<alias binding="same">
<family>Zapf Chancery</family>
<default>
<family>ITC Zapf Chancery</family>
</default>
</alias>
<alias binding="same">
<family>URW Chancery L</family>
<default>
<family>ITC Zapf Chancery</family>
</default>
</alias>
<alias binding="same">
<family>Chancery URW</family>
<default>
<family>ITC Zapf Chancery</family>
</default>
</alias>
<alias binding="same">
<family>Z003</family>
<default>
<family>ITC Zapf Chancery</family>
</default>
</alias>
<alias binding="same">
<family>TeX Gyre Chorus</family>
<default>
<family>ITC Zapf Chancery</family>
</default>
</alias>
<alias binding="same">
<family>URW Palladio L</family>
<default>
<family>Palatino</family>
</default>
</alias>
<alias binding="same">
<family>Palladio URW</family>
<default>
<family>Palatino</family>
</default>
</alias>
<alias binding="same">
<family>P052</family>
<default>
<family>Palatino</family>
</default>
</alias>
<alias binding="same">
<family>TeX Gyre Pagella</family>
<default>
<family>Palatino</family>
</default>
</alias>
<alias binding="same">
<family>Palatino Linotype</family>
<default>
<family>Palatino</family>
</default>
</alias>
<alias binding="same">
<family>Century Schoolbook L</family>
<default>
<family>New Century Schoolbook</family>
</default>
</alias>
<alias binding="same">
<family>Century SchoolBook URW</family>
<default>
<family>New Century Schoolbook</family>
</default>
</alias>
<alias binding="same">
<family>C059</family>
<default>
<family>New Century Schoolbook</family>
</default>
</alias>
<alias binding="same">
<family>TeX Gyre Schola</family>
<default>
<family>New Century Schoolbook</family>
</default>
</alias>
<alias binding="same">
<family>Century Schoolbook</family>
<default>
<family>New Century Schoolbook</family>
</default>
</alias>
<!-- Microsoft -->
<alias binding="same">
<family>Arimo</family>
<default>
<family>Arial</family>
</default>
</alias>
<alias binding="same">
<family>Liberation Sans</family>
<default>
<family>Arial</family>
</default>
</alias>
<alias binding="same">
<family>Liberation Sans Narrow</family>
<default>
<family>Arial Narrow</family>
</default>
</alias>
<alias binding="same">
<family>Albany</family>
<default>
<family>Arial</family>
</default>
</alias>
<alias binding="same">
<family>Albany AMT</family>
<default>
<family>Arial</family>
</default>
</alias>
<alias binding="same">
<family>Tinos</family>
<default>
<family>Times New Roman</family>
</default>
</alias>
<alias binding="same">
<family>Liberation Serif</family>
<default>
<family>Times New Roman</family>
</default>
</alias>
<alias binding="same">
<family>Thorndale</family>
<default>
<family>Times New Roman</family>
</default>
</alias>
<alias binding="same">
<family>Thorndale AMT</family>
<default>
<family>Times New Roman</family>
</default>
</alias>
<alias binding="same">
<family>Cousine</family>
<default>
<family>Courier New</family>
</default>
</alias>
<alias binding="same">
<family>Liberation Mono</family>
<default>
<family>Courier New</family>
</default>
</alias>
<alias binding="same">
<family>Cumberland</family>
<default>
<family>Courier New</family>
</default>
</alias>
<alias binding="same">
<family>Cumberland AMT</family>
<default>
<family>Courier New</family>
</default>
</alias>
<alias binding="same">
<family>Gelasio</family>
<default>
<family>Georgia</family>
</default>
</alias>
<alias binding="same">
<family>Caladea</family>
<default>
<family>Cambria</family>
</default>
</alias>
<alias binding="same">
<family>Carlito</family>
<default>
<family>Calibri</family>
</default>
</alias>
<alias binding="same">
<family>SymbolNeu</family>
<default>
<family>Symbol</family>
</default>
</alias>
<!-- Accept the other group as fallback -->
<!-- PostScript -->
<alias>
<family>Helvetica</family>
<default>
<family>Arial</family>
</default>
</alias>
<alias>
<family>Helvetica Narrow</family>
<default>
<family>Arial Narrow</family>
</default>
</alias>
<alias>
<family>Times</family>
<default>
<family>Times New Roman</family>
</default>
</alias>
<alias>
<family>Courier</family>
<default>
<family>Courier New</family>
</default>
</alias>
<!-- Microsoft -->
<alias>
<family>Arial</family>
<default>
<family>Helvetica</family>
</default>
</alias>
<alias>
<family>Arial Narrow</family>
<default>
<family>Helvetica Narrow</family>
</default>
</alias>
<alias>
<family>Times New Roman</family>
<default>
<family>Times</family>
</default>
</alias>
<alias>
<family>Courier New</family>
<default>
<family>Courier</family>
</default>
</alias>
<!-- Map generics to specifics -->
<!-- PostScript -->
<alias binding="same">
<family>Helvetica</family>
<accept>
<family>TeX Gyre Heros</family>
</accept>
</alias>
<alias binding="same">
<family>Helvetica Narrow</family>
<accept>
<family>TeX Gyre Heros Cn</family>
</accept>
</alias>
<alias binding="same">
<family>Times</family>
<accept>
<family>TeX Gyre Termes</family>
</accept>
</alias>
<alias binding="same">
<family>Courier</family>
<accept>
<family>TeX Gyre Cursor</family>
</accept>
</alias>
<alias binding="same">
<family>ITC Avant Garde Gothic</family>
<accept>
<family>TeX Gyre Adventor</family>
</accept>
</alias>
<alias binding="same">
<family>ITC Bookman</family>
<accept>
<family>Bookman Old Style</family>
<family>TeX Gyre Bonum</family>
</accept>
</alias>
<alias binding="same">
<family>ITC Zapf Chancery</family>
<accept>
<family>TeX Gyre Chorus</family>
</accept>
</alias>
<alias binding="same">
<family>Palatino</family>
<accept>
<family>Palatino Linotype</family>
<family>TeX Gyre Pagella</family>
</accept>
</alias>
<alias binding="same">
<family>New Century Schoolbook</family>
<accept>
<family>Century Schoolbook</family>
<family>TeX Gyre Schola</family>
</accept>
</alias>
<!-- Microsoft -->
<alias binding="same">
<family>Arial</family>
<accept>
<family>Arimo</family>
<family>Liberation Sans</family>
<family>Albany</family>
<family>Albany AMT</family>
</accept>
</alias>
<alias binding="same">
<family>Arial Narrow</family>
<accept>
<family>Liberation Sans Narrow</family>
</accept>
</alias>
<alias binding="same">
<family>Times New Roman</family>
<accept>
<family>Tinos</family>
<family>Liberation Serif</family>
<family>Thorndale</family>
<family>Thorndale AMT</family>
</accept>
</alias>
<alias binding="same">
<family>Courier New</family>
<accept>
<family>Cousine</family>
<family>Liberation Mono</family>
<family>Cumberland</family>
<family>Cumberland AMT</family>
</accept>
</alias>
<alias binding="same">
<family>Georgia</family>
<accept>
<family>Gelasio</family>
</accept>
</alias>
<alias binding="same">
<family>Cambria</family>
<accept>
<family>Caladea</family>
</accept>
</alias>
<alias binding="same">
<family>Calibri</family>
<accept>
<family>Carlito</family>
</accept>
</alias>
<alias binding="same">
<family>Symbol</family>
<accept>
<family>SymbolNeu</family>
</accept>
</alias>
</fontconfig>

View File

@ -1,236 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Set substitutions for non-Latin fonts</description>
<!--
Mark common families with their generics so we'll get
something reasonable
-->
<!--
Serif faces
-->
<alias>
<family>Nazli</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Lotoos</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Mitra</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Ferdosi</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Badr</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Zar</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Titr</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Jadid</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Kochi Mincho</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>AR PL SungtiL GB</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>AR PL Mingti2L Big5</family>
<default><family>serif</family></default>
</alias>
<alias>
<family> 明朝</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>NanumMyeongjo</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>UnBatang</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Baekmuk Batang</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>MgOpen Canonica</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Sazanami Mincho</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>AR PL ZenKai Uni</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>ZYSong18030</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>FreeSerif</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>SimSun</family>
<default><family>serif</family></default>
</alias>
<!--
Sans-serif faces
-->
<alias>
<family>Arshia</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Elham</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Farnaz</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Nasim</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Sina</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Roya</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Koodak</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Terafik</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Kochi Gothic</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>AR PL KaitiM GB</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>AR PL KaitiM Big5</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family> ゴシック</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>NanumGothic</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>UnDotum</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Baekmuk Dotum</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>MgOpen Modata</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Sazanami Gothic</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>AR PL ShanHeiSun Uni</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>ZYSong18030</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>FreeSans</family>
<default><family>sans-serif</family></default>
</alias>
<!--
Monospace faces
-->
<alias>
<family>NSimSun</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>ZYSong18030</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>NanumGothicCoding</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>FreeMono</family>
<default><family>monospace</family></default>
</alias>
<!--
Fantasy faces
-->
<alias>
<family>Homa</family>
<default><family>fantasy</family></default>
</alias>
<alias>
<family>Kamran</family>
<default><family>fantasy</family></default>
</alias>
<alias>
<family>Fantezi</family>
<default><family>fantasy</family></default>
</alias>
<alias>
<family>Tabassom</family>
<default><family>fantasy</family></default>
</alias>
<!--
Cursive faces
-->
<alias>
<family>IranNastaliq</family>
<default><family>cursive</family></default>
</alias>
<alias>
<family>Nafees Nastaleeq</family>
<default><family>cursive</family></default>
</alias>
</fontconfig>

View File

@ -1,136 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Set substitutions for emoji/math fonts</description>
<!-- Keep in sync with 60-generic.conf -->
<!-- Emoji -->
<!-- System emoji -->
<alias binding="same">
<family>Noto Color Emoji</family> <!-- Google -->
<default><family>emoji</family></default>
</alias>
<alias binding="same">
<family>Apple Color Emoji</family> <!-- Apple -->
<default><family>emoji</family></default>
</alias>
<alias binding="same">
<family>Segoe UI Emoji</family> <!-- Microsoft -->
<default><family>emoji</family></default>
</alias>
<alias binding="same">
<family>Twitter Color Emoji</family> <!-- Twitter -->
<default><family>emoji</family></default>
</alias>
<alias binding="same">
<family>EmojiOne Mozilla</family> <!-- Mozilla -->
<default><family>emoji</family></default>
</alias>
<!-- Third-party emoji -->
<alias binding="same">
<family>Emoji Two</family>
<default><family>emoji</family></default>
</alias>
<alias binding="same">
<family>Emoji One</family>
<default><family>emoji</family></default>
</alias>
<!-- B&W -->
<alias binding="same">
<family>Noto Emoji</family> <!-- Google -->
<default><family>emoji</family></default>
</alias>
<alias binding="same">
<family>Android Emoji</family> <!-- Google -->
<default><family>emoji</family></default>
</alias>
<!-- Add language for emoji, to match other emoji fonts. -->
<match>
<test name="family">
<string>emoji</string>
</test>
<edit name="lang" mode="prepend">
<string>und-zsye</string>
</edit>
</match>
<match>
<test name="lang">
<string>und-zsye</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>emoji</string>
</test>
<!-- Add generic family. -->
<edit name="family" mode="append" binding="strong">
<string>emoji</string>
</edit>
</match>
<!-- Math -->
<!-- https://en.wikipedia.org/wiki/Category:Mathematical_OpenType_typefaces -->
<alias binding="same">
<family>XITS Math</family> <!-- Khaled Hosny -->
<default><family>math</family></default>
</alias>
<alias binding="same">
<family>STIX Two Math</family> <!-- AMS -->
<default><family>math</family></default>
</alias>
<alias binding="same">
<family>Cambria Math</family> <!-- Microsoft -->
<default><family>math</family></default>
</alias>
<alias binding="same">
<family>Latin Modern Math</family> <!-- TeX -->
<default><family>math</family></default>
</alias>
<alias binding="same">
<family>Minion Math</family> <!-- Adobe -->
<default><family>math</family></default>
</alias>
<alias binding="same">
<family>Lucida Math</family> <!-- Adobe -->
<default><family>math</family></default>
</alias>
<alias binding="same">
<family>Asana Math</family>
<default><family>math</family></default>
</alias>
<!-- Add language for math, to match other math fonts. -->
<match>
<test name="family">
<string>math</string>
</test>
<edit name="lang" mode="prepend">
<string>und-zmth</string>
</edit>
</match>
<match>
<test name="lang">
<string>und-zmth</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>math</string>
</test>
<!-- Add generic family -->
<edit name="family" mode="append" binding="strong">
<string>math</string>
</edit>
</match>
</fontconfig>

View File

@ -1,278 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Set substitutions for Latin fonts</description>
<!--
Mark common families with their generics so we'll get
something reasonable
-->
<!--
Serif faces
-->
<alias>
<family>Bitstream Vera Serif</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Cambria</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Constantia</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>DejaVu Serif</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Elephant</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Garamond</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Georgia</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Liberation Serif</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Luxi Serif</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>MS Serif</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Nimbus Roman No9 L</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Nimbus Roman</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Palatino Linotype</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Thorndale AMT</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Thorndale</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Times New Roman</family>
<default><family>serif</family></default>
</alias>
<alias>
<family>Times</family>
<default><family>serif</family></default>
</alias>
<!--
Sans-serif faces
-->
<alias>
<family>Albany AMT</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Albany</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Arial Unicode MS</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Arial</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Bitstream Vera Sans</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Britannic</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Calibri</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Candara</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Century Gothic</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Corbel</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>DejaVu Sans</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Helvetica</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Haettenschweiler</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Liberation Sans</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>MS Sans Serif</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Nimbus Sans L</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Nimbus Sans</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Luxi Sans</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Tahoma</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Trebuchet MS</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Twentieth Century</family>
<default><family>sans-serif</family></default>
</alias>
<alias>
<family>Verdana</family>
<default><family>sans-serif</family></default>
</alias>
<!--
Monospace faces
-->
<alias>
<family>Andale Mono</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>Bitstream Vera Sans Mono</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>Consolas</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>Courier New</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>Courier</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>Cumberland AMT</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>Cumberland</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>DejaVu Sans Mono</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>Fixedsys</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>Inconsolata</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>Liberation Mono</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>Luxi Mono</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>Nimbus Mono L</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>Nimbus Mono</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>Nimbus Mono PS</family>
<default><family>monospace</family></default>
</alias>
<alias>
<family>Terminal</family>
<default><family>monospace</family></default>
</alias>
<!--
Fantasy faces
-->
<alias>
<family>Bauhaus Std</family>
<default><family>fantasy</family></default>
</alias>
<alias>
<family>Cooper Std</family>
<default><family>fantasy</family></default>
</alias>
<alias>
<family>Copperplate Gothic Std</family>
<default><family>fantasy</family></default>
</alias>
<alias>
<family>Impact</family>
<default><family>fantasy</family></default>
</alias>
<!--
Cursive faces
-->
<alias>
<family>Comic Sans MS</family>
<default><family>cursive</family></default>
</alias>
<alias>
<family>ITC Zapf Chancery Std</family>
<default><family>cursive</family></default>
</alias>
<alias>
<family>Zapfino</family>
<default><family>cursive</family></default>
</alias>
</fontconfig>

View File

@ -1,26 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Add sans-serif to the family when no generic name</description>
<!--
If the font still has no generic name, add sans-serif
-->
<match target="pattern">
<test qual="all" name="family" compare="not_eq">
<string>sans-serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>serif</string>
</test>
<test qual="all" name="family" compare="not_eq">
<string>monospace</string>
</test>
<edit name="family" mode="append_last">
<string>sans-serif</string>
</edit>
</match>
</fontconfig>

View File

@ -1,20 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Load per-user customization files</description>
<!--
Load per-user customization files where stored on XDG Base Directory
specification compliant places. it should be usually:
$HOME/.config/fontconfig/conf.d
$HOME/.config/fontconfig/fonts.conf
-->
<include ignore_missing="yes" prefix="xdg">fontconfig/conf.d</include>
<include ignore_missing="yes" prefix="xdg">fontconfig/fonts.conf</include>
<!-- the following elements will be removed in the future -->
<include ignore_missing="yes" deprecated="yes">~/.fonts.conf.d</include>
<include ignore_missing="yes" deprecated="yes">~/.fonts.conf</include>
</fontconfig>

View File

@ -1,11 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Load local customization file</description>
<!-- Load local system customization file -->
<include ignore_missing="yes">local.conf</include>
</fontconfig>

View File

@ -1,62 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<!-- /etc/fonts/conf.d/57-dejavu-sans-mono.conf
Define aliasing and other fontconfig settings for
DejaVu Sans Mono.
© 2006-2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
-->
<fontconfig>
<!-- Font substitution rules -->
<alias binding="same">
<family>Bepa Mono</family>
<accept>
<family>DejaVu Sans Mono</family>
</accept>
</alias>
<alias binding="same">
<family>Bitstream Prima Sans Mono</family>
<accept>
<family>DejaVu Sans Mono</family>
</accept>
</alias>
<alias binding="same">
<family>Bitstream Vera Sans Mono</family>
<accept>
<family>DejaVu Sans Mono</family>
</accept>
</alias>
<alias binding="same">
<family>DejaVu LGC Sans Mono</family>
<accept>
<family>DejaVu Sans Mono</family>
</accept>
</alias>
<alias binding="same">
<family>Olwen Sans Mono</family>
<accept>
<family>DejaVu Sans Mono</family>
</accept>
</alias>
<alias binding="same">
<family>SUSE Sans Mono</family>
<accept>
<family>DejaVu Sans Mono</family>
</accept>
</alias>
<!-- Generic name assignment -->
<alias>
<family>DejaVu Sans Mono</family>
<default>
<family>monospace</family>
</default>
</alias>
<!-- Generic name aliasing -->
<alias>
<family>monospace</family>
<prefer>
<family>DejaVu Sans Mono</family>
</prefer>
</alias>
</fontconfig>

View File

@ -1,87 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<!-- /etc/fonts/conf.d/57-dejavu-sans.conf
Define aliasing and other fontconfig settings for
DejaVu Sans.
© 2006-2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
-->
<fontconfig>
<!-- Font substitution rules -->
<alias binding="same">
<family>Arev Sans</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>Bepa</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>Bitstream Prima Sans</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>Bitstream Vera Sans</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>DejaVu LGC Sans</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>Hunky Sans</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>Olwen Sans</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>SUSE Sans</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<alias binding="same">
<family>Verajja</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<!-- In case VerajjaPDA stops declaring itself as Verajja -->
<alias binding="same">
<family>VerajjaPDA</family>
<accept>
<family>DejaVu Sans</family>
</accept>
</alias>
<!-- Generic name assignment -->
<alias>
<family>DejaVu Sans</family>
<default>
<family>sans-serif</family>
</default>
</alias>
<!-- Generic name aliasing -->
<alias>
<family>sans-serif</family>
<prefer>
<family>DejaVu Sans</family>
</prefer>
</alias>
</fontconfig>

View File

@ -1,69 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<!-- /etc/fonts/conf.d/57-dejavu-serif.conf
Define aliasing and other fontconfig settings for
DejaVu Serif.
© 2006-2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
-->
<fontconfig>
<!-- Font substitution rules -->
<alias binding="same">
<family>Bitstream Prima Serif</family>
<accept>
<family>DejaVu Serif</family>
</accept>
</alias>
<alias binding="same">
<family>Bitstream Vera Serif</family>
<accept>
<family>DejaVu Serif</family>
</accept>
</alias>
<alias binding="same">
<family>DejaVu LGC Serif</family>
<accept>
<family>DejaVu Serif</family>
</accept>
</alias>
<alias binding="same">
<family>Hunky Serif</family>
<accept>
<family>DejaVu Serif</family>
</accept>
</alias>
<alias binding="same">
<family>Olwen Serif</family>
<accept>
<family>DejaVu Serif</family>
</accept>
</alias>
<alias binding="same">
<family>SUSE Serif</family>
<accept>
<family>DejaVu Serif</family>
</accept>
</alias>
<!-- In case Verajja Serif stops declaring itself as DejaVu Serif -->
<alias binding="same">
<family>Verajja Serif</family>
<accept>
<family>DejaVu Serif</family>
</accept>
</alias>
<!-- Generic name assignment -->
<alias>
<family>DejaVu Serif</family>
<default>
<family>serif</family>
</default>
</alias>
<!-- Generic name aliasing -->
<alias>
<family>serif</family>
<prefer>
<family>DejaVu Serif</family>
</prefer>
</alias>
</fontconfig>

View File

@ -1,67 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Set preferable fonts for emoji/math fonts</description>
<!-- Keep in sync with 45-generic.conf -->
<!-- Emoji -->
<!-- Prefer to match color emoji font. -->
<match>
<test name="lang">
<string>und-zsye</string>
</test>
<test qual="all" name="color" compare="not_eq">
<bool>true</bool>
</test>
<test qual="all" name="color" compare="not_eq">
<bool>false</bool>
</test>
<edit name="color" mode="append">
<bool>true</bool>
</edit>
</match>
<!-- TODO
! Match on "color" and alias B&W ones first if no color is requested.
! That's "hard" because <alias> doesn't work in match and needs to be
! expanded to its non-sugar form.
!-->
<alias binding="same">
<family>emoji</family>
<prefer>
<!-- System fonts -->
<family>Noto Color Emoji</family> <!-- Google -->
<family>Apple Color Emoji</family> <!-- Apple -->
<family>Segoe UI Emoji</family> <!-- Microsoft -->
<family>Twitter Color Emoji</family> <!-- Twitter -->
<family>EmojiOne Mozilla</family> <!-- Mozilla -->
<!-- Third-Party fonts -->
<family>Emoji Two</family>
<family>Emoji One</family>
<!-- Non-color -->
<family>Noto Emoji</family> <!-- Google -->
<family>Android Emoji</family> <!-- Google -->
</prefer>
</alias>
<!-- Math -->
<alias binding="same">
<!-- https://en.wikipedia.org/wiki/Category:Mathematical_OpenType_typefaces -->
<family>math</family>
<prefer>
<family>XITS Math</family> <!-- Khaled Hosny -->
<family>STIX Two Math</family> <!-- AMS -->
<family>Cambria Math</family> <!-- Microsoft -->
<family>Latin Modern Math</family> <!-- TeX -->
<family>Minion Math</family> <!-- Adobe -->
<family>Lucida Math</family> <!-- Adobe -->
<family>Asana Math</family>
</prefer>
</alias>
</fontconfig>

View File

@ -1,79 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Set preferable fonts for Latin</description>
<alias>
<family>serif</family>
<prefer>
<family>Bitstream Vera Serif</family>
<family>DejaVu Serif</family>
<family>Times New Roman</family>
<family>Thorndale AMT</family>
<family>Luxi Serif</family>
<family>Nimbus Roman No9 L</family>
<family>Nimbus Roman</family>
<family>Times</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Bitstream Vera Sans</family>
<family>DejaVu Sans</family>
<family>Verdana</family>
<family>Arial</family>
<family>Albany AMT</family>
<family>Luxi Sans</family>
<family>Nimbus Sans L</family>
<family>Nimbus Sans</family>
<family>Helvetica</family>
<family>Lucida Sans Unicode</family>
<family>BPG Glaho International</family> <!-- lat,cyr,arab,geor -->
<family>Tahoma</family> <!-- lat,cyr,greek,heb,arab,thai -->
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Bitstream Vera Sans Mono</family>
<family>DejaVu Sans Mono</family>
<family>Inconsolata</family>
<family>Andale Mono</family>
<family>Courier New</family>
<family>Cumberland AMT</family>
<family>Luxi Mono</family>
<family>Nimbus Mono L</family>
<family>Nimbus Mono</family>
<family>Nimbus Mono PS</family>
<family>Courier</family>
</prefer>
</alias>
<!--
Fantasy faces
-->
<alias>
<family>fantasy</family>
<prefer>
<family>Impact</family>
<family>Copperplate Gothic Std</family>
<family>Cooper Std</family>
<family>Bauhaus Std</family>
</prefer>
</alias>
<!--
Cursive faces
-->
<alias>
<family>cursive</family>
<prefer>
<family>ITC Zapf Chancery Std</family>
<family>Zapfino</family>
<family>Comic Sans MS</family>
</prefer>
</alias>
</fontconfig>

View File

@ -1,423 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
fonts-persian.conf
To configure Persian fonts from The FarsiWeb Project.
Copyright (C) 2005 Sharif FarsiWeb, Inc. <license@farsiweb.info>
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation, and that the name of Sharif FarsiWeb, Inc. not be used in
advertising or publicity pertaining to distribution of the software without
specific, written prior permission. Sharif FarsiWeb, Inc. makes no
representations about the suitability of this software for any purpose. It
is provided "as is" without express or implied warranty.
SHARIF FARSIWEB, INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
ChangeLog:
2005-04-03 Behdad Esfahbod: Initial revision.
2005-10-09 Behdad Esfahbod: Turned off back-slant and Tahoma sections.
2005-11-30 Behdad Esfahbod: Set Titr susbtitution size to 24 points.
2008 Behdad Esfahbod: Cleanup. Add fantasy and cursive.
-->
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<!-- Deprecated fonts are discouraged -->
<!-- Nesf[2] is officially deprecated and has problematic tables -->
<alias binding="same">
<family>Nesf</family>
<accept><family>Nesf2</family></accept>
</alias>
<alias binding="same">
<family>Nesf2</family>
<accept><family>Persian_sansserif_default</family></accept>
</alias>
<!-- Name changes and spelling variant aliases -->
<alias binding="same">
<family>Nazanin</family>
<accept><family>Nazli</family></accept>
</alias>
<alias binding="same">
<family>Lotus</family>
<accept><family>Lotoos</family></accept>
</alias>
<alias binding="same">
<family>Yaqut</family>
<accept><family>Yaghoot</family></accept>
</alias>
<alias binding="same">
<family>Yaghut</family>
<accept><family>Yaghoot</family></accept>
</alias>
<alias binding="same">
<family>Traffic</family>
<accept><family>Terafik</family></accept>
</alias>
<alias binding="same">
<family>Ferdowsi</family>
<accept><family>Ferdosi</family></accept>
</alias>
<alias binding="same">
<family>Fantezy</family>
<accept><family>Fantezi</family></accept>
</alias>
<!-- Classify fonts. -->
<!-- Persian_title class -->
<alias binding="same">
<family>Jadid</family>
<accept><family>Persian_title</family></accept>
</alias>
<alias binding="same">
<family>Titr</family>
<accept><family>Persian_title</family></accept>
</alias>
<!-- Persian_fantasy class -->
<alias binding="same">
<family>Kamran</family>
<accept>
<family>Persian_fantasy</family>
<family>Homa</family>
</accept>
</alias>
<alias binding="same">
<family>Homa</family>
<accept>
<family>Persian_fantasy</family>
<family>Kamran</family>
</accept>
</alias>
<alias binding="same">
<family>Fantezi</family>
<accept><family>Persian_fantasy</family></accept>
</alias>
<alias binding="same">
<family>Tabassom</family>
<accept><family>Persian_fantasy</family></accept>
</alias>
<!-- Persian_square class -->
<alias binding="same">
<family>Arshia</family>
<accept><family>Persian_square</family></accept>
</alias>
<alias binding="same">
<family>Nasim</family>
<accept><family>Persian_square</family></accept>
</alias>
<alias binding="same">
<family>Elham</family>
<accept>
<family>Persian_square</family>
<family>Farnaz</family>
</accept>
</alias>
<alias binding="same">
<family>Farnaz</family>
<accept>
<family>Persian_square</family>
<family>Elham</family>
</accept>
</alias>
<alias binding="same">
<family>Sina</family>
<accept><family>Persian_square</family></accept>
</alias>
<!-- Font ordering per class -->
<!-- Persian_title class -->
<alias binding="same">
<family>Persian_title</family>
<accept>
<family>Titr</family>
<family>Jadid</family>
<family>Persian_serif</family>
</accept>
</alias>
<!-- Persian_fantasy class -->
<alias binding="same">
<family>Persian_fantasy</family>
<accept>
<family>Homa</family>
<family>Kamran</family>
<family>Fantezi</family>
<family>Tabassom</family>
<family>Persian_square</family>
</accept>
</alias>
<!-- Persian_square class -->
<alias binding="same">
<family>Persian_square</family>
<accept>
<family>Arshia</family>
<family>Elham</family>
<family>Farnaz</family>
<family>Nasim</family>
<family>Sina</family>
<family>Persian_serif</family>
</accept>
</alias>
<!-- Register the fonts that we actually do have -->
<match target="scan">
<test name="family" compare="eq" ignore-blanks="true">
<string>Elham</string>
</test>
<edit name="foundry">
<string>farsiweb</string>
</edit>
</match>
<match target="scan">
<test name="family" compare="eq" ignore-blanks="true">
<string>Homa</string>
</test>
<edit name="foundry">
<string>farsiweb</string>
</edit>
</match>
<match target="scan">
<test name="family" compare="eq" ignore-blanks="true">
<string>Koodak</string>
</test>
<edit name="foundry">
<string>farsiweb</string>
</edit>
</match>
<match target="scan">
<test name="family" compare="eq" ignore-blanks="true">
<string>Nazli</string>
</test>
<edit name="foundry">
<string>farsiweb</string>
</edit>
</match>
<match target="scan">
<test name="family" compare="eq" ignore-blanks="true">
<string>Roya</string>
</test>
<edit name="foundry">
<string>farsiweb</string>
</edit>
</match>
<match target="scan">
<test name="family" compare="eq" ignore-blanks="true">
<string>Terafik</string>
</test>
<edit name="foundry">
<string>farsiweb</string>
</edit>
</match>
<match target="scan">
<test name="family" compare="eq" ignore-blanks="true">
<string>Titr</string>
</test>
<edit name="foundry">
<string>farsiweb</string>
</edit>
</match>
<!-- Our fonts should oblique to the other side (TURNED-OFF) -->
<match target="font">
<test name="foundry">
<!--string>farsiweb</string-->
<string>TURNED-OFF</string>
</test>
<test name="foundry">
<string>farsiweb</string>
</test>
<!-- check to see if the font is roman -->
<test name="slant">
<const>roman</const>
</test>
<!-- check to see if the pattern requested non-roman -->
<test target="pattern" name="slant" compare="not_eq">
<const>roman</const>
</test>
<!-- multiply the matrix to slant the font -->
<edit name="matrix" mode="assign">
<times>
<name>matrix</name>
<matrix><double>1</double><double>-0.2</double>
<double>0</double><double>1</double>
</matrix>
</times>
</edit>
<!-- pretend the font is oblique now -->
<edit name="slant" mode="assign">
<const>oblique</const>
</edit>
</match>
<!--
We can't hint our fonts well, so turn off hinting.
Moreover, the bitmaps we have designed (well, they
have designed), suck, so disable them too.
-->
<match target="font">
<test name="foundry">
<string>farsiweb</string>
</test>
<edit name="autohint">
<bool>false</bool>
</edit>
<edit name="hinting">
<bool>false</bool>
</edit>
<edit name="embeddedbitmap">
<bool>false</bool>
</edit>
</match>
<!-- Alias our fonts to common families -->
<!-- Persian serif fonts -->
<alias>
<family>serif</family>
<accept>
<family>Nazli</family>
<family>Lotoos</family>
<family>Mitra</family>
<family>Ferdosi</family>
<family>Badr</family>
<family>Zar</family>
</accept>
</alias>
<!-- Persian sans-serif fonts -->
<alias>
<family>sans-serif</family>
<accept>
<family>Roya</family>
<family>Koodak</family>
<family>Terafik</family>
</accept>
</alias>
<!-- Persian monospace fonts -->
<alias>
<family>monospace</family>
<accept>
<!-- Not really monospace -->
<family>Terafik</family>
</accept>
</alias>
<!-- Persian fantasy fonts -->
<alias>
<family>fantasy</family>
<accept>
<family>Homa</family>
<family>Kamran</family>
<family>Fantezi</family>
<family>Tabassom</family>
</accept>
</alias>
<!-- Persian (and Urdu) Nastaliq/cursive fonts -->
<alias>
<family>cursive</family>
<accept>
<family>IranNastaliq</family>
<family>Nafees Nastaleeq</family>
</accept>
</alias>
<!-- Use Titr in titles -->
<!-- Both serif... -->
<match>
<test name="family">
<string>serif</string>
</test>
<test name="weight" compare="more_eq">
<int>200</int>
</test>
<test name="size" compare="more_eq">
<double>24</double>
</test>
<edit name="family" mode="prepend">
<string>Titr</string>
</edit>
</match>
<!-- and sans-serif. -->
<match>
<test name="family">
<string>sans-serif</string>
</test>
<test name="weight" compare="more_eq">
<int>200</int>
</test>
<test name="size" compare="more_eq">
<double>24</double>
</test>
<edit name="family" mode="prepend">
<string>Titr</string>
</edit>
</match>
<!-- and more. -->
<match>
<test name="family">
<string>Persian_sansserif_default</string>
</test>
<test name="weight" compare="more_eq">
<int>200</int>
</test>
<test name="size" compare="more_eq">
<double>24</double>
</test>
<edit name="family" mode="prepend" binding="same">
<string>Titr</string>
</edit>
</match>
<!-- Default substituted for deprecated sans-serif fonts -->
<match>
<test name="family">
<string>Persian_sansserif_default</string>
</test>
<edit name="family" mode="assign" binding="same">
<string>Roya</string>
</edit>
</match>
</fontconfig>

View File

@ -1,20 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<alias>
<family>serif</family>
<prefer>
<family>Khmer OS"</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Khmer OS"</family>
</prefer>
</alias>
</fontconfig>

View File

@ -1,200 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Set preferable fonts for non-Latin</description>
<alias>
<family>serif</family>
<prefer>
<family>Artsounk</family> <!-- armenian -->
<family>BPG UTF8 M</family> <!-- georgian -->
<family>Kinnari</family> <!-- thai -->
<family>Norasi</family> <!-- thai -->
<family>Frank Ruehl</family> <!-- hebrew -->
<family>Dror</family> <!-- hebrew -->
<family>JG LaoTimes</family> <!-- lao -->
<family>Saysettha Unicode</family> <!-- lao -->
<family>Pigiarniq</family> <!-- canadian syllabics -->
<family>B Davat</family> <!-- arabic (fa) -->
<family>B Compset</family> <!-- arabic (fa) -->
<family>Kacst-Qr</family> <!-- arabic (ar) -->
<family>Urdu Nastaliq Unicode</family> <!-- arabic (ur) -->
<family>Raghindi</family> <!-- devanagari -->
<family>Mukti Narrow</family> <!-- bengali -->
<family>malayalam</family> <!-- malayalam -->
<family>Sampige</family> <!-- kannada -->
<family>padmaa</family> <!-- gujarati -->
<family>Hapax Berbère</family> <!-- tifinagh -->
<family>MS Mincho</family> <!-- han (ja) -->
<family>SimSun</family> <!-- han (zh-cn,zh-tw) -->
<family>PMingLiu</family> <!-- han (zh-tw) -->
<family>WenQuanYi Zen Hei</family> <!-- han (zh-cn,zh-tw) -->
<family>WenQuanYi Bitmap Song</family> <!-- han (zh-cn,zh-tw) -->
<family>AR PL ShanHeiSun Uni</family> <!-- han (ja,zh-cn,zh-tw) -->
<family>AR PL New Sung</family> <!-- han (zh-cn,zh-tw) -->
<family>ZYSong18030</family> <!-- han (zh-cn,zh-tw) -->
<family>HanyiSong</family> <!-- han (zh-cn,zh-tw) -->
<family>MgOpen Canonica</family>
<family>Sazanami Mincho</family>
<family>IPAMonaMincho</family>
<family>IPAMincho</family>
<family>Kochi Mincho</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>AR PL Zenkai Uni</family>
<family> 明朝</family>
<family>ZYSong18030</family>
<family>NanumMyeongjo</family> <!-- hangul (ko) -->
<family>UnBatang</family> <!-- hangul (ko) -->
<family>Baekmuk Batang</family> <!-- hangul (ko) -->
<family>KacstQura</family>
<family>Frank Ruehl CLM</family>
<family>Lohit Bengali</family>
<family>Lohit Gujarati</family>
<family>Lohit Hindi</family>
<family>Lohit Marathi</family>
<family>Lohit Maithili</family>
<family>Lohit Kashmiri</family>
<family>Lohit Konkani</family>
<family>Lohit Nepali</family>
<family>Lohit Sindhi</family>
<family>Lohit Punjabi</family>
<family>Lohit Tamil</family>
<family>Meera</family>
<family>Lohit Malayalam</family>
<family>Lohit Kannada</family>
<family>Lohit Telugu</family>
<family>Lohit Oriya</family>
<family>LKLUG</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Nachlieli</family> <!-- hebrew -->
<family>Lucida Sans Unicode</family>
<family>Yudit Unicode</family>
<family>Kerkis</family> <!-- greek -->
<family>ArmNet Helvetica</family> <!-- armenian -->
<family>Artsounk</family> <!-- armenian -->
<family>BPG UTF8 M</family> <!-- georgian -->
<family>Waree</family> <!-- thai -->
<family>Loma</family> <!-- thai -->
<family>Garuda</family> <!-- thai -->
<family>Umpush</family> <!-- thai -->
<family>Saysettha Unicode</family> <!-- lao? -->
<family>JG Lao Old Arial</family> <!-- lao -->
<family>GF Zemen Unicode</family> <!-- ethiopic -->
<family>Pigiarniq</family> <!-- canadian syllabics -->
<family>B Davat</family> <!-- arabic (fa) -->
<family>B Compset</family> <!-- arabic (fa) -->
<family>Kacst-Qr</family> <!-- arabic (ar) -->
<family>Urdu Nastaliq Unicode</family> <!-- arabic (ur) -->
<family>Raghindi</family> <!-- devanagari -->
<family>Mukti Narrow</family> <!-- bengali -->
<family>malayalam</family> <!-- malayalam -->
<family>Sampige</family> <!-- kannada -->
<family>padmaa</family> <!-- gujarati -->
<family>Hapax Berbère</family> <!-- tifinagh -->
<family>MS Gothic</family> <!-- han (ja) -->
<family>UmePlus P Gothic</family> <!-- han (ja) -->
<family>Microsoft YaHei</family> <!-- han (zh-cn,zh-tw) -->
<family>Microsoft JhengHei</family> <!-- han (zh-tw) -->
<family>WenQuanYi Zen Hei</family> <!-- han (zh-cn,zh-tw) -->
<family>WenQuanYi Bitmap Song</family> <!-- han (zh-cn,zh-tw) -->
<family>AR PL ShanHeiSun Uni</family> <!--han (ja,zh-cn,zh-tw) -->
<family>AR PL New Sung</family> <!-- han (zh-cn,zh-tw) -->
<family>MgOpen Modata</family>
<family>VL Gothic</family>
<family>IPAMonaGothic</family>
<family>IPAGothic</family>
<family>Sazanami Gothic</family>
<family>Kochi Gothic</family>
<family>AR PL KaitiM GB</family>
<family>AR PL KaitiM Big5</family>
<family>AR PL ShanHeiSun Uni</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family> ゴシック</family>
<family>ZYSong18030</family> <!-- han (zh-cn,zh-tw) -->
<family>TSCu_Paranar</family> <!-- tamil -->
<family>NanumGothic</family> <!-- hangul (ko) -->
<family>UnDotum</family> <!-- hangul (ko) -->
<family>Baekmuk Dotum</family> <!-- hangul (ko) -->
<family>Baekmuk Gulim</family> <!-- hangul (ko) -->
<family>KacstQura</family>
<family>Lohit Bengali</family>
<family>Lohit Gujarati</family>
<family>Lohit Hindi</family>
<family>Lohit Marathi</family>
<family>Lohit Maithili</family>
<family>Lohit Kashmiri</family>
<family>Lohit Konkani</family>
<family>Lohit Nepali</family>
<family>Lohit Sindhi</family>
<family>Lohit Punjabi</family>
<family>Lohit Tamil</family>
<family>Meera</family>
<family>Lohit Malayalam</family>
<family>Lohit Kannada</family>
<family>Lohit Telugu</family>
<family>Lohit Oriya</family>
<family>LKLUG</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Miriam Mono</family> <!-- hebrew -->
<family>VL Gothic</family>
<family>IPAMonaGothic</family>
<family>IPAGothic</family>
<family>Sazanami Gothic</family>
<family>Kochi Gothic</family>
<family>AR PL KaitiM GB</family>
<family>MS Gothic</family> <!-- han (ja) -->
<family>UmePlus Gothic</family> <!-- han (ja) -->
<family>NSimSun</family> <!-- han (zh-cn,zh-tw) -->
<family>MingLiu</family> <!-- han (zh-tw) -->
<family>AR PL ShanHeiSun Uni</family> <!-- han (ja,zh-cn,zh-tw) -->
<family>AR PL New Sung Mono</family> <!-- han (zh-cn,zh-tw) -->
<family>HanyiSong</family> <!-- han (zh-cn) -->
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>ZYSong18030</family> <!-- han (zh-cn,zh-tw) -->
<family>NanumGothicCoding</family> <!-- hangul (ko) -->
<family>NanumGothic</family> <!-- hangul (ko) -->
<family>UnDotum</family> <!-- hangul (ko) -->
<family>Baekmuk Dotum</family> <!-- hangul (ko) -->
<family>Baekmuk Gulim</family> <!-- hangul (ko) -->
<family>TlwgTypo</family> <!-- thai -->
<family>TlwgTypist</family> <!-- thai -->
<family>TlwgTypewriter</family> <!-- thai -->
<family>TlwgMono</family> <!-- thai -->
<family>Hasida</family> <!-- hebrew -->
<family>Mitra Mono</family> <!-- bengali -->
<family>GF Zemen Unicode</family> <!-- ethiopic -->
<family>Hapax Berbère</family> <!-- tifinagh -->
<family>Lohit Bengali</family>
<family>Lohit Gujarati</family>
<family>Lohit Hindi</family>
<family>Lohit Marathi</family>
<family>Lohit Maithili</family>
<family>Lohit Kashmiri</family>
<family>Lohit Konkani</family>
<family>Lohit Nepali</family>
<family>Lohit Sindhi</family>
<family>Lohit Punjabi</family>
<family>Lohit Tamil</family>
<family>Meera</family>
<family>Lohit Malayalam</family>
<family>Lohit Kannada</family>
<family>Lohit Telugu</family>
<family>Lohit Oriya</family>
<family>LKLUG</family>
</prefer>
</alias>
</fontconfig>

View File

@ -1,32 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<alias>
<family>serif</family>
<prefer>
<family>FreeSerif</family>
<family>Code2000</family>
<family>Code2001</family> <!-- plane1 and beyond -->
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>FreeSans</family>
<family>Arial Unicode MS</family>
<family>Arial Unicode</family>
<family>Code2000</family> <!-- almost everything; serif actually -->
<family>Code2001</family> <!-- plane1 and beyond -->
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>FreeMono</family>
</prefer>
</alias>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Reject bitmap fonts</description>
<!-- Reject bitmap fonts -->
<selectfont>
<rejectfont>
<pattern>
<patelt name="scalable"><bool>false</bool></patelt>
</pattern>
</rejectfont>
</selectfont>
</fontconfig>

View File

@ -1,17 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule translate="no" selector="/fontconfig/*[not(self::description)]"/>
</its:rules>
<description>Accept bitmap fonts</description>
<!-- Accept bitmap fonts -->
<selectfont>
<acceptfont>
<pattern>
<patelt name="scalable"><bool>false</bool></patelt>
</pattern>
</acceptfont>
</selectfont>
</fontconfig>

Some files were not shown because too many files have changed in this diff Show More