BuildDitto.bld 147 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080
  1. <?xml version='1.0' encoding='utf-8'?>
  2. <project version='9' encrypted='1'>
  3. <steps type='0'>
  4. <step action='Set Macro'>
  5. <MacroName>LOGFILE</MacroName>
  6. <MacroValue>%temp%\DittoTestBuild_LogFile\Log.txt</MacroValue>
  7. <name>Default Log File</name>
  8. </step>
  9. <step action='Read INI'>
  10. <Filename>%projdir%\pw.ini</Filename>
  11. <Macro>sf_pw</Macro>
  12. <Section>sf</Section>
  13. <ValueName>pw</ValueName>
  14. <name>Read INI</name>
  15. </step>
  16. <step action='Group'>
  17. <name>Project steps</name>
  18. </step>
  19. <step action='Set File Attributes'>
  20. <Archive type='3'>2</Archive>
  21. <Ext>*</Ext>
  22. <Hidden type='3'>2</Hidden>
  23. <LogAttr type='11'>-1</LogAttr>
  24. <LogUnchanged type='11'>-1</LogUnchanged>
  25. <Path>%workdir%</Path>
  26. <ReadOnly type='3'>2</ReadOnly>
  27. <Recurse type='11'>-1</Recurse>
  28. <System type='3'>2</System>
  29. <buildfailsteps type='11'>0</buildfailsteps>
  30. <continueonfail type='3'>1</continueonfail>
  31. <indent type='3'>1</indent>
  32. <name>Set File Attributes</name>
  33. </step>
  34. <step action='Delete Files'>
  35. <ContinueFail type='11'>-1</ContinueFail>
  36. <DelDirs type='11'>-1</DelDirs>
  37. <Ext>*</Ext>
  38. <LogDel type='11'>-1</LogDel>
  39. <Path>%workdir%</Path>
  40. <Recurse type='11'>-1</Recurse>
  41. <indent type='3'>1</indent>
  42. <name>Delete Files</name>
  43. </step>
  44. <step action='Set File Attributes'>
  45. <Archive type='3'>2</Archive>
  46. <Ext>*</Ext>
  47. <Hidden type='3'>2</Hidden>
  48. <LogAttr type='11'>-1</LogAttr>
  49. <LogUnchanged type='11'>-1</LogUnchanged>
  50. <Path>%testBuildWorkDir%</Path>
  51. <ReadOnly type='3'>2</ReadOnly>
  52. <Recurse type='11'>-1</Recurse>
  53. <System type='3'>2</System>
  54. <buildfailsteps type='11'>0</buildfailsteps>
  55. <continueonfail type='3'>1</continueonfail>
  56. <indent type='3'>1</indent>
  57. <name>Set File Attributes</name>
  58. </step>
  59. <step action='Delete Files'>
  60. <ContinueFail type='11'>-1</ContinueFail>
  61. <DelDirs type='11'>-1</DelDirs>
  62. <Ext>*</Ext>
  63. <Path>%testBuildWorkDir%</Path>
  64. <Recurse type='11'>-1</Recurse>
  65. <indent type='3'>1</indent>
  66. <name>Delete Temp Source</name>
  67. </step>
  68. <step action='Run Program'>
  69. <buildfailsteps type='11'>0</buildfailsteps>
  70. <command>C:\Program Files\Git\bin\git.exe clone git://git.code.sf.net/p/ditto-cp/ditto %workDir%</command>
  71. <indent type='3'>1</indent>
  72. <name>Run Program</name>
  73. <outputfrom type='3'>1</outputfrom>
  74. </step>
  75. <step action='Run Script'>
  76. <Language>VBScript</Language>
  77. <Script><![CDATA[' increment the build number in the global macro BUILD_NUM, creating
  78. ' the macro and initializing to 1 if it doesn't exist
  79. Const BLD_MACRO = "verBuild"
  80. ' retrieve global macros collection
  81. Set macros = Application.Macros(vbldGlobal)
  82. ' see if our macro exists
  83. Set macro = macros.Item(BLD_MACRO)
  84. If macro Is Nothing Then
  85. ' create the macro if not found
  86. macros.Add BLD_MACRO, "1"
  87. Builder.LogMessage "Created BUILD_NUM macro"
  88. Else
  89. macro.Value = CLng(macro.Value)+1
  90. Builder.LogMessage "Incremented BUILD_NUM macro to " & macro.Value
  91. End If
  92. ]]></Script>
  93. <description><![CDATA[Get the next build number
  94. ]]></description>
  95. <indent type='3'>1</indent>
  96. <name>Increment Build Number</name>
  97. </step>
  98. <step action='Enhanced Zip Files'>
  99. <Action type='3'>2</Action>
  100. <ComprMethod type='3'>1</ComprMethod>
  101. <Compression>5</Compression>
  102. <Dest>%workDir%\dittosetup\output\DittoSource_%versionFileName%.zip</Dest>
  103. <ExclExt><![CDATA[*.tlog
  104. *.pch
  105. *.obj
  106. *.asm
  107. *.lastbuildstate
  108. *.pdb
  109. *.exp
  110. *.svn-base
  111. *.map
  112. *.tlh
  113. .git]]></ExclExt>
  114. <Ext>*</Ext>
  115. <Hidden type='11'>-1</Hidden>
  116. <LogDetail type='11'>-1</LogDetail>
  117. <Recurse type='11'>-1</Recurse>
  118. <Source>%workDir%</Source>
  119. <indent type='3'>1</indent>
  120. <name>ZIP Files</name>
  121. </step>
  122. <step action='Group'>
  123. <indent type='3'>1</indent>
  124. <name>Build Ditto</name>
  125. </step>
  126. <step action='NuGet'>
  127. <Command>restore</Command>
  128. <NonInteractive type='11'>-1</NonInteractive>
  129. <Opt>-SolutionDirectory %workDir%</Opt>
  130. <PackageId>%workDir%\CP_Main.vcxproj</PackageId>
  131. <buildfailsteps type='11'>0</buildfailsteps>
  132. <indent type='3'>2</indent>
  133. <name>Restore NuGet</name>
  134. </step>
  135. <step action='Make VS 2017'>
  136. <AssemblyVer type='11'>-1</AssemblyVer>
  137. <Attr type='11'>-1</Attr>
  138. <Config>Release|x64</Config>
  139. <FileVer type='11'>-1</FileVer>
  140. <Filename>%workDir%\CP_Main_10.sln</Filename>
  141. <ProdVer type='11'>-1</ProdVer>
  142. <Version>%version%</Version>
  143. <VersionSel type='3'>2</VersionSel>
  144. <indent type='3'>2</indent>
  145. <name>Build Ditto 64</name>
  146. </step>
  147. <step action='Make VS 2017'>
  148. <AssemblyVer type='11'>-1</AssemblyVer>
  149. <Attr type='11'>-1</Attr>
  150. <Config>Release|Win32</Config>
  151. <FileVer type='11'>-1</FileVer>
  152. <Filename>%workDir%\CP_Main_10.sln</Filename>
  153. <ProdVer type='11'>-1</ProdVer>
  154. <Version>%version%</Version>
  155. <VersionSel type='3'>2</VersionSel>
  156. <indent type='3'>2</indent>
  157. <name>Build Ditto 32</name>
  158. </step>
  159. <step action='Group'>
  160. <indent type='3'>1</indent>
  161. <name>Zip Source</name>
  162. </step>
  163. <step action='Enhanced Unzip Files'>
  164. <Action type='3'>2</Action>
  165. <Dest>%testBuildWorkDir%</Dest>
  166. <Ext>*</Ext>
  167. <HideOn type='11'>-1</HideOn>
  168. <LogDetail type='11'>-1</LogDetail>
  169. <PathInfo type='11'>-1</PathInfo>
  170. <Recurse type='11'>-1</Recurse>
  171. <Source>%workDir%\dittosetup\output\DittoSource_%versionFileName%.zip</Source>
  172. <SysOn type='11'>-1</SysOn>
  173. <buildfailsteps type='11'>0</buildfailsteps>
  174. <indent type='3'>2</indent>
  175. <name>Enhanced Unzip Files</name>
  176. </step>
  177. <step action='NuGet'>
  178. <Command>restore</Command>
  179. <NonInteractive type='11'>-1</NonInteractive>
  180. <Opt>-SolutionDirectory %testBuildWorkDir%</Opt>
  181. <PackageId>%testBuildWorkDir%\CP_Main.vcxproj</PackageId>
  182. <buildfailsteps type='11'>0</buildfailsteps>
  183. <indent type='3'>2</indent>
  184. <name>Restore NuGet</name>
  185. </step>
  186. <step action='Make VS 2017'>
  187. <AssemblyVer type='11'>-1</AssemblyVer>
  188. <Attr type='11'>-1</Attr>
  189. <Config>Release|x64</Config>
  190. <FileVer type='11'>-1</FileVer>
  191. <Filename>%testBuildWorkDir%\CP_Main_10.sln</Filename>
  192. <ProdVer type='11'>-1</ProdVer>
  193. <Version>%version%</Version>
  194. <VersionSel type='3'>2</VersionSel>
  195. <indent type='3'>2</indent>
  196. <name>Build Ditto 64</name>
  197. </step>
  198. <step action='Make VS 2017'>
  199. <AssemblyVer type='11'>-1</AssemblyVer>
  200. <Attr type='11'>-1</Attr>
  201. <Config>Release|x64</Config>
  202. <FileVer type='11'>-1</FileVer>
  203. <Filename>%testBuildWorkDir%\CP_Main_10.sln</Filename>
  204. <ProdVer type='11'>-1</ProdVer>
  205. <Version>%version%</Version>
  206. <VersionSel type='3'>2</VersionSel>
  207. <indent type='3'>2</indent>
  208. <name>Build Ditto 32</name>
  209. </step>
  210. <step action='Run Program'>
  211. <command>"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" /F"DittoSetup_%versionFileName%" "%workDir%\DittoSetup\DittoSetup_10.iss"</command>
  212. <indent type='3'>1</indent>
  213. <name>Build Installer 32</name>
  214. <outputfrom type='3'>1</outputfrom>
  215. </step>
  216. <step action='Run Program'>
  217. <command>"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" /F"DittoSetup_64bit_%versionFileName%" "%workDir%\DittoSetup\DittoSetup_10.iss" "/dbit64=1"</command>
  218. <indent type='3'>1</indent>
  219. <name>Build Installer 64</name>
  220. <outputfrom type='3'>1</outputfrom>
  221. </step>
  222. <step action='Run Program'>
  223. <command>"%workDir%\DittoSetup\Build Portable ZIP_10.bat" "DittoPortable_%versionFileName%" bit32</command>
  224. <indent type='3'>1</indent>
  225. <name>Build Portable 32</name>
  226. <outputfrom type='3'>1</outputfrom>
  227. <startin>%workDir%\DittoSetup\</startin>
  228. </step>
  229. <step action='Run Program'>
  230. <command>"%workDir%\DittoSetup\Build Portable ZIP_10.bat" "DittoPortable_64bit_%versionFileName%" bit64</command>
  231. <indent type='3'>1</indent>
  232. <name>Build Portable 64</name>
  233. <outputfrom type='3'>1</outputfrom>
  234. <startin>%workDir%\DittoSetup\</startin>
  235. </step>
  236. <step action='Enhanced Zip Files'>
  237. <Action type='3'>2</Action>
  238. <ComprMethod type='3'>1</ComprMethod>
  239. <Compression>6</Compression>
  240. <Dest>%workDir%\DittoSetup\output\DittoDebug_%versionFileName%.7z</Dest>
  241. <ExclExt><![CDATA[mfc*
  242. msp*
  243. msv*
  244. u3*
  245. DittoSetup*]]></ExclExt>
  246. <Ext><![CDATA[*.pdb
  247. *.map]]></Ext>
  248. <HideOn type='11'>-1</HideOn>
  249. <LogDetail type='11'>-1</LogDetail>
  250. <Recurse type='11'>-1</Recurse>
  251. <Source>%workDir%</Source>
  252. <SysOn type='11'>-1</SysOn>
  253. <Unicode type='11'>-1</Unicode>
  254. <buildfailsteps type='11'>0</buildfailsteps>
  255. <indent type='3'>1</indent>
  256. <name>Zip Debug Files</name>
  257. </step>
  258. <step action='Group'>
  259. <buildfailsteps type='11'>0</buildfailsteps>
  260. <indent type='3'>1</indent>
  261. <name>Appx</name>
  262. </step>
  263. <step action='Enhanced Unzip Files'>
  264. <Action type='3'>2</Action>
  265. <Dest>%workDir%\DittoSetup\appx\</Dest>
  266. <Ext>*</Ext>
  267. <HideOn type='11'>-1</HideOn>
  268. <LogDetail type='11'>-1</LogDetail>
  269. <PathInfo type='11'>-1</PathInfo>
  270. <Recurse type='11'>-1</Recurse>
  271. <Source>%workDir%\DittoSetup\Output\DittoPortable_%versionFileName%.zip</Source>
  272. <SysOn type='11'>-1</SysOn>
  273. <buildfailsteps type='11'>0</buildfailsteps>
  274. <indent type='3'>2</indent>
  275. <name>extraxt x86 Portable</name>
  276. </step>
  277. <step action='Write File'>
  278. <BOM type='11'>-1</BOM>
  279. <Filename>%workDir%\DittoSetup\appx\files.ini</Filename>
  280. <Text><![CDATA[[[Files]]
  281. ".\appxmanifest.xml" "AppxManifest.xml"
  282. ".\Ditto\Ditto.exe" "Ditto.exe"
  283. ".\Ditto\icudt58.dll" "icudt58.dll"
  284. ".\Ditto\icuin58.dll" "icuin58.dll"
  285. ".\Ditto\icuio58.dll" "icuio58.dll"
  286. ".\Ditto\icutu58.dll" "icutu58.dll"
  287. ".\Ditto\icuuc58.dll" "icuuc58.dll"
  288. ".\Ditto\vcruntime140.dll" "vcruntime140.dll"
  289. ".\Ditto\msvcp140.dll" "msvcp140.dll"
  290. ".\Ditto\mfc140u.dll" "mfc140u.dll"
  291. ".\Ditto\mfc140enu.dll" "mfc140enu.dll"
  292. ".\WindowsApp" "WindowsApp"
  293. ".\Ditto.png" "Ditto.png"
  294. ".\Ditto_150.png" "Ditto_150.png"
  295. ".\Ditto_44.png" "Ditto_44.png"
  296. ".\Ditto\Addins\DittoUtil.dll" "Addins\DittoUtil.dll"
  297. ".\Ditto\Help\DittoConfig.htm" "Help\DittoConfig.htm"
  298. ".\Ditto\Help\DittoCustomKeys.htm" "Help\DittoCustomKeys.htm"
  299. ".\Ditto\Help\DittoFAQ.htm" "Help\DittoFAQ.htm"
  300. ".\Ditto\Help\DittoGettingStarted.htm" "Help\DittoGettingStarted.htm"
  301. ".\Ditto\Help\Dutch_DittoConfig.htm" "Help\Dutch_DittoConfig.htm"
  302. ".\Ditto\Help\Dutch_DittoFAQ.htm" "Help\Dutch_DittoFAQ.htm"
  303. ".\Ditto\Help\Dutch_DittoGettingStarted.htm" "Help\Dutch_DittoGettingStarted.htm"
  304. ".\Ditto\Help\Persian_DittoCustomKeys.htm" "Help\Persian_DittoCustomKeys.htm"
  305. ".\Ditto\Help\Persian_DittoGettingStarted.htm" "Help\Persian_DittoGettingStarted.htm"
  306. ".\Ditto\Help\RegCustomKeys.jpg" "Help\RegCustomKeys.jpg"
  307. ".\Ditto\Help\U3_Install.htm" "Help\U3_Install.htm"
  308. ".\Ditto\Language\Chinese.xml" "Language\Chinese.xml"
  309. ".\Ditto\Language\Chinese Traditional.xml" "Language\Chinese Traditional.xml"
  310. ".\Ditto\Language\Croatian.xml" "Language\Croatian.xml"
  311. ".\Ditto\Language\Czech.xml" "Language\Czech.xml"
  312. ".\Ditto\Language\Danish.xml" "Language\Danish.xml"
  313. ".\Ditto\Language\Deutsch.xml" "Language\Deutsch.xml"
  314. ".\Ditto\Language\Dutch.xml" "Language\Dutch.xml"
  315. ".\Ditto\Language\English.xml" "Language\English.xml"
  316. ".\Ditto\Language\French.xml" "Language\French.xml"
  317. ".\Ditto\Language\Greek.xml" "Language\Greek.xml"
  318. ".\Ditto\Language\Hebrew.xml" "Language\Hebrew.xml"
  319. ".\Ditto\Language\italiano.xml" "Language\italiano.xml"
  320. ".\Ditto\Language\Japanese.xml" "Language\Japanese.xml"
  321. ".\Ditto\Language\Korean.xml" "Language\Korean.xml"
  322. ".\Ditto\Language\Persian.xml" "Language\Persian.xml"
  323. ".\Ditto\Language\Polski.xml" "Language\Polski.xml"
  324. ".\Ditto\Language\Portuguese.xml" "Language\Portuguese.xml"
  325. ".\Ditto\Language\Romanian.xml" "Language\Romanian.xml"
  326. ".\Ditto\Language\Russian.xml" "Language\Russian.xml"
  327. ".\Ditto\Language\Slovenian.xml" "Language\Slovenian.xml"
  328. ".\Ditto\Language\Spanish.xml" "Language\Spanish.xml"
  329. ".\Ditto\Language\Swedish.xml" "Language\Swedish.xml"
  330. ".\Ditto\Language\Turkish.xml" "Language\Turkish.xml"
  331. ".\Ditto\Language\Ukrainian.xml" "Language\Ukrainian.xml"
  332. ".\Ditto\Language\Finnish.xml" "Language\Finnish.xml"
  333. ".\Ditto\Themes\Classic.xml" "Themes\Classic.xml"
  334. ".\Ditto\Themes\DarkerDitto.xml" "Themes\DarkerDitto.xml"]]></Text>
  335. <buildfailsteps type='11'>0</buildfailsteps>
  336. <indent type='3'>2</indent>
  337. <name>Write files.ini</name>
  338. </step>
  339. <step action='Write File'>
  340. <Filename>%workDir%\DittoSetup\appx\appxmanifest.xml</Filename>
  341. <Text><![CDATA[<?xml version="1.0" encoding="utf-8"?>
  342. <Package
  343. xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
  344. xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
  345. xmlns:uap2="http://schemas.microsoft.com/appx/manifest/uap/windows10/2"
  346. xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
  347. xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
  348. xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
  349. xmlns:desktop2="http://schemas.microsoft.com/appx/manifest/desktop/windows10/2"
  350. IgnorableNamespaces="desktop2">
  351. <Identity Name="60145ScottBrogden.ditto-cp"
  352. ProcessorArchitecture="x86"
  353. Publisher="CN=2032816C-0EBD-4FA0-8832-B8289B21D4F4"
  354. Version="%version%" />
  355. <Properties>
  356. <DisplayName>Ditto Clipboard</DisplayName>
  357. <PublisherDisplayName>Scott Brogden</PublisherDisplayName>
  358. <Description>Ditto</Description>
  359. <Logo>Ditto.png</Logo>
  360. </Properties>
  361. <Resources>
  362. <Resource Language="en-us" />
  363. </Resources>
  364. <Dependencies>
  365. <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14316.0" MaxVersionTested="10.0.14316.0" />
  366. </Dependencies>
  367. <Capabilities>
  368. <rescap:Capability Name="runFullTrust"/>
  369. </Capabilities>
  370. <Applications>
  371. <Application Id="Ditto" Executable="Ditto.exe" EntryPoint="Windows.FullTrustApplication">
  372. <uap:VisualElements
  373. BackgroundColor="#ffffff"
  374. DisplayName="Ditto"
  375. Square150x150Logo="Ditto_150.png"
  376. Square44x44Logo="Ditto_44.png"
  377. Description="Ditto" />
  378. <Extensions>
  379. <desktop:Extension Category="windows.startupTask" Executable="Ditto.exe" EntryPoint="Windows.FullTrustApplication">
  380. <desktop:StartupTask TaskId="DittoStartupTask" Enabled="true" DisplayName="Ditto Service" />
  381. </desktop:Extension>
  382. <desktop2:Extension Category="windows.firewallRules">
  383. <desktop2:FirewallRules Executable="Ditto.exe">
  384. <desktop2:Rule Direction="in" IPProtocol="TCP" LocalPortMin="23443" LocalPortMax="23443" RemotePortMin="23443" RemotePortMax="23443" Profile="domainAndPrivate"/>
  385. <desktop2:Rule Direction="out" IPProtocol="TCP" LocalPortMin="23443" LocalPortMax="23443" RemotePortMin="23443" RemotePortMax="23443" Profile="domainAndPrivate"/>
  386. </desktop2:FirewallRules>
  387. </desktop2:Extension>
  388. <uap:Extension Category="windows.fileTypeAssociation">
  389. <uap3:FileTypeAssociation Name="alsdkja">
  390. <uap:SupportedFileTypes>
  391. <uap:FileType>.dto</uap:FileType>
  392. </uap:SupportedFileTypes>
  393. </uap3:FileTypeAssociation>
  394. </uap:Extension>
  395. </Extensions>
  396. </Application>
  397. </Applications>
  398. </Package>]]></Text>
  399. <buildfailsteps type='11'>0</buildfailsteps>
  400. <indent type='3'>2</indent>
  401. <name>Write manifest</name>
  402. </step>
  403. <step action='Run Program'>
  404. <buildfailsteps type='11'>0</buildfailsteps>
  405. <command>"c:\Program Files (x86)\Windows Kits\10\bin\x86\MakeAppx.exe" pack /f "%workDir%\DittoSetup\appx\files.ini" /p "%workDir%\DittoSetup\appx\Ditto_%versionFileName%.appx"</command>
  406. <indent type='3'>2</indent>
  407. <name>Gen appx</name>
  408. <outputfrom type='3'>1</outputfrom>
  409. <startin>%workDir%\DittoSetup\appx</startin>
  410. </step>
  411. <step action='Run Program'>
  412. <ShowCmd type='11'>-1</ShowCmd>
  413. <buildfailsteps type='11'>0</buildfailsteps>
  414. <command>"c:\Program Files (x86)\Windows Kits\10\bin\x86\signtool.exe" sign -f "%workDir%\DittoSetup\appx\my.pfx" -fd SHA256 -v "%workDir%\DittoSetup\appx\Ditto_%versionFileName%.appx</command>
  415. <indent type='3'>2</indent>
  416. <name>Sign appx</name>
  417. <outputfrom type='3'>1</outputfrom>
  418. </step>
  419. <step action='Copy Files'>
  420. <Converted type='11'>-1</Converted>
  421. <Delay>15</Delay>
  422. <DestDir>%workDir%\DittoSetup\Output</DestDir>
  423. <Ext>Ditto_%versionFileName%.appx</Ext>
  424. <Incremental type='11'>-1</Incremental>
  425. <LogCopied type='11'>-1</LogCopied>
  426. <ReadOnly type='11'>-1</ReadOnly>
  427. <Retries>10</Retries>
  428. <SourceDir>%workDir%\DittoSetup\appx\</SourceDir>
  429. <TBD type='11'>-1</TBD>
  430. <buildfailsteps type='11'>0</buildfailsteps>
  431. <indent type='3'>2</indent>
  432. <name>Copy Files</name>
  433. </step>
  434. <step action='Group'>
  435. <buildfailsteps type='11'>0</buildfailsteps>
  436. <indent type='3'>1</indent>
  437. <name>Chocolatey</name>
  438. </step>
  439. <step action='Write File'>
  440. <Filename>%workDir%\DittoSetup\Chocolatey\ditto.nuspec</Filename>
  441. <Text><![CDATA[<?xml version="1.0"?>
  442. <package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  443. <metadata>
  444. <id>ditto</id>
  445. <title>Ditto Clipboard</title>
  446. <version>%version%-beta</version>
  447. <authors>Scott Brogden</authors>
  448. <owners>Scott Brogden</owners>
  449. <summary>Ditto Clipboard</summary>
  450. <docsUrl>https://sourceforge.net/p/ditto-cp/wiki/</docsUrl>
  451. <mailingListUrl>https://sourceforge.net/p/ditto-cp/discussion/</mailingListUrl>
  452. <bugTrackerUrl>https://sourceforge.net/p/ditto-cp/discussion/</bugTrackerUrl>
  453. <projectSourceUrl>https://sourceforge.net/projects/ditto-cp/files/</projectSourceUrl>
  454. <description>Ditto is an extension to the standard windows clipboard. It saves each item placed on the clipboard allowing you access to any of those items at a later time. Ditto allows you to save any type of information that can be put on the clipboard, text, images, html, custom formats, .....
  455. #### Features
  456. * Easy to use interface
  457. * Search and paste previous copy entries
  458. * Keep multiple computer's clipboards in sync
  459. * Data is encrypted when sent over the network
  460. * Accessed from tray icon or global hot key
  461. * Select entry by double click, enter key or drag drop
  462. * Paste into any window that excepts standard copy/paste entries
  463. * Display thumbnail of copied images in list
  464. * Full Unicode support(display foreign characters)
  465. * UTF-8 support for language files(create language files in any language)
  466. * Uses sqlite database (www.sqlite.org)</description>
  467. <projectUrl>https://ditto-cp.sourceforge.io/</projectUrl>
  468. <tags>Ditto clipboard</tags>
  469. <licenseUrl>http://www.gnu.org/licenses/gpl-3.0.txt</licenseUrl>
  470. <requireLicenseAcceptance>false</requireLicenseAcceptance> <!-- or true if you require the user to accept the License before installing -->
  471. <iconUrl>https://ditto-cp.sourceforge.io/Ditto2.png</iconUrl>
  472. </metadata>
  473. </package>]]></Text>
  474. <buildfailsteps type='11'>0</buildfailsteps>
  475. <indent type='3'>2</indent>
  476. <name>nuspec</name>
  477. </step>
  478. <step action='Write File'>
  479. <Filename>%workDir%\DittoSetup\Chocolatey\tools\chocolateyInstall.ps1</Filename>
  480. <Text><![CDATA[$toolsDir = Split-Path -parent $MyInvocation.MyCommand.Definition
  481. $FileLocations = Get-ChildItem -Path $toolsDir -Filter '*.exe' | select -ExpandProperty FullName
  482. $packageArgs = @{
  483. packageName = $env:ChocolateyPackageName
  484. fileType = 'EXE'
  485. File = $FileLocations | Where-Object {$_ -notmatch '64bit'}
  486. File64 = $FileLocations | Where-Object {$_ -match '64bit'}
  487. softwareName = $env:ChocolateyPackageName.split('.')[[0]]
  488. silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /CLOSEAPPLICATIONS /SP-'
  489. validExitCodes= @(0)
  490. }
  491. Install-ChocolateyInstallPackage @packageArgs
  492. foreach ($exe in $FileLocations) {
  493. New-Item "$exe.ignore" -Type file -Force | Out-Null
  494. }]]></Text>
  495. <buildfailsteps type='11'>0</buildfailsteps>
  496. <indent type='3'>2</indent>
  497. <name>chocolateyInstall.ps1</name>
  498. </step>
  499. <step action='Write File'>
  500. <Filename>%workDir%\DittoSetup\Chocolatey\tools\LICENSE.txt</Filename>
  501. <Text><![CDATA[ GNU GENERAL PUBLIC LICENSE
  502. Version 3, 29 June 2007
  503. Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
  504. Everyone is permitted to copy and distribute verbatim copies
  505. of this license document, but changing it is not allowed.
  506. Preamble
  507. The GNU General Public License is a free, copyleft license for
  508. software and other kinds of works.
  509. The licenses for most software and other practical works are designed
  510. to take away your freedom to share and change the works. By contrast,
  511. the GNU General Public License is intended to guarantee your freedom to
  512. share and change all versions of a program--to make sure it remains free
  513. software for all its users. We, the Free Software Foundation, use the
  514. GNU General Public License for most of our software; it applies also to
  515. any other work released this way by its authors. You can apply it to
  516. your programs, too.
  517. When we speak of free software, we are referring to freedom, not
  518. price. Our General Public Licenses are designed to make sure that you
  519. have the freedom to distribute copies of free software (and charge for
  520. them if you wish), that you receive source code or can get it if you
  521. want it, that you can change the software or use pieces of it in new
  522. free programs, and that you know you can do these things.
  523. To protect your rights, we need to prevent others from denying you
  524. these rights or asking you to surrender the rights. Therefore, you have
  525. certain responsibilities if you distribute copies of the software, or if
  526. you modify it: responsibilities to respect the freedom of others.
  527. For example, if you distribute copies of such a program, whether
  528. gratis or for a fee, you must pass on to the recipients the same
  529. freedoms that you received. You must make sure that they, too, receive
  530. or can get the source code. And you must show them these terms so they
  531. know their rights.
  532. Developers that use the GNU GPL protect your rights with two steps:
  533. (1) assert copyright on the software, and (2) offer you this License
  534. giving you legal permission to copy, distribute and/or modify it.
  535. For the developers' and authors' protection, the GPL clearly explains
  536. that there is no warranty for this free software. For both users' and
  537. authors' sake, the GPL requires that modified versions be marked as
  538. changed, so that their problems will not be attributed erroneously to
  539. authors of previous versions.
  540. Some devices are designed to deny users access to install or run
  541. modified versions of the software inside them, although the manufacturer
  542. can do so. This is fundamentally incompatible with the aim of
  543. protecting users' freedom to change the software. The systematic
  544. pattern of such abuse occurs in the area of products for individuals to
  545. use, which is precisely where it is most unacceptable. Therefore, we
  546. have designed this version of the GPL to prohibit the practice for those
  547. products. If such problems arise substantially in other domains, we
  548. stand ready to extend this provision to those domains in future versions
  549. of the GPL, as needed to protect the freedom of users.
  550. Finally, every program is threatened constantly by software patents.
  551. States should not allow patents to restrict development and use of
  552. software on general-purpose computers, but in those that do, we wish to
  553. avoid the special danger that patents applied to a free program could
  554. make it effectively proprietary. To prevent this, the GPL assures that
  555. patents cannot be used to render the program non-free.
  556. The precise terms and conditions for copying, distribution and
  557. modification follow.
  558. TERMS AND CONDITIONS
  559. 0. Definitions.
  560. "This License" refers to version 3 of the GNU General Public License.
  561. "Copyright" also means copyright-like laws that apply to other kinds of
  562. works, such as semiconductor masks.
  563. "The Program" refers to any copyrightable work licensed under this
  564. License. Each licensee is addressed as "you". "Licensees" and
  565. "recipients" may be individuals or organizations.
  566. To "modify" a work means to copy from or adapt all or part of the work
  567. in a fashion requiring copyright permission, other than the making of an
  568. exact copy. The resulting work is called a "modified version" of the
  569. earlier work or a work "based on" the earlier work.
  570. A "covered work" means either the unmodified Program or a work based
  571. on the Program.
  572. To "propagate" a work means to do anything with it that, without
  573. permission, would make you directly or secondarily liable for
  574. infringement under applicable copyright law, except executing it on a
  575. computer or modifying a private copy. Propagation includes copying,
  576. distribution (with or without modification), making available to the
  577. public, and in some countries other activities as well.
  578. To "convey" a work means any kind of propagation that enables other
  579. parties to make or receive copies. Mere interaction with a user through
  580. a computer network, with no transfer of a copy, is not conveying.
  581. An interactive user interface displays "Appropriate Legal Notices"
  582. to the extent that it includes a convenient and prominently visible
  583. feature that (1) displays an appropriate copyright notice, and (2)
  584. tells the user that there is no warranty for the work (except to the
  585. extent that warranties are provided), that licensees may convey the
  586. work under this License, and how to view a copy of this License. If
  587. the interface presents a list of user commands or options, such as a
  588. menu, a prominent item in the list meets this criterion.
  589. 1. Source Code.
  590. The "source code" for a work means the preferred form of the work
  591. for making modifications to it. "Object code" means any non-source
  592. form of a work.
  593. A "Standard Interface" means an interface that either is an official
  594. standard defined by a recognized standards body, or, in the case of
  595. interfaces specified for a particular programming language, one that
  596. is widely used among developers working in that language.
  597. The "System Libraries" of an executable work include anything, other
  598. than the work as a whole, that (a) is included in the normal form of
  599. packaging a Major Component, but which is not part of that Major
  600. Component, and (b) serves only to enable use of the work with that
  601. Major Component, or to implement a Standard Interface for which an
  602. implementation is available to the public in source code form. A
  603. "Major Component", in this context, means a major essential component
  604. (kernel, window system, and so on) of the specific operating system
  605. (if any) on which the executable work runs, or a compiler used to
  606. produce the work, or an object code interpreter used to run it.
  607. The "Corresponding Source" for a work in object code form means all
  608. the source code needed to generate, install, and (for an executable
  609. work) run the object code and to modify the work, including scripts to
  610. control those activities. However, it does not include the work's
  611. System Libraries, or general-purpose tools or generally available free
  612. programs which are used unmodified in performing those activities but
  613. which are not part of the work. For example, Corresponding Source
  614. includes interface definition files associated with source files for
  615. the work, and the source code for shared libraries and dynamically
  616. linked subprograms that the work is specifically designed to require,
  617. such as by intimate data communication or control flow between those
  618. subprograms and other parts of the work.
  619. The Corresponding Source need not include anything that users
  620. can regenerate automatically from other parts of the Corresponding
  621. Source.
  622. The Corresponding Source for a work in source code form is that
  623. same work.
  624. 2. Basic Permissions.
  625. All rights granted under this License are granted for the term of
  626. copyright on the Program, and are irrevocable provided the stated
  627. conditions are met. This License explicitly affirms your unlimited
  628. permission to run the unmodified Program. The output from running a
  629. covered work is covered by this License only if the output, given its
  630. content, constitutes a covered work. This License acknowledges your
  631. rights of fair use or other equivalent, as provided by copyright law.
  632. You may make, run and propagate covered works that you do not
  633. convey, without conditions so long as your license otherwise remains
  634. in force. You may convey covered works to others for the sole purpose
  635. of having them make modifications exclusively for you, or provide you
  636. with facilities for running those works, provided that you comply with
  637. the terms of this License in conveying all material for which you do
  638. not control copyright. Those thus making or running the covered works
  639. for you must do so exclusively on your behalf, under your direction
  640. and control, on terms that prohibit them from making any copies of
  641. your copyrighted material outside their relationship with you.
  642. Conveying under any other circumstances is permitted solely under
  643. the conditions stated below. Sublicensing is not allowed; section 10
  644. makes it unnecessary.
  645. 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
  646. No covered work shall be deemed part of an effective technological
  647. measure under any applicable law fulfilling obligations under article
  648. 11 of the WIPO copyright treaty adopted on 20 December 1996, or
  649. similar laws prohibiting or restricting circumvention of such
  650. measures.
  651. When you convey a covered work, you waive any legal power to forbid
  652. circumvention of technological measures to the extent such circumvention
  653. is effected by exercising rights under this License with respect to
  654. the covered work, and you disclaim any intention to limit operation or
  655. modification of the work as a means of enforcing, against the work's
  656. users, your or third parties' legal rights to forbid circumvention of
  657. technological measures.
  658. 4. Conveying Verbatim Copies.
  659. You may convey verbatim copies of the Program's source code as you
  660. receive it, in any medium, provided that you conspicuously and
  661. appropriately publish on each copy an appropriate copyright notice;
  662. keep intact all notices stating that this License and any
  663. non-permissive terms added in accord with section 7 apply to the code;
  664. keep intact all notices of the absence of any warranty; and give all
  665. recipients a copy of this License along with the Program.
  666. You may charge any price or no price for each copy that you convey,
  667. and you may offer support or warranty protection for a fee.
  668. 5. Conveying Modified Source Versions.
  669. You may convey a work based on the Program, or the modifications to
  670. produce it from the Program, in the form of source code under the
  671. terms of section 4, provided that you also meet all of these conditions:
  672. a) The work must carry prominent notices stating that you modified
  673. it, and giving a relevant date.
  674. b) The work must carry prominent notices stating that it is
  675. released under this License and any conditions added under section
  676. 7. This requirement modifies the requirement in section 4 to
  677. "keep intact all notices".
  678. c) You must license the entire work, as a whole, under this
  679. License to anyone who comes into possession of a copy. This
  680. License will therefore apply, along with any applicable section 7
  681. additional terms, to the whole of the work, and all its parts,
  682. regardless of how they are packaged. This License gives no
  683. permission to license the work in any other way, but it does not
  684. invalidate such permission if you have separately received it.
  685. d) If the work has interactive user interfaces, each must display
  686. Appropriate Legal Notices; however, if the Program has interactive
  687. interfaces that do not display Appropriate Legal Notices, your
  688. work need not make them do so.
  689. A compilation of a covered work with other separate and independent
  690. works, which are not by their nature extensions of the covered work,
  691. and which are not combined with it such as to form a larger program,
  692. in or on a volume of a storage or distribution medium, is called an
  693. "aggregate" if the compilation and its resulting copyright are not
  694. used to limit the access or legal rights of the compilation's users
  695. beyond what the individual works permit. Inclusion of a covered work
  696. in an aggregate does not cause this License to apply to the other
  697. parts of the aggregate.
  698. 6. Conveying Non-Source Forms.
  699. You may convey a covered work in object code form under the terms
  700. of sections 4 and 5, provided that you also convey the
  701. machine-readable Corresponding Source under the terms of this License,
  702. in one of these ways:
  703. a) Convey the object code in, or embodied in, a physical product
  704. (including a physical distribution medium), accompanied by the
  705. Corresponding Source fixed on a durable physical medium
  706. customarily used for software interchange.
  707. b) Convey the object code in, or embodied in, a physical product
  708. (including a physical distribution medium), accompanied by a
  709. written offer, valid for at least three years and valid for as
  710. long as you offer spare parts or customer support for that product
  711. model, to give anyone who possesses the object code either (1) a
  712. copy of the Corresponding Source for all the software in the
  713. product that is covered by this License, on a durable physical
  714. medium customarily used for software interchange, for a price no
  715. more than your reasonable cost of physically performing this
  716. conveying of source, or (2) access to copy the
  717. Corresponding Source from a network server at no charge.
  718. c) Convey individual copies of the object code with a copy of the
  719. written offer to provide the Corresponding Source. This
  720. alternative is allowed only occasionally and noncommercially, and
  721. only if you received the object code with such an offer, in accord
  722. with subsection 6b.
  723. d) Convey the object code by offering access from a designated
  724. place (gratis or for a charge), and offer equivalent access to the
  725. Corresponding Source in the same way through the same place at no
  726. further charge. You need not require recipients to copy the
  727. Corresponding Source along with the object code. If the place to
  728. copy the object code is a network server, the Corresponding Source
  729. may be on a different server (operated by you or a third party)
  730. that supports equivalent copying facilities, provided you maintain
  731. clear directions next to the object code saying where to find the
  732. Corresponding Source. Regardless of what server hosts the
  733. Corresponding Source, you remain obligated to ensure that it is
  734. available for as long as needed to satisfy these requirements.
  735. e) Convey the object code using peer-to-peer transmission, provided
  736. you inform other peers where the object code and Corresponding
  737. Source of the work are being offered to the general public at no
  738. charge under subsection 6d.
  739. A separable portion of the object code, whose source code is excluded
  740. from the Corresponding Source as a System Library, need not be
  741. included in conveying the object code work.
  742. A "User Product" is either (1) a "consumer product", which means any
  743. tangible personal property which is normally used for personal, family,
  744. or household purposes, or (2) anything designed or sold for incorporation
  745. into a dwelling. In determining whether a product is a consumer product,
  746. doubtful cases shall be resolved in favor of coverage. For a particular
  747. product received by a particular user, "normally used" refers to a
  748. typical or common use of that class of product, regardless of the status
  749. of the particular user or of the way in which the particular user
  750. actually uses, or expects or is expected to use, the product. A product
  751. is a consumer product regardless of whether the product has substantial
  752. commercial, industrial or non-consumer uses, unless such uses represent
  753. the only significant mode of use of the product.
  754. "Installation Information" for a User Product means any methods,
  755. procedures, authorization keys, or other information required to install
  756. and execute modified versions of a covered work in that User Product from
  757. a modified version of its Corresponding Source. The information must
  758. suffice to ensure that the continued functioning of the modified object
  759. code is in no case prevented or interfered with solely because
  760. modification has been made.
  761. If you convey an object code work under this section in, or with, or
  762. specifically for use in, a User Product, and the conveying occurs as
  763. part of a transaction in which the right of possession and use of the
  764. User Product is transferred to the recipient in perpetuity or for a
  765. fixed term (regardless of how the transaction is characterized), the
  766. Corresponding Source conveyed under this section must be accompanied
  767. by the Installation Information. But this requirement does not apply
  768. if neither you nor any third party retains the ability to install
  769. modified object code on the User Product (for example, the work has
  770. been installed in ROM).
  771. The requirement to provide Installation Information does not include a
  772. requirement to continue to provide support service, warranty, or updates
  773. for a work that has been modified or installed by the recipient, or for
  774. the User Product in which it has been modified or installed. Access to a
  775. network may be denied when the modification itself materially and
  776. adversely affects the operation of the network or violates the rules and
  777. protocols for communication across the network.
  778. Corresponding Source conveyed, and Installation Information provided,
  779. in accord with this section must be in a format that is publicly
  780. documented (and with an implementation available to the public in
  781. source code form), and must require no special password or key for
  782. unpacking, reading or copying.
  783. 7. Additional Terms.
  784. "Additional permissions" are terms that supplement the terms of this
  785. License by making exceptions from one or more of its conditions.
  786. Additional permissions that are applicable to the entire Program shall
  787. be treated as though they were included in this License, to the extent
  788. that they are valid under applicable law. If additional permissions
  789. apply only to part of the Program, that part may be used separately
  790. under those permissions, but the entire Program remains governed by
  791. this License without regard to the additional permissions.
  792. When you convey a copy of a covered work, you may at your option
  793. remove any additional permissions from that copy, or from any part of
  794. it. (Additional permissions may be written to require their own
  795. removal in certain cases when you modify the work.) You may place
  796. additional permissions on material, added by you to a covered work,
  797. for which you have or can give appropriate copyright permission.
  798. Notwithstanding any other provision of this License, for material you
  799. add to a covered work, you may (if authorized by the copyright holders of
  800. that material) supplement the terms of this License with terms:
  801. a) Disclaiming warranty or limiting liability differently from the
  802. terms of sections 15 and 16 of this License; or
  803. b) Requiring preservation of specified reasonable legal notices or
  804. author attributions in that material or in the Appropriate Legal
  805. Notices displayed by works containing it; or
  806. c) Prohibiting misrepresentation of the origin of that material, or
  807. requiring that modified versions of such material be marked in
  808. reasonable ways as different from the original version; or
  809. d) Limiting the use for publicity purposes of names of licensors or
  810. authors of the material; or
  811. e) Declining to grant rights under trademark law for use of some
  812. trade names, trademarks, or service marks; or
  813. f) Requiring indemnification of licensors and authors of that
  814. material by anyone who conveys the material (or modified versions of
  815. it) with contractual assumptions of liability to the recipient, for
  816. any liability that these contractual assumptions directly impose on
  817. those licensors and authors.
  818. All other non-permissive additional terms are considered "further
  819. restrictions" within the meaning of section 10. If the Program as you
  820. received it, or any part of it, contains a notice stating that it is
  821. governed by this License along with a term that is a further
  822. restriction, you may remove that term. If a license document contains
  823. a further restriction but permits relicensing or conveying under this
  824. License, you may add to a covered work material governed by the terms
  825. of that license document, provided that the further restriction does
  826. not survive such relicensing or conveying.
  827. If you add terms to a covered work in accord with this section, you
  828. must place, in the relevant source files, a statement of the
  829. additional terms that apply to those files, or a notice indicating
  830. where to find the applicable terms.
  831. Additional terms, permissive or non-permissive, may be stated in the
  832. form of a separately written license, or stated as exceptions;
  833. the above requirements apply either way.
  834. 8. Termination.
  835. You may not propagate or modify a covered work except as expressly
  836. provided under this License. Any attempt otherwise to propagate or
  837. modify it is void, and will automatically terminate your rights under
  838. this License (including any patent licenses granted under the third
  839. paragraph of section 11).
  840. However, if you cease all violation of this License, then your
  841. license from a particular copyright holder is reinstated (a)
  842. provisionally, unless and until the copyright holder explicitly and
  843. finally terminates your license, and (b) permanently, if the copyright
  844. holder fails to notify you of the violation by some reasonable means
  845. prior to 60 days after the cessation.
  846. Moreover, your license from a particular copyright holder is
  847. reinstated permanently if the copyright holder notifies you of the
  848. violation by some reasonable means, this is the first time you have
  849. received notice of violation of this License (for any work) from that
  850. copyright holder, and you cure the violation prior to 30 days after
  851. your receipt of the notice.
  852. Termination of your rights under this section does not terminate the
  853. licenses of parties who have received copies or rights from you under
  854. this License. If your rights have been terminated and not permanently
  855. reinstated, you do not qualify to receive new licenses for the same
  856. material under section 10.
  857. 9. Acceptance Not Required for Having Copies.
  858. You are not required to accept this License in order to receive or
  859. run a copy of the Program. Ancillary propagation of a covered work
  860. occurring solely as a consequence of using peer-to-peer transmission
  861. to receive a copy likewise does not require acceptance. However,
  862. nothing other than this License grants you permission to propagate or
  863. modify any covered work. These actions infringe copyright if you do
  864. not accept this License. Therefore, by modifying or propagating a
  865. covered work, you indicate your acceptance of this License to do so.
  866. 10. Automatic Licensing of Downstream Recipients.
  867. Each time you convey a covered work, the recipient automatically
  868. receives a license from the original licensors, to run, modify and
  869. propagate that work, subject to this License. You are not responsible
  870. for enforcing compliance by third parties with this License.
  871. An "entity transaction" is a transaction transferring control of an
  872. organization, or substantially all assets of one, or subdividing an
  873. organization, or merging organizations. If propagation of a covered
  874. work results from an entity transaction, each party to that
  875. transaction who receives a copy of the work also receives whatever
  876. licenses to the work the party's predecessor in interest had or could
  877. give under the previous paragraph, plus a right to possession of the
  878. Corresponding Source of the work from the predecessor in interest, if
  879. the predecessor has it or can get it with reasonable efforts.
  880. You may not impose any further restrictions on the exercise of the
  881. rights granted or affirmed under this License. For example, you may
  882. not impose a license fee, royalty, or other charge for exercise of
  883. rights granted under this License, and you may not initiate litigation
  884. (including a cross-claim or counterclaim in a lawsuit) alleging that
  885. any patent claim is infringed by making, using, selling, offering for
  886. sale, or importing the Program or any portion of it.
  887. 11. Patents.
  888. A "contributor" is a copyright holder who authorizes use under this
  889. License of the Program or a work on which the Program is based. The
  890. work thus licensed is called the contributor's "contributor version".
  891. A contributor's "essential patent claims" are all patent claims
  892. owned or controlled by the contributor, whether already acquired or
  893. hereafter acquired, that would be infringed by some manner, permitted
  894. by this License, of making, using, or selling its contributor version,
  895. but do not include claims that would be infringed only as a
  896. consequence of further modification of the contributor version. For
  897. purposes of this definition, "control" includes the right to grant
  898. patent sublicenses in a manner consistent with the requirements of
  899. this License.
  900. Each contributor grants you a non-exclusive, worldwide, royalty-free
  901. patent license under the contributor's essential patent claims, to
  902. make, use, sell, offer for sale, import and otherwise run, modify and
  903. propagate the contents of its contributor version.
  904. In the following three paragraphs, a "patent license" is any express
  905. agreement or commitment, however denominated, not to enforce a patent
  906. (such as an express permission to practice a patent or covenant not to
  907. sue for patent infringement). To "grant" such a patent license to a
  908. party means to make such an agreement or commitment not to enforce a
  909. patent against the party.
  910. If you convey a covered work, knowingly relying on a patent license,
  911. and the Corresponding Source of the work is not available for anyone
  912. to copy, free of charge and under the terms of this License, through a
  913. publicly available network server or other readily accessible means,
  914. then you must either (1) cause the Corresponding Source to be so
  915. available, or (2) arrange to deprive yourself of the benefit of the
  916. patent license for this particular work, or (3) arrange, in a manner
  917. consistent with the requirements of this License, to extend the patent
  918. license to downstream recipients. "Knowingly relying" means you have
  919. actual knowledge that, but for the patent license, your conveying the
  920. covered work in a country, or your recipient's use of the covered work
  921. in a country, would infringe one or more identifiable patents in that
  922. country that you have reason to believe are valid.
  923. If, pursuant to or in connection with a single transaction or
  924. arrangement, you convey, or propagate by procuring conveyance of, a
  925. covered work, and grant a patent license to some of the parties
  926. receiving the covered work authorizing them to use, propagate, modify
  927. or convey a specific copy of the covered work, then the patent license
  928. you grant is automatically extended to all recipients of the covered
  929. work and works based on it.
  930. A patent license is "discriminatory" if it does not include within
  931. the scope of its coverage, prohibits the exercise of, or is
  932. conditioned on the non-exercise of one or more of the rights that are
  933. specifically granted under this License. You may not convey a covered
  934. work if you are a party to an arrangement with a third party that is
  935. in the business of distributing software, under which you make payment
  936. to the third party based on the extent of your activity of conveying
  937. the work, and under which the third party grants, to any of the
  938. parties who would receive the covered work from you, a discriminatory
  939. patent license (a) in connection with copies of the covered work
  940. conveyed by you (or copies made from those copies), or (b) primarily
  941. for and in connection with specific products or compilations that
  942. contain the covered work, unless you entered into that arrangement,
  943. or that patent license was granted, prior to 28 March 2007.
  944. Nothing in this License shall be construed as excluding or limiting
  945. any implied license or other defenses to infringement that may
  946. otherwise be available to you under applicable patent law.
  947. 12. No Surrender of Others' Freedom.
  948. If conditions are imposed on you (whether by court order, agreement or
  949. otherwise) that contradict the conditions of this License, they do not
  950. excuse you from the conditions of this License. If you cannot convey a
  951. covered work so as to satisfy simultaneously your obligations under this
  952. License and any other pertinent obligations, then as a consequence you may
  953. not convey it at all. For example, if you agree to terms that obligate you
  954. to collect a royalty for further conveying from those to whom you convey
  955. the Program, the only way you could satisfy both those terms and this
  956. License would be to refrain entirely from conveying the Program.
  957. 13. Use with the GNU Affero General Public License.
  958. Notwithstanding any other provision of this License, you have
  959. permission to link or combine any covered work with a work licensed
  960. under version 3 of the GNU Affero General Public License into a single
  961. combined work, and to convey the resulting work. The terms of this
  962. License will continue to apply to the part which is the covered work,
  963. but the special requirements of the GNU Affero General Public License,
  964. section 13, concerning interaction through a network will apply to the
  965. combination as such.
  966. 14. Revised Versions of this License.
  967. The Free Software Foundation may publish revised and/or new versions of
  968. the GNU General Public License from time to time. Such new versions will
  969. be similar in spirit to the present version, but may differ in detail to
  970. address new problems or concerns.
  971. Each version is given a distinguishing version number. If the
  972. Program specifies that a certain numbered version of the GNU General
  973. Public License "or any later version" applies to it, you have the
  974. option of following the terms and conditions either of that numbered
  975. version or of any later version published by the Free Software
  976. Foundation. If the Program does not specify a version number of the
  977. GNU General Public License, you may choose any version ever published
  978. by the Free Software Foundation.
  979. If the Program specifies that a proxy can decide which future
  980. versions of the GNU General Public License can be used, that proxy's
  981. public statement of acceptance of a version permanently authorizes you
  982. to choose that version for the Program.
  983. Later license versions may give you additional or different
  984. permissions. However, no additional obligations are imposed on any
  985. author or copyright holder as a result of your choosing to follow a
  986. later version.
  987. 15. Disclaimer of Warranty.
  988. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
  989. APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
  990. HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
  991. OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
  992. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  993. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
  994. IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
  995. ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  996. 16. Limitation of Liability.
  997. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  998. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
  999. THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
  1000. GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
  1001. USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
  1002. DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
  1003. PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
  1004. EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
  1005. SUCH DAMAGES.
  1006. 17. Interpretation of Sections 15 and 16.
  1007. If the disclaimer of warranty and limitation of liability provided
  1008. above cannot be given local legal effect according to their terms,
  1009. reviewing courts shall apply local law that most closely approximates
  1010. an absolute waiver of all civil liability in connection with the
  1011. Program, unless a warranty or assumption of liability accompanies a
  1012. copy of the Program in return for a fee.
  1013. END OF TERMS AND CONDITIONS
  1014. How to Apply These Terms to Your New Programs
  1015. If you develop a new program, and you want it to be of the greatest
  1016. possible use to the public, the best way to achieve this is to make it
  1017. free software which everyone can redistribute and change under these terms.
  1018. To do so, attach the following notices to the program. It is safest
  1019. to attach them to the start of each source file to most effectively
  1020. state the exclusion of warranty; and each file should have at least
  1021. the "copyright" line and a pointer to where the full notice is found.
  1022. <one line to give the program's name and a brief idea of what it does.>
  1023. Copyright (C) <year> <name of author>
  1024. This program is free software: you can redistribute it and/or modify
  1025. it under the terms of the GNU General Public License as published by
  1026. the Free Software Foundation, either version 3 of the License, or
  1027. (at your option) any later version.
  1028. This program is distributed in the hope that it will be useful,
  1029. but WITHOUT ANY WARRANTY; without even the implied warranty of
  1030. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1031. GNU General Public License for more details.
  1032. You should have received a copy of the GNU General Public License
  1033. along with this program. If not, see <http://www.gnu.org/licenses/>.
  1034. Also add information on how to contact you by electronic and paper mail.
  1035. If the program does terminal interaction, make it output a short
  1036. notice like this when it starts in an interactive mode:
  1037. <program> Copyright (C) <year> <name of author>
  1038. This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  1039. This is free software, and you are welcome to redistribute it
  1040. under certain conditions; type `show c' for details.
  1041. The hypothetical commands `show w' and `show c' should show the appropriate
  1042. parts of the General Public License. Of course, your program's commands
  1043. might be different; for a GUI interface, you would use an "about box".
  1044. You should also get your employer (if you work as a programmer) or school,
  1045. if any, to sign a "copyright disclaimer" for the program, if necessary.
  1046. For more information on this, and how to apply and follow the GNU GPL, see
  1047. <http://www.gnu.org/licenses/>.
  1048. The GNU General Public License does not permit incorporating your program
  1049. into proprietary programs. If your program is a subroutine library, you
  1050. may consider it more useful to permit linking proprietary applications with
  1051. the library. If this is what you want to do, use the GNU Lesser General
  1052. Public License instead of this License. But first, please read
  1053. <http://www.gnu.org/philosophy/why-not-lgpl.html>.
  1054. ]]></Text>
  1055. <buildfailsteps type='11'>0</buildfailsteps>
  1056. <indent type='3'>2</indent>
  1057. <name>LICENSE.txt</name>
  1058. </step>
  1059. <step action='Write File'>
  1060. <Filename>%workDir%\DittoSetup\Chocolatey\tools\VERIFICATION.txt</Filename>
  1061. <Text><![CDATA[VERIFICATION Verification is intended to assist the Chocolatey moderators and community in verifying that this package's contents are trustworthy.
  1062. This package is published by the Ditto Project itself. The binaries are identical to other package types published by the project, https://ditto-cp.sourceforge.io/beta/files/
  1063. ]]></Text>
  1064. <buildfailsteps type='11'>0</buildfailsteps>
  1065. <indent type='3'>2</indent>
  1066. <name>VERIFICATION.txt</name>
  1067. </step>
  1068. <step action='Copy Files'>
  1069. <Delay>15</Delay>
  1070. <DestDir>%workDir%\DittoSetup\Chocolatey\tools</DestDir>
  1071. <Ext><![CDATA[DittoSetup_64bit_%versionFileName%.exe
  1072. DittoSetup_%versionFileName%.exe]]></Ext>
  1073. <Incremental type='11'>-1</Incremental>
  1074. <LogCopied type='11'>-1</LogCopied>
  1075. <ReadOnly type='11'>-1</ReadOnly>
  1076. <Retries>10</Retries>
  1077. <SourceDir>%workDir%\DittoSetup\Output</SourceDir>
  1078. <TBD type='11'>-1</TBD>
  1079. <buildfailsteps type='11'>0</buildfailsteps>
  1080. <indent type='3'>2</indent>
  1081. <name>Copy Installs</name>
  1082. </step>
  1083. <step action='Run Program'>
  1084. <buildfailsteps type='11'>0</buildfailsteps>
  1085. <command>choco pack </command>
  1086. <indent type='3'>2</indent>
  1087. <name>Choco Pack</name>
  1088. <outputfrom type='3'>1</outputfrom>
  1089. <startin>%workDir%\DittoSetup\Chocolatey</startin>
  1090. </step>
  1091. <step action='Run Program'>
  1092. <buildfailsteps type='11'>0</buildfailsteps>
  1093. <command>choco push --key %ChocolateyApiKey% --source https://push.chocolatey.org/</command>
  1094. <indent type='3'>2</indent>
  1095. <name>Choco Push</name>
  1096. <outputfrom type='3'>1</outputfrom>
  1097. <retries>10</retries>
  1098. <retrypause>2</retrypause>
  1099. <startin>%workDir%\DittoSetup\Chocolatey</startin>
  1100. </step>
  1101. <step action='Group'>
  1102. <buildfailsteps type='11'>0</buildfailsteps>
  1103. <indent type='3'>1</indent>
  1104. <name>Chocolatey.Install</name>
  1105. </step>
  1106. <step action='Write File'>
  1107. <Filename>%workDir%\DittoSetup\Chocolatey.install\ditto.nuspec</Filename>
  1108. <Text><![CDATA[<?xml version="1.0"?>
  1109. <package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  1110. <metadata>
  1111. <id>ditto.install</id>
  1112. <title>Ditto Clipboard</title>
  1113. <version>%version%-beta</version>
  1114. <authors>Scott Brogden</authors>
  1115. <owners>Scott Brogden</owners>
  1116. <summary>Ditto Clipboard</summary>
  1117. <docsUrl>https://sourceforge.net/p/ditto-cp/wiki/</docsUrl>
  1118. <mailingListUrl>https://sourceforge.net/p/ditto-cp/discussion/</mailingListUrl>
  1119. <bugTrackerUrl>https://sourceforge.net/p/ditto-cp/discussion/</bugTrackerUrl>
  1120. <projectSourceUrl>https://sourceforge.net/projects/ditto-cp/files/</projectSourceUrl>
  1121. <description>Ditto is an extension to the standard windows clipboard. It saves each item placed on the clipboard allowing you access to any of those items at a later time. Ditto allows you to save any type of information that can be put on the clipboard, text, images, html, custom formats, .....
  1122. #### Features
  1123. * Easy to use interface
  1124. * Search and paste previous copy entries
  1125. * Keep multiple computer's clipboards in sync
  1126. * Data is encrypted when sent over the network
  1127. * Accessed from tray icon or global hot key
  1128. * Select entry by double click, enter key or drag drop
  1129. * Paste into any window that excepts standard copy/paste entries
  1130. * Display thumbnail of copied images in list
  1131. * Full Unicode support(display foreign characters)
  1132. * UTF-8 support for language files(create language files in any language)
  1133. * Uses sqlite database (www.sqlite.org)</description>
  1134. <projectUrl>https://ditto-cp.sourceforge.io/</projectUrl>
  1135. <tags>Ditto clipboard</tags>
  1136. <licenseUrl>http://www.gnu.org/licenses/gpl-3.0.txt</licenseUrl>
  1137. <requireLicenseAcceptance>false</requireLicenseAcceptance> <!-- or true if you require the user to accept the License before installing -->
  1138. <iconUrl>https://ditto-cp.sourceforge.io/Ditto2.png</iconUrl>
  1139. </metadata>
  1140. </package>]]></Text>
  1141. <buildfailsteps type='11'>0</buildfailsteps>
  1142. <indent type='3'>2</indent>
  1143. <name>nuspec</name>
  1144. </step>
  1145. <step action='Write File'>
  1146. <Filename>%workDir%\DittoSetup\Chocolatey.install\tools\chocolateyInstall.ps1</Filename>
  1147. <Text><![CDATA[$toolsDir = Split-Path -parent $MyInvocation.MyCommand.Definition
  1148. $FileLocations = Get-ChildItem -Path $toolsDir -Filter '*.exe' | select -ExpandProperty FullName
  1149. $packageArgs = @{
  1150. packageName = $env:ChocolateyPackageName
  1151. fileType = 'EXE'
  1152. File = $FileLocations | Where-Object {$_ -notmatch '64bit'}
  1153. File64 = $FileLocations | Where-Object {$_ -match '64bit'}
  1154. softwareName = $env:ChocolateyPackageName.split('.')[[0]]
  1155. silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /CLOSEAPPLICATIONS /SP-'
  1156. validExitCodes= @(0)
  1157. }
  1158. Install-ChocolateyInstallPackage @packageArgs
  1159. foreach ($exe in $FileLocations) {
  1160. New-Item "$exe.ignore" -Type file -Force | Out-Null
  1161. }]]></Text>
  1162. <buildfailsteps type='11'>0</buildfailsteps>
  1163. <indent type='3'>2</indent>
  1164. <name>chocolateyInstall.ps1</name>
  1165. </step>
  1166. <step action='Write File'>
  1167. <Filename>%workDir%\DittoSetup\Chocolatey.install\tools\LICENSE.txt</Filename>
  1168. <Text><![CDATA[ GNU GENERAL PUBLIC LICENSE
  1169. Version 3, 29 June 2007
  1170. Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
  1171. Everyone is permitted to copy and distribute verbatim copies
  1172. of this license document, but changing it is not allowed.
  1173. Preamble
  1174. The GNU General Public License is a free, copyleft license for
  1175. software and other kinds of works.
  1176. The licenses for most software and other practical works are designed
  1177. to take away your freedom to share and change the works. By contrast,
  1178. the GNU General Public License is intended to guarantee your freedom to
  1179. share and change all versions of a program--to make sure it remains free
  1180. software for all its users. We, the Free Software Foundation, use the
  1181. GNU General Public License for most of our software; it applies also to
  1182. any other work released this way by its authors. You can apply it to
  1183. your programs, too.
  1184. When we speak of free software, we are referring to freedom, not
  1185. price. Our General Public Licenses are designed to make sure that you
  1186. have the freedom to distribute copies of free software (and charge for
  1187. them if you wish), that you receive source code or can get it if you
  1188. want it, that you can change the software or use pieces of it in new
  1189. free programs, and that you know you can do these things.
  1190. To protect your rights, we need to prevent others from denying you
  1191. these rights or asking you to surrender the rights. Therefore, you have
  1192. certain responsibilities if you distribute copies of the software, or if
  1193. you modify it: responsibilities to respect the freedom of others.
  1194. For example, if you distribute copies of such a program, whether
  1195. gratis or for a fee, you must pass on to the recipients the same
  1196. freedoms that you received. You must make sure that they, too, receive
  1197. or can get the source code. And you must show them these terms so they
  1198. know their rights.
  1199. Developers that use the GNU GPL protect your rights with two steps:
  1200. (1) assert copyright on the software, and (2) offer you this License
  1201. giving you legal permission to copy, distribute and/or modify it.
  1202. For the developers' and authors' protection, the GPL clearly explains
  1203. that there is no warranty for this free software. For both users' and
  1204. authors' sake, the GPL requires that modified versions be marked as
  1205. changed, so that their problems will not be attributed erroneously to
  1206. authors of previous versions.
  1207. Some devices are designed to deny users access to install or run
  1208. modified versions of the software inside them, although the manufacturer
  1209. can do so. This is fundamentally incompatible with the aim of
  1210. protecting users' freedom to change the software. The systematic
  1211. pattern of such abuse occurs in the area of products for individuals to
  1212. use, which is precisely where it is most unacceptable. Therefore, we
  1213. have designed this version of the GPL to prohibit the practice for those
  1214. products. If such problems arise substantially in other domains, we
  1215. stand ready to extend this provision to those domains in future versions
  1216. of the GPL, as needed to protect the freedom of users.
  1217. Finally, every program is threatened constantly by software patents.
  1218. States should not allow patents to restrict development and use of
  1219. software on general-purpose computers, but in those that do, we wish to
  1220. avoid the special danger that patents applied to a free program could
  1221. make it effectively proprietary. To prevent this, the GPL assures that
  1222. patents cannot be used to render the program non-free.
  1223. The precise terms and conditions for copying, distribution and
  1224. modification follow.
  1225. TERMS AND CONDITIONS
  1226. 0. Definitions.
  1227. "This License" refers to version 3 of the GNU General Public License.
  1228. "Copyright" also means copyright-like laws that apply to other kinds of
  1229. works, such as semiconductor masks.
  1230. "The Program" refers to any copyrightable work licensed under this
  1231. License. Each licensee is addressed as "you". "Licensees" and
  1232. "recipients" may be individuals or organizations.
  1233. To "modify" a work means to copy from or adapt all or part of the work
  1234. in a fashion requiring copyright permission, other than the making of an
  1235. exact copy. The resulting work is called a "modified version" of the
  1236. earlier work or a work "based on" the earlier work.
  1237. A "covered work" means either the unmodified Program or a work based
  1238. on the Program.
  1239. To "propagate" a work means to do anything with it that, without
  1240. permission, would make you directly or secondarily liable for
  1241. infringement under applicable copyright law, except executing it on a
  1242. computer or modifying a private copy. Propagation includes copying,
  1243. distribution (with or without modification), making available to the
  1244. public, and in some countries other activities as well.
  1245. To "convey" a work means any kind of propagation that enables other
  1246. parties to make or receive copies. Mere interaction with a user through
  1247. a computer network, with no transfer of a copy, is not conveying.
  1248. An interactive user interface displays "Appropriate Legal Notices"
  1249. to the extent that it includes a convenient and prominently visible
  1250. feature that (1) displays an appropriate copyright notice, and (2)
  1251. tells the user that there is no warranty for the work (except to the
  1252. extent that warranties are provided), that licensees may convey the
  1253. work under this License, and how to view a copy of this License. If
  1254. the interface presents a list of user commands or options, such as a
  1255. menu, a prominent item in the list meets this criterion.
  1256. 1. Source Code.
  1257. The "source code" for a work means the preferred form of the work
  1258. for making modifications to it. "Object code" means any non-source
  1259. form of a work.
  1260. A "Standard Interface" means an interface that either is an official
  1261. standard defined by a recognized standards body, or, in the case of
  1262. interfaces specified for a particular programming language, one that
  1263. is widely used among developers working in that language.
  1264. The "System Libraries" of an executable work include anything, other
  1265. than the work as a whole, that (a) is included in the normal form of
  1266. packaging a Major Component, but which is not part of that Major
  1267. Component, and (b) serves only to enable use of the work with that
  1268. Major Component, or to implement a Standard Interface for which an
  1269. implementation is available to the public in source code form. A
  1270. "Major Component", in this context, means a major essential component
  1271. (kernel, window system, and so on) of the specific operating system
  1272. (if any) on which the executable work runs, or a compiler used to
  1273. produce the work, or an object code interpreter used to run it.
  1274. The "Corresponding Source" for a work in object code form means all
  1275. the source code needed to generate, install, and (for an executable
  1276. work) run the object code and to modify the work, including scripts to
  1277. control those activities. However, it does not include the work's
  1278. System Libraries, or general-purpose tools or generally available free
  1279. programs which are used unmodified in performing those activities but
  1280. which are not part of the work. For example, Corresponding Source
  1281. includes interface definition files associated with source files for
  1282. the work, and the source code for shared libraries and dynamically
  1283. linked subprograms that the work is specifically designed to require,
  1284. such as by intimate data communication or control flow between those
  1285. subprograms and other parts of the work.
  1286. The Corresponding Source need not include anything that users
  1287. can regenerate automatically from other parts of the Corresponding
  1288. Source.
  1289. The Corresponding Source for a work in source code form is that
  1290. same work.
  1291. 2. Basic Permissions.
  1292. All rights granted under this License are granted for the term of
  1293. copyright on the Program, and are irrevocable provided the stated
  1294. conditions are met. This License explicitly affirms your unlimited
  1295. permission to run the unmodified Program. The output from running a
  1296. covered work is covered by this License only if the output, given its
  1297. content, constitutes a covered work. This License acknowledges your
  1298. rights of fair use or other equivalent, as provided by copyright law.
  1299. You may make, run and propagate covered works that you do not
  1300. convey, without conditions so long as your license otherwise remains
  1301. in force. You may convey covered works to others for the sole purpose
  1302. of having them make modifications exclusively for you, or provide you
  1303. with facilities for running those works, provided that you comply with
  1304. the terms of this License in conveying all material for which you do
  1305. not control copyright. Those thus making or running the covered works
  1306. for you must do so exclusively on your behalf, under your direction
  1307. and control, on terms that prohibit them from making any copies of
  1308. your copyrighted material outside their relationship with you.
  1309. Conveying under any other circumstances is permitted solely under
  1310. the conditions stated below. Sublicensing is not allowed; section 10
  1311. makes it unnecessary.
  1312. 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
  1313. No covered work shall be deemed part of an effective technological
  1314. measure under any applicable law fulfilling obligations under article
  1315. 11 of the WIPO copyright treaty adopted on 20 December 1996, or
  1316. similar laws prohibiting or restricting circumvention of such
  1317. measures.
  1318. When you convey a covered work, you waive any legal power to forbid
  1319. circumvention of technological measures to the extent such circumvention
  1320. is effected by exercising rights under this License with respect to
  1321. the covered work, and you disclaim any intention to limit operation or
  1322. modification of the work as a means of enforcing, against the work's
  1323. users, your or third parties' legal rights to forbid circumvention of
  1324. technological measures.
  1325. 4. Conveying Verbatim Copies.
  1326. You may convey verbatim copies of the Program's source code as you
  1327. receive it, in any medium, provided that you conspicuously and
  1328. appropriately publish on each copy an appropriate copyright notice;
  1329. keep intact all notices stating that this License and any
  1330. non-permissive terms added in accord with section 7 apply to the code;
  1331. keep intact all notices of the absence of any warranty; and give all
  1332. recipients a copy of this License along with the Program.
  1333. You may charge any price or no price for each copy that you convey,
  1334. and you may offer support or warranty protection for a fee.
  1335. 5. Conveying Modified Source Versions.
  1336. You may convey a work based on the Program, or the modifications to
  1337. produce it from the Program, in the form of source code under the
  1338. terms of section 4, provided that you also meet all of these conditions:
  1339. a) The work must carry prominent notices stating that you modified
  1340. it, and giving a relevant date.
  1341. b) The work must carry prominent notices stating that it is
  1342. released under this License and any conditions added under section
  1343. 7. This requirement modifies the requirement in section 4 to
  1344. "keep intact all notices".
  1345. c) You must license the entire work, as a whole, under this
  1346. License to anyone who comes into possession of a copy. This
  1347. License will therefore apply, along with any applicable section 7
  1348. additional terms, to the whole of the work, and all its parts,
  1349. regardless of how they are packaged. This License gives no
  1350. permission to license the work in any other way, but it does not
  1351. invalidate such permission if you have separately received it.
  1352. d) If the work has interactive user interfaces, each must display
  1353. Appropriate Legal Notices; however, if the Program has interactive
  1354. interfaces that do not display Appropriate Legal Notices, your
  1355. work need not make them do so.
  1356. A compilation of a covered work with other separate and independent
  1357. works, which are not by their nature extensions of the covered work,
  1358. and which are not combined with it such as to form a larger program,
  1359. in or on a volume of a storage or distribution medium, is called an
  1360. "aggregate" if the compilation and its resulting copyright are not
  1361. used to limit the access or legal rights of the compilation's users
  1362. beyond what the individual works permit. Inclusion of a covered work
  1363. in an aggregate does not cause this License to apply to the other
  1364. parts of the aggregate.
  1365. 6. Conveying Non-Source Forms.
  1366. You may convey a covered work in object code form under the terms
  1367. of sections 4 and 5, provided that you also convey the
  1368. machine-readable Corresponding Source under the terms of this License,
  1369. in one of these ways:
  1370. a) Convey the object code in, or embodied in, a physical product
  1371. (including a physical distribution medium), accompanied by the
  1372. Corresponding Source fixed on a durable physical medium
  1373. customarily used for software interchange.
  1374. b) Convey the object code in, or embodied in, a physical product
  1375. (including a physical distribution medium), accompanied by a
  1376. written offer, valid for at least three years and valid for as
  1377. long as you offer spare parts or customer support for that product
  1378. model, to give anyone who possesses the object code either (1) a
  1379. copy of the Corresponding Source for all the software in the
  1380. product that is covered by this License, on a durable physical
  1381. medium customarily used for software interchange, for a price no
  1382. more than your reasonable cost of physically performing this
  1383. conveying of source, or (2) access to copy the
  1384. Corresponding Source from a network server at no charge.
  1385. c) Convey individual copies of the object code with a copy of the
  1386. written offer to provide the Corresponding Source. This
  1387. alternative is allowed only occasionally and noncommercially, and
  1388. only if you received the object code with such an offer, in accord
  1389. with subsection 6b.
  1390. d) Convey the object code by offering access from a designated
  1391. place (gratis or for a charge), and offer equivalent access to the
  1392. Corresponding Source in the same way through the same place at no
  1393. further charge. You need not require recipients to copy the
  1394. Corresponding Source along with the object code. If the place to
  1395. copy the object code is a network server, the Corresponding Source
  1396. may be on a different server (operated by you or a third party)
  1397. that supports equivalent copying facilities, provided you maintain
  1398. clear directions next to the object code saying where to find the
  1399. Corresponding Source. Regardless of what server hosts the
  1400. Corresponding Source, you remain obligated to ensure that it is
  1401. available for as long as needed to satisfy these requirements.
  1402. e) Convey the object code using peer-to-peer transmission, provided
  1403. you inform other peers where the object code and Corresponding
  1404. Source of the work are being offered to the general public at no
  1405. charge under subsection 6d.
  1406. A separable portion of the object code, whose source code is excluded
  1407. from the Corresponding Source as a System Library, need not be
  1408. included in conveying the object code work.
  1409. A "User Product" is either (1) a "consumer product", which means any
  1410. tangible personal property which is normally used for personal, family,
  1411. or household purposes, or (2) anything designed or sold for incorporation
  1412. into a dwelling. In determining whether a product is a consumer product,
  1413. doubtful cases shall be resolved in favor of coverage. For a particular
  1414. product received by a particular user, "normally used" refers to a
  1415. typical or common use of that class of product, regardless of the status
  1416. of the particular user or of the way in which the particular user
  1417. actually uses, or expects or is expected to use, the product. A product
  1418. is a consumer product regardless of whether the product has substantial
  1419. commercial, industrial or non-consumer uses, unless such uses represent
  1420. the only significant mode of use of the product.
  1421. "Installation Information" for a User Product means any methods,
  1422. procedures, authorization keys, or other information required to install
  1423. and execute modified versions of a covered work in that User Product from
  1424. a modified version of its Corresponding Source. The information must
  1425. suffice to ensure that the continued functioning of the modified object
  1426. code is in no case prevented or interfered with solely because
  1427. modification has been made.
  1428. If you convey an object code work under this section in, or with, or
  1429. specifically for use in, a User Product, and the conveying occurs as
  1430. part of a transaction in which the right of possession and use of the
  1431. User Product is transferred to the recipient in perpetuity or for a
  1432. fixed term (regardless of how the transaction is characterized), the
  1433. Corresponding Source conveyed under this section must be accompanied
  1434. by the Installation Information. But this requirement does not apply
  1435. if neither you nor any third party retains the ability to install
  1436. modified object code on the User Product (for example, the work has
  1437. been installed in ROM).
  1438. The requirement to provide Installation Information does not include a
  1439. requirement to continue to provide support service, warranty, or updates
  1440. for a work that has been modified or installed by the recipient, or for
  1441. the User Product in which it has been modified or installed. Access to a
  1442. network may be denied when the modification itself materially and
  1443. adversely affects the operation of the network or violates the rules and
  1444. protocols for communication across the network.
  1445. Corresponding Source conveyed, and Installation Information provided,
  1446. in accord with this section must be in a format that is publicly
  1447. documented (and with an implementation available to the public in
  1448. source code form), and must require no special password or key for
  1449. unpacking, reading or copying.
  1450. 7. Additional Terms.
  1451. "Additional permissions" are terms that supplement the terms of this
  1452. License by making exceptions from one or more of its conditions.
  1453. Additional permissions that are applicable to the entire Program shall
  1454. be treated as though they were included in this License, to the extent
  1455. that they are valid under applicable law. If additional permissions
  1456. apply only to part of the Program, that part may be used separately
  1457. under those permissions, but the entire Program remains governed by
  1458. this License without regard to the additional permissions.
  1459. When you convey a copy of a covered work, you may at your option
  1460. remove any additional permissions from that copy, or from any part of
  1461. it. (Additional permissions may be written to require their own
  1462. removal in certain cases when you modify the work.) You may place
  1463. additional permissions on material, added by you to a covered work,
  1464. for which you have or can give appropriate copyright permission.
  1465. Notwithstanding any other provision of this License, for material you
  1466. add to a covered work, you may (if authorized by the copyright holders of
  1467. that material) supplement the terms of this License with terms:
  1468. a) Disclaiming warranty or limiting liability differently from the
  1469. terms of sections 15 and 16 of this License; or
  1470. b) Requiring preservation of specified reasonable legal notices or
  1471. author attributions in that material or in the Appropriate Legal
  1472. Notices displayed by works containing it; or
  1473. c) Prohibiting misrepresentation of the origin of that material, or
  1474. requiring that modified versions of such material be marked in
  1475. reasonable ways as different from the original version; or
  1476. d) Limiting the use for publicity purposes of names of licensors or
  1477. authors of the material; or
  1478. e) Declining to grant rights under trademark law for use of some
  1479. trade names, trademarks, or service marks; or
  1480. f) Requiring indemnification of licensors and authors of that
  1481. material by anyone who conveys the material (or modified versions of
  1482. it) with contractual assumptions of liability to the recipient, for
  1483. any liability that these contractual assumptions directly impose on
  1484. those licensors and authors.
  1485. All other non-permissive additional terms are considered "further
  1486. restrictions" within the meaning of section 10. If the Program as you
  1487. received it, or any part of it, contains a notice stating that it is
  1488. governed by this License along with a term that is a further
  1489. restriction, you may remove that term. If a license document contains
  1490. a further restriction but permits relicensing or conveying under this
  1491. License, you may add to a covered work material governed by the terms
  1492. of that license document, provided that the further restriction does
  1493. not survive such relicensing or conveying.
  1494. If you add terms to a covered work in accord with this section, you
  1495. must place, in the relevant source files, a statement of the
  1496. additional terms that apply to those files, or a notice indicating
  1497. where to find the applicable terms.
  1498. Additional terms, permissive or non-permissive, may be stated in the
  1499. form of a separately written license, or stated as exceptions;
  1500. the above requirements apply either way.
  1501. 8. Termination.
  1502. You may not propagate or modify a covered work except as expressly
  1503. provided under this License. Any attempt otherwise to propagate or
  1504. modify it is void, and will automatically terminate your rights under
  1505. this License (including any patent licenses granted under the third
  1506. paragraph of section 11).
  1507. However, if you cease all violation of this License, then your
  1508. license from a particular copyright holder is reinstated (a)
  1509. provisionally, unless and until the copyright holder explicitly and
  1510. finally terminates your license, and (b) permanently, if the copyright
  1511. holder fails to notify you of the violation by some reasonable means
  1512. prior to 60 days after the cessation.
  1513. Moreover, your license from a particular copyright holder is
  1514. reinstated permanently if the copyright holder notifies you of the
  1515. violation by some reasonable means, this is the first time you have
  1516. received notice of violation of this License (for any work) from that
  1517. copyright holder, and you cure the violation prior to 30 days after
  1518. your receipt of the notice.
  1519. Termination of your rights under this section does not terminate the
  1520. licenses of parties who have received copies or rights from you under
  1521. this License. If your rights have been terminated and not permanently
  1522. reinstated, you do not qualify to receive new licenses for the same
  1523. material under section 10.
  1524. 9. Acceptance Not Required for Having Copies.
  1525. You are not required to accept this License in order to receive or
  1526. run a copy of the Program. Ancillary propagation of a covered work
  1527. occurring solely as a consequence of using peer-to-peer transmission
  1528. to receive a copy likewise does not require acceptance. However,
  1529. nothing other than this License grants you permission to propagate or
  1530. modify any covered work. These actions infringe copyright if you do
  1531. not accept this License. Therefore, by modifying or propagating a
  1532. covered work, you indicate your acceptance of this License to do so.
  1533. 10. Automatic Licensing of Downstream Recipients.
  1534. Each time you convey a covered work, the recipient automatically
  1535. receives a license from the original licensors, to run, modify and
  1536. propagate that work, subject to this License. You are not responsible
  1537. for enforcing compliance by third parties with this License.
  1538. An "entity transaction" is a transaction transferring control of an
  1539. organization, or substantially all assets of one, or subdividing an
  1540. organization, or merging organizations. If propagation of a covered
  1541. work results from an entity transaction, each party to that
  1542. transaction who receives a copy of the work also receives whatever
  1543. licenses to the work the party's predecessor in interest had or could
  1544. give under the previous paragraph, plus a right to possession of the
  1545. Corresponding Source of the work from the predecessor in interest, if
  1546. the predecessor has it or can get it with reasonable efforts.
  1547. You may not impose any further restrictions on the exercise of the
  1548. rights granted or affirmed under this License. For example, you may
  1549. not impose a license fee, royalty, or other charge for exercise of
  1550. rights granted under this License, and you may not initiate litigation
  1551. (including a cross-claim or counterclaim in a lawsuit) alleging that
  1552. any patent claim is infringed by making, using, selling, offering for
  1553. sale, or importing the Program or any portion of it.
  1554. 11. Patents.
  1555. A "contributor" is a copyright holder who authorizes use under this
  1556. License of the Program or a work on which the Program is based. The
  1557. work thus licensed is called the contributor's "contributor version".
  1558. A contributor's "essential patent claims" are all patent claims
  1559. owned or controlled by the contributor, whether already acquired or
  1560. hereafter acquired, that would be infringed by some manner, permitted
  1561. by this License, of making, using, or selling its contributor version,
  1562. but do not include claims that would be infringed only as a
  1563. consequence of further modification of the contributor version. For
  1564. purposes of this definition, "control" includes the right to grant
  1565. patent sublicenses in a manner consistent with the requirements of
  1566. this License.
  1567. Each contributor grants you a non-exclusive, worldwide, royalty-free
  1568. patent license under the contributor's essential patent claims, to
  1569. make, use, sell, offer for sale, import and otherwise run, modify and
  1570. propagate the contents of its contributor version.
  1571. In the following three paragraphs, a "patent license" is any express
  1572. agreement or commitment, however denominated, not to enforce a patent
  1573. (such as an express permission to practice a patent or covenant not to
  1574. sue for patent infringement). To "grant" such a patent license to a
  1575. party means to make such an agreement or commitment not to enforce a
  1576. patent against the party.
  1577. If you convey a covered work, knowingly relying on a patent license,
  1578. and the Corresponding Source of the work is not available for anyone
  1579. to copy, free of charge and under the terms of this License, through a
  1580. publicly available network server or other readily accessible means,
  1581. then you must either (1) cause the Corresponding Source to be so
  1582. available, or (2) arrange to deprive yourself of the benefit of the
  1583. patent license for this particular work, or (3) arrange, in a manner
  1584. consistent with the requirements of this License, to extend the patent
  1585. license to downstream recipients. "Knowingly relying" means you have
  1586. actual knowledge that, but for the patent license, your conveying the
  1587. covered work in a country, or your recipient's use of the covered work
  1588. in a country, would infringe one or more identifiable patents in that
  1589. country that you have reason to believe are valid.
  1590. If, pursuant to or in connection with a single transaction or
  1591. arrangement, you convey, or propagate by procuring conveyance of, a
  1592. covered work, and grant a patent license to some of the parties
  1593. receiving the covered work authorizing them to use, propagate, modify
  1594. or convey a specific copy of the covered work, then the patent license
  1595. you grant is automatically extended to all recipients of the covered
  1596. work and works based on it.
  1597. A patent license is "discriminatory" if it does not include within
  1598. the scope of its coverage, prohibits the exercise of, or is
  1599. conditioned on the non-exercise of one or more of the rights that are
  1600. specifically granted under this License. You may not convey a covered
  1601. work if you are a party to an arrangement with a third party that is
  1602. in the business of distributing software, under which you make payment
  1603. to the third party based on the extent of your activity of conveying
  1604. the work, and under which the third party grants, to any of the
  1605. parties who would receive the covered work from you, a discriminatory
  1606. patent license (a) in connection with copies of the covered work
  1607. conveyed by you (or copies made from those copies), or (b) primarily
  1608. for and in connection with specific products or compilations that
  1609. contain the covered work, unless you entered into that arrangement,
  1610. or that patent license was granted, prior to 28 March 2007.
  1611. Nothing in this License shall be construed as excluding or limiting
  1612. any implied license or other defenses to infringement that may
  1613. otherwise be available to you under applicable patent law.
  1614. 12. No Surrender of Others' Freedom.
  1615. If conditions are imposed on you (whether by court order, agreement or
  1616. otherwise) that contradict the conditions of this License, they do not
  1617. excuse you from the conditions of this License. If you cannot convey a
  1618. covered work so as to satisfy simultaneously your obligations under this
  1619. License and any other pertinent obligations, then as a consequence you may
  1620. not convey it at all. For example, if you agree to terms that obligate you
  1621. to collect a royalty for further conveying from those to whom you convey
  1622. the Program, the only way you could satisfy both those terms and this
  1623. License would be to refrain entirely from conveying the Program.
  1624. 13. Use with the GNU Affero General Public License.
  1625. Notwithstanding any other provision of this License, you have
  1626. permission to link or combine any covered work with a work licensed
  1627. under version 3 of the GNU Affero General Public License into a single
  1628. combined work, and to convey the resulting work. The terms of this
  1629. License will continue to apply to the part which is the covered work,
  1630. but the special requirements of the GNU Affero General Public License,
  1631. section 13, concerning interaction through a network will apply to the
  1632. combination as such.
  1633. 14. Revised Versions of this License.
  1634. The Free Software Foundation may publish revised and/or new versions of
  1635. the GNU General Public License from time to time. Such new versions will
  1636. be similar in spirit to the present version, but may differ in detail to
  1637. address new problems or concerns.
  1638. Each version is given a distinguishing version number. If the
  1639. Program specifies that a certain numbered version of the GNU General
  1640. Public License "or any later version" applies to it, you have the
  1641. option of following the terms and conditions either of that numbered
  1642. version or of any later version published by the Free Software
  1643. Foundation. If the Program does not specify a version number of the
  1644. GNU General Public License, you may choose any version ever published
  1645. by the Free Software Foundation.
  1646. If the Program specifies that a proxy can decide which future
  1647. versions of the GNU General Public License can be used, that proxy's
  1648. public statement of acceptance of a version permanently authorizes you
  1649. to choose that version for the Program.
  1650. Later license versions may give you additional or different
  1651. permissions. However, no additional obligations are imposed on any
  1652. author or copyright holder as a result of your choosing to follow a
  1653. later version.
  1654. 15. Disclaimer of Warranty.
  1655. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
  1656. APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
  1657. HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
  1658. OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
  1659. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  1660. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
  1661. IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
  1662. ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  1663. 16. Limitation of Liability.
  1664. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  1665. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
  1666. THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
  1667. GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
  1668. USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
  1669. DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
  1670. PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
  1671. EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
  1672. SUCH DAMAGES.
  1673. 17. Interpretation of Sections 15 and 16.
  1674. If the disclaimer of warranty and limitation of liability provided
  1675. above cannot be given local legal effect according to their terms,
  1676. reviewing courts shall apply local law that most closely approximates
  1677. an absolute waiver of all civil liability in connection with the
  1678. Program, unless a warranty or assumption of liability accompanies a
  1679. copy of the Program in return for a fee.
  1680. END OF TERMS AND CONDITIONS
  1681. How to Apply These Terms to Your New Programs
  1682. If you develop a new program, and you want it to be of the greatest
  1683. possible use to the public, the best way to achieve this is to make it
  1684. free software which everyone can redistribute and change under these terms.
  1685. To do so, attach the following notices to the program. It is safest
  1686. to attach them to the start of each source file to most effectively
  1687. state the exclusion of warranty; and each file should have at least
  1688. the "copyright" line and a pointer to where the full notice is found.
  1689. <one line to give the program's name and a brief idea of what it does.>
  1690. Copyright (C) <year> <name of author>
  1691. This program is free software: you can redistribute it and/or modify
  1692. it under the terms of the GNU General Public License as published by
  1693. the Free Software Foundation, either version 3 of the License, or
  1694. (at your option) any later version.
  1695. This program is distributed in the hope that it will be useful,
  1696. but WITHOUT ANY WARRANTY; without even the implied warranty of
  1697. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1698. GNU General Public License for more details.
  1699. You should have received a copy of the GNU General Public License
  1700. along with this program. If not, see <http://www.gnu.org/licenses/>.
  1701. Also add information on how to contact you by electronic and paper mail.
  1702. If the program does terminal interaction, make it output a short
  1703. notice like this when it starts in an interactive mode:
  1704. <program> Copyright (C) <year> <name of author>
  1705. This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  1706. This is free software, and you are welcome to redistribute it
  1707. under certain conditions; type `show c' for details.
  1708. The hypothetical commands `show w' and `show c' should show the appropriate
  1709. parts of the General Public License. Of course, your program's commands
  1710. might be different; for a GUI interface, you would use an "about box".
  1711. You should also get your employer (if you work as a programmer) or school,
  1712. if any, to sign a "copyright disclaimer" for the program, if necessary.
  1713. For more information on this, and how to apply and follow the GNU GPL, see
  1714. <http://www.gnu.org/licenses/>.
  1715. The GNU General Public License does not permit incorporating your program
  1716. into proprietary programs. If your program is a subroutine library, you
  1717. may consider it more useful to permit linking proprietary applications with
  1718. the library. If this is what you want to do, use the GNU Lesser General
  1719. Public License instead of this License. But first, please read
  1720. <http://www.gnu.org/philosophy/why-not-lgpl.html>.
  1721. ]]></Text>
  1722. <buildfailsteps type='11'>0</buildfailsteps>
  1723. <indent type='3'>2</indent>
  1724. <name>LICENSE.txt</name>
  1725. </step>
  1726. <step action='Write File'>
  1727. <Filename>%workDir%\DittoSetup\Chocolatey.install\tools\VERIFICATION.txt</Filename>
  1728. <Text><![CDATA[VERIFICATION Verification is intended to assist the Chocolatey moderators and community in verifying that this package's contents are trustworthy.
  1729. This package is published by the Ditto Project itself. The binaries are identical to other package types published by the project, https://ditto-cp.sourceforge.io/beta/files/
  1730. ]]></Text>
  1731. <buildfailsteps type='11'>0</buildfailsteps>
  1732. <indent type='3'>2</indent>
  1733. <name>VERIFICATION.txt</name>
  1734. </step>
  1735. <step action='Copy Files'>
  1736. <Delay>15</Delay>
  1737. <DestDir>%workDir%\DittoSetup\Chocolatey.install\tools</DestDir>
  1738. <Ext><![CDATA[DittoSetup_64bit_%versionFileName%.exe
  1739. DittoSetup_%versionFileName%.exe]]></Ext>
  1740. <Incremental type='11'>-1</Incremental>
  1741. <LogCopied type='11'>-1</LogCopied>
  1742. <ReadOnly type='11'>-1</ReadOnly>
  1743. <Retries>10</Retries>
  1744. <SourceDir>%workDir%\DittoSetup\Output</SourceDir>
  1745. <TBD type='11'>-1</TBD>
  1746. <buildfailsteps type='11'>0</buildfailsteps>
  1747. <indent type='3'>2</indent>
  1748. <name>Copy Installs</name>
  1749. </step>
  1750. <step action='Run Program'>
  1751. <buildfailsteps type='11'>0</buildfailsteps>
  1752. <command>choco pack </command>
  1753. <indent type='3'>2</indent>
  1754. <name>Choco Pack</name>
  1755. <outputfrom type='3'>1</outputfrom>
  1756. <startin>%workDir%\DittoSetup\Chocolatey.install</startin>
  1757. </step>
  1758. <step action='Run Program'>
  1759. <buildfailsteps type='11'>0</buildfailsteps>
  1760. <command>choco push --key %ChocolateyApiKey% --source https://push.chocolatey.org/</command>
  1761. <indent type='3'>2</indent>
  1762. <name>Choco Push</name>
  1763. <outputfrom type='3'>1</outputfrom>
  1764. <retries>10</retries>
  1765. <retrypause>2</retrypause>
  1766. <startin>%workDir%\DittoSetup\Chocolatey.install</startin>
  1767. </step>
  1768. <step action='Group'>
  1769. <buildfailsteps type='11'>0</buildfailsteps>
  1770. <indent type='3'>1</indent>
  1771. <name>Chocolatey - Portable</name>
  1772. </step>
  1773. <step action='Write File'>
  1774. <Filename>%workDir%\DittoSetup\Chocolatey-Portable\ditto.portable.nuspec</Filename>
  1775. <Text><![CDATA[<?xml version="1.0"?>
  1776. <package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  1777. <metadata>
  1778. <id>ditto.portable</id>
  1779. <title>Ditto Clipboard Portable</title>
  1780. <version>%version%-beta</version>
  1781. <authors>Scott Brogden</authors>
  1782. <owners>Scott Brogden</owners>
  1783. <summary>Ditto Clipboard Portable</summary>
  1784. <docsUrl>https://sourceforge.net/p/ditto-cp/wiki/</docsUrl>
  1785. <mailingListUrl>https://sourceforge.net/p/ditto-cp/discussion/</mailingListUrl>
  1786. <bugTrackerUrl>https://sourceforge.net/p/ditto-cp/discussion/</bugTrackerUrl>
  1787. <projectSourceUrl>https://sourceforge.net/projects/ditto-cp/files/</projectSourceUrl>
  1788. <description>Ditto is an extension to the standard windows clipboard. It saves each item placed on the clipboard allowing you access to any of those items at a later time. Ditto allows you to save any type of information that can be put on the clipboard, text, images, html, custom formats, .....
  1789. #### Features
  1790. * Easy to use interface
  1791. * Search and paste previous copy entries
  1792. * Keep multiple computer's clipboards in sync
  1793. * Data is encrypted when sent over the network
  1794. * Accessed from tray icon or global hot key
  1795. * Select entry by double click, enter key or drag drop
  1796. * Paste into any window that excepts standard copy/paste entries
  1797. * Display thumbnail of copied images in list
  1798. * Full Unicode support(display foreign characters)
  1799. * UTF-8 support for language files(create language files in any language)
  1800. * Uses sqlite database (www.sqlite.org)</description>
  1801. <projectUrl>https://ditto-cp.sourceforge.io/</projectUrl>
  1802. <tags>Ditto clipboard</tags>
  1803. <licenseUrl>http://www.gnu.org/licenses/gpl-3.0.txt</licenseUrl>
  1804. <requireLicenseAcceptance>false</requireLicenseAcceptance> <!-- or true if you require the user to accept the License before installing -->
  1805. <iconUrl>https://ditto-cp.sourceforge.io/Ditto2.png</iconUrl>
  1806. </metadata>
  1807. </package>]]></Text>
  1808. <buildfailsteps type='11'>0</buildfailsteps>
  1809. <indent type='3'>2</indent>
  1810. <name>nuspec</name>
  1811. </step>
  1812. <step action='Write File'>
  1813. <Filename>%workDir%\DittoSetup\Chocolatey-Portable\tools\chocolateyInstall.ps1</Filename>
  1814. <Text><![CDATA[$ErrorActionPreference = 'Stop'
  1815. # Kill ditto before updating
  1816. Get-Process | Where { $_.name -eq 'ditto' } | Where-Object {$_.Path -like "*chocolatey*"} | Stop-Process
  1817. $toolsPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
  1818. $fileName = 'DittoPortable__%versionFileName%.zip'
  1819. if (Get-OSArchitectureWidth 64) {
  1820. $fileName = 'DittoPortable_64bit_%versionFileName%.zip'
  1821. }
  1822. Write-Host "Removing old Ditto.Portable files"
  1823. Remove-Item $toolsPath\* -Recurse -Force -Exclude $fileName
  1824. $zip_path = "$toolsPath\$fileName"
  1825. $packageArgs = @{
  1826. PackageName = 'ditto.portable'
  1827. FileFullPath = $zip_path
  1828. Destination = $toolsPath
  1829. }
  1830. Write-Host "Installing Ditto.Portable"
  1831. Get-ChocolateyUnzip @packageArgs
  1832. #tell ditto this is a chocolatey portable app, will use a the directory in AppData/Local/Ditto_ChocolateyApp to store it's data
  1833. Rename-Item -Path "$(Join-Path "$toolsPath" "Ditto\portable")" -NewName "chocolatey"
  1834. Remove-Item $toolsPath\*.zip -ea 0]]></Text>
  1835. <buildfailsteps type='11'>0</buildfailsteps>
  1836. <indent type='3'>2</indent>
  1837. <name>chocolateyInstall.ps1</name>
  1838. </step>
  1839. <step action='Write File'>
  1840. <Filename>%workDir%\DittoSetup\Chocolatey-Portable\tools\chocolateyUninstall.ps1</Filename>
  1841. <Text><![CDATA[
  1842. Write-Host "Stopping running instances of Ditto"
  1843. # Kill ditto before updating
  1844. Get-Process | Where { $_.name -eq 'ditto' } | Where-Object {$_.Path -like "*chocolatey*"} | Stop-Process
  1845. Write-Host "Removing app data settings and database files"
  1846. #remove the app data where the portable choco app was written, settings and database
  1847. Remove-Item -Recurse -Force $env:LOCALAPPDATA\Ditto_ChocolateyApp]]></Text>
  1848. <buildfailsteps type='11'>0</buildfailsteps>
  1849. <indent type='3'>2</indent>
  1850. <name>chocolateyUnInstall.ps1</name>
  1851. </step>
  1852. <step action='Write File'>
  1853. <Filename>%workDir%\DittoSetup\Chocolatey-Portable\tools\LICENSE.txt</Filename>
  1854. <Text><![CDATA[ GNU GENERAL PUBLIC LICENSE
  1855. Version 3, 29 June 2007
  1856. Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
  1857. Everyone is permitted to copy and distribute verbatim copies
  1858. of this license document, but changing it is not allowed.
  1859. Preamble
  1860. The GNU General Public License is a free, copyleft license for
  1861. software and other kinds of works.
  1862. The licenses for most software and other practical works are designed
  1863. to take away your freedom to share and change the works. By contrast,
  1864. the GNU General Public License is intended to guarantee your freedom to
  1865. share and change all versions of a program--to make sure it remains free
  1866. software for all its users. We, the Free Software Foundation, use the
  1867. GNU General Public License for most of our software; it applies also to
  1868. any other work released this way by its authors. You can apply it to
  1869. your programs, too.
  1870. When we speak of free software, we are referring to freedom, not
  1871. price. Our General Public Licenses are designed to make sure that you
  1872. have the freedom to distribute copies of free software (and charge for
  1873. them if you wish), that you receive source code or can get it if you
  1874. want it, that you can change the software or use pieces of it in new
  1875. free programs, and that you know you can do these things.
  1876. To protect your rights, we need to prevent others from denying you
  1877. these rights or asking you to surrender the rights. Therefore, you have
  1878. certain responsibilities if you distribute copies of the software, or if
  1879. you modify it: responsibilities to respect the freedom of others.
  1880. For example, if you distribute copies of such a program, whether
  1881. gratis or for a fee, you must pass on to the recipients the same
  1882. freedoms that you received. You must make sure that they, too, receive
  1883. or can get the source code. And you must show them these terms so they
  1884. know their rights.
  1885. Developers that use the GNU GPL protect your rights with two steps:
  1886. (1) assert copyright on the software, and (2) offer you this License
  1887. giving you legal permission to copy, distribute and/or modify it.
  1888. For the developers' and authors' protection, the GPL clearly explains
  1889. that there is no warranty for this free software. For both users' and
  1890. authors' sake, the GPL requires that modified versions be marked as
  1891. changed, so that their problems will not be attributed erroneously to
  1892. authors of previous versions.
  1893. Some devices are designed to deny users access to install or run
  1894. modified versions of the software inside them, although the manufacturer
  1895. can do so. This is fundamentally incompatible with the aim of
  1896. protecting users' freedom to change the software. The systematic
  1897. pattern of such abuse occurs in the area of products for individuals to
  1898. use, which is precisely where it is most unacceptable. Therefore, we
  1899. have designed this version of the GPL to prohibit the practice for those
  1900. products. If such problems arise substantially in other domains, we
  1901. stand ready to extend this provision to those domains in future versions
  1902. of the GPL, as needed to protect the freedom of users.
  1903. Finally, every program is threatened constantly by software patents.
  1904. States should not allow patents to restrict development and use of
  1905. software on general-purpose computers, but in those that do, we wish to
  1906. avoid the special danger that patents applied to a free program could
  1907. make it effectively proprietary. To prevent this, the GPL assures that
  1908. patents cannot be used to render the program non-free.
  1909. The precise terms and conditions for copying, distribution and
  1910. modification follow.
  1911. TERMS AND CONDITIONS
  1912. 0. Definitions.
  1913. "This License" refers to version 3 of the GNU General Public License.
  1914. "Copyright" also means copyright-like laws that apply to other kinds of
  1915. works, such as semiconductor masks.
  1916. "The Program" refers to any copyrightable work licensed under this
  1917. License. Each licensee is addressed as "you". "Licensees" and
  1918. "recipients" may be individuals or organizations.
  1919. To "modify" a work means to copy from or adapt all or part of the work
  1920. in a fashion requiring copyright permission, other than the making of an
  1921. exact copy. The resulting work is called a "modified version" of the
  1922. earlier work or a work "based on" the earlier work.
  1923. A "covered work" means either the unmodified Program or a work based
  1924. on the Program.
  1925. To "propagate" a work means to do anything with it that, without
  1926. permission, would make you directly or secondarily liable for
  1927. infringement under applicable copyright law, except executing it on a
  1928. computer or modifying a private copy. Propagation includes copying,
  1929. distribution (with or without modification), making available to the
  1930. public, and in some countries other activities as well.
  1931. To "convey" a work means any kind of propagation that enables other
  1932. parties to make or receive copies. Mere interaction with a user through
  1933. a computer network, with no transfer of a copy, is not conveying.
  1934. An interactive user interface displays "Appropriate Legal Notices"
  1935. to the extent that it includes a convenient and prominently visible
  1936. feature that (1) displays an appropriate copyright notice, and (2)
  1937. tells the user that there is no warranty for the work (except to the
  1938. extent that warranties are provided), that licensees may convey the
  1939. work under this License, and how to view a copy of this License. If
  1940. the interface presents a list of user commands or options, such as a
  1941. menu, a prominent item in the list meets this criterion.
  1942. 1. Source Code.
  1943. The "source code" for a work means the preferred form of the work
  1944. for making modifications to it. "Object code" means any non-source
  1945. form of a work.
  1946. A "Standard Interface" means an interface that either is an official
  1947. standard defined by a recognized standards body, or, in the case of
  1948. interfaces specified for a particular programming language, one that
  1949. is widely used among developers working in that language.
  1950. The "System Libraries" of an executable work include anything, other
  1951. than the work as a whole, that (a) is included in the normal form of
  1952. packaging a Major Component, but which is not part of that Major
  1953. Component, and (b) serves only to enable use of the work with that
  1954. Major Component, or to implement a Standard Interface for which an
  1955. implementation is available to the public in source code form. A
  1956. "Major Component", in this context, means a major essential component
  1957. (kernel, window system, and so on) of the specific operating system
  1958. (if any) on which the executable work runs, or a compiler used to
  1959. produce the work, or an object code interpreter used to run it.
  1960. The "Corresponding Source" for a work in object code form means all
  1961. the source code needed to generate, install, and (for an executable
  1962. work) run the object code and to modify the work, including scripts to
  1963. control those activities. However, it does not include the work's
  1964. System Libraries, or general-purpose tools or generally available free
  1965. programs which are used unmodified in performing those activities but
  1966. which are not part of the work. For example, Corresponding Source
  1967. includes interface definition files associated with source files for
  1968. the work, and the source code for shared libraries and dynamically
  1969. linked subprograms that the work is specifically designed to require,
  1970. such as by intimate data communication or control flow between those
  1971. subprograms and other parts of the work.
  1972. The Corresponding Source need not include anything that users
  1973. can regenerate automatically from other parts of the Corresponding
  1974. Source.
  1975. The Corresponding Source for a work in source code form is that
  1976. same work.
  1977. 2. Basic Permissions.
  1978. All rights granted under this License are granted for the term of
  1979. copyright on the Program, and are irrevocable provided the stated
  1980. conditions are met. This License explicitly affirms your unlimited
  1981. permission to run the unmodified Program. The output from running a
  1982. covered work is covered by this License only if the output, given its
  1983. content, constitutes a covered work. This License acknowledges your
  1984. rights of fair use or other equivalent, as provided by copyright law.
  1985. You may make, run and propagate covered works that you do not
  1986. convey, without conditions so long as your license otherwise remains
  1987. in force. You may convey covered works to others for the sole purpose
  1988. of having them make modifications exclusively for you, or provide you
  1989. with facilities for running those works, provided that you comply with
  1990. the terms of this License in conveying all material for which you do
  1991. not control copyright. Those thus making or running the covered works
  1992. for you must do so exclusively on your behalf, under your direction
  1993. and control, on terms that prohibit them from making any copies of
  1994. your copyrighted material outside their relationship with you.
  1995. Conveying under any other circumstances is permitted solely under
  1996. the conditions stated below. Sublicensing is not allowed; section 10
  1997. makes it unnecessary.
  1998. 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
  1999. No covered work shall be deemed part of an effective technological
  2000. measure under any applicable law fulfilling obligations under article
  2001. 11 of the WIPO copyright treaty adopted on 20 December 1996, or
  2002. similar laws prohibiting or restricting circumvention of such
  2003. measures.
  2004. When you convey a covered work, you waive any legal power to forbid
  2005. circumvention of technological measures to the extent such circumvention
  2006. is effected by exercising rights under this License with respect to
  2007. the covered work, and you disclaim any intention to limit operation or
  2008. modification of the work as a means of enforcing, against the work's
  2009. users, your or third parties' legal rights to forbid circumvention of
  2010. technological measures.
  2011. 4. Conveying Verbatim Copies.
  2012. You may convey verbatim copies of the Program's source code as you
  2013. receive it, in any medium, provided that you conspicuously and
  2014. appropriately publish on each copy an appropriate copyright notice;
  2015. keep intact all notices stating that this License and any
  2016. non-permissive terms added in accord with section 7 apply to the code;
  2017. keep intact all notices of the absence of any warranty; and give all
  2018. recipients a copy of this License along with the Program.
  2019. You may charge any price or no price for each copy that you convey,
  2020. and you may offer support or warranty protection for a fee.
  2021. 5. Conveying Modified Source Versions.
  2022. You may convey a work based on the Program, or the modifications to
  2023. produce it from the Program, in the form of source code under the
  2024. terms of section 4, provided that you also meet all of these conditions:
  2025. a) The work must carry prominent notices stating that you modified
  2026. it, and giving a relevant date.
  2027. b) The work must carry prominent notices stating that it is
  2028. released under this License and any conditions added under section
  2029. 7. This requirement modifies the requirement in section 4 to
  2030. "keep intact all notices".
  2031. c) You must license the entire work, as a whole, under this
  2032. License to anyone who comes into possession of a copy. This
  2033. License will therefore apply, along with any applicable section 7
  2034. additional terms, to the whole of the work, and all its parts,
  2035. regardless of how they are packaged. This License gives no
  2036. permission to license the work in any other way, but it does not
  2037. invalidate such permission if you have separately received it.
  2038. d) If the work has interactive user interfaces, each must display
  2039. Appropriate Legal Notices; however, if the Program has interactive
  2040. interfaces that do not display Appropriate Legal Notices, your
  2041. work need not make them do so.
  2042. A compilation of a covered work with other separate and independent
  2043. works, which are not by their nature extensions of the covered work,
  2044. and which are not combined with it such as to form a larger program,
  2045. in or on a volume of a storage or distribution medium, is called an
  2046. "aggregate" if the compilation and its resulting copyright are not
  2047. used to limit the access or legal rights of the compilation's users
  2048. beyond what the individual works permit. Inclusion of a covered work
  2049. in an aggregate does not cause this License to apply to the other
  2050. parts of the aggregate.
  2051. 6. Conveying Non-Source Forms.
  2052. You may convey a covered work in object code form under the terms
  2053. of sections 4 and 5, provided that you also convey the
  2054. machine-readable Corresponding Source under the terms of this License,
  2055. in one of these ways:
  2056. a) Convey the object code in, or embodied in, a physical product
  2057. (including a physical distribution medium), accompanied by the
  2058. Corresponding Source fixed on a durable physical medium
  2059. customarily used for software interchange.
  2060. b) Convey the object code in, or embodied in, a physical product
  2061. (including a physical distribution medium), accompanied by a
  2062. written offer, valid for at least three years and valid for as
  2063. long as you offer spare parts or customer support for that product
  2064. model, to give anyone who possesses the object code either (1) a
  2065. copy of the Corresponding Source for all the software in the
  2066. product that is covered by this License, on a durable physical
  2067. medium customarily used for software interchange, for a price no
  2068. more than your reasonable cost of physically performing this
  2069. conveying of source, or (2) access to copy the
  2070. Corresponding Source from a network server at no charge.
  2071. c) Convey individual copies of the object code with a copy of the
  2072. written offer to provide the Corresponding Source. This
  2073. alternative is allowed only occasionally and noncommercially, and
  2074. only if you received the object code with such an offer, in accord
  2075. with subsection 6b.
  2076. d) Convey the object code by offering access from a designated
  2077. place (gratis or for a charge), and offer equivalent access to the
  2078. Corresponding Source in the same way through the same place at no
  2079. further charge. You need not require recipients to copy the
  2080. Corresponding Source along with the object code. If the place to
  2081. copy the object code is a network server, the Corresponding Source
  2082. may be on a different server (operated by you or a third party)
  2083. that supports equivalent copying facilities, provided you maintain
  2084. clear directions next to the object code saying where to find the
  2085. Corresponding Source. Regardless of what server hosts the
  2086. Corresponding Source, you remain obligated to ensure that it is
  2087. available for as long as needed to satisfy these requirements.
  2088. e) Convey the object code using peer-to-peer transmission, provided
  2089. you inform other peers where the object code and Corresponding
  2090. Source of the work are being offered to the general public at no
  2091. charge under subsection 6d.
  2092. A separable portion of the object code, whose source code is excluded
  2093. from the Corresponding Source as a System Library, need not be
  2094. included in conveying the object code work.
  2095. A "User Product" is either (1) a "consumer product", which means any
  2096. tangible personal property which is normally used for personal, family,
  2097. or household purposes, or (2) anything designed or sold for incorporation
  2098. into a dwelling. In determining whether a product is a consumer product,
  2099. doubtful cases shall be resolved in favor of coverage. For a particular
  2100. product received by a particular user, "normally used" refers to a
  2101. typical or common use of that class of product, regardless of the status
  2102. of the particular user or of the way in which the particular user
  2103. actually uses, or expects or is expected to use, the product. A product
  2104. is a consumer product regardless of whether the product has substantial
  2105. commercial, industrial or non-consumer uses, unless such uses represent
  2106. the only significant mode of use of the product.
  2107. "Installation Information" for a User Product means any methods,
  2108. procedures, authorization keys, or other information required to install
  2109. and execute modified versions of a covered work in that User Product from
  2110. a modified version of its Corresponding Source. The information must
  2111. suffice to ensure that the continued functioning of the modified object
  2112. code is in no case prevented or interfered with solely because
  2113. modification has been made.
  2114. If you convey an object code work under this section in, or with, or
  2115. specifically for use in, a User Product, and the conveying occurs as
  2116. part of a transaction in which the right of possession and use of the
  2117. User Product is transferred to the recipient in perpetuity or for a
  2118. fixed term (regardless of how the transaction is characterized), the
  2119. Corresponding Source conveyed under this section must be accompanied
  2120. by the Installation Information. But this requirement does not apply
  2121. if neither you nor any third party retains the ability to install
  2122. modified object code on the User Product (for example, the work has
  2123. been installed in ROM).
  2124. The requirement to provide Installation Information does not include a
  2125. requirement to continue to provide support service, warranty, or updates
  2126. for a work that has been modified or installed by the recipient, or for
  2127. the User Product in which it has been modified or installed. Access to a
  2128. network may be denied when the modification itself materially and
  2129. adversely affects the operation of the network or violates the rules and
  2130. protocols for communication across the network.
  2131. Corresponding Source conveyed, and Installation Information provided,
  2132. in accord with this section must be in a format that is publicly
  2133. documented (and with an implementation available to the public in
  2134. source code form), and must require no special password or key for
  2135. unpacking, reading or copying.
  2136. 7. Additional Terms.
  2137. "Additional permissions" are terms that supplement the terms of this
  2138. License by making exceptions from one or more of its conditions.
  2139. Additional permissions that are applicable to the entire Program shall
  2140. be treated as though they were included in this License, to the extent
  2141. that they are valid under applicable law. If additional permissions
  2142. apply only to part of the Program, that part may be used separately
  2143. under those permissions, but the entire Program remains governed by
  2144. this License without regard to the additional permissions.
  2145. When you convey a copy of a covered work, you may at your option
  2146. remove any additional permissions from that copy, or from any part of
  2147. it. (Additional permissions may be written to require their own
  2148. removal in certain cases when you modify the work.) You may place
  2149. additional permissions on material, added by you to a covered work,
  2150. for which you have or can give appropriate copyright permission.
  2151. Notwithstanding any other provision of this License, for material you
  2152. add to a covered work, you may (if authorized by the copyright holders of
  2153. that material) supplement the terms of this License with terms:
  2154. a) Disclaiming warranty or limiting liability differently from the
  2155. terms of sections 15 and 16 of this License; or
  2156. b) Requiring preservation of specified reasonable legal notices or
  2157. author attributions in that material or in the Appropriate Legal
  2158. Notices displayed by works containing it; or
  2159. c) Prohibiting misrepresentation of the origin of that material, or
  2160. requiring that modified versions of such material be marked in
  2161. reasonable ways as different from the original version; or
  2162. d) Limiting the use for publicity purposes of names of licensors or
  2163. authors of the material; or
  2164. e) Declining to grant rights under trademark law for use of some
  2165. trade names, trademarks, or service marks; or
  2166. f) Requiring indemnification of licensors and authors of that
  2167. material by anyone who conveys the material (or modified versions of
  2168. it) with contractual assumptions of liability to the recipient, for
  2169. any liability that these contractual assumptions directly impose on
  2170. those licensors and authors.
  2171. All other non-permissive additional terms are considered "further
  2172. restrictions" within the meaning of section 10. If the Program as you
  2173. received it, or any part of it, contains a notice stating that it is
  2174. governed by this License along with a term that is a further
  2175. restriction, you may remove that term. If a license document contains
  2176. a further restriction but permits relicensing or conveying under this
  2177. License, you may add to a covered work material governed by the terms
  2178. of that license document, provided that the further restriction does
  2179. not survive such relicensing or conveying.
  2180. If you add terms to a covered work in accord with this section, you
  2181. must place, in the relevant source files, a statement of the
  2182. additional terms that apply to those files, or a notice indicating
  2183. where to find the applicable terms.
  2184. Additional terms, permissive or non-permissive, may be stated in the
  2185. form of a separately written license, or stated as exceptions;
  2186. the above requirements apply either way.
  2187. 8. Termination.
  2188. You may not propagate or modify a covered work except as expressly
  2189. provided under this License. Any attempt otherwise to propagate or
  2190. modify it is void, and will automatically terminate your rights under
  2191. this License (including any patent licenses granted under the third
  2192. paragraph of section 11).
  2193. However, if you cease all violation of this License, then your
  2194. license from a particular copyright holder is reinstated (a)
  2195. provisionally, unless and until the copyright holder explicitly and
  2196. finally terminates your license, and (b) permanently, if the copyright
  2197. holder fails to notify you of the violation by some reasonable means
  2198. prior to 60 days after the cessation.
  2199. Moreover, your license from a particular copyright holder is
  2200. reinstated permanently if the copyright holder notifies you of the
  2201. violation by some reasonable means, this is the first time you have
  2202. received notice of violation of this License (for any work) from that
  2203. copyright holder, and you cure the violation prior to 30 days after
  2204. your receipt of the notice.
  2205. Termination of your rights under this section does not terminate the
  2206. licenses of parties who have received copies or rights from you under
  2207. this License. If your rights have been terminated and not permanently
  2208. reinstated, you do not qualify to receive new licenses for the same
  2209. material under section 10.
  2210. 9. Acceptance Not Required for Having Copies.
  2211. You are not required to accept this License in order to receive or
  2212. run a copy of the Program. Ancillary propagation of a covered work
  2213. occurring solely as a consequence of using peer-to-peer transmission
  2214. to receive a copy likewise does not require acceptance. However,
  2215. nothing other than this License grants you permission to propagate or
  2216. modify any covered work. These actions infringe copyright if you do
  2217. not accept this License. Therefore, by modifying or propagating a
  2218. covered work, you indicate your acceptance of this License to do so.
  2219. 10. Automatic Licensing of Downstream Recipients.
  2220. Each time you convey a covered work, the recipient automatically
  2221. receives a license from the original licensors, to run, modify and
  2222. propagate that work, subject to this License. You are not responsible
  2223. for enforcing compliance by third parties with this License.
  2224. An "entity transaction" is a transaction transferring control of an
  2225. organization, or substantially all assets of one, or subdividing an
  2226. organization, or merging organizations. If propagation of a covered
  2227. work results from an entity transaction, each party to that
  2228. transaction who receives a copy of the work also receives whatever
  2229. licenses to the work the party's predecessor in interest had or could
  2230. give under the previous paragraph, plus a right to possession of the
  2231. Corresponding Source of the work from the predecessor in interest, if
  2232. the predecessor has it or can get it with reasonable efforts.
  2233. You may not impose any further restrictions on the exercise of the
  2234. rights granted or affirmed under this License. For example, you may
  2235. not impose a license fee, royalty, or other charge for exercise of
  2236. rights granted under this License, and you may not initiate litigation
  2237. (including a cross-claim or counterclaim in a lawsuit) alleging that
  2238. any patent claim is infringed by making, using, selling, offering for
  2239. sale, or importing the Program or any portion of it.
  2240. 11. Patents.
  2241. A "contributor" is a copyright holder who authorizes use under this
  2242. License of the Program or a work on which the Program is based. The
  2243. work thus licensed is called the contributor's "contributor version".
  2244. A contributor's "essential patent claims" are all patent claims
  2245. owned or controlled by the contributor, whether already acquired or
  2246. hereafter acquired, that would be infringed by some manner, permitted
  2247. by this License, of making, using, or selling its contributor version,
  2248. but do not include claims that would be infringed only as a
  2249. consequence of further modification of the contributor version. For
  2250. purposes of this definition, "control" includes the right to grant
  2251. patent sublicenses in a manner consistent with the requirements of
  2252. this License.
  2253. Each contributor grants you a non-exclusive, worldwide, royalty-free
  2254. patent license under the contributor's essential patent claims, to
  2255. make, use, sell, offer for sale, import and otherwise run, modify and
  2256. propagate the contents of its contributor version.
  2257. In the following three paragraphs, a "patent license" is any express
  2258. agreement or commitment, however denominated, not to enforce a patent
  2259. (such as an express permission to practice a patent or covenant not to
  2260. sue for patent infringement). To "grant" such a patent license to a
  2261. party means to make such an agreement or commitment not to enforce a
  2262. patent against the party.
  2263. If you convey a covered work, knowingly relying on a patent license,
  2264. and the Corresponding Source of the work is not available for anyone
  2265. to copy, free of charge and under the terms of this License, through a
  2266. publicly available network server or other readily accessible means,
  2267. then you must either (1) cause the Corresponding Source to be so
  2268. available, or (2) arrange to deprive yourself of the benefit of the
  2269. patent license for this particular work, or (3) arrange, in a manner
  2270. consistent with the requirements of this License, to extend the patent
  2271. license to downstream recipients. "Knowingly relying" means you have
  2272. actual knowledge that, but for the patent license, your conveying the
  2273. covered work in a country, or your recipient's use of the covered work
  2274. in a country, would infringe one or more identifiable patents in that
  2275. country that you have reason to believe are valid.
  2276. If, pursuant to or in connection with a single transaction or
  2277. arrangement, you convey, or propagate by procuring conveyance of, a
  2278. covered work, and grant a patent license to some of the parties
  2279. receiving the covered work authorizing them to use, propagate, modify
  2280. or convey a specific copy of the covered work, then the patent license
  2281. you grant is automatically extended to all recipients of the covered
  2282. work and works based on it.
  2283. A patent license is "discriminatory" if it does not include within
  2284. the scope of its coverage, prohibits the exercise of, or is
  2285. conditioned on the non-exercise of one or more of the rights that are
  2286. specifically granted under this License. You may not convey a covered
  2287. work if you are a party to an arrangement with a third party that is
  2288. in the business of distributing software, under which you make payment
  2289. to the third party based on the extent of your activity of conveying
  2290. the work, and under which the third party grants, to any of the
  2291. parties who would receive the covered work from you, a discriminatory
  2292. patent license (a) in connection with copies of the covered work
  2293. conveyed by you (or copies made from those copies), or (b) primarily
  2294. for and in connection with specific products or compilations that
  2295. contain the covered work, unless you entered into that arrangement,
  2296. or that patent license was granted, prior to 28 March 2007.
  2297. Nothing in this License shall be construed as excluding or limiting
  2298. any implied license or other defenses to infringement that may
  2299. otherwise be available to you under applicable patent law.
  2300. 12. No Surrender of Others' Freedom.
  2301. If conditions are imposed on you (whether by court order, agreement or
  2302. otherwise) that contradict the conditions of this License, they do not
  2303. excuse you from the conditions of this License. If you cannot convey a
  2304. covered work so as to satisfy simultaneously your obligations under this
  2305. License and any other pertinent obligations, then as a consequence you may
  2306. not convey it at all. For example, if you agree to terms that obligate you
  2307. to collect a royalty for further conveying from those to whom you convey
  2308. the Program, the only way you could satisfy both those terms and this
  2309. License would be to refrain entirely from conveying the Program.
  2310. 13. Use with the GNU Affero General Public License.
  2311. Notwithstanding any other provision of this License, you have
  2312. permission to link or combine any covered work with a work licensed
  2313. under version 3 of the GNU Affero General Public License into a single
  2314. combined work, and to convey the resulting work. The terms of this
  2315. License will continue to apply to the part which is the covered work,
  2316. but the special requirements of the GNU Affero General Public License,
  2317. section 13, concerning interaction through a network will apply to the
  2318. combination as such.
  2319. 14. Revised Versions of this License.
  2320. The Free Software Foundation may publish revised and/or new versions of
  2321. the GNU General Public License from time to time. Such new versions will
  2322. be similar in spirit to the present version, but may differ in detail to
  2323. address new problems or concerns.
  2324. Each version is given a distinguishing version number. If the
  2325. Program specifies that a certain numbered version of the GNU General
  2326. Public License "or any later version" applies to it, you have the
  2327. option of following the terms and conditions either of that numbered
  2328. version or of any later version published by the Free Software
  2329. Foundation. If the Program does not specify a version number of the
  2330. GNU General Public License, you may choose any version ever published
  2331. by the Free Software Foundation.
  2332. If the Program specifies that a proxy can decide which future
  2333. versions of the GNU General Public License can be used, that proxy's
  2334. public statement of acceptance of a version permanently authorizes you
  2335. to choose that version for the Program.
  2336. Later license versions may give you additional or different
  2337. permissions. However, no additional obligations are imposed on any
  2338. author or copyright holder as a result of your choosing to follow a
  2339. later version.
  2340. 15. Disclaimer of Warranty.
  2341. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
  2342. APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
  2343. HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
  2344. OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
  2345. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  2346. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
  2347. IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
  2348. ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  2349. 16. Limitation of Liability.
  2350. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  2351. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
  2352. THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
  2353. GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
  2354. USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
  2355. DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
  2356. PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
  2357. EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
  2358. SUCH DAMAGES.
  2359. 17. Interpretation of Sections 15 and 16.
  2360. If the disclaimer of warranty and limitation of liability provided
  2361. above cannot be given local legal effect according to their terms,
  2362. reviewing courts shall apply local law that most closely approximates
  2363. an absolute waiver of all civil liability in connection with the
  2364. Program, unless a warranty or assumption of liability accompanies a
  2365. copy of the Program in return for a fee.
  2366. END OF TERMS AND CONDITIONS
  2367. How to Apply These Terms to Your New Programs
  2368. If you develop a new program, and you want it to be of the greatest
  2369. possible use to the public, the best way to achieve this is to make it
  2370. free software which everyone can redistribute and change under these terms.
  2371. To do so, attach the following notices to the program. It is safest
  2372. to attach them to the start of each source file to most effectively
  2373. state the exclusion of warranty; and each file should have at least
  2374. the "copyright" line and a pointer to where the full notice is found.
  2375. <one line to give the program's name and a brief idea of what it does.>
  2376. Copyright (C) <year> <name of author>
  2377. This program is free software: you can redistribute it and/or modify
  2378. it under the terms of the GNU General Public License as published by
  2379. the Free Software Foundation, either version 3 of the License, or
  2380. (at your option) any later version.
  2381. This program is distributed in the hope that it will be useful,
  2382. but WITHOUT ANY WARRANTY; without even the implied warranty of
  2383. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  2384. GNU General Public License for more details.
  2385. You should have received a copy of the GNU General Public License
  2386. along with this program. If not, see <http://www.gnu.org/licenses/>.
  2387. Also add information on how to contact you by electronic and paper mail.
  2388. If the program does terminal interaction, make it output a short
  2389. notice like this when it starts in an interactive mode:
  2390. <program> Copyright (C) <year> <name of author>
  2391. This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  2392. This is free software, and you are welcome to redistribute it
  2393. under certain conditions; type `show c' for details.
  2394. The hypothetical commands `show w' and `show c' should show the appropriate
  2395. parts of the General Public License. Of course, your program's commands
  2396. might be different; for a GUI interface, you would use an "about box".
  2397. You should also get your employer (if you work as a programmer) or school,
  2398. if any, to sign a "copyright disclaimer" for the program, if necessary.
  2399. For more information on this, and how to apply and follow the GNU GPL, see
  2400. <http://www.gnu.org/licenses/>.
  2401. The GNU General Public License does not permit incorporating your program
  2402. into proprietary programs. If your program is a subroutine library, you
  2403. may consider it more useful to permit linking proprietary applications with
  2404. the library. If this is what you want to do, use the GNU Lesser General
  2405. Public License instead of this License. But first, please read
  2406. <http://www.gnu.org/philosophy/why-not-lgpl.html>.
  2407. ]]></Text>
  2408. <buildfailsteps type='11'>0</buildfailsteps>
  2409. <indent type='3'>2</indent>
  2410. <name>LICENSE.txt</name>
  2411. </step>
  2412. <step action='Write File'>
  2413. <Filename>%workDir%\DittoSetup\Chocolatey-Portable\tools\VERIFICATION.txt</Filename>
  2414. <Text><![CDATA[VERIFICATION Verification is intended to assist the Chocolatey moderators and community in verifying that this package's contents are trustworthy.
  2415. This package is published by the Ditto Project itself. The binaries are identical to other package types published by the project, https://ditto-cp.sourceforge.io/beta/files/
  2416. ]]></Text>
  2417. <buildfailsteps type='11'>0</buildfailsteps>
  2418. <indent type='3'>2</indent>
  2419. <name>VERIFICATION.txt</name>
  2420. </step>
  2421. <step action='Copy Files'>
  2422. <Delay>15</Delay>
  2423. <DestDir>%workDir%\DittoSetup\Chocolatey-Portable\tools</DestDir>
  2424. <Ext><![CDATA[DittoPortable_64bit_%versionFileName%.zip
  2425. DittoPortable_%versionFileName%.zip]]></Ext>
  2426. <Incremental type='11'>-1</Incremental>
  2427. <LogCopied type='11'>-1</LogCopied>
  2428. <ReadOnly type='11'>-1</ReadOnly>
  2429. <Retries>10</Retries>
  2430. <SourceDir>%workDir%\DittoSetup\Output</SourceDir>
  2431. <TBD type='11'>-1</TBD>
  2432. <buildfailsteps type='11'>0</buildfailsteps>
  2433. <indent type='3'>2</indent>
  2434. <name>Copy Portable Zips</name>
  2435. </step>
  2436. <step action='Run Program'>
  2437. <buildfailsteps type='11'>0</buildfailsteps>
  2438. <command>choco pack </command>
  2439. <description>choco install ditto-portable --pre -dv -force -s .</description>
  2440. <indent type='3'>2</indent>
  2441. <name>Choco Pack</name>
  2442. <outputfrom type='3'>1</outputfrom>
  2443. <startin>%workDir%\DittoSetup\Chocolatey-Portable</startin>
  2444. </step>
  2445. <step action='Run Program'>
  2446. <buildfailsteps type='11'>0</buildfailsteps>
  2447. <command>choco push --key %ChocolateyApiKey% --source https://push.chocolatey.org/</command>
  2448. <indent type='3'>2</indent>
  2449. <name>Choco Push</name>
  2450. <outputfrom type='3'>1</outputfrom>
  2451. <retries>10</retries>
  2452. <retrypause>2</retrypause>
  2453. <startin>%workDir%\DittoSetup\Chocolatey-Portable</startin>
  2454. </step>
  2455. <step action='Group'>
  2456. <indent type='3'>1</indent>
  2457. <name>Create Web Page</name>
  2458. </step>
  2459. <step action='Write File'>
  2460. <Filename>%workDir%\DittoSetup\output\index.php</Filename>
  2461. <Text><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  2462. <html xmlns="http://www.w3.org/1999/xhtml">
  2463. <head>
  2464. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  2465. <title>Ditto clipboard manager - Beta %version%</title>
  2466. <meta name="description" content="" />
  2467. </head>
  2468. <?php
  2469. header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
  2470. header("Cache-Control: post-check=0, pre-check=0", false);
  2471. header("Pragma: no-cache");
  2472. ?>
  2473. <body>
  2474. %DATETIME%
  2475. <br>
  2476. <br>
  2477. <b>Ditto beta, version %version%</b>
  2478. <br><br>
  2479. <a href="files\DittoSetup_%versionFileName%.exe">Ditto Setup</a><br>
  2480. <a href="files\DittoSetup_64bit_%versionFileName%.exe">Ditto Setup 64bit</a><br><br>
  2481. <a href="files\DittoPortable_%versionFileName%.zip">Ditto Portable</a><br>
  2482. <a href="files\DittoPortable_64bit_%versionFileName%.zip">Ditto Portable 64</a><br><br>
  2483. <a href="https://chocolatey.org/packages/ditto">Chocolatey</a> c:\> choco install ditto --pre<br>
  2484. <a href="https://chocolatey.org/packages/ditto.portable">Chocolatey.portable</a> c:\> choco install ditto.portable --pre<br><br>
  2485. <a href="files\Ditto_%versionFileName%.appx">Ditto Windows App</a><br>
  2486. <br>
  2487. <a href="files\DittoDebug_%versionFileName%.7z">Ditto Debug Files</a><br>
  2488. <a href="files\DittoSource_%versionFileName%.zip">Ditto Source</a><br>
  2489. <br>
  2490. <a href="./files/">Previous Builds</a><br>
  2491. <br>
  2492. <a href="changes.php">Change Log since last release 9-5-2018</a><br>
  2493. <br>
  2494. <?php Include("changes.php");?>
  2495. <br>
  2496. <br>
  2497. <!-- Start of StatCounter Code -->
  2498. <script type="text/javascript">
  2499. var sc_project=4303469;
  2500. var sc_invisible=0;
  2501. var sc_partition=54;
  2502. var sc_click_stat=1;
  2503. var sc_security="b3f57099";
  2504. </script>
  2505. <script type="text/javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><div class="statcounter"><a title="site stats" href="http://www.statcounter.com/" target="_blank"><img class="statcounter" src="http://c.statcounter.com/4303469/0/b3f57099/0/" alt="site stats" ></a></div></noscript>
  2506. <!-- End of StatCounter Code --><br><a href="http://my.statcounter.com/project/standard/stats.php?project_id=4303469&guest=1">View My Stats</a>
  2507. </body>]]></Text>
  2508. <indent type='3'>2</indent>
  2509. <name>Beta web page</name>
  2510. </step>
  2511. <step action='Git'>
  2512. <Command>log</Command>
  2513. <Options>--pretty=format:"%%ad %%s" --date=short --since=2018-12-23</Options>
  2514. <WorkDir>%workDir%</WorkDir>
  2515. <buildfailsteps type='11'>0</buildfailsteps>
  2516. <indent type='3'>2</indent>
  2517. <name>Git</name>
  2518. </step>
  2519. <step action='Write File'>
  2520. <Filename>%workDir%\DittoSetup\output\changes.php</Filename>
  2521. <Text>%LASTSTEP_OUTPUT%</Text>
  2522. <buildfailsteps type='11'>0</buildfailsteps>
  2523. <indent type='3'>2</indent>
  2524. <name>Log Changes to File</name>
  2525. </step>
  2526. <step action='Replace in File'>
  2527. <FileIn>%workDir%\DittoSetup\output\changes.php</FileIn>
  2528. <Find>\r\n</Find>
  2529. <NoModS type='11'>-1</NoModS>
  2530. <Replace><![CDATA[<br>\r\n]]></Replace>
  2531. <indent type='3'>2</indent>
  2532. <name><![CDATA[Replace Line Feeds with <br>]]></name>
  2533. </step>
  2534. <step action='FTP'>
  2535. <ExclExt>*.php</ExclExt>
  2536. <Ext>*.*</Ext>
  2537. <Filename>%workDir%\DittoSetup\output\</Filename>
  2538. <Incremental type='11'>-1</Incremental>
  2539. <Logging type='3'>6</Logging>
  2540. <Password encrypted='1'>amkwNSREZkNXUFp3JmFRMsZ2vYu8ujkU3rfalDIUyXLQ/1ySM0OzoPq41TvIK4vTEV85mWOA3MqnxucEljiJnA==</Password>
  2541. <Percent>10</Percent>
  2542. <Port>22</Port>
  2543. <Retries>0</Retries>
  2544. <Server>web.sourceforge.net</Server>
  2545. <ServerPath>/home/groups/d/di/ditto-cp/htdocs/beta/files</ServerPath>
  2546. <Timeout>30</Timeout>
  2547. <TransferType type='3'>1</TransferType>
  2548. <UserName>sabrogden,ditto-cp</UserName>
  2549. <indent type='3'>1</indent>
  2550. <name>Copy install files</name>
  2551. </step>
  2552. <step action='FTP'>
  2553. <Ext>*.php</Ext>
  2554. <Filename>%workDir%\DittoSetup\output\</Filename>
  2555. <Incremental type='11'>-1</Incremental>
  2556. <Logging type='3'>6</Logging>
  2557. <Password encrypted='1'>amkwNSREZkNXUFp3JmFRMsZ2vYu8ujkU3rfalDIUyXLQ/1ySM0OzoPq41TvIK4vTEV85mWOA3MqnxucEljiJnA==</Password>
  2558. <Percent>10</Percent>
  2559. <Port>22</Port>
  2560. <Retries>0</Retries>
  2561. <Server>web.sourceforge.net</Server>
  2562. <ServerPath>/home/groups/d/di/ditto-cp/htdocs/beta</ServerPath>
  2563. <Timeout>30</Timeout>
  2564. <TransferType type='3'>1</TransferType>
  2565. <UserName>sabrogden,ditto-cp</UserName>
  2566. <indent type='3'>1</indent>
  2567. <name>Copy beta web pages</name>
  2568. </step></steps>
  2569. <steps type='1'>
  2570. <step action='Group'>
  2571. <checked type='11'>0</checked>
  2572. <name>Sign App Code</name>
  2573. </step>
  2574. <step action='Run Program'>
  2575. <checked type='11'>0</checked>
  2576. <command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\sab.000\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\Release64\Ditto.exe</command>
  2577. <indent type='3'>1</indent>
  2578. <name>Sign Ditto.exe 64</name>
  2579. <outputfrom type='3'>1</outputfrom>
  2580. </step>
  2581. <step action='Run Program'>
  2582. <checked type='11'>0</checked>
  2583. <command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\sab.000\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\Release64\Addins\DittoUtil.dll</command>
  2584. <indent type='3'>1</indent>
  2585. <name>Sign DittoUtil.dll 64</name>
  2586. <outputfrom type='3'>1</outputfrom>
  2587. </step>
  2588. <step action='Run Program'>
  2589. <checked type='11'>0</checked>
  2590. <command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\sab.000\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\Release\Ditto.exe</command>
  2591. <indent type='3'>1</indent>
  2592. <name>Sign Ditto.exe</name>
  2593. <outputfrom type='3'>1</outputfrom>
  2594. </step>
  2595. <step action='Run Program'>
  2596. <checked type='11'>0</checked>
  2597. <command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\sab.000\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\Release\Addins\DittoUtil.dll</command>
  2598. <indent type='3'>1</indent>
  2599. <name>Sign DittoUtil.dll</name>
  2600. <outputfrom type='3'>1</outputfrom>
  2601. </step>
  2602. <step action='Group'>
  2603. <checked type='11'>0</checked>
  2604. <indent type='3'>1</indent>
  2605. <name>Sign Installers</name>
  2606. </step>
  2607. <step action='Run Program'>
  2608. <checked type='11'>0</checked>
  2609. <command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\sab.000\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\DittoSetup\Output\DittoSetup_%versionFileName%.exe</command>
  2610. <indent type='3'>2</indent>
  2611. <name>Sign Ditto Installer</name>
  2612. <outputfrom type='3'>1</outputfrom>
  2613. </step>
  2614. <step action='Run Program'>
  2615. <checked type='11'>0</checked>
  2616. <command>"c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\signtool.exe" sign /f "C:\Users\sab.000\Desktop\Ditto_Cert\Ditto.pfx" /p Hastings /t http://timestamp.comodoca.com/authenticode %workDir%\%branch%\DittoSetup\Output\DittoSetup_64bit_%versionFileName%.exe</command>
  2617. <indent type='3'>2</indent>
  2618. <name>Sign Ditto 64 Installer</name>
  2619. <outputfrom type='3'>1</outputfrom>
  2620. </step></steps>
  2621. <macros>
  2622. <macro name='branch'>
  2623. <value>trunk</value>
  2624. </macro>
  2625. <macro name='testBuildWorkDir'>
  2626. <value>%temp%\DittoTestBuild</value>
  2627. </macro>
  2628. <macro name='verMajor'>
  2629. <value>3</value>
  2630. </macro>
  2631. <macro name='verMinor'>
  2632. <value>22</value>
  2633. </macro>
  2634. <macro name='verRevision'>
  2635. <value>0</value>
  2636. </macro>
  2637. <macro name='version'>
  2638. <value>%verMajor%.%verMinor%.%verBuild%.%verRevision%</value>
  2639. </macro>
  2640. <macro name='versionFileName'>
  2641. <value>%verMajor%_%verMinor%_%verBuild%_%verRevision%</value>
  2642. </macro>
  2643. <macro name='workDir'>
  2644. <value>%temp%\Ditto_Build</value>
  2645. </macro></macros>
  2646. </project>