mirror of
https://github.com/chris2511/xca.git
synced 2026-09-14 11:06:19 +05:00
This patchset adds: - configure.mac now looks for qmake, backs up xcode project, uses xca.pro to generate a new one, generates a different local.h - mac-package.sh generates a standalone .app bundle for distribution using deployqt from trolltech labs, packages up manual, COPYRIGHT, etc into a .dmg - mac packaging niceties in the qmake project - mac icon file - usability fixes for OS X: - look for user configured oids and such in ~/Library/Preferences/xca if it exists - look for original ones in app bundle/Contents/Resources (it tried to do this before...) - more robust code for getting bundle location (less likely to be broken by Apple in OS revisions) - start browsing for files in ~/Documents - fix wildcards on mac so files without extensions will be opened - fix save behavior for .xdb files so that it's hard to get one that doesn't end in .xdb, as this causes difficulty w/Qt Notes: - one of the compilation fixes was in the new revocation data function that replaced the old macros... I didn't have time to verify that my fix doesn't break when used with 0.9.8. - QStringToAsn1() is clearly incorrect but I haven't yet determined what callers expect, so I just called it out in a comment and did not yet fix it - I added some code that I haven't tested on Windows because I thought it might be a nice function to have there too. I have not added anything to call that function, however, since I don't currently have a machine I can test on :). The code is clearly marked in comments.
155 lines
4.7 KiB
Prolog
155 lines
4.7 KiB
Prolog
######################################################################
|
|
# Automatically generated by qmake (2.01a) Mo Apr 9 13:16:01 2007
|
|
######################################################################
|
|
|
|
TEMPLATE = app
|
|
TARGET = xca
|
|
DEPENDPATH += . lang lib ui widgets
|
|
INCLUDEPATH += . lib widgets
|
|
|
|
RESOURCES = img/imgres.rcc
|
|
RC_FILE = img/w32res.rc
|
|
|
|
macx {
|
|
ICON = img/xca-mac-icon.icns
|
|
CONFIG += release_and_debug
|
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
|
|
QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
|
|
# The condition below does not seem to work the way it first appeared to,
|
|
# qmake doesn't seem to offer any facility to control release -vs- debug within the same xcode
|
|
# project, so for now all the mac builds will be universal. This has been reported to trolltech.
|
|
#!debug {
|
|
CONFIG += x86 ppc
|
|
#}
|
|
XCA_RESOURCES.files = misc/oids.txt misc/aia.txt misc/CA.xca misc/dn.txt misc/eku.txt misc/HTTPS_client.xca misc/HTTPS_server.xca
|
|
# XXX *** I haven't tested the localizations, but I think they'll need to land here to be used based on reading the code
|
|
XCA_RESOURCES.files += lang/xca_de.ts lang/xca_es.ts
|
|
XCA_RESOURCES.path = Contents/Resources
|
|
QMAKE_BUNDLE_DATA += XCA_RESOURCES
|
|
}
|
|
|
|
LIBS += -lcrypto
|
|
|
|
# Input
|
|
HEADERS += lib/asn1int.h \
|
|
lib/asn1time.h \
|
|
lib/base.h \
|
|
lib/db.h \
|
|
lib/db_base.h \
|
|
lib/db_crl.h \
|
|
lib/db_key.h \
|
|
lib/db_temp.h \
|
|
lib/db_x509.h \
|
|
lib/db_x509req.h \
|
|
lib/db_x509super.h \
|
|
lib/exception.h \
|
|
lib/func.h \
|
|
lib/load_obj.h \
|
|
lib/oid.h \
|
|
lib/pass_info.h \
|
|
lib/pki_base.h \
|
|
lib/pki_crl.h \
|
|
lib/pki_key.h \
|
|
lib/pki_pkcs12.h \
|
|
lib/pki_pkcs7.h \
|
|
lib/pki_temp.h \
|
|
lib/pki_x509.h \
|
|
lib/pki_x509req.h \
|
|
lib/pki_x509super.h \
|
|
lib/pki_multi.h \
|
|
lib/x509name.h \
|
|
lib/x509rev.h \
|
|
lib/x509v3ext.h \
|
|
widgets/CertDetail.h \
|
|
widgets/CertExtend.h \
|
|
widgets/clicklabel.h \
|
|
widgets/CrlDetail.h \
|
|
widgets/distname.h \
|
|
widgets/ExportCert.h \
|
|
widgets/ExportDer.h \
|
|
widgets/ExportKey.h \
|
|
widgets/hashBox.h \
|
|
widgets/ImportMulti.h \
|
|
widgets/KeyDetail.h \
|
|
widgets/MainWindow.h \
|
|
widgets/NewX509.h \
|
|
widgets/Options.h \
|
|
widgets/ReqDetail.h \
|
|
widgets/v3ext.h \
|
|
widgets/validity.h \
|
|
widgets/XcaTreeView.h \
|
|
widgets/MW_menu.cpp
|
|
FORMS += ui/About.ui \
|
|
ui/CaProperties.ui \
|
|
ui/CertDetail.ui \
|
|
ui/CertExtend.ui \
|
|
ui/CrlDetail.ui \
|
|
ui/ExportCert.ui \
|
|
ui/ExportDer.ui \
|
|
ui/ExportKey.ui \
|
|
ui/Help.ui \
|
|
ui/ImportMulti.ui \
|
|
ui/KeyDetail.ui \
|
|
ui/MainWindow.ui \
|
|
ui/NewCrl.ui \
|
|
ui/NewKey.ui \
|
|
ui/NewX509.ui \
|
|
ui/Options.ui \
|
|
ui/PassRead.ui \
|
|
ui/PassWrite.ui \
|
|
ui/ReqDetail.ui \
|
|
ui/TrustState.ui \
|
|
ui/v3ext.ui
|
|
SOURCES += lib/asn1int.cpp \
|
|
lib/asn1time.cpp \
|
|
lib/db.cpp \
|
|
lib/db_base.cpp \
|
|
lib/db_crl.cpp \
|
|
lib/db_key.cpp \
|
|
lib/db_temp.cpp \
|
|
lib/db_x509.cpp \
|
|
lib/db_x509req.cpp \
|
|
lib/db_x509super.cpp \
|
|
lib/func.cpp \
|
|
lib/import.cpp \
|
|
lib/load_obj.cpp \
|
|
lib/main.cpp \
|
|
lib/oid.cpp \
|
|
lib/pass_info.cpp \
|
|
lib/pki_base.cpp \
|
|
lib/pki_crl.cpp \
|
|
lib/pki_key.cpp \
|
|
lib/pki_pkcs12.cpp \
|
|
lib/pki_pkcs7.cpp \
|
|
lib/pki_temp.cpp \
|
|
lib/pki_x509.cpp \
|
|
lib/pki_x509req.cpp \
|
|
lib/pki_x509super.cpp \
|
|
lib/pki_multi.cpp \
|
|
lib/x509name.cpp \
|
|
lib/x509rev.cpp \
|
|
lib/x509v3ext.cpp \
|
|
widgets/CertDetail.cpp \
|
|
widgets/CertExtend.cpp \
|
|
widgets/clicklabel.cpp \
|
|
widgets/CrlDetail.cpp \
|
|
widgets/distname.cpp \
|
|
widgets/ExportCert.cpp \
|
|
widgets/ExportDer.cpp \
|
|
widgets/ExportKey.cpp \
|
|
widgets/hashBox.cpp \
|
|
widgets/ImportMulti.cpp \
|
|
widgets/KeyDetail.cpp \
|
|
widgets/MainWindow.cpp \
|
|
widgets/MW_database.cpp \
|
|
widgets/MW_help.cpp \
|
|
widgets/MW_menu.cpp \
|
|
widgets/NewX509.cpp \
|
|
widgets/NewX509_ext.cpp \
|
|
widgets/Options.cpp \
|
|
widgets/ReqDetail.cpp \
|
|
widgets/v3ext.cpp \
|
|
widgets/validity.cpp \
|
|
widgets/XcaTreeView.cpp
|
|
TRANSLATIONS += lang/xca_de.ts lang/xca_es.ts
|