Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/indilib/files: 0.6-fix_symlink.patch
Date: Mon, 07 Sep 2009 10:56:37
Message-Id: E1Mkbtj-0004xA-OP@stork.gentoo.org
1 scarabeus 09/09/07 10:56:35
2
3 Added: 0.6-fix_symlink.patch
4 Log:
5 Version bump. Needed for kstars.
6 (Portage version: 2.2_rc38/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 sci-libs/indilib/files/0.6-fix_symlink.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/indilib/files/0.6-fix_symlink.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/indilib/files/0.6-fix_symlink.patch?rev=1.1&content-type=text/plain
13
14 Index: 0.6-fix_symlink.patch
15 ===================================================================
16 diff -urN libindi0-0.6.old/CMakeLists.txt libindi0-0.6/CMakeLists.txt
17 --- libindi0-0.6.old/CMakeLists.txt 2008-11-18 10:45:06.000000000 +0100
18 +++ libindi0-0.6/CMakeLists.txt 2009-09-07 12:49:21.000000000 +0200
19 @@ -146,7 +146,7 @@
20 ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200gps.cpp
21 ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200generic.cpp
22 ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200classic.cpp
23 - ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200apdriver.c
24 + ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200apdriver.c
25 ${CMAKE_SOURCE_DIR}/drivers/telescope/lx200ap.cpp )
26
27 add_executable(indi_lx200generic ${lx200generic_SRCS} ${liblilxml_SRCS} ${libindicom_SRCS})
28 @@ -159,14 +159,11 @@
29
30 install(TARGETS indi_lx200generic RUNTIME DESTINATION bin )
31
32 -file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/make_lx200generic_symlink.cmake
33 -"exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200classic)\n
34 -exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200autostar)\n
35 -exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200_16)\n
36 -exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200gps)\n
37 -exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${BIN_INSTALL_DIR}/indi_lx200generic ${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200ap)\n
38 -")
39 -set_target_properties(indi_lx200generic PROPERTIES POST_INSTALL_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/make_lx200generic_symlink.cmake)
40 +install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}/${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200classic\" )" )
41 +install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}//${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200autostar\" )" )
42 +install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}//${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200_16\" )" )
43 +install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}//${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200gps\" )" )
44 +install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink \"${BIN_INSTALL_DIR}/indi_lx200generic\" \"\$ENV{DESTDIR}//${BUILD_ROOT}${BIN_INSTALL_DIR}/indi_lx200ap\" )" )
45 #################################################################################
46
47 ########### Celestron GPS ############
48 @@ -521,4 +518,4 @@
49
50 install( FILES indiapi.h indidevapi.h base64.h eventloop.h ${CMAKE_SOURCE_DIR}/libs/lilxml.h
51 ${CMAKE_SOURCE_DIR}/libs/indicom.h DESTINATION ${INCLUDE_INSTALL_DIR}/libindi COMPONENT Devel)
52 -
53 \ Chybí znak konce řádku na konci souboru
54 +