Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: dev-libs/grantlee/files/
Date: Mon, 29 Feb 2016 17:53:16
Message-Id: 1456768166.a07f83d09a5ac44c2cbd6d1757d422409aaf47b5.kensington@gentoo
1 commit: a07f83d09a5ac44c2cbd6d1757d422409aaf47b5
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 29 17:49:26 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 29 17:49:26 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=a07f83d0
7
8 dev-libs/grantlee: rebase slot patch
9
10 Package-Manager: portage-2.2.27
11
12 dev-libs/grantlee/files/grantlee-slot.patch | 26 ++++++++++++--------------
13 1 file changed, 12 insertions(+), 14 deletions(-)
14
15 diff --git a/dev-libs/grantlee/files/grantlee-slot.patch b/dev-libs/grantlee/files/grantlee-slot.patch
16 index 814fb9d..ab3557e 100644
17 --- a/dev-libs/grantlee/files/grantlee-slot.patch
18 +++ b/dev-libs/grantlee/files/grantlee-slot.patch
19 @@ -1,12 +1,10 @@
20 -Install headers to a custom location to permit slotting with Qt4 version.
21 -
22 diff --git a/CMakeLists.txt b/CMakeLists.txt
23 -index 45f8673..7832a3b 100644
24 +index dca14ec..d25656d 100644
25 --- a/CMakeLists.txt
26 +++ b/CMakeLists.txt
27 -@@ -94,7 +94,7 @@ set (LIB_SUFFIX "" CACHE STRING "Define suffix of library directory name (eg. '6
28 +@@ -100,7 +100,7 @@ set (LIB_SUFFIX "" CACHE STRING "Define suffix of library directory name (eg. '6
29 set( LIB_INSTALL_DIR lib${LIB_SUFFIX} )
30 - set( PLUGIN_INSTALL_DIR lib${LIB_SUFFIX}/grantlee/${Grantlee_MAJOR_MINOR_VERSION_STRING} )
31 + set( PLUGIN_INSTALL_DIR ${LIB_INSTALL_DIR}/grantlee/${Grantlee5_MAJOR_MINOR_VERSION_STRING} )
32 set( BIN_INSTALL_DIR bin )
33 -set( INCLUDE_INSTALL_DIR include )
34 +set( INCLUDE_INSTALL_DIR include/grantlee5 )
35 @@ -14,19 +12,19 @@ index 45f8673..7832a3b 100644
36
37 # set up RPATH/install_name_dir
38 diff --git a/templates/lib/CMakeLists.txt b/templates/lib/CMakeLists.txt
39 -index 789205c..7045449 100644
40 +index 741fe65..20179fc 100644
41 --- a/templates/lib/CMakeLists.txt
42 +++ b/templates/lib/CMakeLists.txt
43 -@@ -79,6 +79,7 @@ add_library(Grantlee5::Templates ALIAS Grantlee_Templates)
44 - generate_export_header(Grantlee_Templates)
45 - set_property(TARGET Grantlee_Templates PROPERTY EXPORT_NAME Templates)
46 - target_include_directories(Grantlee_Templates PRIVATE ../scriptabletags)
47 -+target_include_directories(Grantlee_Templates INTERFACE "$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>")
48 +@@ -81,6 +81,7 @@ if (Qt5Script_FOUND)
49
50 - if (BUILD_TESTS)
51 - set(GRANTLEE_TESTS_EXPORT "GRANTLEE_TEMPLATES_EXPORT")
52 + target_sources(Grantlee_Templates PRIVATE ${scriptabletags_SRCS})
53 + target_include_directories(Grantlee_Templates PRIVATE ../scriptabletags)
54 ++ target_include_directories(Grantlee_Templates INTERFACE "$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>")
55 + target_link_libraries(Grantlee_Templates
56 + LINK_PRIVATE Qt5::Script
57 + )
58 diff --git a/textdocument/lib/CMakeLists.txt b/textdocument/lib/CMakeLists.txt
59 -index 14163db..7c609f9 100644
60 +index 4c94203..e203539 100644
61 --- a/textdocument/lib/CMakeLists.txt
62 +++ b/textdocument/lib/CMakeLists.txt
63 @@ -24,7 +24,7 @@ add_library(Grantlee_TextDocument SHARED