Explorar el Código

UPD: Project files

Alexander Koblov hace 1 año
padre
commit
cf2bf7f7f0

+ 17 - 7
plugins/wcx/base64/src/base64wcx.lpi

@@ -1,13 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <CONFIG>
 <CONFIG>
   <ProjectOptions>
   <ProjectOptions>
-    <Version Value="9"/>
+    <Version Value="12"/>
     <PathDelim Value="\"/>
     <PathDelim Value="\"/>
     <General>
     <General>
       <Flags>
       <Flags>
         <MainUnitHasCreateFormStatements Value="False"/>
         <MainUnitHasCreateFormStatements Value="False"/>
         <MainUnitHasTitleStatement Value="False"/>
         <MainUnitHasTitleStatement Value="False"/>
         <MainUnitHasScaledStatement Value="False"/>
         <MainUnitHasScaledStatement Value="False"/>
+        <CompatibilityMode Value="True"/>
       </Flags>
       </Flags>
       <SessionStorage Value="InProjectDir"/>
       <SessionStorage Value="InProjectDir"/>
       <Title Value="Base64Wcx"/>
       <Title Value="Base64Wcx"/>
@@ -65,6 +66,9 @@
     </PublishOptions>
     </PublishOptions>
     <RunParams>
     <RunParams>
       <FormatVersion Value="2"/>
       <FormatVersion Value="2"/>
+      <Modes Count="1">
+        <Mode0 Name="default"/>
+      </Modes>
     </RunParams>
     </RunParams>
     <RequiredPackages Count="2">
     <RequiredPackages Count="2">
       <Item1>
       <Item1>
@@ -103,19 +107,19 @@
       <OtherUnitFiles Value="..\..\..\..\sdk"/>
       <OtherUnitFiles Value="..\..\..\..\sdk"/>
       <UnitOutputDirectory Value="..\lib"/>
       <UnitOutputDirectory Value="..\lib"/>
     </SearchPaths>
     </SearchPaths>
-    <Conditionals Value="if (TargetCPU &lt;> 'arm') then
+    <Conditionals Value="if (TargetCPU &lt;> &apos;arm&apos;) then
 begin
 begin
-  CustomOptions += '-fPIC';
+  CustomOptions += &apos;-fPIC&apos;;
 end;
 end;
 
 
-if (TargetOS = 'darwin') then
+if (TargetOS = &apos;darwin&apos;) then
 begin
 begin
-  LinkerOptions += ' -no_order_inits';
+  LinkerOptions += &apos; -no_order_inits&apos;;
 end;
 end;
 
 
-if (TargetOS = 'linux') then
+if (TargetOS = &apos;linux&apos;) then
 begin
 begin
-  LinkerOptions += ' -z relro --as-needed';
+  LinkerOptions += &apos; -z relro --as-needed&apos;;
 end;"/>
 end;"/>
     <CodeGeneration>
     <CodeGeneration>
       <SmartLinkUnit Value="True"/>
       <SmartLinkUnit Value="True"/>
@@ -133,5 +137,11 @@ end;"/>
         <ExecutableType Value="Library"/>
         <ExecutableType Value="Library"/>
       </Options>
       </Options>
     </Linking>
     </Linking>
+    <Other>
+      <Verbosity>
+        <ShowNotes Value="False"/>
+        <ShowHints Value="False"/>
+      </Verbosity>
+    </Other>
   </CompilerOptions>
   </CompilerOptions>
 </CONFIG>
 </CONFIG>

+ 46 - 19
plugins/wcx/cpio/src/cpio.lpi

@@ -1,17 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <CONFIG>
 <CONFIG>
   <ProjectOptions>
   <ProjectOptions>
-    <Version Value="9"/>
+    <Version Value="12"/>
     <PathDelim Value="\"/>
     <PathDelim Value="\"/>
     <General>
     <General>
+      <Flags>
+        <MainUnitHasCreateFormStatements Value="False"/>
+        <MainUnitHasTitleStatement Value="False"/>
+        <MainUnitHasScaledStatement Value="False"/>
+        <CompatibilityMode Value="True"/>
+      </Flags>
       <SessionStorage Value="InProjectDir"/>
       <SessionStorage Value="InProjectDir"/>
-      <MainUnit Value="0"/>
       <ResourceType Value="res"/>
       <ResourceType Value="res"/>
     </General>
     </General>
     <VersionInfo>
     <VersionInfo>
       <UseVersionInfo Value="True"/>
       <UseVersionInfo Value="True"/>
       <MinorVersionNr Value="1"/>
       <MinorVersionNr Value="1"/>
-      <StringTable FileDescription="CPIO WCX plugin for Double Commander" LegalCopyright="Copyright (C) 2006-2012  Koblov Alexander" ProductVersion=""/>
+      <StringTable FileDescription="CPIO WCX plugin for Double Commander" LegalCopyright="Copyright (C) 2006-2012  Koblov Alexander"/>
     </VersionInfo>
     </VersionInfo>
     <BuildModes Count="2">
     <BuildModes Count="2">
       <Item1 Name="Release" Default="True"/>
       <Item1 Name="Release" Default="True"/>
@@ -26,14 +31,14 @@
             <OtherUnitFiles Value="../../../../sdk"/>
             <OtherUnitFiles Value="../../../../sdk"/>
             <UnitOutputDirectory Value="../lib"/>
             <UnitOutputDirectory Value="../lib"/>
           </SearchPaths>
           </SearchPaths>
-          <Conditionals Value="if (TargetCPU &lt;> 'arm') then
+          <Conditionals Value="if (TargetCPU &lt;> &apos;arm&apos;) then
 begin
 begin
-  CustomOptions += '-fPIC';
+  CustomOptions += &apos;-fPIC&apos;;
 end;
 end;
 
 
-if (TargetOS = 'darwin') then
+if (TargetOS = &apos;darwin&apos;) then
 begin
 begin
-  LinkerOptions += ' -no_order_inits';
+  LinkerOptions += &apos; -no_order_inits&apos;;
 end;"/>
 end;"/>
           <Parsing>
           <Parsing>
             <SyntaxOptions>
             <SyntaxOptions>
@@ -66,15 +71,19 @@ end;"/>
     </BuildModes>
     </BuildModes>
     <PublishOptions>
     <PublishOptions>
       <Version Value="2"/>
       <Version Value="2"/>
-      <IgnoreBinaries Value="False"/>
-      <IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
-      <ExcludeFileFilter Value="*.(bak|ppu|ppw|o|so);*~;backup"/>
     </PublishOptions>
     </PublishOptions>
     <RunParams>
     <RunParams>
       <local>
       <local>
-        <FormatVersion Value="1"/>
-        <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T 'Lazarus Run Output' -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
+        <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T &apos;Lazarus Run Output&apos; -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
       </local>
       </local>
+      <FormatVersion Value="2"/>
+      <Modes Count="1">
+        <Mode0 Name="default">
+          <local>
+            <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T &apos;Lazarus Run Output&apos; -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
+          </local>
+        </Mode0>
+      </Modes>
     </RunParams>
     </RunParams>
     <RequiredPackages Count="1">
     <RequiredPackages Count="1">
       <Item1>
       <Item1>
@@ -82,11 +91,23 @@ end;"/>
         <MinVersion Minor="2" Valid="True"/>
         <MinVersion Minor="2" Valid="True"/>
       </Item1>
       </Item1>
     </RequiredPackages>
     </RequiredPackages>
-    <Units Count="1">
+    <Units Count="4">
       <Unit0>
       <Unit0>
         <Filename Value="cpio.dpr"/>
         <Filename Value="cpio.dpr"/>
         <IsPartOfProject Value="True"/>
         <IsPartOfProject Value="True"/>
       </Unit0>
       </Unit0>
+      <Unit1>
+        <Filename Value="cpio_io.pas"/>
+        <IsPartOfProject Value="True"/>
+      </Unit1>
+      <Unit2>
+        <Filename Value="cpio_def.pas"/>
+        <IsPartOfProject Value="True"/>
+      </Unit2>
+      <Unit3>
+        <Filename Value="cpio_archive.pas"/>
+        <IsPartOfProject Value="True"/>
+      </Unit3>
     </Units>
     </Units>
   </ProjectOptions>
   </ProjectOptions>
   <CompilerOptions>
   <CompilerOptions>
@@ -99,19 +120,19 @@ end;"/>
       <OtherUnitFiles Value="../../../../sdk"/>
       <OtherUnitFiles Value="../../../../sdk"/>
       <UnitOutputDirectory Value="../lib"/>
       <UnitOutputDirectory Value="../lib"/>
     </SearchPaths>
     </SearchPaths>
-    <Conditionals Value="if (TargetCPU &lt;> 'arm') then
+    <Conditionals Value="if (TargetCPU &lt;> &apos;arm&apos;) then
 begin
 begin
-  CustomOptions += '-fPIC';
+  CustomOptions += &apos;-fPIC&apos;;
 end;
 end;
 
 
-if (TargetOS = 'darwin') then
+if (TargetOS = &apos;darwin&apos;) then
 begin
 begin
-  LinkerOptions += ' -no_order_inits';
+  LinkerOptions += &apos; -no_order_inits&apos;;
 end;
 end;
 
 
-if (TargetOS = 'linux') then
+if (TargetOS = &apos;linux&apos;) then
 begin
 begin
-  LinkerOptions += ' -z relro --as-needed';
+  LinkerOptions += &apos; -z relro --as-needed&apos;;
 end;"/>
 end;"/>
     <Parsing>
     <Parsing>
       <SyntaxOptions>
       <SyntaxOptions>
@@ -135,6 +156,12 @@ end;"/>
         <ExecutableType Value="Library"/>
         <ExecutableType Value="Library"/>
       </Options>
       </Options>
     </Linking>
     </Linking>
+    <Other>
+      <Verbosity>
+        <ShowNotes Value="False"/>
+        <ShowHints Value="False"/>
+      </Verbosity>
+    </Other>
   </CompilerOptions>
   </CompilerOptions>
   <Debugging>
   <Debugging>
     <Exceptions Count="2">
     <Exceptions Count="2">

+ 33 - 17
plugins/wcx/deb/src/deb.lpi

@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <CONFIG>
 <CONFIG>
   <ProjectOptions>
   <ProjectOptions>
-    <Version Value="10"/>
+    <Version Value="12"/>
     <PathDelim Value="\"/>
     <PathDelim Value="\"/>
     <General>
     <General>
+      <Flags>
+        <MainUnitHasCreateFormStatements Value="False"/>
+        <MainUnitHasTitleStatement Value="False"/>
+        <MainUnitHasScaledStatement Value="False"/>
+        <CompatibilityMode Value="True"/>
+      </Flags>
       <SessionStorage Value="InProjectDir"/>
       <SessionStorage Value="InProjectDir"/>
-      <MainUnit Value="0"/>
       <ResourceType Value="res"/>
       <ResourceType Value="res"/>
     </General>
     </General>
     <VersionInfo>
     <VersionInfo>
@@ -27,14 +32,14 @@
             <OtherUnitFiles Value="..\..\..\..\sdk"/>
             <OtherUnitFiles Value="..\..\..\..\sdk"/>
             <UnitOutputDirectory Value="..\lib"/>
             <UnitOutputDirectory Value="..\lib"/>
           </SearchPaths>
           </SearchPaths>
-          <Conditionals Value="if (TargetCPU &lt;> 'arm') then
+          <Conditionals Value="if (TargetCPU &lt;> &apos;arm&apos;) then
 begin
 begin
-  CustomOptions += '-fPIC';
+  CustomOptions += &apos;-fPIC&apos;;
 end;
 end;
 
 
-if (TargetOS = 'darwin') then
+if (TargetOS = &apos;darwin&apos;) then
 begin
 begin
-  LinkerOptions += ' -no_order_inits';
+  LinkerOptions += &apos; -no_order_inits&apos;;
 end;"/>
 end;"/>
           <Parsing>
           <Parsing>
             <SyntaxOptions>
             <SyntaxOptions>
@@ -67,16 +72,21 @@ end;"/>
     </BuildModes>
     </BuildModes>
     <PublishOptions>
     <PublishOptions>
       <Version Value="2"/>
       <Version Value="2"/>
-      <IgnoreBinaries Value="False"/>
-      <IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
-      <ExcludeFileFilter Value="*.(bak|ppu|ppw|o|so);*~;backup"/>
     </PublishOptions>
     </PublishOptions>
     <RunParams>
     <RunParams>
       <local>
       <local>
-        <FormatVersion Value="1"/>
         <HostApplicationFilename Value="X:\Totalcmd\Totalcmd.exe"/>
         <HostApplicationFilename Value="X:\Totalcmd\Totalcmd.exe"/>
-        <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T 'Lazarus Run Output' -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
+        <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T &apos;Lazarus Run Output&apos; -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
       </local>
       </local>
+      <FormatVersion Value="2"/>
+      <Modes Count="1">
+        <Mode0 Name="default">
+          <local>
+            <HostApplicationFilename Value="X:\Totalcmd\Totalcmd.exe"/>
+            <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T &apos;Lazarus Run Output&apos; -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
+          </local>
+        </Mode0>
+      </Modes>
     </RunParams>
     </RunParams>
     <RequiredPackages Count="1">
     <RequiredPackages Count="1">
       <Item1>
       <Item1>
@@ -114,19 +124,19 @@ end;"/>
       <OtherUnitFiles Value="..\..\..\..\sdk"/>
       <OtherUnitFiles Value="..\..\..\..\sdk"/>
       <UnitOutputDirectory Value="..\lib"/>
       <UnitOutputDirectory Value="..\lib"/>
     </SearchPaths>
     </SearchPaths>
-    <Conditionals Value="if (TargetCPU &lt;> 'arm') then
+    <Conditionals Value="if (TargetCPU &lt;> &apos;arm&apos;) then
 begin
 begin
-  CustomOptions += '-fPIC';
+  CustomOptions += &apos;-fPIC&apos;;
 end;
 end;
 
 
-if (TargetOS = 'darwin') then
+if (TargetOS = &apos;darwin&apos;) then
 begin
 begin
-  LinkerOptions += ' -no_order_inits';
+  LinkerOptions += &apos; -no_order_inits&apos;;
 end;
 end;
 
 
-if (TargetOS = 'linux') then
+if (TargetOS = &apos;linux&apos;) then
 begin
 begin
-  LinkerOptions += ' -z relro --as-needed';
+  LinkerOptions += &apos; -z relro --as-needed&apos;;
 end;"/>
 end;"/>
     <Parsing>
     <Parsing>
       <SyntaxOptions>
       <SyntaxOptions>
@@ -150,5 +160,11 @@ end;"/>
         <ExecutableType Value="Library"/>
         <ExecutableType Value="Library"/>
       </Options>
       </Options>
     </Linking>
     </Linking>
+    <Other>
+      <Verbosity>
+        <ShowNotes Value="False"/>
+        <ShowHints Value="False"/>
+      </Verbosity>
+    </Other>
   </CompilerOptions>
   </CompilerOptions>
 </CONFIG>
 </CONFIG>

+ 44 - 19
plugins/wcx/rpm/src/rpm.lpi

@@ -1,19 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <CONFIG>
 <CONFIG>
   <ProjectOptions>
   <ProjectOptions>
-    <Version Value="9"/>
+    <Version Value="12"/>
     <PathDelim Value="\"/>
     <PathDelim Value="\"/>
     <General>
     <General>
       <Flags>
       <Flags>
+        <MainUnitHasCreateFormStatements Value="False"/>
+        <MainUnitHasTitleStatement Value="False"/>
+        <MainUnitHasScaledStatement Value="False"/>
         <LRSInOutputDirectory Value="False"/>
         <LRSInOutputDirectory Value="False"/>
+        <CompatibilityMode Value="True"/>
       </Flags>
       </Flags>
       <SessionStorage Value="InProjectDir"/>
       <SessionStorage Value="InProjectDir"/>
-      <MainUnit Value="0"/>
     </General>
     </General>
     <VersionInfo>
     <VersionInfo>
       <UseVersionInfo Value="True"/>
       <UseVersionInfo Value="True"/>
       <MinorVersionNr Value="1"/>
       <MinorVersionNr Value="1"/>
-      <StringTable FileDescription="RPM WCX plugin for Double Commander" LegalCopyright="Copyright (C) 2006-2012  Koblov Alexander" ProductVersion=""/>
+      <StringTable FileDescription="RPM WCX plugin for Double Commander" LegalCopyright="Copyright (C) 2006-2012  Koblov Alexander"/>
     </VersionInfo>
     </VersionInfo>
     <BuildModes Count="2">
     <BuildModes Count="2">
       <Item1 Name="Release" Default="True"/>
       <Item1 Name="Release" Default="True"/>
@@ -28,14 +31,14 @@
             <OtherUnitFiles Value="../../../../sdk"/>
             <OtherUnitFiles Value="../../../../sdk"/>
             <UnitOutputDirectory Value="../lib"/>
             <UnitOutputDirectory Value="../lib"/>
           </SearchPaths>
           </SearchPaths>
-          <Conditionals Value="if (TargetCPU &lt;> 'arm') then
+          <Conditionals Value="if (TargetCPU &lt;> &apos;arm&apos;) then
 begin
 begin
-  CustomOptions += '-fPIC';
+  CustomOptions += &apos;-fPIC&apos;;
 end;
 end;
 
 
-if (TargetOS = 'darwin') then
+if (TargetOS = &apos;darwin&apos;) then
 begin
 begin
-  LinkerOptions += ' -no_order_inits';
+  LinkerOptions += &apos; -no_order_inits&apos;;
 end;"/>
 end;"/>
           <Parsing>
           <Parsing>
             <SyntaxOptions>
             <SyntaxOptions>
@@ -68,15 +71,19 @@ end;"/>
     </BuildModes>
     </BuildModes>
     <PublishOptions>
     <PublishOptions>
       <Version Value="2"/>
       <Version Value="2"/>
-      <IgnoreBinaries Value="False"/>
-      <IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/>
-      <ExcludeFileFilter Value="*.(bak|ppu|ppw|o|so);*~;backup"/>
     </PublishOptions>
     </PublishOptions>
     <RunParams>
     <RunParams>
       <local>
       <local>
-        <FormatVersion Value="1"/>
-        <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T 'Lazarus Run Output' -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
+        <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T &apos;Lazarus Run Output&apos; -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
       </local>
       </local>
+      <FormatVersion Value="2"/>
+      <Modes Count="1">
+        <Mode0 Name="default">
+          <local>
+            <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T &apos;Lazarus Run Output&apos; -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
+          </local>
+        </Mode0>
+      </Modes>
     </RunParams>
     </RunParams>
     <RequiredPackages Count="1">
     <RequiredPackages Count="1">
       <Item1>
       <Item1>
@@ -84,11 +91,23 @@ end;"/>
         <MinVersion Minor="2" Valid="True"/>
         <MinVersion Minor="2" Valid="True"/>
       </Item1>
       </Item1>
     </RequiredPackages>
     </RequiredPackages>
-    <Units Count="1">
+    <Units Count="4">
       <Unit0>
       <Unit0>
         <Filename Value="rpm.dpr"/>
         <Filename Value="rpm.dpr"/>
         <IsPartOfProject Value="True"/>
         <IsPartOfProject Value="True"/>
       </Unit0>
       </Unit0>
+      <Unit1>
+        <Filename Value="rpm_io.pas"/>
+        <IsPartOfProject Value="True"/>
+      </Unit1>
+      <Unit2>
+        <Filename Value="rpm_def.pas"/>
+        <IsPartOfProject Value="True"/>
+      </Unit2>
+      <Unit3>
+        <Filename Value="rpm_archive.pas"/>
+        <IsPartOfProject Value="True"/>
+      </Unit3>
     </Units>
     </Units>
   </ProjectOptions>
   </ProjectOptions>
   <CompilerOptions>
   <CompilerOptions>
@@ -101,19 +120,19 @@ end;"/>
       <OtherUnitFiles Value="../../../../sdk"/>
       <OtherUnitFiles Value="../../../../sdk"/>
       <UnitOutputDirectory Value="../lib"/>
       <UnitOutputDirectory Value="../lib"/>
     </SearchPaths>
     </SearchPaths>
-    <Conditionals Value="if (TargetCPU &lt;> 'arm') then
+    <Conditionals Value="if (TargetCPU &lt;> &apos;arm&apos;) then
 begin
 begin
-  CustomOptions += '-fPIC';
+  CustomOptions += &apos;-fPIC&apos;;
 end;
 end;
 
 
-if (TargetOS = 'darwin') then
+if (TargetOS = &apos;darwin&apos;) then
 begin
 begin
-  LinkerOptions += ' -no_order_inits';
+  LinkerOptions += &apos; -no_order_inits&apos;;
 end;
 end;
 
 
-if (TargetOS = 'linux') then
+if (TargetOS = &apos;linux&apos;) then
 begin
 begin
-  LinkerOptions += ' -z relro --as-needed';
+  LinkerOptions += &apos; -z relro --as-needed&apos;;
 end;"/>
 end;"/>
     <Parsing>
     <Parsing>
       <SyntaxOptions>
       <SyntaxOptions>
@@ -137,6 +156,12 @@ end;"/>
         <ExecutableType Value="Library"/>
         <ExecutableType Value="Library"/>
       </Options>
       </Options>
     </Linking>
     </Linking>
+    <Other>
+      <Verbosity>
+        <ShowNotes Value="False"/>
+        <ShowHints Value="False"/>
+      </Verbosity>
+    </Other>
   </CompilerOptions>
   </CompilerOptions>
   <Debugging>
   <Debugging>
     <Exceptions Count="2">
     <Exceptions Count="2">

+ 4 - 0
plugins/wcx/sevenzip/src/SevenZipWcx.lpi

@@ -148,6 +148,10 @@
       </Options>
       </Options>
     </Linking>
     </Linking>
     <Other>
     <Other>
+      <Verbosity>
+        <ShowNotes Value="False"/>
+        <ShowHints Value="False"/>
+      </Verbosity>
       <CustomOptions Value="-dUNICODE_CTRLS"/>
       <CustomOptions Value="-dUNICODE_CTRLS"/>
     </Other>
     </Other>
   </CompilerOptions>
   </CompilerOptions>

+ 21 - 15
plugins/wcx/unrar/src/unrar.lpi

@@ -1,14 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <CONFIG>
 <CONFIG>
   <ProjectOptions>
   <ProjectOptions>
-    <Version Value="11"/>
+    <Version Value="12"/>
     <PathDelim Value="\"/>
     <PathDelim Value="\"/>
     <General>
     <General>
       <Flags>
       <Flags>
         <SaveClosedFiles Value="False"/>
         <SaveClosedFiles Value="False"/>
+        <MainUnitHasCreateFormStatements Value="False"/>
+        <MainUnitHasTitleStatement Value="False"/>
+        <MainUnitHasScaledStatement Value="False"/>
+        <CompatibilityMode Value="True"/>
       </Flags>
       </Flags>
       <SessionStorage Value="InProjectDir"/>
       <SessionStorage Value="InProjectDir"/>
-      <MainUnit Value="0"/>
       <ResourceType Value="res"/>
       <ResourceType Value="res"/>
     </General>
     </General>
     <VersionInfo>
     <VersionInfo>
@@ -30,19 +33,19 @@
             <OtherUnitFiles Value="..\..\..\..\sdk"/>
             <OtherUnitFiles Value="..\..\..\..\sdk"/>
             <UnitOutputDirectory Value="..\lib"/>
             <UnitOutputDirectory Value="..\lib"/>
           </SearchPaths>
           </SearchPaths>
-          <Conditionals Value="if (TargetCPU &lt;> 'arm') then
+          <Conditionals Value="if (TargetCPU &lt;> &apos;arm&apos;) then
 begin
 begin
-  CustomOptions += '-fPIC';
+  CustomOptions += &apos;-fPIC&apos;;
 end;
 end;
 
 
-if (TargetOS = 'linux') then
+if (TargetOS = &apos;linux&apos;) then
 begin
 begin
-  LinkerOptions += ' -z relro';
+  LinkerOptions += &apos; -z relro&apos;;
 end;
 end;
 
 
-if (TargetOS = 'darwin') then
+if (TargetOS = &apos;darwin&apos;) then
 begin
 begin
-  LinkerOptions += ' -no_order_inits';
+  LinkerOptions += &apos; -no_order_inits&apos;;
 end;"/>
 end;"/>
           <Parsing>
           <Parsing>
             <SyntaxOptions>
             <SyntaxOptions>
@@ -80,7 +83,6 @@ end;"/>
     </PublishOptions>
     </PublishOptions>
     <RunParams>
     <RunParams>
       <FormatVersion Value="2"/>
       <FormatVersion Value="2"/>
-      <Modes Count="0"/>
     </RunParams>
     </RunParams>
     <RequiredPackages Count="1">
     <RequiredPackages Count="1">
       <Item1>
       <Item1>
@@ -106,19 +108,19 @@ end;"/>
       <OtherUnitFiles Value="..\..\..\..\sdk"/>
       <OtherUnitFiles Value="..\..\..\..\sdk"/>
       <UnitOutputDirectory Value="..\lib"/>
       <UnitOutputDirectory Value="..\lib"/>
     </SearchPaths>
     </SearchPaths>
-    <Conditionals Value="if (TargetCPU &lt;> 'arm') then
+    <Conditionals Value="if (TargetCPU &lt;> &apos;arm&apos;) then
 begin
 begin
-  CustomOptions += '-fPIC';
+  CustomOptions += &apos;-fPIC&apos;;
 end;
 end;
 
 
-if (TargetOS = 'darwin') then
+if (TargetOS = &apos;darwin&apos;) then
 begin
 begin
-  LinkerOptions += ' -no_order_inits';
+  LinkerOptions += &apos; -no_order_inits&apos;;
 end;
 end;
 
 
-if (TargetOS = 'linux') then
+if (TargetOS = &apos;linux&apos;) then
 begin
 begin
-  LinkerOptions += ' -z relro --as-needed';
+  LinkerOptions += &apos; -z relro --as-needed&apos;;
 end;"/>
 end;"/>
     <CodeGeneration>
     <CodeGeneration>
       <SmartLinkUnit Value="True"/>
       <SmartLinkUnit Value="True"/>
@@ -137,6 +139,10 @@ end;"/>
       </Options>
       </Options>
     </Linking>
     </Linking>
     <Other>
     <Other>
+      <Verbosity>
+        <ShowNotes Value="False"/>
+        <ShowHints Value="False"/>
+      </Verbosity>
       <ConfigFile>
       <ConfigFile>
         <CustomConfigFile Value="True"/>
         <CustomConfigFile Value="True"/>
         <ConfigFilePath Value="fpc-extra.cfg"/>
         <ConfigFilePath Value="fpc-extra.cfg"/>

+ 25 - 16
plugins/wcx/zip/src/Zip.lpi

@@ -1,11 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <CONFIG>
 <CONFIG>
   <ProjectOptions>
   <ProjectOptions>
-    <Version Value="11"/>
+    <Version Value="12"/>
     <PathDelim Value="\"/>
     <PathDelim Value="\"/>
     <General>
     <General>
+      <Flags>
+        <MainUnitHasCreateFormStatements Value="False"/>
+        <MainUnitHasTitleStatement Value="False"/>
+        <MainUnitHasScaledStatement Value="False"/>
+        <CompatibilityMode Value="True"/>
+      </Flags>
       <SessionStorage Value="InProjectDir"/>
       <SessionStorage Value="InProjectDir"/>
-      <MainUnit Value="0"/>
       <ResourceType Value="res"/>
       <ResourceType Value="res"/>
     </General>
     </General>
     <VersionInfo>
     <VersionInfo>
@@ -26,19 +31,19 @@
             <OtherUnitFiles Value="fparchive;../../../../sdk;lzma/compression/LZ;lzma/compression/LZMA;lzma/compression/RangeCoder"/>
             <OtherUnitFiles Value="fparchive;../../../../sdk;lzma/compression/LZ;lzma/compression/LZMA;lzma/compression/RangeCoder"/>
             <UnitOutputDirectory Value="../lib"/>
             <UnitOutputDirectory Value="../lib"/>
           </SearchPaths>
           </SearchPaths>
-          <Conditionals Value="if (TargetCPU &lt;> 'arm') then
+          <Conditionals Value="if (TargetCPU &lt;> &apos;arm&apos;) then
 begin
 begin
-  CustomOptions += '-fPIC';
+  CustomOptions += &apos;-fPIC&apos;;
 end;
 end;
 
 
-if (TargetOS = 'linux') then
+if (TargetOS = &apos;linux&apos;) then
 begin
 begin
-  LinkerOptions += ' -z relro';
+  LinkerOptions += &apos; -z relro&apos;;
 end;
 end;
 
 
-if (TargetOS = 'darwin') then
+if (TargetOS = &apos;darwin&apos;) then
 begin
 begin
-  LinkerOptions += ' -no_order_inits';
+  LinkerOptions += &apos; -no_order_inits&apos;;
 end;"/>
 end;"/>
           <Parsing>
           <Parsing>
             <SyntaxOptions>
             <SyntaxOptions>
@@ -76,13 +81,13 @@ end;"/>
     </PublishOptions>
     </PublishOptions>
     <RunParams>
     <RunParams>
       <local>
       <local>
-        <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T 'Lazarus Run Output' -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
+        <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T &apos;Lazarus Run Output&apos; -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
       </local>
       </local>
       <FormatVersion Value="2"/>
       <FormatVersion Value="2"/>
       <Modes Count="1">
       <Modes Count="1">
         <Mode0 Name="default">
         <Mode0 Name="default">
           <local>
           <local>
-            <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T 'Lazarus Run Output' -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
+            <LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T &apos;Lazarus Run Output&apos; -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
           </local>
           </local>
         </Mode0>
         </Mode0>
       </Modes>
       </Modes>
@@ -118,19 +123,19 @@ end;"/>
       <OtherUnitFiles Value="fparchive;../../../../sdk;lzma/compression/LZ;lzma/compression/LZMA;lzma/compression/RangeCoder"/>
       <OtherUnitFiles Value="fparchive;../../../../sdk;lzma/compression/LZ;lzma/compression/LZMA;lzma/compression/RangeCoder"/>
       <UnitOutputDirectory Value="../lib"/>
       <UnitOutputDirectory Value="../lib"/>
     </SearchPaths>
     </SearchPaths>
-    <Conditionals Value="if (TargetCPU &lt;> 'arm') then
+    <Conditionals Value="if (TargetCPU &lt;> &apos;arm&apos;) then
 begin
 begin
-  CustomOptions += '-fPIC';
+  CustomOptions += &apos;-fPIC&apos;;
 end;
 end;
 
 
-if (TargetOS = 'darwin') then
+if (TargetOS = &apos;darwin&apos;) then
 begin
 begin
-  LinkerOptions += ' -no_order_inits';
+  LinkerOptions += &apos; -no_order_inits&apos;;
 end;
 end;
 
 
-if (TargetOS = 'linux') then
+if (TargetOS = &apos;linux&apos;) then
 begin
 begin
-  LinkerOptions += ' -z relro --as-needed';
+  LinkerOptions += &apos; -z relro --as-needed&apos;;
 end;"/>
 end;"/>
     <CodeGeneration>
     <CodeGeneration>
       <SmartLinkUnit Value="True"/>
       <SmartLinkUnit Value="True"/>
@@ -149,6 +154,10 @@ end;"/>
       </Options>
       </Options>
     </Linking>
     </Linking>
     <Other>
     <Other>
+      <Verbosity>
+        <ShowNotes Value="False"/>
+        <ShowHints Value="False"/>
+      </Verbosity>
       <ConfigFile>
       <ConfigFile>
         <CustomConfigFile Value="True"/>
         <CustomConfigFile Value="True"/>
         <ConfigFilePath Value="fpc-extra.cfg"/>
         <ConfigFilePath Value="fpc-extra.cfg"/>