Bug 53634

Summary: xmlizer python path wrong
Product: [Websites] docs.kde.org Reporter: Sean Chittenden <sean>
Component: ksgmltoolsAssignee: Documentation Editorial Team <kde-doc-english>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: FreeBSD Ports   
OS: FreeBSD   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: kdoctools/xmlizer patch

Description Sean Chittenden 2003-01-30 04:00:38 UTC
Version:           3.1 (using KDE KDE 3.1)
Installed from:    FreeBSD Ports
Compiler:          gcc 
OS:          FreeBSD

Simply put, xmlizer has /usr/bin/python hard coded into it.  python can be installed anywhere, and is in /usr/local/bin on FreeBSD.  The ideal fix would be to have it detect and honor a prefix autoconf search/replace, but the quick fix is to use /usr/bin/env to call python.

--- kdoctools/xmlizer.orig      Wed Jan 29 17:17:40 2003
+++ kdoctools/xmlizer   Wed Jan 29 17:17:57 2003
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python

 import re, sys, os, string
Comment 1 Sean Chittenden 2003-01-30 04:02:02 UTC
Created attachment 833 [details]
kdoctools/xmlizer patch

Decent enough fix given the importance, IMHO.
Comment 2 Stephan Kulow 2003-01-30 13:06:45 UTC
Subject: kdelibs/kdoctools

CVS commit by coolo: 

this was needed to convert KDE 2.1 docu. Now that we're having 3.1 behind
us, it's time to say goodbye
CCMAIL: 53634-close@bugs.kde.org


  R            xmlizer   1.3