[Gpg4win-commits] r511 - trunk/src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Aug 30 15:19:47 CEST 2007


Author: marcus
Date: 2007-08-30 15:19:47 +0200 (Thu, 30 Aug 2007)
New Revision: 511

Added:
   trunk/src/inst-qt.nsi
   trunk/src/uninst-qt.nsi
Log:
2007-08-30  Marcus Brinkmann  <marcus at g10code.de>

        * packages/download.sh: Implement new "name" command and remove
        "ren" command.
        * packages/packages.current: Add qt.
        * configure.ac: Add qt.
        * include/config.nsi.in: Add qt.
        * src/Makefile.am (EXTRA_DIST): Add inst-qt.nsi and uninst-qt.nsi.
        (gpg4win_bpkgs): Add qt.
        * src/uninst-qt.nsi, src/inst-qt.nsi: New files.
        * src/inst-sections.nsi: Run installer and uninstaller for qt.
        (CalcDepends): Handle qt.
        * src/gpg4win.nsi: Remove qt from light installer.



Added: trunk/src/inst-qt.nsi
===================================================================
--- trunk/src/inst-qt.nsi	2007-08-30 13:11:13 UTC (rev 510)
+++ trunk/src/inst-qt.nsi	2007-08-30 13:19:47 UTC (rev 511)
@@ -0,0 +1,163 @@
+# inst-qt.nsi - Installer snippet for qt.      -*- coding: latin-1; -*-
+# Copyright (C) 2005, 2007 g10 Code GmbH
+# 
+# This file is part of GPG4Win.
+# 
+# GPG4Win is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# GPG4Win is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+
+
+!ifdef prefix
+!undef prefix
+!endif
+!define prefix ${ipdir}/qt-${gpg4win_pkg_qt_version}
+
+!ifdef DEBUG
+Section "qt" SEC_qt
+!else
+Section "-qt" SEC_qt
+!endif
+  SetOutPath "$INSTDIR"
+!ifdef SOURCES
+  File "${gpg4win_pkg_qt_src}"
+!else
+  File ${prefix}/bin/Qt3Support4.dll
+  File ${prefix}/bin/QtAssistantClient4.dll
+  File ${prefix}/bin/QtCore4.dll
+  File ${prefix}/bin/QtDesigner4.dll
+  File ${prefix}/bin/QtDesignerComponents4.dll
+  File ${prefix}/bin/QtGui4.dll
+  File ${prefix}/bin/QtNetwork4.dll
+  File ${prefix}/bin/QtOpenGL4.dll
+  File ${prefix}/bin/QtScript4.dll
+  File ${prefix}/bin/QtSql4.dll
+  File ${prefix}/bin/QtSvg4.dll
+  File ${prefix}/bin/QtTest4.dll
+  File ${prefix}/bin/QtXml4.dll
+
+  SetOutPath "$INSTDIR\phrasebooks"
+
+#  File ${prefix}/phrasebooks/danish.qph
+#  File ${prefix}/phrasebooks/dutch.qph
+#  File ${prefix}/phrasebooks/finnish.qph
+#  File ${prefix}/phrasebooks/french.qph
+  File ${prefix}/phrasebooks/german.qph
+#  File ${prefix}/phrasebooks/italian.qph
+#  File ${prefix}/phrasebooks/japanese.qph
+#  File ${prefix}/phrasebooks/norwegian.qph
+#  File ${prefix}/phrasebooks/polish.qph
+#  File ${prefix}/phrasebooks/russian.qph
+#  File ${prefix}/phrasebooks/spanish.qph
+#  File ${prefix}/phrasebooks/swedish.qph
+
+  SetOutPath "$INSTDIR\plugins\accessible"
+
+  File ${prefix}/plugins/accessible/qtaccessiblecompatwidgets4.dll
+  File ${prefix}/plugins/accessible/qtaccessiblecompatwidgetsd4.dll
+  File ${prefix}/plugins/accessible/qtaccessiblewidgets4.dll
+  File ${prefix}/plugins/accessible/qtaccessiblewidgetsd4.dll
+
+  SetOutPath "$INSTDIR\plugins\codecs"
+
+  File ${prefix}/plugins/codecs/qcncodecs4.dll
+  File ${prefix}/plugins/codecs/qcncodecsd4.dll
+  File ${prefix}/plugins/codecs/qjpcodecs4.dll
+  File ${prefix}/plugins/codecs/qjpcodecsd4.dll
+  File ${prefix}/plugins/codecs/qkrcodecs4.dll
+  File ${prefix}/plugins/codecs/qkrcodecsd4.dll
+  File ${prefix}/plugins/codecs/qtwcodecs4.dll
+  File ${prefix}/plugins/codecs/qtwcodecsd4.dll
+
+  SetOutPath "$INSTDIR\plugins\designer"
+
+  File ${prefix}/plugins/designer/arthurplugin.dll
+  File ${prefix}/plugins/designer/containerextension.dll
+  File ${prefix}/plugins/designer/containerextensiond.dll
+  File ${prefix}/plugins/designer/customwidgetplugin.dll
+  File ${prefix}/plugins/designer/qt3supportwidgets.dll
+  File ${prefix}/plugins/designer/taskmenuextension.dll
+  File ${prefix}/plugins/designer/taskmenuextensiond.dll
+  File ${prefix}/plugins/designer/worldtimeclockplugin.dll
+
+  SetOutPath "$INSTDIR\plugins\iconengines"
+
+  File ${prefix}/plugins/iconengines/qsvg4.dll
+  File ${prefix}/plugins/iconengines/qsvgd4.dll
+
+  SetOutPath "$INSTDIR\plugins\imageformats"
+
+  File ${prefix}/plugins/imageformats/qgif4.dll
+  File ${prefix}/plugins/imageformats/qgifd4.dll
+  File ${prefix}/plugins/imageformats/qjpeg4.dll
+  File ${prefix}/plugins/imageformats/qjpegd4.dll
+  File ${prefix}/plugins/imageformats/qmng4.dll
+  File ${prefix}/plugins/imageformats/qmngd4.dll
+  File ${prefix}/plugins/imageformats/qsvg4.dll
+  File ${prefix}/plugins/imageformats/qsvgd4.dll
+  File ${prefix}/plugins/imageformats/qtiff4.dll
+  File ${prefix}/plugins/imageformats/qtiffd4.dll
+
+  SetOutPath "$INSTDIR\plugins\sqldrivers"
+
+  File ${prefix}/plugins/sqldrivers/qsqlite4.dll
+  File ${prefix}/plugins/sqldrivers/qsqlited4.dll
+
+  SetOutPath "$INSTDIR\translations"
+
+  File ${prefix}/translations/assistant_de.qm
+  File ${prefix}/translations/assistant_de.ts
+#  File ${prefix}/translations/assistant_ja.qm
+#  File ${prefix}/translations/assistant_ja.ts
+#  File ${prefix}/translations/assistant_pl.ts
+  File ${prefix}/translations/assistant_untranslated.ts
+  File ${prefix}/translations/designer_de.qm
+  File ${prefix}/translations/designer_de.ts
+#  File ${prefix}/translations/designer_ja.qm
+#  File ${prefix}/translations/designer_ja.ts
+#  File ${prefix}/translations/designer_pl.ts
+  File ${prefix}/translations/designer_untranslated.ts
+#  File ${prefix}/translations/linguist_ja.qm
+#  File ${prefix}/translations/linguist_ja.ts
+#  File ${prefix}/translations/linguist_pl.ts
+#  File ${prefix}/translations/qt_ar.qm
+#  File ${prefix}/translations/qt_ar.ts
+  File ${prefix}/translations/qt_de.qm
+  File ${prefix}/translations/qt_de.ts
+#  File ${prefix}/translations/qt_es.qm
+#  File ${prefix}/translations/qt_es.ts
+#  File ${prefix}/translations/qt_fr.qm
+#  File ${prefix}/translations/qt_fr.ts
+#  File ${prefix}/translations/qt_iw.qm
+#  File ${prefix}/translations/qt_iw.ts
+#  File ${prefix}/translations/qt_ja_jp.qm
+#  File ${prefix}/translations/qt_ja_jp.ts
+#  File ${prefix}/translations/qt_pl.ts
+#  File ${prefix}/translations/qt_pt.qm
+#  File ${prefix}/translations/qt_pt.ts
+#  File ${prefix}/translations/qt_ru.qm
+#  File ${prefix}/translations/qt_ru.ts
+#  File ${prefix}/translations/qt_sk.qm
+#  File ${prefix}/translations/qt_sk.ts
+#  File ${prefix}/translations/qt_sv.qm
+#  File ${prefix}/translations/qt_sv.ts
+#  File ${prefix}/translations/qt_uk.qm
+#  File ${prefix}/translations/qt_uk.ts
+  File ${prefix}/translations/qt_untranslated.ts
+#  File ${prefix}/translations/qt_zh_CN.qm
+#  File ${prefix}/translations/qt_zh_CN.ts
+#  File ${prefix}/translations/qtconfig_pl.ts
+#  File ${prefix}/translations/qvfb_pl.ts
+
+!endif
+SectionEnd

Added: trunk/src/uninst-qt.nsi
===================================================================
--- trunk/src/uninst-qt.nsi	2007-08-30 13:11:13 UTC (rev 510)
+++ trunk/src/uninst-qt.nsi	2007-08-30 13:19:47 UTC (rev 511)
@@ -0,0 +1,163 @@
+# uninst-qt.nsi - Installer snippet for qt.    -*- coding: latin-1; -*-
+# Copyright (C) 2005 g10 Code GmbH
+# 
+# This file is part of GPG4Win.
+# 
+# GPG4Win is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# GPG4Win is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+
+
+!ifdef prefix
+!undef prefix
+!endif
+!define prefix ${ipdir}/qt-${gpg4win_pkg_qt_version}
+
+
+; Uninstaller section.
+Section "-un.qt"
+!ifdef SOURCES
+  Push "${gpg4win_pkg_qt_src}"
+  Call un.SourceDelete
+!else
+  Delete "$INSTDIR\Qt3Support4.dll"
+  Delete "$INSTDIR\QtAssistantClient4.dll"
+  Delete "$INSTDIR\QtCore4.dll"
+  Delete "$INSTDIR\QtDesigner4.dll"
+  Delete "$INSTDIR\QtDesignerComponents4.dll"
+  Delete "$INSTDIR\QtGui4.dll"
+  Delete "$INSTDIR\QtNetwork4.dll"
+  Delete "$INSTDIR\QtOpenGL4.dll"
+  Delete "$INSTDIR\QtScript4.dll"
+  Delete "$INSTDIR\QtSql4.dll"
+  Delete "$INSTDIR\QtSvg4.dll"
+  Delete "$INSTDIR\QtTest4.dll"
+  Delete "$INSTDIR\QtXml4.dll"
+
+#  Delete "$INSTDIR\phrasebooks\danish.qph"
+#  Delete "$INSTDIR\phrasebooks\dutch.qph"
+#  Delete "$INSTDIR\phrasebooks\finnish.qph"
+#  Delete "$INSTDIR\phrasebooks\french.qph"
+  Delete "$INSTDIR\phrasebooks\german.qph"
+#  Delete "$INSTDIR\phrasebooks\italian.qph"
+#  Delete "$INSTDIR\phrasebooks\japanese.qph"
+#  Delete "$INSTDIR\phrasebooks\norwegian.qph"
+#  Delete "$INSTDIR\phrasebooks\polish.qph"
+#  Delete "$INSTDIR\phrasebooks\russian.qph"
+#  Delete "$INSTDIR\phrasebooks\spanish.qph"
+#  Delete "$INSTDIR\phrasebooks\swedish.qph"
+
+  RMDir "$INSTDIR\phrasebooks"
+
+  Delete "$INSTDIR\plugins\accessible\qtaccessiblecompatwidgets4.dll"
+  Delete "$INSTDIR\plugins\accessible\qtaccessiblecompatwidgetsd4.dll"
+  Delete "$INSTDIR\plugins\accessible\qtaccessiblewidgets4.dll"
+  Delete "$INSTDIR\plugins\accessible\qtaccessiblewidgetsd4.dll"
+
+  RMDir "$INSTDIR\plugins\accessible"
+
+  Delete "$INSTDIR\plugins\codecs\qcncodecs4.dll"
+  Delete "$INSTDIR\plugins\codecs\qcncodecsd4.dll"
+  Delete "$INSTDIR\plugins\codecs\qjpcodecs4.dll"
+  Delete "$INSTDIR\plugins\codecs\qjpcodecsd4.dll"
+  Delete "$INSTDIR\plugins\codecs\qkrcodecs4.dll"
+  Delete "$INSTDIR\plugins\codecs\qkrcodecsd4.dll"
+  Delete "$INSTDIR\plugins\codecs\qtwcodecs4.dll"
+  Delete "$INSTDIR\plugins\codecs\qtwcodecsd4.dll"
+
+  RMDir "$INSTDIR\plugins\codecs"
+
+  Delete "$INSTDIR\plugins\designer\arthurplugin.dll"
+  Delete "$INSTDIR\plugins\designer\containerextension.dll"
+  Delete "$INSTDIR\plugins\designer\containerextensiond.dll"
+  Delete "$INSTDIR\plugins\designer\customwidgetplugin.dll"
+  Delete "$INSTDIR\plugins\designer\qt3supportwidgets.dll"
+  Delete "$INSTDIR\plugins\designer\taskmenuextension.dll"
+  Delete "$INSTDIR\plugins\designer\taskmenuextensiond.dll"
+  Delete "$INSTDIR\plugins\designer\worldtimeclockplugin.dll"
+
+  RMDir "$INSTDIR\plugins\designer"
+
+  Delete "$INSTDIR\plugins\iconengines\qsvg4.dll"
+  Delete "$INSTDIR\plugins\iconengines\qsvgd4.dll"
+
+  RMDir "$INSTDIR\plugins\iconengines"
+
+  Delete "$INSTDIR\plugins\imageformats\qgif4.dll"
+  Delete "$INSTDIR\plugins\imageformats\qgifd4.dll"
+  Delete "$INSTDIR\plugins\imageformats\qjpeg4.dll"
+  Delete "$INSTDIR\plugins\imageformats\qjpegd4.dll"
+  Delete "$INSTDIR\plugins\imageformats\qmng4.dll"
+  Delete "$INSTDIR\plugins\imageformats\qmngd4.dll"
+  Delete "$INSTDIR\plugins\imageformats\qsvg4.dll"
+  Delete "$INSTDIR\plugins\imageformats\qsvgd4.dll"
+  Delete "$INSTDIR\plugins\imageformats\qtiff4.dll"
+  Delete "$INSTDIR\plugins\imageformats\qtiffd4.dll"
+
+  RMDir "$INSTDIR\plugins\imageformats"
+
+  Delete "$INSTDIR\plugins\sqldrivers\qsqlite4.dll"
+  Delete "$INSTDIR\plugins\sqldrivers\qsqlited4.dll"
+
+  RMDir "$INSTDIR\plugins\sqldrivers"
+  RMDir "$INSTDIR\plugins"
+
+  Delete "$INSTDIR\translations\assistant_de.qm"
+  Delete "$INSTDIR\translations\assistant_de.ts"
+#  Delete "$INSTDIR\translations\assistant_ja.qm"
+#  Delete "$INSTDIR\translations\assistant_ja.ts"
+#  Delete "$INSTDIR\translations\assistant_pl.ts"
+  Delete "$INSTDIR\translations\assistant_untranslated.ts"
+  Delete "$INSTDIR\translations\designer_de.qm"
+  Delete "$INSTDIR\translations\designer_de.ts"
+#  Delete "$INSTDIR\translations\designer_ja.qm"
+#  Delete "$INSTDIR\translations\designer_ja.ts"
+#  Delete "$INSTDIR\translations\designer_pl.ts"
+  Delete "$INSTDIR\translations\designer_untranslated.ts"
+#  Delete "$INSTDIR\translations\linguist_ja.qm"
+#  Delete "$INSTDIR\translations\linguist_ja.ts"
+#  Delete "$INSTDIR\translations\linguist_pl.ts"
+#  Delete "$INSTDIR\translations\qt_ar.qm"
+#  Delete "$INSTDIR\translations\qt_ar.ts"
+  Delete "$INSTDIR\translations\qt_de.qm"
+  Delete "$INSTDIR\translations\qt_de.ts"
+#  Delete "$INSTDIR\translations\qt_es.qm"
+#  Delete "$INSTDIR\translations\qt_es.ts"
+#  Delete "$INSTDIR\translations\qt_fr.qm"
+#  Delete "$INSTDIR\translations\qt_fr.ts"
+#  Delete "$INSTDIR\translations\qt_iw.qm"
+#  Delete "$INSTDIR\translations\qt_iw.ts"
+#  Delete "$INSTDIR\translations\qt_ja_jp.qm"
+#  Delete "$INSTDIR\translations\qt_ja_jp.ts"
+#  Delete "$INSTDIR\translations\qt_pl.ts"
+#  Delete "$INSTDIR\translations\qt_pt.qm"
+#  Delete "$INSTDIR\translations\qt_pt.ts"
+#  Delete "$INSTDIR\translations\qt_ru.qm"
+#  Delete "$INSTDIR\translations\qt_ru.ts"
+#  Delete "$INSTDIR\translations\qt_sk.qm"
+#  Delete "$INSTDIR\translations\qt_sk.ts"
+#  Delete "$INSTDIR\translations\qt_sv.qm"
+#  Delete "$INSTDIR\translations\qt_sv.ts"
+#  Delete "$INSTDIR\translations\qt_uk.qm"
+#  Delete "$INSTDIR\translations\qt_uk.ts"
+  Delete "$INSTDIR\translations\qt_untranslated.ts"
+#  Delete "$INSTDIR\translations\qt_zh_CN.qm"
+#  Delete "$INSTDIR\translations\qt_zh_CN.ts"
+#  Delete "$INSTDIR\translations\qtconfig_pl.ts"
+#  Delete "$INSTDIR\translations\qvfb_pl.ts"
+
+  RMDir "$INSTDIR\translations"
+
+  RMDir "$INSTDIR"
+!endif
+SectionEnd



More information about the Gpg4win-commits mailing list