]> git.pld-linux.org Git - packages/evolution.git/commitdiff
- added destdir patch (removes redundant, not DESTDIR aware icons install, which...
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 26 Apr 2017 03:36:14 +0000 (05:36 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 26 Apr 2017 03:36:14 +0000 (05:36 +0200)
evolution-destdir.patch [new file with mode: 0644]
evolution.spec

diff --git a/evolution-destdir.patch b/evolution-destdir.patch
new file mode 100644 (file)
index 0000000..c0688d7
--- /dev/null
@@ -0,0 +1,21 @@
+--- evolution-3.24.1/cmake/modules/IconCache.cmake.orig        2017-04-10 10:02:00.000000000 +0200
++++ evolution-3.24.1/cmake/modules/IconCache.cmake     2017-04-25 22:21:16.309917778 +0200
+@@ -45,9 +45,6 @@
+                       DESTINATION ${_destdir}/icons/${theme}/${size}/${context}
+                       RENAME ${iconfile}
+               )
+-              set(${_install_codevar} "${${_install_codevar}}
+-                      COMMAND ${CMAKE_COMMAND} -E copy_if_different \"${CMAKE_CURRENT_SOURCE_DIR}/${srcfile}\" \"${_destdir}/icons/${theme}/${size}/${context}/${iconfile}\""
+-              )
+       endforeach(srcfile)
+ endmacro(process_icons)
+@@ -60,7 +57,7 @@
+       if(GTK_UPDATE_ICON_CACHE)
+               install(CODE
+-                      "execute_process(${_install_code}
++                      "execute_process(
+                               COMMAND ${CMAKE_COMMAND} -E chdir . ${_update_icon_cache_cmd}
+                       )")
+       endif(GTK_UPDATE_ICON_CACHE)
index b27f29fe350a80305f6310aef385bb3bb4614453..541478ab5e6abc38b73bdf79f7df87ac26f41f31 100644 (file)
@@ -24,6 +24,7 @@ Source5:      %{name}-mail.desktop
 Source6:       %{name}-tasks.desktop
 Patch0:                %{name}-gtkdoc.patch
 Patch1:                %{name}-highlight.patch
+Patch2:                %{name}-destdir.patch
 URL:           http://wiki.gnome.org/Apps/Evolution/
 BuildRequires: atk-devel
 BuildRequires: bison
@@ -280,6 +281,7 @@ Dokumentacja API Evolution.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 export BOGOFILTER="/usr/bin/bogofilter"
@@ -292,11 +294,12 @@ export SPAMD="/usr/bin/spamd"
        -DLIBEXEC_INSTALL_DIR=%{_libdir} \
        %{!?with_autoar:-DENABLE_AUTOAR=OFF} \
        %{?with_contact_maps:-DENABLE_CONTACT_MAPS=ON} \
+       -DENABLE_GTK_DOC=ON \
+       -DENABLE_SCHEMAS_COMPILE=OFF \
+       -DGTK_UPDATE_ICON_CACHE=/bin/true \
        -DWITH_OPENLDAP=%{?with_ldap:ON}%{!?with_ldap:OFF} \
        -DWITH_STATIC_LDAP=OFF \
        -DWITH_GLADE_CATALOG=%{?with_glade:ON} \
-       -DENABLE_GTK_DOC=ON \
-       -DENABLE_SCHEMAS_COMPILE=OFF \
        -DVERSION_SUBSTRING=" PLD Linux"
 
 %{__make}
This page took 0.185286 seconds and 4 git commands to generate.