[tasque/windows] [xbuild] Cut gtk-update-icon-cache



commit 177dd997710459c8d22c069639ae3a68f5d58080
Author: Antonius Riha <antoniusriha gmail com>
Date:   Sat Oct 27 00:26:24 2012 +0200

    [xbuild] Cut gtk-update-icon-cache
    
    has been causing problems on windows

 build/X.Common.targets |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/build/X.Common.targets b/build/X.Common.targets
index 5c947ab..add3a83 100644
--- a/build/X.Common.targets
+++ b/build/X.Common.targets
@@ -184,7 +184,6 @@
         <IntlToolMerge Condition=" '$(IntlToolMerge)' == '' ">%22$(MSBuildProgramFiles32)\GnuWin32\bin\intltool-merge.exe%22</IntlToolMerge>
         <IntlToolUpdate Condition=" '$(IntlToolUpdate)' == '' ">%22$(MSBuildProgramFiles32)\GnuWin32\bin\intltool-update.exe%22</IntlToolUpdate>
         <MsgFmt Condition=" '$(MsgFmt)' == '' ">%22$(MSBuildProgramFiles32)\GnuWin32\bin\msgfmt.exe%22</MsgFmt>
-        <UpdateIconCache Condition=" '$(UpdateIconCache)' == '' ">%22$(MSBuildProgramFiles32)\GTK2-Runtime\bin\gtk-update-icon-cache.exe%22</UpdateIconCache>
       </PropertyGroup>
     </When>
     <Otherwise>
@@ -192,7 +191,6 @@
         <IntlToolMerge Condition=" '$(IntlToolMerge)' == '' ">intltool-merge</IntlToolMerge>
         <IntlToolUpdate Condition=" '$(IntlToolUpdate)' == '' ">intltool-update</IntlToolUpdate>
         <MsgFmt Condition=" '$(MsgFmt)' == '' ">msgfmt</MsgFmt>
-        <UpdateIconCache Condition=" '$(UpdateIconCache)' == '' ">gtk-update-icon-cache</UpdateIconCache>
       </PropertyGroup>
     </Otherwise>
   </Choose>
@@ -306,7 +304,6 @@
       CoreInstall;
       _FixPermissions;
       AfterInstall;
-      _UpdateIconCache;
     </InstallDependsOn>
   </PropertyGroup>
   <Target Name="Install" DependsOnTargets="$(InstallDependsOn)" />
@@ -329,7 +326,6 @@
       SetupInstallFile;
       CoreUninstall;
       AfterUninstall;
-      _UpdateIconCache;
     </UninstallDependsOn>
   </PropertyGroup>
   <Target Name="Uninstall" DependsOnTargets="$(UninstallDependsOn)" />
@@ -411,11 +407,6 @@
     </CreateItem>
   </Target>
   
-  <Target Name="_UpdateIconCache" Condition=" '@(Icon)' != '' Or '@(PkgIcon)' != '' ">
-    <Exec Command="$(UpdateIconCache) -f -t $(HiColorDir)" IgnoreExitCode="true" />
-    <Exec Command="$(UpdateIconCache) -f -t $(PkgHiColorDir)" IgnoreExitCode="true" />
-  </Target>
-  
   <Target Name="_FixPermissions" Condition=" '$(OS)' != 'Windows_NT' ">
     <Exec Condition=" Exists('$(DestDir)%(InstallFile.InstallPath)\%(InstallFileName)') And !'%(Executable)' "
         Command="chmod a-x $(DestDir)%(InstallPath)\%(InstallFileName)" />



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]