Icon name in desktop file should be sans .png extension.
This commit is contained in:
parent
2da4c96178
commit
d48ae7c8e0
14
cmake-desktop_icon.patch
Normal file
14
cmake-desktop_icon.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -up cmake-2.8.10.1/Source/QtDialog/CMake.desktop\~ cmake-2.8.10.1/Source/QtDialog/CMake.desktop
|
||||||
|
--- cmake-2.8.10.1/Source/QtDialog/CMake.desktop~ 2012-11-06 20:41:36.000000000 +0100
|
||||||
|
+++ cmake-2.8.10.1/Source/QtDialog/CMake.desktop 2012-12-06 01:02:51.054110499 +0100
|
||||||
|
@@ -3,7 +3,7 @@ Version=1.0
|
||||||
|
Name=CMake
|
||||||
|
Comment=Cross-platform buildsystem
|
||||||
|
Exec=cmake-gui %f
|
||||||
|
-Icon=CMakeSetup32.png
|
||||||
|
+Icon=CMakeSetup32
|
||||||
|
Terminal=false
|
||||||
|
X-MultipleArgs=false
|
||||||
|
Type=Application
|
||||||
|
|
||||||
|
Diff finished. Thu Dec 6 01:03:01 2012
|
10
cmake.spec
10
cmake.spec
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
Name: cmake
|
Name: cmake
|
||||||
Version: 2.8.11.2
|
Version: 2.8.11.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Cross-platform make system
|
Summary: Cross-platform make system
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -44,7 +44,11 @@ Patch4: cmake-2.8.11-rc1-IM_pkgconfig_hints.patch
|
|||||||
# Add FindLua52.cmake
|
# Add FindLua52.cmake
|
||||||
Patch5: cmake-2.8.11-rc4-lua-5.2.patch
|
Patch5: cmake-2.8.11-rc4-lua-5.2.patch
|
||||||
# Add -fno-strict-aliasing when compiling cm_sha2.c
|
# Add -fno-strict-aliasing when compiling cm_sha2.c
|
||||||
|
# http://www.cmake.org/Bug/view.php?id=14314
|
||||||
Patch6: cmake-strict_aliasing.patch
|
Patch6: cmake-strict_aliasing.patch
|
||||||
|
# Patch away .png extension in icon name in desktop file.
|
||||||
|
# http://www.cmake.org/Bug/view.php?id=14315
|
||||||
|
Patch7: cmake-desktop_icon.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: gcc-gfortran
|
BuildRequires: gcc-gfortran
|
||||||
@ -100,6 +104,7 @@ The %{name}-gui package contains the Qt based GUI for CMake.
|
|||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
%patch6 -p1
|
%patch6 -p1
|
||||||
|
%patch7 -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -196,6 +201,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 25 2013 Petr Machata <pmachata@redhat.com> - 2.8.11.2-3
|
||||||
|
- Icon name in desktop file should be sans .png extension.
|
||||||
|
|
||||||
* Thu Jul 25 2013 Petr Machata <pmachata@redhat.com> - 2.8.11.2-2
|
* Thu Jul 25 2013 Petr Machata <pmachata@redhat.com> - 2.8.11.2-2
|
||||||
- Pass -fno-strict-aliasing to cm_sha2.c to avoid strict aliasing
|
- Pass -fno-strict-aliasing to cm_sha2.c to avoid strict aliasing
|
||||||
problems that GCC warns about.
|
problems that GCC warns about.
|
||||||
|
Loading…
Reference in New Issue
Block a user