Ravenports generated: 04 Feb 2024 05:27
[ravenports.git] / bucket_2C / gettext
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               gettext
4 VERSION=                0.22.4
5 KEYWORDS=               devel
6 VARIANTS=               standard
7 SDESC[standard]=        GNU internationalization and localization system
8 HOMEPAGE=               http://www.gnu.org/software/gettext/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GNU/gettext
13 DISTFILE[1]=            gettext-0.22.4.tar.xz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         asprintf
18                         tools
19                         bldtools
20                         dev
21                         solinks
22                         nls
23                         man
24                         docs
25
26 OPTIONS_AVAILABLE=      none
27 OPTIONS_STANDARD=       none
28
29 EXRUN[tools]=           gettext:primary:standard
30 EXRUN[bldtools]=        gettext:primary:standard
31
32 USES=                   charsetfix cpe libtool iconv:build c++:asprintf
33
34 LICENSE=                GPLv3+:primary LGPL21+:primary
35 LICENSE_TERMS=          primary:{{WRKDIR}}/TERMS
36 LICENSE_FILE=           GPLv3+:{{WRKSRC}}/COPYING
37                         LGPL21+:{{WRKSRC}}/gettext-runtime/intl/COPYING.LIB
38 LICENSE_SCHEME=         multi
39
40 INFO=                   asprintf:autosprintf
41                         tools:gettext
42 CPE_PRODUCT=            gettext
43 CPE_VENDOR=             gnu
44 FPC_EQUIVALENT=         devel/gettext
45 INFO_SUBDIR=            .
46
47 MUST_CONFIGURE=         gnu
48 CONFIGURE_ARGS=         --disable-csharp
49                         --disable-java
50                         --disable-openmp
51                         --with-included-glib
52                         --with-included-libcroco
53                         --with-included-libunistring
54                         --with-included-libxml
55                         --with-xz
56                         --without-emacs
57                         --without-git
58 CONFIGURE_ENV=          ac_cv_lib_rt_sched_yield=no
59
60 INSTALL_TARGET=         install-strip
61 INSTALL_REQ_TOOLCHAIN=  yes
62 SOVERSION=              0.22.4
63 PLIST_SUB=              VERSION=0.22
64                         PO_SOVERSION=0.5.10
65                         PO_SOMAJOR=0
66                         LIBINTL=8.4.0
67                         GTS_SOMAJOR=0
68                         GTS_SOVERSION=0.2.1
69                         EXTERNAL={{EXTERNAL}}
70
71 TEST_TARGET=            check
72
73 post-install:
74         ${MV} ${STAGEDIR}${PREFIX}/share/gettext-0.22.4 \
75                 ${STAGEDIR}${PREFIX}/share/gettext/0.22
76 .if "${.MAKE.OS.NAME}" == "Linux"
77         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/preloadable_libintl.so
78 .else
79         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libintl.${LIBEXT}
80 .endif
81         ${RM} ${STAGEDIR}${PREFIX}/share/info/libtextstyle.info
82
83 pre-configure:
84         # Do not install csharp and java documentation.
85         ${REINPLACE_CMD} -E '/^SUBDIRS =/s/(intl-csharp|intl-java)//g' \
86                 ${WRKSRC}/gettext-runtime/Makefile.in
87         # Do not install html copies of manpages.
88         ${REINPLACE_CMD} \
89                 -e '/^all-local:/s/html-local//' \
90                 -e '/^install-data-local:/s/install-html//' \
91                 -e '/^installdirs-local:/s/installdirs-html//' \
92                 ${WRKSRC}/gettext-runtime/libasprintf/Makefile.in \
93                 ${WRKSRC}/gettext-runtime/man/Makefile.in
94         # use libiconv_pic.a instead of libiconv.so
95         ${REINPLACE_CMD} -e "s|names_next_round='iconv '|names_next_round='iconv_pic '|" \
96                 ${WRKSRC}/gettext-tools/configure \
97                 ${WRKSRC}/gettext-runtime/configure \
98                 ${WRKSRC}/gettext-runtime/intl/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 29217f1816ee2e777fa9a01f9956a14139c0c23cc1b20368f06b2888e8a34116     10255384 gettext-0.22.4.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:419: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  libgettextlib.a
272  libgettextpo.a
273  libgettextsrc.a
274  libtextstyle.a
275 share/aclocal/
276  build-to-host.m4
277  gettext.m4
278  host-cpu-c-abi.m4
279  iconv.m4
280  intlmacosx.m4
281  lib-ld.m4
282  lib-link.m4
283  lib-prefix.m4
284  nls.m4
285  po.m4
286  progtest.m4
287
288
289 [FILE:118:manifests/plist.solinks]
290 %%EXTERNAL%%lib/libintl.so
291 lib/
292  libasprintf.so
293  libgettextlib.so
294  libgettextpo.so
295  libgettextsrc.so
296  libtextstyle.so
297
298
299 [FILE:2811:manifests/plist.nls]
300 share/locale/ast/LC_MESSAGES/gettext-runtime.mo
301 share/locale/be/LC_MESSAGES/
302  gettext-runtime.mo
303  gettext-tools.mo
304 share/locale/bg/LC_MESSAGES/
305  gettext-runtime.mo
306  gettext-tools.mo
307 share/locale/ca/LC_MESSAGES/
308  gettext-runtime.mo
309  gettext-tools.mo
310 share/locale/cs/LC_MESSAGES/
311  gettext-runtime.mo
312  gettext-tools.mo
313 share/locale/da/LC_MESSAGES/
314  gettext-runtime.mo
315  gettext-tools.mo
316 share/locale/de/LC_MESSAGES/
317  gettext-runtime.mo
318  gettext-tools.mo
319 share/locale/el/LC_MESSAGES/
320  gettext-runtime.mo
321  gettext-tools.mo
322 share/locale/en@boldquot/LC_MESSAGES/
323  gettext-runtime.mo
324  gettext-tools.mo
325 share/locale/en@quot/LC_MESSAGES/
326  gettext-runtime.mo
327  gettext-tools.mo
328 share/locale/eo/LC_MESSAGES/gettext-runtime.mo
329 share/locale/es/LC_MESSAGES/
330  gettext-runtime.mo
331  gettext-tools.mo
332 share/locale/et/LC_MESSAGES/
333  gettext-runtime.mo
334  gettext-tools.mo
335 share/locale/eu/LC_MESSAGES/gettext-tools.mo
336 share/locale/fi/LC_MESSAGES/
337  gettext-runtime.mo
338  gettext-tools.mo
339 share/locale/fr/LC_MESSAGES/
340  gettext-runtime.mo
341  gettext-tools.mo
342 share/locale/ga/LC_MESSAGES/gettext-runtime.mo
343 share/locale/gl/LC_MESSAGES/
344  gettext-runtime.mo
345  gettext-tools.mo
346 share/locale/hr/LC_MESSAGES/
347  gettext-runtime.mo
348  gettext-tools.mo
349 share/locale/hu/LC_MESSAGES/gettext-runtime.mo
350 share/locale/id/LC_MESSAGES/
351  gettext-runtime.mo
352  gettext-tools.mo
353 share/locale/it/LC_MESSAGES/
354  gettext-runtime.mo
355  gettext-tools.mo
356 share/locale/ja/LC_MESSAGES/
357  gettext-runtime.mo
358  gettext-tools.mo
359 share/locale/ka/LC_MESSAGES/gettext-runtime.mo
360 share/locale/ko/LC_MESSAGES/
361  gettext-runtime.mo
362  gettext-tools.mo
363 share/locale/nb/LC_MESSAGES/
364  gettext-runtime.mo
365  gettext-tools.mo
366 share/locale/nl/LC_MESSAGES/
367  gettext-runtime.mo
368  gettext-tools.mo
369 share/locale/nn/LC_MESSAGES/
370  gettext-runtime.mo
371  gettext-tools.mo
372 share/locale/pa/LC_MESSAGES/gettext-tools.mo
373 share/locale/pl/LC_MESSAGES/
374  gettext-runtime.mo
375  gettext-tools.mo
376 share/locale/pt/LC_MESSAGES/
377  gettext-runtime.mo
378  gettext-tools.mo
379 share/locale/pt_BR/LC_MESSAGES/
380  gettext-runtime.mo
381  gettext-tools.mo
382 share/locale/ro/LC_MESSAGES/
383  gettext-runtime.mo
384  gettext-tools.mo
385 share/locale/ru/LC_MESSAGES/
386  gettext-runtime.mo
387  gettext-tools.mo
388 share/locale/sk/LC_MESSAGES/
389  gettext-runtime.mo
390  gettext-tools.mo
391 share/locale/sl/LC_MESSAGES/
392  gettext-runtime.mo
393  gettext-tools.mo
394 share/locale/sr/LC_MESSAGES/
395  gettext-runtime.mo
396  gettext-tools.mo
397 share/locale/sv/LC_MESSAGES/
398  gettext-runtime.mo
399  gettext-tools.mo
400 share/locale/tr/LC_MESSAGES/
401  gettext-runtime.mo
402  gettext-tools.mo
403 share/locale/uk/LC_MESSAGES/
404  gettext-runtime.mo
405  gettext-tools.mo
406 share/locale/vi/LC_MESSAGES/
407  gettext-runtime.mo
408  gettext-tools.mo
409 share/locale/zh_CN/LC_MESSAGES/
410  gettext-runtime.mo
411  gettext-tools.mo
412 share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo
413 share/locale/zh_TW/LC_MESSAGES/
414  gettext-runtime.mo
415  gettext-tools.mo
416
417
418 [FILE:504:manifests/plist.man]
419 share/man/man1/
420  autopoint.1.gz
421  envsubst.1.gz
422  gettext.1.gz
423  gettextize.1.gz
424  msgattrib.1.gz
425  msgcat.1.gz
426  msgcmp.1.gz
427  msgcomm.1.gz
428  msgconv.1.gz
429  msgen.1.gz
430  msgexec.1.gz
431  msgfilter.1.gz
432  msgfmt.1.gz
433  msggrep.1.gz
434  msginit.1.gz
435  msgmerge.1.gz
436  msgunfmt.1.gz
437  msguniq.1.gz
438  ngettext.1.gz
439  recode-sr-latin.1.gz
440  xgettext.1.gz
441 share/man/man3/
442  bind_textdomain_codeset.3.gz
443  bindtextdomain.3.gz
444  dcgettext.3.gz
445  dcngettext.3.gz
446  dgettext.3.gz
447  dngettext.3.gz
448  gettext.3.gz
449  ngettext.3.gz
450  textdomain.3.gz
451
452
453 [FILE:1133:patches/patch-gettext-runtime_configure]
454 --- gettext-runtime/configure.orig      2023-10-04 14:56:38 UTC
455 +++ gettext-runtime/configure
456 @@ -22974,7 +22974,7 @@ extern
457  "C"
458  #endif
459  const char *_nl_expand_alias (const char *);
460 -#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
461 +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr)
462  #else
463  #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
464  #endif
465 @@ -23012,7 +23012,7 @@ extern
466  "C"
467  #endif
468  const char *_nl_expand_alias (const char *);
469 -#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
470 +#define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr)
471  #else
472  #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
473  #endif
474 @@ -28953,7 +28953,7 @@ then :
475               # On Solaris 10 or newer, this test is no longer needed, because
476               # libc contains the fully functional pthread functions.
477               case "$host_os" in
478 -               solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*)
479 +               solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux* | freebsd* | midnight* | dragon*)
480  
481  printf "%s\n" "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
482  
483
484
485 [FILE:1015:patches/patch-gettext-runtime_intl_gnulib-lib_glthread_threadlib.c]
486 --- gettext-runtime/intl/gnulib-lib/glthread/threadlib.c.orig   2023-09-18 20:35:18 UTC
487 +++ gettext-runtime/intl/gnulib-lib/glthread/threadlib.c
488 @@ -62,11 +62,10 @@ glthread_in_use (void)
489  
490  /* Test using pthread_create.  */
491  
492 -/* The function to be executed by a dummy thread.  */
493 -static void *
494 -dummy_thread_func (void *arg)
495 +static pthread_once_t dummy_once_control = PTHREAD_ONCE_INIT;
496 +static void
497 +dummy_once_func (void)
498  {
499 -  return arg;
500  }
501  
502  int
503 @@ -77,19 +76,10 @@ glthread_in_use (void)
504  
505    if (!tested)
506      {
507 -      pthread_t thread;
508 -
509 -      if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0)
510 -        /* Thread creation failed.  */
511 +      if (pthread_once (&dummy_once_control, dummy_once_func) != 0)
512          result = 0;
513        else
514 -        {
515 -          /* Thread creation works.  */
516 -          void *retval;
517 -          if (pthread_join (thread, &retval) != 0)
518 -            abort ();
519 -          result = 1;
520 -        }
521 +        result = 1;
522        tested = 1;
523      }
524    return result;
525
526
527 [FILE:543:patches/patch-gettext-tools_configure]
528 --- gettext-tools/configure.orig        2023-10-04 14:57:01 UTC
529 +++ gettext-tools/configure
530 @@ -36915,7 +36915,7 @@ then :
531               # On Solaris 10 or newer, this test is no longer needed, because
532               # libc contains the fully functional pthread functions.
533               case "$host_os" in
534 -               solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*)
535 +               solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux* | freebsd* | midnight* | dragon*)
536  
537  printf "%s\n" "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
538  
539
540
541 [FILE:1001:patches/patch-gettext-tools_gnulib-lib_glthread_threadlib.c]
542 --- gettext-tools/gnulib-lib/glthread/threadlib.c.orig  2023-09-18 20:35:52 UTC
543 +++ gettext-tools/gnulib-lib/glthread/threadlib.c
544 @@ -62,11 +62,10 @@ glthread_in_use (void)
545  
546  /* Test using pthread_create.  */
547  
548 -/* The function to be executed by a dummy thread.  */
549 -static void *
550 -dummy_thread_func (void *arg)
551 +static pthread_once_t dummy_once_control = PTHREAD_ONCE_INIT;
552 +static void
553 +dummy_once_func (void)
554  {
555 -  return arg;
556  }
557  
558  int
559 @@ -77,19 +76,10 @@ glthread_in_use (void)
560  
561    if (!tested)
562      {
563 -      pthread_t thread;
564 -
565 -      if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0)
566 -        /* Thread creation failed.  */
567 +      if (pthread_once (&dummy_once_control, dummy_once_func) != 0)
568          result = 0;
569        else
570 -        {
571 -          /* Thread creation works.  */
572 -          void *retval;
573 -          if (pthread_join (thread, &retval) != 0)
574 -            abort ();
575 -          result = 1;
576 -        }
577 +        result = 1;
578        tested = 1;
579      }
580    return result;
581
582
583 [FILE:1005:patches/patch-gettext-tools_libgettextpo_glthread_threadlib.c]
584 --- gettext-tools/libgettextpo/glthread/threadlib.c.orig        2023-09-18 20:36:30 UTC
585 +++ gettext-tools/libgettextpo/glthread/threadlib.c
586 @@ -62,11 +62,10 @@ glthread_in_use (void)
587  
588  /* Test using pthread_create.  */
589  
590 -/* The function to be executed by a dummy thread.  */
591 -static void *
592 -dummy_thread_func (void *arg)
593 +static pthread_once_t dummy_once_control = PTHREAD_ONCE_INIT;
594 +static void
595 +dummy_once_func (void)
596  {
597 -  return arg;
598  }
599  
600  int
601 @@ -77,19 +76,10 @@ glthread_in_use (void)
602  
603    if (!tested)
604      {
605 -      pthread_t thread;
606 -
607 -      if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0)
608 -        /* Thread creation failed.  */
609 +      if (pthread_once (&dummy_once_control, dummy_once_func) != 0)
610          result = 0;
611        else
612 -        {
613 -          /* Thread creation works.  */
614 -          void *retval;
615 -          if (pthread_join (thread, &retval) != 0)
616 -            abort ();
617 -          result = 1;
618 -        }
619 +        result = 1;
620        tested = 1;
621      }
622    return result;
623
624
625 [FILE:433:files/special.mk]
626 # On linux, libintl is part of glibc so libintl.so doesn't get installed
627 .if ${OPSYS} == Linux
628 EXTERNAL="@comment "
629 .else
630 EXTERNAL=""
631 _USES_build+= 555:assemble_pic
632 _USES_stage+= 555:install_pic
633 .endif
634
635 assemble_pic:
636         (cd ${WRKSRC}/gettext-runtime/intl/.libs &&\
637          ${AR} -cq libintl_pic.a *.o &&\
638          ranlib libintl_pic.a)
639
640 install_pic:
641         ${INSTALL_DATA} ${WRKSRC}/gettext-runtime/intl/.libs/libintl_pic.a \
642                 ${STAGEDIR}${PREFIX}/lib/
643