Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package texlive for openSUSE:Factory checked in at 2024-04-14 11:53:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/texlive (Old) and /work/SRC/openSUSE:Factory/.texlive.new.26366 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "texlive" Sun Apr 14 11:53:48 2024 rev:95 rq:1167063 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/texlive/texlive.changes 2024-03-22 15:18:53.701137052 +0100 +++ /work/SRC/openSUSE:Factory/.texlive.new.26366/texlive.changes 2024-04-14 11:54:12.718553601 +0200 @@ -1,0 +2,7 @@ +Fri Apr 12 13:10:45 UTC 2024 - Dr. Werner Fink <wer...@suse.de> + +- Add patch source-dvipdfm-x.dif + * dvipdfmx: repeated inclusion of the same image did not share + the image data, but had separate copies for each inclusion. + +------------------------------------------------------------------- New: ---- source-dvipdfm-x.dif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ texlive.spec ++++++ --- /var/tmp/diff_new_pack.RTzgat/_old 2024-04-14 11:54:14.066603402 +0200 +++ /var/tmp/diff_new_pack.RTzgat/_new 2024-04-14 11:54:14.070603550 +0200 @@ -264,6 +264,8 @@ Patch18: source-a2ping.dif Patch19: source-dvipng.dif Patch21: source-ppc64.dif +# PATCH-FIX-UPSTREAM +Patch22: source-dvipdfm-x.dif # PATCH-FIX-SUSE Make biber work with our perl Patch42: biblatex-encoding.dif Patch43: biblatex-ms-encoding.dif @@ -4243,6 +4245,7 @@ %patch -P18 -p0 -b .a2p %patch -P19 -p0 -b .dvipng %patch -P21 -p0 -b .ppcelf +%patch -P22 -p0 -b .sameimg pushd libs/luajit/LuaJIT-src/ #Missed patch ppc and risc %patch -P106 -p1 -b .arm64 ++++++ source-dvipdfm-x.dif ++++++ 2024-04-07 Yukimasa Morimi <h20...@yahoo.co.jp> * pdfximage.c: fix an issue where the PDF becomes large when inserting the same image multiple times. https://github.com/texjporg/tex-jp-build/pull/169 --- texk/dvipdfm-x/pdfximage.c | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) --- texk/dvipdfm-x/pdfximage.c 2024-03-05 00:40:55.000000000 +0100 +++ texk/dvipdfm-x/pdfximage.c 2024-04-12 14:22:48.800914761 +0200 @@ -396,6 +396,8 @@ load_image (const char *ident, const cha int utf8name_failed = 0; #endif /* WIN32 */ +#define dpx_streq(a, b) ((a) == (b) || (a) && (b) && strcmp(a, b) == 0) + int pdf_ximage_load_image (const char *ident, const char *filename, load_options options) { @@ -408,20 +410,21 @@ pdf_ximage_load_image (const char *ident for (i = 0; i < ic->count; i++) { I = &ic->ximages[i]; - if (I->filename && !strcmp(filename, I->filename)) { - id = i; - break; - } - } - if (id >= 0) { - if (I->attr.page_no == options.page_no && - (I->attr.page_name && options.page_name && - strcmp(I->attr.page_name, options.page_name) == 0) && - !pdf_compare_object(I->attr.dict, options.dict) && /* ????? */ - I->attr.bbox_type == options.bbox_type) { - return id; - } + if (I->filename == NULL || strcmp(filename, I->filename) != 0) + continue; + id = i; f = I->fullname; + + if (I->attr.page_no != options.page_no) + continue; + if (!dpx_streq(I->attr.page_name, options.page_name)) + continue; + if (pdf_compare_object(I->attr.dict, options.dict) != 0) /* ????? */ + continue; + if (I->attr.bbox_type != options.bbox_type) + continue; + + return id; } if (f) { /* we already have converted this file; f is the temporary file name */