Blame SOURCES/console-setup-1.76-paths.patch

267cf4
diff -up console-setup-1.143/Makefile.orig console-setup-1.143/Makefile
267cf4
--- console-setup-1.143/Makefile.orig	2016-05-24 09:43:13.424382839 +0200
267cf4
+++ console-setup-1.143/Makefile	2016-05-24 09:45:10.350994606 +0200
267cf4
@@ -14,7 +14,7 @@ prefix := /usr/local
267cf4
 # etcdir must be either /etc or
267cf4
 etcdir := $(prefix)/etc
267cf4
 bootprefix := $(patsubst %/usr,%/,$(prefix:%/=%))
267cf4
-mandir := $(prefix)/share/man
267cf4
+mandir = $(prefix)/usr/share/man
267cf4
 
267cf4
 acmfiles := $(wildcard $./acm/*.acm)
267cf4
 
267cf4
@@ -26,8 +26,8 @@ build-common: gzipped-acmfiles
267cf4
 
267cf4
 .PHONY: install-common
267cf4
 install-common: build-common
267cf4
-	install -d  $(bootprefix)/bin/
267cf4
-	install setupcon $(bootprefix)/bin/
267cf4
+	install -d  $(bootprefix)/usr/bin/
267cf4
+	install setupcon $(bootprefix)/usr/bin/
267cf4
 	install -d $(etcdir)/default
267cf4
 	install -m 644 config/keyboard $(etcdir)/default/
267cf4
 	install -m 644 config/console-setup $(etcdir)/default/
267cf4
@@ -39,10 +39,10 @@ install-common: build-common
267cf4
 
267cf4
 .PHONY: install-common-linux
267cf4
 install-common-linux: build-linux
267cf4
-	install -d $(prefix)/share/consolefonts/
267cf4
-	install -m 644 Fonts/*.psf.gz $(prefix)/share/consolefonts/
267cf4
-	install -d $(prefix)/share/consoletrans
267cf4
-	install -m 644 acm/*.acm.gz $(prefix)/share/consoletrans/
267cf4
+	install -d $(prefix)/usr/share/consolefonts/
267cf4
+	install -m 644 Fonts/*.psf.gz $(prefix)/usr/share/consolefonts/
267cf4
+	install -d $(prefix)/usr/share/consoletrans
267cf4
+	install -m 644 acm/*.acm.gz $(prefix)/usr/share/consoletrans/
267cf4
 	install -d $(etcdir)/console-setup
267cf4
 	install -m 644 Keyboard/compose.*.inc $(etcdir)/console-setup/
267cf4
 	install -m 644 Keyboard/remap.inc $(etcdir)/console-setup/
267cf4
@@ -67,8 +67,8 @@ install-ckbcomp:
267cf4
 		mkdir -p $(etcdir)/console-setup \
267cf4
 		&& cp -r Keyboard/ckb/ $(etcdir)/console-setup/ckb; \
267cf4
 	fi
267cf4
-	install -d $(prefix)/bin/
267cf4
-	install -m 755 Keyboard/ckbcomp $(prefix)/bin/
267cf4
+	install -d $(prefix)/usr/bin/
267cf4
+	install -m 755 Keyboard/ckbcomp $(prefix)/usr/bin/
267cf4
 	install -d $(mandir)/man1/
267cf4
 	install -m 644 man/ckbcomp.1 $(mandir)/man1/
267cf4
 
267cf4
diff -up console-setup-1.143/man/ckbcomp.1.orig console-setup-1.143/man/ckbcomp.1
267cf4
--- console-setup-1.143/man/ckbcomp.1.orig	2011-04-06 03:01:33.000000000 +0200
267cf4
+++ console-setup-1.143/man/ckbcomp.1	2016-05-24 09:47:15.360674275 +0200
267cf4
@@ -46,7 +46,7 @@ Print a usage message and exit.
267cf4
 .BI -charmap\  charmap
267cf4
 The encoding to use for the output keymap.  There should be an
267cf4
 character mapping table defining this encoding in
267cf4
-.IR /usr/local/share/consoletrans .
267cf4
+.IR /usr/share/consoletrans .
267cf4
 Definitions of the following charmaps are provided:
267cf4
 .nh
267cf4
 .BR ARMSCII-8 ,
267cf4
@@ -86,8 +86,9 @@ for files included by the keymap descrip
267cf4
 multiple times.  If a file can not be found in any of the specified
267cf4
 directories, it will be searched also in some other standard
267cf4
 locations, such as
267cf4
-.IR /usr/local/etc/console-setup/ckb ,
267cf4
-.IR /usr/local/share/X11/xkb
267cf4
+.IR /etc/console-setup/ckb ,
267cf4
+.IR /usr/local/share/X11/xkb ,
267cf4
+.IR /usr/share/X11/xkb
267cf4
 and
267cf4
 .IR /etc/X11/xkb
267cf4
 
267cf4
@@ -167,9 +168,9 @@ Specifies the layout variant used to cho
267cf4
 Adds an option used to choose component names.
267cf4
 
267cf4
 .SH FILES
267cf4
-.I /usr/local/share/consoletrans
267cf4
+.I /usr/share/consoletrans
267cf4
 .br
267cf4
-.I /usr/local/etc/console-setup/ckb
267cf4
+.I /etc/console-setup/ckb
267cf4
 .br
267cf4
 .I /usr/share/X11/xkb
267cf4
 .br
267cf4
diff -up console-setup-1.143/man/console-setup.5.orig console-setup-1.143/man/console-setup.5
267cf4
--- console-setup-1.143/man/console-setup.5.orig	2016-05-19 05:01:09.000000000 +0200
267cf4
+++ console-setup-1.143/man/console-setup.5	2016-05-24 09:47:15.361674281 +0200
267cf4
@@ -403,16 +403,16 @@ Completely covered by the following font
267cf4
 The standard location of the
267cf4
 .B console-setup
267cf4
 configuration file is
267cf4
-.IR /usr/local/etc/default/console-setup .
267cf4
+.IR /etc/default/console-setup .
267cf4
 The keyboard configuration is in
267cf4
-.IR /usr/local/etc/default/keyboard .
267cf4
+.IR /etc/default/keyboard .
267cf4
 Fonts that can be used with the variable
267cf4
 .B FONT
267cf4
 are usually installed in
267cf4
-.IR /usr/share/consolefonts/ " or " /usr/share/syscons/fonts/ .
267cf4
+.IR /usr/share/consolefonts/ " or " /lib/kbd/consolefonts/ .
267cf4
 Translation maps that can be used with the variable CONSOLE_MAP are
267cf4
 usually installed in
267cf4
-.IR /usr/share/consoletrans/ " or " /usr/share/syscons/scrnmaps/ .
267cf4
+.IR /usr/share/consoletrans/ " or " /lib/kbd/consoletrans/ .
267cf4
 
267cf4
 .SH NOTES
267cf4
 The aim of the Terminus font is to reduce the eyes-fatigue when one
267cf4
diff -up console-setup-1.143/man/keyboard.5.orig console-setup-1.143/man/keyboard.5
267cf4
--- console-setup-1.143/man/keyboard.5.orig	2016-03-03 05:01:16.000000000 +0100
267cf4
+++ console-setup-1.143/man/keyboard.5	2016-05-24 09:47:15.361674281 +0200
267cf4
@@ -154,12 +154,12 @@ on FreeBSD.
267cf4
 The standard location of the
267cf4
 .B keyboard
267cf4
 file is
267cf4
-.IR /usr/local/etc/default/keyboard .
267cf4
+.IR /etc/default/keyboard .
267cf4
 Description of all available keyboard models, layouts, variants and
267cf4
 options is available in
267cf4
-.IR /usr/local/share/X11/xkb/rules/xorg.lst .
267cf4
+.IR /usr/share/X11/xkb/rules/xorg.lst .
267cf4
 In most cases, in 
267cf4
-.IR /usr/share/keymaps/ " or " /usr/share/syscons/keymaps/
267cf4
+.IR /lib/kbd/keymaps/
267cf4
 you will find several keymaps that can be used with the variable
267cf4
 .BR KMAP .
267cf4
 
267cf4
diff -up console-setup-1.143/man/setupcon.1.orig console-setup-1.143/man/setupcon.1
267cf4
--- console-setup-1.143/man/setupcon.1.orig	2016-03-03 05:01:16.000000000 +0100
267cf4
+++ console-setup-1.143/man/setupcon.1	2016-05-24 09:47:15.361674281 +0200
267cf4
@@ -22,11 +22,11 @@ the console.  Most of the time you invok
267cf4
 without arguments.  The keyboard configuration is specified in
267cf4
 .I ~/.keyboard
267cf4
 or
267cf4
-.IR /usr/local/etc/default/keyboard .
267cf4
+.IR /etc/default/keyboard .
267cf4
 The font configuration is specified in
267cf4
 .I ~/.console-setup
267cf4
 or
267cf4
-.IR /usr/local/etc/default/console-setup .
267cf4
+.IR /etc/default/console-setup .
267cf4
 Consult
267cf4
 .BR keyboard (5)
267cf4
 and
267cf4
@@ -162,13 +162,13 @@ Display usage information.
267cf4
 .br
267cf4
 .I ~/.keyboard
267cf4
 .br
267cf4
-.I /usr/local/etc/default/console-setup
267cf4
+.I /etc/default/console-setup
267cf4
 .br
267cf4
-.I /usr/local/etc/default/keyboard
267cf4
+.I /etc/default/keyboard
267cf4
 .br
267cf4
-.I /usr/local/etc/default/console-setup.VARIANT
267cf4
+.I /etc/default/console-setup.VARIANT
267cf4
 .br
267cf4
-.I /usr/local/etc/default/keyboard.VARIANT
267cf4
+.I /etc/default/keyboard.VARIANT
267cf4
 .br
267cf4
 .I /etc/console-setup/
267cf4