Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/siril/, sci-astronomy/siril/files/
Date: Sat, 30 Jul 2022 08:19:47
Message-Id: 1659169120.2d83cfb50f6568e774303d7237168ae08937d4b7.sam@gentoo
1 commit: 2d83cfb50f6568e774303d7237168ae08937d4b7
2 Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
3 AuthorDate: Fri Jul 29 15:27:30 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 30 08:18:40 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d83cfb5
7
8 sci-astronomy/siril: remove patches which are now upstream
9
10 Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
11 Closes: https://github.com/gentoo/gentoo/pull/26654
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 .../siril/files/siril-9999-dependencies.patch | 198 ---------------------
15 sci-astronomy/siril/siril-9999.ebuild | 1 -
16 2 files changed, 199 deletions(-)
17
18 diff --git a/sci-astronomy/siril/files/siril-9999-dependencies.patch b/sci-astronomy/siril/files/siril-9999-dependencies.patch
19 deleted file mode 100644
20 index b9ed88f98e8a..000000000000
21 --- a/sci-astronomy/siril/files/siril-9999-dependencies.patch
22 +++ /dev/null
23 @@ -1,198 +0,0 @@
24 -diff --git a/meson.build b/meson.build
25 -index fdfc3745..c8823c6f 100644
26 ---- a/meson.build
27 -+++ b/meson.build
28 -@@ -42,7 +42,17 @@ srcInclude = include_directories('src')
29 -
30 - warnings = []
31 -
32 --enable_openmp = get_option('openmp')
33 -+enable_openmp = get_option('openmp')
34 -+enable_libraw = get_option('libraw')
35 -+enable_libtiff = get_option('libtiff')
36 -+enable_libjpeg = get_option('libjpeg')
37 -+enable_libpng = get_option('libpng')
38 -+enable_libheif = get_option('libheif')
39 -+enable_ffms2 = get_option('ffms2')
40 -+enable_ffmpeg = get_option('ffmpeg')
41 -+enable_libconfig = get_option('libconfig')
42 -+enable_criterion = get_option('criterion')
43 -+enable_wcslib = get_option('wcslib')
44 -
45 - # General version
46 - siril_version = meson.project_version()
47 -@@ -256,33 +266,72 @@ if enable_openmp
48 - siril_cpp_flag += ['-Xpreprocessor', '-fopenmp']
49 - siril_c_flag += ['-Xpreprocessor', '-fopenmp']
50 - else
51 -- openmp_dep = dependency('openmp', required : false)
52 -+ openmp_dep = dependency('openmp', required : true)
53 - endif
54 - else
55 - message('OpenMP disabled')
56 - endif
57 -
58 --libraw_dep = dependency('libraw', required : false)
59 --libtiff_dep = dependency('libtiff-4', required : false)
60 --libjpeg_dep = dependency('libjpeg', required : false)
61 --libpng_dep = dependency('libpng', required : false, version: '>= 1.6.0')
62 --libheif_dep = dependency('libheif', required : false)
63 --ffms2_dep = dependency('ffms2', required : false)
64 --ffmpeg = [
65 -- dependency('libavformat', required : false),
66 -- dependency('libavcodec', required : false),
67 -- dependency('libavutil', version : '>= 55.20', required : false),
68 -- dependency('libswscale', required : false),
69 -- dependency('libswresample', required : false)
70 --]
71 -+libraw_dep = no_dep
72 -+if enable_libraw
73 -+ libraw_dep = dependency('libraw', required : true)
74 -+endif
75 -+
76 -+libtiff_dep = no_dep
77 -+if enable_libtiff
78 -+ libtiff_dep = dependency('libtiff-4', required : true)
79 -+endif
80 -+
81 -+libjpeg_dep = no_dep
82 -+if enable_libjpeg
83 -+ libjpeg_dep = dependency('libjpeg', required : true)
84 -+endif
85 -+
86 -+libpng_dep = no_dep
87 -+if enable_libpng
88 -+ libpng_dep = dependency('libpng', required : true, version: '>= 1.6.0')
89 -+endif
90 -+
91 -+libheif_dep = no_dep
92 -+if enable_libheif
93 -+ libheif_dep = dependency('libheif', required : true)
94 -+endif
95 -+
96 -+ffms2_dep = no_dep
97 -+if enable_ffms2
98 -+ ffms2_dep = dependency('ffms2', required : true)
99 -+endif
100 -+
101 -+ffmpeg = []
102 -+if enable_ffmpeg
103 -+ ffmpeg = [
104 -+ dependency('libavformat', required : true),
105 -+ dependency('libavcodec', required : true),
106 -+ dependency('libavutil', version : '>= 55.20', required : true),
107 -+ dependency('libswscale', required : true),
108 -+ dependency('libswresample', required : true)
109 -+ ]
110 -+endif
111 -+
112 - libcurl_dep = no_dep
113 - if enable_libcurl
114 -- libcurl_dep = dependency('libcurl', required : false)
115 -+ libcurl_dep = dependency('libcurl', required : true)
116 - endif
117 --libconfig_dep = dependency('libconfig', required : false)
118 --criterion_dep = dependency('criterion', required : false)
119 -
120 --wcslib_dep = dependency('wcslib', fallback : ['wcslib', 'wcslib_dep'], required : false)
121 -+libconfig_dep = no_dep
122 -+if enable_libconfig
123 -+ libconfig_dep = dependency('libconfig', required : true)
124 -+endif
125 -+
126 -+criterion_dep = no_dep
127 -+if enable_criterion
128 -+ criterion_dep = dependency('criterion', required : true)
129 -+endif
130 -+
131 -+wcslib_dep = no_dep
132 -+if enable_wcslib
133 -+ wcslib_dep = dependency('wcslib', fallback : ['wcslib', 'wcslib_dep'], required : true)
134 -+endif
135 -
136 - ################################################################################
137 - # Configuration
138 -@@ -546,6 +595,7 @@ summary(
139 - 'FFMPEG' : ffmpeg_found,
140 - 'libcurl' : libcurl_dep.found(),
141 - 'wcslib' : wcslib_dep.found(),
142 -+ 'libconfig' : libconfig_dep.found(),
143 - 'criterion' : criterion_dep.found(),
144 - }, section: 'Optional dependencies'
145 - )
146 -diff --git a/meson_options.txt b/meson_options.txt
147 -index cd4b9cc1..07b4b904 100644
148 ---- a/meson_options.txt
149 -+++ b/meson_options.txt
150 -@@ -12,9 +12,69 @@ option('openmp',
151 - description: 'build with OpenMP support'
152 - )
153 -
154 -+option('libraw',
155 -+ type : 'boolean',
156 -+ value : 'false',
157 -+ description: 'build with LibRaw support'
158 -+)
159 -+
160 -+option('libtiff',
161 -+ type : 'boolean',
162 -+ value : 'false',
163 -+ description: 'build with TIFF support'
164 -+)
165 -+
166 -+option('libjpeg',
167 -+ type : 'boolean',
168 -+ value : 'false',
169 -+ description: 'build with JPEG support'
170 -+)
171 -+
172 -+option('libpng',
173 -+ type : 'boolean',
174 -+ value : 'false',
175 -+ description: 'build with PNG support'
176 -+)
177 -+
178 -+option('libheif',
179 -+ type : 'boolean',
180 -+ value : 'false',
181 -+ description: 'build with HEIF support'
182 -+)
183 -+
184 -+option('ffms2',
185 -+ type : 'boolean',
186 -+ value : 'false',
187 -+ description: 'build with FFMS2 support'
188 -+)
189 -+
190 -+option('ffmpeg',
191 -+ type : 'boolean',
192 -+ value : 'false',
193 -+ description: 'build with FFmpeg support'
194 -+)
195 -+
196 - option('enable-libcurl',
197 - type: 'combo',
198 - value: 'platform-default',
199 - description: 'Use libcurl instead of GIO',
200 - choices: [ 'yes', 'no', 'platform-default' ]
201 --)
202 -\ No newline at end of file
203 -+)
204 -+
205 -+option('libconfig',
206 -+ type : 'boolean',
207 -+ value : 'true',
208 -+ description: 'build with libconfig support'
209 -+)
210 -+
211 -+option('criterion',
212 -+ type : 'boolean',
213 -+ value : 'false',
214 -+ description: 'build with criterion support'
215 -+)
216 -+
217 -+option('wcslib',
218 -+ type : 'boolean',
219 -+ value : 'false',
220 -+ description: 'build with WCSLIB support'
221 -+)
222
223 diff --git a/sci-astronomy/siril/siril-9999.ebuild b/sci-astronomy/siril/siril-9999.ebuild
224 index 62ed0ef4d3f6..7a9061a16811 100644
225 --- a/sci-astronomy/siril/siril-9999.ebuild
226 +++ b/sci-astronomy/siril/siril-9999.ebuild
227 @@ -48,7 +48,6 @@ RDEPEND="
228
229 PATCHES=(
230 "${FILESDIR}/${PN}-docfiles.patch"
231 - "${FILESDIR}/${PN}-9999-dependencies.patch"
232 )
233
234 DOCS=( README.md NEWS ChangeLog AUTHORS )