The patch was missing some changes made to dlls/gdi32/freetype.c.
Since the previous patch compiles and that this patch changes what code gets
compiled a PORTREVISION is required.
Base this patch on upstream commit 67f9b6e3 which simplifies some of the
changes to configure.
Approved by: gerald (maintainer, implicit)
With the recent change to print/freetype2 that introduces a new build
system building for emulators/wine broke. This break is fixed by back-
porting the changes (made upstream) to emulators/wine-devel to support the
new build system for print/freetype2.
Reported by: pkg-fallout
Approved by: gerald (maintainer, implicit)
some 10,000 individual changes (see below). [1]
STAGEify, follow the new LIB_DEPENDS standard, replace USE_GMAKE by USES.
== User interface
- Window transparency is supported, including both color keying and
alpha blending transparency.
- All window rendering is done on the client-side using the DIB engine
(except for OpenGL rendering). This means that rendering to windows
or bitmaps gives identical results.
- Common dialogs correctly scale with the screen DPI resolution.
- In virtual desktop mode, shortcuts placed in the Desktop folder are
displayed on the desktop, and can be used to launch applications.
- The HTML Help control has better support for non-ASCII characters,
and for multiple help windows.
- Custom painting and images are better supported in listview
controls.
- Input validation is improved in the date and calendar controls.
== X11 driver
- X11 server-side font rendering is no longer supported. All fonts are
rendered client-side using FreeType.
- The big lock around all X11 calls has been removed, we rely on the X
libraries internal locking for thread safety.
- XRandR versions 1.2 and 1.3 are supported.
== Graphics
- There are significant performance improvements in the DIB engine,
particularly for text rendering, bitmap stretching, alpha blending,
and gradients.
- Bounds tracking is supported for all graphics primitives, to enable
copying only the modified portions of a bitmap.
- OpenGL rendering is supported in device-independent bitmaps using libOSMesa.
- Brush dithering is implemented in the DIB engine.
- Path gradients are implemented in GdiPlus.
- More image codecs features are implemented, including JPEG encoding,
palette formats, and meta-data support for various image types.
== Text and fonts
- Sub-pixel font anti-aliasing is supported in the DIB engine, using
the system anti-aliasing configuration from FontConfig.
- Dynamic loading of scalable font resources is supported.
- Text layout in Uniscribe supports character-specific position
adjustments. Right-to-left text handling is also improved.
- There is an initial implementation of the DirectWrite text layout
engine.
- Built-in fonts are more complete, with the addition of FixedSys and
Wingdings fonts, more high-resolution pixel fonts, and a wider range
of glyphs in the existing fonts, notably Arabic glyphs in Tahoma.
- Bi-directional text support is improved in the RichEdit control.
== Input devices
- The raw input API is supported for keyboard and mouse input.
- There is a joystick applet in the control panel, to allow
configuring joysticks and testing their behavior.
== Kernel
- DOSBox is tried first when running a DOS application. The Wine DOS
support is only used as a fallback when DOSBox cannot be found, and
will be removed in a future release.
- A monotonic time counter is used on platforms that support it, to
make timers more robust against system time changes.
- File times are reported with nanosecond resolution.
- Wine can be configured to report the Windows version as 'Windows 8'.
== OLE / COM
- The typelib writer is reimplemented for better compatibility.
- OLE DB supports more data types and conversions.
- OLE automation manages a cache of string allocations for better
performance and compatibility.
== Internet and networking
- HTTPS connections use GnuTLS. OpenSSL is no longer used.
- The TLS 1.1 and TLS 1.2 protocols are enabled by default, with
automatic fallback to TLS 1.0. The SSL2 protocol is disabled by
default.
- Security certificate validation errors are handled better.
- NTLM and Negotiate authentication protocols are supported.
- ActiveX controls can be downloaded and installed automatically.
- Internet proxy bypass is supported, and can be enabled either
through the registry or with the no_proxy environment variable.
- Broadcast packets can be received on interface-bound sockets, which
is needed for some networked multi-player games.
- The Server Name Indication TLS extension is supported.
- Persistent cookies are supported, and URL cache files are managed
better. The Internet control panel allows clearing saved cookies and
cache files.
- Punycode encoding for Internationalized Domain Names is supported.
- JavaScript performance is improved. The built-in JavaScript engine
is preferred over the Gecko one in most cases.
- Many more built-in functions of VBScript are implemented. Regular
expressions are also supported.
== Direct3D
- The Direct3D 9Ex implementation is more complete. In particular:
- IDirect3DDevice9Ex::PresentEx is implemented.
- IDirect3DDevice9Ex::ResetEx is implemented.
- Various Direct3D 9Ex display mode handling functions are implemented.
- Direct3D 9Ex style video memory accounting is implemented.
- Like the X11 driver, WineD3D no longer uses the big X11 lock when
making GL calls.
- The WineD3D graphics card database is updated to recognize more
graphics cards.
- The fallback card detection code for unrecognized graphics cards is
improved. This results in a more reasonable card being reported when
the graphics card is not already in the WineD3D database.
- WineD3D has GLSL based implementations of Direct3D fixed-function
vertex and fragment processing. In some cases this allows
functionality that's not present in fixed-function OpenGL to be
implemented, in other cases it allows functionality to be
implemented in a more efficient way.
- On drivers that support it, GL_ARB_debug_output is used to get more
detailed debugging output from the OpenGL driver.
- On drivers that support it, GL_ARB_framebuffer_sRGB is used for
rendering to frame buffers in the sRGB color space.
- On drivers that support it, GL_ARB_instanced_arrays is used for more
efficient instanced drawing.
- On drivers that support it, and return useful information,
GL_ARB_internalformat_query2 is used for more accurate reporting of
surface / texture format capabilities.
- There is an initial implementation of a HLSL compiler.
- Improvements to various parts of the D3DX9 implementation, including:
- The surface and texture handling functions. This includes code for
loading, saving, filling, and rendering to surfaces and textures.
- The effects framework.
- The constant table implementation.
- A number of spherical harmonics functions have been implemented.
- Support for .x files.
- Improvements to the Direct3D 10 implementation, including:
- Support for more shader model 4 opcodes and register types.
- Support for shader model 4 indirect addressing.
- Initial geometry shader support.
- Improved binary effect parsing.
- Support for Direct3D 10 style instanced draws, using
GL_ARB_draw_instanced.
== DirectDraw
- Vertex buffers are created with WINED3DUSAGE_DYNAMIC when locked with
DDLOCK_DISCARDCONTENTS, resulting in improved performance in some cases.
- The 2D-only fallback in WineD3D for using DirectDraw without a
working OpenGL implementation is more robust. Note that this still
isn't a recommended configuration.
== Audio and video
- DirectSound has a better resampler.
- Audio device enumeration is improved, and multi-channel devices are
better supported.
- VMR-9 video rendering is implemented.
== Printer support
- The PPD files of already installed printers are automatically
refreshed when needed.
- Printing resolution can be configured from the print dialog.
- Simulated italic fonts can be printed.
== Internationalization
- Japanese vertical text is correctly supported.
- Translated font names are used when there is a match for the current
language.
== Built-in applications
- The new 'netstat' application displays information about active
network connections.
- The 'cabarc' application supports multi-cabinet archives.
- The 'attrib' application supports recursing in sub-directories.
- The 'ipconfig' application can display IPv6 addresses.
- The 'start' application allows setting process priority and affinity.
- The 'cmd' application support arithmetic variable expansion,
comparison operators, and various extra features in 'for' loops.
- The Winedump tool can display the contents of typelib files.
- The Fnt2bdf tool has been removed since X11 server-side fonts are no
longer used.
== Miscellaneous
- XML namespaces are better supported. XML parsing is also implemented
in the XMLLite library.
- Windows Management Instrumentation (WMI) is implemented, with a wide
range of WBEM system classes.
- A number of forwarding libraries are added to support the API Sets
feature added in Windows 8.
- More of the latest functions of the C runtime are implemented,
particularly the locale functions. Exception handling and RTTI are
supported on 64-bit.
- The standard C++ class libraries are more complete, particularly the
math functions and the stream classes.
PR: 182099 [1]
The backported changes allow the i386-wine(-devel) ports to install wine
in such a manor that it can run on FreeBSD/amd64.
The CONFLICTS_INSTALL conflict with the i386-wine packages and the correct
stable/devel packages (including the upcoming stable wine).
Approved by: gerald@ (implicit)
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build
it brings bison as a run dependency in case it is set the following way:
USES= bison:run
it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both
While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
the COMMENT along what we did there, to make it easier to understand.
Explicitly configure --without-dbus --without-opencl to make builds
deterministic and reproducible.
Feature safe: yes
since the 1.3.x release series is huge and nicely summarized at
http://www.winehq.org/announce/1.4 in addition to the individual
changes listed for the previous versions of this port.
- Improved crash dialog with support for saving the backtrace.
- Support for the Back button in built-in Internet Explorer.
- Keyboard accelerators can now be translated through po files.
- A number of installer fixes.
- Many translation updates and tweaks.
- Various bug fixes.
- Completion of the DIB engine.
- Improvements to the C++ runtime.
- A number of fixes in the audio drivers.
- Unnecessary Direct3D options removed from WineCfg.
- Some fixes to the built-in Internet Explorer.
- Various bug fixes.
- UDisks backend for the dynamic device support.
- Polygons and geometric pens implemented in the DIB engine.
- JScript now compiles entire functions.
- Improved support for vertical fonts.
- A few more scripts in UniScribe.
- A bunch of ctype functions implemented in MSVCP.
- Various bug fixes.
- Triangular gradients and cosmetic wide pens support in the DIB engine.
- All Wine dialogs can now be translated through po files.
- Many more scripts added to UniScribe.
- JScript using bytecode throughout now.
- Several MSXML improvements.
- Various bug fixes.
- Bytecode support in JavaScript.
- Support for gradients in the DIB engine.
- A number of Uniscribe improvements.
- Fixes for DirectDraw mode switching.
- A few more MSVC runtime functions.
- Various bug fixes.
Feature safe: yes
- Support for text output in the DIB engine.
- Improved support for HTTP proxies.
- New version of the Gecko engine.
- A number of cursor fixes.
- Some fixes in bidirectional text layout.
- Various bug fixes.
Explicitly di$sable TIFF support, configuring --without-tiff, after
we have not had this as a package dependency all the time anyway.
Feature safe: yes
- BiDi text support in the multi-line edit control.
- Support for pattern brushes in the DIB engine.
- A number of MSXML fixes.
- Improvements to the PostScript driver.
- Various bug fixes.
- BiDi text support in the single-line edit control.
- Support for StretchDIBits and AlphaBlend in the DIB engine.
- A number of audio fixes.
- VBScript improvements.
- Various bug fixes.
- DirectSound reimplemented on top of MMDevAPI.
- Support for StretchBlt in the DIB engine.
- User interface improvements in HTML help.
- Some MSXML fixes.
- Performance improvements in cmd.
- Various bug fixes.
- Extensive support for VBScript.
- Various improvements to the calendar common control.
- A number of XRender fixes and optimizations.
- Several new functions in the MSVCP runtime.
- A number of audio fixes.
- DirectDraw cleanups.
- Various bug fixes.
- Initial version of the VBScript parser.
- Automagic audio driver selection.
- Support for volume information on UDF file systems.
- The OpenGL renderer is now the default for DirectDraw.
- Device configuration dialog in DirectInput.
- SetDIBitsToDevice support in the DIB engine.
- Several improvements in the cmd parser.
- Various bug fixes.
- Support for multisampling in Direct3D.
- New version of the Gecko engine.
- Improvements to the network proxy handling.
- Better write support in MSXML.
- Side-by-side manifests for built-in libraries.
- Various bug fixes.
Explicitly disable gstreamer support, thus avoiding automatic
detection and incorrect package lists in case. [1]
PR: 159749 [1]
Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com> [1]
Use PORTDATA which allows simplifying pkg-plist significantly. [1][2]
Explicitly disable ALSA support. [2]
Add to PLIST_SUB instead of just setting it (for the OPENAL knob). [1]
Bump PORTREVISION due to the potentially fixed package list.
PR: 159749
Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com> [1]
Inspired by: Anatoly Borodin <anatoly.borodin@gmail.com> [2]
- Various improvements to the builtin Internet Explorer.
- Support for Get/SetDIBits in the DIB engine.
- Support for enhanced metafiles in the View tool.
- Many improvements in WinHTTP.
- A number of fixes to the COM stubless marshaller.
- Improved mechanism for DLL registrations.
- Various bug fixes.
- Rewrite of the audio support, using the Win7 architecture.
- Old-style sound drivers for Jack, NAS and ESD are removed.
- Graphics driver architecture changes for the DIB engine.
- Improved handling of the shell recycle bin.
- Better joystick support in DirectInput.
- Initial stub for VBScript support.
- Various bug fixes.
- Various DirectInput improvements.
- Support for line breaking in Uniscribe.
- More UI elements in builtin Shell Explorer.
- Some more D3DX9 functions.
- Improved support for shell known folders.
- Various bug fixes.
- Support for stubless COM proxies on x86-64.
- Builtin dxdiag now outputs real information.
- Monochrome bitmap format in the DIB engine.
- Beginnings of a true shell Explorer builtin.
- A number of new D3DX9 functions.
- More support for Indic text shaping.
- Various bug fixes.
Also fix pkg-plist with respect to the USE_OPENAL option.
Remove an obsolete (pre FreeBSD 7.x) post-patch target. [1]
PR: 158406
Submitted by: David Naylor <naylor.b.david@gmail.com>
Reported by: Alex Kozlov <spam@rm-rf.kiev.ua> [1]
- Support for Indic text shaping.
- Generation of stubless code in the IDL compiler.
- Support for X files in D3DX.
- 4- and 24-bit bitmap formats in the DIB engine.
- Listview performance improvements.
- Various bug fixes.
No longer set the GNU configure datadir based on our DATADIR. This
should enable this port and emulators/wine-gecko to nicely fit together.
- Support for installation rollbacks in MSI.
- 8- and 16-bit bitmap formats in the DIB engine.
- Fixes in the XInput2 mouse support.
- Better support for text shaping in Uniscribe.
- Improvements to the Item common dialog.
- More MSVC runtime functions.
- Various bug fixes.
Also force building with OSS support and, look Ma!, no more extra
patches for that.