summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/directfb2-rpath.patch
blob: da27b0462e494b0073a7d8675b4c3370c3df3835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
Upstream-status: https://github.com/directfb2/DirectFB2/pull/160

diff --git a/inputdrivers/linux_input/meson.build b/inputdrivers/linux_input/meson.build
index 0e9c557..fc6d93a 100644
--- a/inputdrivers/linux_input/meson.build
+++ b/inputdrivers/linux_input/meson.build
@@ -21,7 +21,7 @@ endif
 
 library('directfb_linux_input',
         'linux_input.c',
-        build_rpath: get_option('prefix') / get_option('libdir'),
+        install_rpath: get_option('prefix') / get_option('libdir'),
         dependencies: directfb_dep,
         install: true,
         install_dir: moduledir / 'inputdrivers')
diff --git a/interfaces/ICoreResourceManager/meson.build b/interfaces/ICoreResourceManager/meson.build
index 9833aa8..09fa3e7 100644
--- a/interfaces/ICoreResourceManager/meson.build
+++ b/interfaces/ICoreResourceManager/meson.build
@@ -16,7 +16,7 @@
 
 library('icoreresourcemanager_default',
         'icoreresourcemanager_default.c',
-        build_rpath: get_option('prefix') / get_option('libdir'),
+        install_rpath: get_option('prefix') / get_option('libdir'),
         dependencies: directfb_dep,
         install: true,
         install_dir: moduledir / 'interfaces/ICoreResourceManager')
diff --git a/interfaces/IDirectFBFont/meson.build b/interfaces/IDirectFBFont/meson.build
index cb4e172..4d13411 100644
--- a/interfaces/IDirectFBFont/meson.build
+++ b/interfaces/IDirectFBFont/meson.build
@@ -16,7 +16,7 @@
 
 library('idirectfbfont_dgiff',
         'idirectfbfont_dgiff.c',
-        build_rpath: get_option('prefix') / get_option('libdir'),
+        install_rpath: get_option('prefix') / get_option('libdir'),
         dependencies: directfb_dep,
         install: true,
         install_dir: moduledir / 'interfaces/IDirectFBFont')
diff --git a/interfaces/IDirectFBImageProvider/meson.build b/interfaces/IDirectFBImageProvider/meson.build
index 5303ca3..df7859e 100644
--- a/interfaces/IDirectFBImageProvider/meson.build
+++ b/interfaces/IDirectFBImageProvider/meson.build
@@ -16,7 +16,7 @@
 
 library('idirectfbimageprovider_dfiff',
         'idirectfbimageprovider_dfiff.c',
-        build_rpath: get_option('prefix') / get_option('libdir'),
+        install_rpath: get_option('prefix') / get_option('libdir'),
         dependencies: directfb_dep,
         install: true,
         install_dir: moduledir / 'interfaces/IDirectFBImageProvider')
diff --git a/interfaces/IDirectFBVideoProvider/meson.build b/interfaces/IDirectFBVideoProvider/meson.build
index 0fdc8d6..f414fd3 100644
--- a/interfaces/IDirectFBVideoProvider/meson.build
+++ b/interfaces/IDirectFBVideoProvider/meson.build
@@ -16,7 +16,7 @@
 
 library('idirectfbvideoprovider_dfvff',
         'idirectfbvideoprovider_dfvff.c',
-        build_rpath: get_option('prefix') / get_option('libdir'),
+        install_rpath: get_option('prefix') / get_option('libdir'),
         dependencies: directfb_dep,
         install: true,
         install_dir: moduledir / 'interfaces/IDirectFBVideoProvider')
diff --git a/interfaces/IDirectFBWindows/meson.build b/interfaces/IDirectFBWindows/meson.build
index 1123184..70974d5 100644
--- a/interfaces/IDirectFBWindows/meson.build
+++ b/interfaces/IDirectFBWindows/meson.build
@@ -16,7 +16,7 @@
 
 library('idirectfbwindows_default',
         'idirectfbwindows_default.c',
-        build_rpath: get_option('prefix') / get_option('libdir'),
+        install_rpath: get_option('prefix') / get_option('libdir'),
         dependencies: directfb_dep,
         install: true,
         install_dir: moduledir / 'interfaces/IDirectFBWindows')
diff --git a/lib/fusion/meson.build b/lib/fusion/meson.build
index a082076..da6deb7 100644
--- a/lib/fusion/meson.build
+++ b/lib/fusion/meson.build
@@ -92,7 +92,7 @@ endif
 libfusion = library('fusion-@0@.@1@'.format(directfb_major_version, directfb_minor_version),
                     fusion_sources, shm_sources,
                     include_directories: [config_inc, lib_inc],
-                    build_rpath: get_option('prefix') / get_option('libdir'),
+                    install_rpath: get_option('prefix') / get_option('libdir'),
                     dependencies: direct_dep,
                     version: '0.@0@.0'.format(directfb_micro_version),
                     install: true)
diff --git a/src/core/fluxcomp.py b/src/core/fluxcomp.py
index 2f06ea5..b8dc96f 100755
--- a/src/core/fluxcomp.py
+++ b/src/core/fluxcomp.py
@@ -1,4 +1,4 @@
-#!/bin/env python3
+#!/usr/bin/env python3
 
 license = """
 /*
diff --git a/src/meson.build b/src/meson.build
index abbc6c5..c4b78a9 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -190,7 +190,7 @@ libdirectfb = library('directfb-@0@.@1@'.format(directfb_major_version, directfb
                       c_args: ['-DBUILDTIME="'  + run_command('date', '-u', '+%Y-%m-%d %H:%M',
                                                               check: true).stdout().strip()                  + '"',
                                '-DSYSCONFDIR="' + get_option('prefix') / get_option('sysconfdir') + '"'],
-                      build_rpath: get_option('prefix') / get_option('libdir'),
+                      install_rpath: get_option('prefix') / get_option('libdir'),
                       dependencies: [direct_dep, fusion_dep],
                       version: '0.@0@.0'.format(directfb_micro_version),
                       install: true)
diff --git a/systems/drmkms/meson.build b/systems/drmkms/meson.build
index 1e9c6a7..2aa1676 100644
--- a/systems/drmkms/meson.build
+++ b/systems/drmkms/meson.build
@@ -32,7 +32,7 @@ drmkms_sources = [
 
 library('directfb_drmkms',
         drmkms_sources,
-        build_rpath: get_option('prefix') / get_option('libdir'),
+        install_rpath: get_option('prefix') / get_option('libdir'),
         dependencies: [directfb_dep, drmkms_dep],
         install: true,
         install_dir: moduledir / 'systems')
diff --git a/systems/dummy/meson.build b/systems/dummy/meson.build
index 62fd5a3..7b15875 100644
--- a/systems/dummy/meson.build
+++ b/systems/dummy/meson.build
@@ -20,7 +20,7 @@ dummy_sources = [
 
 library('directfb_dummy',
         dummy_sources,
-        build_rpath: get_option('prefix') / get_option('libdir'),
+        install_rpath: get_option('prefix') / get_option('libdir'),
         dependencies: directfb_dep,
         install: true,
         install_dir: moduledir / 'systems')
diff --git a/systems/fbdev/meson.build b/systems/fbdev/meson.build
index 4825456..374fce0 100644
--- a/systems/fbdev/meson.build
+++ b/systems/fbdev/meson.build
@@ -31,7 +31,7 @@ fbdev_sources = [
 
 library('directfb_fbdev',
         fbdev_sources,
-        build_rpath: get_option('prefix') / get_option('libdir'),
+        install_rpath: get_option('prefix') / get_option('libdir'),
         dependencies: directfb_dep,
         install: true,
         install_dir: moduledir / 'systems')
diff --git a/wm/default/meson.build b/wm/default/meson.build
index adbd6c0..fb817c7 100644
--- a/wm/default/meson.build
+++ b/wm/default/meson.build
@@ -17,7 +17,7 @@
 library('directfbwm_default',
         'default.c',
         include_directories: config_inc,
-        build_rpath: get_option('prefix') / get_option('libdir'),
+        install_rpath: get_option('prefix') / get_option('libdir'),
         dependencies: directfb_dep,
         install: true,
         install_dir: moduledir / 'wm')