File xyaku-1.3.0-fhs.patch of Package xyaku
diff -ru xyaku-1.3.0.orig/README xyaku-1.3.0/README
--- xyaku-1.3.0.orig/README Sat Sep 2 17:55:56 2000
+++ xyaku-1.3.0/README Thu Dec 6 15:59:48 2001
@@ -25,7 +25,7 @@
Pressing the key combination specified in .xyakurc, you will see the translation on a popup window.
Default key combination is Control plus F1 key.
If the translated word isn't found, no window is popped up.
-Please see config file ($prefix/libexec/xyaku/xyakurc or ~/.xyakurc) to find what key combinations
+Please see config file ($prefix/lib/xyaku/xyakurc or ~/.xyakurc) to find what key combinations
are assigned to functions.
You press the key combination again, and the popup window disappears.
diff -ru xyaku-1.3.0.orig/addin/help.sh.in xyaku-1.3.0/addin/help.sh.in
--- xyaku-1.3.0.orig/addin/help.sh.in Sun Sep 3 12:33:43 2000
+++ xyaku-1.3.0/addin/help.sh.in Thu Dec 6 16:00:08 2001
@@ -8,7 +8,7 @@
LANG_LANG=`expr $LANG : '\([^_]*\)'`
# localized help file
-HELP_FILE=@prefix@/libexec/xyaku/help.$LANG_LANG
+HELP_FILE=@prefix@/lib/xyaku/help.$LANG_LANG
if [ -f $HELP_FILE ]
then
diff -ru xyaku-1.3.0.orig/addin/showrc.sh.in xyaku-1.3.0/addin/showrc.sh.in
--- xyaku-1.3.0.orig/addin/showrc.sh.in Wed Dec 22 01:54:04 1999
+++ xyaku-1.3.0/addin/showrc.sh.in Thu Dec 6 16:00:00 2001
@@ -3,7 +3,7 @@
#
# Usage: showrc.sh
-SYSTEM_XYAKURC=@prefix@/libexec/xyaku/xyakurc
+SYSTEM_XYAKURC=@prefix@/lib/xyaku/xyakurc
USER_XYAKURC=~/.xyakurc
if [ -f $USER_XYAKURC ]
diff -ru xyaku-1.3.0.orig/src/addin.c xyaku-1.3.0/src/addin.c
--- xyaku-1.3.0.orig/src/addin.c Mon Sep 4 14:02:37 2000
+++ xyaku-1.3.0/src/addin.c Thu Dec 6 16:01:49 2001
@@ -4,7 +4,7 @@
* Example of the config file format (basically, it follows fvwm2rc)
* See xyakurc file about details.
*
- * ModulePath /usr/local/libexec/xyaku
+ * ModulePath /usr/local/lib/xyaku
* Key F1 C use_cache max_nlines max_bufsiz max_width edict.sh
* AutoKey F1 C use_cache max_nlines max_bufsiz max_width interval edict.sh
*
@@ -43,7 +43,7 @@
/* Constant numbers and strings */
/* config file name */
#ifndef SYSTEM_XYAKURC /* Normally, defined by the configure script */
-#define SYSTEM_XYAKURC "/usr/local/libexec/xyaku/xyakurc"
+#define SYSTEM_XYAKURC "/usr/local/lib/xyaku/xyakurc"
#endif
#define USER_XYAKURC ".xyakurc" /* $HOME/.xyakurc */
@@ -82,7 +82,7 @@
/* IDENT_MODULE_PATH line's column
An example,
- ModulePath /usr/local/libexec/xyaku */
+ ModulePath /usr/lib/xyaku */
typedef enum {
COL_MODPATH_ID = 0,
COL_MODPATH_PATH = 1
@@ -173,7 +173,7 @@
* Look for the config file as following order,
* 1. in specified path by an argument(-config)
* 2. $HOME/.xyakurc
- * 3. $prefix/libexec/xyaku/xyakurc
+ * 3. $prefix/lib/xyaku/xyakurc
* Then initalize configuration data.
* A static variable, config_path, is allocated here.
* Input:
diff -ru xyaku-1.3.0.orig/xyakurc.in xyaku-1.3.0/xyakurc.in
--- xyaku-1.3.0.orig/xyakurc.in Mon Sep 4 14:00:28 2000
+++ xyaku-1.3.0/xyakurc.in Thu Dec 6 16:02:10 2001
@@ -1,6 +1,6 @@
#
# Configuration file for xyaku
-# This file is installed as @prefix@/libexec/xyaku/xyakurc.
+# This file is installed as @prefix@/lib/xyaku/xyakurc.
# You can copy this to $HOME/.xyakurc as per-user configuration.
#
# Unfortunately, the format is a bit annoying(not difficult).
@@ -22,7 +22,7 @@
# Specify ModulePath
# You can specify multiple pathes.
#
-ModulePath @prefix@/libexec/xyaku
+ModulePath @prefix@/lib/xyaku
#
# Format of addin-command:
--- xyaku-1.3.0.orig/configure.in Sun Sep 3 13:19:56 2000
+++ xyaku-1.3.0/configure.in Thu Dec 6 16:35:16 2001
@@ -176,7 +176,7 @@
AC_SUBST(DEF)
-XYAKUDIR=@prefix@/libexec/xyaku
+XYAKUDIR=@prefix@/lib/xyaku
AC_SUBST(XYAKUDIR)