1
0

72 Commits

Author SHA256 Message Date
62affc6d77 Accepting request 1249829 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1249829
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=98
2025-03-04 17:31:35 +00:00
bad31401bb - Fix crash while handling po files with malformed header and
process them properly
  (0003-Fix-malformed-header-processing.patch, boo#1227316).

OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=204
2025-03-03 14:13:22 +00:00
ca82824d8e Accepting request 1202933 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1202933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=97
2024-09-25 19:51:11 +00:00
97d317b6ed Move envsubst requires into main package, gettext.sh is not part of gettext-tools, but gettext-runtime, fixes boo#1227070
OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=202
2024-09-24 11:53:01 +00:00
d555f64a28 Accepting request 1188352 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1188352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=96
2024-07-19 13:24:55 +00:00
ec7297c8a9 Accepting request 1179033 from Base:System
I try again:

address the issues between gettext-runtime and the -mini flavor:
  + envsubst-mini and envsubst need to conflict (as they do on file level)
  + Ensure envsubst-mini is never used outside of OBS with the relevant requires

sync the changes and spec file by actually calling pre_checkin.sh - not syncing stuff manually (forwarded request 1179032 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1179033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=95
2024-06-13 13:37:24 +00:00
36ab533fda Accepting request 1177111 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1177111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=94
2024-05-30 13:32:01 +00:00
691ee32ce1 Accepting request 1169615 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1169615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=93
2024-05-17 18:03:46 +00:00
8832f5aa96 Accepting request 1166886 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1166886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=92
2024-04-14 09:53:29 +00:00
17e6fbe660 Accepting request 1154014 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1154014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=91
2024-03-06 22:02:50 +00:00
107580e42f Accepting request 1084722 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1084722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=90
2023-05-05 13:56:42 +00:00
53674ef72e Accepting request 1030692 from Base:System
- Update to Version 0.21.1
  
  * Runtime behaviour:
    - On AIX, locale names with a script or with an uppercase language are now
      supported.
      For example, sr_Cyrl_RS.UTF-8 is treated like sr_RS.UTF-8@cyrillic, and
      EN_US.UTF-8 is treated like en_US.UTF-8.
  
  * The base Unicode standard is now updated to 14.0.0.
  
  * Portability:
    - Building on macOS 11/arm64 is now supported.
    - Building on Linux/powerpc64le with glibc ≥ 2.35 is now supported.

- update keyring for the last version update 

- Update to Version 0.21.1
  
  * Runtime behaviour:
    - On AIX, locale names with a script or with an uppercase language are now
      supported.
      For example, sr_Cyrl_RS.UTF-8 is treated like sr_RS.UTF-8@cyrillic, and
      EN_US.UTF-8 is treated like en_US.UTF-8.
  
  * The base Unicode standard is now updated to 14.0.0.
  
  * Portability:
    - Building on macOS 11/arm64 is now supported.
    - Building on Linux/powerpc64le with glibc ≥ 2.35 is now supported.

OBS-URL: https://build.opensuse.org/request/show/1030692
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=89
2022-10-27 11:52:04 +00:00
6c31201b39 Accepting request 970778 from Base:System
OBS-URL: https://build.opensuse.org/request/show/970778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=88
2022-04-23 17:44:52 +00:00
dbd4335153 Accepting request 937737 from Base:System
OBS-URL: https://build.opensuse.org/request/show/937737
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=87
2021-12-13 19:42:06 +00:00
b58f8fbc2f Accepting request 866400 from Base:System
- use https for urls
- spec-cleaner run 
- apply all the patches from gettext-runtime

- use https for urls 
- apply all the patches from gettext-runtime

- fixup libtextstyle autofoo with adding 
  use-acinit-for-libtextstyle.patch 

- fixup libtextstyle autofoo with adding 
  use-acinit-for-libtextstyle.patch 

- Reintroduce autoreconf call

OBS-URL: https://build.opensuse.org/request/show/866400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=86
2021-01-26 13:43:52 +00:00
dc271cf27b Accepting request 825378 from Base:System
OBS-URL: https://build.opensuse.org/request/show/825378
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=85
2020-10-06 15:05:56 +00:00
db8607cd89 Accepting request 819371 from Base:System
OBS-URL: https://build.opensuse.org/request/show/819371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=84
2020-07-15 09:11:21 +00:00
29fcb95303 Accepting request 799885 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/799885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=83
2020-05-11 11:25:28 +00:00
a02ee2d57f Accepting request 768034 from Base:System
OBS-URL: https://build.opensuse.org/request/show/768034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=82
2020-02-04 18:51:06 +00:00
607774e225 Accepting request 765780 from Base:System
OBS-URL: https://build.opensuse.org/request/show/765780
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=81
2020-01-25 12:22:44 +00:00
0514fc16ae Accepting request 712738 from Base:System
OBS-URL: https://build.opensuse.org/request/show/712738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=80
2019-07-08 13:08:51 +00:00
d184888ca7 Accepting request 706696 from Base:System
- reproducible.patch: generate timestamp in .pot files from SOURCE_DATE_EPOCH
  for reproducible builds

- reproducible.patch: generate timestamp in .pot files from SOURCE_DATE_EPOCH
  for reproducible builds (forwarded request 705693 from msmeissn)

OBS-URL: https://build.opensuse.org/request/show/706696
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=79
2019-06-12 11:06:26 +00:00
7a8f5fac1c Accepting request 681653 from Base:System
OBS-URL: https://build.opensuse.org/request/show/681653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=78
2019-03-08 11:00:42 +00:00
232a549d12 Accepting request 640592 from Base:System
OBS-URL: https://build.opensuse.org/request/show/640592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=77
2018-10-22 09:01:16 +00:00
81dc3d16b3 Accepting request 636595 from Base:System
- Add patch msgfmt-reset-msg-length-after-remove.patch
  which does reset the length of message string after a line
  has been removed (boo#1106843)

OBS-URL: https://build.opensuse.org/request/show/636595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=76
2018-10-01 07:02:05 +00:00
fbdeb4f359 Accepting request 612689 from Base:System
OBS-URL: https://build.opensuse.org/request/show/612689
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=75
2018-06-03 10:28:18 +00:00
06edc1251b Accepting request 608996 from Base:System
OBS-URL: https://build.opensuse.org/request/show/608996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=74
2018-05-22 14:57:44 +00:00
c60de107e2 Accepting request 601635 from Base:System
OBS-URL: https://build.opensuse.org/request/show/601635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=73
2018-04-30 20:48:17 +00:00
21cb1dd2d2 Accepting request 531121 from Base:System
Fix build with jdk9 (forwarded request 530806 from fstrba)

OBS-URL: https://build.opensuse.org/request/show/531121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=72
2017-10-13 12:02:09 +00:00
880b8dd697 Accepting request 511394 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/511394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=71
2017-07-24 10:29:08 +00:00
21007d8231 Accepting request 507791 from Base:System
Needed as there is automake 1.15.1 on the way to TW (forwarded request 507551 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/507791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=70
2017-07-05 21:46:59 +00:00
f51eaf350a Accepting request 494941 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/494941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=69
2017-05-20 12:29:16 +00:00
23bb5c2b8d Accepting request 403697 from Base:System
build fix for previous change (forwarded request 403665 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/403697
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=68
2016-07-03 10:17:30 +00:00
16ba5704b0 Accepting request 391712 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/391712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=67
2016-04-30 21:22:28 +00:00
03723563aa Accepting request 388221 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/388221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=66
2016-04-17 20:14:52 +00:00
Stephan Kulow
ffc735ec02 Accepting request 348075 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/348075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=65
2015-12-13 08:34:57 +00:00
b3ebc552bb Accepting request 331777 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/331777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=64
2015-10-14 14:34:13 +00:00
e54fde4bef Accepting request 329083 from Base:System
- add patch: boo941649-unnessary-rpath-on-standard-path.patch
  * config.rpath from gettext-tools will set rpath for ELF binaries
    not in /usr/lib, even if it's the standard path the linker
    would search anyway. 

- add patch: boo941629-unnessary-rpath-on-standard-path.patch
  * config.rpath from gettext-tools will set rpath for ELF binaries
    not in /usr/lib, even if it's the standard path the linker
    would search anyway.

OBS-URL: https://build.opensuse.org/request/show/329083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=63
2015-09-08 15:36:24 +00:00
ebb9980ae3 Accepting request 317840 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/317840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=62
2015-08-21 05:34:53 +00:00
Stephan Kulow
4e75d82a5d Accepting request 317153 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/317153
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=61
2015-07-20 09:20:47 +00:00
8c59382143 Accepting request 290382 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/290382
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=60
2015-03-16 05:52:20 +00:00
55ba8bab0e Accepting request 284062 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/284062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=59
2015-02-06 09:47:12 +00:00
8ed8314093 Accepting request 266610 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/266610
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=58
2014-12-31 10:21:59 +00:00
Stephan Kulow
d4fcc2614e Accepting request 257908 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/257908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=57
2014-11-04 16:27:24 +00:00
Stephan Kulow
d7ae916dac Accepting request 241230 from Base:System
- Update to 0.19.2: 
  * Fix xgettext crash in parsing empty string literals in C and Vala.
  * Autoconf macro trace in autopoint now works again with Autoconf 2.68
    or earlier.  It was a regression in 0.19.

OBS-URL: https://build.opensuse.org/request/show/241230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=55
2014-07-19 09:04:24 +00:00
Stephan Kulow
20a7844c6a Accepting request 213657 from Base:System
GNU gettext 0.18.3.2 (forwarded request 213654 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/213657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=54
2014-01-16 14:37:24 +00:00
Tomáš Chvátal
7de0cc71e8 Accepting request 212184 from Base:System
- avoid testing gnulib copies - we're not interested in bugs in gnulib
  as we don't use it (forwarded request 212163 from coolo)

OBS-URL: https://build.opensuse.org/request/show/212184
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=53
2013-12-24 19:01:27 +00:00
Tomáš Chvátal
4faf3b5f5d Accepting request 205199 from Base:System
- Split extra documentation in /usr/share/doc into separate
  subpackage (over 1000 files) (forwarded request 204017 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/205199
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=52
2013-10-30 14:31:47 +00:00
Stephan Kulow
f8ff83a069 Accepting request 201842 from Base:System
- Version 0.18.3.1 including a hotfix for autopoint
  not copying intl library if asked to (fixes build failures in 13.1)
  
  https://savannah.gnu.org/bugs/?func=detailitem&item_id=39536

OBS-URL: https://build.opensuse.org/request/show/201842
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=51
2013-10-03 05:41:59 +00:00
Tomáš Chvátal
3a7d867ddb Accepting request 198784 from Base:System
trying to accomplish advises for request 186730.
Using build service only atm, any additional work might take a while again... (forwarded request 197387 from no_se)

OBS-URL: https://build.opensuse.org/request/show/198784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=49
2013-09-13 12:44:40 +00:00
Stephan Kulow
bd122f959b Accepting request 181184 from Base:System
- add gettext-fix-tcl-u-escape-sequences.patch in order to fix
  the handling of Tcl \u escape sequences (bnc#826422)

- add gettext-fix-tcl-u-escape-sequences.patch in order to fix
  the handling of Tcl \u escape sequences (bnc#826422) (forwarded request 181182 from gberh)

OBS-URL: https://build.opensuse.org/request/show/181184
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=48
2013-06-29 12:25:10 +00:00
Stephan Kulow
aeb1ec5703 Accepting request 179639 from Base:System
- move the provides of gettext-devel to gettext-tools-mini too (forwarded request 179637 from coolo) (forwarded request 179638 from coolo)

OBS-URL: https://build.opensuse.org/request/show/179639
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=47
2013-06-20 09:55:55 +00:00
Stephan Kulow
b9e583095a - more conflicts between the minis
- more conflicts between the minis

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=46
2013-06-18 20:00:10 +00:00
Stephan Kulow
e3c2b30c27 Accepting request 179559 from Base:System
- make gettext-runtime conflict with gettext-runtime-mini

- Add gettext-runtime-mini.spec that reverts to using the included
  library sources

OBS-URL: https://build.opensuse.org/request/show/179559
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=45
2013-06-18 13:12:26 +00:00
Stephan Kulow
8d19bf51ea Accepting request 179097 from Base:System
- Add glib2-devel libcroco-devel libxml2-devel to build requires to avoid
  using the included copies.
- gettext-configure.patch: Fix syntax in libxml check to avoid spurious
  failure (forwarded request 179093 from AndreasSchwab)

OBS-URL: https://build.opensuse.org/request/show/179097
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=44
2013-06-17 08:33:30 +00:00
Stephan Kulow
8332322200 Accepting request 178616 from Base:System
- Update to version 0.18.2.1: Version 0.18.2 - December 2012
  + xgettext now understands the block comment syntax of Guile 2.0.
  + libgettextpo library:
    * The initial msgstr of a new message is now "", not NULL.
    * Bug fixes in the functions po_message_is_range,
      po_file_check_all, po_message_check_all.
  + Installation options:
    The configure options --with-xz and --with-bzip2 can be used to
    specify alternate compression methods for the archive used by
    the 'autopoint' program. These options, together with
    --with-git, allow to trade dependencies against installed
    package size. --with-xz has the highest compression rate,
    followed by --with-git, followed by --with-bzip2.
  + Autoconf macros:
    * The autoconf macros installed by 'gettextize' now work with
      the forthcoming Automake 1.14 and require Autoconf version
      2.60 or newer.
  + Portability:
    * Building on MacOS X 10.7, Cygwin 1.7.10, and newer 64-bit
      mingw is now supported.
- Remove obsolete patches:
  + getext-stdio.in.patch
  + gettext-codecleanup.patch

- Update to version 0.18.2.1: Version 0.18.2 - December 2012
  + xgettext now understands the block comment syntax of Guile 2.0.
  + libgettextpo library:
    * The initial msgstr of a new message is now "", not NULL.
    * Bug fixes in the functions po_message_is_range,
      po_file_check_all, po_message_check_all.

OBS-URL: https://build.opensuse.org/request/show/178616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=43
2013-06-14 14:45:17 +00:00
Stephan Kulow
2371e5a543 Accepting request 177263 from Base:System
- do not call autoreconf, spares you all the ugly patches:
    gettext-no_silent_rules.patch
    gettext-0.15-docdir.diff
    gettext-autotools.patch

OBS-URL: https://build.opensuse.org/request/show/177263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=42
2013-06-05 11:28:04 +00:00
Stephan Kulow
5855c3d3ed Accepting request 161545 from Base:System
- Added url as source.
  Please see http://en.opensuse.org/SourceUrls

- Added url as source.
  Please see http://en.opensuse.org/SourceUrls

- Added url as source.
  Please see http://en.opensuse.org/SourceUrls (forwarded request 161529 from m_meister)

OBS-URL: https://build.opensuse.org/request/show/161545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=41
2013-04-02 09:44:08 +00:00
Stephan Kulow
c8388392c6 Accepting request 137342 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/137342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=39
2012-10-07 16:58:30 +00:00
Stephan Kulow
615476e0ef Accepting request 134166 from Base:System
- replace ; with and in spdx.org license

OBS-URL: https://build.opensuse.org/request/show/134166
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=38
2012-09-17 11:55:21 +00:00
Stephan Kulow
7ff74e9581 Accepting request 128700 from Base:System
Fix build with missing gets declaration (glibc 2.16) (forwarded request 128695 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/128700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=37
2012-07-23 08:00:01 +00:00
Stephan Kulow
e1e14d8e08 Accepting request 126891 from Base:System
- do not use obsolete AM_PROG_MKDIR_P

OBS-URL: https://build.opensuse.org/request/show/126891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=36
2012-07-02 19:21:08 +00:00
Stephan Kulow
84c1e18bbf Accepting request 100174 from Base:System
Disable randomly failing tests. (forwarded request 100077 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/100174
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=34
2012-01-19 08:41:38 +00:00
Stephan Kulow
1acbcb9247 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=33
2011-12-06 17:12:16 +00:00
Stephan Kulow
3e6deca647 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=32
2011-12-06 17:12:15 +00:00
Stephan Kulow
2f416d5216 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=31
2011-12-06 17:12:12 +00:00
Lars Vogdt
3f0d5388d0 Accepting request 86123 from Base:System
- add libtool as buildrequire to make the spec file more reliable (forwarded request 86110 from coolo)

OBS-URL: https://build.opensuse.org/request/show/86123
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=29
2011-10-03 07:19:45 +00:00
Lars Vogdt
4fdaba54df Accepting request 85851 from Base:System
- Test suite hangs in qemu-arm due to bugs in the emulator
  workaround this issue. (forwarded request 85848 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/85851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=28
2011-10-02 08:02:55 +00:00
Ruediger Oertel
2f7e64ed2d Autobuild autoformatter for 60498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=26
2011-02-13 23:49:36 +00:00
Ruediger Oertel
f3c3b9bc88 Accepting request 60498 from Base:System
Accepted submit request 60498 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/60498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=25
2011-02-13 23:49:29 +00:00
Berthold Gunreben
6187de6bc4 Accepting request 56533 from Base:System
Accepted submit request 56533 from user psmt

OBS-URL: https://build.opensuse.org/request/show/56533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=24
2010-12-22 08:40:46 +00:00
OBS User autobuild
1e3e78de7f Accepting request 43447 from Base:System
Copy from Base:System/gettext-runtime based on submit request 43447 from user coolo

OBS-URL: https://build.opensuse.org/request/show/43447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gettext-runtime?expand=0&rev=23
2010-07-20 18:13:46 +00:00
9 changed files with 154 additions and 8 deletions

View File

@@ -0,0 +1,98 @@
From 88d67f8eacdd301d836a6902374dc10e8cc05d57 Mon Sep 17 00:00:00 2001
From: Stanislav Brabec <sbrabec@suse.com>
Date: Wed, 26 Feb 2025 03:00:18 +0100
Subject: [PATCH 3/3] Fix malformed header processing
---
gettext-tools/src/msgl-header.c | 68 ++++++++++++++++++++++++---------
1 file changed, 51 insertions(+), 17 deletions(-)
diff --git a/gettext-tools/src/msgl-header.c b/gettext-tools/src/msgl-header.c
index 6fe659e73..fb5186a89 100644
--- a/gettext-tools/src/msgl-header.c
+++ b/gettext-tools/src/msgl-header.c
@@ -397,30 +397,64 @@ message_list_header_list (message_list_ty *mlp)
{
/* We found the correct message. */
message_ty *mp = mlp->item[j];
+
+ /* Test whether the field occurs in the header entry. */
const char *h = mp->msgstr;
+
message_list_ty * header = message_list_alloc (false);
int ctr = 0;
while (*h != '\0')
- {
- char *enh = strchr (h, ':');
- enh++;
- char * msgid = (char *)XNMALLOC (((enh - h) + 1), char);
- memcpy (msgid, h, enh - h);
- /* Make the string null-terminated. */
- (msgid)[enh-h] = '\0';
- h = enh + 1;
-
- enh = strchr (h, '\n');
- if (enh != NULL)
+ {
+ const char *enh;
+ const char *enhz;
+ const char *sep;
+ const char *value;
+
+ enh = strchr (h, '\n');
+ if (enh)
+ {
+ enhz = enh;
+ enh++;
+ }
+ else
+ {
+ /* Missing trailing EOL. */
+ enh = h + strlen(h);
+ enhz = enh;
+ }
+
+ sep = strchr (h, ':');
+ if (sep == NULL || sep >= enhz)
+ {
+ /* Line does not contain ':'. */
+ sep = enhz;
+ value = enhz;
+ }
+ else
+ {
+ sep++;
+ if (*sep != ' ')
+ /* ' ' missing after ':'. */
+ value = sep;
+ else
+ value = sep + 1;
+ }
+
+ char * msgid = (char *)XNMALLOC (((sep - h) + 1), char);
+ memcpy (msgid, h, sep - h);
+ /* Make the string null-terminated. */
+ msgid[sep-h] = '\0';
+ char * msgstr = (char *)XNMALLOC (((enhz - value) + 1), char);
+ memcpy (msgstr, value, enhz - value);
+ /* Make the string null-terminated. */
+ msgstr[enhz-value] = '\0';
+
+ if (h != NULL)
{
- char * msgstr = (char *)XNMALLOC (((enh - h) + 1), char);
- memcpy (msgstr, h, enh - h);
- /* Make the string null-terminated. */
- msgstr[enh-h] = '\0';
lex_pos_ty pos = {NULL, ctr++};
- message_list_append (header, message_alloc (NULL, msgid, NULL, msgstr, enh - h, &pos));
- h = enh + 1;
+ message_list_append (header, message_alloc (NULL, msgid, NULL, msgstr, enhz - value, &pos));
+ h = enh;
}
else return NULL;
}
--
2.48.1

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Feb 26 03:01:34 CET 2025 - Stanislav Brabec <sbrabec@suse.com>
- Fix crash while handling po files with malformed header and
process them properly
(0003-Fix-malformed-header-processing.patch, boo#1227316).
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 16 08:42:20 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com> Tue Jul 16 08:42:20 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package gettext-csharp # spec file for package gettext-csharp
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -47,6 +47,8 @@ Patch13: reproducible.patch
# PATCH-FEATURE bsc#1165138 # PATCH-FEATURE bsc#1165138
Patch14: 0001-msgcat-Add-feature-to-use-the-newest-po-file.patch Patch14: 0001-msgcat-Add-feature-to-use-the-newest-po-file.patch
Patch15: 0002-msgcat-Merge-headers-when-use-first.patch Patch15: 0002-msgcat-Merge-headers-when-use-first.patch
# PATCH-FEATURE-FIX-SUSE boo#1227316 -- sbrabec@suse.com
Patch16: 0003-Fix-malformed-header-processing.patch
BuildRequires: automake >= 1.14 BuildRequires: automake >= 1.14
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Feb 26 03:01:34 CET 2025 - Stanislav Brabec <sbrabec@suse.com>
- Fix crash while handling po files with malformed header and
process them properly
(0003-Fix-malformed-header-processing.patch, boo#1227316).
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 16 08:42:20 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com> Tue Jul 16 08:42:20 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package gettext-java # spec file for package gettext-java
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -46,6 +46,8 @@ Patch14: 0001-msgcat-Add-feature-to-use-the-newest-po-file.patch
Patch15: 0002-msgcat-Merge-headers-when-use-first.patch Patch15: 0002-msgcat-Merge-headers-when-use-first.patch
# PATCH-FIX-UPSTREAM https://lists.gnu.org/archive/html/bug-gettext/2024-07/msg00021.html # PATCH-FIX-UPSTREAM https://lists.gnu.org/archive/html/bug-gettext/2024-07/msg00021.html
Patch16: reproducible-jar.patch Patch16: reproducible-jar.patch
# PATCH-FEATURE-FIX-SUSE boo#1227316 -- sbrabec@suse.com
Patch17: 0003-Fix-malformed-header-processing.patch
BuildRequires: automake >= 1.14 BuildRequires: automake >= 1.14
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Feb 26 03:01:34 CET 2025 - Stanislav Brabec <sbrabec@suse.com>
- Fix crash while handling po files with malformed header and
process them properly
(0003-Fix-malformed-header-processing.patch, boo#1227316).
-------------------------------------------------------------------
Thu Sep 12 10:43:39 UTC 2024 - Dan Čermák <dcermak@suse.com>
- Move envsubst requires into main package, gettext.sh is not part of
gettext-tools, but gettext-runtime (fixes boo#1227070)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 16 08:42:20 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com> Tue Jul 16 08:42:20 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package gettext-runtime-mini # spec file for package gettext-runtime-mini
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -51,6 +51,8 @@ Requires: this-is-only-for-build-envs
# rpm-build requires gettext-tools, but we will only just be building it # rpm-build requires gettext-tools, but we will only just be building it
#!BuildIgnore: gettext-tools #!BuildIgnore: gettext-tools
%endif %endif
# gettext.sh requires envsubst
Requires: envsubst%{?with_mini:-mini} = %{version}
Summary: Tools for Native Language Support (NLS) Summary: Tools for Native Language Support (NLS)
License: GPL-3.0-or-later AND LGPL-2.0-or-later License: GPL-3.0-or-later AND LGPL-2.0-or-later
Group: Development/Tools/Other Group: Development/Tools/Other
@@ -77,6 +79,8 @@ Patch13: reproducible.patch
# PATCH-FEATURE bsc#1165138 # PATCH-FEATURE bsc#1165138
Patch14: 0001-msgcat-Add-feature-to-use-the-newest-po-file.patch Patch14: 0001-msgcat-Add-feature-to-use-the-newest-po-file.patch
Patch15: 0002-msgcat-Merge-headers-when-use-first.patch Patch15: 0002-msgcat-Merge-headers-when-use-first.patch
# PATCH-FEATURE-FIX-SUSE boo#1227316 -- sbrabec@suse.com
Patch16: 0003-Fix-malformed-header-processing.patch
%description %description
This package contains the intl library as well as tools that ease the This package contains the intl library as well as tools that ease the
@@ -92,8 +96,6 @@ License: LGPL-2.1-or-later
Group: Development/Tools/Other Group: Development/Tools/Other
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: xz Requires: xz
# gettext.sh requires envsubst
Requires: envsubst%{?with_mini:-mini} = %{version}
# autopoint requires find # autopoint requires find
Requires: findutils Requires: findutils
# For non-UTF encodings # For non-UTF encodings

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Feb 26 03:01:34 CET 2025 - Stanislav Brabec <sbrabec@suse.com>
- Fix crash while handling po files with malformed header and
process them properly
(0003-Fix-malformed-header-processing.patch, boo#1227316).
-------------------------------------------------------------------
Thu Sep 12 10:43:39 UTC 2024 - Dan Čermák <dcermak@suse.com>
- Move envsubst requires into main package, gettext.sh is not part of
gettext-tools, but gettext-runtime (fixes boo#1227070)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 16 08:42:20 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com> Tue Jul 16 08:42:20 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package gettext-runtime # spec file for package gettext-runtime
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -51,6 +51,8 @@ Requires: this-is-only-for-build-envs
# rpm-build requires gettext-tools, but we will only just be building it # rpm-build requires gettext-tools, but we will only just be building it
#!BuildIgnore: gettext-tools #!BuildIgnore: gettext-tools
%endif %endif
# gettext.sh requires envsubst
Requires: envsubst%{?with_mini:-mini} = %{version}
Summary: Tools for Native Language Support (NLS) Summary: Tools for Native Language Support (NLS)
License: GPL-3.0-or-later AND LGPL-2.0-or-later License: GPL-3.0-or-later AND LGPL-2.0-or-later
Group: Development/Tools/Other Group: Development/Tools/Other
@@ -77,6 +79,8 @@ Patch13: reproducible.patch
# PATCH-FEATURE bsc#1165138 # PATCH-FEATURE bsc#1165138
Patch14: 0001-msgcat-Add-feature-to-use-the-newest-po-file.patch Patch14: 0001-msgcat-Add-feature-to-use-the-newest-po-file.patch
Patch15: 0002-msgcat-Merge-headers-when-use-first.patch Patch15: 0002-msgcat-Merge-headers-when-use-first.patch
# PATCH-FEATURE-FIX-SUSE boo#1227316 -- sbrabec@suse.com
Patch16: 0003-Fix-malformed-header-processing.patch
%description %description
This package contains the intl library as well as tools that ease the This package contains the intl library as well as tools that ease the
@@ -92,8 +96,6 @@ License: LGPL-2.1-or-later
Group: Development/Tools/Other Group: Development/Tools/Other
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: xz Requires: xz
# gettext.sh requires envsubst
Requires: envsubst%{?with_mini:-mini} = %{version}
# autopoint requires find # autopoint requires find
Requires: findutils Requires: findutils
# For non-UTF encodings # For non-UTF encodings