openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
October 2015
- 1 participants
- 1896 discussions
Hello community,
here is the log from the commit of package lirc for openSUSE:Factory checked in at 2015-10-30 16:35:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lirc (Old)
and /work/SRC/openSUSE:Factory/.lirc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lirc"
Changes:
--------
--- /work/SRC/openSUSE:Factory/lirc/lirc.changes 2015-10-14 16:39:15.000000000 +0200
+++ /…
[View More]work/SRC/openSUSE:Factory/.lirc.new/lirc.changes 2015-10-30 16:35:49.000000000 +0100
@@ -1,0 +2,17 @@
+Sun Oct 25 08:39:22 UTC 2015 - mpluskal(a)suse.com
+
+- Update to 0.9.3a
+ * Broken fix for kernel bug reverted (#148, #119). This makes
+ lirc incompatible with at least the 4.04 kernels. kernels
+ < 4.0 and > 4.1.6 seemingly works.
+ * Several irrecord fixes (#146, #139, d8826b, #141).
+ * Some fixes for poll() usage, one of which blocked irrecord
+ (02c2480, d9339b6).
+ * lib: Fix parsing of multiple files (#141).
+ * lib: Fix privilege dropping code and a compiler flag (e8be7ae,
+ 8a08ab1)
+ * lirc-lsplugins: Fix --plugindir not being respected (#144).
+ * atilibusb: Fix crash for non-existing device (#145).
+ * plugins: file.c: Fix off-by-one sscanf error (#138).
+
+-------------------------------------------------------------------
Old:
----
lirc-0.9.3.tar.bz2
New:
----
lirc-0.9.3a.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lirc.spec ++++++
--- /var/tmp/diff_new_pack.i55rEa/_old 2015-10-30 16:35:50.000000000 +0100
+++ /var/tmp/diff_new_pack.i55rEa/_new 2015-10-30 16:35:50.000000000 +0100
@@ -22,7 +22,7 @@
%endif
Name: lirc
#
-Version: 0.9.3
+Version: 0.9.3a
Release: 0
Summary: Tools for Infrared Receivers
License: GPL-2.0+
++++++ lirc-0.9.3.tar.bz2 -> lirc-0.9.3a.tar.bz2 ++++++
++++ 2428 lines of diff (skipped)
[View Less]
1
0
Hello community,
here is the log from the commit of package hicolor-icon-theme for openSUSE:Factory checked in at 2015-10-30 16:35:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hicolor-icon-theme (Old)
and /work/SRC/openSUSE:Factory/.hicolor-icon-theme.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hicolor-icon-theme"
Changes:
--------
--- /work/SRC/openSUSE:Factory/…
[View More]hicolor-icon-theme/hicolor-icon-theme.changes 2015-03-30 19:29:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.hicolor-icon-theme.new/hicolor-icon-theme.changes 2015-10-30 16:35:48.000000000 +0100
@@ -1,0 +2,8 @@
+Mon Oct 26 00:08:46 UTC 2015 - zaitor(a)opensuse.org
+
+- Drop hicolor-scalable-sizes.patch: It breaks builder icons, and
+ default icons on desktops like MATE. It has never been taken
+ upstream, nor is any other distro using it, so lets align with
+ everyone else.
+
+-------------------------------------------------------------------
Old:
----
hicolor-scalable-sizes.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ hicolor-icon-theme.spec ++++++
--- /var/tmp/diff_new_pack.P5v375/_old 2015-10-30 16:35:49.000000000 +0100
+++ /var/tmp/diff_new_pack.P5v375/_new 2015-10-30 16:35:49.000000000 +0100
@@ -26,8 +26,6 @@
Source: http://icon-theme.freedesktop.org/releases/%{name}-%{version}.tar.xz
Source1: macros.hicolor
Source99: %{name}-rpmlintrc
-# PATCH-FIX-UPSTREAM hicolor-scalable-sizes.patch fdo25449 vuntz(a)opensuse.org -- Add some MinSize for scalable, since the icons won't look that good at small sizes
-Patch1: hicolor-scalable-sizes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@@ -37,7 +35,6 @@
%prep
%setup -q
-%patch1 -p1
%build
%configure
@@ -53,7 +50,7 @@
%clean
rm -rf %{buildroot}
-# No %post/%postun: there are actually no icons in this package. It's just the
+# No %%post/%%postun: there are actually no icons in this package. It's just the
# directory structure.
%files
[View Less]
1
0
Hello community,
here is the log from the commit of package libreoffice for openSUSE:Factory checked in at 2015-10-30 16:35:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libreoffice (Old)
and /work/SRC/openSUSE:Factory/.libreoffice.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libreoffice"
Changes:
--------
--- /work/SRC/openSUSE:Factory/libreoffice/libreoffice.changes …
[View More]2015-08-29 20:02:48.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libreoffice.new/libreoffice.changes 2015-10-30 16:35:31.000000000 +0100
@@ -1,0 +2,90 @@
+Thu Oct 22 08:11:48 UTC 2015 - tchvatal(a)suse.com
+
+- Add patch to fix flaky test:
+ * use-long-for-test-comparsion.patch
+
+-------------------------------------------------------------------
+Wed Oct 21 16:58:28 UTC 2015 - tchvatal(a)suse.com
+
+- Remove upstream merged:
+ * bnc-939996.diff
+
+-------------------------------------------------------------------
+Wed Oct 21 14:32:00 UTC 2015 - andras.timar(a)collabora.com
+
+- Fix bnc#939996 - LO-L3: Some bits from DOCX file are not imported
+ * bnc-939996.diff
+- Fix bnc#889755 - LO-L3: PPTX: chart axis number format incorrect
+ * bnc-889755.diff
+- bnc#679938 - LO-L3: saving to doc file the chapter name in the header does not change with chapters
+ * bnc-679938.diff
+
+-------------------------------------------------------------------
+Wed Oct 21 11:13:33 UTC 2015 - tchvatal(a)suse.com
+
+- Add patch to disable flaky hsqldb test:
+ * disable-flaky-hsqldb-test.patch
+
+-------------------------------------------------------------------
+Fri Oct 16 08:04:32 UTC 2015 - tchvatal(a)suse.com
+
+- Version update to 5.0.3RC1 as it should fix i586 test failure
+- Drop upstreamed patch:
+ * kde4filepicker.patch
+- Update text2number extension to 1.5.0
+
+-------------------------------------------------------------------
+Fri Oct 16 07:26:33 UTC 2015 - meissner(a)suse.com
+
+- obsolete libreoffice-mono
+- pentaho-flow-reporting require is conditional on system_libs
+
+-------------------------------------------------------------------
+Mon Oct 5 11:14:07 UTC 2015 - tchvatal(a)suse.com
+
+- Update icon theme dependencies
+ * https://lists.debian.org/debian-openoffice/2015/09/msg00343.html
+
+-------------------------------------------------------------------
+Mon Sep 21 08:55:05 UTC 2015 - tchvatal(a)suse.com
+
+- Version bump to 5.0.2 final fate#318856 fate#319071 bnc#943075
+ bnc#945692:
+ * Small tweaks compared to rc1
+- For sake of completion this release also contains security fixes
+ for bnc#910806 CVE-2014-8147, bnc#907636 CVE-2014-9093
+
+-------------------------------------------------------------------
+Thu Sep 17 13:27:07 UTC 2015 - tchvatal(a)suse.com
+
+- Use gcc48 to build on sle11sp4
+
+-------------------------------------------------------------------
+Thu Sep 17 12:05:26 UTC 2015 - tchvatal(a)suse.com
+
+- Make debuginfo's smaller on IBS.
+
+-------------------------------------------------------------------
+Thu Sep 17 08:20:21 UTC 2015 - tchvatal(a)suse.com
+
+- Fix chrpath call after the libs got -lo suffixing
+
+-------------------------------------------------------------------
+Tue Sep 15 09:47:21 UTC 2015 - tchvatal(a)suse.com
+
+- Add patch to fix qt4 features detection:
+ * kde4filepicker.patch
+
+-------------------------------------------------------------------
+Fri Sep 11 11:56:03 UTC 2015 - tchvatal(a)suse.com
+
+- Split out gtk3 UI to separate subpkg that requires gnome subpkg
+ * This is to allow people to test gtk3 while it not being default
+
+-------------------------------------------------------------------
+Wed Sep 9 07:34:59 UTC 2015 - tchvatal(a)suse.com
+
+- Version update to 5.0.2 rc1:
+ * Various small tweaks and integration of our SLE11 patchsets
+
+-------------------------------------------------------------------
Old:
----
451ccf439a36a568653b024534669971-ConvertTextToNumber-1.3.2.oxt
libreoffice-5.0.1.2.tar.xz
libreoffice-help-5.0.1.2.tar.xz
libreoffice-translations-5.0.1.2.tar.xz
New:
----
1f467e5bb703f12cbbb09d5cf67ecf4a-converttexttonumber-1-5-0.oxt
bnc-679938.diff
bnc-889755.diff
disable-flaky-hsqldb-test.patch
libreoffice-5.0.3.1.tar.xz
libreoffice-help-5.0.3.1.tar.xz
libreoffice-translations-5.0.3.1.tar.xz
use-long-for-test-comparsion.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libreoffice.spec ++++++
--- /var/tmp/diff_new_pack.LR7Nx1/_old 2015-10-30 16:35:46.000000000 +0100
+++ /var/tmp/diff_new_pack.LR7Nx1/_new 2015-10-30 16:35:46.000000000 +0100
@@ -19,11 +19,10 @@
# List of supported langs, populated bellow in the lang macros
%global langpack_langs %{nil}
# extensions
-%define ct2n_version 1.3.2
%define numbertext_version 0.9.5
# Urls
%define external_url http://dev-www.libreoffice.org/src/
-%define tarball_url http://download.documentfoundation.org/libreoffice/src/5.0.1
+%define tarball_url http://download.documentfoundation.org/libreoffice/src/5.0.3
# Old Make and bundle or not
%if 0%{?suse_version} > 1230
%bcond_with oldmake
@@ -65,7 +64,7 @@
%endif
# This is used due to the need for beta releases
Name: libreoffice
-Version: 5.0.1.2
+Version: 5.0.3.1
Release: 0
Summary: A Free Office Suite (Framework)
License: Apache-2.0 and Artistic-1.0 and BSD-3-Clause and BSD-4-Clause and GPL-2.0+ and LPPL-1.3c and LGPL-2.1+ and LGPL-3.0 and MPL-1.1 and MIT and SUSE-Public-Domain and W3C
@@ -82,7 +81,7 @@
# prebuilt extensions
Source402: %{external_url}/b7cae45ad2c23551fd6ccb8ae2c1f59e-numbertext_%{numbertext_version}.oxt
# used extensions sources
-Source450: %{external_url}/451ccf439a36a568653b024534669971-ConvertTextToNumber-%{ct2n_version}.oxt
+Source450: %{external_url}/1f467e5bb703f12cbbb09d5cf67ecf4a-converttexttonumber-1-5-0.oxt
Source452: %{external_url}/90401bca927835b6fbae4a707ed187c8-nlpsolver-0.9.tar.bz2
# Internal bundled stuff we can't remove
# XMLSec is patched over and over in here
@@ -156,6 +155,8 @@
Source2062: %{external_url}/language-subtag-registry-2015-06-08.tar.bz2
# Make for old distros where too old gnumake resides
Source3000: http://ftp.gnu.org/gnu/make/make-4.1.tar.bz2
+# PATCH-FIX-SUSE: disable really fragile test run on hsqldb
+Patch0: disable-flaky-hsqldb-test.patch
# change user config dir name from ~/.libreoffice/3 to ~/.libreoffice/3-suse
# to avoid BerkleyDB incompatibility with the plain build
# FIXME: make it configurable and push upstream
@@ -168,6 +169,12 @@
Patch5: mediawiki-no-broken-help.diff
# PATCH-FIX-SUSE: do not declare java6 available for without system libs build
Patch7: 0001-Make-HAVE_JAVA6-be-always-false.patch
+# bnc#889755 - LO-L3: PPTX: chart axis number format incorrect
+Patch10: bnc-889755.diff
+# bnc#679938 - LO-L3: saving to doc file the chapter name in the header does not change with chapters
+Patch11: bnc-679938.diff
+# PATCH-FIX-UPSTREAM: taken from Master to fix flaky test
+Patch12: use-long-for-test-comparsion.patch
# try to save space by using hardlinks
Patch990: install-with-hardlinks.diff
BuildRequires: %{name}-share-linker
@@ -188,6 +195,8 @@
BuildRequires: flac-devel
BuildRequires: flex
BuildRequires: gcc-c++
+# Only for backtracking to see failing tests, pain to rebuild otherwise
+BuildRequires: gdb
BuildRequires: gnome-vfs2-devel
BuildRequires: gperf
BuildRequires: gtk2-devel
@@ -244,6 +253,8 @@
Obsoletes: %{name}-kde < %{version}
Provides: %{name}-l10n-prebuild = %{version}
Obsoletes: %{name}-l10n-prebuild < %{version}
+Provides: %{name}-mono = %{version}
+Obsoletes: %{name}-mono < %{version}
Provides: %{name}-ure = %{version}
Obsoletes: %{name}-ure < %{version}
Provides: %{name}-icon-theme-crystal = %{version}
@@ -324,7 +335,7 @@
BuildRequires: gtk3-devel
BuildRequires: libgltf-devel
%else
-BuildRequires: gcc47-c++
+BuildRequires: gcc48-c++
BuildRequires: gstreamer010-plugins-base-devel
%endif
# we need a JRE for oobase and the other stuff
@@ -385,6 +396,7 @@
Summary: Breeze LibreOffice Icon Theme (KDE Frameworks default)
License: LGPL-2.1
Group: Productivity/Office/Suite
+Requires: %{name}-icon-theme-galaxy
Requires(post): %{name}-share-linker
Requires(postun): %{name}-share-linker
Supplements: packageand(libreoffice:plasma5-workspace)
@@ -418,6 +430,7 @@
Summary: Hicontrast LibreOffice Icon Theme
License: LGPL-3.0
Group: Productivity/Office/Suite
+Requires: %{name}-icon-theme-galaxy
Requires(post): %{name}-share-linker
Requires(postun): %{name}-share-linker
Supplements: libreoffice
@@ -434,6 +447,7 @@
Summary: Oxygen LibreOffice Icon Theme (KDE4 default)
License: LGPL-3.0 or CC-BY-SA-3.0
Group: Productivity/Office/Suite
+Requires: %{name}-icon-theme-galaxy
Requires(post): %{name}-share-linker
Requires(postun): %{name}-share-linker
Supplements: packageand(libreoffice:kdebase4-workspace)
@@ -450,6 +464,8 @@
Summary: Sifr LibreOffice Icon Theme
License: LGPL-3.0
Group: Productivity/Office/Suite
+Requires: %{name}-icon-theme-breeze
+Requires: %{name}-icon-theme-galaxy
Requires(post): %{name}-share-linker
Requires(postun): %{name}-share-linker
Supplements: libreoffice
@@ -466,6 +482,7 @@
Summary: Tango LibreOffice Icon Theme (GNOME default)
License: LGPL-3.0
Group: Productivity/Office/Suite
+Requires: %{name}-icon-theme-galaxy
Requires(post): %{name}-share-linker
Requires(postun): %{name}-share-linker
Supplements: packageand(libreoffice:gnome-session)
@@ -484,7 +501,9 @@
License: LGPL-3.0
Group: Productivity/Office/Suite
Requires: %{name} = %{version}
+%if %{with systemlibs}
Requires: pentaho-reporting-flow-engine
+%endif
Supplements: %{name}
%description base
@@ -617,6 +636,15 @@
%description gnome
This package contains some GNOME extensions for LibreOffice.
+%package gtk3
+Summary: Gtk3 interface for LibreOffice
+License: LGPL-3.0
+Group: Productivity/Office/Suite
+Requires: %{name}-gnome = %{version}
+
+%description gtk3
+This package contains Gtk3 interface rendering option for LibreOffice.
+
%package kde4
Summary: KDE4 Extensions for LibreOffice
License: LGPL-3.0
@@ -966,6 +994,7 @@
%prep
%setup -q -b1 -b2
+%patch0 -p1
%patch1
%patch3 -p1
%patch4
@@ -973,6 +1002,9 @@
%if !%{with systemlibs}
%patch7 -p1
%endif
+%patch10 -p1
+%patch11 -p1
+%patch12 -p1
%patch990 -p1
# 256x256 icons
tar -xjf %{SOURCE20}
@@ -1020,7 +1052,12 @@
# make sure that JAVA_HOME is set correctly
source %{_sysconfdir}/profile.d/alljava.sh
# use RPM_OPT_FLAGS, ...
+%if 0%{?is_opensuse} != 1
+# ON IBS remove big debugsymbols as we simply consume too much space
+ARCH_FLAGS="`echo %{optflags} | sed -e 's/^-g /-g1 /g' -e 's/ -g / -g1 /g' -e 's/ -g$/ -g1/g'`"
+%else
ARCH_FLAGS="%{optflags}"
+%endif
CFLAGS="$ARCH_FLAGS"
CXXFLAGS="$ARCH_FLAGS"
export ARCH_FLAGS CFLAGS CXXFLAGS
@@ -1042,8 +1079,8 @@
# Old systems need help in finding the gcc
%if !%{with newmedia}
-export CC=%{_bindir}/gcc-4.7
-export CXX=%{_bindir}/g++-4.7
+export CC=%{_bindir}/gcc-4.8
+export CXX=%{_bindir}/g++-4.8
%endif
%if %{with oldmake}
@@ -1166,6 +1203,10 @@
install -m755 instdir/program/libsaxlo.so %{buildroot}/%{_libdir}/%{name}/program/libsaxlo.so
echo "%{_libdir}/%{name}/program/libsaxlo.so" >>file-lists/common_list.txt
+# Split out gtk3 interface to -gtk3 subpackage
+grep -v "%{_libdir}/libreoffice/program/libvclplug_gtk3lo.so" file-lists/gnome_list.txt > tmplist
+mv tmplist file-lists/gnome_list.txt
+
################
# update desktop files
builddir=`pwd`
@@ -1185,8 +1226,7 @@
app=`echo $desktop_new | sed "s/.desktop//"`
%suse_update_desktop_file $app
done
-# FIXED: (only the first sed part) 4.3 branch
-sed -i -e 's:Office;:Office;Spreadsheet;:g' -e 's:NoDisplay=false:NoDisplay=true:g' %{buildroot}/%{_datadir}/applications/math.desktop
+sed -i -e 's:NoDisplay=false:NoDisplay=true:g' %{buildroot}/%{_datadir}/applications/math.desktop
cd -
################
# compat stuff for noarch packages
@@ -1304,12 +1344,12 @@
# Remove RPATH on some 3rd party bundled libs
%if !%{with systemlibs}
-chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libwpd-0.10.so.10
-chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libwpg-0.3.so.3
-chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libetonyek-0.1.so.1
-chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libmwaw-0.3.so.3
-chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libwps-0.4.so.4
-chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libodfgen-0.1.so.1
+chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libwpd-0.10-lo.so.10
+chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libwpg-0.3-lo.so.3
+chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libetonyek-0.1-lo.so.1
+chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libmwaw-0.3-lo.so.3
+chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libwps-0.4-lo.so.4
+chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libodfgen-0.1-lo.so.1
chrpath --delete %{buildroot}%{_libdir}/%{name}/program/librdf-lo.so.0
chrpath --delete %{buildroot}%{_libdir}/%{name}/program/librasqal-lo.so.3
%endif
@@ -1540,6 +1580,12 @@
%files -f file-lists/gnome_list.txt gnome
%defattr(-,root,root)
+%if %{with newmedia}
+%files gtk3
+%defattr(-,root,root)
+%{_libdir}/libreoffice/program/libvclplug_gtk3lo.so
+%endif
+
%files -f file-lists/kde4_list.txt kde4
%defattr(-,root,root)
++++++ 1f467e5bb703f12cbbb09d5cf67ecf4a-converttexttonumber-1-5-0.oxt ++++++
++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.LR7Nx1/_old 2015-10-30 16:35:46.000000000 +0100
+++ /var/tmp/diff_new_pack.LR7Nx1/_new 2015-10-30 16:35:46.000000000 +0100
@@ -1,7 +1,7 @@
<constraints>
<hardware>
<physicalmemory>
- <size unit="M">4000</size>
+ <size unit="M">6000</size>
</physicalmemory>
<disk>
<size unit="G">30</size>
++++++ bnc-679938.diff ++++++
From 4215bca95511af8e4ee96e3c8f521b35f638aef3 Mon Sep 17 00:00:00 2001
From: Andras Timar <andras.timar(a)collabora.com>
Date: Fri, 21 Aug 2015 10:42:06 +0200
Subject: export 'Chapter' field type as 'StyleRef' into .doc
Change-Id: I7e635c76b08636a9915cee30aaebb08fc854633d
Reviewed-on: https://gerrit.libreoffice.org/17888
Tested-by: Jenkins <ci(a)libreoffice.org>
Reviewed-by: Andras Timar <andras.timar(a)collabora.com>
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index d2472d2..3da8f9e 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -2879,7 +2879,11 @@ void AttributeOutputBase::TextField( const SwFormatField& rField )
{
SwChapterField aCopy(*static_cast<const SwChapterField*>(pField));
aCopy.ChangeExpansion(*pTextNd, false);
- WriteExpand( &aCopy );
+ const OUString sStr = FieldString(ww::eSTYLEREF)
+ + " "
+ + OUString::number(aCopy.GetLevel() + 1)
+ + " \\* MERGEFORMAT ";
+ GetExport().OutputField(pField, ww::eSTYLEREF, sStr);
bWriteExpand = false;
}
}
--
cgit v0.10.2
++++++ bnc-889755.diff ++++++
From 7f309e9d9288eb6220b5b98a8737e3450d068301 Mon Sep 17 00:00:00 2001
From: Marco Cecchetti <marco.cecchetti(a)collabora.com>
Date: Fri, 31 Jul 2015 22:14:41 +0200
Subject: [PATCH] tdf#88154 workaround and unit test
Fixed 45-degree layout for axis labels, too.
Change-Id: I9764e281aeee0a439fa9eec1e3b0df840221b72f
Reviewed-on: https://gerrit.libreoffice.org/18889
Reviewed-by: Jan Holesovsky <kendy(a)collabora.com>
Tested-by: Jan Holesovsky <kendy(a)collabora.com>
---
chart2/qa/extras/chart2import.cxx | 31 +++++++++++
chart2/qa/extras/data/pptx/bnc889755.pptx | Bin 0 -> 34771 bytes
.../controller/chartapiwrapper/AxisWrapper.cxx | 13 ++++-
chart2/source/model/main/Axis.cxx | 15 ++++-
chart2/source/view/axes/VAxisProperties.cxx | 7 +++
chart2/source/view/axes/VAxisProperties.hxx | 5 ++
chart2/source/view/axes/VCartesianAxis.cxx | 23 +++++---
include/xmloff/xmltoken.hxx | 1 +
offapi/com/sun/star/chart2/Axis.idl | 7 +++
oox/inc/drawingml/chart/datasourcecontext.hxx | 5 ++
oox/source/drawingml/chart/datasourcecontext.cxx | 62 ++++++++++++++++++++-
xmloff/source/chart/PropertyMap.hxx | 1 +
xmloff/source/chart/SchXMLAxisContext.cxx | 7 +++
xmloff/source/core/xmltoken.cxx | 1 +
14 files changed, 165 insertions(+), 13 deletions(-)
create mode 100644 chart2/qa/extras/data/pptx/bnc889755.pptx
diff --git a/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx b/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx
index ee32f16..ddf589c 100644
--- a/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/AxisWrapper.cxx
@@ -102,7 +102,8 @@ enum
PROP_AXIS_OVERLAP,
PROP_AXIS_GAP_WIDTH,
PROP_AXIS_DISPLAY_UNITS,
- PROP_AXIS_BUILTINUNIT
+ PROP_AXIS_BUILTINUNIT,
+ PROP_AXIS_TRY_STAGGERING_FIRST
};
void lcl_AddPropertiesToVector(
@@ -356,6 +357,15 @@ void lcl_AddPropertiesToVector(
cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
+
+ // Compatibility option: starting from LibreOffice 5.1 the rotated
+ // layout is preferred to staggering for axis labels.
+ rOutProperties.push_back(
+ Property( "TryStaggeringFirst",
+ PROP_AXIS_TRY_STAGGERING_FIRST,
+ cppu::UnoType<bool>::get(),
+ beans::PropertyAttribute::BOUND
+ | beans::PropertyAttribute::MAYBEDEFAULT ));
}
struct StaticAxisWrapperPropertyArray_Initializer
@@ -656,6 +666,7 @@ const std::vector< WrappedProperty* > AxisWrapper::createWrappedProperties()
aWrappedProperties.push_back( new WrappedProperty("ArrangeOrder","ArrangeOrder") );
aWrappedProperties.push_back( new WrappedProperty("Visible","Show") );
aWrappedProperties.push_back( new WrappedDirectStateProperty("DisplayLabels","DisplayLabels") );
+ aWrappedProperties.push_back( new WrappedDirectStateProperty("TryStaggeringFirst","TryStaggeringFirst") );
aWrappedProperties.push_back( new WrappedDirectStateProperty("TextBreak","TextBreak") );
aWrappedProperties.push_back( new WrappedNumberFormatProperty(m_spChart2ModelContact) );
aWrappedProperties.push_back( new WrappedLinkNumberFormatProperty(m_spChart2ModelContact) );
diff --git a/chart2/source/model/main/Axis.cxx b/chart2/source/model/main/Axis.cxx
index 7fcaaec..79855d6 100644
--- a/chart2/source/model/main/Axis.cxx
+++ b/chart2/source/model/main/Axis.cxx
@@ -83,7 +83,9 @@ enum
PROP_AXIS_MARK_POSITION,
PROP_AXIS_DISPLAY_UNITS,
- PROP_AXIS_BUILTINUNIT
+ PROP_AXIS_BUILTINUNIT,
+
+ PROP_AXIS_TRY_STAGGERING_FIRST
};
void lcl_AddPropertiesToVector(
@@ -210,6 +212,16 @@ void lcl_AddPropertiesToVector(
cppu::UnoType<OUString>::get(),
beans::PropertyAttribute::BOUND
| beans::PropertyAttribute::MAYBEDEFAULT ));
+
+ // Compatibility option: starting from LibreOffice 5.1 the rotated
+ // layout is preferred to staggering for axis labels.
+ rOutProperties.push_back(
+ Property( "TryStaggeringFirst",
+ PROP_AXIS_TRY_STAGGERING_FIRST,
+ cppu::UnoType<bool>::get(),
+ beans::PropertyAttribute::BOUND
+ | beans::PropertyAttribute::MAYBEDEFAULT ));
+
}
struct StaticAxisDefaults_Initializer
@@ -246,6 +258,7 @@ private:
::chart::PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, PROP_AXIS_MINOR_TICKMARKS, 0 /* CHAXIS_MARK_NONE */ );
::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_AXIS_MARK_POSITION, ::com::sun::star::chart::ChartAxisMarkPosition_AT_LABELS_AND_AXIS );
::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_AXIS_DISPLAY_UNITS, false );
+ ::chart::PropertyHelper::setPropertyValueDefault( rOutMap, PROP_AXIS_TRY_STAGGERING_FIRST, false );
}
};
diff --git a/chart2/source/view/axes/VAxisProperties.cxx b/chart2/source/view/axes/VAxisProperties.cxx
index 3db365d..85721ad 100644
--- a/chart2/source/view/axes/VAxisProperties.cxx
+++ b/chart2/source/view/axes/VAxisProperties.cxx
@@ -164,6 +164,7 @@ AxisProperties::AxisProperties( const uno::Reference< XAxis >& xAxisModel
, m_bCrossingAxisHasReverseDirection(false)
, m_bCrossingAxisIsCategoryAxes(false)
, m_bDisplayLabels( true )
+ , m_bTryStaggeringFirst( false )
, m_nNumberFormatKey(0)
, m_nMajorTickmarks(1)
, m_nMinorTickmarks(1)
@@ -189,6 +190,7 @@ AxisProperties::AxisProperties( const AxisProperties& rAxisProperties )
, m_bCrossingAxisIsCategoryAxes( rAxisProperties.m_bCrossingAxisIsCategoryAxes )
, maLabelAlignment( rAxisProperties.maLabelAlignment )
, m_bDisplayLabels( rAxisProperties.m_bDisplayLabels )
+ , m_bTryStaggeringFirst( rAxisProperties.m_bTryStaggeringFirst )
, m_nNumberFormatKey( rAxisProperties.m_nNumberFormatKey )
, m_nMajorTickmarks( rAxisProperties.m_nMajorTickmarks )
, m_nMinorTickmarks( rAxisProperties.m_nMinorTickmarks )
@@ -331,6 +333,11 @@ void AxisProperties::init( bool bCartesian )
//init display labels
xProp->getPropertyValue( "DisplayLabels" ) >>= m_bDisplayLabels;
+ // Init layout strategy hint for axis labels.
+ // Compatibility option: starting from LibreOffice 5.1 the rotated
+ // layout is preferred to staggering for axis labels.
+ xProp->getPropertyValue( "TryStaggeringFirst" ) >>= m_bTryStaggeringFirst;
+
//init TickmarkProperties
xProp->getPropertyValue( "MajorTickmarks" ) >>= m_nMajorTickmarks;
xProp->getPropertyValue( "MinorTickmarks" ) >>= m_nMinorTickmarks;
diff --git a/chart2/source/view/axes/VAxisProperties.hxx b/chart2/source/view/axes/VAxisProperties.hxx
index 1eadf70..039bd1c 100644
--- a/chart2/source/view/axes/VAxisProperties.hxx
+++ b/chart2/source/view/axes/VAxisProperties.hxx
@@ -118,6 +118,11 @@ struct AxisProperties SAL_FINAL
bool m_bDisplayLabels;
+ // Compatibility option: starting from LibreOffice 5.1 the rotated
+ // layout is preferred to staggering for axis labels.
+ // So the default value of this flag for new documents is `false`.
+ bool m_bTryStaggeringFirst;
+
sal_Int32 m_nNumberFormatKey;
/*
diff --git a/chart2/source/view/axes/VCartesianAxis.cxx b/chart2/source/view/axes/VCartesianAxis.cxx
index c8ae9e0..7651fee 100644
--- a/chart2/source/view/axes/VCartesianAxis.cxx
+++ b/chart2/source/view/axes/VCartesianAxis.cxx
@@ -826,15 +826,20 @@ bool VCartesianAxis::createTextShapes(
bool bOverlapsAfterAutoStagger = true;
if( !bIsStaggered && isAutoStaggeringOfLabelsAllowed( rAxisLabelProperties, bIsHorizontalAxis, bIsVerticalAxis ) )
{
- bIsStaggered = true;
- rAxisLabelProperties.eStaggering = STAGGER_EVEN;
- pLastVisibleNeighbourTickInfo = pPREPreviousVisibleTickInfo;
- if( !pLastVisibleNeighbourTickInfo ||
- !lcl_doesShapeOverlapWithTickmark( pLastVisibleNeighbourTickInfo->xTextShape
- , rAxisLabelProperties.fRotationAngleDegree
- , pTickInfo->aTickScreenPosition
- , bIsHorizontalAxis, bIsVerticalAxis ) )
- bOverlapsAfterAutoStagger = false;
+ // Compatibility option: starting from LibreOffice 5.1 the rotated
+ // layout is preferred to staggering for axis labels.
+ if( m_aAxisProperties.m_bTryStaggeringFirst || !(::rtl::math::approxEqual( rAxisLabelProperties.fRotationAngleDegree, 0.0 ) ) )
+ {
+ bIsStaggered = true;
+ rAxisLabelProperties.eStaggering = STAGGER_EVEN;
+ pLastVisibleNeighbourTickInfo = pPREPreviousVisibleTickInfo;
+ if( !pLastVisibleNeighbourTickInfo ||
+ !lcl_doesShapeOverlapWithTickmark( pLastVisibleNeighbourTickInfo->xTextShape
+ , rAxisLabelProperties.fRotationAngleDegree
+ , pTickInfo->aTickScreenPosition
+ , bIsHorizontalAxis, bIsVerticalAxis ) )
+ bOverlapsAfterAutoStagger = false;
+ }
}
if (bOverlapsAfterAutoStagger)
diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx
index 1eea8c1..29af403 100644
--- a/include/xmloff/xmltoken.hxx
+++ b/include/xmloff/xmltoken.hxx
@@ -1909,6 +1909,7 @@ namespace xmloff { namespace token {
XML_TRANSPOSE,
XML_TRUE,
XML_TRUNCATE_ON_OVERFLOW,
+ XML_TRY_STAGGERING_FIRST,
XML_TTB,
XML_TYPE,
XML_DOT_DASH,
diff --git a/offapi/com/sun/star/chart2/Axis.idl b/offapi/com/sun/star/chart2/Axis.idl
index c27bf8a..28f5c19 100644
--- a/offapi/com/sun/star/chart2/Axis.idl
+++ b/offapi/com/sun/star/chart2/Axis.idl
@@ -134,6 +134,13 @@ service Axis
@since LibreOffice 4.3
*/
[optional, property] string BuiltInUnit;
+
+ /** Compatibility option: determines which strategy should be tried first for fixing axis labels overlapping issues
+
+ @since LibreOffice 5.1
+ */
+ [optional, property] boolean TryStaggeringFirst;
+
};
} ; // chart2
diff --git a/oox/inc/drawingml/chart/datasourcecontext.hxx b/oox/inc/drawingml/chart/datasourcecontext.hxx
index 82aa38e..ef3298c 100644
--- a/oox/inc/drawingml/chart/datasourcecontext.hxx
+++ b/oox/inc/drawingml/chart/datasourcecontext.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_OOX_DRAWINGML_CHART_DATASOURCECONTEXT_HXX
#include <drawingml/chart/chartcontextbase.hxx>
+#include <svl/zforlist.hxx>
namespace oox {
namespace drawingml {
@@ -46,7 +47,11 @@ public:
virtual void onCharacters( const OUString& rChars ) SAL_OVERRIDE;
private:
+ SvNumberFormatter* getNumberFormatter();
+
+private:
sal_Int32 mnPtIndex; /// Current data point index.
+ SvNumberFormatter* mpNumberFormatter;
};
diff --git a/oox/source/drawingml/chart/datasourcecontext.cxx b/oox/source/drawingml/chart/datasourcecontext.cxx
index 946b5bd..10ac7c6 100644
--- a/oox/source/drawingml/chart/datasourcecontext.cxx
+++ b/oox/source/drawingml/chart/datasourcecontext.cxx
@@ -21,6 +21,9 @@
#include "oox/drawingml/chart/datasourcemodel.hxx"
+#include <comphelper/processfactory.hxx>
+#include <oox/core/xmlfilterbase.hxx>
+#include <svl/zforlist.hxx>
#include <osl/diagnose.h>
namespace oox {
@@ -30,14 +33,21 @@ namespace chart {
using ::oox::core::ContextHandler2Helper;
using ::oox::core::ContextHandlerRef;
+using namespace ::com::sun::star;
+
DoubleSequenceContext::DoubleSequenceContext( ContextHandler2Helper& rParent, DataSequenceModel& rModel ) :
DataSequenceContextBase( rParent, rModel ),
- mnPtIndex( -1 )
+ mnPtIndex( -1 ),
+ mpNumberFormatter( NULL )
{
}
DoubleSequenceContext::~DoubleSequenceContext()
{
+ if( mpNumberFormatter != NULL )
+ {
+ delete mpNumberFormatter;
+ }
}
ContextHandlerRef DoubleSequenceContext::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs )
@@ -98,14 +108,62 @@ void DoubleSequenceContext::onCharacters( const OUString& rChars )
* TODO: NumberFormat conversion, remove the check then.
*/
if( isParentElement( C_TOKEN( cat ), 4 ) )
- mrModel.maData[ mnPtIndex ] <<= rChars;
+ {
+ // workaround for bug n#889755
+ SvNumberFormatter* pNumFrmt = getNumberFormatter();
+ if( pNumFrmt )
+ {
+ sal_uInt32 nKey = pNumFrmt->GetEntryKey( mrModel.maFormatCode );
+ bool bNoKey = ( nKey == NUMBERFORMAT_ENTRY_NOT_FOUND );
+ if( bNoKey )
+ {
+ OUString aFormatCode = mrModel.maFormatCode;
+ sal_Int32 nCheckPos = 0;
+ short nType;
+ pNumFrmt->PutEntry( aFormatCode, nCheckPos, nType, nKey );
+ bNoKey = (nCheckPos != 0);
+ }
+ if( bNoKey )
+ {
+ mrModel.maData[ mnPtIndex ] <<= rChars;
+ }
+ else
+ {
+ double fValue = rChars.toDouble();
+ Color* pColor = NULL;
+ OUString aFormattedValue;
+ pNumFrmt->GetOutputString( fValue, nKey, aFormattedValue, &pColor );
+ mrModel.maData[ mnPtIndex ] <<= aFormattedValue;
+ }
+ }
+ else
+ {
+ mrModel.maData[ mnPtIndex ] <<= rChars;
+ }
+ }
else
+ {
mrModel.maData[ mnPtIndex ] <<= rChars.toDouble();
+ }
}
break;
}
}
+
+SvNumberFormatter* DoubleSequenceContext::getNumberFormatter()
+{
+ if( mpNumberFormatter == NULL )
+ {
+ uno::Reference<uno::XComponentContext> rContext =
+ this->getFilter().getComponentContext();
+ mpNumberFormatter =
+ new SvNumberFormatter(rContext, LANGUAGE_DONTKNOW);
+ }
+ return mpNumberFormatter;
+}
+
+
StringSequenceContext::StringSequenceContext( ContextHandler2Helper& rParent, DataSequenceModel& rModel )
: DataSequenceContextBase( rParent, rModel )
, mnPtIndex(-1)
diff --git a/xmloff/source/chart/PropertyMap.hxx b/xmloff/source/chart/PropertyMap.hxx
index 0145bde..4a22c47 100644
--- a/xmloff/source/chart/PropertyMap.hxx
+++ b/xmloff/source/chart/PropertyMap.hxx
@@ -184,6 +184,7 @@ const XMLPropertyMapEntry aXMLChartPropMap[] =
MAP_ENTRY( "TextCanOverlap", CHART, XML_TEXT_OVERLAP, XML_TYPE_BOOL ),
MAP_ENTRY_ODF12( "ReverseDirection", CHART, XML_REVERSE_DIRECTION, XML_TYPE_BOOL ),
MAP_ENTRY( "TextBreak", TEXT, XML_LINE_BREAK, XML_TYPE_BOOL ),
+ MAP_ENTRY_ODF_EXT( "TryStaggeringFirst", LO_EXT, XML_TRY_STAGGERING_FIRST, XML_TYPE_BOOL ),
MAP_ENTRY( "ArrangeOrder", CHART, XML_LABEL_ARRANGEMENT, XML_SCH_TYPE_AXIS_ARRANGEMENT ),
MAP_SPECIAL( "NumberFormat", STYLE, XML_DATA_STYLE_NAME, XML_TYPE_NUMBER, XML_SCH_CONTEXT_SPECIAL_NUMBER_FORMAT ),
MAP_ENTRY( "LinkNumberFormatToSource", CHART, XML_LINK_DATA_STYLE_TO_SOURCE, XML_TYPE_BOOL ),
diff --git a/xmloff/source/chart/SchXMLAxisContext.cxx b/xmloff/source/chart/SchXMLAxisContext.cxx
index 502ef08..b693355 100644
--- a/xmloff/source/chart/SchXMLAxisContext.cxx
+++ b/xmloff/source/chart/SchXMLAxisContext.cxx
@@ -459,6 +459,13 @@ void SchXMLAxisContext::CreateAxis()
m_xAxisProps->setPropertyValue("DisplayLabels", aFalseBool );
+ // Compatibility option: starting from LibreOffice 5.1 the rotated
+ // layout is preferred to staggering for axis labels.
+ // So the import default value for having compatibility with ODF
+ // documents created with erlier LibreOffice versions is `true`.
+ if( GetImport().getGeneratorVersion() != SvXMLImport::ProductVersionUnknown )
+ m_xAxisProps->setPropertyValue("TryStaggeringFirst", aTrueBool );
+
// #88077# AutoOrigin 'on' is default
m_xAxisProps->setPropertyValue("AutoOrigin", aTrueBool );
diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx
index 63e4aff..0d4ed2d 100644
--- a/xmloff/source/core/xmltoken.cxx
+++ b/xmloff/source/core/xmltoken.cxx
@@ -1914,6 +1914,7 @@ namespace xmloff { namespace token {
TOKEN( "transpose", XML_TRANSPOSE ),
TOKEN( "true", XML_TRUE ),
TOKEN( "truncate-on-overflow", XML_TRUNCATE_ON_OVERFLOW ),
+ TOKEN( "try-staggering-first", XML_TRY_STAGGERING_FIRST ),
TOKEN( "ttb", XML_TTB ),
TOKEN( "type", XML_TYPE ),
TOKEN( "dot-dash", XML_DOT_DASH ),
--
2.1.4
++++++ disable-flaky-hsqldb-test.patch ++++++
diff --git a/dbaccess/Module_dbaccess.mk b/dbaccess/Module_dbaccess.mk
index 200dea0..1f10c00 100644
--- a/dbaccess/Module_dbaccess.mk
+++ b/dbaccess/Module_dbaccess.mk
@@ -49,12 +49,6 @@ $(eval $(call gb_Module_add_check_targets,dbaccess,\
CppunitTest_dbaccess_RowSetClones) \
))
-ifeq ($(ENABLE_JAVA),TRUE)
-$(eval $(call gb_Module_add_check_targets,dbaccess,\
- CppunitTest_dbaccess_hsqldb_test \
-))
-endif
-
# This runs a suite of peformance tests on embedded firebird and HSQLDB.
# Instructions on running the test can be found in qa/unit/embeddedb_performancetest
ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
++++++ libreoffice-5.0.1.2.tar.xz -> libreoffice-5.0.3.1.tar.xz ++++++
/work/SRC/openSUSE:Factory/libreoffice/libreoffice-5.0.1.2.tar.xz /work/SRC/openSUSE:Factory/.libreoffice.new/libreoffice-5.0.3.1.tar.xz differ: char 25, line 1
++++++ libreoffice-help-5.0.1.2.tar.xz -> libreoffice-help-5.0.3.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libreoffice-5.0.1.2/ChangeLog-helpcontent2 new/libreoffice-5.0.3.1/ChangeLog-helpcontent2
--- old/libreoffice-5.0.1.2/ChangeLog-helpcontent2 2015-08-22 09:42:36.000000000 +0200
+++ new/libreoffice-5.0.3.1/ChangeLog-helpcontent2 2015-10-08 12:47:35.000000000 +0200
@@ -1,14 +1,14 @@
-2015-08-22 Robinson Tryon <qubit(a)runcibility.com> [d26c84e14ac7de89f534954908c782d087e0617d]
+2015-10-07 Christian Lohmaier <lohmaier+LibreOffice(a)googlemail.com> [99bdf50c7f98b026f92d71175597ac750796a5d0]
-Version\ 5.0.1.2\,\ tag\ libreoffice-5.0.1.2
+Version 5.0.3.1, tag libreoffice-5.0.3.1
-Change-Id: I6e1bc09fbcd58508518ebf3794e3dccb4abcb637
+Change-Id: If13bdd135a130e49d1cdeca6bf818bc430e4039b
-2015-08-07 Christian Lohmaier <lohmaier+LibreOffice(a)googlemail.com> [36cbda5c833b6e48a1e30786b6a78da38a2fcf7d]
+2015-10-07 Christian Lohmaier <lohmaier+LibreOffice(a)googlemail.com> [f3cc5cfcbabc36d95522204ab2db1d9a834c20a4]
-Branch libreoffice-5-0-1
+Branch libreoffice-5-0-3
-This is 'libreoffice-5-0-1' - the stable branch for the 5.0.1 release.
+This is 'libreoffice-5-0-3' - the stable branch for the 5.0.3 release.
Only very safe changes, reviewed by three people are allowed.
If you want to commit more complicated fix for the next 5.0.x release,
@@ -16,7 +16,7 @@
If you want to build something cool, unstable, and risky, use master.
-Change-Id: Ib61f7b08497a9521f4f4a4b6046d21e9a9e82308
+Change-Id: If61d763a22550a0915f468708275f259c83feef3
2015-08-05 Christian Lohmaier <lohmaier+LibreOffice(a)googlemail.com> [68c46e7dbaf5cf34a5b5ccb80122801dad778bbe]
++++++ libreoffice-translations-5.0.1.2.tar.xz -> libreoffice-translations-5.0.3.1.tar.xz ++++++
/work/SRC/openSUSE:Factory/libreoffice/libreoffice-translations-5.0.1.2.tar.xz /work/SRC/openSUSE:Factory/.libreoffice.new/libreoffice-translations-5.0.3.1.tar.xz differ: char 25, line 1
++++++ use-long-for-test-comparsion.patch ++++++
From 494aa9ee5d01699c0dcbc912091de30a314c09fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mat=C3=BA=C5=A1=20Kukan?= <matus.kukan(a)gmail.com>
Date: Fri, 18 Sep 2015 12:57:39 +0200
Subject: Workaround unit test failure by comparing as long
On 32bit system, for some reason casting to double gives wrong results.
Failing unit test was testTdf87924 in CppunitTest_sw_ooxmlimport.
Change-Id: If93e5288a381e50f30d035d56131b1d9235ac658
Reviewed-on: https://gerrit.libreoffice.org/18684
Tested-by: Jenkins <ci(a)libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos(a)collabora.co.uk>
diff --git a/oox/source/shape/WpsContext.cxx b/oox/source/shape/WpsContext.cxx
index 657071b..0cf558c 100644
--- a/oox/source/shape/WpsContext.cxx
+++ b/oox/source/shape/WpsContext.cxx
@@ -100,7 +100,7 @@ oox::core::ContextHandlerRef WpsContext::onCreateContext(sal_Int32 nElementToken
// If the text is not rotated the way the shape wants it already, set the angle.
const sal_Int32 nRotation = -270;
- if (basegfx::rad2deg(fRotate) != static_cast<double>(NormAngle360(nRotation * 100)) / 100)
+ if (static_cast<long>(basegfx::rad2deg(fRotate)) != NormAngle360(nRotation * 100) / 100)
{
comphelper::SequenceAsHashMap aCustomShapeGeometry(xPropertySet->getPropertyValue("CustomShapeGeometry"));
aCustomShapeGeometry["TextPreRotateAngle"] = uno::makeAny(nRotation);
--
cgit v0.10.2
[View Less]
1
0
Hello community,
here is the log from the commit of package catdoc for openSUSE:Factory checked in at 2015-10-30 16:35:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/catdoc (Old)
and /work/SRC/openSUSE:Factory/.catdoc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "catdoc"
Changes:
--------
--- /work/SRC/openSUSE:Factory/catdoc/catdoc.changes 2013-12-02 14:59:47.000000000 +…
[View More]0100
+++ /work/SRC/openSUSE:Factory/.catdoc.new/catdoc.changes 2015-10-30 16:35:13.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Oct 27 09:22:50 UTC 2015 - tchvatal(a)suse.com
+
+- Respect cflags:
+ * catdoc-cflags.patch
+- Do not install TODO solves issue with wrong line encoding
+
+-------------------------------------------------------------------
New:
----
catdoc-cflags.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ catdoc.spec ++++++
--- /var/tmp/diff_new_pack.M5YjxT/_old 2015-10-30 16:35:14.000000000 +0100
+++ /var/tmp/diff_new_pack.M5YjxT/_new 2015-10-30 16:35:14.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package catdoc
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -28,11 +28,13 @@
Patch0: install.patch
# PATCH-FIX-OPENSUSE dont_build_xls2csv.patch -- xls2csv is provided by two other packages, so we don't need it built
Patch1: dont_build_xls2csv.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+# PATCH-FIX-UPSTREAM catdoc-cflags.patch -- respect cflags
+Patch2: catdoc-cflags.patch
BuildRequires: freetype2-devel
BuildRequires: tcl
BuildRequires: tk
BuildRequires: update-desktop-files
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Catdoc is a MS Word file decoding tool that doesn't attempt to
@@ -45,27 +47,26 @@
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
-export CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS"
-export CFLAGS="$CFLAGS $RPM_OPT_FLAGS"
%configure
make %{?_smp_mflags}
%install
make installroot=%{buildroot} install
mkdir -p %{buildroot}%{_datadir}/man
-mkdir -p %{buildroot}%{_datadir}/man/man1
-mv $RPM_BUILD_DIR/%{name}-%{version}/doc/*.1 %{buildroot}%{_datadir}/man/man1/
+mkdir -p %{buildroot}%{_mandir}/man1
+mv $RPM_BUILD_DIR/%{name}-%{version}/doc/*.1 %{buildroot}%{_mandir}/man1/
%suse_update_desktop_file wordview Office WordProcessor GNOME
%files
%defattr(-, root, root, 0755)
-%doc COPYING CREDITS NEWS README TODO
-%doc %{_mandir}/man1/*
+%doc COPYING CREDITS NEWS README
+%{_mandir}/man1/*
# Conflicts with xls2csv package
-%exclude %doc %{_mandir}/man1/xls2csv*
+%exclude %{_mandir}/man1/xls2csv*
%{_bindir}/catdoc
%{_bindir}/catppt
%{_bindir}/wordview
++++++ catdoc-cflags.patch ++++++
Index: catdoc-0.94.4/src/Makefile.in
===================================================================
--- catdoc-0.94.4.orig/src/Makefile.in
+++ catdoc-0.94.4/src/Makefile.in
@@ -72,10 +72,10 @@ OBJPPT=catppt.o pptparse.o $(COMMONOBJ)
# $(CC) -c $(CFLAGS) $*
all: @buildtargets@
catdoc: $(OBJ)
- $(CC) -o catdoc $(OBJ)
+ $(CC) $(CFLAGS) -o catdoc $(OBJ)
catppt: $(OBJPPT)
- $(CC) -o catppt $(OBJPPT) -lm
+ $(CC) $(CFLAGS) -o catppt $(OBJPPT) -lm
install: @installtargets@
install-catdoc:catdoc catppt
Index: catdoc-0.94.4/configure
===================================================================
--- catdoc-0.94.4.orig/configure
+++ catdoc-0.94.4/configure
@@ -1499,10 +1499,6 @@ EOF
fi
-if test "$GCC" = "yes"; then
- CFLAGS="-g -O2 -Wall"
-fi
-
cat >> confdefs.h <<EOF
#define SOURCE_CHARSET "$sourcecharset"
EOF
Index: catdoc-0.94.4/configure.in
===================================================================
--- catdoc-0.94.4.orig/configure.in
+++ catdoc-0.94.4/configure.in
@@ -100,10 +100,6 @@ AC_C_CONST
dnl Checks for library functions.
AC_FUNC_SETVBUF_REVERSED
-if test "$GCC" = "yes"; then
- CFLAGS="-g -O2 -Wall"
-fi
-
AC_DEFINE_UNQUOTED([SOURCE_CHARSET],"$sourcecharset",[Character encoding used by default for 8-bit source files])
AC_DEFINE_UNQUOTED([TARGET_CHARSET],"$targetcharset",[Output character encoding used by default, if impossible to determine encoding from locale])
AC_DEFINE_UNQUOTED([SPEC_EXT],"$specsuffix",[Suffix for files with special symbols map (ones to be replaced regardless of availability in target encoding)])
[View Less]
1
0
Hello community,
here is the log from the commit of package python3-pytz for openSUSE:Factory checked in at 2015-10-30 16:35:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pytz (Old)
and /work/SRC/openSUSE:Factory/.python3-pytz.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-pytz"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pytz/python3-pytz.…
[View More]changes 2015-10-06 13:27:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-pytz.new/python3-pytz.changes 2015-10-30 16:35:12.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Oct 27 15:15:35 UTC 2015 - arun(a)gmx.de
+
+- update to version 2015.7:
+ * Improved localtime handling, and added a localize() method enabling
+ correct creation of local times.
+
+-------------------------------------------------------------------
Old:
----
pytz-2015.6.tar.bz2
New:
----
pytz-2015.7.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-pytz.spec ++++++
--- /var/tmp/diff_new_pack.AxpZb4/_old 2015-10-30 16:35:13.000000000 +0100
+++ /var/tmp/diff_new_pack.AxpZb4/_new 2015-10-30 16:35:13.000000000 +0100
@@ -17,7 +17,7 @@
Name: python3-pytz
-Version: 2015.6
+Version: 2015.7
Release: 0
Url: http://pytz.sourceforge.net
Summary: World timezone definitions, modern and historical
++++++ pytz-2015.6.tar.bz2 -> pytz-2015.7.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2015.6/PKG-INFO new/pytz-2015.7/PKG-INFO
--- old/pytz-2015.6/PKG-INFO 2015-09-21 15:40:26.000000000 +0200
+++ new/pytz-2015.7/PKG-INFO 2015-10-26 07:30:31.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytz
-Version: 2015.6
+Version: 2015.7
Summary: World timezone definitions, modern and historical
Home-page: http://pythonhosted.org/pytz
Author: Stuart Bishop
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2015.6/pytz/__init__.py new/pytz-2015.7/pytz/__init__.py
--- old/pytz-2015.6/pytz/__init__.py 2015-09-21 15:39:30.000000000 +0200
+++ new/pytz-2015.7/pytz/__init__.py 2015-10-26 07:30:26.000000000 +0100
@@ -9,8 +9,8 @@
'''
# The Olson database is updated several times a year.
-OLSON_VERSION = '2015f'
-VERSION = '2015.6' # Switching to pip compatible version numbering.
+OLSON_VERSION = '2015g'
+VERSION = '2015.7' # Switching to pip compatible version numbering.
__version__ = VERSION
OLSEN_VERSION = OLSON_VERSION # Old releases had this misspelling
@@ -241,7 +241,7 @@
return "UTC"
-UTC = utc = UTC() # UTC is a singleton
+UTC = utc = UTC() # UTC is a singleton
def _UTC():
@@ -599,6 +599,7 @@
'America/Eirunepe',
'America/El_Salvador',
'America/Ensenada',
+ 'America/Fort_Nelson',
'America/Fort_Wayne',
'America/Fortaleza',
'America/Glace_Bay',
@@ -1177,6 +1178,7 @@
'America/Edmonton',
'America/Eirunepe',
'America/El_Salvador',
+ 'America/Fort_Nelson',
'America/Fortaleza',
'America/Glace_Bay',
'America/Godthab',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2015.6/pytz/tests/test_tzinfo.py new/pytz-2015.7/pytz/tests/test_tzinfo.py
--- old/pytz-2015.6/pytz/tests/test_tzinfo.py 2015-09-21 15:39:30.000000000 +0200
+++ new/pytz-2015.7/pytz/tests/test_tzinfo.py 2015-10-26 07:30:26.000000000 +0100
@@ -21,8 +21,8 @@
# I test for expected version to ensure the correct version of pytz is
# actually being tested.
-EXPECTED_VERSION='2015.6'
-EXPECTED_OLSON_VERSION='2015f'
+EXPECTED_VERSION='2015.7'
+EXPECTED_OLSON_VERSION='2015g'
fmt = '%Y-%m-%d %H:%M:%S %Z%z'
Files old/pytz-2015.6/pytz/zoneinfo/America/Fort_Nelson and new/pytz-2015.7/pytz/zoneinfo/America/Fort_Nelson differ
Files old/pytz-2015.6/pytz/zoneinfo/Asia/Istanbul and new/pytz-2015.7/pytz/zoneinfo/Asia/Istanbul differ
Files old/pytz-2015.6/pytz/zoneinfo/Europe/Istanbul and new/pytz-2015.7/pytz/zoneinfo/Europe/Istanbul differ
Files old/pytz-2015.6/pytz/zoneinfo/Pacific/Fiji and new/pytz-2015.7/pytz/zoneinfo/Pacific/Fiji differ
Files old/pytz-2015.6/pytz/zoneinfo/Pacific/Norfolk and new/pytz-2015.7/pytz/zoneinfo/Pacific/Norfolk differ
Files old/pytz-2015.6/pytz/zoneinfo/Turkey and new/pytz-2015.7/pytz/zoneinfo/Turkey differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2015.6/pytz/zoneinfo/zone.tab new/pytz-2015.7/pytz/zoneinfo/zone.tab
--- old/pytz-2015.6/pytz/zoneinfo/zone.tab 2015-09-21 15:39:30.000000000 +0200
+++ new/pytz-2015.7/pytz/zoneinfo/zone.tab 2015-10-26 07:30:26.000000000 +0100
@@ -129,6 +129,7 @@
CA +682059-1334300 America/Inuvik Mountain Time - west Northwest Territories
CA +4906-11631 America/Creston Mountain Standard Time - Creston, British Columbia
CA +5946-12014 America/Dawson_Creek Mountain Standard Time - Dawson Creek & Fort Saint John, British Columbia
+CA +5848-12242 America/Fort_Nelson Mountain Standard Time - Fort Nelson, British Columbia
CA +4916-12307 America/Vancouver Pacific Time - west British Columbia
CA +6043-13503 America/Whitehorse Pacific Time - south Yukon
CA +6404-13925 America/Dawson Pacific Time - north Yukon
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2015.6/pytz/zoneinfo/zone1970.tab new/pytz-2015.7/pytz/zoneinfo/zone1970.tab
--- old/pytz-2015.6/pytz/zoneinfo/zone1970.tab 2015-09-21 15:39:30.000000000 +0200
+++ new/pytz-2015.7/pytz/zoneinfo/zone1970.tab 2015-10-26 07:30:26.000000000 +0100
@@ -126,6 +126,7 @@
CA +682059-1334300 America/Inuvik Mountain Time - west Northwest Territories
CA +4906-11631 America/Creston Mountain Standard Time - Creston, British Columbia
CA +5946-12014 America/Dawson_Creek Mountain Standard Time - Dawson Creek & Fort Saint John, British Columbia
+CA +5848-12242 America/Fort_Nelson Mountain Standard Time - Fort Nelson, British Columbia
CA +4916-12307 America/Vancouver Pacific Time - west British Columbia
CA +6043-13503 America/Whitehorse Pacific Time - south Yukon
CA +6404-13925 America/Dawson Pacific Time - north Yukon
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2015.6/pytz.egg-info/PKG-INFO new/pytz-2015.7/pytz.egg-info/PKG-INFO
--- old/pytz-2015.6/pytz.egg-info/PKG-INFO 2015-09-21 15:40:26.000000000 +0200
+++ new/pytz-2015.7/pytz.egg-info/PKG-INFO 2015-10-26 07:30:31.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytz
-Version: 2015.6
+Version: 2015.7
Summary: World timezone definitions, modern and historical
Home-page: http://pythonhosted.org/pytz
Author: Stuart Bishop
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytz-2015.6/pytz.egg-info/SOURCES.txt new/pytz-2015.7/pytz.egg-info/SOURCES.txt
--- old/pytz-2015.6/pytz.egg-info/SOURCES.txt 2015-09-21 15:40:26.000000000 +0200
+++ new/pytz-2015.7/pytz.egg-info/SOURCES.txt 2015-10-26 07:30:31.000000000 +0100
@@ -165,6 +165,7 @@
pytz/zoneinfo/America/Eirunepe
pytz/zoneinfo/America/El_Salvador
pytz/zoneinfo/America/Ensenada
+pytz/zoneinfo/America/Fort_Nelson
pytz/zoneinfo/America/Fort_Wayne
pytz/zoneinfo/America/Fortaleza
pytz/zoneinfo/America/Glace_Bay
[View Less]
1
0
Hello community,
here is the log from the commit of package kiwi for openSUSE:Factory checked in at 2015-10-30 16:34:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kiwi (Old)
and /work/SRC/openSUSE:Factory/.kiwi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kiwi"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kiwi/kiwi.changes 2015-10-02 15:38:37.000000000 +0200
+++ /…
[View More]work/SRC/openSUSE:Factory/.kiwi.new/kiwi.changes 2015-10-30 16:35:02.000000000 +0100
@@ -1,0 +2,305 @@
+Tue Oct 20 16:08:02 CEST 2015 - ms(a)suse.de
+
+- v7.03.34 released
+
+-------------------------------------------------------------------
+Tue Oct 20 16:03:00 CEST 2015 - ms(a)suse.de
+
+- Make check for running udev daemon more stable
+
+-------------------------------------------------------------------
+Mon Oct 19 16:23:33 CEST 2015 - ms(a)suse.de
+
+- v7.03.33 released
+
+-------------------------------------------------------------------
+Mon Oct 19 16:18:50 CEST 2015 - ms(a)suse.de
+
+- Fixed __checkRootDirOutsideImageDescription
+
+ The check failed in kiwi --create mode
+
+-------------------------------------------------------------------
+Mon Oct 19 16:17:25 CEST 2015 - ms(a)suse.de
+
+- Fixed kernelcmdline setup for EFI live ISO images
+
+ EFI boot of live ISO images is handled via grub2, the configuration
+ was missing the information provided in the kernelcmdline attribute
+
+-------------------------------------------------------------------
+Mon Oct 19 12:58:21 CEST 2015 - ms(a)suse.de
+
+- Cleanup validation of multipath and ataraid scan
+
+ Those two were the only ones which are matched against its
+ false value and not against its true value. Fixing this
+ inconsistency make it easier to read the code and applies
+ better to the next generation kiwi-horizon branch
+
+-------------------------------------------------------------------
+Mon Oct 19 12:46:32 CEST 2015 - ms(a)suse.de
+
+- v7.03.32 released
+
+-------------------------------------------------------------------
+Mon Oct 19 12:35:33 CEST 2015 - ms(a)suse.de
+
+- Set noudevsync only if udevd is not running
+
+ LVM commands support the --noudevsync option which should be
+ used only if udevd is not running (bnc#950735)
+
+-------------------------------------------------------------------
+Mon Oct 19 12:08:30 CEST 2015 - ms(a)suse.de
+
+- v7.03.31 released
+
+-------------------------------------------------------------------
+Mon Oct 19 12:02:33 CEST 2015 - ms(a)suse.de
+
+- actively relocate GPT backup data at end of disk
+
+ Instead of hanging around with parted and its inconsistent state
+ between different versions kiwi now actively moves the backup GPT
+ to the current end of the disk before starting the repartition
+ step based on parted. The tool to move the data is gdisk which
+ is now required for GPT images build with kiwi
+
+-------------------------------------------------------------------
+Mon Oct 19 12:00:40 CEST 2015 - ms(a)suse.de
+
+- Add ramdisk device filter for leap JeOS
+
+ On Leap hwinfo reports ramdisk devices, thus the list of
+ disks to select for install in kiwi's install image contains
+ all ramdisk devices. For JeOS this is unwanted and we added
+ a filter rule to filter them out
+
+-------------------------------------------------------------------
+Sat Oct 17 14:38:03 CEST 2015 - rbrown(a)suse.de
+
+- Translated using Weblate (English (United Kingdom))
+
+ Currently translated at 100.0% (28 of 28 strings)
+
+-------------------------------------------------------------------
+Sat Oct 17 04:30:40 CEST 2015 - ramaxlo(a)suse.de
+
+- Translated using Weblate (Chinese (Taiwan))
+
+ Currently translated at 100.0% (28 of 28 strings)
+
+-------------------------------------------------------------------
+Thu Oct 15 16:09:49 CEST 2015 - medipas(a)suse.de
+
+- Translated using Weblate (Catalan)
+
+ Currently translated at 100.0% (28 of 28 strings)
+
+-------------------------------------------------------------------
+Thu Oct 15 11:28:43 CEST 2015 - ms(a)suse.de
+
+- v7.03.30 released
+
+-------------------------------------------------------------------
+Thu Oct 15 11:20:24 CEST 2015 - ms(a)suse.de
+
+- Added __checkRootDirOutsideImageDescription
+
+ It should be avoided to create a new root image tree inside of
+ the image description directory. This could lead to infinite loops
+ or unexpected behavior if e.g the new root directory is named 'root'
+ which conflicts with the image description overlay directory also
+ named 'root'
+
+-------------------------------------------------------------------
+Wed Oct 14 10:46:28 CEST 2015 - ms(a)suse.de
+
+- v7.03.29 released
+
+-------------------------------------------------------------------
+Wed Oct 14 10:29:05 CEST 2015 - ms(a)suse.de
+
+- v7.03.28 released
+
+-------------------------------------------------------------------
+Wed Oct 14 10:27:22 CEST 2015 - adrian(a)suse.de
+
+- Apply missing syntax fix
+
+-------------------------------------------------------------------
+Wed Oct 14 09:18:28 CEST 2015 - medipas(a)suse.de
+
+- Translated using Weblate (Catalan)
+
+ Currently translated at 100.0% (28 of 28 strings)
+
+-------------------------------------------------------------------
+Tue Oct 13 13:20:37 CEST 2015 - adrian(a)suse.de
+
+- Add SLE-12-SP1 plugin
+
+ using the new appstream handling for appdata
+
+-------------------------------------------------------------------
+Mon Oct 12 11:31:12 CEST 2015 - frantisek.komarek(a)suse.de
+
+- Translated using Weblate (Polish)
+
+ Currently translated at 82.1% (23 of 28 strings)
+
+-------------------------------------------------------------------
+Sun Oct 11 02:45:13 CEST 2015 - belphegor(a)suse.de
+
+- Translated using Weblate (Japanese)
+
+ Currently translated at 100.0% (28 of 28 strings)
+
+-------------------------------------------------------------------
+Sat Oct 10 23:38:06 CEST 2015 - mpluskal(a)suse.de
+
+- Translated using Weblate (Czech)
+
+ Currently translated at 96.4% (28 of 28 strings)
+
+-------------------------------------------------------------------
+Sat Oct 10 23:37:50 CEST 2015 - frantisek.komarek(a)suse.de
+
+- Translated using Weblate (Czech)
+
+ Currently translated at 96.4% (27 of 28 strings)
+
+-------------------------------------------------------------------
+Sat Oct 10 20:23:18 CEST 2015 - galko.ferdinand(a)suse.de
+
+- Translated using Weblate (Slovak)
+
+ Currently translated at 100.0% (28 of 28 strings)
+
+-------------------------------------------------------------------
+Sat Oct 10 20:22:41 CEST 2015 - galko.ferdinand(a)suse.de
+
+- Translated using Weblate (Slovak)
+
+ Currently translated at 89.2% (25 of 28 strings)
+
+-------------------------------------------------------------------
+Sat Oct 10 20:01:36 CEST 2015 - andriykopanytsia(a)suse.de
+
+- Translated using Weblate (Ukrainian)
+
+ Currently translated at 100.0% (28 of 28 strings)
+
+-------------------------------------------------------------------
+Sat Oct 10 19:22:38 CEST 2015 - ronisbr(a)suse.de
+
+- Translated using Weblate (Portuguese (Brazil))
++++ 119 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/kiwi/kiwi.changes
++++ and /work/SRC/openSUSE:Factory/.kiwi.new/kiwi.changes
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kiwi.spec ++++++
--- /var/tmp/diff_new_pack.ocjFjR/_old 2015-10-30 16:35:03.000000000 +0100
+++ /var/tmp/diff_new_pack.ocjFjR/_new 2015-10-30 16:35:03.000000000 +0100
@@ -27,7 +27,7 @@
Name: kiwi
License: GPL-2.0
Group: System/Management
-Version: 7.03.24
+Version: 7.03.34
Provides: kiwi-schema = 6.2
Provides: kiwi-image:aci
Provides: kiwi-image:lxc
@@ -93,6 +93,7 @@
Requires: tar
Requires: psmisc
Requires: util-linux
+Requires: sysvinit-tools
%if 0%{?suse_version}
# SUSE specific requires
%if 0%{?suse_version} >= 1210
@@ -140,6 +141,10 @@
%if %suse_version == 1315 && !0%{?is_opensuse}
%define mysystems suse-SLES12
%endif
+# SLE12-SP1:
+%if %suse_version == 1316 && !0%{?is_opensuse}
+%define mysystems suse-SLES12
+%endif
# Leap 42.1:
%if %suse_version == 1315 && 0%{?is_opensuse}
%define mysystems suse-leap42.1
@@ -785,18 +790,18 @@
%ifarch %ix86 x86_64
%exclude %{_datadir}/kiwi/image/suse-13.1-JeOS
%exclude %{_datadir}/kiwi/image/suse-13.2-JeOS
-%exclude %{_datadir}/kiwi/image/suse-SLE11-JeOS
-%exclude %{_datadir}/kiwi/image/suse-SLE12-JeOS
+%exclude %{_datadir}/kiwi/image/suse-SLE11-community-JeOS
+%exclude %{_datadir}/kiwi/image/suse-SLE12-community-JeOS
%exclude %{_datadir}/kiwi/image/suse-leap-42.1-JeOS
%exclude %{_datadir}/kiwi/image/rhel-06.6-JeOS
%exclude %{_datadir}/kiwi/image/rhel-07.0-JeOS
%endif
%ifarch s390 s390x
-%exclude %{_datadir}/kiwi/image/suse-SLE11-JeOS
-%exclude %{_datadir}/kiwi/image/suse-SLE12-JeOS
+%exclude %{_datadir}/kiwi/image/suse-SLE11-community-JeOS
+%exclude %{_datadir}/kiwi/image/suse-SLE12-community-JeOS
%endif
%ifarch %arm aarch64
-%exclude %{_datadir}/kiwi/image/suse-SLE12-JeOS
+%exclude %{_datadir}/kiwi/image/suse-SLE12-community-JeOS
%endif
%{_datadir}/kiwi/.revision
%{_datadir}/kiwi/modules
@@ -938,22 +943,22 @@
%ifarch %ix86 x86_64
%{_datadir}/kiwi/image/suse-13.1-JeOS
%{_datadir}/kiwi/image/suse-13.2-JeOS
-%{_datadir}/kiwi/image/suse-SLE11-JeOS
-%{_datadir}/kiwi/image/suse-SLE12-JeOS
+%{_datadir}/kiwi/image/suse-SLE11-community-JeOS
+%{_datadir}/kiwi/image/suse-SLE12-community-JeOS
%{_datadir}/kiwi/image/suse-leap-42.1-JeOS
%{_datadir}/kiwi/image/rhel-06.6-JeOS
%{_datadir}/kiwi/image/rhel-07.0-JeOS
%endif
%ifarch s390 s390x
-%{_datadir}/kiwi/image/suse-SLE11-JeOS
-%{_datadir}/kiwi/image/suse-SLE12-JeOS
+%{_datadir}/kiwi/image/suse-SLE11-community-JeOS
+%{_datadir}/kiwi/image/suse-SLE12-community-JeOS
%endif
%ifarch %arm aarch64
-%{_datadir}/kiwi/image/suse-SLE12-JeOS
+%{_datadir}/kiwi/image/suse-SLE12-community-JeOS
%endif
%ifarch ppc ppc64 ppc64le
-%{_datadir}/kiwi/image/suse-SLE11-JeOS
-%{_datadir}/kiwi/image/suse-SLE12-JeOS
+%{_datadir}/kiwi/image/suse-SLE11-community-JeOS
+%{_datadir}/kiwi/image/suse-SLE12-community-JeOS
%endif
%endif
++++++ kiwi-docu.tar.bz2 ++++++
++++++ kiwi-repo.tar.bz2 ++++++
++++++ kiwi.tar.bz2 ++++++
++++ 16774 lines of diff (skipped)
[View Less]
1
0
Hello community,
here is the log from the commit of package gptfdisk for openSUSE:Factory checked in at 2015-10-30 16:34:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gptfdisk (Old)
and /work/SRC/openSUSE:Factory/.gptfdisk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gptfdisk"
Changes:
--------
--- /work/SRC/openSUSE:Factory/gptfdisk/gptfdisk.changes 2015-03-30 19:10:04.…
[View More]000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gptfdisk.new/gptfdisk.changes 2015-10-30 16:34:52.000000000 +0100
@@ -1,0 +2,8 @@
+Mon Oct 26 14:25:43 UTC 2015 - sweet_f_a(a)gmx.de
+
+- Update to new upstream release 1.0.1
+ * new type codes
+ * bug fixes
+ * changes to the OS X build for OS X 10.11 ("El Capitan")
+
+-------------------------------------------------------------------
Old:
----
gptfdisk-1.0.0.tar.gz
New:
----
gptfdisk-1.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gptfdisk.spec ++++++
--- /var/tmp/diff_new_pack.Uc9Xz4/_old 2015-10-30 16:34:53.000000000 +0100
+++ /var/tmp/diff_new_pack.Uc9Xz4/_new 2015-10-30 16:34:53.000000000 +0100
@@ -17,7 +17,7 @@
Name: gptfdisk
-Version: 1.0.0
+Version: 1.0.1
Release: 0
Summary: GPT partitioning and MBR repair software
License: GPL-2.0
++++++ gptfdisk-1.0.0.tar.gz -> gptfdisk-1.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/Makefile new/gptfdisk-1.0.1/Makefile
--- old/gptfdisk-1.0.0/Makefile 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/Makefile 2015-10-19 00:35:18.000000000 +0200
@@ -28,6 +28,9 @@
fixparts: $(MBR_LIB_OBJS) fixparts.o
$(CXX) $(MBR_LIB_OBJS) fixparts.o $(LDFLAGS) -o fixparts
+test:
+ ./gdisk_test.sh
+
lint: #no pre-reqs
lint $(SRCS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/Makefile.mac new/gptfdisk-1.0.1/Makefile.mac
--- old/gptfdisk-1.0.0/Makefile.mac 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/Makefile.mac 2015-10-19 00:35:18.000000000 +0200
@@ -1,8 +1,9 @@
CC=gcc
-CXX=g++
-CFLAGS=-O2 -D_FILE_OFFSET_BITS=64 -g
-#CXXFLAGS=-O2 -Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16 -I/sw/include -I/usr/local/include -I/opt/local/include -g
-CXXFLAGS=-O2 -Wall -D_FILE_OFFSET_BITS=64 -I/sw/include -I /usr/local/include -I/opt/local/include -g
+CXX=clang++
+FATBINFLAGS=-arch x86_64 -arch i386 -mmacosx-version-min=10.4
+CFLAGS=$(FATBINFLAGS) -O2 -D_FILE_OFFSET_BITS=64 -g
+#CXXFLAGS=-O2 -Wall -D_FILE_OFFSET_BITS=64 -D USE_UTF16 -I/opt/local/include -I/usr/local/include -I/opt/local/include -g
+CXXFLAGS=$(FATBINFLAGS) -O2 -Wall -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I /usr/local/include -I/opt/local/include -g
LIB_NAMES=crc32 support guid gptpart mbrpart basicmbr mbr gpt bsd parttypes attributes diskio diskio-unix
MBR_LIBS=support diskio diskio-unix basicmbr mbrpart
#LIB_SRCS=$(NAMES:=.cc)
@@ -14,19 +15,20 @@
all: gdisk sgdisk cgdisk fixparts
gdisk: $(LIB_OBJS) gpttext.o gdisk.o
- $(CXX) $(LIB_OBJS) gpttext.o gdisk.o -o gdisk
+ $(CXX) $(LIB_OBJS) gpttext.o gdisk.o $(FATBINFLAGS) -o gdisk
# $(CXX) $(LIB_OBJS) -L/usr/lib -licucore gpttext.o gdisk.o -o gdisk
cgdisk: $(LIB_OBJS) cgdisk.o gptcurses.o
- $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -lncurses -o cgdisk
+ $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o /opt/local/lib/libncurses.a $(LDFLAGS) $(FATBINFLAGS) -o cgdisk
# $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -licucore -lncurses -o cgdisk
sgdisk: $(LIB_OBJS) gptcl.o sgdisk.o
- $(CXX) $(LIB_OBJS) gptcl.o sgdisk.o -L/sw/lib -lpopt -o sgdisk
+# $(CXX) $(LIB_OBJS) gptcl.o sgdisk.o /opt/local/lib/libiconv.a /opt/local/lib/libintl.a /opt/local/lib/libpopt.a $(FATBINFLAGS) -o sgdisk
+ $(CXX) $(LIB_OBJS) gptcl.o sgdisk.o -L/opt/local/lib -lpopt $(FATBINFLAGS) -o sgdisk
# $(CXX) $(LIB_OBJS) gptcl.o sgdisk.o -L/sw/lib -licucore -lpopt -o sgdisk
fixparts: $(MBR_LIB_OBJS) fixparts.o
- $(CXX) $(MBR_LIB_OBJS) fixparts.o $(LDFLAGS) -o fixparts
+ $(CXX) $(MBR_LIB_OBJS) fixparts.o $(LDFLAGS) $(FATBINFLAGS) -o fixparts
testguid: $(LIB_OBJS) testguid.o
$(CXX) $(LIB_OBJS) testguid.o -o testguid
@@ -35,7 +37,7 @@
lint $(SRCS)
clean: #no pre-reqs
- rm -f core *.o *~ gdisk sgdisk
+ rm -f core *.o *~ gdisk sgdisk cgdisk fixparts
# what are the source dependencies
depend: $(SRCS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/NEWS new/gptfdisk-1.0.1/NEWS
--- old/gptfdisk-1.0.0/NEWS 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/NEWS 2015-10-19 00:35:18.000000000 +0200
@@ -1,3 +1,81 @@
+1.0.1 (10/18/2015):
+-------------------
+
+- Fixed bug that caused -N/--largest-new option to sgdisk to fail when
+ fed a "0" option.
+
+- Fixed bug that caused input glitches in EFI version of gdisk.
+
+- Fixed bug that caused sgdisk to not return an appropriate error code
+ when it encountered a write error when saving changes.
+
+- Fixed bug that caused cgdisk's "Info" display to under-report the
+ partition's size by one sector.
+
+- OS X 10.11 includes new security features that prevent GPT fdisk from
+ working unless these features are disabled. To do so, you must boot to a
+ Recovery HD system, open a Terminal, type "csrutil disable", and reboot
+ into the normal system. You can re-enable the security features by
+ repeating the process, but specify "enable" rather than "disable". I've
+ added a message pointing users to a Web page explaining how to disable
+ this feature when gdisk detects that it can't write to the disk under OS
+ X. If you know of a way around this (including code changes to gdisk),
+ please contact me.
+
+- I've updated the OS X installation location from the Unix-standard
+ /usr/sbin (and related locations for documentation) to /usr/local/bin
+ (and related locations for documentation). This is Just Plain Crazy from
+ a Unix point of view, but Apple has to be Apple and do things just a
+ little bit differently.
+
+- I've updated my OS X environment to OS X 10.11 and LLVM 7.0.0. This has
+ also meant installing fresh versions of popt and ncurses from MacPorts,
+ which may require upgrading popt to get sgdisk working on some systems.
+ (gdisk, cgdisk, and fixparts should continue to work normally on all
+ systems.) The OS X binaries are now "fat" (32- and 64-bit) versions,
+ which should have no noticeable effect unless you have a Mac with broken
+ 32-bit support, in which case the binaries will now work.
+
+- Changed the default name of 0xab00 partitions from "Apple boot" to
+ "Recovery HD", since the latter is the name that Apple gives these
+ partitions. Also, I discovered through painful experience that OS X
+ flakes out and won't boot if the name is something other than "Recovery
+ HD", so it really has to have the right name!
+
+- Changed the OpenBSD type codes (0xa600 and 0xa601): 0xa600 is now
+ 824CC7A0-36A8-11E3-890A-952519AD3F61 (OpenBSD disklabel) and 0xa601 is
+ now gone. Previously, 0xa600 was 516E7CB4-6ECF-11D6-8FF8-00022D09712B, a
+ duplicate of the FreeBSD disklabel, and 0xa601 was
+ 824CC7A0-36A8-11E3-890A-952519AD3F61. OpenBSD is now officially
+ supporting 824CC7A0-36A8-11E3-890A-952519AD3F61 as a disklabel type,
+ though. It's unclear what, if anything, OpenBSD will use for
+ non-disklabel type codes at the moment.
+
+- Added GUID 0311FC50-01CA-4725-AD77-9ADBB20ACE98 (0xbc00) for
+ Acronis Secure Zone backup partitions.
+
+- Fixed bug that caused random crashes on ppc64el systems (and perhaps
+ others).
+
+- Added GUID C91818F9-8025-47AF-89D2-F030D7000C2C (0x3900) for Plan 9.
+
+- Added GUID 69DAD710-2CE4-4E3C-B16C-21A1D49ABED3 (0x8307) for 32-bit ARM
+ Linux root (/) partition, as per the Freedesktop.org Discoverable
+ Partition Spec
+ (http://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec/)
+
+- Edited man pages to clarify that default alignment is to 1MiB boundaries;
+ this translates to 2048 sectors on disks with 512-byte sectors, but it
+ will be something else on disks with other sector sizes.
+
+- Changed behavior of -z/--zap and -Z/--zap-all options to sgdisk so that
+ if a subsequent command causes changes, they'll be written to disk.
+ Previously, doing something like "sgdisk --zap-all --clear /dev/sdd"
+ would wipe the disk but not create a partition table; to create a blank
+ table you'd need to do "sgdisk --zap-all --clear --mbrtogpt /dev/sdd",
+ which is a bit odd and counter-intuitive, to the point of arguably being
+ a bug.
+
1.0.0 (3/16/2015):
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/README new/gptfdisk-1.0.1/README
--- old/gptfdisk-1.0.0/README 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/README 2015-10-19 00:35:18.000000000 +0200
@@ -200,11 +200,12 @@
(headers). Most Linux distributions install popt by default, but you may
need to install a package called popt-dev, popt-devel, or something
similar to obtain the header files. Mac OS users can find a version of
- popt for Mac OS from Darwin Ports (http://popt.darwinports.com) or Fink
- (http://www.finkproject.org) however, you'll first need to install
- DarwinPorts or Fink (instructions exist on the relevant projects' pages).
- Alternatively, you can compile gdisk and/or cgdisk alone, without sgdisk;
- gdisk doesn't require popt.
+ popt for Mac OS from Darwin Ports (http://popt.darwinports.com) MacPorts
+ (https://trac.macports.org/browser/trunk/dports/devel/popt/Portfile) or
+ Fink (http://www.finkproject.org) however, you'll first need to install
+ DarwinPorts, MacPorts, or Fink (instructions exist on the relevant
+ projects' pages). Alternatively, you can compile gdisk and/or cgdisk
+ alone, without sgdisk; gdisk doesn't require popt.
When all the necessary development tools and libraries are installed, you
can uncompress the package and type "make" at the command prompt in the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/cgdisk.8 new/gptfdisk-1.0.1/cgdisk.8
--- old/gptfdisk-1.0.0/cgdisk.8 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/cgdisk.8 2015-10-19 00:35:18.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2011-2013 Roderick W. Smith (rodsmith(a)rodsbooks.com)
+.\" Copyright 2011-2015 Roderick W. Smith (rodsmith(a)rodsbooks.com)
.\" May be distributed under the GNU General Public License
-.TH "CGDISK" "8" "1.0.0" "Roderick W. Smith" "GPT fdisk Manual"
+.TH "CGDISK" "8" "1.0.1" "Roderick W. Smith" "GPT fdisk Manual"
.SH "NAME"
cgdisk \- Curses-based GUID partition table (GPT) manipulator
.SH "SYNOPSIS"
@@ -181,12 +181,13 @@
physical sectors (such as modern Advanced Format drives), some RAID
configurations, and many SSD devices, can suffer performance problems if
partitions are not aligned properly for their internal data structures. On
-new disks, GPT fdisk attempts to align partitions on 2048\-sector (1MiB)
-boundaries by default, which optimizes performance for all of these disk
-types. On pre\-partitioned disks, GPT fdisk attempts to identify the
-alignment value used on that disk, but will set 8-sector alignment on disks
-larger than 300 GB even if lesser alignment values are detected. In either
-case, it can be changed by using this option.
+new disks, GPT fdisk attempts to align partitions on 1MiB boundaries
+(2048\-sectors on disks with 512-byte sectors) by default, which optimizes
+performance for all of these disk types. On pre\-partitioned disks, GPT
+fdisk attempts to identify the alignment value used on that disk, but will
+set 8-sector alignment on disks larger than 300 GB even if lesser alignment
+values are detected. In either case, it can be changed by using this
+option.
.TP
.B Backup
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/cgdisk.html new/gptfdisk-1.0.1/cgdisk.html
--- old/gptfdisk-1.0.0/cgdisk.html 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/cgdisk.html 2015-10-19 00:35:18.000000000 +0200
@@ -4,7 +4,7 @@
<HTML><HEAD><TITLE>Man page of CGDISK</TITLE>
</HEAD><BODY>
<H1>CGDISK</H1>
-Section: GPT fdisk Manual (8)<BR>Updated: 1.0.0<BR><A HREF="#index">Index</A>
+Section: GPT fdisk Manual (8)<BR>Updated: 1.0.1<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB"> </A>
@@ -222,12 +222,13 @@
physical sectors (such as modern Advanced Format drives), some RAID
configurations, and many SSD devices, can suffer performance problems if
partitions are not aligned properly for their internal data structures. On
-new disks, GPT fdisk attempts to align partitions on 2048-sector (1MiB)
-boundaries by default, which optimizes performance for all of these disk
-types. On pre-partitioned disks, GPT fdisk attempts to identify the
-alignment value used on that disk, but will set 8-sector alignment on disks
-larger than 300 GB even if lesser alignment values are detected. In either
-case, it can be changed by using this option.
+new disks, GPT fdisk attempts to align partitions on 1MiB boundaries
+(2048-sectors on disks with 512-byte sectors) by default, which optimizes
+performance for all of these disk types. On pre-partitioned disks, GPT
+fdisk attempts to identify the alignment value used on that disk, but will
+set 8-sector alignment on disks larger than 300 GB even if lesser alignment
+values are detected. In either case, it can be changed by using this
+option.
<P>
<DT><B>Backup</B>
@@ -478,6 +479,6 @@
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
-Time: 22:50:38 GMT, March 17, 2015
+Time: 22:35:18 GMT, October 18, 2015
</BODY>
</HTML>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/current.spec new/gptfdisk-1.0.1/current.spec
--- old/gptfdisk-1.0.0/current.spec 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/current.spec 2015-10-19 00:35:18.000000000 +0200
@@ -1,12 +1,12 @@
Summary: GPT partitioning and MBR repair software
Name: gptfdisk
-Version: 1.0.0
+Version: 1.0.1
Release: 1%{?dist}
License: GPLv2
URL: http://www.rodsbooks.com/gdisk
Group: Applications/System
-Source: http://www.rodsbooks.com/gdisk/gptfdisk-1.0.0.tar.gz
+Source: http://www.rodsbooks.com/gdisk/gptfdisk-1.0.1.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%description
@@ -81,5 +81,5 @@
%changelog
-* Sun Mar 2 2014 R Smith <rodsmith(a)rodsbooks.com> - 1.0.0
-- Created spec file for 1.0.0 release
+* Sun Mar 2 2014 R Smith <rodsmith(a)rodsbooks.com> - 1.0.1
+- Created spec file for 1.0.1 release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/diskio-unix.cc new/gptfdisk-1.0.1/diskio-unix.cc
--- old/gptfdisk-1.0.0/diskio-unix.cc 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/diskio-unix.cc 2015-10-19 00:35:18.000000000 +0200
@@ -74,7 +74,8 @@
if (fstat64(fd, &st) == 0) {
if (S_ISDIR(st.st_mode))
cerr << "The specified path is a directory!\n";
-#if !defined(__FreeBSD__) && !defined(__APPLE__)
+#if !(defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) \
+ && !defined(__APPLE__)
else if (S_ISCHR(st.st_mode))
cerr << "The specified path is a character device!\n";
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/fixparts.8 new/gptfdisk-1.0.1/fixparts.8
--- old/gptfdisk-1.0.0/fixparts.8 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/fixparts.8 2015-10-19 00:35:18.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2011-2013 Roderick W. Smith (rodsmith(a)rodsbooks.com)
+.\" Copyright 2011-2015 Roderick W. Smith (rodsmith(a)rodsbooks.com)
.\" May be distributed under the GNU General Public License
-.TH "FIXPARTS" "8" "1.0.0" "Roderick W. Smith" "FixParts Manual"
+.TH "FIXPARTS" "8" "1.0.1" "Roderick W. Smith" "FixParts Manual"
.SH "NAME"
fixparts \- MBR partition table repair utility
.SH "SYNOPSIS"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/fixparts.html new/gptfdisk-1.0.1/fixparts.html
--- old/gptfdisk-1.0.0/fixparts.html 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/fixparts.html 2015-10-19 00:35:18.000000000 +0200
@@ -4,7 +4,7 @@
<HTML><HEAD><TITLE>Man page of FIXPARTS</TITLE>
</HEAD><BODY>
<H1>FIXPARTS</H1>
-Section: FixParts Manual (8)<BR>Updated: 1.0.0<BR><A HREF="#index">Index</A>
+Section: FixParts Manual (8)<BR>Updated: 1.0.1<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB"> </A>
@@ -357,6 +357,6 @@
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
-Time: 22:50:38 GMT, March 17, 2015
+Time: 22:35:18 GMT, October 18, 2015
</BODY>
</HTML>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/gdisk.8 new/gptfdisk-1.0.1/gdisk.8
--- old/gptfdisk-1.0.0/gdisk.8 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/gdisk.8 2015-10-19 00:35:18.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2011-2013 Roderick W. Smith (rodsmith(a)rodsbooks.com)
+.\" Copyright 2011-2015 Roderick W. Smith (rodsmith(a)rodsbooks.com)
.\" May be distributed under the GNU General Public License
-.TH "GDISK" "8" "1.0.0" "Roderick W. Smith" "GPT fdisk Manual"
+.TH "GDISK" "8" "1.0.1" "Roderick W. Smith" "GPT fdisk Manual"
.SH "NAME"
gdisk \- Interactive GUID partition table (GPT) manipulator
.SH "SYNOPSIS"
@@ -212,7 +212,8 @@
.B o
Clear out all partition data. This includes GPT header data,
all partition definitions, and the protective MBR. The sector alignment
-is reset to the default (2048 sectors, or 1MB).
+is reset to the default (1MB, or 2048 sectors on a disk with 512-byte
+sectors).
.TP
.B p
@@ -470,12 +471,13 @@
physical sectors (such as modern Advanced Format drives), some RAID
configurations, and many SSD devices, can suffer performance problems if
partitions are not aligned properly for their internal data structures. On
-new disks, GPT fdisk attempts to align partitions on 2048\-sector (1MiB)
-boundaries by default, which optimizes performance for all of these disk
-types. On pre\-partitioned disks, GPT fdisk attempts to identify the
-alignment value used on that disk, but will set 8-sector alignment on disks
-larger than 300 GB even if lesser alignment values are detected. In either
-case, it can be changed by using this option.
+new disks, GPT fdisk attempts to align partitions on 1MiB boundaries
+(2048\-sectors on disks with 512-byte sectors) by default, which optimizes
+performance for all of these disk types. On pre\-partitioned disks, GPT
+fdisk attempts to identify the alignment value used on that disk, but will
+set 8-sector alignment on disks larger than 300 GB even if lesser alignment
+values are detected. In either case, it can be changed by using this
+option.
.TP
.B m
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/gdisk.html new/gptfdisk-1.0.1/gdisk.html
--- old/gptfdisk-1.0.0/gdisk.html 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/gdisk.html 2015-10-19 00:35:18.000000000 +0200
@@ -4,7 +4,7 @@
<HTML><HEAD><TITLE>Man page of GDISK</TITLE>
</HEAD><BODY>
<H1>GDISK</H1>
-Section: GPT fdisk Manual (8)<BR>Updated: 1.0.0<BR><A HREF="#index">Index</A>
+Section: GPT fdisk Manual (8)<BR>Updated: 1.0.1<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB"> </A>
@@ -247,7 +247,8 @@
<DD>
Clear out all partition data. This includes GPT header data,
all partition definitions, and the protective MBR. The sector alignment
-is reset to the default (2048 sectors, or 1MB).
+is reset to the default (1MB, or 2048 sectors on a disk with 512-byte
+sectors).
<P>
<DT><B>p</B>
@@ -550,12 +551,13 @@
physical sectors (such as modern Advanced Format drives), some RAID
configurations, and many SSD devices, can suffer performance problems if
partitions are not aligned properly for their internal data structures. On
-new disks, GPT fdisk attempts to align partitions on 2048-sector (1MiB)
-boundaries by default, which optimizes performance for all of these disk
-types. On pre-partitioned disks, GPT fdisk attempts to identify the
-alignment value used on that disk, but will set 8-sector alignment on disks
-larger than 300 GB even if lesser alignment values are detected. In either
-case, it can be changed by using this option.
+new disks, GPT fdisk attempts to align partitions on 1MiB boundaries
+(2048-sectors on disks with 512-byte sectors) by default, which optimizes
+performance for all of these disk types. On pre-partitioned disks, GPT
+fdisk attempts to identify the alignment value used on that disk, but will
+set 8-sector alignment on disks larger than 300 GB even if lesser alignment
+values are detected. In either case, it can be changed by using this
+option.
<P>
<DT><B>m</B>
@@ -816,6 +818,6 @@
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
-Time: 22:50:38 GMT, March 17, 2015
+Time: 22:35:18 GMT, October 18, 2015
</BODY>
</HTML>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/gdisk_test.sh new/gptfdisk-1.0.1/gdisk_test.sh
--- old/gptfdisk-1.0.0/gdisk_test.sh 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/gdisk_test.sh 2015-10-19 00:35:18.000000000 +0200
@@ -115,9 +115,23 @@
w
Y
EOF
+
+ ret=$?
+ if [ $ret -ne 0 ]
+ then
+ pretty_print "FAILED" "gdisk return $ret when creating partition table"
+ exit 1
+ fi
;;
sgdisk)
$SGDISK_BIN $TEMP_DISK -${OPT_CLEAR}
+
+ ret=$?
+ if [ $ret -ne 0 ]
+ then
+ pretty_print "FAILED" "sgdisk return $ret when creating partition table"
+ exit 1
+ fi
;;
esac
@@ -147,7 +161,7 @@
;;
sgdisk)
- $SGDISK_BIN $TEMP_DISK -${OPT_NEW} 1 -${OPT_CHANGE_NAME} 1:"${TEST_PART_DEFAULT_NAME}"
+ $SGDISK_BIN $TEMP_DISK -${OPT_NEW} 1 -${OPT_CHANGE_NAME} 1:"${TEST_PART_DEFAULT_NAME}" -${OPT_CHANGE_TYPE} 1:$TEST_PART_TYPE
;;
esac
@@ -311,6 +325,7 @@
pretty_print "SUCCESS" "GUID of disk has been sucessfully changed"
else
pretty_print "FAILED" "GUID of disk is the same as the previous one"
+ exit 1
fi
}
@@ -353,7 +368,7 @@
###################################
# create a file to simulate a real device
-dd if=/dev/zero of=$TEMP_DISK bs=1024 count=$TEMP_DISK_SIZE
+dd if=/dev/zero of=$TEMP_DISK bs=1024 count=$TEMP_DISK_SIZE > /dev/null 2>&1
if [ -s $TEMP_DISK ]
then
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/gpt.cc new/gptfdisk-1.0.1/gpt.cc
--- old/gptfdisk-1.0.0/gpt.cc 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/gpt.cc 2015-10-19 00:35:18.000000000 +0200
@@ -748,7 +748,12 @@
<< "'sysctl kern.geom.debugflags=16' at a shell prompt, and re-running this\n"
<< "program.\n";
#endif
- cout << "\n";
+#if defined (__APPLE__)
+ cout << "You may need to deactivate System Integrity Protection to use this program. See\n"
+ << "https://www.quora.com/How-do-I-turn-off-the-rootless-in-OS-X-El-Capitan-10-…"
+ << "for more information.\n";
+#endif
+ cout << "\n";
} // if
myDisk.Close(); // Close and re-open read-only in case of bugs
} else allOK = 0; // if
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/gptcl.cc new/gptfdisk-1.0.1/gptcl.cc
--- old/gptfdisk-1.0.0/gptcl.cc 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/gptcl.cc 2015-10-19 00:35:18.000000000 +0200
@@ -72,7 +72,8 @@
struct poptOption theOptions[] =
{
- {"attributes", 'A', POPT_ARG_STRING, &attributeOperation, 'A', "operate on partition attributes", "list|[partnum:show|or|nand|xor|=|set|clear|toggle|get[:bitnum|hexbitmask]]"},
+ {"attributes", 'A', POPT_ARG_STRING, &attributeOperation, 'A', "operate on partition attributes",
+ "list|[partnum:show|or|nand|xor|=|set|clear|toggle|get[:bitnum|hexbitmask]]"},
{"set-alignment", 'a', POPT_ARG_INT, &alignment, 'a', "set sector alignment", "value"},
{"backup", 'b', POPT_ARG_STRING, &backupFile, 'b', "backup GPT to file", "file"},
{"change-name", 'c', POPT_ARG_STRING, &partName, 'c', "change partition's name", "partnum:name"},
@@ -306,8 +307,8 @@
startSector = FindFirstInLargest();
Align(&startSector);
endSector = FindLastInFree(startSector);
- if (largestPartNum < 0)
- largestPartNum = FindFirstFreePart();
+ if (largestPartNum <= 0)
+ largestPartNum = FindFirstFreePart() + 1;
if (CreatePartition(largestPartNum - 1, startSector, endSector)) {
saveData = 1;
} else {
@@ -404,7 +405,7 @@
if (!pretend) {
DestroyGPT();
} // if
- saveNonGPT = 0;
+ saveNonGPT = 1;
saveData = 0;
break;
case 'Z':
@@ -412,7 +413,7 @@
DestroyGPT();
DestroyMBR();
} // if
- saveNonGPT = 0;
+ saveNonGPT = 1;
saveData = 0;
break;
default:
@@ -446,7 +447,7 @@
if (!pretend) {
DestroyGPT();
} // if
- saveNonGPT = 0;
+ saveNonGPT = 1;
saveData = 0;
break;
case 'Z':
@@ -454,7 +455,7 @@
DestroyGPT();
DestroyMBR();
} // if
- saveNonGPT = 0;
+ saveNonGPT = 1;
saveData = 0;
break;
} // switch
@@ -462,7 +463,8 @@
retval = 2;
} // if/else loaded OK
if ((saveData) && (!neverSaveData) && (saveNonGPT) && (!pretend)) {
- SaveGPTData(1);
+ if (!SaveGPTData(1))
+ retval = 4;
}
if (saveData && (!saveNonGPT)) {
cout << "Non-GPT disk; not saving changes. Use -g to override.\n";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/gptcurses.cc new/gptfdisk-1.0.1/gptcurses.cc
--- old/gptfdisk-1.0.0/gptcurses.cc 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/gptcurses.cc 2015-10-19 00:35:18.000000000 +0200
@@ -332,7 +332,7 @@
BytesToIeee(partitions[partNum].GetFirstLBA(), blockSize).c_str());
printw("Last sector: %lld (at %s)\n", partitions[partNum].GetLastLBA(),
BytesToIeee(partitions[partNum].GetLastLBA(), blockSize).c_str());
- size = partitions[partNum].GetLastLBA() - partitions[partNum].GetFirstLBA();
+ size = partitions[partNum].GetLastLBA() - partitions[partNum].GetFirstLBA() + 1;
printw("Partition size: %lld sectors (%s)\n", size, BytesToIeee(size, blockSize).c_str());
printw("Attribute flags: %016x\n", partitions[partNum].GetAttributes().GetAttributes());
#ifdef USE_UTF16
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/parttypes.cc new/gptfdisk-1.0.1/parttypes.cc
--- old/gptfdisk-1.0.0/parttypes.cc 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/parttypes.cc 2015-10-19 00:35:18.000000000 +0200
@@ -2,7 +2,7 @@
// Class to manage partition type codes -- a slight variant on MBR type
// codes, GUID type codes, and associated names.
-/* This program is copyright (c) 2009-2014 by Roderick W. Smith. It is distributed
+/* This program is copyright (c) 2009-2015 by Roderick W. Smith. It is distributed
under the terms of the GNU GPL version 2, as detailed in the COPYING file. */
#define __STDC_LIMIT_MACROS
@@ -97,6 +97,9 @@
AddType(0x3000, "7412F7D5-A156-4B13-81DC-867174929325", "ONIE boot");
AddType(0x3001, "D4E6E2CD-4469-46F3-B5CB-1BFF57AFC149", "ONIE config");
+ // Plan 9; see http://man.cat-v.org/9front/8/prep
+ AddType(0x3900, "C91818F9-8025-47AF-89D2-F030D7000C2C", "Plan 9");
+
// PowerPC reference platform boot partition
AddType(0x4100, "9E1A2D38-C612-4316-AA26-8B49521E5A8B", "PowerPC PReP boot");
@@ -129,6 +132,7 @@
AddType(0x8304, "4F68BCE3-E8CD-4DB1-96E7-FBCAF984B709", "Linux x86-64 root (/)"); // Linux / on x86-64 (auto-mounted by systemd)
AddType(0x8305, "B921B045-1DF0-41C3-AF44-4C6F280D3FAE", "Linux ARM64 root (/)"); // Linux / on 64-bit ARM (auto-mounted by systemd)
AddType(0x8306, "3B8F8425-20E0-4F3B-907F-1A25A76F98E8", "Linux /srv"); // Linux /srv (auto-mounted by systemd)
+ AddType(0x8307, "69DAD710-2CE4-4E3C-B16C-21A1D49ABED3", "Linux ARM32 root (/)"); // Linux / on 32-bit ARM (auto-mounted by systemd)
// Used by Intel Rapid Start technology
AddType(0x8400, "D3BFE2DE-3DAF-11DF-BA40-E3A556D89593", "Intel Rapid Start");
@@ -155,11 +159,7 @@
AddType(0xa585, "85D5E45C-237C-11E1-B4B3-E89A8F7FC3A7", "Midnight BSD Vinum");
// OpenBSD partition type....
- // Note: MBR type 0xa6 is normally subdivided with a BSD disklabel. It's unclear
- // if that has a GPT equivalent, so I've mapped it to the same GUID as the
- // FreeBSD diskalbel.
- AddType(0xa600, "516E7CB4-6ECF-11D6-8FF8-00022D09712B", "OpenBSD disklabel", 0);
- AddType(0xa601, "824CC7A0-36A8-11E3-890A-952519AD3F61", "OpenBSD data");
+ AddType(0xa600, "824CC7A0-36A8-11E3-890A-952519AD3F61", "OpenBSD disklabel");
// A MacOS partition type, separated from others by NetBSD partition types...
AddType(0xa800, "55465300-0000-11AA-AA11-00306543ECAC", "Apple UFS"); // Mac OS X
@@ -175,7 +175,7 @@
AddType(0xa906, "49F48DAA-B10E-11DC-B99B-0019D1879648", "NetBSD RAID");
// Mac OS partition types (See also 0xa800, above)....
- AddType(0xab00, "426F6F74-0000-11AA-AA11-00306543ECAC", "Apple boot");
+ AddType(0xab00, "426F6F74-0000-11AA-AA11-00306543ECAC", "Recovery HD");
AddType(0xaf00, "48465300-0000-11AA-AA11-00306543ECAC", "Apple HFS/HFS+");
AddType(0xaf01, "52414944-0000-11AA-AA11-00306543ECAC", "Apple RAID");
AddType(0xaf02, "52414944-5F4F-11AA-AA11-00306543ECAC", "Apple RAID offline");
@@ -183,6 +183,9 @@
AddType(0xaf04, "5265636F-7665-11AA-AA11-00306543ECAC", "AppleTV recovery");
AddType(0xaf05, "53746F72-6167-11AA-AA11-00306543ECAC", "Apple Core Storage");
+ // Acronis Secure Zone
+ AddType(0xbc00, "0311FC50-01CA-4725-AD77-9ADBB20ACE98", "Acronis Secure Zone");
+
// Solaris partition types (one of which is shared with MacOS)
AddType(0xbe00, "6A82CB45-1DD2-11B2-99A6-080020736631", "Solaris boot");
AddType(0xbf00, "6A85CF4D-1DD2-11B2-99A6-080020736631", "Solaris root");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/sgdisk.8 new/gptfdisk-1.0.1/sgdisk.8
--- old/gptfdisk-1.0.0/sgdisk.8 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/sgdisk.8 2015-10-19 00:35:18.000000000 +0200
@@ -1,6 +1,6 @@
-.\" Copyright 2011-2013 Roderick W. Smith (rodsmith(a)rodsbooks.com)
+.\" Copyright 2011-2015 Roderick W. Smith (rodsmith(a)rodsbooks.com)
.\" May be distributed under the GNU General Public License
-.TH "SGDISK" "8" "1.0.0" "Roderick W. Smith" "GPT fdisk Manual"
+.TH "SGDISK" "8" "1.0.1" "Roderick W. Smith" "GPT fdisk Manual"
.SH "NAME"
sgdisk \- Command\-line GUID partition table (GPT) manipulator for Linux and Unix
.SH "SYNOPSIS"
@@ -148,11 +148,11 @@
.TP
.B \-a, \-\-set\-alignment=value
Set the sector alignment multiple. GPT fdisk aligns the start of partitions
-to sectors that are multiples of this value, which defaults to 2048 on
-freshly formatted disks. This alignment value is necessary to obtain optimum
-performance with Western Digital Advanced Format and similar drives with larger
-physical than logical sector sizes, with some types of RAID arrays, and
-with SSD devices.
+to sectors that are multiples of this value, which defaults to 1MiB (2048
+on disks with 512-byte sectors) on freshly formatted disks. This alignment
+value is necessary to obtain optimum performance with Western Digital
+Advanced Format and similar drives with larger physical than logical sector
+sizes, with some types of RAID arrays, and with SSD devices.
.TP
.B \-A, \-\-attributes=list|[partnum:show|or|nand|xor|=|set|clear|toggle|get[:bitnum|hexbitmask]]
@@ -335,10 +335,7 @@
.TP
.B \-N, \-\-largest\-new=num
Create a new partition that fills the largest available block of space on
-the disk. Note that if used on a completely blank disk, this is likely to
-result in a sector-moved warning, since the first available sector
-(normally 34) doesn't fall on a 2048-sector boundary (the default for
-alignment). You can use the \fI\-a\fR (\fI\-\-set\-alignment\fR) option to
+the disk. You can use the \fI\-a\fR (\fI\-\-set\-alignment\fR) option to
adjust the alignment, if desired. A num value of 0 causes the program to
use the first available partition number.
@@ -483,7 +480,8 @@
.TP
.B 3
-Non\-GPT disk detected and no \fI\-g\fR option
+Non\-GPT disk detected and no \fI\-g\fR option, but operation requires a
+write action
.TP
.B 4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/sgdisk.html new/gptfdisk-1.0.1/sgdisk.html
--- old/gptfdisk-1.0.0/sgdisk.html 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/sgdisk.html 2015-10-19 00:35:18.000000000 +0200
@@ -4,7 +4,7 @@
<HTML><HEAD><TITLE>Man page of SGDISK</TITLE>
</HEAD><BODY>
<H1>SGDISK</H1>
-Section: GPT fdisk Manual (8)<BR>Updated: 1.0.0<BR><A HREF="#index">Index</A>
+Section: GPT fdisk Manual (8)<BR>Updated: 1.0.1<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB"> </A>
@@ -173,11 +173,11 @@
<DD>
Set the sector alignment multiple. GPT fdisk aligns the start of partitions
-to sectors that are multiples of this value, which defaults to 2048 on
-freshly formatted disks. This alignment value is necessary to obtain optimum
-performance with Western Digital Advanced Format and similar drives with larger
-physical than logical sector sizes, with some types of RAID arrays, and
-with SSD devices.
+to sectors that are multiples of this value, which defaults to 1MiB (2048
+on disks with 512-byte sectors) on freshly formatted disks. This alignment
+value is necessary to obtain optimum performance with Western Digital
+Advanced Format and similar drives with larger physical than logical sector
+sizes, with some types of RAID arrays, and with SSD devices.
<P>
<DT><B>-A, --attributes=list|[partnum:show|or|nand|xor|=|set|clear|toggle|get[:bitnum|hexbitmask]]</B>
@@ -379,10 +379,7 @@
<DD>
Create a new partition that fills the largest available block of space on
-the disk. Note that if used on a completely blank disk, this is likely to
-result in a sector-moved warning, since the first available sector
-(normally 34) doesn't fall on a 2048-sector boundary (the default for
-alignment). You can use the <I>-a</I> (<I>--set-alignment</I>) option to
+the disk. You can use the <I>-a</I> (<I>--set-alignment</I>) option to
adjust the alignment, if desired. A num value of 0 causes the program to
use the first available partition number.
<P>
@@ -552,7 +549,8 @@
<DT><B>3</B>
<DD>
-Non-GPT disk detected and no <I>-g</I> option
+Non-GPT disk detected and no <I>-g</I> option, but operation requires a
+write action
<P>
<DT><B>4</B>
@@ -721,6 +719,6 @@
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
-Time: 22:50:38 GMT, March 17, 2015
+Time: 22:35:18 GMT, October 18, 2015
</BODY>
</HTML>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/support.cc new/gptfdisk-1.0.1/support.cc
--- old/gptfdisk-1.0.0/support.cc 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/support.cc 2015-10-19 00:35:18.000000000 +0200
@@ -39,9 +39,16 @@
string ReadString(void) {
string inString;
char efiString[256];
+ int stringLength;
- fgets(efiString, 255, stdin);
- inString = efiString;
+ if (fgets(efiString, 255, stdin) != NULL) {
+ stringLength = strlen(efiString);
+ if ((stringLength > 0) && (efiString[stringLength - 1] == '\n'))
+ efiString[stringLength - 1] = '\0';
+ inString = efiString;
+ } else {
+ inString = "";
+ }
return inString;
} // ReadString()
#else
@@ -144,7 +151,7 @@
uint64_t IeeeToInt(string inValue, uint64_t sSize, uint64_t low, uint64_t high, uint64_t def) {
uint64_t response = def, bytesPerUnit = 1, mult = 1, divide = 1;
size_t foundAt = 0;
- char suffix, plusFlag = ' ';
+ char suffix = ' ', plusFlag = ' ';
string suffixes = "KMGTPE";
int badInput = 0; // flag bad input; once this goes to 1, other values are irrelevant
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gptfdisk-1.0.0/support.h new/gptfdisk-1.0.1/support.h
--- old/gptfdisk-1.0.0/support.h 2015-03-17 23:50:38.000000000 +0100
+++ new/gptfdisk-1.0.1/support.h 2015-10-19 00:35:18.000000000 +0200
@@ -8,7 +8,7 @@
#ifndef __GPTSUPPORT
#define __GPTSUPPORT
-#define GPTFDISK_VERSION "1.0.0"
+#define GPTFDISK_VERSION "1.0.1"
#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__APPLE__)
// Darwin (Mac OS) & FreeBSD: disk IOCTLs are different, and there is no lseek64
[View Less]
1
0
Hello community,
here is the log from the commit of package kernel-firmware for openSUSE:Factory checked in at 2015-10-30 16:34:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kernel-firmware (Old)
and /work/SRC/openSUSE:Factory/.kernel-firmware.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-firmware"
Changes:
--------
--- /work/SRC/openSUSE:Factory/kernel-firmware/…
[View More]kernel-firmware.changes 2015-10-14 16:39:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kernel-firmware.new/kernel-firmware.changes 2015-10-30 16:34:37.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Oct 27 08:10:31 CET 2015 - tiwai(a)suse.de
+
+- Update Skylake DMC firmware to 1.23 (boo#952134)
+
+-------------------------------------------------------------------
New:
----
skldmcver123.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kernel-firmware.spec ++++++
--- /var/tmp/diff_new_pack.fkS0CS/_old 2015-10-30 16:34:38.000000000 +0100
+++ /var/tmp/diff_new_pack.fkS0CS/_new 2015-10-30 16:34:38.000000000 +0100
@@ -31,6 +31,8 @@
Source1: firmware.sh
# ast_dp501_fw.bin generated from header file of xf86-video-ast: MIT/X11 License
Source2: ast_dp501_fw.bin
+# update skl dmc f/w (boo#952134)
+Source3: skldmcver123.tar.bz2
%define __find_supplements bash %_sourcedir/firmware.sh --find-supplements
%define __ksyms_supplements bash %_sourcedir/firmware.sh --cache %{_builddir}/%{?buildsubdir}/find_supplements.cache --find-supplements
@@ -82,8 +84,12 @@
This package contains the microcode files used by AMD CPUs.
%prep
-%setup -q -n linux-firmware-%version
+%setup -q -n linux-firmware-%version -a 3
cp %{S:2} .
+# update skl dmc f/w (boo#952134)
+mv skl_dmc_ver1_23/skl_dmc_ver1_23.bin i915/
+ln -sf skl_dmc_ver1_23.bin i915/skl_dmc_ver1.bin
+rm -r skl_dmc_ver1_23
%build
# nothing to do
[View Less]
1
0
Hello community,
here is the log from the commit of package audiofile for openSUSE:Factory checked in at 2015-10-30 16:34:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/audiofile (Old)
and /work/SRC/openSUSE:Factory/.audiofile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "audiofile"
Changes:
--------
--- /work/SRC/openSUSE:Factory/audiofile/audiofile.changes 2014-08-20 17:…
[View More]53:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.audiofile.new/audiofile.changes 2015-10-30 16:34:32.000000000 +0100
@@ -1,0 +2,7 @@
+Thu Oct 22 16:40:50 CEST 2015 - sbrabec(a)suse.com
+
+- Fix overflow when changing both number of channels and sample
+ format (bsc#949399, CVE-2015-7747,
+ audiofile-CVE-2015-7747.patch).
+
+-------------------------------------------------------------------
New:
----
audiofile-CVE-2015-7747.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ audiofile.spec ++++++
--- /var/tmp/diff_new_pack.7M28rW/_old 2015-10-30 16:34:33.000000000 +0100
+++ /var/tmp/diff_new_pack.7M28rW/_new 2015-10-30 16:34:33.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package audiofile
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -28,6 +28,8 @@
Url: http://www.68k.org/~michael/audiofile/
Source: http://download.gnome.org/sources/audiofile/0.3/%{name}-%{version}.tar.xz
Source2: baselibs.conf
+# PATCH-FIX-SECURITY audiofile-CVE-2015-7747.patch bsc949399 CVE-2015-7747 sbrabec(a)suse.com -- Fix overflow when changing both number of channels and sample format https://github.com/mpruett/audiofile/pull/25/files https://github.com/mpruett/audiofile/pull/25.patch
+Patch: audiofile-CVE-2015-7747.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
@@ -93,6 +95,7 @@
%prep
%setup -q
+%patch -p1
%build
autoreconf -fi
++++++ audiofile-CVE-2015-7747.patch ++++++
>From 4234a11442e673e4b96c4b0a9e707dcb15b01497 Mon Sep 17 00:00:00 2001
From: Fabrizio Gennari <fabrizio.ge(a)tiscali.it>
Date: Thu, 1 Oct 2015 22:51:14 +0200
Subject: [PATCH 1/2] Do not corrupt files when changing both number of
channels and sample format
---
libaudiofile/modules/ModuleState.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libaudiofile/modules/ModuleState.cpp b/libaudiofile/modules/ModuleState.cpp
index f76c495..0c29d7a 100644
--- a/libaudiofile/modules/ModuleState.cpp
+++ b/libaudiofile/modules/ModuleState.cpp
@@ -402,7 +402,7 @@ status ModuleState::arrange(AFfilehandle file, Track *track)
addModule(new Transform(outfc, in.pcm, out.pcm));
if (in.channelCount != out.channelCount)
- addModule(new ApplyChannelMatrix(infc, isReading,
+ addModule(new ApplyChannelMatrix(outfc, isReading,
in.channelCount, out.channelCount,
in.pcm.minClip, in.pcm.maxClip,
track->channelMatrix));
>From 1debf51f3a89d44c0bd46e7bc45c07342087dd7c Mon Sep 17 00:00:00 2001
From: Fabrizio Gennari <fabrizio.ge(a)tiscali.it>
Date: Sun, 4 Oct 2015 01:14:00 +0200
Subject: [PATCH 2/2] Add a test case for conversion of both sample format and
number of channels
This patch contains the testcase backport to version 0.3.6.
Author: Stanislav Brabec <sbrabec(a)suse.com>
https://bugzilla.novell.com/show_bug.cgi?id=949399#c7
---
test/Makefile.am | 2 +
test/sixteen-stereo-to-eight-mono.c | 118 ++++++++++++++++++++++++++++++++++++
2 files changed, 120 insertions(+)
create mode 100644 test/sixteen-stereo-to-eight-mono.c
diff --git a/test/Makefile.am b/test/Makefile.am
index 7bbf8e4..d311719 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -27,6 +27,7 @@ TESTS = \
VirtualFile \
floatto24 \
query2 \
+ sixteen-stereo-to-eight-mono \
sixteen-to-eight \
testchannelmatrix \
testdouble \
@@ -143,6 +144,7 @@ printmarkers_SOURCES = printmarkers.c
printmarkers_LDADD = $(LIBAUDIOFILE) -lm
sixteen_to_eight_SOURCES = sixteen-to-eight.c TestUtilities.cpp TestUtilities.h
+sixteen_stereo_to_eight_mono_SOURCES = sixteen-stereo-to-eight-mono.c TestUtilities.cpp TestUtilities.h
testchannelmatrix_SOURCES = testchannelmatrix.c TestUtilities.cpp TestUtilities.h
diff --git a/test/sixteen-stereo-to-eight-mono.c b/test/sixteen-stereo-to-eight-mono.c
new file mode 100644
index 0000000..0f14636
--- /dev/null
+++ b/test/sixteen-stereo-to-eight-mono.c
@@ -0,0 +1,117 @@
+/*
+ Audio File Library
+
+ Copyright 2000, Silicon Graphics, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+*/
+
+/*
+ sixteen-stereo-to-eight-mono.c
+
+ This program tests the conversion from 2-channel 16-bit integers to
+ 1-channel 8-bit integers.
+*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+#include <limits.h>
+
+#include <audiofile.h>
+
+#include "TestUtilities.h"
+
+int main (int argc, char **argv)
+{
+ AFfilehandle file;
+ AFfilesetup setup;
+ int16_t frames16[] = {14298, 392, 3923, -683, 958, -1921};
+ int8_t frames8[] = {28, 6, -2};
+ int i, frameCount = 3;
+ int8_t byte;
+ AFframecount result;
+
+ setup = afNewFileSetup();
+
+ afInitFileFormat(setup, AF_FILE_WAVE);
+
+ afInitSampleFormat(setup, AF_DEFAULT_TRACK, AF_SAMPFMT_TWOSCOMP, 16);
+ afInitChannels(setup, AF_DEFAULT_TRACK, 2);
+
+ char testFileName[PATH_MAX];
+ if (!createTemporaryFile("sixteen-to-eight", &testFileName))
+ {
+ fprintf(stderr, "Could not create temporary file.\n");
+ exit(EXIT_FAILURE);
+ }
+
+ file = afOpenFile(testFileName, "w", setup);
+ if (file == AF_NULL_FILEHANDLE)
+ {
+ fprintf(stderr, "could not open file for writing\n");
+ exit(EXIT_FAILURE);
+ }
+
+ afFreeFileSetup(setup);
+
+ afWriteFrames(file, AF_DEFAULT_TRACK, frames16, frameCount);
+
+ afCloseFile(file);
+
+ file = afOpenFile(testFileName, "r", AF_NULL_FILESETUP);
+ if (file == AF_NULL_FILEHANDLE)
+ {
+ fprintf(stderr, "could not open file for reading\n");
+ exit(EXIT_FAILURE);
+ }
+
+ afSetVirtualSampleFormat(file, AF_DEFAULT_TRACK, AF_SAMPFMT_TWOSCOMP, 8);
+ afSetVirtualChannels(file, AF_DEFAULT_TRACK, 1);
+
+ for (i=0; i<frameCount; i++)
+ {
+ /* Read one frame. */
+ result = afReadFrames(file, AF_DEFAULT_TRACK, &byte, 1);
+
+ if (result != 1)
+ break;
+
+ /* Compare the byte read with its precalculated value. */
+ if (memcmp(&byte, &frames8[i], 1) != 0)
+ {
+ printf("error\n");
+ printf("expected %d, got %d\n", frames8[i], byte);
+ exit(EXIT_FAILURE);
+ }
+ else
+ {
+#ifdef DEBUG
+ printf("got what was expected: %d\n", byte);
+#endif
+ }
+ }
+
+ afCloseFile(file);
+ unlink(testFileName);
+
+ exit(EXIT_SUCCESS);
+}
[View Less]
1
0
Hello community,
here is the log from the commit of package evince for openSUSE:Factory checked in at 2015-10-30 16:34:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/evince (Old)
and /work/SRC/openSUSE:Factory/.evince.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evince"
Changes:
--------
--- /work/SRC/openSUSE:Factory/evince/evince.changes 2015-10-06 16:27:05.000000000 +…
[View More]0200
+++ /work/SRC/openSUSE:Factory/.evince.new/evince.changes 2015-10-30 16:34:27.000000000 +0100
@@ -1,0 +2,19 @@
+Wed Oct 21 18:37:35 UTC 2015 - zaitor(a)opensuse.org
+
+- Update to version 3.18.1:
+ + Fix performance regression with recent versions of GTK+ when
+ getting colors from GtkStyleContext for a different state
+ (bgo#755442).
+ + Fix a crash in PDF backend when opening documents containing
+ screen annotations with no actions (bgo#756572).
+ + Ignore right clicks while adding new annotations (bgo#755619).
+ + Escape bookmark titles to be correctly rendered when they
+ contain characters like & (bgo#663019).
+ + Fix handling of multiple files provided as command line
+ arguments (bgo#755796).
+ + Show error messages also in recent view mode (bgo#755064).
+ + Do not crash when the rendering or thumbnail jobs fail
+ (bgo#744049).
+ + Updated translations.
+
+-------------------------------------------------------------------
Old:
----
evince-3.18.0.tar.xz
New:
----
evince-3.18.1.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ evince.spec ++++++
--- /var/tmp/diff_new_pack.PHMDRo/_old 2015-10-30 16:34:28.000000000 +0100
+++ /var/tmp/diff_new_pack.PHMDRo/_new 2015-10-30 16:34:28.000000000 +0100
@@ -19,7 +19,7 @@
%define _major_version 3.0
%define pluginAPI 4
Name: evince
-Version: 3.18.0
+Version: 3.18.1
Release: 0
Summary: GNOME Document Viewer
License: GPL-2.0+
++++++ evince-3.18.0.tar.xz -> evince-3.18.1.tar.xz ++++++
++++ 9101 lines of diff (skipped)
[View Less]
1
0