summaryrefslogtreecommitdiff
path: root/x11-toolkits/qt22/files/patch-ag
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-11-20 12:18:17 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-11-20 12:18:17 +0000
commit97ec9e3e03d27d22fe17b54acd2844400a671e3d (patch)
tree4d8751dd97f5f61d74e47b0fca2e52bcc18d5f77 /x11-toolkits/qt22/files/patch-ag
parentUpdate to Ethereal 0.8.13 (diff)
Numerous fixes and improvements:
1.In Designer, don't rely on QTDIR environment being set when searching for documentation and templates. Also correct search paths relatively to QTDIR (/doc/html/... --> /share/doc/qt2/... etc.). 2.Install *all* documentation (previously index files and some pixmaps were left behind, which was rendering help system mostly non-functional and useless). 3.Install Designer's templates. 4.Don't use ${INSTALL_DATA} to install symbolic link to shared library - it leads to the file this link points to being installed and as a result two fully indentical versions of lib{qt2,util} are installed, wasting user's HDD space (approx 8MB) and bloating package file (+3MB). Also use ${INSTALL_PROGRAM} for shared libs to strip unneeded symbols.
Notes
Notes: svn path=/head/; revision=35282
Diffstat (limited to 'x11-toolkits/qt22/files/patch-ag')
-rw-r--r--x11-toolkits/qt22/files/patch-ag13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-toolkits/qt22/files/patch-ag b/x11-toolkits/qt22/files/patch-ag
new file mode 100644
index 000000000000..0347913d3a31
--- /dev/null
+++ b/x11-toolkits/qt22/files/patch-ag
@@ -0,0 +1,13 @@
+--- tools/designer/designer/help.cpp 2000/11/18 17:43:54 1.1
++++ tools/designer/designer/help.cpp 2000/11/18 17:46:09
+@@ -84,8 +84,8 @@
+ browser = new TextBrowser( this );
+ browser->mimeSourceFactory()->setFilePath( home );
+ browser->setFrameStyle( QFrame::Panel | QFrame::Sunken );
+- browser->mimeSourceFactory()->addFilePath( QString( getenv( "QTDIR" ) ) + "/tools/designer/manual" );
+- browser->mimeSourceFactory()->addFilePath( QString( getenv( "QTDIR" ) ) + "/doc/html/designer" );
++ browser->mimeSourceFactory()->addFilePath( QT_PREFIX "/share/qt2/designer/manual" );
++ browser->mimeSourceFactory()->addFilePath( QT_PREFIX "/share/doc/qt2/html/designer" );
+ browser->mimeSourceFactory()->addFilePath( parent->documentationPath() );
+ connect( browser, SIGNAL( textChanged() ),
+ this, SLOT( textChanged() ) );