Bug#651145: procmeter3 modules should not install under /usr/lib/X11

2011-12-06 Thread ISHIKAWA Mutsumi
Package: procmeter3
Version: 3.5d-1
Severity: normal

 procmeter3's loadable modules are installed under /usr/lib/X11 but
Debian policy 11.8.7 is said:

 Include files previously installed under `/usr/X11R6/include/X11/'
 should be installed into `/usr/include/X11/'.  For files previously
 installed into subdirectories of `/usr/X11R6/lib/X11/', package
 maintainers should determine if subdirectories of `/usr/lib/' and
 `/usr/share/' can be used.  If not, a subdirectory of `/usr/lib/X11/'
 should be used.


These modules are not related X11 itself, so there are no reason to
install under /usr/lib/X11. I think it is better that these modules
will be installed under /usr/lib.

-- 
ISHIKAWA Mutsumi
  ishik...@osdn.jp, ishik...@debian.org



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#651145: procmeter3 modules should not install under /usr/lib/X11

2011-12-06 Thread ISHIKAWA Mutsumi

 Here is a patch for this report.

Description: procmeter3 modules install under /usr/lib (not under /usr/lib/X11)
Author: ISHIKAWA Mutsumi ishik...@debian.org
Bug-Debian: http://bugs.debian.org/651145

diff -urN procmeter3-3.5d.orig/Makefile procmeter3-3.5d/Makefile
--- procmeter3-3.5d.orig/Makefile   2011-12-06 16:39:42.0 +0900
+++ procmeter3-3.5d/Makefile2011-12-06 16:35:35.776910032 +0900
@@ -20,7 +20,7 @@
 MANDIR=$(INSTDIR)/share/man
 
 # LIB_PATH - the root dir for library files
-LIB_PATH=$(INSTDIR)/lib/X11/ProcMeter3
+LIB_PATH=$(INSTDIR)/lib/ProcMeter3
 
 # MOD_PATH - the path modules are stored in
 MOD_PATH=$(LIB_PATH)/modules
diff -urN procmeter3-3.5d.orig/modules/Makefile procmeter3-3.5d/modules/Makefile
--- procmeter3-3.5d.orig/modules/Makefile   2011-10-23 03:45:30.0 
+0900
+++ procmeter3-3.5d/modules/Makefile2011-12-06 16:37:26.189615679 +0900
@@ -14,7 +14,7 @@
 # Paths (overridden by main Makefile)
 
 INSTDIR=/usr/local
-LIB_PATH=$(INSTDIR)/lib/X11/ProcMeter3
+LIB_PATH=$(INSTDIR)/lib/ProcMeter3
 MOD_PATH=$(LIB_PATH)/modules
 
 # Programs
diff -urN procmeter3-3.5d.orig/procmeterp.h procmeter3-3.5d/procmeterp.h
--- procmeter3-3.5d.orig/procmeterp.h   2011-10-23 03:45:30.0 +0900
+++ procmeter3-3.5d/procmeterp.h2011-12-06 16:36:28.891325433 +0900
@@ -29,7 +29,7 @@
 #endif
 
 #ifndef LIB_PATH
-#define LIB_PATH  INSTDIR  /lib/X11/ProcMeter3
+#define LIB_PATH  INSTDIR  /lib/ProcMeter3
 #endif
 #ifndef MOD_PATH
 #define MOD_PATH  LIB_PATH /modules




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org