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

54a48a
diff -up console-setup/Makefile.orig console-setup/Makefile
54a48a
--- console-setup/Makefile.orig	2012-06-19 16:24:46.063272458 +0200
54a48a
+++ console-setup/Makefile	2012-06-20 13:11:09.926247002 +0200
54a48a
@@ -2,7 +2,7 @@ prefix = /usr/local
54a48a
 # etcdir must be either /etc or
54a48a
 etcdir = $(prefix)/etc
54a48a
 bootprefix = $(patsubst %/usr,%/,$(prefix:%/=%))
54a48a
-mandir = $(prefix)/share/man
54a48a
+mandir = $(prefix)/usr/share/man
54a48a
 
54a48a
 SHELL = /bin/sh
54a48a
 
54a48a
@@ -36,8 +36,8 @@ build-all: build-linux build-freebsd bui
54a48a
 
54a48a
 .PHONY: install-common
54a48a
 install-common: build-common
54a48a
-	install -d  $(bootprefix)/bin/
54a48a
-	install setupcon $(bootprefix)/bin/
54a48a
+	install -d  $(bootprefix)/usr/bin/
54a48a
+	install setupcon $(bootprefix)/usr/bin/
54a48a
 	install -d $(etcdir)/default
54a48a
 	install -m 644 config/keyboard $(etcdir)/default/
54a48a
 	install -m 644 config/console-setup $(etcdir)/default/
54a48a
@@ -49,10 +49,10 @@ install-common: build-common
54a48a
 
54a48a
 .PHONY: install-common-linux
54a48a
 install-common-linux: build-linux
54a48a
-	install -d $(prefix)/share/consolefonts/
54a48a
-	install -m 644 Fonts/*.psf.gz $(prefix)/share/consolefonts/
54a48a
-	install -d $(prefix)/share/consoletrans
54a48a
-	install -m 644 acm/*.acm.gz $(prefix)/share/consoletrans/
54a48a
+	install -d $(prefix)/usr/share/consolefonts/
54a48a
+	install -m 644 Fonts/*.psf.gz $(prefix)/usr/share/consolefonts/
54a48a
+	install -d $(prefix)/usr/share/consoletrans
54a48a
+	install -m 644 acm/*.acm.gz $(prefix)/usr/share/consoletrans/
54a48a
 	install -d $(etcdir)/console-setup
54a48a
 	install -m 644 Keyboard/compose.*.inc $(etcdir)/console-setup/
54a48a
 	install -m 644 Keyboard/remap.inc $(etcdir)/console-setup/
54a48a
@@ -77,8 +77,8 @@ install-ckbcomp:
54a48a
 		mkdir -p $(etcdir)/console-setup \
54a48a
 		&& cp -r Keyboard/ckb/ $(etcdir)/console-setup/ckb; \
54a48a
 	fi
54a48a
-	install -d $(prefix)/bin/
54a48a
-	install -m 755 Keyboard/ckbcomp $(prefix)/bin/
54a48a
+	install -d $(prefix)/usr/bin/
54a48a
+	install -m 755 Keyboard/ckbcomp $(prefix)/usr/bin/
54a48a
 	install -d $(mandir)/man1/
54a48a
 	install -m 644 man/ckbcomp.1 $(mandir)/man1/
54a48a
 
54a48a
diff -up console-setup/man/ckbcomp.1.orig console-setup/man/ckbcomp.1
54a48a
--- console-setup/man/ckbcomp.1.orig	2012-06-26 13:03:52.177823914 +0200
54a48a
+++ console-setup/man/ckbcomp.1	2012-06-26 14:21:00.460672366 +0200
54a48a
@@ -46,7 +46,7 @@ Print a usage message and exit.
54a48a
 .BI -charmap\  charmap
54a48a
 The encoding to use for the output keymap.  There should be an
54a48a
 character mapping table defining this encoding in
54a48a
-.IR /usr/local/share/consoletrans .
54a48a
+.IR /usr/share/consoletrans .
54a48a
 Definitions of the following charmaps are provided:
54a48a
 .nh
54a48a
 .BR ARMSCII-8 ,
54a48a
@@ -86,8 +86,9 @@ for files included by the keymap descrip
54a48a
 multiple times.  If a file can not be found in any of the specified
54a48a
 directories, it will be searched also in some other standard
54a48a
 locations, such as
54a48a
-.IR /usr/local/etc/console-setup/ckb ,
54a48a
-.IR /usr/local/share/X11/xkb
54a48a
+.IR /etc/console-setup/ckb ,
54a48a
+.IR /usr/local/share/X11/xkb ,
54a48a
+.IR /usr/share/X11/xkb
54a48a
 and
54a48a
 .IR /etc/X11/xkb
54a48a
 
54a48a
@@ -167,9 +168,9 @@ Specifies the layout variant used to cho
54a48a
 Adds an option used to choose component names.
54a48a
 
54a48a
 .SH FILES
54a48a
-.I /usr/local/share/consoletrans
54a48a
+.I /usr/share/consoletrans
54a48a
 .br
54a48a
-.I /usr/local/etc/console-setup/ckb
54a48a
+.I /etc/console-setup/ckb
54a48a
 .br
54a48a
 .I /usr/share/X11/xkb
54a48a
 .br
54a48a
diff -up console-setup/man/console-setup.5.orig console-setup/man/console-setup.5
54a48a
--- console-setup/man/console-setup.5.orig	2012-06-26 13:10:37.076260103 +0200
54a48a
+++ console-setup/man/console-setup.5	2012-06-26 14:19:44.635215971 +0200
54a48a
@@ -378,16 +378,16 @@ Completely covered by the following font
54a48a
 The standard location of the
54a48a
 .B console-setup
54a48a
 configuration file is
54a48a
-.IR /usr/local/etc/default/console-setup .
54a48a
+.IR /etc/default/console-setup .
54a48a
 The keyboard configuration is in
54a48a
-.IR /usr/local/etc/default/keyboard .
54a48a
+.IR /etc/default/keyboard .
54a48a
 Fonts that can be used with the variable
54a48a
 .B FONT
54a48a
 are usually installed in
54a48a
-.IR /usr/share/consolefonts/ " or " /usr/share/syscons/fonts/ .
54a48a
+.IR /usr/share/consolefonts/ " or " /lib/kbd/consolefonts/ .
54a48a
 Translation maps that can be used with the variable CONSOLE_MAP are
54a48a
 usually installed in
54a48a
-.IR /usr/share/consoletrans/ " or " /usr/share/syscons/scrnmaps/ .
54a48a
+.IR /usr/share/consoletrans/ " or " /lib/kbd/consoletrans/ .
54a48a
 
54a48a
 .SH NOTES
54a48a
 The aim of the Terminus font is to reduce the eyes-fatigue when one
54a48a
diff -up console-setup/man/keyboard.5.orig console-setup/man/keyboard.5
54a48a
--- console-setup/man/keyboard.5.orig	2012-06-26 13:09:26.323834480 +0200
54a48a
+++ console-setup/man/keyboard.5	2012-06-26 13:34:33.243901584 +0200
54a48a
@@ -152,12 +152,12 @@ on FreeBSD.
54a48a
 The standard location of the
54a48a
 .B keyboard
54a48a
 file is
54a48a
-.IR /usr/local/etc/default/keyboard .
54a48a
+.IR /etc/default/keyboard .
54a48a
 Description of all available keyboard models, layouts, variants and
54a48a
 options is available in
54a48a
-.IR /usr/local/share/X11/xkb/rules/xorg.lst .
54a48a
+.IR /usr/share/X11/xkb/rules/xorg.lst .
54a48a
 In most cases, in 
54a48a
-.IR /usr/share/keymaps/ " or " /usr/share/syscons/keymaps/
54a48a
+.IR /lib/kbd/keymaps/
54a48a
 you will find several keymaps that can be used with the variable
54a48a
 .BR KMAP .
54a48a
 
54a48a
diff -up console-setup/man/setupcon.1.orig console-setup/man/setupcon.1
54a48a
--- console-setup/man/setupcon.1.orig	2012-06-26 13:00:14.192512373 +0200
54a48a
+++ console-setup/man/setupcon.1	2012-06-26 13:03:27.247673862 +0200
54a48a
@@ -22,11 +22,11 @@ the console.  Most of the time you invok
54a48a
 without arguments.  The keyboard configuration is specified in
54a48a
 .I ~/.keyboard
54a48a
 or
54a48a
-.IR /usr/local/etc/default/keyboard .
54a48a
+.IR /etc/default/keyboard .
54a48a
 The font configuration is specified in
54a48a
 .I ~/.console-setup
54a48a
 or
54a48a
-.IR /usr/local/etc/default/console-setup .
54a48a
+.IR /etc/default/console-setup .
54a48a
 Consult
54a48a
 .BR keyboard (5)
54a48a
 and
54a48a
@@ -131,13 +131,13 @@ for the default configuration.
54a48a
 .br
54a48a
 .I ~/.keyboard
54a48a
 .br
54a48a
-.I /usr/local/etc/default/console-setup
54a48a
+.I /etc/default/console-setup
54a48a
 .br
54a48a
-.I /usr/local/etc/default/keyboard
54a48a
+.I /etc/default/keyboard
54a48a
 .br
54a48a
-.I /usr/local/etc/default/console-setup.VARIANT
54a48a
+.I /etc/default/console-setup.VARIANT
54a48a
 .br
54a48a
-.I /usr/local/etc/default/keyboard.VARIANT
54a48a
+.I /etc/default/keyboard.VARIANT
54a48a
 .br
54a48a
 .I /etc/console-setup/
54a48a