Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/photo/files: photo-0.7.1.1-install-desktop.patch
Date: Fri, 11 May 2012 09:30:00
Message-Id: 20120511092946.9CE0F2004C@flycatcher.gentoo.org
1 yngwin 12/05/11 09:29:46
2
3 Added: photo-0.7.1.1-install-desktop.patch
4 Log:
5 Initial import from qt overlay
6
7 (Portage version: 2.2.0_alpha103/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-gfx/photo/files/photo-0.7.1.1-install-desktop.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/photo/files/photo-0.7.1.1-install-desktop.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/photo/files/photo-0.7.1.1-install-desktop.patch?rev=1.1&content-type=text/plain
14
15 Index: photo-0.7.1.1-install-desktop.patch
16 ===================================================================
17 diff -burN photo-0.7.1.1-orig/CMakeLists.txt photo-0.7.1.1/CMakeLists.txt
18 --- photo-0.7.1.1-orig/CMakeLists.txt 2012-04-29 20:38:49.374650243 +0800
19 +++ photo-0.7.1.1/CMakeLists.txt 2012-04-29 21:00:03.237838770 +0800
20 @@ -28,7 +28,7 @@
21 if(UNIX)
22
23 # find xdg-desktop-menu and xdg-mime
24 - find_program(XDG-DESKTOP-MENU_EXECUTABLE xdg-desktop-menu)
25 + #find_program(XDG-DESKTOP-MENU_EXECUTABLE xdg-desktop-menu)
26
27 # Set the install prefix to /usr/
28 SET(PRODUCT_INSTALL_PREFIX /usr)
29 @@ -41,7 +41,8 @@
30
31 # Install desktop file
32 INSTALL(
33 - CODE "execute_process(COMMAND ${XDG-DESKTOP-MENU_EXECUTABLE} install --novendor ${CMAKE_CURRENT_SOURCE_DIR}/photo.desktop)"
34 + FILES photo.desktop
35 + DESTINATION share/applications/
36 )
37
38 # And install all the icons