Hello community, here is the log from the commit of package gcab for openSUSE:Factory checked in at 2019-10-10 11:52:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gcab (Old) and /work/SRC/openSUSE:Factory/.gcab.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gcab" Thu Oct 10 11:52:30 2019 rev:13 rq:736144 version:1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/gcab/gcab.changes 2018-12-19 13:45:55.487576739 +0100 +++ /work/SRC/openSUSE:Factory/.gcab.new.2352/gcab.changes 2019-10-10 11:52:31.899466723 +0200 @@ -1,0 +2,10 @@ +Tue Oct 8 08:24:13 UTC 2019 - Bjørn Lie <[email protected]> + +- Update to version 1.3: + + New Features: Installed test support. + + Bugfixes: + - Fix file corruption on LZX extract. + - build-sys fixes. + + Updated translations. + +------------------------------------------------------------------- Old: ---- gcab-1.2.tar.xz New: ---- gcab-1.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gcab.spec ++++++ --- /var/tmp/diff_new_pack.Txb8dG/_old 2019-10-10 11:52:32.303465650 +0200 +++ /var/tmp/diff_new_pack.Txb8dG/_new 2019-10-10 11:52:32.303465650 +0200 @@ -1,7 +1,7 @@ # # spec file for package gcab # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: gcab -Version: 1.2 +Version: 1.3 Release: 0 Summary: Cabinet file library and tool License: LGPL-2.1-or-later Group: Productivity/Archiving/Compression -Url: http://ftp.gnome.org/pub/GNOME/sources/gcab -Source0: http://download.gnome.org/sources/gcab/1.2/%{name}-%{version}.tar.xz +URL: https://gitlab.gnome.org/GNOME/gcab +Source0: https://download.gnome.org/sources/gcab/1.3/%{name}-%{version}.tar.xz BuildRequires: gtk-doc BuildRequires: meson ++++++ gcab-1.2.tar.xz -> gcab-1.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcab-1.2/NEWS new/gcab-1.3/NEWS --- old/gcab-1.2/NEWS 2018-12-09 17:53:57.000000000 +0100 +++ new/gcab-1.3/NEWS 2019-10-08 09:53:37.000000000 +0200 @@ -1,10 +1,24 @@ +v1.3 +==== + +New Features: + - Installed test support (Simon McVittie) + +Bugfixes: + - Fix file corruption on LZX extract + - translation updates + - build-sys fixes + v1.2 -~~~~ +==== -No news yet. +Bugfixes: + - Fix regression on rewinding rhbz#1608301 + - translation updates + - build-sys fixes v1.1 -~~~~ +==== Bugfixes: - Add git version in --version (Marc-André Lureau) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcab-1.2/RELEASE new/gcab-1.3/RELEASE --- old/gcab-1.2/RELEASE 2018-12-09 17:53:57.000000000 +0100 +++ new/gcab-1.3/RELEASE 2019-10-08 09:53:37.000000000 +0200 @@ -6,7 +6,7 @@ -------------------------------------------------------------------------------- v1.2 -~~~~ +==== Notes: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcab-1.2/libgcab/decomp.c new/gcab-1.3/libgcab/decomp.c --- old/gcab-1.2/libgcab/decomp.c 2018-12-09 17:53:57.000000000 +0100 +++ new/gcab-1.3/libgcab/decomp.c 2019-10-08 09:53:37.000000000 +0200 @@ -1015,9 +1015,7 @@ window_posn += match_length; /* copy match data - no worries about destination wraps */ - memcpy(rundest, runsrc, match_length); - rundest += match_length; - runsrc += match_length; + while (match_length-- > 0) *rundest++ = *runsrc++; } } break; @@ -1106,9 +1104,7 @@ window_posn += match_length; /* copy match data - no worries about destination wraps */ - memcpy(rundest, runsrc, match_length); - rundest += match_length; - runsrc += match_length; + while (match_length-- > 0) *rundest++ = *runsrc++; } } break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcab-1.2/libgcab/meson.build new/gcab-1.3/libgcab/meson.build --- old/gcab-1.2/libgcab/meson.build 2018-12-09 17:53:57.000000000 +0100 +++ new/gcab-1.3/libgcab/meson.build 2019-10-08 09:53:37.000000000 +0200 @@ -93,9 +93,11 @@ ], install : true ) - gnome.generate_vapi('libgcab-1.0', - sources: gir[0], - packages : ['gio-2.0'], - install : true, - ) + if get_option('vapi') + gnome.generate_vapi('libgcab-1.0', + sources: gir[0], + packages : ['gio-2.0'], + install : true, + ) + endif endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcab-1.2/meson.build new/gcab-1.3/meson.build --- old/gcab-1.2/meson.build 2018-12-09 17:53:57.000000000 +0100 +++ new/gcab-1.3/meson.build 2019-10-08 09:53:37.000000000 +0200 @@ -1,7 +1,7 @@ project('gcab', 'c', - version : '1.2', + version : '1.3', license : 'LGPL-2.1+', - meson_version : '>=0.37.0', + meson_version : '>=0.50.0', default_options : ['warning_level=2', 'c_std=c99'], ) @@ -81,7 +81,7 @@ '-Wl,-z,now', ] foreach arg: test_link_args - if cc.has_argument(arg) + if cc.has_link_argument(arg) global_link_args += arg endif endforeach @@ -111,16 +111,18 @@ conf.set_quoted('PACKAGE_STRING', package_string) conf.set_quoted('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir'))) conf.set_quoted('PACKAGE_BUGREPORT', 'https://bugzilla.gnome.org/enter_bug.cgi?product=msitools&component=gcab') -conf.set_quoted('TESTDATADIR', join_paths(meson.source_root(), 'tests')) configure_file( output : 'config.h', configuration : conf ) subdir('libgcab') -subdir('po') subdir('src') +if get_option('nls') +subdir('po') +endif + if get_option('docs') subdir('docs') endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcab-1.2/meson_options.txt new/gcab-1.3/meson_options.txt --- old/gcab-1.2/meson_options.txt 2018-12-09 17:53:57.000000000 +0100 +++ new/gcab-1.3/meson_options.txt 2019-10-08 09:53:37.000000000 +0200 @@ -1,3 +1,6 @@ option('docs', type : 'boolean', value : true, description : 'enable developer documentation') option('introspection', type : 'boolean', value : true, description : 'generate GObject Introspection data') +option('nls', type : 'boolean', value : true, description : 'enable native language support') +option('vapi', type : 'boolean', value : true, description: 'generate Vala bindings (requires introspection)') option('tests', type : 'boolean', value : true, description : 'enable tests') +option('installed_tests', type : 'boolean', value : false, description : 'install tests for "as-installed" testing') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcab-1.2/po/LINGUAS new/gcab-1.3/po/LINGUAS --- old/gcab-1.2/po/LINGUAS 2018-12-09 17:53:57.000000000 +0100 +++ new/gcab-1.3/po/LINGUAS 2019-10-08 09:53:37.000000000 +0200 @@ -4,6 +4,7 @@ da de el +en_GB es eu fi @@ -15,10 +16,12 @@ lt lv nb +nl oc pl pt pt_BR +ro ru sl sr diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcab-1.2/po/en_GB.po new/gcab-1.3/po/en_GB.po --- old/gcab-1.2/po/en_GB.po 1970-01-01 01:00:00.000000000 +0100 +++ new/gcab-1.3/po/en_GB.po 2019-10-08 09:53:37.000000000 +0200 @@ -0,0 +1,143 @@ +# British English translation for gcab. +# Copyright (C) 2019 gcab's COPYRIGHT HOLDER +# This file is distributed under the same license as the gcab package. +# Zander Brown <[email protected]>, 2019. +# +msgid "" +msgstr "" +"Project-Id-Version: gcab master\n" +"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gcab/issues\n" +"POT-Creation-Date: 2019-08-19 12:43+0000\n" +"PO-Revision-Date: 2019-08-30 11:13+0100\n" +"Last-Translator: Zander Brown <[email protected]>\n" +"Language-Team: English - United Kingdom <[email protected]>\n" +"Language: en_GB\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Gtranslator 3.32.1\n" + +#: src/gcab.c:82 +msgid "Dumping data to:" +msgstr "Dumping data to:" + +#: src/gcab.c:114 +msgid "Print program version" +msgstr "Print program version" + +#: src/gcab.c:115 +msgid "Be verbose" +msgstr "Be verbose" + +#: src/gcab.c:116 +msgid "Create archive" +msgstr "Create archive" + +#: src/gcab.c:117 +msgid "Extract all files" +msgstr "Extract all files" + +#: src/gcab.c:118 +msgid "Dump reserved and extra data" +msgstr "Dump reserved and extra data" + +#: src/gcab.c:119 +msgid "List content" +msgstr "List content" + +#: src/gcab.c:120 +msgid "List content with file details" +msgstr "List content with file details" + +#: src/gcab.c:121 +msgid "Change to directory DIR" +msgstr "Change to directory DIR" + +#: src/gcab.c:121 +msgid "DIR" +msgstr "DIR" + +#: src/gcab.c:122 +msgid "Use zip compression" +msgstr "Use zip compression" + +#: src/gcab.c:123 +msgid "Do not include path" +msgstr "Do not include path" + +#: src/gcab.c:124 +msgid "Reserve space in cabinet for signing (e.g. -s 6144 reserves 6K bytes)" +msgstr "Reserve space in cabinet for signing (e.g. -s 6144 reserves 6K bytes)" + +#: src/gcab.c:125 +msgid "FILE INPUT_FILES..." +msgstr "FILE INPUT_FILES..." + +#: src/gcab.c:139 +msgid "- create a Cabinet file" +msgstr "- create a Cabinet file" + +#: src/gcab.c:140 +msgid "Report bugs to:" +msgstr "Report bugs to:" + +#: src/gcab.c:142 +msgid "" +"gcab saves many files together into a cabinet archive, and can restore\n" +"individual files from the archive." +msgstr "" +"gcab saves many files together into a cabinet archive, and can restore\n" +"individual files from the archive." + +#: src/gcab.c:149 +msgid "Option parsing failed" +msgstr "Option parsing failed" + +#: src/gcab.c:159 +msgid "Please specify a single operation" +msgstr "Please specify a single operation" + +#: src/gcab.c:164 +msgid "Cabinet file must be specified" +msgstr "Cabinet file must be specified" + +#: src/gcab.c:180 +msgid "Cannot open file for reading" +msgstr "Cannot open file for reading" + +#: src/gcab.c:184 +msgid "Error reading" +msgstr "Error reading" + +#: src/gcab.c:220 +msgid "Error during extraction" +msgstr "Error during extraction" + +#: src/gcab.c:235 +msgid "Error while reading signature" +msgstr "Error while reading signature" + +#: src/gcab.c:247 +msgid "No input files specified" +msgstr "No input files specified" + +#: src/gcab.c:266 +msgid "Cannot add file" +msgstr "Cannot add file" + +#: src/gcab.c:272 +msgid "No files to be archived" +msgstr "No files to be archived" + +#: src/gcab.c:280 +msgid "Cannot create cab file" +msgstr "Cannot create cab file" + +#: src/gcab.c:286 +msgid "Cannot add folder to cab file" +msgstr "Cannot add folder to cab file" + +#: src/gcab.c:296 +msgid "Cannot write cab file" +msgstr "Cannot write cab file" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcab-1.2/po/fur.po new/gcab-1.3/po/fur.po --- old/gcab-1.2/po/fur.po 2018-12-09 17:53:57.000000000 +0100 +++ new/gcab-1.3/po/fur.po 2019-10-08 09:53:37.000000000 +0200 @@ -6,171 +6,152 @@ msgid "" msgstr "" "Project-Id-Version: gcab master\n" -"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?" -"product=msitools&keywords=I18N+L10N&component=gcab\n" -"POT-Creation-Date: 2017-03-03 08:39+0000\n" -"PO-Revision-Date: 2017-04-08 15:07+0200\n" +"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gcab/issues\n" +"POT-Creation-Date: 2018-06-10 16:11+0000\n" +"PO-Revision-Date: 2019-03-06 09:13+0100\n" +"Last-Translator: Fabio Tomat <[email protected]>\n" "Language-Team: Friulian <[email protected]>\n" "Language: fur\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Last-Translator: Fabio Tomat <[email protected]>\n" -"X-Generator: Poedit 1.8.12\n" +"X-Generator: Poedit 2.2.1\n" -#: ../gcab.c:62 -#, c-format -msgid "Removing leading '%s' from member names" -msgstr "Daûr a gjavâ “%s” principâl dai nons dai membris" - -#: ../gcab.c:74 -#, c-format -msgid "Dumping %s data to: %s ...\n" -msgstr "Daûr a butâ i dâts di %s su: %s ...\n" - -#: ../gcab.c:82 -#, c-format -msgid "can't write file %s: %s" -msgstr "impussibil scrivi il file %s: %s" +#: src/gcab.c:82 +msgid "Dumping data to:" +msgstr "Daûr a butâ i dâts su:" -#: ../gcab.c:109 +#: src/gcab.c:114 msgid "Print program version" msgstr "Stampe la version dal program" -#: ../gcab.c:110 +#: src/gcab.c:115 msgid "Be verbose" msgstr "Jessi prolìs" -#: ../gcab.c:111 +#: src/gcab.c:116 msgid "Create archive" msgstr "Cree archivi" -#: ../gcab.c:112 +#: src/gcab.c:117 msgid "Extract all files" msgstr "Tire fûr ducj i file" -#: ../gcab.c:113 +#: src/gcab.c:118 msgid "Dump reserved and extra data" msgstr "Bute i dâts riservâts e adizionâi" -#: ../gcab.c:114 +#: src/gcab.c:119 msgid "List content" msgstr "Liste il contignût" -#: ../gcab.c:115 +#: src/gcab.c:120 msgid "List content with file details" msgstr "Liste il contignût cui detais dai file" -#: ../gcab.c:116 +#: src/gcab.c:121 msgid "Change to directory DIR" msgstr "Va ae cartele CARTELE" -#: ../gcab.c:116 +#: src/gcab.c:121 msgid "DIR" msgstr "CARTELE" -#: ../gcab.c:117 +#: src/gcab.c:122 msgid "Use zip compression" msgstr "Dopre compression zip" -#: ../gcab.c:118 +#: src/gcab.c:123 msgid "Do not include path" msgstr "No stâ includi il percors" -#: ../gcab.c:119 +#: src/gcab.c:124 msgid "Reserve space in cabinet for signing (e.g. -s 6144 reserves 6K bytes)" -msgstr "" -"Riserve spazi tal archivi cabinet pe firme (p.e. -s 6144 al riserve 6K " -"byte)" +msgstr "Riserve spazi tal archivi cabinet pe firme (p.e. -s 6144 al riserve 6K byte)" -#: ../gcab.c:120 +#: src/gcab.c:125 msgid "FILE INPUT_FILES..." msgstr "FILE INPUT_FILES..." -#: ../gcab.c:134 +#: src/gcab.c:139 msgid "- create a Cabinet file" msgstr "- cree un file Cabinet" -#: ../gcab.c:135 -#, c-format -msgid "Report bugs to <%s>" -msgstr "Segnale erôrs a <%s>" +#: src/gcab.c:140 +msgid "Report bugs to:" +msgstr "Segnale i erôrs a:" -#: ../gcab.c:138 +#: src/gcab.c:142 msgid "" "gcab saves many files together into a cabinet archive, and can restore\n" "individual files from the archive." msgstr "" -"gcab al salve tancj file adun intun archivi cabinet e al puest " -"ripristinâ,\n" +"gcab al salve tancj file adun intun archivi cabinet e al puest ripristinâ,\n" "dal archivi, file individuâi ." -#: ../gcab.c:145 -#, c-format -msgid "option parsing failed: %s\n" -msgstr "no si è rivâts a analizâ la opzion: %s\n" - -#: ../gcab.c:154 -msgid "Please specify a single operation." -msgstr "Specifiche une uniche operazion." - -#: ../gcab.c:157 -msgid "cabinet file must be specified." -msgstr "il file cabinet al à di jessi specificât." - -#: ../gcab.c:171 -#, c-format -msgid "can't open %s for reading: %s\n" -msgstr "impussibil vierzi %s pe leture: %s\n" - -#: ../gcab.c:173 -#, c-format -msgid "error reading %s: %s\n" -msgstr "erôr tal lei %s: %s\n" - -#: ../gcab.c:208 -#, c-format -msgid "error during extraction: %s" -msgstr "erôr dilunc la estrazion: %s" - -#: ../gcab.c:220 -#, c-format -msgid "error while reading signature: %s" -msgstr "erôr inte leture de firme: %s" - -#: ../gcab.c:231 -msgid "please specify input files." -msgstr "specifiche i file di jentrade." - -#: ../gcab.c:249 -#, c-format -msgid "Can't add file %s: %s" -msgstr "Impussibil zontâ il file %s: %s" - -#: ../gcab.c:259 -msgid "no files to be archived." -msgstr "nissun file di archiviâ." - -#: ../gcab.c:265 -#, c-format -msgid "can't create cab file %s: %s" -msgstr "impussibil creâ il file cab %s: %s" - -#: ../gcab.c:269 -#, c-format -msgid "can't add folder to cab file %s: %s" -msgstr "impussibil zontâ la cartele sul file cab %s: %s" - -#: ../gcab.c:277 -#, c-format -msgid "can't write cab file %s: %s" -msgstr "impussibil scrivi il file cab %s: %s" - -#: ../libgcab/cabinet.c:20 ../libgcab/cabinet.c:469 -#, c-format -msgid "unsupported compression method %d" -msgstr "metodi di compression %d no supuartât" - -#: ../libgcab/cabinet.c:483 -msgid "incorrect checksum detected" -msgstr "rilevât checksum no just" +#: src/gcab.c:149 +msgid "Option parsing failed" +msgstr "No si è rivâts a analizâ la opzion:" + +#: src/gcab.c:159 +msgid "Please specify a single operation" +msgstr "Specifiche une uniche operazion" + +#: src/gcab.c:164 +msgid "Cabinet file must be specified" +msgstr "Il file cabinet al à di jessi specificât" + +#: src/gcab.c:180 +msgid "Cannot open file for reading" +msgstr "Impussibil vierzi il file pe leture" + +#: src/gcab.c:184 +msgid "Error reading" +msgstr "Erôr tal lei" + +#: src/gcab.c:220 +msgid "Error during extraction" +msgstr "Erôr dilunc la estrazion" + +#: src/gcab.c:235 +msgid "Error while reading signature" +msgstr "Erôr inte leture de firme" + +#: src/gcab.c:247 +msgid "No input files specified" +msgstr "Nissun file di input specificât" + +#: src/gcab.c:266 +msgid "Cannot add file" +msgstr "Impussibil zontâ il file" + +#: src/gcab.c:272 +msgid "No files to be archived" +msgstr "Nissun file di archiviâ" + +#: src/gcab.c:280 +msgid "Cannot create cab file" +msgstr "Impussibil creâ il file cab" + +#: src/gcab.c:286 +msgid "Cannot add folder to cab file" +msgstr "Impussibil zontâ la cartele sul file cab" + +#: src/gcab.c:296 +msgid "Cannot write cab file" +msgstr "Impussibil scrivi il file cab" + +#~ msgid "Removing leading '%s' from member names" +#~ msgstr "Daûr a gjavâ “%s” principâl dai nons dai membris" + +#~ msgid "can't write file %s: %s" +#~ msgstr "impussibil scrivi il file %s: %s" + +#~ msgid "please specify input files." +#~ msgstr "specifiche i file di jentrade." + +#~ msgid "unsupported compression method %d" +#~ msgstr "metodi di compression %d no supuartât" + +#~ msgid "incorrect checksum detected" +#~ msgstr "rilevât checksum no just" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcab-1.2/po/nl.po new/gcab-1.3/po/nl.po --- old/gcab-1.2/po/nl.po 1970-01-01 01:00:00.000000000 +0100 +++ new/gcab-1.3/po/nl.po 2019-10-08 09:53:37.000000000 +0200 @@ -0,0 +1,143 @@ +# Dutch translation for gcab. +# Copyright (C) 2019 gcab's COPYRIGHT HOLDER +# This file is distributed under the same license as the gcab package. +# Nathan Follens <[email protected]>, 2019. +# +msgid "" +msgstr "" +"Project-Id-Version: gcab master\n" +"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gcab/issues\n" +"POT-Creation-Date: 2019-02-13 16:54+0000\n" +"PO-Revision-Date: 2019-02-26 14:20+0100\n" +"Language-Team: Dutch <[email protected]>\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Last-Translator: Nathan Follens <[email protected]>\n" +"X-Generator: Poedit 2.2.1\n" + +#: src/gcab.c:82 +msgid "Dumping data to:" +msgstr "Gegevens worden gedumpt naar:" + +#: src/gcab.c:114 +msgid "Print program version" +msgstr "Programmaversie tonen" + +#: src/gcab.c:115 +msgid "Be verbose" +msgstr "Uitgebreide uitvoer" + +#: src/gcab.c:116 +msgid "Create archive" +msgstr "Archief aanmaken" + +#: src/gcab.c:117 +msgid "Extract all files" +msgstr "Alle bestanden uitpakken" + +#: src/gcab.c:118 +msgid "Dump reserved and extra data" +msgstr "Vrijgehouden en extra gegevens dumpen" + +#: src/gcab.c:119 +msgid "List content" +msgstr "Inhoud oplijsten" + +#: src/gcab.c:120 +msgid "List content with file details" +msgstr "Inhoud met bestandsgegevens oplijsten" + +#: src/gcab.c:121 +msgid "Change to directory DIR" +msgstr "Wijzigen naar map MAP" + +#: src/gcab.c:121 +msgid "DIR" +msgstr "MAP" + +#: src/gcab.c:122 +msgid "Use zip compression" +msgstr "Zip-compressie gebruiken" + +#: src/gcab.c:123 +msgid "Do not include path" +msgstr "Pad niet opnemen" + +#: src/gcab.c:124 +msgid "Reserve space in cabinet for signing (e.g. -s 6144 reserves 6K bytes)" +msgstr "Houd ruimte in de het cabinet-bestand vrij voor ondertekenen (bv. -s 6144 houdt 6K bytes vrij)" + +#: src/gcab.c:125 +msgid "FILE INPUT_FILES..." +msgstr "BESTAND INVOERBESTANDEN…" + +#: src/gcab.c:139 +msgid "- create a Cabinet file" +msgstr "- maak een Cabinet-bestand aan" + +#: src/gcab.c:140 +msgid "Report bugs to:" +msgstr "Meld fouten aan:" + +#: src/gcab.c:142 +msgid "" +"gcab saves many files together into a cabinet archive, and can restore\n" +"individual files from the archive." +msgstr "" +"gcab slaat verschillende bestanden samen op in een cabinet-archief, en kan\n" +"individuele bestanden uit het archief herstellen." + +#: src/gcab.c:149 +msgid "Option parsing failed" +msgstr "Verwerken van optie mislukt" + +#: src/gcab.c:159 +msgid "Please specify a single operation" +msgstr "Geef een enkele handeling op" + +#: src/gcab.c:164 +msgid "Cabinet file must be specified" +msgstr "Cabinet-bestand moet opgegeven zijn" + +#: src/gcab.c:180 +msgid "Cannot open file for reading" +msgstr "Kan bestand niet voor lezen openen" + +#: src/gcab.c:184 +msgid "Error reading" +msgstr "Fout bij lezen" + +#: src/gcab.c:220 +msgid "Error during extraction" +msgstr "Fout tijden uitpakken" + +#: src/gcab.c:235 +msgid "Error while reading signature" +msgstr "Fout bij lezen van handtekening" + +#: src/gcab.c:247 +msgid "No input files specified" +msgstr "Geen invoerbestanden opgegeven" + +#: src/gcab.c:266 +msgid "Cannot add file" +msgstr "Kan bestand niet toevoegen" + +#: src/gcab.c:272 +msgid "No files to be archived" +msgstr "Geen bestanden om te archiveren" + +#: src/gcab.c:280 +msgid "Cannot create cab file" +msgstr "Kan cab-bestand niet aanmaken" + +#: src/gcab.c:286 +msgid "Cannot add folder to cab file" +msgstr "Kan map niet toevoegen aan cab-bestand" + +#: src/gcab.c:296 +msgid "Cannot write cab file" +msgstr "Kan cab-bestand niet schrijven" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcab-1.2/po/ro.po new/gcab-1.3/po/ro.po --- old/gcab-1.2/po/ro.po 1970-01-01 01:00:00.000000000 +0100 +++ new/gcab-1.3/po/ro.po 2019-10-08 09:53:37.000000000 +0200 @@ -0,0 +1,173 @@ +# Romanian translation for gcab. +# Copyright (C) 2019 gcab's COPYRIGHT HOLDER +# This file is distributed under the same license as the gcab package. +# Florentina Mușat <[email protected]>, 2019. +# +msgid "" +msgstr "" +"Project-Id-Version: gcab 0_X\n" +"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gcab/issues\n" +"POT-Creation-Date: 2018-06-10 16:11+0000\n" +"PO-Revision-Date: 2019-08-19 15:27+0300\n" +"Language-Team: Romanian <[email protected]>\n" +"Language: ro\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2);;\n" +"Last-Translator: Florentina Mușat <florentina.musat.28 [at] gmail [dot] com>\n" +"X-Generator: Poedit 2.2.3\n" + +#: ../gcab.c:82 +#, c-format +msgid "Removing leading '%s' from member names" +msgstr "Se elimină prefixul „%s” din numele membrilor" + +#: ../gcab.c:94 +#, c-format +msgid "Dumping %s data to: %s ...\n" +msgstr "Se aruncă datele %s la: %s ...\n" + +#: ../gcab.c:102 +#, c-format +msgid "can't write file %s: %s" +msgstr "nu se poate scrie fișierul %s: %s" + +#: ../gcab.c:128 +msgid "Print program version" +msgstr "Tipărește versiunea programului" + +#: ../gcab.c:129 +msgid "Be verbose" +msgstr "Fii detaliat" + +#: ../gcab.c:130 +msgid "Create archive" +msgstr "Creează arhiva" + +#: ../gcab.c:131 +msgid "Extract all files" +msgstr "Extrage toate fișierele" + +#: ../gcab.c:132 +msgid "Dump reserved and extra data" +msgstr "Aruncă datele rezervate și extra" + +#: ../gcab.c:133 +msgid "List content" +msgstr "Listează conținutul" + +#: ../gcab.c:134 +msgid "List content with file details" +msgstr "Listează conținutul cu detaliile fișierelor" + +#: ../gcab.c:135 +msgid "Change to directory DIR" +msgstr "Schimbă la directorul DIR" + +#: ../gcab.c:135 +msgid "DIR" +msgstr "DIR" + +#: ../gcab.c:136 +msgid "Use zip compression" +msgstr "Utilizează compresia zip" + +#: ../gcab.c:137 +msgid "Do not include path" +msgstr "Nu include calea" + +#: ../gcab.c:138 +msgid "Reserve space in cabinet for signing (e.g. -s 6144 reserves 6K bytes)" +msgstr "Rezervă spațiu în cabinet pentru semnare (de ex. -s 6144 rezervă 6K octeți)" + +#: ../gcab.c:139 +msgid "FILE INPUT_FILES..." +msgstr "FIȘIER FIȘIERE_INTRARE..." + +#: ../gcab.c:153 +msgid "- create a Cabinet file" +msgstr "- creează un fișier Cabinet" + +#: ../gcab.c:154 +#, c-format +msgid "Report bugs to <%s>" +msgstr "Raportați defecțiuni la <%s>" + +#: ../gcab.c:157 +msgid "" +"gcab saves many files together into a cabinet archive, and can restore\n" +"individual files from the archive." +msgstr "" +"gcab salvează multe fișiere împreună într-o arhivă cabinet și poate restaura\n" +"fișiere individuale din arhivă." + +#: ../gcab.c:164 +#, c-format +msgid "option parsing failed: %s\n" +msgstr "parsarea opțiunilor a eșuat: %s\n" + +#: ../gcab.c:173 +msgid "Please specify a single operation." +msgstr "Specificați o singură operație." + +#: ../gcab.c:176 +msgid "cabinet file must be specified." +msgstr "fișierul cabinet trebuie specificat." + +#: ../gcab.c:190 +#, c-format +msgid "can't open %s for reading: %s\n" +msgstr "nu se poate deschide %s pentru citire: %s\n" + +#: ../gcab.c:192 +#, c-format +msgid "error reading %s: %s\n" +msgstr "eroare la citirea %s: %s\n" + +#: ../gcab.c:227 +#, c-format +msgid "error during extraction: %s" +msgstr "eroare în timpul extragerii: %s" + +#: ../gcab.c:239 +#, c-format +msgid "error while reading signature: %s" +msgstr "eroare la citirea semnăturii: %s" + +#: ../gcab.c:250 +msgid "please specify input files." +msgstr "specificați fișierele de intrare." + +#: ../gcab.c:268 +#, c-format +msgid "Can't add file %s: %s" +msgstr "Nu se poate adăuga fișierul %s: %s" + +#: ../gcab.c:278 +msgid "no files to be archived." +msgstr "nu sunt fișiere de arhivat." + +#: ../gcab.c:284 +#, c-format +msgid "can't create cab file %s: %s" +msgstr "nu se poate crea fișierul cab %s: %s" + +#: ../gcab.c:288 +#, c-format +msgid "can't add folder to cab file %s: %s" +msgstr "nu se poate adăuga dosarul la fișierul cab %s: %s" + +#: ../gcab.c:296 +#, c-format +msgid "can't write cab file %s: %s" +msgstr "nu se poate scrie fișierul cab %s: %s" + +#: ../libgcab/cabinet.c:42 ../libgcab/cabinet.c:512 +#, c-format +msgid "unsupported compression method %d" +msgstr "metodă de compresie nesuportată %d" + +#: ../libgcab/cabinet.c:539 +msgid "incorrect checksum detected" +msgstr "checksum incorect detectat" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcab-1.2/po/tr.po new/gcab-1.3/po/tr.po --- old/gcab-1.2/po/tr.po 2018-12-09 17:53:57.000000000 +0100 +++ new/gcab-1.3/po/tr.po 2019-10-08 09:53:37.000000000 +0200 @@ -7,97 +7,84 @@ msgid "" msgstr "" "Project-Id-Version: gcab master\n" -"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" -"product=gcab&keywords=I18N+L10N&component=general\n" -"POT-Creation-Date: 2015-08-25 20:08+0000\n" -"PO-Revision-Date: 2015-12-31 22:50+0200\n" -"Last-Translator: Muhammet Kara <[email protected]>\n" +"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gcab/issues\n" +"POT-Creation-Date: 2018-06-10 16:11+0000\n" +"PO-Revision-Date: 2019-01-09 12:52+0200\n" +"Last-Translator: Sabri Ünal <[email protected]>\n" "Language-Team: Türkçe <[email protected]>\n" "Language: tr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Gtranslator 2.91.7\n" +"X-Generator: Poedit 2.0.6\n" "X-POOTLE-MTIME: 1419291970.000000\n" -#: ../gcab.c:62 -#, c-format -msgid "Removing leading '%s' from member names" -msgstr "Üye adlarının başındaki '%s' siliniyor" - -#: ../gcab.c:74 -#, c-format -msgid "Dumping %s data to: %s ...\n" -msgstr "%s verileri şuraya boşaltılıyor: %s...\n" - -#: ../gcab.c:82 -#, c-format -msgid "can't write file %s: %s" -msgstr "%s dosyası yazılamıyor: %s" +#: src/gcab.c:82 +msgid "Dumping data to:" +msgstr "Veriler şuraya boşaltılıyor:" -#: ../gcab.c:109 +#: src/gcab.c:114 msgid "Print program version" msgstr "Program sürümünü yazdır" -#: ../gcab.c:110 +#: src/gcab.c:115 msgid "Be verbose" msgstr "Detaylı ol" -#: ../gcab.c:111 +#: src/gcab.c:116 msgid "Create archive" msgstr "Arşiv oluştur" -#: ../gcab.c:112 +#: src/gcab.c:117 msgid "Extract all files" msgstr "Tüm dosyaları çıkart" -#: ../gcab.c:113 +#: src/gcab.c:118 msgid "Dump reserved and extra data" msgstr "Ayrılmış ve ekstra veriyi dök" -#: ../gcab.c:114 +#: src/gcab.c:119 msgid "List content" msgstr "İçeriği listele" -#: ../gcab.c:115 +#: src/gcab.c:120 msgid "List content with file details" msgstr "İçeriği dosya ayrıntılarıyla birlikte listele" -#: ../gcab.c:116 +#: src/gcab.c:121 msgid "Change to directory DIR" msgstr "DİZİN klasörüne geç" -#: ../gcab.c:116 +#: src/gcab.c:121 msgid "DIR" msgstr "DİZİN" -#: ../gcab.c:117 +#: src/gcab.c:122 msgid "Use zip compression" msgstr "Zip sıkıştırma kullan" -#: ../gcab.c:118 +#: src/gcab.c:123 msgid "Do not include path" msgstr "Yolu dahil etme" -#: ../gcab.c:119 +#: src/gcab.c:124 msgid "Reserve space in cabinet for signing (e.g. -s 6144 reserves 6K bytes)" msgstr "İmzalamak için alan ayır (örneğin -s 6144, 6K bayt ayırır)" -#: ../gcab.c:120 +#: src/gcab.c:125 msgid "FILE INPUT_FILES..." msgstr "DOSYA GİRDİ_DOSYALARI..." -#: ../gcab.c:134 +#: src/gcab.c:139 msgid "- create a Cabinet file" msgstr "- bir Cabinet dosyası oluştur" -#: ../gcab.c:135 -#, c-format -msgid "Report bugs to <%s>" -msgstr "Hataları şuraya bildirin: <%s>" +#: src/gcab.c:140 +msgid "Report bugs to:" +msgstr "Hataları şuraya bildir:" -#: ../gcab.c:138 +#: src/gcab.c:142 msgid "" "gcab saves many files together into a cabinet archive, and can restore\n" "individual files from the archive." @@ -105,72 +92,69 @@ "gcab bir çok dosyayı bir kabin arşivine kaydeder ve bu arşivden\n" "tekil dosyaları geri yükleyebilir." -#: ../gcab.c:145 -#, c-format -msgid "option parsing failed: %s\n" -msgstr "seçenek ayrıştırma başarısız oldu: %s\n" - -#: ../gcab.c:154 -msgid "Please specify a single operation." -msgstr "Lütfen tek bir işlem belirtin." - -#: ../gcab.c:157 -msgid "cabinet file must be specified." -msgstr "kabin dosyası belirtilmelidir." - -#: ../gcab.c:171 -#, c-format -msgid "can't open %s for reading: %s\n" -msgstr "%s okuma için açılamıyor: %s\n" - -#: ../gcab.c:173 -#, c-format -msgid "error reading %s: %s\n" -msgstr "%s okuma hatası: %s\n" - -#: ../gcab.c:208 -#, c-format -msgid "error during extraction: %s" -msgstr "çıkartma sırasında hata oluştu: %s" - -#: ../gcab.c:220 -#, c-format -msgid "error while reading signature: %s" -msgstr "imza okunurken hata oluştu: %s" - -#: ../gcab.c:231 -msgid "please specify input files." -msgstr "Lütfen girdi dosyalarını belirtin." - -#: ../gcab.c:249 -#, c-format -msgid "Can't add file %s: %s" -msgstr "%s dosyası eklenemiyor: %s" - -#: ../gcab.c:259 -msgid "no files to be archived." -msgstr "arşivlenecek dosya yok." - -#: ../gcab.c:265 -#, c-format -msgid "can't create cab file %s: %s" -msgstr "cab dosyası %s oluşturulamıyor: %s" - -#: ../gcab.c:269 -#, c-format -msgid "can't add folder to cab file %s: %s" -msgstr "cab dosyası %s'e klasör eklenemiyor: %s" - -#: ../gcab.c:277 -#, c-format -msgid "can't write cab file %s: %s" -msgstr "cab dosyası %s yazılamıyor: %s" - -#: ../libgcab/cabinet.c:20 ../libgcab/cabinet.c:468 -#, c-format -msgid "unsupported compression method %d" -msgstr "desteklenmeyen sıkıştırma yöntemi %d" - -#: ../libgcab/cabinet.c:482 -msgid "incorrect checksum detected" -msgstr "hatalı sağlama toplamı saptandı" +#: src/gcab.c:149 +msgid "Option parsing failed" +msgstr "Seçenek ayrıştırma başarısız oldu" + +#: src/gcab.c:159 +msgid "Please specify a single operation" +msgstr "Lütfen tek bir işlem belirtin" + +#: src/gcab.c:164 +msgid "Cabinet file must be specified" +msgstr "Kabin dosyası belirtilmelidir" + +#: src/gcab.c:180 +msgid "Cannot open file for reading" +msgstr "Dosya okuma için açılamıyor" + +#: src/gcab.c:184 +msgid "Error reading" +msgstr "Okuma hatası" + +#: src/gcab.c:220 +msgid "Error during extraction" +msgstr "Çıkartma sırasında hata oluştu" + +#: src/gcab.c:235 +msgid "Error while reading signature" +msgstr "İmza okunurken hata oluştu" + +#: src/gcab.c:247 +msgid "No input files specified" +msgstr "Girdi dosyaları belirtilmedi" + +#: src/gcab.c:266 +msgid "Cannot add file" +msgstr "Dosya eklenemiyor" + +#: src/gcab.c:272 +msgid "No files to be archived" +msgstr "Arşivlenecek dosya yok" + +#: src/gcab.c:280 +msgid "Cannot create cab file" +msgstr "Cab dosyası oluşturulamıyor" + +#: src/gcab.c:286 +msgid "Cannot add folder to cab file" +msgstr "Cab dosyasına klasör eklenemiyor" + +#: src/gcab.c:296 +msgid "Cannot write cab file" +msgstr "Cab dosyası yazılamıyor" + +#~ msgid "Removing leading '%s' from member names" +#~ msgstr "Üye adlarının başındaki '%s' siliniyor" + +#~ msgid "can't write file %s: %s" +#~ msgstr "%s dosyası yazılamıyor: %s" + +#~ msgid "please specify input files." +#~ msgstr "Lütfen girdi dosyalarını belirtin." + +#~ msgid "unsupported compression method %d" +#~ msgstr "desteklenmeyen sıkıştırma yöntemi %d" + +#~ msgid "incorrect checksum detected" +#~ msgstr "hatalı sağlama toplamı saptandı" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcab-1.2/tests/gcab-self-test.c new/gcab-1.3/tests/gcab-self-test.c --- old/gcab-1.2/tests/gcab-self-test.c 2018-12-09 17:53:57.000000000 +0100 +++ new/gcab-1.3/tests/gcab-self-test.c 2019-10-08 09:53:37.000000000 +0200 @@ -29,14 +29,7 @@ static gchar * gcab_test_get_filename (const gchar *filename) { - gchar *tmp; - char full_tmp[PATH_MAX]; - g_autofree gchar *path = NULL; - path = g_build_filename (TESTDATADIR, filename, NULL); - tmp = realpath (path, full_tmp); - if (tmp != NULL) - return g_strdup (full_tmp); - return NULL; + return g_test_build_filename (G_TEST_DIST, filename, NULL); } static void @@ -365,7 +358,7 @@ }; /* read file */ - g_print ("%s... ", tests[i].fn); + g_test_message ("%s... ", tests[i].fn); fn = gcab_test_get_filename (tests[i].fn); g_assert (fn != NULL); file = g_file_new_for_path (fn); @@ -446,7 +439,7 @@ g_autoptr(GInputStream) in = NULL; /* read file */ - g_print ("%s... ", tests[i]); + g_test_message ("%s... ", tests[i]); fn = gcab_test_get_filename (tests[i]); g_assert (fn != NULL); file = g_file_new_for_path (fn); @@ -557,7 +550,7 @@ } /* write the file */ - g_print ("%s... ", tests[i].fn); + g_test_message ("%s... ", tests[i].fn); fn_out = g_build_filename ("/tmp", tests[i].fn, NULL); file_out = g_file_new_for_path (fn_out); op = G_OUTPUT_STREAM (g_file_replace (file_out, NULL, FALSE, 0, NULL, &error)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcab-1.2/tests/meson.build new/gcab-1.3/tests/meson.build --- old/gcab-1.2/tests/meson.build 2018-12-09 17:53:57.000000000 +0100 +++ new/gcab-1.3/tests/meson.build 2019-10-08 09:53:37.000000000 +0200 @@ -1,3 +1,40 @@ +installed_tests_metadir = join_paths(get_option('datadir'), 'installed-tests', 'libgcab-1.0') +installed_tests_execdir = join_paths(get_option('libexecdir'), 'installed-tests', 'libgcab-1.0') +installed_tests_enabled = get_option('installed_tests') +installed_tests_template_tap = files('template-tap.test.in') +abs_installed_tests_execdir = join_paths(get_option('prefix'), installed_tests_execdir) + +if installed_tests_enabled + install_data( + 'CVE-2014-9556.cab', + 'CVE-2014-9732.cab', + 'CVE-2015-4470.cab', + 'CVE-2015-4471.cab', + 'privkey.pem', + 'test-mszip.cab', + 'test-ncbytes-overflow.cab', + 'test-none.cab', + 'test-signed.cab', + install_dir : installed_tests_execdir, + ) + install_data( + 'src/test.sh', + 'src/test.txt', + install_dir : join_paths(installed_tests_execdir, 'src'), + ) + + test_conf = configuration_data() + test_conf.set('installed_tests_dir', abs_installed_tests_execdir) + test_conf.set('program', 'gcab-self-test') + test_conf.set('env', '') + configure_file( + input : installed_tests_template_tap, + output : 'gcab-self-test.test', + install_dir : installed_tests_metadir, + configuration : test_conf, + ) +endif + e = executable( 'gcab-self-test', sources : [ @@ -16,5 +53,10 @@ link_with : [ libgcab, ], + install : installed_tests_enabled, + install_dir : installed_tests_execdir, ) -test('gcab-self-test', e) +env = environment() +env.set('G_TEST_SRCDIR', meson.current_source_dir()) +env.set('G_TEST_BUILDDIR', meson.current_build_dir()) +test('gcab-self-test', e, env : env) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gcab-1.2/tests/template-tap.test.in new/gcab-1.3/tests/template-tap.test.in --- old/gcab-1.2/tests/template-tap.test.in 1970-01-01 01:00:00.000000000 +0100 +++ new/gcab-1.3/tests/template-tap.test.in 2019-10-08 09:53:37.000000000 +0200 @@ -0,0 +1,4 @@ +[Test] +Type=session +Exec=@env@@installed_tests_dir@/@program@ --tap +Output=TAP
