1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= GNU internationalization and localization system
9 HOMEPAGE= http://www.gnu.org/software/gettext/
13 SITES[main]= GNU/gettext
14 DISTFILE[1]= gettext-0.21.1.tar.xz:main
16 SPKGS[standard]= complete
27 OPTIONS_AVAILABLE= none
28 OPTIONS_STANDARD= none
30 EXRUN[tools]= gettext:primary:standard
31 EXRUN[bldtools]= gettext:primary:standard
33 USES= charsetfix cpe libtool iconv:build c++:asprintf
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
41 INFO= asprintf:autosprintf
45 FPC_EQUIVALENT= devel/gettext
49 CONFIGURE_ARGS= --disable-csharp
53 --with-included-libcroco
54 --with-included-libunistring
55 --with-included-libxml
59 CONFIGURE_ENV= ac_cv_lib_rt_sched_yield=no
61 INSTALL_TARGET= install-strip
62 INSTALL_REQ_TOOLCHAIN= yes
64 PLIST_SUB= VERSION=0.21
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
80 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libintl.${LIBEXT}
82 ${RM} ${STAGEDIR}${PREFIX}/share/info/libtextstyle.info
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.
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
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 50dbc8f39797950aa2c98e939947c527e5ac9ebd2c1b99dd7b06ba33a6767ae6 10054564 gettext-0.21.1.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:367:manifests/plist.dev]
257 %%EXTERNAL%%include/libintl.h
286 [FILE:118:manifests/plist.solinks]
287 %%EXTERNAL%%lib/libintl.so
296 [FILE:2744:manifests/plist.nls]
297 share/locale/ast/LC_MESSAGES/gettext-runtime.mo
298 share/locale/be/LC_MESSAGES/
301 share/locale/bg/LC_MESSAGES/
304 share/locale/ca/LC_MESSAGES/
307 share/locale/cs/LC_MESSAGES/
310 share/locale/da/LC_MESSAGES/
313 share/locale/de/LC_MESSAGES/
316 share/locale/el/LC_MESSAGES/
319 share/locale/en@boldquot/LC_MESSAGES/
322 share/locale/en@quot/LC_MESSAGES/
325 share/locale/eo/LC_MESSAGES/gettext-runtime.mo
326 share/locale/es/LC_MESSAGES/
329 share/locale/et/LC_MESSAGES/
332 share/locale/eu/LC_MESSAGES/gettext-tools.mo
333 share/locale/fi/LC_MESSAGES/
336 share/locale/fr/LC_MESSAGES/
339 share/locale/ga/LC_MESSAGES/gettext-runtime.mo
340 share/locale/gl/LC_MESSAGES/
343 share/locale/hr/LC_MESSAGES/gettext-runtime.mo
344 share/locale/hu/LC_MESSAGES/gettext-runtime.mo
345 share/locale/id/LC_MESSAGES/
348 share/locale/it/LC_MESSAGES/
351 share/locale/ja/LC_MESSAGES/
354 share/locale/ko/LC_MESSAGES/
357 share/locale/nb/LC_MESSAGES/
360 share/locale/nl/LC_MESSAGES/
363 share/locale/nn/LC_MESSAGES/
366 share/locale/pa/LC_MESSAGES/gettext-tools.mo
367 share/locale/pl/LC_MESSAGES/
370 share/locale/pt/LC_MESSAGES/
373 share/locale/pt_BR/LC_MESSAGES/
376 share/locale/ro/LC_MESSAGES/
379 share/locale/ru/LC_MESSAGES/
382 share/locale/sk/LC_MESSAGES/
385 share/locale/sl/LC_MESSAGES/
388 share/locale/sr/LC_MESSAGES/
391 share/locale/sv/LC_MESSAGES/
394 share/locale/tr/LC_MESSAGES/
397 share/locale/uk/LC_MESSAGES/
400 share/locale/vi/LC_MESSAGES/
403 share/locale/zh_CN/LC_MESSAGES/
406 share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo
407 share/locale/zh_TW/LC_MESSAGES/
412 [FILE:504:manifests/plist.man]
436 bind_textdomain_codeset.3.gz
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)
452 /* Test using pthread_create. */
454 -/* The function to be executed by a dummy thread. */
456 -dummy_thread_func (void *arg)
457 +static pthread_once_t dummy_once_control = PTHREAD_ONCE_INIT;
459 +dummy_once_func (void)
465 @@ -77,19 +76,10 @@ glthread_in_use (void)
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)
477 - /* Thread creation works. */
479 - if (pthread_join (thread, &retval) != 0)
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)
494 /* Test using pthread_create. */
496 -/* The function to be executed by a dummy thread. */
498 -dummy_thread_func (void *arg)
499 +static pthread_once_t dummy_once_control = PTHREAD_ONCE_INIT;
501 +dummy_once_func (void)
507 @@ -77,19 +76,10 @@ glthread_in_use (void)
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)
519 - /* Thread creation works. */
521 - if (pthread_join (thread, &retval) != 0)
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)
536 /* Test using pthread_create. */
538 -/* The function to be executed by a dummy thread. */
540 -dummy_thread_func (void *arg)
541 +static pthread_once_t dummy_once_control = PTHREAD_ONCE_INIT;
543 +dummy_once_func (void)
549 @@ -77,19 +76,10 @@ glthread_in_use (void)
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)
561 - /* Thread creation works. */
563 - if (pthread_join (thread, &retval) != 0)
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
579 _USES_build+= 555:assemble_pic
580 _USES_stage+= 555:install_pic
584 (cd ${WRKSRC}/gettext-runtime/intl/.libs &&\
585 ${AR} -cq libintl_pic.a *.o &&\
586 ranlib libintl_pic.a)
589 ${INSTALL_DATA} ${WRKSRC}/gettext-runtime/intl/.libs/libintl_pic.a \
590 ${STAGEDIR}${PREFIX}/lib/