When it comes to organization, I am incredibly anal. I like things to be properly sorted and organized. When deploying software, you need to decide where to store the installation files. Usually it will be on a file share within a domain, for example:-
\\example.local\dfsroot\ClientApps\
Now comes the question of how to organize the folders within. Let us use the example of Adobe Flash Player, which is offered as two versions. One is an activex plugin for IE/MSHTML and the other is a NPAPI (Netscape) plugin used by browsers such as Firefox. It is distributed as two MSI files - install_flash_player_10_active_x.msi and install_flash_player_10_plugin.msi. One gripe I have is that it is not clear from the filename exactly which version it is, nor is it on the website. For the purpose of this example I shall use the fictitious version "10.0.240.1".
I came up with the following variables, the last being my personal favorite.
Adobe\Flash Player\ActiveX\10.0.240.1
Adobe\Adobe Flash Player ActiveX 10.0.240.1
Adobe\Adobe Flash Player\Adobe Flash Player ActiveX 10.0.240.1
Adobe\Adobe Flash Player ActiveX\Adobe Flash Player ActiveX 10.0.240.1
Adobe\Adobe Flash Player\Adobe Flash Player ActiveX\Adobe Flash Player ActiveX 10.0.240.1
What naming convention do you use?
Showing posts with label software. Show all posts
Showing posts with label software. Show all posts
Friday, 22 January 2010
Sunday, 28 September 2008
How to build Qt WebKit trunk as a static library
Add the following to WebKit.pri:-
CONFIG += staticlib
Run WebKitTools/Scripts/build-webkit --qt --release
Copy WebKitBuild/Release/JavaScriptCore/libJavaScriptCore.a to WebKitBuild/Release/lib/libJavaScriptCore.a
Remove WebKitBuild/Release/lib/libQtWebKit.so*
Use the following qmake config:-
WEBKITDIR = $$(WEBKITDIR)
CONFIG(release):WEBKITBUILD = $$WEBKITDIR/WebKitBuild/Release/lib
CONFIG(debug):WEBKITBUILD = $$WEBKITDIR/WebKitBuild/Debug/lib
message(Using WebKit Trunk at $$WEBKITDIR)
message(Using WebKit Build at $$WEBKITBUILD)
QT -= webkit
DEFINES += WEBKIT_TRUNK
QMAKE_LIBDIR_FLAGS = -L$$WEBKITBUILD
LIBS = -lQtWebKit
INCLUDEPATH = $$WEBKITDIR/WebKit/qt/Api $$INCLUDEPATH
QMAKE_RPATHDIR = $$WEBKITBUILD $$QMAKE_RPATHDIR
CONFIG += staticlib
Run WebKitTools/Scripts/build-webkit --qt --release
Copy WebKitBuild/Release/JavaScriptCore/libJavaScriptCore.a to WebKitBuild/Release/lib/libJavaScriptCore.a
Remove WebKitBuild/Release/lib/libQtWebKit.so*
Use the following qmake config:-
WEBKITDIR = $$(WEBKITDIR)
CONFIG(release):WEBKITBUILD = $$WEBKITDIR/WebKitBuild/Release/lib
CONFIG(debug):WEBKITBUILD = $$WEBKITDIR/WebKitBuild/Debug/lib
message(Using WebKit Trunk at $$WEBKITDIR)
message(Using WebKit Build at $$WEBKITBUILD)
QT -= webkit
DEFINES += WEBKIT_TRUNK
QMAKE_LIBDIR_FLAGS = -L$$WEBKITBUILD
LIBS = -lQtWebKit
INCLUDEPATH = $$WEBKITDIR/WebKit/qt/Api $$INCLUDEPATH
QMAKE_RPATHDIR = $$WEBKITBUILD $$QMAKE_RPATHDIR
Subscribe to:
Posts (Atom)