Commit graph

509 commits

Author SHA1 Message Date
Tijl Coosemans
6bc6f3a9e0 - Update security/gnutls to 3.4.10.
- Rename the LIBDANE option DANE because that's the name of the protocol
  supported by libgnutls-dane and gnutls-cli.  Also clarify the option
  description.
- Add an IDN option.
- libgnutls-openssl has been removed in 3.4.  Some ports used this library
  in their LIB_DEPENDS but no port actually required it.
- Some old API functions have been removed.  Ports that used these have been
  updated or patched to use the new API.
- Add a patch to print/cups to prevent overlinking of libgnutls.so.
- Bump PORTREVISION on dependent ports.

net-im/jabber: This port used the old API to give users fine grained
control over which crypto algorithms were used via a configuration file.
It's not immediately obvious how to port this to the new API so the port
always uses the defaults now.

www/hydra: Mark BROKEN.  This uses more removed calls than the other ports,
is said to be alpha quality and not fully functional and has been abandoned
10 years ago.

PR:		207768
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-27 14:57:59 +00:00
Tijl Coosemans
59272d1017 Combine print/cups-base, print/cups-client and print/cups-image into
print/cups and update it to 2.1.3.  Also remove print/cups-pstoraster,
improve print/cups-filters, print/foomatic-* and update print/hplip to
3.16.2.

Long description:

First some background.  When you hand a file to cups it sets up a chain of
filter programs that converts the file to something a printer understands.
Each filter has a cost associated with it and cups tries to find the
cheapest chain.  Costs used to be configured in such a way that files were
first converted to PostScript.  This could then be manipulated further (e.g.
putting multiple pages on one sheet) before finally being sent to a
PostScript printer or another filter like pstoraster which produces a raster
format understood by non-PostScript printer drivers.  Nowadays most filters
have been moved from cups to cups-filters and they have been configured to
use PDF as an intermediate format instead of PostScript.

Merging of cups-base, cups-client and cups-image into print/cups:
- cups-image provides a library to work with the cups raster format.  It is
  only used to implement filters and printer drivers and these only exist
  in the context of a cups server so there's no need to separate this from
  cups-base.
- cups-client provides a library that allows applications to print via cups.
  It is possible to use the library to access a remote cups server without
  running a local cups server, but such a setup is discouraged and the
  configuration file to set this up has been marked deprecated.  It is
  better to run a local cups server and let that talk to the remote cups
  server because then you have the benefits of local job queuing in case the
  remote server is down or busy.  Given this and the fact that without
  filters cups-base is now smaller than it used to be it makes sense to
  merge the ports.  The patch also adds options IPPTOOL, DOCS and NLS which
  when disabled make the new cups package smaller than the current
  cups-client package.  Merging the ports also prevents problems with
  options like ZEROCONF being configured differently in both ports.
- print/cups was a metaport that depended on cups-base and some filters.
  There isn't really a need for such a metaport so cups-base can be renamed
  to cups.  The filters can be depended on by printer drivers such as hplip
  if they need them.

Additional changes to the new print/cups:
- Clean up the patches.  They seem to have been regenerated with post-patch
  changes included.
- Add a patch to prevent intermediate conversion to PDF when a PostScript
  file is sent to a PostScript printer when cups-filters is installed.
- Fix the PAM configuration file.
- Add a patch to let the server search /usr/local/share/ppd like on Linux so
  other ports don't have to add links to it.
- Remove ulpt(4) helper scripts.  The port uses libusb with ugen(4).
- Remove support for mDNSResponder.  cups-filters only supports Avahi.
- Combine ICONS and XDG_OPEN options into an X11 option to support WITHOUT_X11.
- Optionally depend on colord for ICC profile support.
- Various smaller changes.

Changes to print/cups-filters:
- Let the cups_browsed rc.d script depend on cupsd and avahi_daemon instead
  of LOGIN.
- Development of foomatic-filters has been moved to cups-filters so let this
  port install foomatic related files and add foomatic-filters to CONFLICTS.
- Fix location of liblouis tables.
- Add patch to fix ICC support.

Changes to print/cups-pstoraster:
This port is essentially an old version of Ghostscript plus a cups filter.
It's no longer developed.  This commit removes it and changes existing
dependencies to print/cups-filters which depends on print/ghostscript* and
includes a gstoraster filter that can handle both PostScript and PDF.

Changes to print/foomatic-db*:
Remove old MASTER_SITES and dependencies and eliminate PKGNAMEPREFIX.

Changes to print/foomatic-filters:
Install beh backend with its original name again and add cups-filters to
CONFLICTS.

Changes to print/hplip:
- Stop installing hpijs/foomatic-rip support.  This is no longer supported
  upstream.
- Stop installing hpcups PPDs.  These are now automatically generated.  The
  bundled PPDs are generated for an older version of cups.
- Rename the QT option to X11 to support WITHOUT_X11.
- Simplify the patches now that ports are installed in a staging area.
- Add a patch to set SO_REUSEPORT (next to SO_REUSEADDR) on the mDNS socket
  like avahi-daemon does.  This fixes Zeroconf support for HP network
  printers.

PR:		207746
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-11 11:53:42 +00:00
Gerald Pfeifer
d3dc45f8de Update emulators/wine-mono from 0.0.8 to 4.5.6. [1]
Adjust emulators/wine to use this port instead of wine-mono-devel,
which we just upgraded a few hours ago.

Approved by:	dbn (maintainer, pre-approved) [1]
2016-03-08 22:30:30 +00:00
Gerald Pfeifer
3238897fa1 Fix the build with clang 3.8.0 or later which support "native" Windows
varargs builtins.

PR:		206527
Submitted by:	dim
2016-02-11 10:58:05 +00:00
Gerald Pfeifer
2ab8c6cf73 Depend on emulators/wine-gecko instead of emulators/wine-gecko-devel
when option GECKO is set.

Bump PORTREVISION accordingly.

Pet overeager portlint (when it comes to patch format).
2016-02-05 22:28:26 +00:00
Gerald Pfeifer
a97d2069fc Update to Wine 1.8.1 which brings
- various bug fixes;
 - small translation updates.
2016-02-03 22:31:57 +00:00
Gerald Pfeifer
52f7712afd Update from the stable 1.6 releases series of Wine to Wine 1.8 and the
1.8 release series.  This represents 17 months of development and around
13,000 individual changes.

This port now also supports amd64.

It generally syncs with the emulators/wine-devel port (from where we
have been syncing various packaging changes over time), now configures
--without-gettext in addition to --without-gettextpo and still refers
to emulators/wine-gecko-devel and emulators/wine-mono-devel for the
time being, but remains without a dependency on sysutils/prelink.

At a more detailed level, changes include:

== Text and fonts

- DirectWrite is implemented, and works for a number of applications.
  Functionality includes:
  - Font file loading from system or custom font collections.
  - Building font families by combining similar font faces.
  - Font matching algorithm using weight/width/slope model.
  - Basic text layout support.
  - Bi-directional level resolution and line breaks resolution.
  - GDI interoperability API, including rendering to DIB section base target.
  - Rendering to arbitrary target with generic rendering interface.
  - Generating black&white and grayscale alpha bitmaps.
- Bold glyphs can be synthesized for outline fonts.
- Multiple replacements can be specified for a single font by using a
  multi-string entry under HKCU\Software\Wine\Fonts\Replacements.
- Vertical text uses the Unicode data tables for more accurate character
  ranges support.
- Character tables are based on version 8.0.0 of the Unicode Standard.
- The built-in Wingdings font contains more glyphs.
- Unicode bracketing pairs are supported in Uniscribe.
- The RichEdit control uses Uniscribe for more accurate text rendering.

== Graphics

- Direct2D is supported. This includes:
  - DXGI surface and WIC bitmap render targets.
  - Geometries defined by straight lines and cubic Bézier curves.
  - Drawing text.
  - Bitmaps.
  - Solid color brushes and bitmap brushes.
  - Opacity brushes.
- PNG files can be encoded in interlaced mode.
- Gamma information can be loaded from PNG files.
- Animated GIFs are correctly supported in GdiPlus.

== Direct3D

- Direct3D 11 is supported, to about the same level as Direct3D 10.
- Simple applications using Direct3D 10 are supported. There are still
  many unimplemented features. Direct3D 10 requires support for at
  least OpenGL 3.2 and GLSL 1.50. Changes include:
  - Several resource update operations are implemented.
  - Many more shader model 4 opcode are recognized.
  - Constant buffers are supported.
  - The various resource views are implemented.
  - The various state objects are implemented.
  - Stateblocks are implemented.
- A number of new DXGI 1.1 interfaces are implemented. This benefits
  Direct3D 10 and 11 applications.
- Direct3D applications correctly minimize and restore the display
  mode on focus loss.
- Fixed function vertex blending is implemented. This requires GLSL support.
- Per-vertex point sizes are supported. This requires GLSL support.
- The wined3d graphics card database recognizes more graphics cards.
  The graphics card detection code is simplified and improved. More
  reasonable fallbacks are picked for unrecognized graphics cards.
- On drivers that support it, GL_ARB_texture_mirror_clamp_to_edge or
  GL_EXT_texture_mirror_clamp are used to implement the "mirror once"
  texture addressing mode.
- GL_ARB_depth_clamp is no longer required to correctly draw pre-transformed
  vertices with disabled z-buffering. This helps older graphics cards that
  can't correctly implement GL_ARB_depth_clamp.
- On drivers that support it, GL_ARB_blend_func_extended is used to
  implement the D3DBLEND_SRCALPHASAT blend factor.
- On drivers that support it, GL_ARB_sampler_objects is used to apply
  sampler states independently of the texture object they apply
  to. This helps applications that bind the same texture to multiple
  texture stages, but with different sampler states.
- On drivers that support it, GL_EXT_texture_snorm is used to support
  signed (normalized) texture formats. These are typically used for
  bump mapping. Previously these formats required either
  GL_NV_texture_shader, or fixups when loading and using them.
- On drivers that support is, GL_ARB_timer_query is used to support
  Direct3D 9 timestamp queries.
- Texture format restrictions are more strictly enforced. This allows
  applications to fall back to a different format instead of continuing
  with broken rendering.
- Direct3D 9 D3DTSS_CONSTANT texture stage constants are supported.
- Color keyed blits can be done by the graphics card. Previously these
  needed to be done by the CPU.
- NV12 surfaces are supported. This is used by some applications for
  playing back video.
- ATI1N textures and surfaces are supported, in addition to ATI2N
  textures and surfaces. This requires support for
  GL_ARB_texture_compression_rgtc from the OpenGL driver.
- When GLSL is supported, lighting for Direct3D 1-3 is more correct.
  However, for most application the difference will only be very slight.
- The IDirect3DSwapChain9Ex interface is supported.
- OpenGL core contexts, OpenGL ES contexts, and multi-threaded OpenGL
  command submission (known as "CSMT") have been added, however that
  work is not finished yet.

== DirectDraw

- SetCooperativeLevel() works better, affecting DirectDraw exclusive
  mode in particular.
- DirectDraw surface flipping is more correct. This affects applications
  that use more than 1 back buffer in particular.
- DirectDraw palette handling is better supported. This mostly affects
  older applications using 8-bpp display modes (but not exclusively.)
- "Client memory" surfaces are better supported, in particular related
  to the handling of pitch and texture compression.

== Audio and video

- A Pulse Audio driver is implemented. It is selected automatically
  when Pulse Audio is running.
- 5.1 surround sound is supported in DirectSound. Stereo is the
  default, but other speaker configurations can be set through the
  Audio tab in Winecfg.
- XAudio2 is implemented, based on the OpenAL Soft library.
- The OpenAL library defaults to the native version.
- The Video Mixing Renderer version 7 is implemented.
- AVI file encoding and compression is implemented.

== Kernel

- Wine can be configured to report the Windows version as 'Windows
  8.1' and 'Windows 10'.
- Keyed event synchronization objects are implemented.
- The "init once" synchronization mechanism is supported.
- Condition variables are implemented.
- Slim Reader/Writer locks are implemented.
- Activation contexts are used for loading DLLs, type libraries, and
  COM classes, avoiding the need for explicit registration.
- Windows devices support read and write operations in addition to I/O
  controls. They can be remapped directly to existing Unix devices.
- Thread local storage is supported in dynamically loaded libraries.
- Process jobs are implemented.
- The Task Scheduler service is implemented.
- The UTF-7 encoding is supported.
- ATL thunk emulation supports a wider range of possible instructions.
- Process and thread affinity is supported even with a large number of
  processors.
- Dynamic DST (Daylight Saving Time) is supported through the
  registry. Timezone data is updated for a number of timezones.
- USER_SHARED_DATA access is emulated on x86-64 platforms.
- The new thread pool API is supported.
- OpenMP (parallel programming API) is implemented.
- Preliminary support for HID devices is implemented, but it's not
  enabled yet.

== User interface

- There is an optional Start Menu in desktop mode, that can be enabled
  on a per-desktop basis by setting "EnableShell" to "Y" under
  HKCU\Software\Wine\Explorer\Desktops\<name>.
- The standard Open File dialog supports a drop-down menu for file
  manipulations.
- 'My Documents' links to the XDG 'Documents' folder if it exists.
- Many more shell Known Folders are supported.
- Scrollbar theming is implemented. Theming of other controls also
  works better.
- The Toolbar common control can save and restore its state.

== X11 driver

- X Drag & Drop protocol version 5 is supported.
- Flashing a window caption is implemented in the X11 driver using the
  NET_WM_STATE_DEMANDS_ATTENTION style.

== OLE / COM

- OLE Storage files support file locking, and sizes larger than 4 GB.
- Type libraries are registered correctly on 64-bit setups.
- 32-bit type libraries can be loaded from 64-bit programs.
- The OLE data cache supports DIB images.
- The RPC interface to control Windows services is compatible with the
  native version.
- OLE Accessible Objects are implemented for better accessibility support.

== Internet and networking

- The Gecko engine is updated to the version from Firefox 40. Many
  more objects and properties are implemented in MSHTML.
- Internet proxies can be configured automatically.
- RPC over HTTP supports the NTLM and Negotiate authentication
  schemes.
- The Web Services API is partially implemented.
- Download of Gecko and Mono add-ons can be canceled from the
  progress dialog.
- Conditional compilation is supported in JavaScript.
- Arrays, math functions, and exception unwinding are implemented in
  VBScript.
- Remote network shares can be configured using Samba's NetAPI library.
- The Packet Capture DLL is implemented.
- Network interface change notifications are implemented.
- IPv6 DNS addresses are supported in IphlpAPI.
- The Deflate content encoding is supported in Wininet.
- The TransmitFile API is implemented in Windows Sockets.
- The BITS file transfer service is better supported.

== Printing

- Vertical text is supported when printing through the PostScript driver.
- The PostScript driver generates standard glyph names when possible.
- Monochrome printers are better supported, in particular when
  printing color images.
- Collation is supported in the PostScript driver.

== Miscellaneous

- Windows Management Instrumentation (WMI) implements several more
  WBEM system classes.
- Applying installation patches is better supported in MSI.
- Hyperlink controls are supported in installers.
- More recent versions of the C/C++ runtimes are supported, including
  the new UCRTBASE library. The old MSVCIRT C++ runtime is also
  partially implemented.
- Version 9, 10, and 11 of ATL (Active Template Library) are
  implemented.
- The Windows Scripting Runtime supports many more classes, including
  file and folder collections and dictionaries.
- Writing XML files is implemented.
- The Invariant locale is supported.

== Built-in applications

- The 'taskmgr' application displays whether processes are running
  under WoW64.
- The 'regedit' tool better supports import/export of registry files.
- The 'wineconsole' tool supports configuring the insert/overwrite
  mode in the settings dialog.

== Known issues

- Since the support for OpenGL core contexts in WineD3D is not
  complete enough yet, Direct3D 10 and 11 need to be supported in a
  legacy context / the compatibility profile, which means that they
  currently don't work on Mesa.
- Setting the PULSE_LATENCY_MSEC variable was sometimes necessary with
  the Alsa audio driver, but it can cause trouble with the Pulse
  driver. It is recommended to unset the variable.
2016-01-05 07:22:13 +00:00
Antoine Brodin
6e5719ca80 Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
Gerald Pfeifer
b06b006bb3 Rename emulators/wine-compholio to emulators/wine-staging and
accordingly emulators/i386-wine-compholio to emulators/i386-wine-staging.

Adjust CONFLICTS across all Wine related ports.

Reviewed by:	dbn, kmoore
2015-05-24 02:10:18 +00:00
David Naylor
09f6ce160d emulators/i386-wine(-devel|-compholio): add BUNDLE_LIBS.
The i386-wine ports bundle their own (32-bit) libraries that cause pkg-1.5
issues.  Since these libraries are under lib32 it does not cause issues
with other software.

Bump PORTREVISION [1] for the 32-bit side of the ports.  The 64-bit side of
the ports will be bumped when new packages have been prepared.

Approved by:	gerald@ [1]
Reported by:	bapt@
2015-04-19 12:37:10 +00:00
Gerald Pfeifer
5720015cfb Add optional support for V4L (off by default).
With this, the wine and wine-devel ports are in sync as much as
possible.
2015-01-10 09:27:53 +00:00
David Naylor
145b805ccb Backport changes from emulators/i386-wine-devel to emulators/i386-wine.
Changes:
 - Fix install conflicts [1] (for the "newly" added compholio port)
 - nvidia.sh: Gracefully handle a corrupt nVidia tarball
 - nvidia.sh: Provide checksum and size information for nVidia tarball
 - Reduce diff between i386-wine and i386-wine-devel:
   - Add support for sub-ports (unused by this port)
   - Properly detect linked (and dlopen) libraries
   - binbounce: Properly set LD_(32_)?LIBRARY_PATH_RPATH variables
   - nvidia.sh: Add detection for i386-wine-compholio
 - Bump master port [1] due to changes to binbounce, nvidia.sh and shared
   library handling.

Approved by:    gerald@ [1]
2014-12-26 18:52:16 +00:00
Gerald Pfeifer
547ee09875 Replay revision r375594 (change libpng15.so to libpng.so in LIB_DEPENDS
to prepare the upgrade of graphics/png).
2014-12-26 14:32:46 +00:00
Gerald Pfeifer
fc49dddecd Sync a number of changes from emulators/wine-devel:
Introduce a new option X11, on by default.  On the way add --with-x,
--with-cms, --with-freetype, --with-jpeg, --with-png and --with-xrender
to CONFIGURE_ARGS that had been missing before.

Always configure --without-gettextpo and --without-osmesa. [1]

No long configure with bogus --without-xcomposite (since we have
had USE_XORG=xcomposite for a while).

Add tools/make_requests to SHEBANG_FILES. [1]

No longer use XORG=xpm.  This has been removed with upstream commit
18e4b5e293cdbb83197fd1427cdd4e42314c831b eons ago. [1]

Sort DOCS alphabetically in OPTIONS_DEFINE.

PR:		195765 [1]
Submitted by:	Andriy Voskoboinyk <s3erios@gmail.com> [1]
2014-12-26 05:24:30 +00:00
Baptiste Daroussin
bb21093773 Bump portrevision after png update 2014-12-25 20:54:41 +00:00
Antoine Brodin
7ae46e9b12 Change libpng15.so to libpng.so in LIB_DEPENDS to prepare the upgrade 2014-12-25 19:04:25 +00:00
Gerald Pfeifer
607f941566 Fix pkg-plist when the MPG123 option is set.
Add USES=desktop-file-utils as suggested by stage-qa.

PR:		195903
Submitted by:	amdmi3
2014-12-20 07:48:08 +00:00
Alex Kozlov
a83ee3c7eb - Remove obsolete comments
- Make failure to create DOCSDIR fatal
- Include bsd.port.mk instead of pre/post.mk in emulators/wine

Approved by:	gerald (maintainer)
2014-11-30 19:56:02 +00:00
Gerald Pfeifer
7e9c41cb86 Merge back several changes and improvements from wine-devel:
- Add new option MPG123 (off by default).
 - Move OPTIONS_SUB and several other statements related to options
   (..._CONFIGURE_WITH, ..._USES); no functional change.
 - Sort the sections for the GECKO and MONO options alphabetically.
 - Remove obsolete check for versions of FreeBSD older than 8.0.
 - Un-mute all invocations of ${INSTALL_DATA}.
2014-11-09 23:55:32 +00:00
Baptiste Daroussin
7a81cc2bcf Clean up plist 2014-10-27 12:24:22 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Adam Weinberger
bbc8c4d740 Convert a bunch of USE_BZIP2 to USES=tar:bzip2
Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 18:41:15 +00:00
Tijl Coosemans
37f54e0f66 net/openldap24-*:
- Convert to USES=libtool and bump dependent ports
- Avoid USE_AUTOTOOLS
- Don't use PTHREAD_LIBS
- Use MAKE_CMD

databases/glom:
- Drop :keepla
- Add INSTALL_TARGET=install-strip

databases/libgda4* databases/libgda5*:
- Convert to USES=libtool and bump dependent ports
- USES=tar:xz
- Use INSTALL_TARGET=install-strip
- Use @sample

databases/libgdamm:
- Drop :keepla
- USES=tar:bzip2
- Use INSTALL_TARGET=install-strip

databases/libgdamm5:
- Add INSTALL_TARGET=install-strip
- Drop --enable-static (inherited from old repocopy)

devel/anjuta x11-toolkits/py-gnome-extras:
- Drop :keepla

dns/powerdns dns/powerdns-devel:
- Convert to USES=libtool
- Add INSTALL_TARGET=install-strip
- Disable static modules
- Stop creating library symlinks with .0 suffix, not needed for dynamically
  opened modules

mail/dovecot2:
- Add USES=libtool

mail/dovecot2-pigeonhole:
- Drop CONFIGURE_TARGET (incorrect for Dragonfly)
- Add USES=libtool and INSTALL_TARGET=install-strip

math/gnumeric:
- USES=libtool tar:xz

Approved by:	portmgr (implicit, bump unstaged ports)
2014-07-24 18:34:16 +00:00
Tijl Coosemans
3ab1b8443e - Replace security/gnutls with security/gnutls3 and update to 3.2.15
- Bump PORTREVISION on all ports that depend on security/gnutls and
  adjust all ports that depend on security/gnutls3
- Update mail/anubis to version 4.2 which supports gnutls 3.x
- Update mail/libvmime to a development snapshot (recommended by upstream
  developers)

PR:		191274
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-07-23 09:54:02 +00:00
Adam Weinberger
458634284f Remove NOPORTDOCS, and convert some stuff to OPTIONS helpers. 2014-07-03 22:10:07 +00:00
Baptiste Daroussin
a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00
Gerald Pfeifer
bc82d04a7b Build with a dependency on the X composite extension.
PR:		188831
Analyzed by:	Denver Hull <denverh@comcast.net>
2014-04-30 21:49:00 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
David Naylor
d0f148658c Update emulators/wine 1.6.2.
ChangeLog:
 - Color management support updated to liblcms version 2.
 - Various bug fixes.

Changes:
 - Remove freetype patch, merged upstream.

Approved by:	gerald (maintainer, implicit)
2014-01-18 10:04:07 +00:00
David Naylor
248ad65303 Add missing components to patch-freetype of emulators/wine.
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)
2014-01-03 08:22:36 +00:00
David Naylor
b425aac732 Fix build for emulators/wine.
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)
2014-01-02 10:29:23 +00:00
Antoine Brodin
1df9d247be Convert the tree to USES=openal
Approved by:	portmgr (bapt)
2013-12-25 23:29:34 +00:00
David Naylor
f4fa763b69 Update emulators/i386-wine to 1.6.1.
Changes:
 * Backport changes from emulators/i386-wine-devel
 * Fix CONFLICTS_INSTALL [1]

Approved by:	gerald [1]
2013-12-02 16:49:37 +00:00
Gerald Pfeifer
cae89c24aa Replace USE_GCC by USES=compiler:c11. [1]
Process two scripts installed with USES=shebangfix. [2]

Wine 1.6 actually depends on lcms, not lcms2. [3]

Suggested by:	dbn [1]
Reported by:	dbn [2], fiziologus@gmail.com [3]
2013-11-26 14:19:50 +00:00
Gerald Pfeifer
bca36f6bef Update to Wine 1.6.1 which brings various bug fixes and translation
updates.
2013-11-16 04:31:33 +00:00
Gerald Pfeifer
8c60958836 Update to Wine 1.6 which represents 16 months of development effort and
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]
2013-11-01 23:32:10 +00:00
Dmitry Marakasov
a2105d9f79 - Remove manual creation and removal of share/applications, as it's now in the mtree (categories starting with [bce])
Approved by:	portmgr (bdrewery)
2013-10-22 13:57:35 +00:00
Baptiste Daroussin
1089da7dcc Add NO_STAGE all over the place in preparation for the staging support (cat: emulators) 2013-09-20 16:43:52 +00:00
David Naylor
0c322f344e Backport changes from emulators/wine-devel and add CONFLICTS_INSTALL.
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)
2013-08-11 18:13:10 +00:00
Baptiste Daroussin
9250d94365 Convert USE_BISON to USES= bison
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
2013-03-08 11:32:11 +00:00
Roman Bogorodskiy
91e365d630 - Add UPDATING entry for gnutls update
- Chase shlib version bump for dependant ports
2013-02-05 16:17:06 +00:00
Gerald Pfeifer
a03d9efe64 Fix typo and thereby really enable the GNUTLS options. [1]
Remove now deprecated comments at the top of Makefile.

PR:		171146 [1]
Submitted by:	"Mikhail T." <m.tsatsenko@gmail.com> [1]
2012-09-01 13:41:08 +00:00
Gerald Pfeifer
ba22537b15 Adapt to the new options framework.
Remove ABI version numbers for all library dependencies.

Use --with-fontconfig during configuration, since we already
have fontconfig as a dependency.
2012-08-05 15:42:52 +00:00
Gerald Pfeifer
ac202d1226 Unconditionally prevent the detection of libinotify which currently
fails the build on FreeBSD.

PR:		168617
Reported by:	Barbara <barbara.xxx1975@libero.it>
2012-07-03 21:50:29 +00:00
Gerald Pfeifer
a6e3173752 Update to the stable Wine 1.4.1 release. This includes
- Translation updates.
 - Various bug fixes.
2012-06-16 05:28:30 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Gerald Pfeifer
bc88c65477 Add configuration for PORTSCOUT to disambiguate the wine and
wine-devel ports.

Discussed with:	shaun, miwi
2012-05-13 19:12:16 +00:00
Gerald Pfeifer
4e4cc2295b Add a CONFLICT with the new emulators/wine-devel port and adjust
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
2012-04-07 12:38:29 +00:00
Gerald Pfeifer
6d5bb1951d Update to Wine 1.4, the real release. The list of changes
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.
2012-03-07 21:38:05 +00:00
Gerald Pfeifer
dfd07fd791 Update to Wine 1.4 RC6. Among others, this now reliably detects
CPU speed on FreeBSD by reading the hw.clockrate sysctl instead of
one that is not always present.
2012-03-02 20:47:05 +00:00