SHA256
1
0
forked from pool/aegisub
aegisub/aegisub.spec

106 lines
3.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package aegisub
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define _rev 524c6114a82157b143567240884de3a6d030b091
%define gitname Aegisub
Name: aegisub
Version: 3.2.2+git20180710
Release: 0
Summary: Subtitle editor
License: BSD-3-Clause
Group: Productivity/Multimedia/Video/Editors and Convertors
Url: http://www.aegisub.org/
Source0: https://github.com/Aegisub/Aegisub/archive/%{_rev}.tar.gz#/aegisub-%{version}.tar.gz
Source99: changelog.txt
Patch1: Makefile.inc.in.patch
Patch2: remove-vendor-luajit-dependency.patch
Patch4: aegisub-no-optimize.patch
Patch5: luabins.patch
#PATCH-FIX-OPENSUSE - davejplater@gmail.com - aegisub-git-version.patch - Create git_version.h which is missing in git.
Patch7: aegisub-git-version.patch
#PATCH-FIX-UPSTREAM - 9@cirno.systems - aegisub-DataBlockCache-Fix-crash-in-cache-invalidation.patch - Fixes undefined behavior e.g. when scrolling the audio view in spectrogram mode.
Patch8: aegisub-DataBlockCache-Fix-crash-in-cache-invalidation.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: intltool
Accepting request 632319 from home:plater - Update to current git rev 524c6114a82157b143567240884de3a6d030b091 named version 3.2.2+git20180710 which builds against boost version 1.68, fixes boo#1105217 - Removed the following patches that are fixed upstream: aegisub.build-compare.patch, icu59.patch and aegisub-icu.patch. - Rebased Makefile.inc.in.patch, aegisub-no-optimize.patch and remove-vendor-luajit-dependency.patch. - Exclude i586 from build due to unexplainable missing library. - For upstream changes see: /usr/share/doc/packages/aegisub/changelog.txt - Use portable namespace in aegisub-icu.patch. - Created aegisub-icu.patch to fix build failure against icu4c-61_1 - Remove conditionals for ffms2 and boost - Added luabins.patch to fix build with lua 5.2 / 5.3. - Add constraints file to allow paralel build - Add changelog to files list to ensure plain rpmbuild to work - Do not bundle luajit remove-vendor-luajit-dependency.patch - Disable the version checking, calling home in desktop apps is really bad idea, esp since upstream is semi-dead - Add patch to fix build with icu59 icu59.patch - Add patch to not put O3 to the cflags aegisub-no-optimize.patch - Sort list of sources with aegisub.build-compare.patch - Require wxWidgets 3+ unconditional remove obsolete aegisub-old_wc.patch - use individual libboost-*-devel packages instead of boost-devel - Disable build on Power, there is no luajit yet - Fix build break by adding -pthread to LDFLAGS * Makefile.inc.in.patch - Updated to 3.2.2 * Update Spanish, Ukrainian, Hungarian and Finnish translations * Skip writing the Aegisub project stuff when exporting to ASS * Fix some ugliness in the OS X icon * Update the selection and scroll position after opening subtitles from video * Fix crash on a certain kind of malformed shift times history file * Don't set the YCbCr header field to "None" when resampling resolution without changing colors - Updated to 3.2.1 * Actually register the SSA file handler so that SSA files can be opened and exported * Deduplicate Extradata entries created by Automation scripts * Fix loading subtitles from Matroska files which have [Aegisub Extradata] sections * Handle parsing errors when loading Shift Times history * Add Ukrainian UI translation - Added: * aegisub-3.2.1.tar.xz - Removed: * aegisub-3.2.0.tar.xz - remove conflict with lua 5.2, seems outdated - Switch from wxWidgets 2.9 to stable-3.0 for openSUSE 13.2 - Removed old tarball aegisub-3.1.3.tar.xz - Updated to 3.2.0 * Audio caching is now done in the background rather than popping up a modal progress dialog * The audio display is automatically scrolled to the active line when audio is first opened (if that option is enabled) * Drag all selected lines when Alt is held down when dragging in the audio display * Automation now uses LuaJIT in Lua 5.2 mode rather than Lua 5.1 * Text controls are "infinite" length rather than limited to 30k bytes * subs.delete can be passed a table of row numbers to delete * Add the luabins and lfs libraries to the automation environment * Filter out redundant progress updates so that they don't make everything incredibly slow * Add support for submenus in the automation menu (insert / in the macro name) * Add unicode case conversion functions to the automation module (unicode.to_upper_case, unicode.to_lower_case, unicode.to_fold_case) * Only process selected lines in the Select Overlaps macro if more than one line is selected * Add aegisub.project_properties() to get a table with stuff that used to be in the script info section of the file (but unlike the old script info entries, it's actually always up to date) * Fix loading automation scripts when Aegisub is installed to a path with non-ascii characters in it * Lua functions which take a path have been patched to support UTF-8 on Windows * Add a warning when a script using a bold or italic variant of a font that doesn't actually exist, as emboldening done by the renderer may not match what is seen in Aegisub * Make the installer translatable and use the language selected in the installer for Aegisub's UI language * Fix locale issues that could lead to find/replace stripping all non-ascii characters from a file * Use localized names for languages everywhere they're displayed rather than the English names * Make fontconfig indexing about four times as fast * Significantly speed up passing subtitles to the subtitle renderer (as much as 10x faster), making the video display less laggy with large files * Speed up indexing Matroska files * Significantly speed up reading subtitles from Matroska files * Cut idle CPU usage when Aegisub is in the background by about 90% * Cut down the disk space used a bit * Resample \be and \blur tags * Add support for converting between YCbCr matricies * Make the handling for AR-changing resampling a bit smarter * Use prettier string formatting for resampled numbers * Fix resampling drawings with AR changes * List the files which will be opened or closed in the Load/Unload files dialog * Support loading keyframes and timecodes files via drag-and-drop (#1749) * The edit box buttons (bold, italic, colors, etc.) try to do the right thing when multiple lines are selected, rather than just setting all of the lines to the active line's text * The subtitles grid has gained as Characters Per Second column, with customizable warning and error thresholds (#609) * Undo now restores the selected lines and cursor position that were active when the change being undone occured * Double-clicking on a word which is right next to a \N no longer selects the \N along with the word * Make default subtitle styles customizable: when creating a new file or importing from a format without style information, the styles from a catalog of your choice are automatically imported into the script (#962) * Add a button to open directly open the style editor for the current line's style (#1746) * Add Comment to the files which can be pasted over * Insert \N on shift-enter in the edit box * Fix incorrect cursor positions when using non-BMP unicode characters * The edit box's background color is now customizable * Fix crash when trying to open compressed tracks from Matroska * Add support for opening subtitle tracks with utterly insane CodecPrivate sections * Fix rounding error in the framerate calculations for CFR formats that sometimes lead to significantly wrong timestamps for long files * Add support for uncompressed RGB(A) files * Fix some of the issues with open-gop h264 files * Fix infinite loop when opening indexless matroska files (such as files written by x264 and not remuxed) * Fix some issues with interlaced h264 * Add support for HEVC * Add option to resample the script rather than just changing the script resolution when opening a video with different resolution (1382) * Several of the tools have been somewhat restyled to make them less obstructive * Hide drag handles for commented lines * Don't automatically select all control handle in the vector clip tool when switching to it, as there's now box selection of handles * Update all selected lines when the origin is dragged in the rotate tools - Update to 3.1.3 * Return a rgba string for coloralpha lua controls (rather than just rgb) * Update to moonscript 0.2.5 * Fix memory leaks when automation errors occur * Add an error check for trying to interact with an expired subtitles object rather than just crashing * Fix a crash when deleting lines with audio open * Sort the actor and effect dropdown lists (#1715) * Fix crash on startup when the config file can't be written * Fix some performance issues with very large selections * Fix some cases where the taskbar progress indicator would get stuck at nearly complete * Speed up passing subtitles to libass a bit * Fontconfig reads installed fonts from the registry on Windows, adding support for fonts installed via font managers to the fonts collector - Update to 3.1.2 * Make subs.deleterange(start, end) not do totally incorrect things * Fix some cases where the row to extend shift-click selections in the grid was not updated correctly * Fix assertion failure when built with boost 1.52 * New/updated translations - disable parallel make - it takes too much memory and OBS swaps - Update to 3.1.1 * New features and bug fixes. See http://www.aegisub.org/changelog/3.1.0/ and http://www.aegisub.org/changelog/3.1.1/ - Add aegisub-old_wc.patch - Update to 3.0.4 * Update Basque translation - Update to 3.0.3 * Fix crash when playing audio before time 0 * Round syllable durations to centiseconds when splitting syllables * Save the horizontal zoom correctly * Fix bug where FloatEdit controls would sometimes not report the selected value * Actually select the correct things in the Select Overlaps macro * Give temporary files proper extensions to make it easier to open them when something goes wrong * Show an error message when writing a file fails * Fix reading subtitles from Matroska * Fix a case where unicode characters would result in inconsistent and baffling errors when loading Lua scripts * Fix loading non-ascii actor names from plain-text files * Obey the option for setting the number of recently opened subtitle files to remember * Use Lua 5.1 when both it and 5.2 are available * Commit pending audio changes on Enter in the edit box * Add Dutch translation * Update Finnish translation * Update Arabic translation * Fix some cases where the detached video dialog would get set to bogus sizes * Add .m4v to the list of video file extensions * Fix loading y4m files * Release mouse capture from the visual tools when the zoom is changed - Removed aegisub-3.0.0-docdir.patch and aegisub-3.0.0-no_glu.patch, they have been applied upstream - Update to 3.0.2 * Allow framerate transform to/from variable without external timecodes loaded (#1530) * Honor the configured limits for the find/replace history (#1528) * Fix occassional non-error dialog when running multiple copies of Aegisub * Fix bug that sometimes resulted in later karaoke syllables moving when early ones were modified * Truncate overly long syllables rather than adjusting all of the other syllables to make them fit * Play right-clicked syllables * Fix splitting lines by karaoke (#1541) * Remove dependency on glu * Honor docdir and localedir configuration variables * Make it possible to type style names again * Break undo grouping after 30 seconds of inactivity rather than 10 * Switch the Duration field back to time mode when video is closed * Save a single wav containing all selected lines rather than a separate wav for each line with "Create audio clip" * Make pasting lines not horrible slow (#1534) * Make the correct row visible when selecting rows with shift + arrow keys in the grid (#1533) * Fix a few errors in the German translation (#1523) * Update Czech translation * Update Indonesian translation * Update Hungarian translation * Add partial Arabic translation (#1532) - Update to 3.0.1 * Updated Russian translation * Updated Greek translation * Partially update Finnish translation * Fixed some errors in the Portuguese translation * Fix packaging issues with the Serbian translation * Update the size of the karaoke syllable bar when the window is resized * Add scroll arrows to the karaoke syllable bar when the contents are too wide to fit * Change the color of the karaoke syllable split cursor to indicate whether it'll add or remove a split * Increase the hit area for removing karaoke splits a little * Remove the correct split when clicking to the left of a split line * Re-add the "Play current line" button to the audio toolbar * Stop video playback when the stop button is clicked in the audio toolbar as 2.1.9 did * Scroll the audio display after a click near an edge when auto-scrolling is enabled * Recenter the audio display if a newly selected line is very close to an edge in addition to if it's not fully onscreen, as 2.1 did * Fix subtitle timing issues after loading a timecodes file * Fix rounding error that resulted in 30000/1001 FPS video being treated as 30001/1001 FPS - Update to 3.0.0 * The audio display and related things such as the karaoke syllable splitting interface have been rewritten from scratch. The spectograph rendering is now much higher quality and faster, and many new features have been added. * Changes made in the main edit box and surrounding controls no longer have to be committed. Instead, changes are made to the file as you type, with the video display updating in real time. * See http://www.aegisub.org/changelog/3.0.0/ for details - Remove aegisub-2.1.9-system_libs.patch, aegisub-2.1.8.99.rev5789-ld.patch and aegisub-2.1.9-underlinking.patch. Fixed upstream. - Update aegisub-2.1.9-no_glu.patch to aegisub-3.0.0-no_glu.patch - Add aegisub-3.0.0-docdir.patch - Build only the two relevant audio output backends: ALSA and PulseAudio - The scripting system no longer supports Perl and Ruby, remove BuildRequires - Add aegisub-2.1.9-no_glu.patch - Remove explicit glu dependency. wxWidgets-devel is the one that should have it - Remove explicit xfixes,xdamage and xxf86vm dependencies. Mesa-libGL-devel is the one that should be fixed (probably removing the .la file) - Add explicit glu,xfixes,xdagame and xxf86vm dependency - Update to 2.1.9 - Update to 2.1.9 rev5789 - First package OBS-URL: https://build.opensuse.org/request/show/632319 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/aegisub?expand=0&rev=51
2018-08-30 15:45:33 +02:00
BuildRequires: libboost_chrono-devel
BuildRequires: libboost_filesystem-devel
BuildRequires: libboost_locale-devel
BuildRequires: libboost_regex-devel
Accepting request 632319 from home:plater - Update to current git rev 524c6114a82157b143567240884de3a6d030b091 named version 3.2.2+git20180710 which builds against boost version 1.68, fixes boo#1105217 - Removed the following patches that are fixed upstream: aegisub.build-compare.patch, icu59.patch and aegisub-icu.patch. - Rebased Makefile.inc.in.patch, aegisub-no-optimize.patch and remove-vendor-luajit-dependency.patch. - Exclude i586 from build due to unexplainable missing library. - For upstream changes see: /usr/share/doc/packages/aegisub/changelog.txt - Use portable namespace in aegisub-icu.patch. - Created aegisub-icu.patch to fix build failure against icu4c-61_1 - Remove conditionals for ffms2 and boost - Added luabins.patch to fix build with lua 5.2 / 5.3. - Add constraints file to allow paralel build - Add changelog to files list to ensure plain rpmbuild to work - Do not bundle luajit remove-vendor-luajit-dependency.patch - Disable the version checking, calling home in desktop apps is really bad idea, esp since upstream is semi-dead - Add patch to fix build with icu59 icu59.patch - Add patch to not put O3 to the cflags aegisub-no-optimize.patch - Sort list of sources with aegisub.build-compare.patch - Require wxWidgets 3+ unconditional remove obsolete aegisub-old_wc.patch - use individual libboost-*-devel packages instead of boost-devel - Disable build on Power, there is no luajit yet - Fix build break by adding -pthread to LDFLAGS * Makefile.inc.in.patch - Updated to 3.2.2 * Update Spanish, Ukrainian, Hungarian and Finnish translations * Skip writing the Aegisub project stuff when exporting to ASS * Fix some ugliness in the OS X icon * Update the selection and scroll position after opening subtitles from video * Fix crash on a certain kind of malformed shift times history file * Don't set the YCbCr header field to "None" when resampling resolution without changing colors - Updated to 3.2.1 * Actually register the SSA file handler so that SSA files can be opened and exported * Deduplicate Extradata entries created by Automation scripts * Fix loading subtitles from Matroska files which have [Aegisub Extradata] sections * Handle parsing errors when loading Shift Times history * Add Ukrainian UI translation - Added: * aegisub-3.2.1.tar.xz - Removed: * aegisub-3.2.0.tar.xz - remove conflict with lua 5.2, seems outdated - Switch from wxWidgets 2.9 to stable-3.0 for openSUSE 13.2 - Removed old tarball aegisub-3.1.3.tar.xz - Updated to 3.2.0 * Audio caching is now done in the background rather than popping up a modal progress dialog * The audio display is automatically scrolled to the active line when audio is first opened (if that option is enabled) * Drag all selected lines when Alt is held down when dragging in the audio display * Automation now uses LuaJIT in Lua 5.2 mode rather than Lua 5.1 * Text controls are "infinite" length rather than limited to 30k bytes * subs.delete can be passed a table of row numbers to delete * Add the luabins and lfs libraries to the automation environment * Filter out redundant progress updates so that they don't make everything incredibly slow * Add support for submenus in the automation menu (insert / in the macro name) * Add unicode case conversion functions to the automation module (unicode.to_upper_case, unicode.to_lower_case, unicode.to_fold_case) * Only process selected lines in the Select Overlaps macro if more than one line is selected * Add aegisub.project_properties() to get a table with stuff that used to be in the script info section of the file (but unlike the old script info entries, it's actually always up to date) * Fix loading automation scripts when Aegisub is installed to a path with non-ascii characters in it * Lua functions which take a path have been patched to support UTF-8 on Windows * Add a warning when a script using a bold or italic variant of a font that doesn't actually exist, as emboldening done by the renderer may not match what is seen in Aegisub * Make the installer translatable and use the language selected in the installer for Aegisub's UI language * Fix locale issues that could lead to find/replace stripping all non-ascii characters from a file * Use localized names for languages everywhere they're displayed rather than the English names * Make fontconfig indexing about four times as fast * Significantly speed up passing subtitles to the subtitle renderer (as much as 10x faster), making the video display less laggy with large files * Speed up indexing Matroska files * Significantly speed up reading subtitles from Matroska files * Cut idle CPU usage when Aegisub is in the background by about 90% * Cut down the disk space used a bit * Resample \be and \blur tags * Add support for converting between YCbCr matricies * Make the handling for AR-changing resampling a bit smarter * Use prettier string formatting for resampled numbers * Fix resampling drawings with AR changes * List the files which will be opened or closed in the Load/Unload files dialog * Support loading keyframes and timecodes files via drag-and-drop (#1749) * The edit box buttons (bold, italic, colors, etc.) try to do the right thing when multiple lines are selected, rather than just setting all of the lines to the active line's text * The subtitles grid has gained as Characters Per Second column, with customizable warning and error thresholds (#609) * Undo now restores the selected lines and cursor position that were active when the change being undone occured * Double-clicking on a word which is right next to a \N no longer selects the \N along with the word * Make default subtitle styles customizable: when creating a new file or importing from a format without style information, the styles from a catalog of your choice are automatically imported into the script (#962) * Add a button to open directly open the style editor for the current line's style (#1746) * Add Comment to the files which can be pasted over * Insert \N on shift-enter in the edit box * Fix incorrect cursor positions when using non-BMP unicode characters * The edit box's background color is now customizable * Fix crash when trying to open compressed tracks from Matroska * Add support for opening subtitle tracks with utterly insane CodecPrivate sections * Fix rounding error in the framerate calculations for CFR formats that sometimes lead to significantly wrong timestamps for long files * Add support for uncompressed RGB(A) files * Fix some of the issues with open-gop h264 files * Fix infinite loop when opening indexless matroska files (such as files written by x264 and not remuxed) * Fix some issues with interlaced h264 * Add support for HEVC * Add option to resample the script rather than just changing the script resolution when opening a video with different resolution (1382) * Several of the tools have been somewhat restyled to make them less obstructive * Hide drag handles for commented lines * Don't automatically select all control handle in the vector clip tool when switching to it, as there's now box selection of handles * Update all selected lines when the origin is dragged in the rotate tools - Update to 3.1.3 * Return a rgba string for coloralpha lua controls (rather than just rgb) * Update to moonscript 0.2.5 * Fix memory leaks when automation errors occur * Add an error check for trying to interact with an expired subtitles object rather than just crashing * Fix a crash when deleting lines with audio open * Sort the actor and effect dropdown lists (#1715) * Fix crash on startup when the config file can't be written * Fix some performance issues with very large selections * Fix some cases where the taskbar progress indicator would get stuck at nearly complete * Speed up passing subtitles to libass a bit * Fontconfig reads installed fonts from the registry on Windows, adding support for fonts installed via font managers to the fonts collector - Update to 3.1.2 * Make subs.deleterange(start, end) not do totally incorrect things * Fix some cases where the row to extend shift-click selections in the grid was not updated correctly * Fix assertion failure when built with boost 1.52 * New/updated translations - disable parallel make - it takes too much memory and OBS swaps - Update to 3.1.1 * New features and bug fixes. See http://www.aegisub.org/changelog/3.1.0/ and http://www.aegisub.org/changelog/3.1.1/ - Add aegisub-old_wc.patch - Update to 3.0.4 * Update Basque translation - Update to 3.0.3 * Fix crash when playing audio before time 0 * Round syllable durations to centiseconds when splitting syllables * Save the horizontal zoom correctly * Fix bug where FloatEdit controls would sometimes not report the selected value * Actually select the correct things in the Select Overlaps macro * Give temporary files proper extensions to make it easier to open them when something goes wrong * Show an error message when writing a file fails * Fix reading subtitles from Matroska * Fix a case where unicode characters would result in inconsistent and baffling errors when loading Lua scripts * Fix loading non-ascii actor names from plain-text files * Obey the option for setting the number of recently opened subtitle files to remember * Use Lua 5.1 when both it and 5.2 are available * Commit pending audio changes on Enter in the edit box * Add Dutch translation * Update Finnish translation * Update Arabic translation * Fix some cases where the detached video dialog would get set to bogus sizes * Add .m4v to the list of video file extensions * Fix loading y4m files * Release mouse capture from the visual tools when the zoom is changed - Removed aegisub-3.0.0-docdir.patch and aegisub-3.0.0-no_glu.patch, they have been applied upstream - Update to 3.0.2 * Allow framerate transform to/from variable without external timecodes loaded (#1530) * Honor the configured limits for the find/replace history (#1528) * Fix occassional non-error dialog when running multiple copies of Aegisub * Fix bug that sometimes resulted in later karaoke syllables moving when early ones were modified * Truncate overly long syllables rather than adjusting all of the other syllables to make them fit * Play right-clicked syllables * Fix splitting lines by karaoke (#1541) * Remove dependency on glu * Honor docdir and localedir configuration variables * Make it possible to type style names again * Break undo grouping after 30 seconds of inactivity rather than 10 * Switch the Duration field back to time mode when video is closed * Save a single wav containing all selected lines rather than a separate wav for each line with "Create audio clip" * Make pasting lines not horrible slow (#1534) * Make the correct row visible when selecting rows with shift + arrow keys in the grid (#1533) * Fix a few errors in the German translation (#1523) * Update Czech translation * Update Indonesian translation * Update Hungarian translation * Add partial Arabic translation (#1532) - Update to 3.0.1 * Updated Russian translation * Updated Greek translation * Partially update Finnish translation * Fixed some errors in the Portuguese translation * Fix packaging issues with the Serbian translation * Update the size of the karaoke syllable bar when the window is resized * Add scroll arrows to the karaoke syllable bar when the contents are too wide to fit * Change the color of the karaoke syllable split cursor to indicate whether it'll add or remove a split * Increase the hit area for removing karaoke splits a little * Remove the correct split when clicking to the left of a split line * Re-add the "Play current line" button to the audio toolbar * Stop video playback when the stop button is clicked in the audio toolbar as 2.1.9 did * Scroll the audio display after a click near an edge when auto-scrolling is enabled * Recenter the audio display if a newly selected line is very close to an edge in addition to if it's not fully onscreen, as 2.1 did * Fix subtitle timing issues after loading a timecodes file * Fix rounding error that resulted in 30000/1001 FPS video being treated as 30001/1001 FPS - Update to 3.0.0 * The audio display and related things such as the karaoke syllable splitting interface have been rewritten from scratch. The spectograph rendering is now much higher quality and faster, and many new features have been added. * Changes made in the main edit box and surrounding controls no longer have to be committed. Instead, changes are made to the file as you type, with the video display updating in real time. * See http://www.aegisub.org/changelog/3.0.0/ for details - Remove aegisub-2.1.9-system_libs.patch, aegisub-2.1.8.99.rev5789-ld.patch and aegisub-2.1.9-underlinking.patch. Fixed upstream. - Update aegisub-2.1.9-no_glu.patch to aegisub-3.0.0-no_glu.patch - Add aegisub-3.0.0-docdir.patch - Build only the two relevant audio output backends: ALSA and PulseAudio - The scripting system no longer supports Perl and Ruby, remove BuildRequires - Add aegisub-2.1.9-no_glu.patch - Remove explicit glu dependency. wxWidgets-devel is the one that should have it - Remove explicit xfixes,xdamage and xxf86vm dependencies. Mesa-libGL-devel is the one that should be fixed (probably removing the .la file) - Add explicit glu,xfixes,xdagame and xxf86vm dependency - Update to 2.1.9 - Update to 2.1.9 rev5789 - First package OBS-URL: https://build.opensuse.org/request/show/632319 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/aegisub?expand=0&rev=51
2018-08-30 15:45:33 +02:00
BuildRequires: libboost_system-devel
BuildRequires: libboost_thread-devel
BuildRequires: lua51
BuildRequires: pkgconfig >= 0.20
BuildRequires: wxWidgets-devel >= 3
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(ffms2)
Accepting request 141459 from home:RedDwarf - Removed aegisub-3.0.0-docdir.patch and aegisub-3.0.0-no_glu.patch, they have been applied upstream - Update to 3.0.2 * Allow framerate transform to/from variable without external timecodes loaded (#1530) * Honor the configured limits for the find/replace history (#1528) * Fix occassional non-error dialog when running multiple copies of Aegisub * Fix bug that sometimes resulted in later karaoke syllables moving when early ones were modified * Truncate overly long syllables rather than adjusting all of the other syllables to make them fit * Play right-clicked syllables * Fix splitting lines by karaoke (#1541) * Remove dependency on glu * Honor docdir and localedir configuration variables * Make it possible to type style names again * Break undo grouping after 30 seconds of inactivity rather than 10 * Switch the Duration field back to time mode when video is closed * Save a single wav containing all selected lines rather than a separate wav for each line with "Create audio clip" * Make pasting lines not horrible slow (#1534) * Make the correct row visible when selecting rows with shift + arrow keys in the grid (#1533) * Fix a few errors in the German translation (#1523) * Update Czech translation * Update Indonesian translation * Update Hungarian translation * Add partial Arabic translation (#1532) - Update to 3.0.1 * Updated Russian translation * Updated Greek translation * Partially update Finnish translation * Fixed some errors in the Portuguese translation * Fix packaging issues with the Serbian translation OBS-URL: https://build.opensuse.org/request/show/141459 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/aegisub?expand=0&rev=6
2012-11-15 18:42:27 +01:00
BuildRequires: pkgconfig(fftw3) >= 3.3
BuildRequires: pkgconfig(fontconfig) >= 2.4
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(hunspell) >= 1.2.0
BuildRequires: pkgconfig(libass)
BuildRequires: pkgconfig(libpulse) >= 0.5
BuildRequires: pkgconfig(luajit)
Accepting request 141459 from home:RedDwarf - Removed aegisub-3.0.0-docdir.patch and aegisub-3.0.0-no_glu.patch, they have been applied upstream - Update to 3.0.2 * Allow framerate transform to/from variable without external timecodes loaded (#1530) * Honor the configured limits for the find/replace history (#1528) * Fix occassional non-error dialog when running multiple copies of Aegisub * Fix bug that sometimes resulted in later karaoke syllables moving when early ones were modified * Truncate overly long syllables rather than adjusting all of the other syllables to make them fit * Play right-clicked syllables * Fix splitting lines by karaoke (#1541) * Remove dependency on glu * Honor docdir and localedir configuration variables * Make it possible to type style names again * Break undo grouping after 30 seconds of inactivity rather than 10 * Switch the Duration field back to time mode when video is closed * Save a single wav containing all selected lines rather than a separate wav for each line with "Create audio clip" * Make pasting lines not horrible slow (#1534) * Make the correct row visible when selecting rows with shift + arrow keys in the grid (#1533) * Fix a few errors in the German translation (#1523) * Update Czech translation * Update Indonesian translation * Update Hungarian translation * Add partial Arabic translation (#1532) - Update to 3.0.1 * Updated Russian translation * Updated Greek translation * Partially update Finnish translation * Fixed some errors in the Portuguese translation * Fix packaging issues with the Serbian translation OBS-URL: https://build.opensuse.org/request/show/141459 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/aegisub?expand=0&rev=6
2012-11-15 18:42:27 +01:00
BuildRequires: pkgconfig(zlib)
Accepting request 632319 from home:plater - Update to current git rev 524c6114a82157b143567240884de3a6d030b091 named version 3.2.2+git20180710 which builds against boost version 1.68, fixes boo#1105217 - Removed the following patches that are fixed upstream: aegisub.build-compare.patch, icu59.patch and aegisub-icu.patch. - Rebased Makefile.inc.in.patch, aegisub-no-optimize.patch and remove-vendor-luajit-dependency.patch. - Exclude i586 from build due to unexplainable missing library. - For upstream changes see: /usr/share/doc/packages/aegisub/changelog.txt - Use portable namespace in aegisub-icu.patch. - Created aegisub-icu.patch to fix build failure against icu4c-61_1 - Remove conditionals for ffms2 and boost - Added luabins.patch to fix build with lua 5.2 / 5.3. - Add constraints file to allow paralel build - Add changelog to files list to ensure plain rpmbuild to work - Do not bundle luajit remove-vendor-luajit-dependency.patch - Disable the version checking, calling home in desktop apps is really bad idea, esp since upstream is semi-dead - Add patch to fix build with icu59 icu59.patch - Add patch to not put O3 to the cflags aegisub-no-optimize.patch - Sort list of sources with aegisub.build-compare.patch - Require wxWidgets 3+ unconditional remove obsolete aegisub-old_wc.patch - use individual libboost-*-devel packages instead of boost-devel - Disable build on Power, there is no luajit yet - Fix build break by adding -pthread to LDFLAGS * Makefile.inc.in.patch - Updated to 3.2.2 * Update Spanish, Ukrainian, Hungarian and Finnish translations * Skip writing the Aegisub project stuff when exporting to ASS * Fix some ugliness in the OS X icon * Update the selection and scroll position after opening subtitles from video * Fix crash on a certain kind of malformed shift times history file * Don't set the YCbCr header field to "None" when resampling resolution without changing colors - Updated to 3.2.1 * Actually register the SSA file handler so that SSA files can be opened and exported * Deduplicate Extradata entries created by Automation scripts * Fix loading subtitles from Matroska files which have [Aegisub Extradata] sections * Handle parsing errors when loading Shift Times history * Add Ukrainian UI translation - Added: * aegisub-3.2.1.tar.xz - Removed: * aegisub-3.2.0.tar.xz - remove conflict with lua 5.2, seems outdated - Switch from wxWidgets 2.9 to stable-3.0 for openSUSE 13.2 - Removed old tarball aegisub-3.1.3.tar.xz - Updated to 3.2.0 * Audio caching is now done in the background rather than popping up a modal progress dialog * The audio display is automatically scrolled to the active line when audio is first opened (if that option is enabled) * Drag all selected lines when Alt is held down when dragging in the audio display * Automation now uses LuaJIT in Lua 5.2 mode rather than Lua 5.1 * Text controls are "infinite" length rather than limited to 30k bytes * subs.delete can be passed a table of row numbers to delete * Add the luabins and lfs libraries to the automation environment * Filter out redundant progress updates so that they don't make everything incredibly slow * Add support for submenus in the automation menu (insert / in the macro name) * Add unicode case conversion functions to the automation module (unicode.to_upper_case, unicode.to_lower_case, unicode.to_fold_case) * Only process selected lines in the Select Overlaps macro if more than one line is selected * Add aegisub.project_properties() to get a table with stuff that used to be in the script info section of the file (but unlike the old script info entries, it's actually always up to date) * Fix loading automation scripts when Aegisub is installed to a path with non-ascii characters in it * Lua functions which take a path have been patched to support UTF-8 on Windows * Add a warning when a script using a bold or italic variant of a font that doesn't actually exist, as emboldening done by the renderer may not match what is seen in Aegisub * Make the installer translatable and use the language selected in the installer for Aegisub's UI language * Fix locale issues that could lead to find/replace stripping all non-ascii characters from a file * Use localized names for languages everywhere they're displayed rather than the English names * Make fontconfig indexing about four times as fast * Significantly speed up passing subtitles to the subtitle renderer (as much as 10x faster), making the video display less laggy with large files * Speed up indexing Matroska files * Significantly speed up reading subtitles from Matroska files * Cut idle CPU usage when Aegisub is in the background by about 90% * Cut down the disk space used a bit * Resample \be and \blur tags * Add support for converting between YCbCr matricies * Make the handling for AR-changing resampling a bit smarter * Use prettier string formatting for resampled numbers * Fix resampling drawings with AR changes * List the files which will be opened or closed in the Load/Unload files dialog * Support loading keyframes and timecodes files via drag-and-drop (#1749) * The edit box buttons (bold, italic, colors, etc.) try to do the right thing when multiple lines are selected, rather than just setting all of the lines to the active line's text * The subtitles grid has gained as Characters Per Second column, with customizable warning and error thresholds (#609) * Undo now restores the selected lines and cursor position that were active when the change being undone occured * Double-clicking on a word which is right next to a \N no longer selects the \N along with the word * Make default subtitle styles customizable: when creating a new file or importing from a format without style information, the styles from a catalog of your choice are automatically imported into the script (#962) * Add a button to open directly open the style editor for the current line's style (#1746) * Add Comment to the files which can be pasted over * Insert \N on shift-enter in the edit box * Fix incorrect cursor positions when using non-BMP unicode characters * The edit box's background color is now customizable * Fix crash when trying to open compressed tracks from Matroska * Add support for opening subtitle tracks with utterly insane CodecPrivate sections * Fix rounding error in the framerate calculations for CFR formats that sometimes lead to significantly wrong timestamps for long files * Add support for uncompressed RGB(A) files * Fix some of the issues with open-gop h264 files * Fix infinite loop when opening indexless matroska files (such as files written by x264 and not remuxed) * Fix some issues with interlaced h264 * Add support for HEVC * Add option to resample the script rather than just changing the script resolution when opening a video with different resolution (1382) * Several of the tools have been somewhat restyled to make them less obstructive * Hide drag handles for commented lines * Don't automatically select all control handle in the vector clip tool when switching to it, as there's now box selection of handles * Update all selected lines when the origin is dragged in the rotate tools - Update to 3.1.3 * Return a rgba string for coloralpha lua controls (rather than just rgb) * Update to moonscript 0.2.5 * Fix memory leaks when automation errors occur * Add an error check for trying to interact with an expired subtitles object rather than just crashing * Fix a crash when deleting lines with audio open * Sort the actor and effect dropdown lists (#1715) * Fix crash on startup when the config file can't be written * Fix some performance issues with very large selections * Fix some cases where the taskbar progress indicator would get stuck at nearly complete * Speed up passing subtitles to libass a bit * Fontconfig reads installed fonts from the registry on Windows, adding support for fonts installed via font managers to the fonts collector - Update to 3.1.2 * Make subs.deleterange(start, end) not do totally incorrect things * Fix some cases where the row to extend shift-click selections in the grid was not updated correctly * Fix assertion failure when built with boost 1.52 * New/updated translations - disable parallel make - it takes too much memory and OBS swaps - Update to 3.1.1 * New features and bug fixes. See http://www.aegisub.org/changelog/3.1.0/ and http://www.aegisub.org/changelog/3.1.1/ - Add aegisub-old_wc.patch - Update to 3.0.4 * Update Basque translation - Update to 3.0.3 * Fix crash when playing audio before time 0 * Round syllable durations to centiseconds when splitting syllables * Save the horizontal zoom correctly * Fix bug where FloatEdit controls would sometimes not report the selected value * Actually select the correct things in the Select Overlaps macro * Give temporary files proper extensions to make it easier to open them when something goes wrong * Show an error message when writing a file fails * Fix reading subtitles from Matroska * Fix a case where unicode characters would result in inconsistent and baffling errors when loading Lua scripts * Fix loading non-ascii actor names from plain-text files * Obey the option for setting the number of recently opened subtitle files to remember * Use Lua 5.1 when both it and 5.2 are available * Commit pending audio changes on Enter in the edit box * Add Dutch translation * Update Finnish translation * Update Arabic translation * Fix some cases where the detached video dialog would get set to bogus sizes * Add .m4v to the list of video file extensions * Fix loading y4m files * Release mouse capture from the visual tools when the zoom is changed - Removed aegisub-3.0.0-docdir.patch and aegisub-3.0.0-no_glu.patch, they have been applied upstream - Update to 3.0.2 * Allow framerate transform to/from variable without external timecodes loaded (#1530) * Honor the configured limits for the find/replace history (#1528) * Fix occassional non-error dialog when running multiple copies of Aegisub * Fix bug that sometimes resulted in later karaoke syllables moving when early ones were modified * Truncate overly long syllables rather than adjusting all of the other syllables to make them fit * Play right-clicked syllables * Fix splitting lines by karaoke (#1541) * Remove dependency on glu * Honor docdir and localedir configuration variables * Make it possible to type style names again * Break undo grouping after 30 seconds of inactivity rather than 10 * Switch the Duration field back to time mode when video is closed * Save a single wav containing all selected lines rather than a separate wav for each line with "Create audio clip" * Make pasting lines not horrible slow (#1534) * Make the correct row visible when selecting rows with shift + arrow keys in the grid (#1533) * Fix a few errors in the German translation (#1523) * Update Czech translation * Update Indonesian translation * Update Hungarian translation * Add partial Arabic translation (#1532) - Update to 3.0.1 * Updated Russian translation * Updated Greek translation * Partially update Finnish translation * Fixed some errors in the Portuguese translation * Fix packaging issues with the Serbian translation * Update the size of the karaoke syllable bar when the window is resized * Add scroll arrows to the karaoke syllable bar when the contents are too wide to fit * Change the color of the karaoke syllable split cursor to indicate whether it'll add or remove a split * Increase the hit area for removing karaoke splits a little * Remove the correct split when clicking to the left of a split line * Re-add the "Play current line" button to the audio toolbar * Stop video playback when the stop button is clicked in the audio toolbar as 2.1.9 did * Scroll the audio display after a click near an edge when auto-scrolling is enabled * Recenter the audio display if a newly selected line is very close to an edge in addition to if it's not fully onscreen, as 2.1 did * Fix subtitle timing issues after loading a timecodes file * Fix rounding error that resulted in 30000/1001 FPS video being treated as 30001/1001 FPS - Update to 3.0.0 * The audio display and related things such as the karaoke syllable splitting interface have been rewritten from scratch. The spectograph rendering is now much higher quality and faster, and many new features have been added. * Changes made in the main edit box and surrounding controls no longer have to be committed. Instead, changes are made to the file as you type, with the video display updating in real time. * See http://www.aegisub.org/changelog/3.0.0/ for details - Remove aegisub-2.1.9-system_libs.patch, aegisub-2.1.8.99.rev5789-ld.patch and aegisub-2.1.9-underlinking.patch. Fixed upstream. - Update aegisub-2.1.9-no_glu.patch to aegisub-3.0.0-no_glu.patch - Add aegisub-3.0.0-docdir.patch - Build only the two relevant audio output backends: ALSA and PulseAudio - The scripting system no longer supports Perl and Ruby, remove BuildRequires - Add aegisub-2.1.9-no_glu.patch - Remove explicit glu dependency. wxWidgets-devel is the one that should have it - Remove explicit xfixes,xdamage and xxf86vm dependencies. Mesa-libGL-devel is the one that should be fixed (probably removing the .la file) - Add explicit glu,xfixes,xdagame and xxf86vm dependency - Update to 2.1.9 - Update to 2.1.9 rev5789 - First package OBS-URL: https://build.opensuse.org/request/show/632319 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/aegisub?expand=0&rev=51
2018-08-30 15:45:33 +02:00
ExcludeArch: ppc ppc64 ppc64le i586
%description
Aegisub is a subtitle editor. It works with the Advanced SubStation
Alpha format (aptly abbreviated ASS) which allows for many advanced
effects in the subtitles, apart from just basic timed text.
%prep
%setup -q -n %{gitname}-%{_rev}
%patch1 -p0
%patch2 -p0
%patch4 -p1
%patch5 -p1
%patch7
%patch8 -p1
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" src/version.cpp
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S')
sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" src/version.cpp
cp %{SOURCE99} .
%build
./autogen.sh
#autoreconf -fvi
%configure \
--disable-update-checker \
--with-player-audio=PulseAudio \
--without-oss
make %{?_smp_mflags}
%install
%make_install
%find_lang %{name}
%files -f %{name}.lang
%defattr(0644, root, root, 0755)
%license LICENCE
%doc README.md changelog.txt
%attr(0755,root,root) %{_bindir}/aegisub
Accepting request 141459 from home:RedDwarf - Removed aegisub-3.0.0-docdir.patch and aegisub-3.0.0-no_glu.patch, they have been applied upstream - Update to 3.0.2 * Allow framerate transform to/from variable without external timecodes loaded (#1530) * Honor the configured limits for the find/replace history (#1528) * Fix occassional non-error dialog when running multiple copies of Aegisub * Fix bug that sometimes resulted in later karaoke syllables moving when early ones were modified * Truncate overly long syllables rather than adjusting all of the other syllables to make them fit * Play right-clicked syllables * Fix splitting lines by karaoke (#1541) * Remove dependency on glu * Honor docdir and localedir configuration variables * Make it possible to type style names again * Break undo grouping after 30 seconds of inactivity rather than 10 * Switch the Duration field back to time mode when video is closed * Save a single wav containing all selected lines rather than a separate wav for each line with "Create audio clip" * Make pasting lines not horrible slow (#1534) * Make the correct row visible when selecting rows with shift + arrow keys in the grid (#1533) * Fix a few errors in the German translation (#1523) * Update Czech translation * Update Indonesian translation * Update Hungarian translation * Add partial Arabic translation (#1532) - Update to 3.0.1 * Updated Russian translation * Updated Greek translation * Partially update Finnish translation * Fixed some errors in the Portuguese translation * Fix packaging issues with the Serbian translation OBS-URL: https://build.opensuse.org/request/show/141459 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/aegisub?expand=0&rev=6
2012-11-15 18:42:27 +01:00
%{_datadir}/aegisub/
%{_datadir}/applications/aegisub.desktop
%{_datadir}/icons/hicolor/*/apps/aegisub.*
%changelog