John Stebbins [Tue, 12 Jun 2018 19:09:59 +0000 (12:09 -0700)]
LinGui: change language lists from GtkListBox to GtkTreeView
The GtkTreeView is more flexible and more capable. Languages can be
searched for in the GtkTreeView by focusing the widget and typing what
you want to find. Double clicking an item in the list will add or
remove it from the "selected" languages list in audio and subtitle track
selection settings.
John Stebbins [Mon, 11 Jun 2018 22:15:01 +0000 (15:15 -0700)]
LinGui: add search function to language popups
The language list is long and displays native names while sorted by
English names, so it is difficult to find a language. This adds the
ability to "search" for a language based on it's initial character.
Typing a character will jump to the next entry that starts with that
character in its native name.
Bradley Sepos [Mon, 11 Jun 2018 01:22:43 +0000 (21:22 -0400)]
contrib: Add compatibility patches for libvpx.
The avx-512 patch should avoid breakage with wonky compilers and older systems such as macOS <= 10.11. The pthread detection patch can be applied more generally but really is a safety check targeting win32.
John Stebbins [Fri, 8 Jun 2018 17:47:03 +0000 (10:47 -0700)]
flatpak: add --filesystem=host to sandbox permissions
GtkFileChooserNative is required in order to use the document portal.
Using this file chooser will require significant rework of source
selection, so enable host filesystem access until I can do this.
The CLI will need host filesystem access anyway since it can't use the
document portal.
Damiano Galassi [Fri, 8 Jun 2018 14:59:25 +0000 (16:59 +0200)]
MacGui: set the minimum deployment target to 10.10. Remove Growl and use macOS standard notifications. Remove deprecated API usage and code that doesn't compile anymore (QTKit).
OARS https://hughsie.github.io/oars/ is a content description
system that allows software stores (such as GNOME Software) to
categorise and classify applications. Having the markup available
is a flathub requirement.
Nick Richards [Fri, 8 Jun 2018 14:41:47 +0000 (15:41 +0100)]
Add OARS metadata to appdata (#1397)
OARS https://hughsie.github.io/oars/ is a content description system that allows software stores (such as GNOME Software) to categorise and classify applications. Having the markup available is a flathub requirement.
John Stebbins [Wed, 6 Jun 2018 23:20:34 +0000 (16:20 -0700)]
scripts: add script for creating flatpak manifests
This script can generate manifests that are suitable for submitting to
flathub for publishing to their repository. It can also be used for
generating manifests suitable for building local flatpak bundles and is
used during 'make pkg.create.flatpak'
Damiano Galassi [Wed, 6 Jun 2018 10:36:59 +0000 (12:36 +0200)]
MacGui: make it possible to resize down the "add titles to queue" toolbar button icon. It won't get as small as the others toolbar icon, but it's as good as it can get now. Fixes #1318
John Stebbins [Mon, 4 Jun 2018 18:04:11 +0000 (11:04 -0700)]
decavcodec: fix issues with audio that has no explicit channel_layout
ffmpeg doesn't set a default channel layout for audio that has no
explicit layout (e.g. pcm_216le). So we need to guess it from the
number of channels.
Fixes "no audio" in https://github.com/HandBrake/HandBrake/issues/1387
John Stebbins [Sun, 3 Jun 2018 21:19:46 +0000 (14:19 -0700)]
libvpx: fix vpx.pc pkg-config file for static builds (#1385)
The generated vpx.pc file results in undefined symbols during ffmpeg's
configure tests. libpthread is not getting added to the link line as
required. The vpx.pc file needs to include -lpthread in the Libs instead
of Libs.private when generating only a static library.
John Stebbins [Sat, 2 Jun 2018 18:05:48 +0000 (11:05 -0700)]
opus: fix opus.pc pkg-config file for static builds (#1380)
The generated opus.pc file results in undefined symbols during ffmpeg's
configure tests. libm is not getting added to the link line as
required. The opus.pc file needs to include -lm in the Libs instead of
Libs.private when generating *only* a static library.
Frederick Ding [Thu, 31 May 2018 07:35:03 +0000 (03:35 -0400)]
Update WinGUI build script: allow SignTool.exe location to be specified and assume x64 (#1376)
* WinGUI: fix `SignToolLocation` typos in build.xml
Previously, a mismatch between the condition (which checked for an empty `SignToolLocation`) and the action it took (by setting `SighToolLocation`) made it difficult to override the actual location of `SignTool.exe`. The bug was introduced in HandBrake/HandBrake@d375071be1158deb73ccb1d262310f15f231eca9
* WinGUI: Assume x64 platform in examples
Since 32-bit Windows is no longer supported (HandBrake/HandBrake@ecbd10efbdf286b9a5248fd0a870036cd4437360), the comment at the top of `build.xml` for WinGUI shouldn't need a platform property anymore. `build.xml` is already set to assume x64 as the default platform.
* WinGUI: minor typo fixes
Just a few aesthetic changes with no effect on functionality
John Stebbins [Wed, 30 May 2018 22:00:04 +0000 (15:00 -0700)]
scan: rationalize ffmpeg codec/profile names
ffmpeg is inconsistent in the format of returned profile names.
Sometimes the profile name includes the codec name and sometimes it does
not. So search for the codec name in the profile name and add codec
name if it's not there. Ugh!