diff options
author | ryoon <ryoon@pkgsrc.org> | 2019-03-01 23:51:48 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2019-03-01 23:51:48 +0000 |
commit | 1e3f6a4c6388794bdc594a4cc10bba0da6524110 (patch) | |
tree | ec22de46b6001418d7f7c08af059871514093be2 /multimedia | |
parent | dbdfbad9bd1495eacb9cc110010a183abe510157 (diff) | |
download | pkgsrc-1e3f6a4c6388794bdc594a4cc10bba0da6524110.tar.gz |
Update to 1.2.2
Changelog:
HandBrake 1.2.2
Mac
Fixed built-in application updater.
Windows
Fix crash on first launch for new installs, or older installs without settings.json
Fix an issue where the summary tab wasn't always up-to-date
## HandBrake 1.2.1
### All platforms
#### General
- Fixed potential crashes due to use of uninitialized variables
- Improved minimum duration to only apply to DVD and BD sources
- Miscellaneous bug fixes and improvements
#### Video
- Fixed incorrect video rotation where rotation is explicitly flagged as none
- Fixed yadif deinterlace filter not properly deinterlacing all frames
- Fixed missing frame at the end of encodes from m2ts sources
- Fixed detection of MPEG-1 video in program streams by improving probing of unknown streams
- Fixed decoding of MPEG-1 video in DVD sources
- Fixed Apple VideoToolbox encoding issues related to pyramidal B-frames
- Fixed lapsharp filter corrupting frame edges
- Improved NLMeans performance by reducing number of threads used with CPUs with high logical core counts
- Improved AMD VCE encoding to enable placing key frames at chapter markers
- Improved calculation of final frame duration
- Improved support for BT.2020 color space
#### Audio
- Fixed channel mapping for AAC 5.1 encoding (signal 5.1 Back instead of 5.1 Side which is less compatible)
#### Command line interface
- Fixed selection of encoders applied to tracks selected with `--all-audio`
- Fixed audio settings where more are specified than exist in the preset
- Fixed overriding audio bit rate set by the preset
#### Build system
- Fixed libvpx cross compilation with GCC 8 by disabling AVX-512
- Fixed x265 cross compilation with GCC 8
- Updated to mingw-w64-build 4.1.1 with improvements to error reporting and support for sha256sum on systems without shasum
- Miscellaneous bug fixes and improvements
#### Third-party libraries
- Updated libraries
- libmfx (upstream API 1.27)
### Linux
- Fixed Flatpak icon validation by reducing resolution to pass new restrictions
- Fixed Flatpak accessing gvfs mounted filesystems by adding an additional access permission
- Fixed display of special characters in preset names
- Fixed exporting presets to sanitize system reserved characters
- Miscellaneous bug fixes and improvements
### Mac
- Fixed incorrect file extension when selecting a preset
- Fixed potential user interface hang on macOS 10.12 Sierra
- Fixed potential issue caused by setting work state to done before all threads have closed
- Improved usability of preview controls overlay by increasing its size
- Miscellaneous bug fixes and improvements
### Windows
- Fixed application uninstaller sometimes appearing behind the installer
- Fixed potential crash when loading settings from older HandBrake versions
- Fixed official presets not updating when a newer HandBrake version is installed
- Fixed maximum resolution limit when selecting a preset (source or preset, whichever is smaller)
- Fixed crop and anamorphic settings not being restored when editing a queued job
- Fixed audio and subtitle selection behaviour where any language + first track are selected
- Restored options control on the queue window previously removed in HandBrake 1.2.0
- Improved user interface on displays close to the minimum recommended resolution
- Improved quality of text rendering on the installer for high density displays
- Improved ordering of presets and preset categories
- Improved QSV compatibility with newer Intel drivers by updating libmfx
- Improved relaunch stability by falling back to software only mode after hardware encoder initialization failure
- Improved removal of small temporary files that could be left behind in certain cases
- Miscellaneous bug fixes and improvements
## HandBrake 1.2.0
### All platforms
#### General
- Switched core decoding library from Libav to FFmpeg
- Fixes numerous sources previously unreadable or otherwise broken
- Facilitates a number of the improvements and features in this release and planned for the future
- Removed deprecated Legacy presets
- See the [list of compatible replacements on GitHub](https://github.com/HandBrake/HandBrake-docs/blob/efb51cc2cd7d0c30fa5e9ee88366233ca34757a4/source/docs/en/latest/technical/official-presets.markdown#legacy-010x-presets)
- Updated official presets to use stereo instead of DPL2 mixdown
- Avoids potential spatial positioning issues with the current DPL2 algorithm and wide pans in source material
- Limited in impact since DPL2 decoding has not been in widespread use for years
- Updated official presets descriptions to revise compatibility and mention recently released devices
- Updated official presets to rename Fire TV to Amazon Fire
- Added Amazon Fire 720p30 and Chromecast 1080p60 presets
- Added `{creation-date}` and `{creation-time}` to automatic file naming
#### Video
- Fixed an issue decoding Blu-ray titles where the aspect ratio is unknown (assume 16:9)
- Fixed an issue encoding video with very short frame durations (less than 0.00285s or greater than 350 FPS)
- Improved extradata handling to accommodate all codecs
- Added support for decoding TIFF/LZMA video
#### Audio
- Fixed potential decoding issue for audio lacking an explicit channel layout (intelligently guess the layout)
- Fixed a potential crash during audio probe
- Improved resampling to allow dithering for all codecs (only where necessary)
- Improved quality of the default AAC encoder on non-Mac platforms (FFmpeg AAC), no longer experimental
- Improved bit rate constraints to allow Opus as low as 6 kbit/s per channel
- Added support for up to 7.1 channel AAC encoding (note that FDK AAC/HE-AAC do not support 6.1)
- Added support for E-AC3 audio in MP4 container
- Added Speex audio decoder
#### Subtitles
- Fixed a potential crash where an SRT file cannot be opened
- Added support for SRT files using periods instead of commas to delineate fractions
#### Command line interface
- Fixed inability to override preset subtitles burn setting (`native` and `none` are now valid values for `--subtitle-burned`)
#### Build system
- Fixed Linux packaging with an out-of-tree build directory
- Fixed Windows graphical interface build script signing tool location
- Removed `--enable-local-*` and associated contrib libraries; please see the [documentation](https://handbrake.fr/docs/) for dependencies help
- Updated to mingw-w64-build 4.1.0 with gcc 7.3.0, continuous output (keep alive), and miscellaneous improvements
- Improved support for building with Xcode 10
- Improved support for building on FreeBSD 11, 12, and 13
- Improved Flatpak packaging for Linux (numerous fixes and improvements, no longer experimental)
- Improved `configure.py` to always use the Python executable found by `configure`
- Added script for creating Flatpak manifests
- Added support for selecting a compiler via the CC environment variable
- Miscellaneous bug fixes and improvements
#### Third-party libraries
- Removed libraries
- Libav 12.3 (decoding and filters)
- yasm 1.3.0
- Updated libraries
- libopus 1.3 (Opus audio encoding)
- x264 157 r2935 (H.264/AVC video encoding)
- x265 2.9 (H.265/HEVC video encoding)
- New libraries
- FFmpeg 4.1 (decoding and filters)
- liblzma (xz) 5.2.4 (LZMA video decoding, e.g. TIFF)
- libspeex 1.2.0 (Speex audio decoding)
### Linux
- Fixed Blu-ray title name being set to device name (e.g. sr0) when scanning raw devices
- Fixed Blu-ray default destination file names to no longer include MPLS number
- Fixed an issue with queue state not being updated properly on reload
- Fixed various issues importing presets
- Updated most translations
- Added initial support for GTK 4
- Added ability to customize activity window font size and increased default from 7 to 8
- Added destination overwrite protection (append number to file name on conflict)
- Added `{source-path}` to automatic path setting
- Miscellaneous bug fixes and improvements
### Mac
- HandBrake now requires OS X 10.10 Yosemite or later
- Removed preferences option to show the advanced tab (deprecated and slated for removal)
- Fixed minor display issues on macOS 10.14 Mojave
- Fixed queue toolbar icon not updating
- Removed Growl in favor of native system notifications
- Updated Sparkle automatic update library
- Improved handling of invalid presets
- Improved layout to better support localization
- Improved preview border alignment on high density displays
- Improved automatic naming to avoid updating when unrelated settings change
- Improved criteria for showing destination overwrite warnings
- Improved stop encoding confirmation dialog
- Improved notifications to no longer play sounds when alerts are disabled
- Added initial localization support and German translation
- Added initial support for VideoToolbox hardware-accelerated encoding
- Added support for Dark Mode on macOS 10.14 Mojave (new Dark Mode toolbar icons require building with Xcode 10 on Mojave)
- Added Touch Bar support to various windows and dialogs
- Added Finder progress bar to files currently encoding
- Added Show Source in Finder to queue contextual menu (renamed Show in Finder to Show Destination in Finder)
- Added validation for custom filter parameters
- Miscellaneous bug fixes and improvements
### Windows
- HandBrake now requires .NET Framework 4.7.1 or later (installer offers download if missing)
- Fixed mixdown selection where the specified mixdown in the selected preset is not available
- Fixed audio sample rate of 48 kHz being selected where Auto was the specified behavior
- Removed preferences option to show the advanced tab (deprecated and slated for removal)
- Removed options menu from queue in favor of contextual menu
- Improved layout to better support localization
- Improved error handling when adding items to the queue
- Improved multi-instance queue recovery to avoid loading queue files from the wrong instance
- Improved filters layout and controls
- Improved video quality slider by allowing it to grow with window size and setting x264/x265 granularity to 0.5
- Improved SRT import default browse location (open source video location)
- Improved keyboard shortcuts by making Ctrl-S open the destination save dialog (start encode is now Ctrl-E)
- Added additional keyboard shortcuts for various actions
- Added initial localization support and German translation
- Added support for AMD VCE and Nvidia NVENC hardware-accelerated encoders
- Added automatic queue archiving and option to select an archived queue for recovery (archives are removed after 7 days)
- Added support for recovering specific queue files on start using `--recover-queue-ids=<id1,id2,...>`
- Added additional controls to passthru audio tracks to configure audio fallback parameters
- Added ability to drag and drop SRT subtitles files onto the main window
- Added option to disable preview image on summary tab
- Added option to disable checking for update on start in portable mode
- Added stop encoding confirmation dialog
- Miscellaneous bug fixes and improvements
## HandBrake 1.1.2
### All platforms
#### General
- Fixed Blu-ray title name where reading from raw device
- Improved handling of broken units in Blu-ray source (skip and continue reading)
#### Video
- Fixed rare crash related to preview images, anamorphic, and default preset values
- Fixed jitter produced by 59.94 fps to 29.97 fps frame rate conversion
#### Audio
- Fixed duration of silence buffers (may improve audio/video sync for some sources)
#### Build system
- Fixed linker warning by setting libvpx target to minimum supported macOS version
- Fixed build failure with old GTK versions
- Miscellaneous Flatpak-related fixes and improvements
#### Third-party libraries
- Updated libraries (necessary to pull in needed bug fixes)
- libdvdread 6.0.0 (DVD decoding)
- libdvdnav 6.0.0 (DVD decoding)
### Linux
- Fixed potential crash where $HOME directory is missing
- Fixed legacy preferences causing preset window being shown at every launch
- Fixed preset name and menu display on Ubuntu 14.04 Trusty Tahr
- Fixed default destination file name for Blu-ray source to not include MPLS number
- Fixed queue reloading in Flatpak sandbox
- Fixed toolbar icons alignment and use correct art for lower pixel density
- Updated most translations
### Mac
- Fixed menu item and tooltip strings related to selection behavior
- Fixed crash where presets file contains invalid UTF-8
### Windows
- Fixed incorrect track selection behaviours on audio and subtitle tabs
- Fixed creating an unneeded HandBrake Team directory in the user's Roaming directory
- Improved path handling when opening a source directory from the queue
- Miscellaneous bug fixes and improvements
## HandBrake 1.1.1
### All platforms
#### General
- Fixed a potential crash in the comb detection filter
- Fixed a potential crash in the padding filter
#### Video
- Fixed decoding certain very high bit rate ultra-high definition sources with extra large packets
- Fixed last frame in source video missing in output
#### Audio
- Fixed crash when decoding an empty audio track
#### Build system
- Updated mac-toolchain-build script Nasm url and improved curl parameters for robustness
#### Third-party libraries
- Updated libraries (necessary to pull in needed bug fixes)
- libvpx 1.7.0 (VP8/VP9 video encoding)
- x264 155 r2901 (H.264/AVC video encoding)
### Linux
- Fixed Ubuntu PPA build date
- Fixed a display issue with the quality slider control
- Fixed issues occurring when running multiple HandBrake instances simultaneously
- Updated Russian translation
- Updated support for creating Flatpak bundles (experimental)
- Miscellaneous bug fixes and improvements
### Mac
- Fixed corrupted output with VP8 and VP9 encoders
- Fixed building x264 using Clang and -march=native/-mavx (thanks H. Gramner for the upstream patch)
### Windows
- Fixed issues with queue recovery when running multiple HandBrake instances simultaneously
- Fixed an issue with a When Done action potentially causing the last queue item to be marked as a warning instead of success
- Fixed burn-in behavior with MP4 files; after the first burn-in track, no additional tracks that require burn-in will be added
- Improved window resize behavior for Add Selection to Queue dialog and allowed space bar to toggle checkbox for selected row
- Improved tabbing behavior in various circumstances
- Improved adding a new preset with the same name as an existing user preset; the existing preset will now be updated properly
- Improved privacy by adding an option to disable the Summary tab preview image
- Updated installer to block installation on 32-bit systems to avoid confusion (unsupported since 1.1.0)
- Miscellaneous bug fixes and improvements
## HandBrake 1.1.0
### All platforms
#### General
- Improved user interface
- Redesigned main window for consistency and usability; overall flow is top to bottom, left to right
- Added new preset controls directly in main workflow
- Added new summary tab for overview of settings at a glance
- Updated interface icons to support high resolution displays
- New and improved official presets
- Added new presets for Vimeo and YouTube
- Added new 2160p/4K device presets for Apple TV, Chromecast, Fire TV, and Roku
- Added new Production presets for post-production video editing workflows
- Added additional 2160p/4K Matroska presets
- Improved AppleTV 4K support
- Improved Intel QuickSync Video support
- Added Linux support (experimental)
- Added 10-bit H.265/HEVC encoding support for Kaby Lake and newer CPUs
- Added support for multiple GPUs via D3D11 encode path
- Many bug fixes and improvements
#### Video
- Added new Unsharp and kernel-based Laplacian LapSharp sharpening filters
- Added CSM prefilter option to NLMeans filter
- Added support for mobile device orientation via auto-rotation container flag
- x265 10- and 12-bit encoders are now included by default; additional dll files are no longer required
#### Command line interface
- Added support for adaptive streaming (SPS and PPS before IDR frames) via the --inline-parameter-sets parameter
- Added --json parameter to output scan/status information in JSON format, useful for scripting
- Audio sample rate parameter --arate now accepts "auto" as a valid value
#### Build system
- Added support for FreeBSD 11.1 (must compile from source)
- Added support for compiling on Windows under MSYS (experimental, slow)
- Updated to mingw-w64-build 3.1.1 with support for mingw-w64 5.0.3 and gcc 7.2.0
- Update mac-toolchain-build to add NASM 2.13.2 (now required for x264)
- Miscellaneous bug fixes and improvements
#### Third-party libraries
- Updated libraries
- FDK AAC 0.1.5 (AAC audio encoding, must compile from source)
- FreeType 2.8.1 (subtitles)
- HarfBuzz 1.7.2 (subtitles)
- Jansson 2.10 (JSON architecture)
- LAME 3.100 (MP3 audio encoding)
- Libav 12.3 (decoding and filters)
- libass 0.14.0 (subtitles)
- libbluray 1.0.2 (Blu-ray decoding)
- libdvdnav 5.0.3 (DVD decoding)
- libdvdread 5.0.3 (DVD decoding)
- libiconv 1.15 (character encoding support)
- libmfx (upstream API 1.23)
- libogg 1.3.2 (Xiph codecs support)
- libopus 1.2.1 (Opus audio encoding)
- libsamplerate 0.1.9-35-g02ebb9f (audio resampling)
- libtheora 1.1.1 (Theora video encoding)
- libvorbis 1.3.5 (Vorbis audio encoding)
- libvpx 1.6.1 (VP8/VP9 video encoding)
- libxml2 2.9.4 (general)
- x264 155 r2893 (H.264/AVC video encoding)
- x265 2.6 (H.265/HEVC video encoding)
- zlib 1.2.11 (general)
### Linux
- Added option to configure low disk space warning level
- Added Intel QuickSync Video encoder (experimental, requires specific Intel driver)
- Added support for Ubuntu 18.04 and 17.10; Ubuntu 15.04 support is removed
- Many other bug fixes and improvements
### Mac
- Added option to configure low disk space warning level
- Improved support for VoiceOver navigation
- Many other bug fixes and improvements
### Windows
- Added option to configure low disk space warning level
- Added option to play a sound (MP3/WAV) when encode or queue is finished
- Added option to show progress, pass, passcount in the application title or task tray icon tooltip
- Added more granular progress reporting during search for start of file and muxing
- Added support for per-display resolution awareness
- Added support for running HandBrake in a portable mode (see included portable.ini.template)
- Added custom anamorphic to dimensions tab, it's back!
- Improved static preview window still previews rendering
- Improved audio selection behavior controls; dropdowns are now context aware and range limited with better defaults
- Improved UI constency throughout
- Many other bug fixes and improvements
## HandBrake 1.0.7
### All platforms
#### Video
- Fixed decoding of raw video in Matroska/MKV
- Fixed time stamp handling for containerless raw video
- Fixed memory leaks in OpenCL
- Fixed x265 2-pass encoding where video frame rate is altered by filters
- Improved handling of very small amounts of sync jitter (~1 tick)
- Improved handling of AVI files with broken indices
#### Audio
- Further refined fix for Libav crash encoding AAC at very high bitrates
#### Subtitles
- Removed fontconfig dependency on Mac and Windows; libass now uses CoreText/DirectWrite
- Improved subtitle font selection when burning in SRT/SSA subtitles
#### Command line interface
- Fixed preset subtitle burn defaults override
#### Build system
- Updated MinGW-w64 build script for improved compatibility with hardened GCC
### Linux
- Fixed video preset control not updating
- Fixed audio passthru masks not updating until preset save
- Fixed application of SRT subtitles offset
- Updated translations: af, cs, ja_JP, ru, sk, sv
### Windows
- Fixed When Done option not updating/resetting correctly
## HandBrake 1.0.6
Superseded by HandBrake 1.0.7.
## HandBrake 1.0.5
Superseded by HandBrake 1.0.6.
## HandBrake 1.0.4
Superseded by HandBrake 1.0.5.
## HandBrake 1.0.3
### All platforms
#### Video
- Fixed H.264 decoding using Libav where the initial GOP was dropped
- Fixed 2-pass x265 encoding where the source header incorrectly specifies frame rate
- Fixed 2-pass encoding with bob deinterlace and constant frame rate
- Fixed a seek issue in Libav while reading MKV sources with embedded subtitles
- Fixed multiple issues preventing Libav from opening WMV sources properly
- Fixed miscellaneous issues in Libav
- Fixed memory leaks in OpenCL
- Improved sync for streams delayed by a large amount
#### Audio
- Fixed a Libav crash encoding AAC at very high bitrates
- Fixed a potential hang in Libav while decoding AAC
- Improved Libav audio sync with MP4 sources containing edit lists
- Improved mapping of single channel layouts to single channel layouts
### Linux
- Fixed a potential crash when selecting video encoders
- Fixed various controls not applying values properly
### Mac
- Fixed a crash when attempting to edit a queued job
- Improved audio start point to use edit lists when encoding using CoreAudio AAC
### Windows
- Fixed Title Specific Scan for DVD/Blu-ray
- Fixed broken/missing NLMeans denoise tunes
- Fixed an issue that could cause error -17 when encoding using Intel QuickSync Video
- Fixed an issue where the SRT language code was not being set correctly
## HandBrake 1.0.2
### All platforms
#### Video
- Fixed point to point encoding end point when using frames as the unit
- Improve error handling for libdvdread and libavcodec decoders
#### Audio
- Fixed an issue where fallback encoder bitrate was not set properly
#### Subtitles
- Fixed incorrect duration for UTF-8 subtitles
- Fixed an issue causing extra blank lines for UTF-8 subtitles in MKV
### Linux
- Fixed an issue sometimes preventing dragging and dropping of presets between folders
- Miscellaneous bug fixes
### Mac
- Fixed video encoder options not reset when changing encoders
- Fixed incomplete encodes where the chapter count differs on queued items
- Fixed sleep prevention not working in certain scenarios
- Fixed automatic naming for EyeTV bundles
- Added additional checks to prevent source file overwriting
- Miscellaneous bug fixes
### Windows
- Fixed video encoder options not reset when changing encoders
- Fixed subtitles defaults behaviors to improve how tracks are added
- Fixed issues related to source maximum and custom picture setting modes
- Fixed point to point settings when editing a queued job
- Fixed When Done controls not updating correctly on various screens
- Fixed split buttons not working correctly on audio and subtitles tabs
- Fixed destination path and file name error checking
- Fixed potential crash by disabling OpenCL detection when the scaler is not set to OpenCL Bicubic (workaround for broken system drivers)
- Fixed a potential crash when QSV is supported but disabled at the BIOS level
- Fixed memory leaks in the QSV encoder
- Added QSV detection for Intel Kaby Lake CPUs
- Miscellaneous bug fixes
## HandBrake 1.0.1
### All platforms
#### Video
- Fixed a potential crash when using the VP8 or VP9 video encoders
- Fixed a potential crash when using 2-pass ABR
#### Command line interface
- Fixed importing chapter names from a file
### Linux
- Fixed Keep Aspect Ratio control (disabled) when anamorphic mode is Auto
- Widened presets list to accommodate longer preset names
- Miscellaneous bug fixes
### Mac
- Fixed a potential crash when using the subtitles burn feature on macOS versions earlier than 10.12 Sierra
- Fixed certain controls not updating when saving or loading a preset
- Miscellaneous bug fixes
### Windows
- Fixed certain controls not updating when saving or loading a preset
- Disabled QSV decoding by default when non-QSV encoder selected (configurable)
- Miscellaneous bug fixes
## HandBrake 1.0.0
### All platforms
#### General
- New online documentation at https://handbrake.fr/docs
- Completely overhauled the official presets
- New general use presets for broad compatibility
- New device presets, now more up-to-date for common devices
- New web presets
- New Matroska (MKV) presets, including VP9 video with Opus audio
- Official presets from HandBrake 0.10.x are still available under `Legacy`
- New JSON-based preset system including command line support
- New JSON-based API for interacting with libhb
- Improvements to audio/video sync engine to better handle difficult sources
- Many miscellaneous bug fixes and improvements (over 1700 code commits!)
#### Video
- VP9 video encoding via libvpx
- Intel QuickSync Video H.265/HEVC encoder
- Requires Intel Skylake or newer CPU
- Ultra HD / 4K color pass through (support for BT.2020)
- Additional standard frame rate selections in the graphical interfaces
- New Auto anamorphic mode maximizes storage resolution, replaces Strict anamorphic mode
- New Pad filter (command line only for now)
- New Decomb/Deinterlace filter settings and improved defaults
- Rotate filter now available in all graphical interfaces
- New NLMeans filter tunes Tape and Sprite for analog tape recordings and vintage video games, respectively
- Assembly optimizations NLMeans filter improve performance up to 10%
- Assembly optimizations in x264 encoder improve performance for faster presets by 5-10%
- x265 encoder quality improvements, especially when using tune grain
- High bit depth encoding support via external shared libraries (video pipeline is still 8-bit 4:2:0)
- x264 10-bit
- x265 10-bit and 12-bit
#### Audio
- Opus audio encoding/decoding via libopus
- Passthru now supports E-AC-3, FLAC, and TrueHD audio formats
#### Subtitles
- Improved subtitles rendering for some languages via HarfBuzz
- Miscellaneous subtitles improvements
#### Command line interface
- Presets can now be imported and exported from the command line and are compatible with the graphical interfaces
- Queue exported from the graphical interfaces can now be imported by the command line interface (Linux and Windows only for now)
#### Build system
- Add scripts to manually build and install Mac and MinGW-w64 (compile for Windows on Linux) toolchains
- Add support for multiple source URLs for third-party downloads
- Add SHA256 hash verification for third-party downloads
- Add configure parameter to disable or filter allowed third-party downloads (see configure --help)
- Use HTTPS everywhere; the few cases where a third-party does not provide packages over https, handbrake.fr does
- New targets on Mac to install and uninstall after building
- Add flatpak packaging support (experimental)
#### Third-party libraries
- Updated libraries
- FreeType 2.6.5 (subtitles)
- Fontconfig 2.12.1 (subtitles)
- FriBidi 0.19.7 (subtitles)
- Libav 12 (encoding/decoding/muxing)
- libass 0.13.2 (subtitles)
- libbluray 0.9.3 (Blu-ray decoding)
- libmfx v6.0.0 (Intel QuickSync Video encoding/decoding)
- libvpx 1.5.0 (VP8/VP9 video encoding)
- x264 148 r2708 (H.264/AVC video encoding)
- x265 2.1 (H.265/HEVC video encoding)
- New libraries
- HarfBuzz 1.3.0 (subtitles)
- libopus 1.1.3 (Opus audio encoding)
### Linux
- Add options for saving and loading queue files
- Removed system tray icon due to performance issues on Ubuntu
- Usability improvements
- Miscellaneous bug fixes
### Mac
- Updated all tooltips
- Added undo/redo support to the graphical interface
- Improved drag and drop support
- Added Open Recent to the File menu
- Added Add Titles to Queue… to the File menu (batch queueing)
- Preview prompts to open in an external application when the internal player does not support the format
- Preview now displays volume and audio/subtitles language selection during playback
- Picture and Filters settings are now part of the main window
- Settings are preserved when selecting a new title (instead of reloading the last selected preset)
- Improved support for importing/exporting comma-separated (.csv) chapter markers
- Queue is now automatically paused when available disk space is low
- When Done action can now be changed directly from the Queue window
- When Done notification is now interactive (reveals the encoded file in Finder)
- Activity Log window is now searchable (press `⌘`+`f` to activate)
- XQuartz is no longer required for subtitle burn-in
- Updated Sparkle software update library
- Enabled DSA signature checking for improved security
- Usability improvements
- Miscellaneous bug fixes
### Windows
- Graphical interface now uses libhb directly, instead of sending commands to the command line interface
- Encoding can now be paused and resumed
- Stopping encoding will finalize the partial file to be playable
- Reduced installer and install size
- The command line interface is no longer included in the graphical interface installer
- Update checker now verifies the signature of the update file for improved security
- Added support for quality-based audio encoding
- Added ability to import tab-separated (.tsv), XML (.xml), and plain text (.txt) chapter markers
- Improved the "configure default" options for audio and subtitles
- Default audio track behavior is now configurable
- Subtitles burn-in behavior is now configurable
- Removed DirectX Video Acceleration (DXVA) hardware-accelerated video decoding
- Was causing many issues without providing sufficient improvement to decoding efficiency
- May be added again at a later date if performance and stability improves
- Usability improvements
- Miscellaneous bug fixes
## HandBrake 0.10.5
- Removed FDK AAC from binary releases
- Configure with `--enable-fdk` for non-free and non-redistributable build when compiling from source
- Updated x265 to 1.9 which brings bug fixes and performance improvements
- Improvements in large AVI file handling
- Assorted bug fixes and performance improvements
## HandBrake 0.10.3
- Updated x265 to 1.8 which brings numerous bug fixes and some performance improvements
- Assorted bug fixes and performance improvements
## HandBrake 0.10.2
- Assorted bug fixes and performance improvements
## HandBrake 0.10.1
- Assorted bug fixes for all three GUIs and the core library
## HandBrake 0.10.0
### Core
- Intel QuickSync Video encode and decode support (beta)
- Windows only currently; we hope to bring this to Linux users in the future
- DXVA hardware decode support (experimental)
- Windows only
- Suitable only for slower machines so disabled in preferences by default
- Choice of scalers
- Lanczos
- HandBrake's default scaler
- Bicubic (OpenCL) (experimental)
- Available on the Command Line Interface (all platforms) and Windows GUI (Mac / Linux GUIs will come in a later release)
- Currently only available in OpenCL form so requires an AMD or Intel GPU supporting OpenCL 1.1 or later; Nvidia GPUs are not currently supported
- When downscaling, up to 5% performance improvement can be achieved; no benefit when not downscaling
- Small loss in quality over the Lanczos scaler
- Denoise
- hqdn3d filter now accepts individual settings for each chroma channel (Cb, Cr)
- New NlMeans denoiser, very slow, but results are significantly better than hqdn3d
- Presets
- Added Windows Phone 8 Preset
- Updated Libraries
- x264 r2479-dd79a61
- Libav v10.1
- libbluray 0.5.0
- libavformat is now used for muxing instead of mp4v2 and libmkv
- "Large File Size" checkbox has now been removed for MP4, as the new muxer will transition to 64bit files automatically
- mpeg2dec has also been replaced in favour of using libav
- The LibAV AAC encoder is now the default as FAAC has been remove
- This encoder is adequate for most, but until it improves a bit further, we have enabled support for the FDK-AAC encoder also
- This FDK option is a temporary measure until the LibAV encoder improves
- Note that FDK-AAC is much slower and will likely bottleneck the encode process, but will produce better quality audio
- H.265 encoder
- Now available through x265 1.4
- While this encoder is still fairly new, we have seen some promising results come out of it; it's still under heavy active development and is only going to improve over time
- Added VP8 Encoder (using libvpx)
- Available in MKV files only
- Removed mcdeint deinterlace and decomb modes (this relied on the snow encoder in libav which has been removed by upstream)
- Bug fixes and misc improvements
### Windows
- Accessibility and usability improvements
- Added option to 'Use System Colors'; the app should now be usable in a high contrast mode.
- Fixed tab ordering to make the app more keyboard friendly
- LibHB is now used for scanning instead of the CLI
- Experimental preview window is now available as a result (can be enabled via preferences)
- Improved the layout and design of the audio and subtitle tabs
- Split buttons similar to the old 0.9.8 WinForms GUI
- Improved layout on the track listbox to make better use of the space
- Improvements to auto-naming feature
- When Done
- Added an option that will reset this to 'Do nothing' when the app is closed and restarted
- Presets
- New presets menu
- Presets bar can now be hidden if it's not wanted
- Numerous bug fixes
- Fixed the issue in the source dropdown where the drive menu items did not work when clicked
- Numerous fixes in the picture settings panel around resolution calculation
- Numerous fixes around the way presets are loaded and saved, particularly around picture settings
- Removed Growl for Windows support due to bugs and issues with this library that remain unfixed; project appears abandoned
- Many misc other fixes
- Windows XP is no longer supported; Windows Vista with Service Pack 2 or later is now a requirement
- The 32-bit build of the application is now considered deprecated; this is due to 32-bit process memory limitations
### Mac
- Build system updates to compile under OS X 10.9 and 10.10
- Automatic audio and subtitle track selection behaviors which can be stored per preset
- Improvements to auto-naming feature
- Misc UI enhancements
- Bug fixes and misc improvements
### Linux
- Automatic audio and subtitle track selection behaviors which can be stored per preset
- Improvements to auto-naming feature
- Batch add-to-queue by list selection
- Russian and Czech translations
- Bug fixes and misc improvements
- Requires GTK3
### Command Line Interface
- Basic support for return codes from the CLI (0 = No error, 1 = Canceled, 2 = Invalid input, 3 = Initialization error, 4 = Unknown Error)
- Bug fixes and misc improvements
Diffstat (limited to 'multimedia')
22 files changed, 238 insertions, 542 deletions
diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile index 7484084a6f0..485871ba1c8 100644 --- a/multimedia/handbrake/Makefile +++ b/multimedia/handbrake/Makefile @@ -1,42 +1,31 @@ -# $NetBSD: Makefile,v 1.49 2018/11/27 20:33:08 bsiegert Exp $ +# $NetBSD: Makefile,v 1.50 2019/03/01 23:51:48 ryoon Exp $ # -DISTNAME= HandBrake-0.9.3 -PKGNAME= ${DISTNAME:S/HandBrake/handbrake/} -PKGREVISION= 38 +DISTNAME= HandBrake-1.2.2-source +PKGNAME= ${DISTNAME:tl:S/-source//} CATEGORIES= multimedia -MASTER_SITES= http://download.m0k.org/handbrake/releases/ -MASTER_SITES+= http://download.m0k.org/handbrake/contrib/ -MASTER_SITES+= ${MASTER_SITE_FREEBSD:=handbrake/} +MASTER_SITES= https://download.handbrake.fr/releases/${PKGVERSION_NOREV}/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://handbrake.fr/ +COMMENT= Multiplatform, multithreaded video transcoder +LICENSE= gnu-gpl-v2 DIST_SUBDIR= handbrake EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} -CDISTFILES= a52dec-0.7.4.tar.gz \ - bzip2-1.0.5.tar.gz \ - faac-1.26.tar.gz \ - faad2-2.6.1.tar.gz \ - ffmpeg-r15462.tar.gz \ - lame-3.98.tar.gz \ - libdca-r81-strapped.tar.gz \ - libdvdread-0.9.7.tar.gz \ - libmkv-0.6.3.tar.gz \ - libmp4v2-r45.tar.gz \ - libogg-1.1.3.tar.gz \ - libsamplerate-0.1.4.tar.gz \ - libtheora-1.0.tar.gz \ - libvorbis-aotuv_b5.tar.gz \ - mpeg2dec-0.5.1.tar.gz \ - mpeg4ip-1.3.tar.gz \ - libquicktime-0.9.10.tar.gz \ - x264-r1028-83baa7f.tar.gz \ - xvidcore-1.1.3.tar.gz \ - zlib-1.2.3.tar.gz +CDISTFILES= ffmpeg-4.1.tar.bz2 \ + libbluray-1.0.2.tar.bz2 \ + libdvdnav-6.0.0.tar.bz2 \ + libdvdread-6.0.0.tar.bz2 \ + libvpx-1.7.0.tar.gz \ + x265_2.9.tar.gz DISTFILES+= ${CDISTFILES} -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://handbrake.fr/ -COMMENT= Multiplatform, multithreaded video transcoder +.for f in ${CDISTFILES} +SITES.${f}= https://download.handbrake.fr/contrib/ +.endfor RESTRICTED= Unresolved patent issues NO_BIN_ON_CDROM=${RESTRICTED} @@ -44,18 +33,25 @@ NO_BIN_ON_FTP= ${RESTRICTED} NO_SRC_ON_CDROM=${RESTRICTED} NO_SRC_ON_FTP= ${RESTRICTED} -GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//} + +HAS_CONFIGURE= yes USE_TOOLS+= gmake perl intltool msgfmt pkg-config bash USE_TOOLS+= autoconf automake aclocal autoreconf m4 USE_LIBTOOL= yes USE_LANGUAGES= c c++ -BUILD_DEPENDS+= jam>=2.5.2:../../devel/jam -BUILD_DEPENDS+= nasm>=2.05.01:../../devel/nasm -BUILD_DEPENDS+= yasm>=0.6.1:../../devel/yasm -BUILD_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4 +BUILDLINK_TRANSFORM.NetBSD+= rm:-ldl -CLI_CONFIGURE_ARGS= --release +CONFIGURE_ARGS+= --prefix=${PREFIX} +BUILD_DIRS= build +MAKE_FILE= GNUmakefile +BUILD_TARGET= # empty +BUILD_FLAGS+= BUILDLINK_DIR=${BUILDLINK_DIR} + +BUILD_DEPENDS+= cmake-[0-9]*:../../devel/cmake +BUILD_DEPENDS+= nasm>=2.05.01:../../devel/nasm +#BUILD_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4 # harfbuzz, which is now separate from pango, installs a header file # called hb.h, and the include path plopped out by autocrap causes it @@ -74,30 +70,22 @@ CFLAGS+= -fheinous-gnu-extensions .endif post-extract: - cp ${FILESDIR}/patch-ffmpeg-nodocs.patch \ - ${WRKSRC}/contrib/ + ${MKDIR} ${WRKSRC}/download .for distfile in ${CDISTFILES} cp ${DISTDIR}/${DIST_SUBDIR}/${distfile} \ - ${WRKSRC}/contrib/${distfile:C/-.*//}.tar.gz + ${WRKSRC}/download/ .endfor -pre-configure: - cd ${WRKSRC}/gtk && autoreconf -fi - -do-configure: - cd ${WRKSRC} && ./configure ${CLI_CONFIGURE_ARGS} - cd ${WRKSRC}/gtk && ./configure ${CONFIGURE_ARGS} - -do-build: - cd ${WRKSRC} && gmake - cd ${WRKSRC}/gtk && gmake - -do-install: - cd ${WRKSRC}/gtk && gmake install DESTDIR=${DESTDIR} - .include "../../graphics/hicolor-icon-theme/buildlink3.mk" -.include "../../sysutils/hal/buildlink3.mk" -.include "../../www/gtkhtml314/buildlink3.mk" -.include "../../x11/gtk2/buildlink3.mk" +.include "../../audio/lame/buildlink3.mk" +.include "../../audio/libopus/buildlink3.mk" +.include "../../audio/libsamplerate/buildlink3.mk" +.include "../../audio/speex/buildlink3.mk" +.include "../../multimedia/libass/buildlink3.mk" +.include "../../multimedia/libtheora/buildlink3.mk" +.include "../../multimedia/x264-devel/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../x11/gtk3/buildlink3.mk" +.include "../../textproc/jansson/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../mk/bsd.pkg.mk" diff --git a/multimedia/handbrake/PLIST b/multimedia/handbrake/PLIST index 2c9a846c3ab..9edee4d8453 100644 --- a/multimedia/handbrake/PLIST +++ b/multimedia/handbrake/PLIST @@ -1,11 +1,21 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:08:06 joerg Exp $ +@comment $NetBSD: PLIST,v 1.3 2019/03/01 23:51:48 ryoon Exp $ bin/HandBrakeCLI bin/ghb -share/applications/ghb.desktop -share/doc/ghb/AUTHORS -share/doc/ghb/COPYING -share/doc/ghb/ChangeLog -share/doc/ghb/INSTALL -share/doc/ghb/NEWS -share/doc/ghb/README -share/icons/hicolor/128x128/apps/hb-icon.png +share/applications/fr.handbrake.ghb.desktop +share/icons/hicolor/scalable/apps/fr.handbrake.ghb.svg +share/icons/hicolor/scalable/apps/hb-icon.svg +share/locale/cs/LC_MESSAGES/ghb.mo +share/locale/da/LC_MESSAGES/ghb.mo +share/locale/de/LC_MESSAGES/ghb.mo +share/locale/es/LC_MESSAGES/ghb.mo +share/locale/fr/LC_MESSAGES/ghb.mo +share/locale/it_IT/LC_MESSAGES/ghb.mo +share/locale/ja_JP/LC_MESSAGES/ghb.mo +share/locale/ko/LC_MESSAGES/ghb.mo +share/locale/no/LC_MESSAGES/ghb.mo +share/locale/pt_BR/LC_MESSAGES/ghb.mo +share/locale/ro_RO/LC_MESSAGES/ghb.mo +share/locale/ru/LC_MESSAGES/ghb.mo +share/locale/th/LC_MESSAGES/ghb.mo +share/locale/zh_CN/LC_MESSAGES/ghb.mo +share/metainfo/fr.handbrake.ghb.appdata.xml diff --git a/multimedia/handbrake/distinfo b/multimedia/handbrake/distinfo index 956cad08272..4d9168428d5 100644 --- a/multimedia/handbrake/distinfo +++ b/multimedia/handbrake/distinfo @@ -1,98 +1,40 @@ -$NetBSD: distinfo,v 1.6 2017/03/23 17:06:56 joerg Exp $ +$NetBSD: distinfo,v 1.7 2019/03/01 23:51:48 ryoon Exp $ -SHA1 (handbrake/HandBrake-0.9.3.tar.gz) = f52389b1226bf81ba58bca67f3a1aa468cfee624 -RMD160 (handbrake/HandBrake-0.9.3.tar.gz) = 50085816875439ee82bc213252f683352bbdbbb0 -SHA512 (handbrake/HandBrake-0.9.3.tar.gz) = ea3d1e77551b0c70b79af0f92d2c3711f36aa774296f376675fcf6122c535a997af136c3c639da69112fbdcbf3d71dc5f717deaf6533031f6704e3ac6e43ae71 -Size (handbrake/HandBrake-0.9.3.tar.gz) = 2067663 bytes -SHA1 (handbrake/a52dec-0.7.4.tar.gz) = 7c406b9b5351cdec56279b6d02f3f556711424d2 -RMD160 (handbrake/a52dec-0.7.4.tar.gz) = 5f8ff682a43ffdafdb88a4231bfa64bb40f138d8 -SHA512 (handbrake/a52dec-0.7.4.tar.gz) = ff192293881fbfa79f2c85b21647b7bbcb16a6a80683f0c0f59cfd7cfe75ecb213a4dea0ecdf5af7418c73c474d87b62f1c265467c203e288395be2e45089874 -Size (handbrake/a52dec-0.7.4.tar.gz) = 242978 bytes -SHA1 (handbrake/bzip2-1.0.5.tar.gz) = c3c8fe717135d40765b2e5f5b64abb89c6c477fc -RMD160 (handbrake/bzip2-1.0.5.tar.gz) = 8ad29eed3a162a4b801b22f6fa44652907b74df1 -SHA512 (handbrake/bzip2-1.0.5.tar.gz) = 3176cb4690ce3c2d06cb4d6895e2f333f5ed73a76f17dfb62e038cb3e913f65644e4e1d1857bcd84985f87a33f048479d91a154fc0a6fff32b05da16c1125ea4 -Size (handbrake/bzip2-1.0.5.tar.gz) = 848730 bytes -SHA1 (handbrake/faac-1.26.tar.gz) = 5aad6d5a60107a5d6bf79654970168f498961b21 -RMD160 (handbrake/faac-1.26.tar.gz) = 40656b7b1a7c207373d7a1ba0167f220d9073ecd -SHA512 (handbrake/faac-1.26.tar.gz) = b765af2b61cd56468c635c2973f5addec5a0fa6e47bb677e82f14bf4669b3028d74bcb3b62e4f281a9c7c6fd27e2848bcb291beb6ffb4626eae7b34e9e61f7ca -Size (handbrake/faac-1.26.tar.gz) = 400915 bytes -SHA1 (handbrake/faad2-2.6.1.tar.gz) = e2432e3e9c0a69982fd507c44002e53b85a3d155 -RMD160 (handbrake/faad2-2.6.1.tar.gz) = 0bb2b25e4a570f7c3f7e7bcf92525091c57b2592 -SHA512 (handbrake/faad2-2.6.1.tar.gz) = 28a2da3a4989da8aff9ea0ea237d4129135cfecc7b36e6e196d4d271344544db53eaffa802c6bf37cfc9e7f5390d063070ad3bf48ed2f81ed68b04958f90406c -Size (handbrake/faad2-2.6.1.tar.gz) = 849708 bytes -SHA1 (handbrake/ffmpeg-r15462.tar.gz) = 1a0342bcb9b881c2e1d9f7229388d6f189c9d4e0 -RMD160 (handbrake/ffmpeg-r15462.tar.gz) = e275c802a7b512a43db7a74e6cd2a2dd5eea350b -SHA512 (handbrake/ffmpeg-r15462.tar.gz) = a6f1a05eec343b2887ef5e5dd075dc051ec0084edae0694a77d76f7d7b7d17e61808b9c21052e5e8dd5a0718787d82f00fd0fb11da885144f37dd002880202ee -Size (handbrake/ffmpeg-r15462.tar.gz) = 3154052 bytes -SHA1 (handbrake/lame-3.98.tar.gz) = 2908edcf0628512c407aadad317866826c6df5c7 -RMD160 (handbrake/lame-3.98.tar.gz) = c10c20128622e16f9cac3d346bea8e390e4bfdc5 -SHA512 (handbrake/lame-3.98.tar.gz) = 5a9c3924d483f094fe6edc422f96dcd550ac4663868d534f6314045e44a13d78ef3d74b7e666a1ce592505020546cd3583a913e94fadfa87cf539dd68f6d1e03 -Size (handbrake/lame-3.98.tar.gz) = 1411318 bytes -SHA1 (handbrake/libdca-r81-strapped.tar.gz) = aace1f940184fad9ec033de48f7d1efc3d0c0ffa -RMD160 (handbrake/libdca-r81-strapped.tar.gz) = f8af6ac0df89e221d0b95caf68ee3aa3904ab178 -SHA512 (handbrake/libdca-r81-strapped.tar.gz) = aa873b3e7b0ef7c484814c69b67e5033625c9d2bc57dbd87f7bf8067c3de2d73f80976d661fb4c5b89123bb312bdd99a2f154422ebf8752d9eeb93142204e1b0 -Size (handbrake/libdca-r81-strapped.tar.gz) = 523282 bytes -SHA1 (handbrake/libdvdread-0.9.7.tar.gz) = f2da77542fc302770e0eb55c32919e1387f82049 -RMD160 (handbrake/libdvdread-0.9.7.tar.gz) = 6c866b23a014941d19fb0c2be8bfe408b4443fda -SHA512 (handbrake/libdvdread-0.9.7.tar.gz) = 2e165ca19f75eadf651e8a5e8e90347d9159135af94051a53b2c6fc85c70c1b2766da05a0df67e341deddbc7e01a125c50553ea35ec96ab7c2fa3021ac21554d -Size (handbrake/libdvdread-0.9.7.tar.gz) = 388570 bytes -SHA1 (handbrake/libmkv-0.6.3.tar.gz) = c57ceb52a1cb358716d6d57d22321a2a68ba3e79 -RMD160 (handbrake/libmkv-0.6.3.tar.gz) = 7540d78adefcf5868cd709a5ec007cca4f390fa4 -SHA512 (handbrake/libmkv-0.6.3.tar.gz) = b7ec77ee2bbf878cb9f8cfcff40e56a8a632c066a85b0190671166966dc0ef2b4f290b8cfdf5bb6bf0327ed3380594b19185b6eabe576768f3c8b66d1b422048 -Size (handbrake/libmkv-0.6.3.tar.gz) = 341121 bytes -SHA1 (handbrake/libmp4v2-r45.tar.gz) = 4643f6eab2419630e2be12c1391b714f3bf00ffb -RMD160 (handbrake/libmp4v2-r45.tar.gz) = d28ebb1551e3b93f2f164bb1733f48935acc3475 -SHA512 (handbrake/libmp4v2-r45.tar.gz) = 19b670936ce673c2c432eb7d0e658e8036c576f437296052e60e6982b991c46830d955979973a44a87126fad5566b0a41dfb4fdf95b91dfdfbe342b022c11232 -Size (handbrake/libmp4v2-r45.tar.gz) = 461723 bytes -SHA1 (handbrake/libogg-1.1.3.tar.gz) = 9ce317cfe225e121deee68cd81db39f15b602caa -RMD160 (handbrake/libogg-1.1.3.tar.gz) = fba18455f80b738239ccdd0fc19d518243140cce -SHA512 (handbrake/libogg-1.1.3.tar.gz) = 36dbf4f9c5df732fe62ddf2fb84a13956aae5f66d14deb6e57fcb96c137b7eff9a1ad738e3e4f72a8c6ce390039ffc7da25deae1454a77e68d2854688d2050cf -Size (handbrake/libogg-1.1.3.tar.gz) = 401303 bytes -SHA1 (handbrake/libquicktime-0.9.10.tar.gz) = 65972ed260c05b26a9892bb4789306ebf30e65bc -RMD160 (handbrake/libquicktime-0.9.10.tar.gz) = b5a4629b3074cd38e45a0e6d8588350b8ea50c09 -SHA512 (handbrake/libquicktime-0.9.10.tar.gz) = a535449412fb30c5226d402a4ad8c51d25cf6ad5e9a1c394d534ac757bffdbdac484019da5a2f780ecb119bcf793e9426f042ae36a95e8f475a84ff9c85da15e -Size (handbrake/libquicktime-0.9.10.tar.gz) = 841524 bytes -SHA1 (handbrake/libsamplerate-0.1.4.tar.gz) = d6974129497ba141d43c36826a23deb6c0b3e5d8 -RMD160 (handbrake/libsamplerate-0.1.4.tar.gz) = b2ac47d592702a410d5524e1550251c0e75f1879 -SHA512 (handbrake/libsamplerate-0.1.4.tar.gz) = 54ea67ed12d0238f7c92902cf6a6b24697e2e772c5b95b441e82dc9b8c26fb258ae7085a0d2bdf7cb3fb301d7f5d899150940181da8ab87aab3f3fa925eb7a9b -Size (handbrake/libsamplerate-0.1.4.tar.gz) = 4259244 bytes -SHA1 (handbrake/libtheora-1.0.tar.gz) = a04eb62ca79c3b0de11975ae4de3a39dc3545f03 -RMD160 (handbrake/libtheora-1.0.tar.gz) = 2f3ff2d0b55e89d55c2779d07f551b9091236919 -SHA512 (handbrake/libtheora-1.0.tar.gz) = 8cd7b2d6cce263dbb044699c8db2ae0b770a0e6752e008fb58676c2acf1f4b0a3ffb522dfb1ab3d2804c27144cb5f09a361482c29805e4c6ac1acf74e7885db7 -Size (handbrake/libtheora-1.0.tar.gz) = 1946620 bytes -SHA1 (handbrake/libvorbis-aotuv_b5.tar.gz) = ec446e9d2c480210ec8c5a02e479e52336450e3d -RMD160 (handbrake/libvorbis-aotuv_b5.tar.gz) = 3c8cf3f1415cbbd037ec149427fda23e8a6dbe52 -SHA512 (handbrake/libvorbis-aotuv_b5.tar.gz) = 32241a00fb8fe398df6f14e3b7dc187a0bc18cad29b0168a6bec5c576a5ad934488c988629cc3a8ed1029c5c2f1847ac30eddd4d50e5259c7b1e06f363e75d52 -Size (handbrake/libvorbis-aotuv_b5.tar.gz) = 1345888 bytes -SHA1 (handbrake/mpeg2dec-0.5.1.tar.gz) = c39a95d18e133cd81e890fd7672f592ed41fadfc -RMD160 (handbrake/mpeg2dec-0.5.1.tar.gz) = 3986798a30b33e689b1d7c5390380c13b74f8c76 -SHA512 (handbrake/mpeg2dec-0.5.1.tar.gz) = 60081e73850a5b1f65c4227aaaac0e66b28c9b9d8bda06b06cd9c5f524df1009ddb2128de94691398fb03d4267a3c7fc533c378be9c6c88a33a8393cc3c026db -Size (handbrake/mpeg2dec-0.5.1.tar.gz) = 522405 bytes -SHA1 (handbrake/mpeg4ip-1.3.tar.gz) = 3c5987f51d0bbd49775b45f667cf46a628c4f87a -RMD160 (handbrake/mpeg4ip-1.3.tar.gz) = 4f966d8e4d4de1679e785f92c1c480b14617cb69 -SHA512 (handbrake/mpeg4ip-1.3.tar.gz) = 1819dbc6664921d5ff51ded51b132d6264f5729d373caaa63fdc347334d992d6415d7b19a2a12f00b6df2ff8d85efc62bb6efd8ef0bba86d3eb5731e04df300e -Size (handbrake/mpeg4ip-1.3.tar.gz) = 4719855 bytes -SHA1 (handbrake/x264-r1028-83baa7f.tar.gz) = 9b03dd54adccc7e94278d6d182506d49aef93439 -RMD160 (handbrake/x264-r1028-83baa7f.tar.gz) = ee19fd51074a28ffd8b597542ea2cc258926aebc -SHA512 (handbrake/x264-r1028-83baa7f.tar.gz) = d9fb43f2e94d6639ee6b0634a7e6fe188de213bdc2e50285f25bc44106be55ba0e59ee1b313611733a4cceb9af81beef8a5ba50d416aaacd00dae3d9c2cd9d25 -Size (handbrake/x264-r1028-83baa7f.tar.gz) = 2325933 bytes -SHA1 (handbrake/xvidcore-1.1.3.tar.gz) = 83f73502462b0893eca9a56da9ee0cb6a118d7cb -RMD160 (handbrake/xvidcore-1.1.3.tar.gz) = 63885af712fa2afae6cb5ac0117e7d23b04aa70c -SHA512 (handbrake/xvidcore-1.1.3.tar.gz) = 8b374ca591a8b47994c5b947d837248dbc8d2b708c986e43165f08a342bb66e26ae2691f2d5769612dee3cc0af6751d6395d1c2ff5f85814814485aaf9b42f09 -Size (handbrake/xvidcore-1.1.3.tar.gz) = 739835 bytes -SHA1 (handbrake/zlib-1.2.3.tar.gz) = db9f8380cd0652b5b8e75e43bcf7c4a4431df9f8 -RMD160 (handbrake/zlib-1.2.3.tar.gz) = 292c1bc8d80040bf446bc6ca59341cf50d64dca2 -SHA512 (handbrake/zlib-1.2.3.tar.gz) = 0951558104ecb55331db86e943772c0c2e2387e048d7342dad37c4c9950eee8f545dc53785ed12c9c37902fa4763541559ea0092433613f3d3907ccb06472133 -Size (handbrake/zlib-1.2.3.tar.gz) = 502411 bytes -SHA1 (patch-aa) = b7c4057caf6aebca7cc47f0435e67937dd25a6f2 -SHA1 (patch-ab) = 45443e0cd7fdc37420f29e526327ebd008f25e15 -SHA1 (patch-ac) = 9913edb480ec81ad8ff5f1fe97a8b8040b334a71 -SHA1 (patch-ad) = 4059de9d2242f13f9fb5f00e9bddca744796f2d1 -SHA1 (patch-ae) = 136cbda7c23b5aab2c211444c07c4ec57dc5f06d -SHA1 (patch-af) = 8f0606f5a44c27e418110a47713ccad7d0b05adf -SHA1 (patch-ag) = b5a6882280b9f907334618be5ab617d5596fe360 -SHA1 (patch-ah) = c6c050245b990429751c6fe243fb488028253af4 -SHA1 (patch-ai) = d1a77b07ca338f522f7eaec3c2a4a71dacd61268 -SHA1 (patch-aj) = 3855b048017581adac91c8a4d146d41a27840486 -SHA1 (patch-gtk_Makefile.am) = 2cdf94f006fe1fc57b1ebcb4371454ac55cf7da9 -SHA1 (patch-gtk_configure.ac) = dd0727e65536f08f11ab56e51310a2019d760977 +SHA1 (handbrake/HandBrake-1.2.2-source.tar.bz2) = 100e2b6a240b5743b4e31a2bee32986f791b516b +RMD160 (handbrake/HandBrake-1.2.2-source.tar.bz2) = 82a72774f993feb3628eff7f164e308a17e6251b +SHA512 (handbrake/HandBrake-1.2.2-source.tar.bz2) = 434e6db1acbe01771aeefd2f257bdc58ad84e63ba441f4977f634b9ccb3c708176b928adf1dfa9e20d4948b65876ae9b4dfdc35f9c56f03f34858380090ab29c +Size (handbrake/HandBrake-1.2.2-source.tar.bz2) = 18010777 bytes +SHA1 (handbrake/ffmpeg-4.1.tar.bz2) = dbbecc574c0a57687271165a618353d4ddbd8cfa +RMD160 (handbrake/ffmpeg-4.1.tar.bz2) = 0baa9ea7abc780a3093bffadd0291676ea5c7f7b +SHA512 (handbrake/ffmpeg-4.1.tar.bz2) = ccf6d07268dc47e08ca619eb182a003face2a8ee73ec1a28157330dd7de1df88939def1fc1c7e6b6ac7b59752cdad84657d589b2fafb73e14e5ef03fb6e33417 +Size (handbrake/ffmpeg-4.1.tar.bz2) = 10687291 bytes +SHA1 (handbrake/libbluray-1.0.2.tar.bz2) = 025ef1c0a25b42f4a13a9fb2df09fc9cef1a821b +RMD160 (handbrake/libbluray-1.0.2.tar.bz2) = 37ac4f42277f7feb79ee9b99c5d4870b1e4bfddf +SHA512 (handbrake/libbluray-1.0.2.tar.bz2) = e1360ad08aa6cc67a80efa81a09004faebbe31105f1961494f82f655e3e7378b198ee3bc534b0d0c2bfec726939b11b545cc8bbfa30794fc647432dadf71089b +Size (handbrake/libbluray-1.0.2.tar.bz2) = 733058 bytes +SHA1 (handbrake/libdvdnav-6.0.0.tar.bz2) = 09be41ff1b4e83465eb27528ba6c8325e8f054b0 +RMD160 (handbrake/libdvdnav-6.0.0.tar.bz2) = 0b972d4bb872135f8b6c206163373ee9b4454ea7 +SHA512 (handbrake/libdvdnav-6.0.0.tar.bz2) = 89d1e976d8f1cc92692e86e793403759b4d705682ba7418dcfd7dd3c38861238cead303fe4baa2059ebd7e9b82a77bbdbf32e50b20848e78939ee9e75d1b96d4 +Size (handbrake/libdvdnav-6.0.0.tar.bz2) = 369605 bytes +SHA1 (handbrake/libdvdread-6.0.0.tar.bz2) = 5a01d1e6196a6ceff363455951e3682b231a3b78 +RMD160 (handbrake/libdvdread-6.0.0.tar.bz2) = 0560ca14836495f8028e504827e23c135590183b +SHA512 (handbrake/libdvdread-6.0.0.tar.bz2) = b07179f2f665adf6ddd7bf8b7c48cd279f3f413c5719b8ca8467e53c7cd0cac02a40101f3717186dc0e4e69e5d9c7ac6bf98a76901412d74150b9fc7bfdd2479 +Size (handbrake/libdvdread-6.0.0.tar.bz2) = 394627 bytes +SHA1 (handbrake/libvpx-1.7.0.tar.gz) = fb3d4b80596d1e3b1a7f53757d63e7d2b3eeb7c9 +RMD160 (handbrake/libvpx-1.7.0.tar.gz) = 3af78fbfad1c3a2398054c6cf6df626216b67160 +SHA512 (handbrake/libvpx-1.7.0.tar.gz) = 8b3b766b550f8d86907628d7ed88035f9a2612aac21542e0fd5ad35b905eb82cbe1be02a1a24afce7a3bcc4766f62611971f72724761996b392136c40a1e7ff0 +Size (handbrake/libvpx-1.7.0.tar.gz) = 2679797 bytes +SHA1 (handbrake/nv-codec-headers-8.1.24.2.tar.gz) = d500263b2fd92a32ac383ac87762648ecf8d325b +RMD160 (handbrake/nv-codec-headers-8.1.24.2.tar.gz) = 50efbad1155bfebfb2fe340ed6dd88ddfb5b8aac +SHA512 (handbrake/nv-codec-headers-8.1.24.2.tar.gz) = daa45ae8bcc11eb6b8d671c2d720d5c3edce9e4ef68f913ed25a8c4d1a4b165e0576b03eff9ce2fe355156ab5a5d8d74573158ef190feec5cfb5ac0838e0caa7 +Size (handbrake/nv-codec-headers-8.1.24.2.tar.gz) = 53627 bytes +SHA1 (handbrake/x265_2.9.tar.gz) = 3c005b4ab409c6f996b36ad88d780ff85fbc9abf +RMD160 (handbrake/x265_2.9.tar.gz) = ea6772ec426c141eb1756cdf6bb2def3d6319f47 +SHA512 (handbrake/x265_2.9.tar.gz) = 270818c7fd84947fde371e32bef225c1880cfb0bcd95378d95b51f50577a134d7cd585fcdfa43b103a24d76c5ad826b09509a07eb9e208e8f2b56f2f77365cf3 +Size (handbrake/x265_2.9.tar.gz) = 1385848 bytes +SHA1 (patch-contrib_libbluray_P02-netbsd-configure.patch) = 00faf70aa66f15936a833aa22f9e656265143d69 +SHA1 (patch-libhb_fifo.c) = 4644cd76e40dd9969136516a532bad86ab0d1df1 +SHA1 (patch-libhb_module.defs) = 237c0e86ac2ced0c8266c88403506bcf0e8d6bde +SHA1 (patch-make_configure.py) = eed0c1f7ce970d0bd57883612f130e30f323f816 +SHA1 (patch-make_include_main.defs) = a605c6d45d3b7d9f5f55873a5a7f3a483d49d65d +SHA1 (patch-make_variant_netbsd.defs) = aa8e1c8dc51b7c426426e671970253a1ad05c98f diff --git a/multimedia/handbrake/files/patch-ffmpeg-nodocs.patch b/multimedia/handbrake/files/patch-ffmpeg-nodocs.patch deleted file mode 100644 index 7a9e9146996..00000000000 --- a/multimedia/handbrake/files/patch-ffmpeg-nodocs.patch +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ffmpeg-nodocs.patch,v 1.1.1.1 2009/01/21 14:15:15 jmcneill Exp $ - ---- configure.orig 2009-01-20 20:56:24.000000000 -0500 -+++ configure 2008-09-28 19:29:23.000000000 -0400 -@@ -1784,7 +1784,7 @@ - restore_flags - fi - --texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html -+disable texi2html - - ########################################## - # Network check diff --git a/multimedia/handbrake/patches/patch-aa b/multimedia/handbrake/patches/patch-aa deleted file mode 100644 index b502c2e7b06..00000000000 --- a/multimedia/handbrake/patches/patch-aa +++ /dev/null @@ -1,32 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2009/04/28 11:57:54 hasso Exp $ - ---- Makefile.orig 2008-11-21 15:54:03.000000000 -0500 -+++ Makefile -@@ -1,6 +1,15 @@ - include Makefile.config - - SYSTEM = $(shell uname -s) -+ifeq ($(SYSTEM),Linux) -+ SYSTEM = UNIX -+endif -+ifeq ($(SYSTEM),NetBSD) -+ SYSTEM = UNIX -+endif -+ifeq ($(SYSTEM),DragonFly) -+ SYSTEM = UNIX -+endif - - # Special case for Mac OS X: everything is handled from the Xcode project - -@@ -68,9 +74,9 @@ cli-snapshot-release: - endif - - # --# Linux -+# UNIX - # --ifeq ($(SYSTEM),Linux) -+ifeq ($(SYSTEM),UNIX) - - snapshot: unstable-libhb/hbversion.h all - diff --git a/multimedia/handbrake/patches/patch-ab b/multimedia/handbrake/patches/patch-ab deleted file mode 100644 index 9f46576b582..00000000000 --- a/multimedia/handbrake/patches/patch-ab +++ /dev/null @@ -1,39 +0,0 @@ -$NetBSD: patch-ab,v 1.2 2009/04/28 11:57:54 hasso Exp $ - ---- contrib/Makefile.orig 2008-06-17 18:32:05.000000000 -0400 -+++ contrib/Makefile -@@ -1,6 +1,16 @@ - # Contrib Makefile - - SYSTEM = $(shell uname -s) -+ifeq ($(SYSTEM),Linux) -+ SYSTEM = UNIX -+endif -+ifeq ($(SYSTEM),NetBSD) -+ SYSTEM = UNIX -+endif -+ifeq ($(SYSTEM),DragonFly) -+ SYSTEM = UNIX -+endif -+ - - # Special case for Mac OS X: everything is handled from the Xcode project - ifeq ($(SYSTEM),Darwin) -@@ -11,7 +18,7 @@ ifeq ($(SYSTEM),Darwin) - all: .contrib - - .contrib: -- ( cd .. ; ./configure ; cd contrib ; cp -f ../config.jam . ; ../jam ) -+ ( cd .. ; ./configure ; cd contrib ; cp -f ../config.jam . ; ../jam -q ) - - clean: - ( echo "Do a make mrproper to remove the contrib libraries ) -@@ -21,7 +28,7 @@ mrproper: - - endif - --ifeq ($(SYSTEM),Linux) -+ifeq ($(SYSTEM),UNIX) - - all: .contrib - diff --git a/multimedia/handbrake/patches/patch-ac b/multimedia/handbrake/patches/patch-ac deleted file mode 100644 index c3cf2ceceb0..00000000000 --- a/multimedia/handbrake/patches/patch-ac +++ /dev/null @@ -1,45 +0,0 @@ -$NetBSD: patch-ac,v 1.2 2009/04/28 11:57:55 hasso Exp $ - ---- configure.orig 2008-09-30 22:17:10 +0300 -+++ configure 2009-03-22 03:12:13 +0200 -@@ -5,7 +5,7 @@ CXX="g++" - CCFLAGS="$CCFLAGS -Wall -g" - OPTIM="$OPTIM -O3 -funroll-loops" - LINKLIBS="-lz -lbz2" --MAKE=make -+MAKE=gmake - - # System-specific flags - SYSTEM=`uname -s` -@@ -46,6 +46,11 @@ case $SYSTEM in - DEFINES="$DEFINES SYS_NETBSD USE_PTHREAD" - LINKLIBS="$LINKLIBS -lpthread" - ;; -+ -+ DragonFly) -+ DEFINES="$DEFINES SYS_DRAGONFLY USE_PTHREAD" -+ LINKLIBS="$LINKLIBS -lpthread" -+ ;; - - Linux) - DEFINES="$DEFINES SYS_LINUX USE_PTHREAD _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64" -@@ -85,19 +90,6 @@ else - fi - rm -f testconf.c testconf - --# --# Use Gnu make when available over the built in make --# --if ( make --version | grep GNU ) > /dev/null 2>&1 --then --MAKE=make --elif ( gmake --version | grep GNU ) > /dev/null 2>&1 --then --MAKE=gmake --else --MAKE=make --fi -- - # Unless the user wants a release build, configure for SVN snapshots - if test "$1" = "--release" || test "$2" = "--release"; then - SNAPSHOT=0 diff --git a/multimedia/handbrake/patches/patch-ad b/multimedia/handbrake/patches/patch-ad deleted file mode 100644 index 2179e84e9fe..00000000000 --- a/multimedia/handbrake/patches/patch-ad +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-ad,v 1.1.1.1 2009/01/21 14:15:15 jmcneill Exp $ - ---- contrib/Jamfile.orig 2008-10-27 19:29:19.000000000 -0400 -+++ contrib/Jamfile -@@ -80,6 +80,7 @@ rule LibAvCodec - FFMPEG_PATCH = "$(PATCH) -p0 < ../patch-ffmpeg.patch" ; - FFMPEG_PATCH += " && $(PATCH) -p0 < ../patch-ffmpeg-latm.patch " ; - FFMPEG_PATCH += " && $(PATCH) -p0 < ../patch-ffmpeg-mpegleak.patch " ; -+ FFMPEG_PATCH += " && $(PATCH) -p0 < ../patch-ffmpeg-nodocs.patch " ; - if $(OS) = CYGWIN - { - FFMPEG_PATCH += " && $(PATCH) -p1 < ../patch-ffmpeg-cygwin.patch " ; -@@ -98,6 +99,10 @@ rule LibAvCodec - # - FFMPEG_EXTRA_OPTIONS = "--disable-vis --disable-demuxer=mpc8 --disable-vhook --disable-network" ; - } -+ else -+ { -+ FFMPEG_EXTRA_OPTIONS = "--enable-memalign-hack --disable-devices" ; -+ } - - Depends $(<) : $(>) ; - Depends lib : $(<) ; diff --git a/multimedia/handbrake/patches/patch-ae b/multimedia/handbrake/patches/patch-ae deleted file mode 100644 index d1ac67d211d..00000000000 --- a/multimedia/handbrake/patches/patch-ae +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ae,v 1.2 2009/04/28 11:57:55 hasso Exp $ - ---- libhb/fifo.c.orig 2009-01-20 20:53:21.000000000 -0500 -+++ libhb/fifo.c -@@ -147,7 +147,7 @@ hb_buffer_t * hb_buffer_init( int size ) - - if (size) - { --#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD ) -+#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD ) || defined( SYS_NETBSD ) || defined( SYS_DRAGONFLY ) - b->data = malloc( b->alloc ); - #elif defined( SYS_CYGWIN ) - /* FIXME */ diff --git a/multimedia/handbrake/patches/patch-af b/multimedia/handbrake/patches/patch-af deleted file mode 100644 index 2ca5858e1c5..00000000000 --- a/multimedia/handbrake/patches/patch-af +++ /dev/null @@ -1,38 +0,0 @@ -$NetBSD: patch-af,v 1.2 2009/04/28 11:57:55 hasso Exp $ - ---- libhb/ports.c.orig 2008-10-09 20:41:15.000000000 -0400 -+++ libhb/ports.c 2009-01-21 08:57:58.000000000 -0500 -@@ -16,6 +16,11 @@ - #include <sys/processor.h> - #endif - -+#if defined( SYS_NETBSD ) || defined( SYS_DRAGONFLY ) -+#include <sys/param.h> -+#include <sys/sysctl.h> -+#endif -+ - #if USE_PTHREAD - #include <pthread.h> - #endif -@@ -76,7 +81,7 @@ void hb_snooze( int delay ) - } - #if defined( SYS_BEOS ) - snooze( 1000 * delay ); --#elif defined( SYS_DARWIN ) || defined( SYS_LINUX ) || defined( SYS_FREEBSD) || defined( SYS_SunOS ) -+#elif defined( SYS_DARWIN ) || defined( SYS_LINUX ) || defined( SYS_FREEBSD) || defined( SYS_SunOS ) || defined( SYS_NETBSD ) || defined( SYS_DRAGONFLY ) - usleep( 1000 * delay ); - #elif defined( SYS_CYGWIN ) - Sleep( delay ); -@@ -124,6 +129,12 @@ int hb_get_cpu_count() - fclose( info ); - } - -+#elif defined( SYS_NETBSD ) || defined( SYS_DRAGONFLY ) -+ size_t oldlen = sizeof( cpu_count ); -+ -+ if ( sysctlbyname( "hw.ncpu", &cpu_count, &oldlen, NULL, 0 ) != 0 ) -+ cpu_count = 1; -+ - #elif defined( SYS_LINUX ) - { - FILE * info; diff --git a/multimedia/handbrake/patches/patch-ag b/multimedia/handbrake/patches/patch-ag deleted file mode 100644 index 1245fd6f99d..00000000000 --- a/multimedia/handbrake/patches/patch-ag +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ag,v 1.2 2009/04/28 11:57:55 hasso Exp $ - ---- libhb/ports.h.orig 2009-01-20 20:52:23.000000000 -0500 -+++ libhb/ports.h -@@ -37,7 +37,7 @@ typedef struct hb_thread_s hb_thread_t; - #elif defined( SYS_DARWIN ) - # define HB_LOW_PRIORITY 0 - # define HB_NORMAL_PRIORITY 31 --#elif defined( SYS_LINUX ) || defined( SYS_FREEBSD ) || defined ( SYS_SunOS ) -+#elif defined( SYS_LINUX ) || defined( SYS_FREEBSD ) || defined ( SYS_SunOS ) || defined( SYS_NETBSD ) || defined( SYS_DRAGONFLY ) - # define HB_LOW_PRIORITY 0 - # define HB_NORMAL_PRIORITY 0 - #elif defined( SYS_CYGWIN ) diff --git a/multimedia/handbrake/patches/patch-ah b/multimedia/handbrake/patches/patch-ah deleted file mode 100644 index e2f06c74989..00000000000 --- a/multimedia/handbrake/patches/patch-ah +++ /dev/null @@ -1,16 +0,0 @@ -$NetBSD: patch-ah,v 1.1.1.1 2009/01/21 14:15:15 jmcneill Exp $ - ---- test/Makefile.orig 2009-01-20 21:27:22.000000000 -0500 -+++ test/Makefile 2009-01-20 21:27:40.000000000 -0500 -@@ -15,7 +15,11 @@ ifeq ($(findstring CYGWIN_NT,$(SYSTEM)), - LIBS2 += $(CYGLIBS:%=../contrib/lib/libz.a) $(CYGLIBS:%=../contrib/lib/libbz2.a) - endif - -+ifeq ($(SYSTEM),NetBSD) -+LDFLAGS += $(LIBS2) -lbz2 -+else - LDFLAGS += $(LIBS2) -lbz2 -ldl -+endif - - ../HandBrakeCLI: test.c parsecsv.c $(LIBS2) - @CMD="$(CC) $(CFLAGS) -o test.o -c test.c"; $$CMD || \ diff --git a/multimedia/handbrake/patches/patch-ai b/multimedia/handbrake/patches/patch-ai deleted file mode 100644 index d90bb6bc3da..00000000000 --- a/multimedia/handbrake/patches/patch-ai +++ /dev/null @@ -1,49 +0,0 @@ -$NetBSD: patch-ai,v 1.1.1.1 2009/01/21 14:15:15 jmcneill Exp $ - ---- gtk/src/main.c.orig 2009-01-20 21:29:05.000000000 -0500 -+++ gtk/src/main.c 2009-01-20 21:39:06.000000000 -0500 -@@ -429,8 +429,13 @@ IoRedirect(signal_user_data_t *ud) - g_free(config); - // Set encoding to raw. - g_io_channel_set_encoding (ud->activity_log, NULL, NULL); -+#ifdef __NetBSD__ -+ stderr->_file = pfd[1]; -+ stdin->_file = pfd[0]; -+#else - stderr->_fileno = pfd[1]; - stdin->_fileno = pfd[0]; -+#endif - channel = g_io_channel_unix_new (pfd[0]); - // I was getting an this error: - // "Invalid byte sequence in conversion input" -@@ -457,7 +462,6 @@ static GOptionEntry entries[] = - { NULL } - }; - --#if defined(__linux__) - void drive_changed_cb(GVolumeMonitor *gvm, GDrive *gd, signal_user_data_t *ud); - //void drive_disconnected_cb(GnomeVFSVolumeMonitor *gvm, GnomeVFSDrive *gd, signal_user_data_t *ud); - -@@ -470,12 +474,6 @@ watch_volumes(signal_user_data_t *ud) - g_signal_connect(gvm, "drive-changed", (GCallback)drive_changed_cb, ud); - //g_signal_connect(gvm, "drive-connected", (GCallback)drive_connected_cb, ud); - } --#else --void --watch_volumes(signal_user_data_t *ud) --{ --} --#endif - - // Hack to avoid a segfault in libavcodec - extern int mm_flags; -@@ -511,9 +509,7 @@ main (int argc, char *argv[]) - ghb_resource_init(); - ghb_load_icons(); - --#if defined(__linux__) - ghb_hal_init(); --#endif - - ud = g_malloc0(sizeof(signal_user_data_t)); - ud->debug = ghb_debug; diff --git a/multimedia/handbrake/patches/patch-aj b/multimedia/handbrake/patches/patch-aj deleted file mode 100644 index 2f437434757..00000000000 --- a/multimedia/handbrake/patches/patch-aj +++ /dev/null @@ -1,38 +0,0 @@ -$NetBSD: patch-aj,v 1.1.1.1 2009/01/21 14:15:15 jmcneill Exp $ - ---- gtk/src/ghb-dvd.c.orig 2009-01-20 21:34:27.000000000 -0500 -+++ gtk/src/ghb-dvd.c 2009-01-20 21:34:56.000000000 -0500 -@@ -315,7 +315,6 @@ ghb_dvd_volname(const gchar *device) - } - #endif - --#if defined(__linux__) - gchar* - ghb_resolve_symlink(const gchar *name) - { -@@ -359,12 +358,10 @@ ghb_resolve_symlink(const gchar *name) - g_object_unref(gfile); - return file; - } --#endif - - void - ghb_dvd_set_current(const gchar *name, signal_user_data_t *ud) - { --#if defined(__linux__) - GFile *gfile; - GFileInfo *info; - gchar *resolved = ghb_resolve_symlink(name); -@@ -394,12 +391,4 @@ ghb_dvd_set_current(const gchar *name, s - g_free(resolved); - } - g_object_unref(gfile); --#else -- if (ud->current_dvd_device != NULL) -- { -- g_free(ud->current_dvd_device); -- ud->current_dvd_device = NULL; -- } -- ud->current_dvd_device = g_strdup(name);; --#endif - } diff --git a/multimedia/handbrake/patches/patch-contrib_libbluray_P02-netbsd-configure.patch b/multimedia/handbrake/patches/patch-contrib_libbluray_P02-netbsd-configure.patch new file mode 100644 index 00000000000..d799b861b8f --- /dev/null +++ b/multimedia/handbrake/patches/patch-contrib_libbluray_P02-netbsd-configure.patch @@ -0,0 +1,20 @@ +$NetBSD: patch-contrib_libbluray_P02-netbsd-configure.patch,v 1.1 2019/03/01 23:51:48 ryoon Exp $ + +* Fix internal libbluray build on NetBSD. See file name of this patch. + +--- contrib/libbluray/P02-netbsd-configure.patch.orig 2019-03-01 15:01:26.529238549 +0000 ++++ contrib/libbluray/P02-netbsd-configure.patch +@@ -0,0 +1,13 @@ ++--- libbluray-1.0.2/configure.orig 2017-12-04 00:27:38.000000000 +0900 +++++ libbluray-1.0.2/configure 2018-04-09 20:47:19.504645000 +0900 ++@@ -14,6 +14,10 @@ ++ ## M4sh Initialization. ## ++ ## -------------------- ## ++ +++if test `uname` = 'NetBSD' ; then +++ ln -s linux/jni_md.h jni/jni_md.h +++fi +++ ++ # Be more Bourne compatible ++ DUALCASE=1; export DUALCASE # for MKS sh ++ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : diff --git a/multimedia/handbrake/patches/patch-gtk_Makefile.am b/multimedia/handbrake/patches/patch-gtk_Makefile.am deleted file mode 100644 index 78eee3d334e..00000000000 --- a/multimedia/handbrake/patches/patch-gtk_Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-gtk_Makefile.am,v 1.1 2013/01/26 23:26:19 wiz Exp $ - -Disable empty po directory. - ---- gtk/Makefile.am.orig 2008-06-17 22:32:05.000000000 +0000 -+++ gtk/Makefile.am -@@ -1,7 +1,7 @@ - ## Process this file with automake to produce Makefile.in - ## Created by Anjuta - --SUBDIRS = src po -+SUBDIRS = src - - ghbdocdir = ${prefix}/share/doc/ghb - ghbdoc_DATA = \ diff --git a/multimedia/handbrake/patches/patch-gtk_configure.ac b/multimedia/handbrake/patches/patch-gtk_configure.ac deleted file mode 100644 index 2c408ba321b..00000000000 --- a/multimedia/handbrake/patches/patch-gtk_configure.ac +++ /dev/null @@ -1,46 +0,0 @@ -$NetBSD: patch-gtk_configure.ac,v 1.2 2013/05/26 12:55:44 wiz Exp $ - -automake-1.13 compat. - ---- gtk/configure.ac.orig 2008-11-09 19:12:00.000000000 +0000 -+++ gtk/configure.ac -@@ -3,14 +3,13 @@ dnl Created by Anjuta application wizard - - AC_INIT(ghb, 0.1) - --AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) --AM_CONFIG_HEADER(config.h) -+AM_INIT_AUTOMAKE -+AC_CONFIG_HEADERS(config.h) - AM_MAINTAINER_MODE - - AC_ISC_POSIX - AC_PROG_CC - AC_PROG_CXX --AM_PROG_CC_STDC - AC_HEADER_STDC - - # introduce the optional configure parameter for the path of libXXX.a -@@ -51,16 +50,9 @@ AC_SUBST(GLOBALLDFLAGS, $LDFLAGS ) - - - --dnl *************************************************************************** --dnl Internatinalization --dnl *************************************************************************** - GETTEXT_PACKAGE=ghb - AC_SUBST(GETTEXT_PACKAGE) - AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name]) --AM_GLIB_GNU_GETTEXT --IT_PROG_INTLTOOL([0.35.0]) -- -- - - AM_PROG_LIBTOOL - -@@ -80,5 +69,4 @@ AC_SUBST(GHB_LIBS) - AC_OUTPUT([ - Makefile - src/Makefile --po/Makefile.in - ]) diff --git a/multimedia/handbrake/patches/patch-libhb_fifo.c b/multimedia/handbrake/patches/patch-libhb_fifo.c new file mode 100644 index 00000000000..487280de4d6 --- /dev/null +++ b/multimedia/handbrake/patches/patch-libhb_fifo.c @@ -0,0 +1,42 @@ +$NetBSD: patch-libhb_fifo.c,v 1.1 2019/03/01 23:51:48 ryoon Exp $ + +* NetBSD has no memalign + +--- libhb/fifo.c.orig 2019-02-22 16:23:51.000000000 +0000 ++++ libhb/fifo.c +@@ -13,7 +13,7 @@ + #endif + + #ifndef SYS_DARWIN +-#if defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) ++#if defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined(__NetBSD__) + #include <stdlib.h> + #else + #include <malloc.h> +@@ -395,7 +395,7 @@ hb_buffer_t * hb_buffer_init_internal( i + + if (size) + { +-#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined( SYS_MINGW ) ++#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined( SYS_MINGW ) || defined(__NetBSD__) + b->data = malloc( b->alloc ); + #elif defined( SYS_CYGWIN ) + /* FIXME */ +@@ -821,7 +821,7 @@ hb_image_t * hb_image_init(int pix_fmt, + { + return NULL; + } +-#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined( SYS_MINGW ) ++#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined( SYS_MINGW ) || defined(__NetBSD__) + image->data = malloc(size); + #elif defined( SYS_CYGWIN ) + /* FIXME */ +@@ -862,7 +862,7 @@ hb_image_t * hb_buffer_to_image(hb_buffe + { + hb_image_t *image = calloc(1, sizeof(hb_image_t)); + +-#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined( SYS_MINGW ) ++#if defined( SYS_DARWIN ) || defined( SYS_FREEBSD ) || defined ( __FreeBSD__ ) || defined( SYS_MINGW ) || defined(__NetBSD__) + image->data = malloc( buf->size ); + #elif defined( SYS_CYGWIN ) + /* FIXME */ diff --git a/multimedia/handbrake/patches/patch-libhb_module.defs b/multimedia/handbrake/patches/patch-libhb_module.defs new file mode 100644 index 00000000000..37fac2e2c00 --- /dev/null +++ b/multimedia/handbrake/patches/patch-libhb_module.defs @@ -0,0 +1,16 @@ +$NetBSD: patch-libhb_module.defs,v 1.1 2019/03/01 23:51:48 ryoon Exp $ + +* Use includes from pkgsrc + +--- libhb/module.defs.orig 2019-02-22 16:23:51.000000000 +0000 ++++ libhb/module.defs +@@ -51,6 +51,9 @@ LIBHB.GCC.I += $(LIBHB.build/) $(CONTRIB + ifeq ($(BUILD.system),freebsd) + LIBHB.GCC.I += $(LOCALBASE)/include + LIBHB.GCC.I += $(LOCALBASE)/include/libxml2 ++else ifeq ($(BUILD.system),netbsd) ++ LIBHB.GCC.I += $(LOCALBASE)/include ++ LIBHB.GCC.I += $(LOCALBASE)/include/libxml2 + else ifneq (,$(filter $(BUILD.system),darwin cygwin mingw)) + LIBHB.GCC.I += $(CONTRIB.build/)include/libxml2 + else diff --git a/multimedia/handbrake/patches/patch-make_configure.py b/multimedia/handbrake/patches/patch-make_configure.py new file mode 100644 index 00000000000..afce4be58c3 --- /dev/null +++ b/multimedia/handbrake/patches/patch-make_configure.py @@ -0,0 +1,15 @@ +$NetBSD: patch-make_configure.py,v 1.1 2019/03/01 23:51:48 ryoon Exp $ + +* Disable nvenc on NetBSD + +--- make/configure.py.orig 2019-02-22 16:23:51.000000000 +0000 ++++ make/configure.py +@@ -1327,7 +1327,7 @@ def createCLI(): + grp.add_option( '--disable-ffmpeg-aac', dest="enable_ffmpeg_aac", action='store_false' ) + + h = IfHost( 'enable Nvidia NVEnc video encoder', '*-*-*', none=optparse.SUPPRESS_HELP ).value +- grp.add_option( '--enable-nvenc', dest="enable_nvenc", default=not (host.match( '*-*-darwin*' ) or host.match( '*-*-freebsd*' )), action='store_true', help=h ) ++ grp.add_option( '--enable-nvenc', dest="enable_nvenc", default=not (host.match( '*-*-darwin*' ) or host.match( '*-*-freebsd*' ) or host.match( '*-*-netbsd*')), action='store_true', help=h ) + + + cli.add_option_group( grp ) diff --git a/multimedia/handbrake/patches/patch-make_include_main.defs b/multimedia/handbrake/patches/patch-make_include_main.defs new file mode 100644 index 00000000000..4e4722b59e7 --- /dev/null +++ b/multimedia/handbrake/patches/patch-make_include_main.defs @@ -0,0 +1,18 @@ +$NetBSD: patch-make_include_main.defs,v 1.1 2019/03/01 23:51:48 ryoon Exp $ + +* Build GUI on NetBSD + +--- make/include/main.defs.orig 2019-02-22 16:23:51.000000000 +0000 ++++ make/include/main.defs +@@ -135,6 +135,11 @@ ifeq (1-gnu,$(FEATURE.gtk)-$(BUILD.syste + MODULES += gtk + endif + ++ifeq (1-netbsd,$(FEATURE.gtk)-$(BUILD.system)) ++ ## build gtk when gtk+netbsd ++ MODULES += gtk ++endif ++ + ############################################################################### + + MODULES += pkg diff --git a/multimedia/handbrake/patches/patch-make_variant_netbsd.defs b/multimedia/handbrake/patches/patch-make_variant_netbsd.defs new file mode 100644 index 00000000000..8a6fa92d8ba --- /dev/null +++ b/multimedia/handbrake/patches/patch-make_variant_netbsd.defs @@ -0,0 +1,25 @@ +$NetBSD: patch-make_variant_netbsd.defs,v 1.1 2019/03/01 23:51:48 ryoon Exp $ + +* Basic definitions for NetBSD + +--- make/variant/netbsd.defs.orig 2019-03-01 13:37:26.511529480 +0000 ++++ make/variant/netbsd.defs +@@ -0,0 +1,18 @@ ++# LOCALBASE is where NetBSD packages are installed. default is '/usr/pkg'. ++LOCALBASE ?= /usr/pkg ++ ++TARGET.dylib.ext = .so ++ ++GCC.D = LIBICONV_PLUG ++ ++GCC.args.dylib = -shared ++GCC.args.pic = 1 ++ ++GCC.args.g.none = -g0 ++GCC.args.g.min = -g1 ++GCC.args.g.std = -g2 ++GCC.args.g.max = -g3 ++ ++GCC.MAJOR_VERSION = $(shell $(GCC.gcc) -dumpversion | cut -f 1 -d .) ++GCC.LDFLAGS = ++LDFLAGS += $(if $(findstring gcc, $(GCC.gcc)), $(GCC.LDFLAGS), ) |