# # # rename "res/win32/guitone.iss" # to "res/win32/guitone.iss.in" # # add_file "i18n.pro" # content [8dc8e84429af123e9bf58b4e9e6f69d050386668] # # add_file "res/win32/sed.js" # content [3f8941b84d28316852eb04d18b890ff6523c81be] # # add_file "sources.pri" # content [2f08c68c82081c23e985389beb9dac6e6eb6fc21] # # patch ".mtn-ignore" # from [d5ff9346087778432e9beb954585d63c99769142] # to [2e96f6e57ed5c894a657927bb705cf398d4dd763] # # patch "NEWS" # from [0493a359b90c962f010099bfa91aa34da542586d] # to [37d239eec7e7556ace4d275d360875c32785d08e] # # patch "README" # from [1860afad1723423e6acce38cd75d01ef01f662dd] # to [2ca98a193c4cacf84d8a6e9fd992fadbbb783407] # # patch "guitone.pro" # from [2c4a3ab9fb71ea9854720c84fe0ac372fe80d6b4] # to [5f131784e0e159c12780a833cb4930166460d6b4] # # patch "notes/RELEASE_CHECKLIST" # from [5ed09a24596f2c54f85303a0b91103cb292b0681] # to [671f4b0fa4a19243ae69bd0fcd526c1675f41076] # # patch "res/i18n/guitone_pt.ts" # from [d698aeeaa1b4d6c0ccb2f90ae63c87d9f291402a] # to [56bb04d4053b59704679fc6adfe911ffc2ca251a] # # patch "res/win32/guitone.iss.in" # from [72f7bfad4d4749dc6788cb370394e60564c97a98] # to [1f5281d945bbf0ba4e3f3de5701bd9668baecab1] # ============================================================ --- i18n.pro 8dc8e84429af123e9bf58b4e9e6f69d050386668 +++ i18n.pro 8dc8e84429af123e9bf58b4e9e6f69d050386668 @@ -0,0 +1,4 @@ +TRANSLATIONS = res/i18n/guitone_de.ts \ + res/i18n/guitone_pt.ts + +include(sources.pri) \ No newline at end of file ============================================================ --- res/win32/sed.js 3f8941b84d28316852eb04d18b890ff6523c81be +++ res/win32/sed.js 3f8941b84d28316852eb04d18b890ff6523c81be @@ -0,0 +1,27 @@ +// based on source: +// http://stackoverflow.com/questions/127318/is-there-any-sed-like-utility-for-cmd-exe + +var patterns = new Array(); +var replacements = new Array(); +var argcount = 0; + +for (var i=0; i res\win32\guitone.iss && \ + ( for %%f in ($$DOCFILES) do \ + cscript //NoLogo res\win32\sed.js \ + s/\n\$$/\r\n/ \ + < %%f > %%f.txt ) && \ + \"$$ISCC\" res\win32\guitone.iss && \ + ( for %%f IN ($$DOCFILES) do del %%f.txt ) + + QMAKE_EXTRA_TARGETS += win32setup +} ============================================================ --- notes/RELEASE_CHECKLIST 5ed09a24596f2c54f85303a0b91103cb292b0681 +++ notes/RELEASE_CHECKLIST 671f4b0fa4a19243ae69bd0fcd526c1675f41076 @@ -21,24 +21,18 @@ 6) EXE release (binary, win32, mingw): 6) EXE release (binary, win32, mingw): Ensure that you've downloaded and installed the Inno Setup's Quick Start Package - from http://www.jrsoftware.org/isdl.php before you continue. + from http://www.jrsoftware.org/isdl.php before you continue. Additionally, + ensure you've installed MinGW and OpenSSL as well. $ tar xzvf guitone-VERSION.tgz $ cd guitone-VERSION - $ qmake -config release && make + $ qmake -config release && make win32setup - Convert all shipped text files (NEWS, README, README.driver and COPYING) from - unix to dos lineendings and save the resulting files as .txt in the - workspace root _without_ patching the original files! + The setup file will be created in bin/. + + Finally _test_ the installation. If everything is fine, upload the created + setup file on the server. - Now open guitone-MAJOR.MINOR.BUGFIX/res/win32/guitone.iss in ISTool and set - the variables APPVERS to MAJOR.MINOR.BUGFIX. Also set the path to your binary - Qt/mingw installation properly so the setup script can find and pack the needed - Qt libraries into the installer. Hit Ctrl+F5 to compile and run the setup. - - After the setup ran through successfully without errors, _test_ the installation. - If everything is fine again, upload the created setup file on the server. - 7) DMG release (binary, Mac OS X): You need the macdeployqt utility which usually comes with newer ============================================================ --- res/i18n/guitone_pt.ts d698aeeaa1b4d6c0ccb2f90ae63c87d9f291402a +++ res/i18n/guitone_pt.ts 56bb04d4053b59704679fc6adfe911ffc2ca251a @@ -1,4 +1,6 @@ - + + + About @@ -470,14 +472,18 @@ p, li { white-space: pre-wrap; } Could not create certificate. Please check the logs for details. Incapaz de criar o certificado. Por favor verifique os logs para detalhes. - + There are no private keys available with which to sign the suspend cert(s) for the %n heads. Please go to Database > Key Management and create a new private key first. - Não existem chaves privadas disponíveis com que assinar os certificados de suspensão para as %n cabeças. Por favor vá a Base de Dados > Gestão de Chaves e crie uma chave privada nova primeiro. + + Não existem chaves privadas disponíveis com que assinar os certificados de suspensão para as %n cabeças. Por favor vá a Base de Dados > Gestão de Chaves e crie uma chave privada nova primeiro. + - + Please select the private key with which you want to sign the suspend cert(s) for the %n head(s): - Por favor seleccione a chave privada com a qual deseja assinar os certificado(s) de suspensão para as %n cabeça(s): + + Por favor seleccione a chave privada com a qual deseja assinar os certificado(s) de suspensão para as %n cabeça(s): + @@ -1650,9 +1656,11 @@ gravado) Items have changes Os itens têm alterações - + %n out of %1 item(s) have changes which cannot be reverted after the removal. Are you sure you want to continue? - %n de %1 item(s) têm alterações que não podem ser revertidas após a remoção. Tem a certeza que deseja continuar? + + %n de %1 item(s) têm alterações que não podem ser revertidas após a remoção. Tem a certeza que deseja continuar? + ============================================================ --- res/win32/guitone.iss 72f7bfad4d4749dc6788cb370394e60564c97a98 +++ res/win32/guitone.iss.in 1f5281d945bbf0ba4e3f3de5701bd9668baecab1 @@ -1,8 +1,8 @@ #define APPNAME="guitone" -#define APPVERS="1.0rc3" -#define QTDIR="c:\Qt\4.6.2" -#define MINGWDIR="c:\MinGW\" -#define OPENSSLDIR="c:\OpenSSL" +#define APPVERS="@@VERSION@@" +#define QTDIR="@@QTDIR@@" +#define MINGWDIR="@@MINGWDIR@@" +#define OPENSSLDIR="@@OPENSSLDIR@@" [Setup] AppId={{5D368DF6-C31E-499C-A99E-2755F3D67211} @@ -13,7 +13,7 @@ DefaultGroupName={#APPNAME} DefaultDirName={pf}\{#APPNAME} DefaultGroupName={#APPNAME} -AppCopyright=Copyright © 2006 - 2010 Thomas Keller +AppCopyright=Copyright © 2006 - 2010 Thomas Keller AppPublisher=Thomas Keller AppPublisherURL=http://guitone.thomaskeller.biz OutputDir=..\..\bin @@ -45,7 +45,7 @@ Source: {#OPENSSLDIR}\libssl32.dll; Dest Source: {#QTDIR}\bin\QtXml4.dll; DestDir: {app} Source: {#OPENSSLDIR}\libeay32.dll; DestDir: {app} Source: {#OPENSSLDIR}\libssl32.dll; DestDir: {app} -Source: {#OPENSSLDIR}\license.txt; DestDir: {app}\openssl-license.txt +Source: {#OPENSSLDIR}\license.txt; DestDir: {app}; DestName: openssl-license.txt [Tasks] Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked @@ -75,13 +75,13 @@ ViewReadmeDriver=View the driver interfa VisitHomepage=Visit the Homepage ViewReadme=View the README ViewReadmeDriver=View the driver interface README -ViewNews=View guitone's Changelog +ViewNews=View the NEWS MonotoneRepository=monotone repository german.VisitHomepage=Homepage besuchen german.ViewReadme=README-Datei anzeigen (Englisch) german.ViewReadmeDriver=README-Datei des Driver-Interfaces anzeigen (Englisch) -german.ViewNews=guitones Änderungsliste anzeigen (Englisch) +german.ViewNews=Neuigkeiten anzeigen (Englisch) german.MonotoneRepository=monotone-Depot