pkg-config 1.4.0 → 1.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a83385090e3b6e095368c03006b2c5acd72667ceb0b906f21e5fe0b3a1becf2e
4
- data.tar.gz: 41816b28d440895d76ce10c57c64e323109a893a01a51a0011441dbb8205794f
3
+ metadata.gz: 0a4a54b361004652d84f50b2d4f2cfaaf447ffd2fc97c44490ed7c7751763721
4
+ data.tar.gz: 3ae709328a845092794bca9d2753e5d7867170b5832d7f85023c0692ec1e8178
5
5
  SHA512:
6
- metadata.gz: eee27aa9f295b5f2d3570c1b2caa45790be5d4870c294db31cfeeebc52b512c24ccc8d4a7b406bcb9b189960ba5ddb17b9b17c34f2445517a374dd6acd140e80
7
- data.tar.gz: 5fcace2bbadde0b6dc0f33eba70a90c587dbc339a60637f0020b9bbddc7615332aa40d55b19d52603c5575abbf40c538d0c4c00146bb904a2261d7517687de5b
6
+ metadata.gz: 748e225bef3d590013e8bf3efcc2c0422d6d2a802a65f104f15feebd01bcf526d29b0909b922d444b261c5354a2b6101d549871867f7e5bb95c0bd01da12ba48
7
+ data.tar.gz: 0203aee2b542ca94a0dbf18e7515ff73339b3910931eeb209d19e791f30a63d8a70bf36c500271f68b73a2045abfc60fe6c0a5727e265df01843c893c95e7936
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
- # -*- mode: ruby; coding: utf-8 -*-
1
+ # -*- ruby -*-
2
2
  #
3
- # Copyright (C) 2011-2013 Kouhei Sutou <kou@clear-code.com>
3
+ # Copyright (C) 2011-2025 Sutou Kouhei <kou@clear-code.com>
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -18,3 +18,13 @@
18
18
  source "https://rubygems.org/"
19
19
 
20
20
  gemspec
21
+
22
+ group :development, :test do
23
+ gem "bundler"
24
+ gem "rake"
25
+ end
26
+
27
+ group :test do
28
+ gem "test-unit"
29
+ end
30
+
data/NEWS.md ADDED
@@ -0,0 +1,565 @@
1
+ # NEWS
2
+
3
+ ## 1.6.5 - 2025-12-01
4
+
5
+ ### Improvements
6
+
7
+ * Improved pkgconf compatibility: Removed duplicated `-D`/`-W` flags.
8
+ * [ruby-gnome/pkg-config#43](https://github.com/ruby-gnome/pkg-config/issues/43)
9
+ * Patch by takuya kodama
10
+
11
+ ### Thanks
12
+
13
+ * takuya kodama
14
+
15
+ ## 1.6.4 - 2025-09-03
16
+
17
+ ### Improvements
18
+
19
+ * Added support for continuous line.
20
+ * [ruby-gnome/ruby-gnome#1686](https://github.com/ruby-gnome/ruby-gnome/issues/1686)
21
+ * Reported by Vincent Garrigues
22
+
23
+ ### Thanks
24
+
25
+ * Vincent Garrigues
26
+
27
+ ## 1.6.3 - 2025-08-27
28
+
29
+ ### Improvements
30
+
31
+ * Added support for detecting Homebrew's pkgconfig path by `brew
32
+ --path`.
33
+ * [ruby-gnome/pkg-config#36](https://github.com/ruby-gnome/pkg-config/issues/36)
34
+ * Patch by meredith
35
+
36
+ ### Thanks
37
+
38
+ * meredith
39
+
40
+ ## 1.6.2 - 2025-04-27
41
+
42
+ ### Improvements
43
+
44
+ * Added support for detecting Homebrew's pkgconfig path without
45
+ `pkgconf`.
46
+ * [apche/arrow#46235](https://github.com/apache/arrow/issues/46245)
47
+ * Reported by Shizuo Fujita
48
+
49
+ ### Thanks
50
+
51
+ * Shizuo Fujita
52
+
53
+ ## 1.6.1 - 2025-04-17
54
+
55
+ ### Improvements
56
+
57
+ * Added support for `--with-pkg-config-path`.
58
+ * [ruby-gnome/ruby-gnome#1670](https://github.com/ruby-gnome/ruby-gnome/issues/1670)
59
+ * Reported by Stanisław Pitucha
60
+
61
+ ### Thanks
62
+
63
+ * Stanisław Pitucha
64
+
65
+ ## 1.6.0 - 2025-03-02
66
+
67
+ ### Improvements
68
+
69
+ * Changed to use only one file: `pkg-config.rb`
70
+
71
+ * Removed `English` dependency.
72
+
73
+ ## 1.5.9 - 2025-01-08
74
+
75
+ ### Improvements
76
+
77
+ * Added support for `.pc` that uses UTF-8.
78
+
79
+ ## 1.5.8 - 2024-11-21
80
+
81
+ ### Improvements
82
+
83
+ * Added support for pkgconf.
84
+
85
+ ## 1.5.7 - 2024-10-24
86
+
87
+ ### Improvements
88
+
89
+ * conda: Added support for `${CONDA_PREFIX}/share/pkgconfig`.
90
+
91
+ ### Fixes
92
+
93
+ * Fixed `Cflags` nomralization
94
+
95
+ * GH-25
96
+
97
+ * Reported by Jean byroot Boussier
98
+
99
+ ### Thanks
100
+
101
+ * Jean byroot Boussier
102
+
103
+ ## 1.5.6 - 2023-11-19
104
+
105
+ ### Improvements
106
+
107
+ * Added support for "<" and ">" operators in "Requires:".
108
+
109
+ GH-23
110
+
111
+ Patch by Daisuke Fujimura
112
+
113
+ ### Thanks
114
+
115
+ * Daisuke Fujimura
116
+
117
+ ## 1.5.5 - 2023-09-05
118
+
119
+ ### Fixes
120
+
121
+ * Fixed a bug in 1.5.4 that success detection doesn't work.
122
+
123
+ ## 1.5.4 - 2023-09-05
124
+
125
+ ### Improvements
126
+
127
+ * Added package version to unsatisfied version is only found case.
128
+
129
+ ## 1.5.3 - 2023-08-29
130
+
131
+ ### Improvements
132
+
133
+ * Accepted spaces between "=" and ":". For example, "prefix = /usr"
134
+ is accepted.
135
+
136
+ ## 1.5.2 - 2023-06-25
137
+
138
+ ### Improvements
139
+
140
+ * Added support for conda.
141
+
142
+ ## 1.5.1 - 2022-11-23
143
+
144
+ ### Improvements
145
+
146
+ * Improved the default search path. "/usr" in "/usr/bin/pkg-config"
147
+ isn't used for buidling the default search path if "pkg-config
148
+ --variable=pc_path pkg-config" is available.
149
+ [Reported by Watson][GitHub:#22]
150
+
151
+ ## 1.5.0 - 2022-11-23
152
+
153
+ ### Improvements
154
+
155
+ * Improved the default search path. "pkg-config --variable=pc_path
156
+ pkg-config" is used as the default search path if it's available.
157
+ [Reported by Watson][GitHub:#22]
158
+
159
+ ## 1.4.9 - 2022-07-31
160
+
161
+ This is a bug fix release of 1.4.8. All 1.4.8 users should be upgraded
162
+ to 1.4.9.
163
+
164
+ ### Fixes
165
+
166
+ * Fixed a regression bug in 1.4.8 that PkgConfig.have_package can't
167
+ detect nonexistent package.
168
+
169
+ ## 1.4.8 - 2022-07-30
170
+
171
+ ### Improvements
172
+
173
+ * Added support for showing found package version.
174
+
175
+ ## 1.4.7 - 2022-01-16
176
+
177
+ ### Improvements
178
+
179
+ * Added support for RubyInstaller2 3.1 or later.
180
+ [Reported by golirev][GitHub:ruby-gnome/ruby-gnome#1457]
181
+
182
+ ### Thanks
183
+
184
+ * golirev
185
+
186
+ ## 1.4.6 - 2021-04-12
187
+
188
+ ### Improvements
189
+
190
+ * Improved support for .pc detection installed by Homebrew.
191
+ [Reported by Evan Shea][GitHub:rcairo/rcairo#66]
192
+
193
+ ### Thanks
194
+
195
+ * Evan Shea
196
+
197
+ ## 1.4.5 - 2021-02-04
198
+
199
+ ### Improvements
200
+
201
+ * Added support for macOS 11.2.
202
+ [Reported by Ludovic Moutury][GitHub:rcairo/rcairo#69]
203
+
204
+ ### Thanks
205
+
206
+ * Ludovic Moutury
207
+
208
+ ## 1.4.4 - 2020-09-23
209
+
210
+ ### Fixes
211
+
212
+ * Fixed a bug that NoMethodError instead of
213
+ PackageConfig::NotFoundError is raised.
214
+ [GitHub#21][Fixed by kojix2]
215
+
216
+ ### Thanks
217
+
218
+ * kojix2
219
+
220
+ ## 1.4.3 - 2020-09-15
221
+
222
+ ### Improvements
223
+
224
+ * Changed to use PackageConfig::NotFoundError instead of RuntimeError
225
+ for exception on no .pc is found.
226
+
227
+ ## 1.4.2 - 2020-08-10
228
+
229
+ ### Improvements
230
+
231
+ * Added support for detecting pkgconfig path on RubyInstaller
232
+ without "ridk exec".
233
+
234
+ ## 1.4.1 - 2020-02-10
235
+
236
+ ### Improvements
237
+
238
+ * Added support for cycled depended .pc such as freetype2.pc and
239
+ harfbuzz.pc on PLD Linux.
240
+ [Reported by Jakub Bogusz]
241
+
242
+ ### Thanks
243
+
244
+ * Jakub Bogusz
245
+
246
+ ## 1.4.0 - 2019-10-24
247
+
248
+ ### Improvements
249
+
250
+ * Improved Homebrew detection.
251
+
252
+ ## 1.3.9 - 2019-09-28
253
+
254
+ ### Improvements
255
+
256
+ * Added support for absolute path in Requires.
257
+ [GitHub#18][Reported by Josh Huckabee]
258
+
259
+ ### Thanks
260
+
261
+ * Josh Huckabee
262
+
263
+ ## 1.3.8 - 2019-08-13
264
+
265
+ ### Improvements
266
+
267
+ * Added support for -framework on macOS.
268
+ [GitHub:ruby-gnome2/ruby-gnome2#1287][Reported by Viko]
269
+
270
+ ### Thanks
271
+
272
+ * Viko
273
+
274
+ ## 1.3.7 - 2019-03-17
275
+
276
+ ### Improvements
277
+
278
+ * Added support for alphabet and _ only version.
279
+ [GitHub#17][Reported by xiejiangzhi]
280
+
281
+ ### Thanks
282
+
283
+ * xiejiangzhi
284
+
285
+ ## 1.3.6 - 2019-03-09
286
+
287
+ ### Improvements
288
+
289
+ * Added support for Homebrew environment without pkg-config formula.
290
+
291
+ ## 1.3.5 - 2019-03-08
292
+
293
+ ### Fixes
294
+
295
+ * Fixed MSYS2 detection installed at non standard folder.
296
+ [GitHub:ruby-gnome2/ruby-gnome2#1271][Reported by Simon Arnaud]
297
+
298
+ ### Thanks
299
+
300
+ * Simon Arnaud
301
+
302
+ ## 1.3.4 - 2019-02-19
303
+
304
+ ### Fixes
305
+
306
+ * Fixed 32bit MinGW Ruby detection.
307
+ [GitHub:ruby-gnome2/ruby-gnome2#1274][Reported by noanoa07]
308
+
309
+ ### Thanks
310
+
311
+ * noanoa07
312
+
313
+ ## 1.3.3 - 2019-02-10
314
+
315
+ ### Improvements
316
+
317
+ * Improved MSYS2 detection on Windows.
318
+ [GitHub#16][Reported by dsisnero]
319
+
320
+ ### Thanks
321
+
322
+ * dsisnero
323
+
324
+ ## 1.3.2 - 2018-11-03
325
+
326
+ ### Improvements
327
+
328
+ * Added support for Ruby installed by RubyInstaller for Windows with
329
+ MSYS2-Devkit.
330
+
331
+ ## 1.3.1 - 2018-04-28
332
+
333
+ ### Improvements
334
+
335
+ * Changed search order to find C flags.
336
+ [GitHub#6][Reported by HIGUCHI Daisuke]
337
+ * Before: Requires -> Requires.private
338
+ * After: Requires.private -> Requires
339
+
340
+ ### Thanks
341
+
342
+ * HIGUCHI Daisuke
343
+
344
+ ## 1.3.0 - 2018-04-10
345
+
346
+ ### Improvements
347
+
348
+ * Added Ruby 2.0 on Ubuntu Trusty again.
349
+
350
+ ## 1.2.9 - 2018-01-13
351
+
352
+ ### Improvements
353
+
354
+ * Added more default paths for OpenBSD.
355
+ [GitHub#15][Reported by clintpachl]
356
+
357
+ ### Thanks
358
+
359
+ * clintpachl
360
+
361
+ ## 1.2.8 - 2017-10-19
362
+
363
+ ### Improvements
364
+
365
+ * Improved macOS environment detection.
366
+ [Reported by Simeon Manolov]
367
+
368
+ ### Thanks
369
+
370
+ * Simeon Manolov
371
+
372
+ ## 1.2.7 - 2017-08-16
373
+
374
+ ### Improvements
375
+
376
+ * Improved Homebrew repository detection.
377
+ [Reported by Wyatt Kirby]
378
+
379
+ ### Thanks
380
+
381
+ * Wyatt Kirby
382
+
383
+ ## 1.2.6 - 2017-08-13
384
+
385
+ ### Improvements
386
+
387
+ * Improved Homebrew repository detection.
388
+
389
+ ## 1.2.5 - 2017-08-10
390
+
391
+ ### Improvements
392
+
393
+ * Supported Homebrew bundled .pc files.
394
+ [GitHub:rcairo/rcairo#49][Reported by choboy11]
395
+
396
+ ### Thanks
397
+
398
+ * choboy11
399
+
400
+ ## 1.2.4 - 2017-08-07
401
+
402
+ ### Improvements
403
+
404
+ * Added `pkg-config` 0.29 or later compatible result support.
405
+ [GitHub#13][Reported by HIGUCHI Daisuke]
406
+
407
+ * test: Updated expected value for the latest cairo.
408
+ [GitHub#14][Patch by HIGUCHI Daisuke]
409
+
410
+ ### Thanks
411
+
412
+ * HIGUCHI Daisuke
413
+
414
+ ## 1.2.3 - 2017-05-29
415
+
416
+ ### Fixes
417
+
418
+ * Supported *-mingw32 Rubies without MSYS2 again.
419
+
420
+ ## 1.2.2 - 2017-05-29
421
+
422
+ ### Improvements
423
+
424
+ * Supported path normalization for MSYS2.
425
+
426
+ ## 1.2.1 - 2017-05-29
427
+
428
+ ### Improvements
429
+
430
+ * Supported MSYS2.
431
+
432
+ ## 1.2.0 - 2017-04-25
433
+
434
+ ### Improvements
435
+
436
+ * Supported x32 environment. [GitHub#12][Reported by Elan Ruusamäe]
437
+
438
+ ### Thanks
439
+
440
+ * Elan Ruusamäe
441
+
442
+ ## 1.1.9 - 2017-04-20
443
+
444
+ * Supported C++ compiler.
445
+
446
+ ## 1.1.8 - 2017-04-19
447
+
448
+ * Stopped to require mkmf.
449
+
450
+ ## 1.1.7 - 2015-01-16
451
+
452
+ * Added path for FreeBSD to default paths.
453
+ [Reported by Hajime UMEMOTO]
454
+
455
+ ### Thanks
456
+
457
+ * Hajime UMEMOTO
458
+
459
+ ## 1.1.6 - 2014/11/12
460
+
461
+ * Supported Ruby 2.1.
462
+ [GitHub:ruby-gnome2/ruby-gnome2#262][Reported by Steve Wills]
463
+
464
+ ### Thanks
465
+
466
+ * Steve Wills
467
+
468
+ ## 1.1.5 - 2013/12/29
469
+
470
+ * Supported XQuartz.
471
+ [GitHub:#10][Patch by Masafumi Yokoyama]
472
+
473
+ ### Thanks
474
+
475
+ * Masafumi Yokoyama
476
+
477
+ ## 1.1.4 - 2012/08/02
478
+
479
+ * Supported mswin64 as MSVC environment.
480
+
481
+ ## 1.1.3 - 2012/01/29
482
+
483
+ * [GitHub #8] fix test broken by libpng version.
484
+ (Patch by Bohuslav Kabrda.)
485
+ * Used RbConfig instead of Config.
486
+
487
+ ### Thanks
488
+
489
+ * Bohuslav Kabrda
490
+
491
+ ## 1.1.2 - 2011/07/04
492
+
493
+ * [GitHub #2] fix test broken.
494
+ (Reported by Mamoru Tasaka.)
495
+ * [GitHub #4] update project descripton.
496
+ (Patch by Antonio Terceiro.)
497
+ * [GitHub #4] use setup.rb instead of extconf.rb.
498
+ (Patch by Antonio Terceiro.)
499
+ * [GitHub #3] add Copyright notice to README.
500
+ (Suggested by Antonio Terceiro.)
501
+ * [GitHub #7] supported non i386 and amd64 architectures.
502
+ (Reported by Antonio Terceiro.)
503
+
504
+ ### Thanks
505
+
506
+ * Mamoru Tasaka
507
+ * Antonio Terceiro
508
+
509
+ ## 1.1.1 - 2011/05/03
510
+
511
+ * [ruby-gnome-devel-en] add
512
+ /usr/lib/i386-linux-gnu/pkgconfig to the default paths.
513
+ (Reported by Andrea B.C.)
514
+
515
+ ### Thanks
516
+
517
+ * Funky Bibimba
518
+
519
+ ## 1.1.0 - 2011/04/03
520
+
521
+ * [#3270846] add /usr/lib/x86_64-linux-gnu/pkgconfig to default paths.
522
+ (Reported by Funky Bibimbap)
523
+
524
+ ### Thanks
525
+
526
+ * Funky Bibimba
527
+
528
+ ## 1.0.8 - 2011/01/30
529
+
530
+ * fix a bug that multiple PKGConfig.add_path doesn't work.
531
+
532
+ ## 1.0.7 - 2010/09/30
533
+
534
+ * suppress warnings on Ruby 1.9.
535
+
536
+ ## 1.0.6 - 2010/09/23
537
+
538
+ * add PKGConfig.libs_only_L.
539
+
540
+ ## 1.0.5 - 2010/09/23
541
+
542
+ * suppress duplicated configure arguments processing.
543
+ * use mkmf.rb message functions.
544
+
545
+ ## 1.0.4 - 2010/09/23
546
+
547
+ * add PKGConfig.variable.
548
+
549
+ ## 1.0.3 - 2010/09/07
550
+
551
+ * add path and override_variable customize API.
552
+ * support description.
553
+
554
+ ## 1.0.2 - 2010/09/02
555
+
556
+ * fix packaing miss.
557
+
558
+ ## 1.0.1 - 2010/09/02
559
+
560
+ * support installing without gem.
561
+
562
+ ## 1.0.0 - 2010/09/02
563
+
564
+ * Initial release!
565
+
data/README.rdoc CHANGED
@@ -8,17 +8,13 @@ pkg-config
8
8
 
9
9
  A pkg-config implementation by Ruby.
10
10
 
11
- == Dependencies
12
-
13
- * ruby >= 1.8 (1.9.2 is also supported!)
14
-
15
11
  == Install
16
12
 
17
13
  # gem install pkg-config
18
14
 
19
15
  == Documents
20
16
 
21
- * TODO
17
+ * https://rubydoc.info/gems/pkg-config
22
18
 
23
19
  == Source
24
20
 
@@ -27,7 +23,7 @@ http://github.com/ruby-gnome/pkg-config
27
23
 
28
24
  == Copyright
29
25
 
30
- Copyright 2008-2019 Kouhei Sutou <kou@clear-code.com>
26
+ Copyright 2008-2020 Kouhei Sutou <kou@clear-code.com>
31
27
 
32
28
  This library is free software; you can redistribute it and/or
33
29
  modify it under the terms of the GNU Lesser General Public
@@ -45,10 +41,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
45
41
 
46
42
  See LGPL-2.1 file for details.
47
43
 
48
- == Mailing list
49
-
50
- TODO
51
-
52
44
  == Thanks
53
45
 
54
46
  * Funky Bibimbap
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
- # -*- coding: utf-8; mode: ruby -*-
1
+ # -*- ruby -*-
2
2
  #
3
- # Copyright (C) 2010-2012 Kouhei Sutou <kou@clear-code.com>
3
+ # Copyright (C) 2010-2025 Sutou Kouhei <kou@clear-code.com>
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -33,5 +33,9 @@ spec = helper.gemspec
33
33
 
34
34
  desc "Run tests"
35
35
  task :test do
36
- ruby("test/run-test.rb")
36
+ ruby("test/run.rb")
37
37
  end
38
+
39
+ release_task = Rake.application["release"]
40
+ # We use Trusted Publishing.
41
+ release_task.prerequisites.delete("release:rubygem_push")