[xorg-bugzilla-noise] [Bug 1465] New: bad XPROJECTROOT (Xprint)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Sep 25 07:54:53 UTC 2004
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://freedesktop.org/bugzilla/show_bug.cgi?id=1465
Summary: bad XPROJECTROOT (Xprint)
Product: xorg
Version: 6.8.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Server/general
AssignedTo: xorg-bugzilla-noise at freedesktop.org
ReportedBy: gdx at poczta.fm
I have X11 installed in /usr (defined ProjectRoot=/usr) and /etc/init.d/xprint
don't know about it but should :). I propose patch:
diff -urN xc.orig/programs/Xserver/Xprint/etc/init.d/Imakefile
xc/programs/Xserver/Xprint/etc/init.d/Imakefile
--- xc.orig/programs/Xserver/Xprint/etc/init.d/Imakefile 2004-09-25
08:21:48.311566424 +0000
+++ xc/programs/Xserver/Xprint/etc/init.d/Imakefile 2004-09-25
08:28:02.899620384 +0000
@@ -29,8 +29,9 @@
#endif
ETCDIR = EtcDir
+PROJECTROOT = ProjectRoot
-MakeScriptFromCpp(xprint, -DDEF_XPCUSTOMGLUE=$(XPCUSTOMGLUE) $(OS_DEFINES))
+MakeScriptFromCpp(xprint, -DDEF_XPCUSTOMGLUE=$(XPCUSTOMGLUE) $(OS_DEFINES)
-DProjectRoot=$(PROJECTROOT))
#if defined(FreeBSDArchitecture)
InstallNamedProg(xprint,xprint,$(PROJECTROOT)/etc/rc.d)
diff -urN xc.orig/programs/Xserver/Xprint/etc/init.d/xprint.cpp
xc/programs/Xserver/Xprint/etc/init.d/xprint.cpp
--- xc.orig/programs/Xserver/Xprint/etc/init.d/xprint.cpp 2004-09-25
08:21:48.322564752 +0000
+++ xc/programs/Xserver/Xprint/etc/init.d/xprint.cpp 2004-09-25
08:26:40.179195800 +0000
@@ -176,9 +176,13 @@
#elif defined(OS_AIX)
XPROJECTROOT=/usr/lpp/X11
#else
+#if defined(ProjectRoot)
+XPROJECTROOT=ProjectRoot
+#else
[ -d /usr/X11/bin ] && XPROJECTROOT=/usr/X11
[ -d /usr/X11R6/bin ] && XPROJECTROOT=/usr/X11R6
#endif
+#endif
XPCUSTOMGLUE=DEF_XPCUSTOMGLUE # This is used for customizing this script
export XPROJECTROOT XPCUSTOMGLUE
--
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list