pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/libreoffice
Module Name: pkgsrc
Committed By: ryoon
Date: Sun Jan 22 17:56:04 UTC 2023
Modified Files:
pkgsrc/misc/libreoffice: Makefile distinfo
pkgsrc/misc/libreoffice/patches: patch-configure.ac
patch-i18nutil_source_utility_unicode.cxx
Added Files:
pkgsrc/misc/libreoffice/patches: patch-unotools_source_i18n_resmgr.cxx
patch-vcl_source_window_window2.cxx
Log Message:
libreoffice: Update to 7.4.4.2
Changelog:
7.4.4.2:
* 1 About This Page
* 2 Writer
+ 2.1 General Improvements
+ 2.2 New typographic settings
+ 2.3 New numbering in Show Changes mode
+ 2.4 New remote grammar checker: LanguageTool
* 3 Calc
+ 3.1 General Improvements
+ 3.2 Performance
* 4 Impress & Draw
* 5 Base
* 6 Chart
* 7 Math
* 8 Core / General
+ 8.1 General Improvements
+ 8.2 Lighting of extruded custom shapes
+ 8.3 Performance
* 9 LibreOffice Help
* 10 Filters
+ 10.1 DOCX import/export filters
o 10.1.1 Unlock protected change tracking by password verification
+ 10.2 PPTX import/export filters
+ 10.3 RTF filter import/export
+ 10.4 PDF export
+ 10.5 HTML export
+ 10.6 EMF/WMF import
+ 10.7 TIFF import
* 11 GUI
+ 11.1 Icon Theme
* 12 Localization
+ 12.1 New languages/locales with locale data
+ 12.2 Improvements to proofing tools and language support
* 13 Scripting
+ 13.1 DispatchHelper .UNO:command directory
+ 13.2 The ScriptForge libraries
+ 13.3 VBA Support
+ 13.4 Basic
* 14 Feature Removal / Deprecation
* 15 Platform Compatibility
+ 15.1 Mac
* 16 API Changes
+ 16.1 Jump Lists
* 17 Android Viewer
About This Page
This is an in-progress scratch-pad of notes to build release notes from as and
when we release. Please do not list features that are to be shipped already in
the 7.4 release! Please do not add wish-list features that you hope will be
implemented, but only what actually is implemented already.
What does a good feature look like here:
* It has a description, and a way for a busy reviewer, to find and play with
the feature. Target someone who is extremely busy, and knows
little-to-nothing about the product. So if a user interface element is key
to the feature, be very explicit about where it is, e. g. Menu -> Format ->
Character -> Position [tab] -> '90 degrees' paths to the elements you
changed. Of course, you know your feature is important, and that everyone
should care about the Extensible AutoShapes Properties dialog -- but often
the guys taking the screenshots and writing the notes do not.
* It credits the main authors who did the work -- just add them in brackets
after the feature, where possible.
* If the feature can be shown off with a sample / test file -- particularly
for new import-able features, it would be wonderful to have a link to/
up-load of a test file that we can use to show that feature off to best
effect. That really helps us to make good screenshots to show off the
features, and allows reviewers to do their testing.
Thanks in advance for your help filling this out!
Writer
General Improvements
* Menu item Tools -> Update -> Update all now updates the preview of OLE
objects blog post (Miklos Vajna; Collabora)
* Various border improvements around tables and paragraphs to make them more
Word-compatible blog post (Miklos Vajna; Collabora)
* Fixed Index or Table of Contents generation when Create Index or Table of
Contents -> For: is set to Chapter in the Table of Contents, Index or
Bibliography dialogue (Insert -> Table of Contents and Index). The generated
entries start from the current chapter level, instead of the previously
hardwired level 2 tdf#130318 (Andreas Heinisch; Emanuele Gissi, CNVVF)
* Writer now supports clearing breaks from Word for improvement layout
fidelity blog post (Miklos Vajna; Collabora)
* Accessibility check dialog (Tools -> Accessibility Check...) is now rendered
asynchronously core commit 61fed0c4 (Nick Wingate; Collabora)
* For documents that are loaded read-only, Writer will now allow to view
tracked changes, both via the dialog from Edit -> Tracked Changes ->
Manage... and in the sidebar. core commit 82e789bf (Michael Stahl,
allotropia)
* Tracked footnote deletion and insertion are visible in the footnote area
tdf#85610 (László Németh, NISZ)
[640px-Changed_footnotes]
Format footnote numbers to show tracked footnote deletion and insertion in the
footnote area
* Handle the "hang" baseline OpenType property, allowing text of different
sizes to align to the hanging baseline. tdf#104930 (Mark Hung)
* Writer now supports rich text and checkbox content controls from Word
natively blog post (Miklos Vajna; Collabora)
* Writer now also supports dropdown, picture and date content controls from
Word natively blog post (Miklos Vajna; Collabora)
* Auto-correction for markup *bold*, /italic/, -strikeout- and _underline_ is
now switched off by default. Turn it back on in Tools -> AutoCorrect ->
AutoCorrect Options... -> Options. tdf#133023 (Heiko Tietze, TDF)
* Improved positioning of glyphs, getting rid of certain problems with
kerning and unwanted shifting of characters during typing tdf#144862 (Caol
án McNamara, Red Hat)
New typographic settings
Add new optional hyphenation settings to adjust paragraph-level text flow (Lá
szló Németh)
* Hyphenation zone (it's for limiting hyphenation, used especially with not
justified paragraph alignment). tdf#149420
* Minimum word length for hyphenation tdf#149324
* Do not hyphenate the last word of the paragraph tdf#149248
Note: these features are part of CSS4 Text Module Level 4, DTP software
and in the case of hyphenation zone, OOXML/MSO.
[640px-Parahyphenation_lastword_minword]
Text Flow tab of Format -> Paragraph... has new hyphenation settings for quick
adjustment of errors of automatic hyphenation and for interoperability
New numbering in Show Changes mode
Show actual and original numbering of list items in Show Changes mode. tdf#
115523 tdf#115524 (László Németh, NISZ)
* Don't use dummy mixed numbering, which counted the deleted list items as
not deleted ones.
* Show the actual number first, and after that, the original number within
brackets, for example "1.[2.]".
* Not only the deleted and inserted list items, but the following ones show
the actual and original numbers e.g. to help to recognize changes of a
legal text.
* To improve the visibility of these list items, changed numbering and
paragraph text are separated by a space, not a tabulator to avoid of
incorrectly tabulated lists.
[480px-Numbering_changes]
Show Changes mode shows changes in numbering correctly: don't count deleted
list items, show also the original numbers of all list items with changed
numbering (left: before the fix, right: after the fix, List 1: tracked deletion
of a list item, List 2: tracked insertion of a list item, List 3: both tracked
deletion and insertion)
New remote grammar checker: LanguageTool
* Writer now can take advantage of the remote LanguageTool APIs for grammar
checking. API docs (thanks to Adfinis for sponsoring this feature) core
commit d952df36 (Mert Tümer; Collabora)
[1280px-Ltgrammarchecker1]
Language Settings of Tools -> Options adds new settings for grammar checking
with LanguageTool APIs.
[640px-Grammarchecker]
Context menu shows the proper word after checking grammar with remote
LanguageTool APIs.
Calc
General Improvements
* Support for sparklines was added (blog post) (Tomaž Vajngerl, Collabora)
* [463px-Sparklines]
Sparklines in Calc
* [1372px-Sparklines2]
Example with 3 types of sparklines
* Calc now supports and uses 16384 columns (blog post) . (Luboš Luňák,
Collabora)
* Added COUNTA, PRODUCT, STDEV, STDEVP, VAR, VARP functions to drop-down
autosum widget on Formula bar tdf#139602 (Dhiraj Holden)
* Put text in selected cell into hyperlink item Text when you use the
Hyperlink dialog (Ctrl+K). If the user selects an entire cell by a single
click, and inserts an URL via the hyperlink dialog, the entire content of
the corresponding cell will be replaced instead of inserting a duplicate,
or appending the URL. If the cell contains more than one URL or an URL
including some additional text within the cell, the hyperlink dialog will
only preselect the text field when opening. If this is not the case, it
fill the URL field as well. tdf#80043 (Andreas Heinisch)
* The height of the formula bar is now stored into the document. tdf#99708
(Samuel Mehrbrodt, allotropia)
* Improve Move/Copy sheet dialog: OK button caption is changed according to
the command chosen (Move or Copy). tdf#139464 (Laurent Balland)
* A new context menu Duplicate Sheet is added, which can be accessed when you
right-click on the sheet tabs area. This allows for quick duplicate (i.e.
make a copy) of an existing sheet. tdf#145745 (Rafael Lima)
* Automatic cell matrix expansion for formula expressions that return an
array/matrix. For formula expressions entered into a cell that obviously
return an array/matrix, the result cell range is expanded as if
Shift+Ctrl+Enter was used to close an array formula. The previous
behaviour of only one cell being used to display only the top left element
can still be forced by selecting/marking a single cell prior to input. tdf#
149378 (Eike Rathke, Red Hat)
* Ease access to a sheet in a spreadsheet with a large number of sheets, with
a new menu entry Sheet -> Navigate -> Go to Sheet to get a new dialog to
search for sheets names. tdf#129674 (Laurent Balland)
* [GoToSheetExample]
Example of using "Go to Sheet" dialog
* Hidden columns/rows can have an indicator per View -> Hidden Row/Column
Indicator tdf#128258 (Heiko Tietze, TDF)
* [Hiddenrowcol]
Dotted line indicating hidden columns
* Sort options and sort items are easier to access now tdf#131155 tdf#140290
(Heiko Tietze, TDF)
* [364px-Sortdlg]
Most frequently used sort options placed on the first tab
* Number format: enhance readability of long decimal number with format
0.000"-"000"-"000. Embedded text in decimal part is now correctly saved and
restored in ODS format tdf#96723 (Laurent Balland)
* The formula bar auto input now also suggests non-English function names and
Named Ranges when you are typing the formula tdf#142031 (Andreas Heinisch)
Performance
* Improved performance when many columns contain data (blog post) . (Luboš Lu
ňák, Collabora)
* Improved performance of functions such as COUNTIF, SUMIFS and VLOOKUP,
especially with unsorted data tdf#139444 tdf#144777 tdf#146546 (Luboš Luň
ák, Collabora)
* Faster recalculation in some documents with many formulas tdf#119083 (Luboš
Luňák, Collabora)
* A huge CSV file speed opening was improved tdf#94677 (Luboš Luňák,
Collabora)
* Improved performance of Excel export filter tdf#95346 tdf#117366 tdf#126326
tdf#133749 tdf#140893 (Luboš Luňák, Collabora)
* Improved performance when loading spreadsheets that require recalculation
core commit c315a2f7 core commit 64cb1d10 (Luboš Luňák, Collabora)
Impress & Draw
* Start of document themes in Impress: shape text blog post (Miklos Vajna,
Collabora)
* Also added shape fill support for document themes in Impress blog post
(Miklos Vajna, Collabora)
* support using slide background as shape fill for PPTX interoperability
(Armin Le Grand, Samuel Mehrbrodt, allotropia) tdf#128150
[Use-bg-fill]
Shape on the master slide using the slides background as fill - 7.3 and 7.4
Base
Chart
Math
Core / General
General Improvements
* Added support for WebP images import/export tdf#114532 (Luboš Luňák,
Collabora)
+ Note that currently, WebP is converted to PNG internally, to ensure
backward compatibility of the generated document files.
* Made dialog for naming a new color asynchronous core commit 7741b21f (Nick
Wingate, Collabora)
* The configuration now remembers whether recent documents were opened
read-only or editable, and opening via File -> Recent Documents or the Start
Center will open them in the same mode as the last time. core commit
404c51f3 (Michael Stahl, allotropia)
* Added support for EMZ/WMZ files tdf#103954 (Paris Oplopoios)
Lighting of extruded custom shapes
Enhancements for lighting extruded custom shapes to make rendering more
compatible with MS Office binary formats and interpret more ODF attributes. tdf
#145700 (Regina Henschel)
* Wrong interpretation of the z-direction of lights is corrected. Especially
a center lighting from observer to object works now. The position of
specular high lights on rounded surfaces is same as in MS Office now.
* The item "Metal" is replaced by items "Metal ODF" and "Metal MS compatible"
in submenu "Surface" in toolbar "3D-Settings". The latter is not usable in
strict ODF file format "ODF 1.3". In preset "Metal ODF" the specular color
is Gray as specified in ODF. In preset "Metal MS compatible" the specular
color is the shape fill color or the extrusion color respectively, similar
to rendering in MS Office.
* The service EnhancedCustomShapeExtrusion in API is extended with a new
attribute MetalType. It has the value MetalODF or MetalMSCompatible. This
attribute is used in surface preset "Metal MS compatible".
* The ODF attribute draw:extrusion-shininess is interpreted now. This
attribute is similar to the setting "Specular Intensity" in the "Material"
tab of the "3D Effects" dialog of 3D objects. The attribute has no direct
UI, but is available as attribute Shininess in service
EnhancedCustomShapeExtrusion in the API.
* The ODF attribute draw:extrusion-diffusion is interpreted now. Only its
default value "0%" is not interpretated, because already existing shapes
have this attribute not set but expect a value of 100%. For existing shapes
you can force to write the attribute to file by toggling extrusion off and
back on. The attribute is used in preset surface "Metal MS compatible". The
attribute has no direct UI, but is available as attribute Diffusion in
service EnhancedCustomShapeExtrusion in the API. A value smaller than 100%
reduces the rendered brightness of the object.
* The ODF attributes draw:extrusion-first-light-harsh and
draw:extrusion-second-light-harsh are interpreted now. The lights are
rendered soft by distributing parts of the light intensity to four light
directions around the original light directions during rendering. The
lighting presets in submenu "Lighting" in the toolbar "3D-Settings" set the
attribute compatible to MS Office. The attribute has no direct UI, but is
available as attribute FirstLightHarsh and SecondLightHarsh in service
EnhancedCustomShapeExtrusion in the API.
* The implementation of ODF attribute draw:extrusion-specularity is adapted
to the corresponding shape property in MS Office binary formats. This
attribute corresponds to the setting "Specular Color" in the "Material" tab
of the "3D Effects" dialog of 3D objects. Only that not abitrary colors but
only variants of Gray are used. The attribute has no direct UI, but is
available as attribute Specularity in service EnhancedCustomShapeExtrusion
in the API. A value of "0%" forces the first light to be not specular,
which produces a matte surface in rendering the object. That is used in
surface preset "Matte".
Performance
* Improved text layout performance for cases like PDF export, document
loading and others, more info in the blog post. (Luboš Luňák, Collabora)
LibreOffice Help
* Help pages for the ScriptForge scripting library (J.P. Ledure, A.
Romedenne, R. Lima)
* Help updates and fixes
+ E. Rathke
+ O. Hallot
+ M. Kaganski
+ R. Lima
+ A. Romedenne
+ S. Chaiklin
+ Adolfo Jayme Barrientos
Filters
DOCX import/export filters
* DOCX: import textboxes (with tables, images etc.) in group shapes tdf#66039
(Attila Bakos, NISZ)
Unlock protected change tracking by password verification
Unlock protected change tracking of DOCX documents by mandatory password
verification tdf#128744 tdf#106843 (László Németh, NISZ)
* clicking on Record changes icon of Track Changes toolbar (or Edit -> Track
Changes -> Record) asks for password verification instead of showing only a
warning message before unlocking without the password;
* On Security page of File -> Properties... dialog window, Unprotect button
accepts the correct password with disabling record changes instead of
rejecting the correct password.
PPTX import/export filters
* PPTX export: fixed export of embedded video files tdf#53970 (Tünde Tóth,
NISZ)
* PPTX import: fixed import of linked media files. Linked media files were
imported as images in documents created with Impress after PPTX export. tdf
#53970 (Tünde Tóth, NISZ)
* PPTX: add "glue points" to some basic shapes (ellipse, triangle, right
triangle, trapezoid, parallelogram, diamond, pentagon, hexagon, heptagon,
octagon). Note: PPTX import doesn't import connectors connected to the glue
points -- only ODP export keeps them for the planned editing, i.e. moving
the connected shapes without losing the connecting lines and arrows. tdf#
147459 (Tibor Nagy, NISZ)
RTF filter import/export
* RTF filter improvements tdf#148515 tdf#95706 tdf#139948 tdf#116358 tdf#
111851 tdf#104390 tdf#118047 tdf#131234 (Vasily Melenchuk, CIB/allotropia)
PDF export
* Improved PDF export options in the command-line blog post (Miklos Vajna,
Collabora)
* Field type of Numeric, Currency, Date and Time forms are exported to PDF
tdf#105972 (Xisco Fauli, TDF)
HTML export
* Export encoding (character set) configuration is dropped from Options|Load/
Save|HTML Compatibility, HTML is now always exported using UTF-8 encoding
tdf#148413 (Mike Kaganski, Collabora)
EMF/WMF import
* Added support for Miter Limit for EMF+ format tdf#142261 (Bartosz Kosiorek)
* Added support for individual line endings for EMF+ format tdf#143875, tdf#
55058 (Bartosz Kosiorek)
* Fixed holes in lines created with LINETO for EMF/WMF tdf#89331 (Bartosz
Kosiorek)
* Added Z compressed graphic formats support for EMF/WMF (.emz and .wmz file
formats) tdf#103954 (Paris Oplopoios)
* Use variable types according to EMF+ documentation tdf#103859 (Bartosz
Kosiorek)
* Fix displaying EMF+ PathGradient fill tdf#131506 tdf#143031 (Bartosz
Kosiorek)
TIFF import
* TIFF: import filter rewritten to import via libtiff in order to support
many more variants (Caolán McNamara, Red Hat, Inc. and Julien Nabet)
* Add support for OfficeArtBlip TIFF format core commit 8c9e6d3a (Bartosz
Kosiorek)
GUI
* The Navigator can now scroll to the item on selection by a single click,
without leaving the navigator. Enable this with the expert option
NavigateOnSelect at org.openoffice.Office.Writer > Navigator tdf#131063
(Jim Raykowski)
* Start Center thumbnail rendering improved tdf#134065, tdf#147998, core
commit b70d17b0 (Mike Kaganski, Collabora)
* [398px-Before]
Before
* [398px-After]
After
* Search field for the Extension Manager tdf#126672 (Samuel Mehrbrodt,
allotropia)
* The font dialog was reworked to remain compact when Asian and/or Complex
languages are enabled tdf#139395 and tdf#146928 (Heiko Tietze, TDF)
* [350px-Charnamedlg]
Character dialog
* Experimental dark mode support for Windows 10 and Windows 11. See this blog
post. tdf#118320 (Caolán McNamara)
[LibreOffice_Dark_in_Windows]
Dark LibreOffice in Windows
Icon Theme
* The Colibre icon theme which is the default theme in Windows, now has a
dark variant while maintaining the monoline color composition from
Microsoft. tdf#146545 (Rizal Muttaqin)
[794px-Colibre-dark]
Dark Colibre Icon Theme
Localization
New languages/locales with locale data
Available as default document language and for locale specific formatting.
* Pennsylvania Dutch {pdc-US}. tdf#146602 (Peter K. Zacharias, Pennsylvania
Dutch Education Corporation; Eike Rathke, Red Hat)
* Aranese {oc-ES}. tdf#147053 (Javier Torres Fernández; Eike Rathke, Red
Hat)
* Dhivehi {dv-MV}. tdf#148428 (Adam, M. A.; Eike Rathke, Red Hat)
* English (Mauritius) {en-MU}. (Eike Rathke, Red Hat)
Improvements to proofing tools and language support
* Added Central Kurdish (ckb) Spell Checker & Dictionary. commit 1, core
commit 5727a12a (jwtiyar nariman; Olivier Hallot, TDF)
* Occitan since 2018 has several type variant language subtags in the IANA
language-subtag-registry. Historically LibreOffice used oc-FR for Occitan
Languedocien and oc-ES for Occitan Aranese as language tags. These were
underspecified at least for oc-FR and are now augmented to be written as
oc-FR-lengadoc and oc-ES-aranes, the previous oc-FR and oc-ES are still
recognized and accepted as aliases. LibreOffice 7.3.5 will accept
oc-FR-lengadoc and oc-ES-aranes as aliases for oc-FR and oc-ES for forward
compatibility. tdf#147390 (Eike Rathke, Red Hat)
* Danish spell checking dictionary has been updated (stavekontrolden.dk)
* Slovenian thesaurus was updated (Martin Srebotnjak, OdprtiTezaver).
Scripting
DispatchHelper .UNO:command directory
com.sun.star.frame.DispatchHelper service .UNO:Commands wiki page has been
upgraded. It lists all usable 7.4 commands together with their arguments.
The ScriptForge libraries
An extensible and robust collection of macro scripting resources for
LibreOffice to be invoked from user Basic or Python scripts. (Jean-Pierre
Ledure)
The libraries expose a total of 26 services each with a bunch of methods and
properties.
New in LibreOffice 7.4:
* The (new) Menu service, to describe a new menu to be displayed in the
menubar. The menu may contain usual items, checkboxes or radio buttons.
Each item can be decorated with icons and tooltips.
* The (new) UnitTest service, a framework to setup testcases and testsuites
for complex Basic modules and extensions.
* The (new) Region service , to manage locales, timezones and daylight saving
times. What time is it in Tokyo when it is 12am in Brussels ? Also to
convert numbers to letters in any language.
* Get the list of the available extensions and their install directories
(filesystem service).
* Run menu commands with arguments (ui, document services).
* Manage a fallback language (l10n service).
* Export sheet ranges as images or PDF files (calc service).
* Erase rows or columns from sheet ranges based on filters expressed as
formulas (default = erase all empty rows or columns) (calc service).
* Create and place a pivot table (calc service).
* Resize and/or center dialogs on a background window or dialog (dialog
service).
The whole set of services (except when not relevant) is made available for
Python scripts with identical syntax and behaviour as in Basic.
The English version of the documentation of the ScriptForge libraries (7.4) is
fully integrated in the LibreOffice help pages (https://help.libreoffice.org/
7.4/en-US/text/sbasic/shared/03/lib_ScriptForge.html?DbPAR=BASIC). Their
translation into other languages is underway. (Alain Romedenne, Rafael Lima)
VBA Support
* Added support for Application.WindowState, commit (Tomaž Vajngerl,
Collabora)
* Added support for Application.GetOpenFilename tdf#118246 (Tomaž Vajngerl,
Collabora)
* Export VBA-Project using detected charset on import tdf#75263 (Andreas
Heinisch)
* VBA Range.Sort expands a single cell range to Range.CurrentRegion tdf#
149579 (Eike Rathke, Red Hat)
* Not case-sensitive support of VBA NumberFormat tdf#52602 (Eike Rathke, Red
Hat)
* Support for referencing a Sheet by Name tdf#149325 (Eike Rathke, Red Hat)
Basic
* Up to and including LibreOffice 7.2, missing optional procedure arguments
would be treated as an object of type Error, with error code '448', which
would be coerced to e.g. numerical value '448' or boolean true in
expressions depending on expression context. This now raises an error, as
expected tdf#144353. In particular, expressions like "if IsMissing(FOO) or
FOO" used to work "by accident", but now don't any more.
Feature Removal / Deprecation
* FTP support is deprecated and will be removed in a future version.
* In the SDK, the tools idlc and regmerge (using the legacy type registry
format) are deprecated and will be removed in a future version, in favor of
unoidl-write (using the incompatible new type registry format internally
introduced in LibreOffice 4.1). core commit 40f2aee6
* The C function typelib_setCacheSize has been deprecated without a
replacement, and calling it no longer has any effect. core commit c3e9eb99
API Changes
* The service EnhancedCustomShapeExtrusion in API is extended with a new
attribute MetalType. It has the value MetalODF or MetalMSCompatible. The
attribute is not usable in file format "ODF 1.3". For implementation
context see Lighting of extruded custom shapes.
* The service SpreadsheetViewSettings has a new property FormulaBarHeight
allowing to read/set the height of the Calc formula bar. core commit
d0cacf09 (Samuel Mehrbrodt, allotropia)
To generate a diff of this commit:
cvs rdiff -u -r1.295 -r1.296 pkgsrc/misc/libreoffice/Makefile
cvs rdiff -u -r1.134 -r1.135 pkgsrc/misc/libreoffice/distinfo
cvs rdiff -u -r1.21 -r1.22 pkgsrc/misc/libreoffice/patches/patch-configure.ac
cvs rdiff -u -r1.6 -r1.7 \
pkgsrc/misc/libreoffice/patches/patch-i18nutil_source_utility_unicode.cxx
cvs rdiff -u -r0 -r1.1 \
pkgsrc/misc/libreoffice/patches/patch-unotools_source_i18n_resmgr.cxx \
pkgsrc/misc/libreoffice/patches/patch-vcl_source_window_window2.cxx
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/misc/libreoffice/Makefile
diff -u pkgsrc/misc/libreoffice/Makefile:1.295 pkgsrc/misc/libreoffice/Makefile:1.296
--- pkgsrc/misc/libreoffice/Makefile:1.295 Tue Jan 3 17:37:53 2023
+++ pkgsrc/misc/libreoffice/Makefile Sun Jan 22 17:56:04 2023
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.295 2023/01/03 17:37:53 wiz Exp $
+# $NetBSD: Makefile,v 1.296 2023/01/22 17:56:04 ryoon Exp $
-VERREL= 7.4.1
+VERREL= 7.4.4
VERRC= 2
VER= ${VERREL}.${VERRC}
DISTNAME= libreoffice-${VER}
-PKGREVISION= 3
CATEGORIES= misc
MASTER_SITES= http://download.documentfoundation.org/libreoffice/src/${VERREL}/
EXTRACT_SUFX= .tar.xz
@@ -114,7 +113,7 @@ MORE_DISTFILES= \
798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip \
368f114c078f94214a308a74c7e991bc-crosextrafonts-20130214.tar.gz \
language-subtag-registry-2021-08-06.tar.bz2 \
- postgresql-13.5.tar.bz2 \
+ postgresql-13.8.tar.bz2 \
graphite2-minimal-1.3.14.tgz \
1725634df4bb3dcb1b2c91a6175f8789-GentiumBasic_1102.zip \
EmojiOneColor-SVGinOT-1.3.tar.gz \
Index: pkgsrc/misc/libreoffice/distinfo
diff -u pkgsrc/misc/libreoffice/distinfo:1.134 pkgsrc/misc/libreoffice/distinfo:1.135
--- pkgsrc/misc/libreoffice/distinfo:1.134 Sun Oct 16 12:01:57 2022
+++ pkgsrc/misc/libreoffice/distinfo Sun Jan 22 17:56:04 2023
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.134 2022/10/16 12:01:57 tnn Exp $
+$NetBSD: distinfo,v 1.135 2023/01/22 17:56:04 ryoon Exp $
BLAKE2s (libreoffice/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz) = 0e0a0ae1eb07e5058749dc1726bc59971c723b4b16c57d83f24b6ac6ddd96d71
SHA512 (libreoffice/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz) =
b9c02d63e9b47a838dbe67c05b9e9e4983d13b9d74794e1c30c73d341c3bc905c9edec3a72fa339ae8c0e06d97e69ac2ea23bf51336b77af14cab7ae67721a46
@@ -126,18 +126,18 @@ Size (libreoffice/liberation-narrow-font
BLAKE2s (libreoffice/libre-hebrew-1.0.tar.gz) = 0cf1aade1aa45f923b05b4c0c2378ad8fe954b6b56913ef8b263403696853679
SHA512 (libreoffice/libre-hebrew-1.0.tar.gz) = 609c8ef29a1eab9b027ea04abf14949e9a204cf826fb0a792dadd8a83fc49ac9610a0b3a2bd4b8988e615688c63d0ec08a89436134980b2a9667e8966a75a795
Size (libreoffice/libre-hebrew-1.0.tar.gz) = 531276 bytes
-BLAKE2s (libreoffice/libreoffice-7.4.1.2.tar.xz) = a0e03042c13a099907f94fc8856509a94498f3fa1fbdefbf6f23ae0c2f5f641d
-SHA512 (libreoffice/libreoffice-7.4.1.2.tar.xz) = 620b7c0dd663b5e7478d5c83c0a4a0f777c08e9d1dbe71a35b0acc79a3dedbfbf6788351478c8f5d3820bd209de3ce1cf368d0ae6e836d3f738329fd16f838ca
-Size (libreoffice/libreoffice-7.4.1.2.tar.xz) = 263306664 bytes
-BLAKE2s (libreoffice/libreoffice-dictionaries-7.4.1.2.tar.xz) = 117acced97d744e86786752fe9b256f1a074bac97c54f9411b1f2f4ec9dd7920
-SHA512 (libreoffice/libreoffice-dictionaries-7.4.1.2.tar.xz) = 05f4230e58593123ef4e3beeddb3a21d723752342531b3d51552937549ed32a6bedc3c56d4ba514e8fd74b2e802be22e3a693ebcfe135d36e1bed44dfea1bdae
-Size (libreoffice/libreoffice-dictionaries-7.4.1.2.tar.xz) = 51464184 bytes
-BLAKE2s (libreoffice/libreoffice-help-7.4.1.2.tar.xz) = 1336c9aa86d2d652c75039647c8fc91d1fbb311703eadd09ca4b9e9fa321602c
-SHA512 (libreoffice/libreoffice-help-7.4.1.2.tar.xz) = 580b550b391117e5f96704836299fa896531ec5d2e1a22ac9493dcef11a6980148074ff63fae94a5e1f74b8664a19c136de153e69249e10aca8f1269f2e7bcd3
-Size (libreoffice/libreoffice-help-7.4.1.2.tar.xz) = 112592980 bytes
-BLAKE2s (libreoffice/libreoffice-translations-7.4.1.2.tar.xz) = 29f2a25f600b9ef0cf60614847e1c04e9e1188d60a31ebff6318c4989b45f7f0
-SHA512 (libreoffice/libreoffice-translations-7.4.1.2.tar.xz) = 7fed23ca294a756c3f4ba13ccab769548a11235a5f2be7fe8ec82fc2abefe0b4bded424f12a149fbdedc3a42030142fa8a4066247a8ff06fe318dff6aa474485
-Size (libreoffice/libreoffice-translations-7.4.1.2.tar.xz) = 199194804 bytes
+BLAKE2s (libreoffice/libreoffice-7.4.4.2.tar.xz) = d357c0ee8e74973d667700113471b259cd9fde88133dae186a74628d883505ed
+SHA512 (libreoffice/libreoffice-7.4.4.2.tar.xz) = 8205d1980cc282a3f18214cdfa036788a4b288c72e153716b807d5ad0cf8e5ec42c3223b783d75bfe92ea7f6caa7eadcd5ebf88ff899742a3b1733c1e36807de
+Size (libreoffice/libreoffice-7.4.4.2.tar.xz) = 264346748 bytes
+BLAKE2s (libreoffice/libreoffice-dictionaries-7.4.4.2.tar.xz) = ac7be0adb43334b0a8941003f852490e00efd415396235ce6452b246d1e8fb8b
+SHA512 (libreoffice/libreoffice-dictionaries-7.4.4.2.tar.xz) = d8718f1e2a566007cc25ef042a6b44a2b28b7422a68e1f240dd48c70521ed46e2846c6bdd0f0896b3132e1b10413a63b599f8bef0eaadb12d98530a8839baf46
+Size (libreoffice/libreoffice-dictionaries-7.4.4.2.tar.xz) = 51491868 bytes
+BLAKE2s (libreoffice/libreoffice-help-7.4.4.2.tar.xz) = 1807126694f4830670d962d34ab663bf86fed8a4aef3cff7260b8c9915fa1bc8
+SHA512 (libreoffice/libreoffice-help-7.4.4.2.tar.xz) = 24132f52a3452c5d90825c1c1ec6f9ac3faa8b7cdd3bbfa36d97221327a6ca2677d2c03c115f2d8990ecc43f7a492c26a8c1a2dd45fe40eab8deab99593ccf50
+Size (libreoffice/libreoffice-help-7.4.4.2.tar.xz) = 112594808 bytes
+BLAKE2s (libreoffice/libreoffice-translations-7.4.4.2.tar.xz) = eb2a21cb40974a79ce56b001af33ccfcc5fba6aa9ae924adf2aa59f6f865ca63
+SHA512 (libreoffice/libreoffice-translations-7.4.4.2.tar.xz) = fe5f8c4238d38b9bf63310744821656eec6b70959b775f53f28aa5e680348970d32fbf9287de5780c4f8cf2145b3ce0e699048b2ec6e868e26902d763cbfcf5c
+Size (libreoffice/libreoffice-translations-7.4.4.2.tar.xz) = 199717552 bytes
BLAKE2s (libreoffice/lxml-4.1.1.tgz) = 8ab1ddfc30f21c433da04723d9092cd4e938cd5a5380310e8089e959a690d294
SHA512 (libreoffice/lxml-4.1.1.tgz) = 9542e5206f9b2f9e072c52ef8e6cf44d1aaae8ae3e7ca7e820c1fac12e716503308ccb3cebc52155b4c93799f3ebca247781fc491524d004378bd26f5cddb9d1
Size (libreoffice/lxml-4.1.1.tgz) = 2380804 bytes
@@ -153,9 +153,9 @@ Size (libreoffice/odfvalidator-0.9.0-RC2
BLAKE2s (libreoffice/pdfium-5058.tar.bz2) = 61c0eec3e940bcd299c6163c9a25b6d83f20ead50fa456b59620b839662e94ed
SHA512 (libreoffice/pdfium-5058.tar.bz2) = 7238f22c265191834fa2a376f8b9b7ad64f794f5986a64d83cae5a7a017805d0be68165b8d61e7684b476341b539f11ba79a5e319029817a989020bceb6445c2
Size (libreoffice/pdfium-5058.tar.bz2) = 9771391 bytes
-BLAKE2s (libreoffice/postgresql-13.5.tar.bz2) = d57be90445afc8f6680aa3b0c7a314352437adc08f0a3559751b5036c59bd2a6
-SHA512 (libreoffice/postgresql-13.5.tar.bz2) = c76effbca8ee63be48fa3aeb39c7038221848fe83ca2afc4e0904ba8c6a50b89aa2ad37080d4e3be75e9bdc2d6ca6dfefcda334ef55a5e1a8954bb955ce905e5
-Size (libreoffice/postgresql-13.5.tar.bz2) = 21186674 bytes
+BLAKE2s (libreoffice/postgresql-13.8.tar.bz2) = 234ac7daf17806f31c81f09542663c43f98e96f078aebb8354213d14ae3af86a
+SHA512 (libreoffice/postgresql-13.8.tar.bz2) = 3b39448b291342a5e9b610d410c222aeb85f8acf95632e73e138ae316133af3dadc795a6e706f6447f543cf10df3c786da4f1afa1d91489b50eb77e2d9ed5d84
+Size (libreoffice/postgresql-13.8.tar.bz2) = 21397381 bytes
BLAKE2s (libreoffice/skia-m103-b301ff025004c9cd82816c86c547588e6c24b466.tar.xz) = 61c21d665c607aab9965c284f9280e2af7c374910617d91c9ae6319f42e1ffe3
SHA512 (libreoffice/skia-m103-b301ff025004c9cd82816c86c547588e6c24b466.tar.xz) =
1234ff6e787947fb6442b7279c7ef07d48d7036b15591782ea197c827c60fba77bbe83029bf7d8dfa7dc126535a9a780f6b927fbf7339f0825061616a9c53436
Size (libreoffice/skia-m103-b301ff025004c9cd82816c86c547588e6c24b466.tar.xz) = 11079112 bytes
@@ -172,7 +172,7 @@ SHA1 (patch-Makefile.in) = c16214631f0e4
SHA1 (patch-autogen.sh) = 0fed5f88342112bed0f573d426cc2c3d05ed45c7
SHA1 (patch-bridges_source_cpp__uno_gcc3__linux__intel_share.hxx) = 2eed9efc4a145687f409ba87806147dac2210c68
SHA1 (patch-bridges_source_cpp__uno_gcc3__linux__x86-64_share.hxx) = e664faa4044feaafe8214fdf42f7d008b9aa29fc
-SHA1 (patch-configure.ac) = b68def12350216375eb177ee730328b9523cea48
+SHA1 (patch-configure.ac) = 7f0f06aef1f9964ae7ac615a711c68a3fcbf08ad
SHA1 (patch-desktop_scripts_soffice.sh) = e6342e08781ca8dac72a1f28407517d79155577c
SHA1 (patch-external_mariadb-connector-c_UnpackedTarball__mariadb-connector-c.mk) = 0a682ef486310474684ccd279e864f96259a3087
SHA1 (patch-external_mariadb-connector-c_netbsd.patch) = c8a82ce0c3d293108daa41f81d9cee376ca50a82
@@ -183,7 +183,7 @@ SHA1 (patch-external_postgresql_External
SHA1 (patch-external_skia_Library__skia.mk) = bf97a0724bd8cb5e249b63e60e85e2e7217cfdad
SHA1 (patch-external_skia_UnpackedTarball__skia.mk) = 7c0a0ccfe67b5e45340be07d476032a39cbd38e5
SHA1 (patch-external_skia_netbsd.patch.0) = 7852da3030ce31cd089cba99c7949eda57ffaf8f
-SHA1 (patch-i18nutil_source_utility_unicode.cxx) = 138a0f278ad7ba7f6ae4657007f0c2fbe111be71
+SHA1 (patch-i18nutil_source_utility_unicode.cxx) = f4d0cfea101076459f04202696a1f3351662e31a
SHA1 (patch-instsetoo__native_inc__openoffice_unix_find-requires-x11.sh) = 64cbdbe2eef4fd0a5b6d81d4b31a1d39b72041c1
SHA1 (patch-sal_osl_unx_system.hxx) = 478dd47dc512d283a554600951010bbaa10c2c0e
SHA1 (patch-sal_rtl_cipher.cxx) = e5e46d0b96e25572be86bf26f0053436859736cd
@@ -193,6 +193,8 @@ SHA1 (patch-solenv_gbuild_platform_NETBS
SHA1 (patch-store_source_storbase.hxx) = 69c58db3984f22de45c7e32fdfd4f7c28340adf1
SHA1 (patch-sw_source_core_bastyp_calc.cxx) = 317f206500c88aea4a645a6f1dea8e0a837ad581
SHA1 (patch-sw_source_uibase_config_usrpref.cxx) = 8f761c368e38435aea53bfcfcdc1f3aba0c73d03
+SHA1 (patch-unotools_source_i18n_resmgr.cxx) = ddb373185d3a680d171551799388ba764be042e3
+SHA1 (patch-vcl_source_window_window2.cxx) = b5898d10a6f65ddb06ca3b86efe525078d8efa2a
SHA1 (patch-vcl_unx_generic_app_geninst.cxx) = aa8f1a7e0fe2b6254a05e8370f1d12d25ba9795a
SHA1 (patch-xmloff_source_draw_ximp3dscene.cxx) = bdd0b2563e54424dd468c2334e17ab23057a69fb
SHA1 (patch-xmlsecurity_source_gpg_CertificateImpl.hxx) = 56ac06159e0805edc1685d271b632f1af438be86
Index: pkgsrc/misc/libreoffice/patches/patch-configure.ac
diff -u pkgsrc/misc/libreoffice/patches/patch-configure.ac:1.21 pkgsrc/misc/libreoffice/patches/patch-configure.ac:1.22
--- pkgsrc/misc/libreoffice/patches/patch-configure.ac:1.21 Mon Aug 22 13:58:32 2022
+++ pkgsrc/misc/libreoffice/patches/patch-configure.ac Sun Jan 22 17:56:04 2023
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure.ac,v 1.21 2022/08/22 13:58:32 ryoon Exp $
+$NetBSD: patch-configure.ac,v 1.22 2023/01/22 17:56:04 ryoon Exp $
* Add NetBSD/aarch64 support.
* Disable freetype2 and fontconfig from pkgsrc explicitly.
@@ -7,9 +7,9 @@ $NetBSD: patch-configure.ac,v 1.21 2022/
* Include header files from security/gpgme correctly.
* Find devel/apache-ant.
---- configure.ac.orig 2022-08-10 14:14:32.000000000 +0000
+--- configure.ac.orig 2022-10-10 10:15:14.000000000 +0000
+++ configure.ac
-@@ -5305,6 +5305,11 @@ linux-android*)
+@@ -5300,6 +5300,11 @@ linux-android*)
RTL_ARCH=X86_64
PLATFORMID=netbsd_x86_64
;;
@@ -21,7 +21,7 @@ $NetBSD: patch-configure.ac,v 1.21 2022/
*)
AC_MSG_ERROR([Unsupported host_cpu $host_cpu for host_os $host_os])
;;
-@@ -9663,9 +9668,9 @@ dnl When the minimal version is at least
+@@ -9657,9 +9662,9 @@ dnl When the minimal version is at least
dnl ===================================================================
FREETYPE_CFLAGS_internal="${ISYSTEM}${WORKDIR}/UnpackedTarball/freetype/include"
if test "x$ac_config_site_64bit_host" = xYES; then
@@ -33,31 +33,30 @@ $NetBSD: patch-configure.ac,v 1.21 2022/
fi
libo_CHECK_SYSTEM_MODULE([freetype],[FREETYPE],[freetype2 >= 9.9.3],,system,TRUE)
-@@ -10890,11 +10895,12 @@ dnl HarfBuzz
+@@ -10866,11 +10871,11 @@ dnl HarfBuzz
dnl ===================================================================
GRAPHITE_CFLAGS_internal="-I${WORKDIR}/UnpackedTarball/graphite/include -DGRAPHITE2_STATIC"
-GRAPHITE_LIBS_internal="-L${WORKDIR}/LinkTarget/StaticLibrary -lgraphite"
+GRAPHITE_LIBS_internal="${WORKDIR}/LinkTarget/StaticLibrary/libgraphite.a"
-+
libo_CHECK_SYSTEM_MODULE([graphite],[GRAPHITE],[graphite2 >= 0.9.3])
HARFBUZZ_CFLAGS_internal="-I${WORKDIR}/UnpackedTarball/harfbuzz/src"
-HARFBUZZ_LIBS_internal="-L${WORKDIR}/UnpackedTarball/harfbuzz/src/.libs -lharfbuzz"
+HARFBUZZ_LIBS_internal="${WORKDIR}/UnpackedTarball/harfbuzz/src/.libs/libharfbuzz.a"
- libo_CHECK_SYSTEM_MODULE([harfbuzz],[HARFBUZZ],[harfbuzz-icu >= 0.9.42])
+ libo_CHECK_SYSTEM_MODULE([harfbuzz],[HARFBUZZ],[harfbuzz-icu >= 2.1.0])
if test "$COM" = "MSC"; then # override the above
-@@ -12559,7 +12565,7 @@ elif test \( \( "$_os" = "Linux" -o "$_o
+@@ -12535,7 +12540,7 @@ elif test \( \( "$_os" = "Linux" -o "$_o
SYSTEM_GPGMEPP=TRUE
# C++ library doesn't come with fancy gpgmepp-config, check for headers the old-fashioned way
- AC_CHECK_HEADER(gpgme++/gpgmepp_version.h, [ GPGMEPP_CFLAGS=-I/usr/include/gpgme++ ],
+ AC_CHECK_HEADER(gpgme++/gpgmepp_version.h, [ GPGMEPP_CFLAGS=-I@PREFIX@/include/gpgme++ ],
[AC_MSG_ERROR([gpgmepp headers not found, install gpgmepp >= 1.14 development package])], [])
- # progress_callback is the only func with plain C linkage
- # checking for it also filters out older, KDE-dependent libgpgmepp versions
-@@ -13764,8 +13770,8 @@ EOF
+ AC_CHECK_HEADER(gpgme.h, [],
+ [AC_MSG_ERROR([gpgme headers not found, install gpgme development package])], [])
+@@ -13739,8 +13744,8 @@ EOF
if test -f /usr/share/ant-core/lib/ant.jar; then
ANT_LIB=/usr/share/ant-core/lib
else
Index: pkgsrc/misc/libreoffice/patches/patch-i18nutil_source_utility_unicode.cxx
diff -u pkgsrc/misc/libreoffice/patches/patch-i18nutil_source_utility_unicode.cxx:1.6 pkgsrc/misc/libreoffice/patches/patch-i18nutil_source_utility_unicode.cxx:1.7
--- pkgsrc/misc/libreoffice/patches/patch-i18nutil_source_utility_unicode.cxx:1.6 Mon Aug 22 13:58:32 2022
+++ pkgsrc/misc/libreoffice/patches/patch-i18nutil_source_utility_unicode.cxx Sun Jan 22 17:56:04 2023
@@ -1,10 +1,10 @@
-$NetBSD: patch-i18nutil_source_utility_unicode.cxx,v 1.6 2022/08/22 13:58:32 ryoon Exp $
+$NetBSD: patch-i18nutil_source_utility_unicode.cxx,v 1.7 2023/01/22 17:56:04 ryoon Exp $
---- i18nutil/source/utility/unicode.cxx.orig 2022-08-10 14:14:32.000000000 +0000
+--- i18nutil/source/utility/unicode.cxx.orig 2022-12-28 10:19:16.000000000 +0000
+++ i18nutil/source/utility/unicode.cxx
-@@ -24,6 +24,7 @@
- #include <i18nutil/unicode.hxx>
+@@ -25,6 +25,7 @@
#include <sal/log.hxx>
+ #include <unicode/uchar.h>
#include <unicode/numfmt.h>
+#include <unicode/regex.h>
#include "unicode_data.h"
Added files:
Index: pkgsrc/misc/libreoffice/patches/patch-unotools_source_i18n_resmgr.cxx
diff -u /dev/null pkgsrc/misc/libreoffice/patches/patch-unotools_source_i18n_resmgr.cxx:1.1
--- /dev/null Sun Jan 22 17:56:04 2023
+++ pkgsrc/misc/libreoffice/patches/patch-unotools_source_i18n_resmgr.cxx Sun Jan 22 17:56:04 2023
@@ -0,0 +1,21 @@
+$NetBSD: patch-unotools_source_i18n_resmgr.cxx,v 1.1 2023/01/22 17:56:04 ryoon Exp $
+
+Fix build with Boost-1.81.0.
+From: https://github.com/LibreOffice/core/commit/23dcd4339428e4080029ec5ae658e75f01e79a62
+
+--- unotools/source/i18n/resmgr.cxx.orig 2022-11-16 17:29:15.000000000 +0000
++++ unotools/source/i18n/resmgr.cxx
+@@ -127,8 +127,13 @@ namespace Translate
+ if (aFind != aCache.end())
+ return aFind->second;
+ boost::locale::generator gen;
++#if BOOST_VERSION < 108100
+ gen.characters(boost::locale::char_facet);
+ gen.categories(boost::locale::message_facet | boost::locale::information_facet);
++#else
++ gen.characters(boost::locale::char_facet_t::char_f);
++ gen.categories(boost::locale::category_t::message | boost::locale::category_t::information);
++#endif
+ #if defined(ANDROID)
+ OString sPath(OString(lo_get_app_data_dir()) + "/program/resource");
+ #else
Index: pkgsrc/misc/libreoffice/patches/patch-vcl_source_window_window2.cxx
diff -u /dev/null pkgsrc/misc/libreoffice/patches/patch-vcl_source_window_window2.cxx:1.1
--- /dev/null Sun Jan 22 17:56:04 2023
+++ pkgsrc/misc/libreoffice/patches/patch-vcl_source_window_window2.cxx Sun Jan 22 17:56:04 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-vcl_source_window_window2.cxx,v 1.1 2023/01/22 17:56:04 ryoon Exp $
+
+* Return value as double, not as int to match fingerprint.
+
+--- vcl/source/window/window2.cxx.orig 2022-12-28 10:19:16.000000000 +0000
++++ vcl/source/window/window2.cxx
+@@ -618,7 +618,7 @@ static double lcl_HandleScrollHelper( Sc
+ }
+
+ // compute how many quantized units to scroll
+- tools::Long magnitude = o3tl::saturating_cast<tools::Long>(abs(nN));
++ tools::Long magnitude = o3tl::saturating_cast<tools::Long>(fabs(nN));
+ tools::Long change = copysign(magnitude, nN);
+
+ nNewPos = nNewPos - change;
Home |
Main Index |
Thread Index |
Old Index