1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= GNU internationalization and localization system
8 HOMEPAGE= http://www.gnu.org/software/gettext/
12 SITES[main]= GNU/gettext
13 DISTFILE[1]= gettext-0.22.4.tar.xz:main
15 SPKGS[standard]= complete
26 OPTIONS_AVAILABLE= none
27 OPTIONS_STANDARD= none
29 EXRUN[tools]= gettext:primary:standard
30 EXRUN[bldtools]= gettext:primary:standard
32 USES= charsetfix cpe libtool iconv:build c++:asprintf
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
40 INFO= asprintf:autosprintf
44 FPC_EQUIVALENT= devel/gettext
48 CONFIGURE_ARGS= --disable-csharp
52 --with-included-libcroco
53 --with-included-libunistring
54 --with-included-libxml
58 CONFIGURE_ENV= ac_cv_lib_rt_sched_yield=no
60 INSTALL_TARGET= install-strip
61 INSTALL_REQ_TOOLCHAIN= yes
63 PLIST_SUB= VERSION=0.22
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
79 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libintl.${LIBEXT}
81 ${RM} ${STAGEDIR}${PREFIX}/share/info/libtextstyle.info
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.
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
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
107 [FILE:148:descriptions/desc.primary]
108 GNU gettext is a framework of libraries and tools for internationalisation
109 and localisation of software.
111 This package contains the shared library.
114 [FILE:194:descriptions/desc.asprintf]
115 GNU gettext is a framework of libraries and tools for internationalisation
116 and localisation of software.
118 This package contains the asprintf library which has a runtime dependency
122 [FILE:159:descriptions/desc.tools]
123 GNU gettext is a framework of libraries and tools for internationalisation
124 and localisation of software.
126 This package contains gettext command line programs.
129 [FILE:163:descriptions/desc.bldtools]
130 GNU gettext is a framework of libraries and tools for internationalisation
131 and localisation of software.
133 This package contains development and translation tools.
136 [FILE:230:descriptions/desc.solinks]
137 GNU gettext is a framework of libraries and tools for internationalisation
138 and localisation of software.
140 This package contains symbolic links to the shared libraries, and are
141 used when needing to link to the shared intl library.
145 29217f1816ee2e777fa9a01f9956a14139c0c23cc1b20368f06b2888e8a34116 10255384 gettext-0.22.4.tar.xz
148 [FILE:134:manifests/plist.primary]
150 libintl.so.%%LIBINTL%%
152 %%EXTERNAL%%share/locale/locale.alias
153 %%ONLY-LINUX%%lib/preloadable_libintl.so
156 [FILE:45:manifests/plist.asprintf]
162 [FILE:46:manifests/plist.tools]
170 [FILE:1262:manifests/plist.bldtools]
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%%
210 share/gettext/%%VERSION%%/its/
229 share/gettext/projects/
232 share/gettext/projects/GNOME/
237 share/gettext/projects/KDE/
242 share/gettext/projects/TP/
247 share/gettext/styles/
252 po-emacs-xterm256.css
256 [FILE:419:manifests/plist.dev]
257 %%EXTERNAL%%include/libintl.h
289 [FILE:118:manifests/plist.solinks]
290 %%EXTERNAL%%lib/libintl.so
299 [FILE:2811:manifests/plist.nls]
300 share/locale/ast/LC_MESSAGES/gettext-runtime.mo
301 share/locale/be/LC_MESSAGES/
304 share/locale/bg/LC_MESSAGES/
307 share/locale/ca/LC_MESSAGES/
310 share/locale/cs/LC_MESSAGES/
313 share/locale/da/LC_MESSAGES/
316 share/locale/de/LC_MESSAGES/
319 share/locale/el/LC_MESSAGES/
322 share/locale/en@boldquot/LC_MESSAGES/
325 share/locale/en@quot/LC_MESSAGES/
328 share/locale/eo/LC_MESSAGES/gettext-runtime.mo
329 share/locale/es/LC_MESSAGES/
332 share/locale/et/LC_MESSAGES/
335 share/locale/eu/LC_MESSAGES/gettext-tools.mo
336 share/locale/fi/LC_MESSAGES/
339 share/locale/fr/LC_MESSAGES/
342 share/locale/ga/LC_MESSAGES/gettext-runtime.mo
343 share/locale/gl/LC_MESSAGES/
346 share/locale/hr/LC_MESSAGES/
349 share/locale/hu/LC_MESSAGES/gettext-runtime.mo
350 share/locale/id/LC_MESSAGES/
353 share/locale/it/LC_MESSAGES/
356 share/locale/ja/LC_MESSAGES/
359 share/locale/ka/LC_MESSAGES/gettext-runtime.mo
360 share/locale/ko/LC_MESSAGES/
363 share/locale/nb/LC_MESSAGES/
366 share/locale/nl/LC_MESSAGES/
369 share/locale/nn/LC_MESSAGES/
372 share/locale/pa/LC_MESSAGES/gettext-tools.mo
373 share/locale/pl/LC_MESSAGES/
376 share/locale/pt/LC_MESSAGES/
379 share/locale/pt_BR/LC_MESSAGES/
382 share/locale/ro/LC_MESSAGES/
385 share/locale/ru/LC_MESSAGES/
388 share/locale/sk/LC_MESSAGES/
391 share/locale/sl/LC_MESSAGES/
394 share/locale/sr/LC_MESSAGES/
397 share/locale/sv/LC_MESSAGES/
400 share/locale/tr/LC_MESSAGES/
403 share/locale/uk/LC_MESSAGES/
406 share/locale/vi/LC_MESSAGES/
409 share/locale/zh_CN/LC_MESSAGES/
412 share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo
413 share/locale/zh_TW/LC_MESSAGES/
418 [FILE:504:manifests/plist.man]
442 bind_textdomain_codeset.3.gz
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
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)
463 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
465 @@ -23012,7 +23012,7 @@ extern
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)
472 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
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.
478 - solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*)
479 + solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux* | freebsd* | midnight* | dragon*)
481 printf "%s\n" "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
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)
490 /* Test using pthread_create. */
492 -/* The function to be executed by a dummy thread. */
494 -dummy_thread_func (void *arg)
495 +static pthread_once_t dummy_once_control = PTHREAD_ONCE_INIT;
497 +dummy_once_func (void)
503 @@ -77,19 +76,10 @@ glthread_in_use (void)
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)
515 - /* Thread creation works. */
517 - if (pthread_join (thread, &retval) != 0)
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.
534 - solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*)
535 + solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux* | freebsd* | midnight* | dragon*)
537 printf "%s\n" "#define PTHREAD_IN_USE_DETECTION_HARD 1" >>confdefs.h
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)
546 /* Test using pthread_create. */
548 -/* The function to be executed by a dummy thread. */
550 -dummy_thread_func (void *arg)
551 +static pthread_once_t dummy_once_control = PTHREAD_ONCE_INIT;
553 +dummy_once_func (void)
559 @@ -77,19 +76,10 @@ glthread_in_use (void)
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)
571 - /* Thread creation works. */
573 - if (pthread_join (thread, &retval) != 0)
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)
588 /* Test using pthread_create. */
590 -/* The function to be executed by a dummy thread. */
592 -dummy_thread_func (void *arg)
593 +static pthread_once_t dummy_once_control = PTHREAD_ONCE_INIT;
595 +dummy_once_func (void)
601 @@ -77,19 +76,10 @@ glthread_in_use (void)
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)
613 - /* Thread creation works. */
615 - if (pthread_join (thread, &retval) != 0)
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
631 _USES_build+= 555:assemble_pic
632 _USES_stage+= 555:install_pic
636 (cd ${WRKSRC}/gettext-runtime/intl/.libs &&\
637 ${AR} -cq libintl_pic.a *.o &&\
638 ranlib libintl_pic.a)
641 ${INSTALL_DATA} ${WRKSRC}/gettext-runtime/intl/.libs/libintl_pic.a \
642 ${STAGEDIR}${PREFIX}/lib/