Ravenports generated: 08 Feb 2023 00:14
[ravenports.git] / bucket_2C / gettext
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               gettext
4 VERSION=                0.21.1
5 REVISION=               1
6 KEYWORDS=               devel
7 VARIANTS=               standard
8 SDESC[standard]=        GNU internationalization and localization system
9 HOMEPAGE=               http://www.gnu.org/software/gettext/
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            GNU/gettext
14 DISTFILE[1]=            gettext-0.21.1.tar.xz:main
15 DF_INDEX=               1
16 SPKGS[standard]=        complete
17                         primary
18                         asprintf
19                         tools
20                         bldtools
21                         dev
22                         solinks
23                         nls
24                         man
25                         docs
26
27 OPTIONS_AVAILABLE=      none
28 OPTIONS_STANDARD=       none
29
30 EXRUN[tools]=           gettext:primary:standard
31 EXRUN[bldtools]=        gettext:primary:standard
32
33 USES=                   charsetfix cpe libtool iconv:build c++:asprintf
34
35 LICENSE=                GPLv3+:primary LGPL21+:primary
36 LICENSE_TERMS=          primary:{{WRKDIR}}/TERMS
37 LICENSE_FILE=           GPLv3+:{{WRKSRC}}/COPYING
38                         LGPL21+:{{WRKSRC}}/gettext-runtime/intl/COPYING.LIB
39 LICENSE_SCHEME=         multi
40
41 INFO=                   asprintf:autosprintf
42                         primary:gettext
43 CPE_PRODUCT=            gettext
44 CPE_VENDOR=             gnu
45 FPC_EQUIVALENT=         devel/gettext
46 INFO_SUBDIR=            .
47
48 MUST_CONFIGURE=         gnu
49 CONFIGURE_ARGS=         --disable-csharp
50                         --disable-java
51                         --disable-openmp
52                         --with-included-glib
53                         --with-included-libcroco
54                         --with-included-libunistring
55                         --with-included-libxml
56                         --with-xz
57                         --without-emacs
58                         --without-git
59 CONFIGURE_ENV=          ac_cv_lib_rt_sched_yield=no
60
61 INSTALL_TARGET=         install-strip
62 INSTALL_REQ_TOOLCHAIN=  yes
63 SOVERSION=              0.21.1
64 PLIST_SUB=              VERSION=0.21
65                         PO_SOVERSION=0.5.8
66                         PO_SOMAJOR=0
67                         LIBINTL=8.3.0
68                         GTS_SOMAJOR=0
69                         GTS_SOVERSION=0.1.2
70                         EXTERNAL={{EXTERNAL}}
71
72 TEST_TARGET=            check
73
74 post-install:
75         ${MV} ${STAGEDIR}${PREFIX}/share/gettext-0.21.1 \
76                 ${STAGEDIR}${PREFIX}/share/gettext/0.21
77 .if "${.MAKE.OS.NAME}" == "Linux"
78         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/preloadable_libintl.so
79 .else
80         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libintl.${LIBEXT}
81 .endif
82         ${RM} ${STAGEDIR}${PREFIX}/share/info/libtextstyle.info
83
84 pre-configure:
85         # Do not install csharp and java documentation.
86         ${REINPLACE_CMD} -E '/^SUBDIRS =/s/(intl-csharp|intl-java)//g' \
87                 ${WRKSRC}/gettext-runtime/Makefile.in
88         # Do not install html copies of manpages.
89         ${REINPLACE_CMD} \
90                 -e '/^all-local:/s/html-local//' \
91                 -e '/^install-data-local:/s/install-html//' \
92                 -e '/^installdirs-local:/s/installdirs-html//' \
93                 ${WRKSRC}/gettext-runtime/libasprintf/Makefile.in \
94                 ${WRKSRC}/gettext-runtime/man/Makefile.in
95         # use libiconv_pic.a instead of libiconv.so
96         ${REINPLACE_CMD} -e "s|names_next_round='iconv '|names_next_round='iconv_pic '|" \
97                 ${WRKSRC}/gettext-tools/configure \
98                 ${WRKSRC}/gettext-runtime/configure \
99                 ${WRKSRC}/libtextstyle/configure
100
101 post-extract:
102         ${AWK} '/HAVE_CONFIG_H/ {exit}; {print}' \
103                 ${WRKSRC}/gettext-runtime/src/gettext.c > ${WRKDIR}/TERMS
104         ${AWK} '/HAVE_CONFIG_H/ {exit}; {print}' \
105                 ${WRKSRC}/gettext-runtime/intl/textdomain.c >> ${WRKDIR}/TERMS
106
107 [FILE:148:descriptions/desc.primary]
108 GNU gettext is a framework of libraries and tools for internationalisation
109 and localisation of software.
110
111 This package contains the shared library.
112
113
114 [FILE:194:descriptions/desc.asprintf]
115 GNU gettext is a framework of libraries and tools for internationalisation
116 and localisation of software.
117
118 This package contains the asprintf library which has a runtime dependency
119 on libstdc++.
120
121
122 [FILE:159:descriptions/desc.tools]
123 GNU gettext is a framework of libraries and tools for internationalisation
124 and localisation of software.
125
126 This package contains gettext command line programs.
127
128
129 [FILE:163:descriptions/desc.bldtools]
130 GNU gettext is a framework of libraries and tools for internationalisation
131 and localisation of software.
132
133 This package contains development and translation tools.
134
135
136 [FILE:230:descriptions/desc.solinks]
137 GNU gettext is a framework of libraries and tools for internationalisation
138 and localisation of software.
139
140 This package contains symbolic links to the shared libraries, and are
141 used when needing to link to the shared intl library.
142
143
144 [FILE:100:distinfo]
145 50dbc8f39797950aa2c98e939947c527e5ac9ebd2c1b99dd7b06ba33a6767ae6     10054564 gettext-0.21.1.tar.xz
146
147
148 [FILE:134:manifests/plist.primary]
149 %%EXTERNAL%%lib/
150  libintl.so.%%LIBINTL%%
151  libintl.so.8
152 %%EXTERNAL%%share/locale/locale.alias
153 %%ONLY-LINUX%%lib/preloadable_libintl.so
154
155
156 [FILE:45:manifests/plist.asprintf]
157 lib/
158  libasprintf.so.0
159  libasprintf.so.0.0.0
160
161
162 [FILE:46:manifests/plist.tools]
163 bin/
164  envsubst
165  gettext
166  gettext.sh
167  ngettext
168
169
170 [FILE:1262:manifests/plist.bldtools]
171 bin/
172  autopoint
173  gettextize
174  msgattrib
175  msgcat
176  msgcmp
177  msgcomm
178  msgconv
179  msgen
180  msgexec
181  msgfilter
182  msgfmt
183  msggrep
184  msginit
185  msgmerge
186  msgunfmt
187  msguniq
188  recode-sr-latin
189  xgettext
190 lib/
191  libgettextlib-%%SOVERSION%%.so
192  libgettextpo.so.%%PO_SOMAJOR%%
193  libgettextpo.so.%%PO_SOVERSION%%
194  libgettextsrc-%%SOVERSION%%.so
195  libtextstyle.so.%%GTS_SOMAJOR%%
196  libtextstyle.so.%%GTS_SOVERSION%%
197 lib/gettext/
198  cldr-plurals
199  hostname
200  project-id
201  urlget
202  user-email
203 share/gettext/
204  ABOUT-NLS
205  archive.dir.tar.xz
206  config.rpath
207  gettext.h
208  javaversion.class
209  msgunfmt.tcl
210 share/gettext/%%VERSION%%/its/
211  glade.loc
212  glade1.its
213  glade2.its
214  gsettings.its
215  gsettings.loc
216  gtkbuilder.its
217  metainfo.its
218  metainfo.loc
219 share/gettext/po/
220  Makefile.in.in
221  Makevars.template
222  Rules-quot
223  boldquot.sed
224  en@boldquot.header
225  en@quot.header
226  insert-header.sin
227  quot.sed
228  remove-potcdate.sin
229 share/gettext/projects/
230  index
231  team-address
232 share/gettext/projects/GNOME/
233  team-address
234  teams.html
235  teams.url
236  trigger
237 share/gettext/projects/KDE/
238  team-address
239  teams.html
240  teams.url
241  trigger
242 share/gettext/projects/TP/
243  team-address
244  teams.html
245  teams.url
246  trigger
247 share/gettext/styles/
248  po-default.css
249  po-emacs-x.css
250  po-emacs-xterm.css
251  po-emacs-xterm16.css
252  po-emacs-xterm256.css
253  po-vim.css
254
255
256 [FILE:367:manifests/plist.dev]
257 %%EXTERNAL%%include/libintl.h
258 %%EXTERNAL%%lib/
259  libintl.a
260  libintl_pic.a
261 include/
262  autosprintf.h
263  gettext-po.h
264  textstyle.h
265 include/textstyle/
266  stdbool.h
267  version.h
268  woe32dll.h
269 lib/
270  libasprintf.a
271  libgettextpo.a
272  libtextstyle.a
273 share/aclocal/
274  gettext.m4
275  host-cpu-c-abi.m4
276  iconv.m4
277  intlmacosx.m4
278  lib-ld.m4
279  lib-link.m4
280  lib-prefix.m4
281  nls.m4
282  po.m4
283  progtest.m4
284
285
286 [FILE:118:manifests/plist.solinks]
287 %%EXTERNAL%%lib/libintl.so
288 lib/
289  libasprintf.so
290  libgettextlib.so
291  libgettextpo.so
292  libgettextsrc.so
293  libtextstyle.so
294
295
296 [FILE:2744:manifests/plist.nls]
297 share/locale/ast/LC_MESSAGES/gettext-runtime.mo
298 share/locale/be/LC_MESSAGES/
299  gettext-runtime.mo
300  gettext-tools.mo
301 share/locale/bg/LC_MESSAGES/
302  gettext-runtime.mo
303  gettext-tools.mo
304 share/locale/ca/LC_MESSAGES/
305  gettext-runtime.mo
306  gettext-tools.mo
307 share/locale/cs/LC_MESSAGES/
308  gettext-runtime.mo
309  gettext-tools.mo
310 share/locale/da/LC_MESSAGES/
311  gettext-runtime.mo
312  gettext-tools.mo
313 share/locale/de/LC_MESSAGES/
314  gettext-runtime.mo
315  gettext-tools.mo
316 share/locale/el/LC_MESSAGES/
317  gettext-runtime.mo
318  gettext-tools.mo
319 share/locale/en@boldquot/LC_MESSAGES/
320  gettext-runtime.mo
321  gettext-tools.mo
322 share/locale/en@quot/LC_MESSAGES/
323  gettext-runtime.mo
324  gettext-tools.mo
325 share/locale/eo/LC_MESSAGES/gettext-runtime.mo
326 share/locale/es/LC_MESSAGES/
327  gettext-runtime.mo
328  gettext-tools.mo
329 share/locale/et/LC_MESSAGES/
330  gettext-runtime.mo
331  gettext-tools.mo
332 share/locale/eu/LC_MESSAGES/gettext-tools.mo
333 share/locale/fi/LC_MESSAGES/
334  gettext-runtime.mo
335  gettext-tools.mo
336 share/locale/fr/LC_MESSAGES/
337  gettext-runtime.mo
338  gettext-tools.mo
339 share/locale/ga/LC_MESSAGES/gettext-runtime.mo
340 share/locale/gl/LC_MESSAGES/
341  gettext-runtime.mo
342  gettext-tools.mo
343 share/locale/hr/LC_MESSAGES/gettext-runtime.mo
344 share/locale/hu/LC_MESSAGES/gettext-runtime.mo
345 share/locale/id/LC_MESSAGES/
346  gettext-runtime.mo
347  gettext-tools.mo
348 share/locale/it/LC_MESSAGES/
349  gettext-runtime.mo
350  gettext-tools.mo
351 share/locale/ja/LC_MESSAGES/
352  gettext-runtime.mo
353  gettext-tools.mo
354 share/locale/ko/LC_MESSAGES/
355  gettext-runtime.mo
356  gettext-tools.mo
357 share/locale/nb/LC_MESSAGES/
358  gettext-runtime.mo
359  gettext-tools.mo
360 share/locale/nl/LC_MESSAGES/
361  gettext-runtime.mo
362  gettext-tools.mo
363 share/locale/nn/LC_MESSAGES/
364  gettext-runtime.mo
365  gettext-tools.mo
366 share/locale/pa/LC_MESSAGES/gettext-tools.mo
367 share/locale/pl/LC_MESSAGES/
368  gettext-runtime.mo
369  gettext-tools.mo
370 share/locale/pt/LC_MESSAGES/
371  gettext-runtime.mo
372  gettext-tools.mo
373 share/locale/pt_BR/LC_MESSAGES/
374  gettext-runtime.mo
375  gettext-tools.mo
376 share/locale/ro/LC_MESSAGES/
377  gettext-runtime.mo
378  gettext-tools.mo
379 share/locale/ru/LC_MESSAGES/
380  gettext-runtime.mo
381  gettext-tools.mo
382 share/locale/sk/LC_MESSAGES/
383  gettext-runtime.mo
384  gettext-tools.mo
385 share/locale/sl/LC_MESSAGES/
386  gettext-runtime.mo
387  gettext-tools.mo
388 share/locale/sr/LC_MESSAGES/
389  gettext-runtime.mo
390  gettext-tools.mo
391 share/locale/sv/LC_MESSAGES/
392  gettext-runtime.mo
393  gettext-tools.mo
394 share/locale/tr/LC_MESSAGES/
395  gettext-runtime.mo
396  gettext-tools.mo
397 share/locale/uk/LC_MESSAGES/
398  gettext-runtime.mo
399  gettext-tools.mo
400 share/locale/vi/LC_MESSAGES/
401  gettext-runtime.mo
402  gettext-tools.mo
403 share/locale/zh_CN/LC_MESSAGES/
404  gettext-runtime.mo
405  gettext-tools.mo
406 share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo
407 share/locale/zh_TW/LC_MESSAGES/
408  gettext-runtime.mo
409  gettext-tools.mo
410
411
412 [FILE:504:manifests/plist.man]
413 share/man/man1/
414  autopoint.1.gz
415  envsubst.1.gz
416  gettext.1.gz
417  gettextize.1.gz
418  msgattrib.1.gz
419  msgcat.1.gz
420  msgcmp.1.gz
421  msgcomm.1.gz
422  msgconv.1.gz
423  msgen.1.gz
424  msgexec.1.gz
425  msgfilter.1.gz
426  msgfmt.1.gz
427  msggrep.1.gz
428  msginit.1.gz
429  msgmerge.1.gz
430  msgunfmt.1.gz
431  msguniq.1.gz
432  ngettext.1.gz
433  recode-sr-latin.1.gz
434  xgettext.1.gz
435 share/man/man3/
436  bind_textdomain_codeset.3.gz
437  bindtextdomain.3.gz
438  dcgettext.3.gz
439  dcngettext.3.gz
440  dgettext.3.gz
441  dngettext.3.gz
442  gettext.3.gz
443  ngettext.3.gz
444  textdomain.3.gz
445
446
447 [FILE:975:patches/patch-gettext-runtime_intl_threadlib.c]
448 --- gettext-runtime/intl/threadlib.c.orig       2022-10-09 02:35:42 UTC
449 +++ gettext-runtime/intl/threadlib.c
450 @@ -62,11 +62,10 @@ glthread_in_use (void)
451  
452  /* Test using pthread_create.  */
453  
454 -/* The function to be executed by a dummy thread.  */
455 -static void *
456 -dummy_thread_func (void *arg)
457 +static pthread_once_t dummy_once_control = PTHREAD_ONCE_INIT;
458 +static void
459 +dummy_once_func (void)
460  {
461 -  return arg;
462  }
463  
464  int
465 @@ -77,19 +76,10 @@ glthread_in_use (void)
466  
467    if (!tested)
468      {
469 -      pthread_t thread;
470 -
471 -      if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0)
472 -        /* Thread creation failed.  */
473 +      if (pthread_once (&dummy_once_control, dummy_once_func) != 0)
474          result = 0;
475        else
476 -        {
477 -          /* Thread creation works.  */
478 -          void *retval;
479 -          if (pthread_join (thread, &retval) != 0)
480 -            abort ();
481 -          result = 1;
482 -        }
483 +        result = 1;
484        tested = 1;
485      }
486    return result;
487
488
489 [FILE:1001:patches/patch-gettext-tools_gnulib-lib_glthread_threadlib.c]
490 --- gettext-tools/gnulib-lib/glthread/threadlib.c.orig  2022-09-11 12:45:21 UTC
491 +++ gettext-tools/gnulib-lib/glthread/threadlib.c
492 @@ -62,11 +62,10 @@ glthread_in_use (void)
493  
494  /* Test using pthread_create.  */
495  
496 -/* The function to be executed by a dummy thread.  */
497 -static void *
498 -dummy_thread_func (void *arg)
499 +static pthread_once_t dummy_once_control = PTHREAD_ONCE_INIT;
500 +static void
501 +dummy_once_func (void)
502  {
503 -  return arg;
504  }
505  
506  int
507 @@ -77,19 +76,10 @@ glthread_in_use (void)
508  
509    if (!tested)
510      {
511 -      pthread_t thread;
512 -
513 -      if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0)
514 -        /* Thread creation failed.  */
515 +      if (pthread_once (&dummy_once_control, dummy_once_func) != 0)
516          result = 0;
517        else
518 -        {
519 -          /* Thread creation works.  */
520 -          void *retval;
521 -          if (pthread_join (thread, &retval) != 0)
522 -            abort ();
523 -          result = 1;
524 -        }
525 +        result = 1;
526        tested = 1;
527      }
528    return result;
529
530
531 [FILE:1005:patches/patch-gettext-tools_libgettextpo_glthread_threadlib.c]
532 --- gettext-tools/libgettextpo/glthread/threadlib.c.orig        2022-09-11 12:47:51 UTC
533 +++ gettext-tools/libgettextpo/glthread/threadlib.c
534 @@ -62,11 +62,10 @@ glthread_in_use (void)
535  
536  /* Test using pthread_create.  */
537  
538 -/* The function to be executed by a dummy thread.  */
539 -static void *
540 -dummy_thread_func (void *arg)
541 +static pthread_once_t dummy_once_control = PTHREAD_ONCE_INIT;
542 +static void
543 +dummy_once_func (void)
544  {
545 -  return arg;
546  }
547  
548  int
549 @@ -77,19 +76,10 @@ glthread_in_use (void)
550  
551    if (!tested)
552      {
553 -      pthread_t thread;
554 -
555 -      if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0)
556 -        /* Thread creation failed.  */
557 +      if (pthread_once (&dummy_once_control, dummy_once_func) != 0)
558          result = 0;
559        else
560 -        {
561 -          /* Thread creation works.  */
562 -          void *retval;
563 -          if (pthread_join (thread, &retval) != 0)
564 -            abort ();
565 -          result = 1;
566 -        }
567 +        result = 1;
568        tested = 1;
569      }
570    return result;
571
572
573 [FILE:433:files/special.mk]
574 # On linux, libintl is part of glibc so libintl.so doesn't get installed
575 .if ${OPSYS} == Linux
576 EXTERNAL="@comment "
577 .else
578 EXTERNAL=""
579 _USES_build+= 555:assemble_pic
580 _USES_stage+= 555:install_pic
581 .endif
582
583 assemble_pic:
584         (cd ${WRKSRC}/gettext-runtime/intl/.libs &&\
585          ${AR} -cq libintl_pic.a *.o &&\
586          ranlib libintl_pic.a)
587
588 install_pic:
589         ${INSTALL_DATA} ${WRKSRC}/gettext-runtime/intl/.libs/libintl_pic.a \
590                 ${STAGEDIR}${PREFIX}/lib/
591