Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Evergreen:11.4
mkvtoolnix
mkvtoolnix-4.4.0-guide_install.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mkvtoolnix-4.4.0-guide_install.patch of Package mkvtoolnix
Index: Rakefile =================================================================== --- Rakefile.orig +++ Rakefile @@ -78,7 +78,7 @@ def setup_globals $build_tools ||= c?(:TOOLS) - cflags_common = "-Wall -Wno-comment #{c(:OPTIMIZATION_CFLAGS)} -D_FILE_OFFSET_BITS=64 #{c(:EXTRA_CFLAGS)} #{c(:DEBUG_CFLAGS)} #{c(:PROFILING_CFLAGS)} #{c(:MATROSKA_CFLAGS)} #{c(:EBML_CFLAGS)} #{c(:USER_CPPFLAGS)} -DPACKAGE=\\\"#{c(:PACKAGE)}\\\" -DVERSION=\\\"#{c(:VERSION)}\\\" -DMTX_LOCALE_DIR=\\\"#{c(:localedir)}\\\" -DMTX_PKG_DATA_DIR=\\\"#{c(:pkgdatadir)}\\\"" + cflags_common = "-Wall -Wno-comment #{c(:OPTIMIZATION_CFLAGS)} -D_FILE_OFFSET_BITS=64 #{c(:EXTRA_CFLAGS)} #{c(:DEBUG_CFLAGS)} #{c(:PROFILING_CFLAGS)} #{c(:MATROSKA_CFLAGS)} #{c(:EBML_CFLAGS)} #{c(:USER_CPPFLAGS)} -DPACKAGE=\\\"#{c(:PACKAGE)}\\\" -DVERSION=\\\"#{c(:VERSION)}\\\" -DMTX_LOCALE_DIR=\\\"#{c(:localedir)}\\\" -DMTX_PKG_DATA_DIR=\\\"#{c(:pkgdatadir)}\\\" -DMTX_DOC_DIR=\\\"#{c(:docdir)}\\\"" ldflags_extra = c?(:MINGW) ? '' : "-Wl,--enable-auto-import" $flags = { :cflags => "#{cflags_common} #{c(:USER_CFLAGS)}", @@ -349,11 +349,11 @@ namespace :install do end task :guides do - install_dir :pkgdatadir, $languages[:guides].collect { |language| "#{c(:pkgdatadir)}/guide/#{language}/images" } + install_dir :docdir, $languages[:guides].collect { |language| "#{c(:docdir)}/guide/#{language}/images" } $languages[:guides].each do |language| - install_data "#{c(:pkgdatadir)}/guide/#{language}/", FileList[ "#{$top_srcdir}/doc/guide/#{language}/mkvmerge-gui.*" ] - install_data "#{c(:pkgdatadir)}/guide/#{language}/images/", FileList[ "#{$top_srcdir}/doc/guide/#{language}/images/*.gif" ] + install_data "#{c(:docdir)}/guide/#{language}/", FileList[ "#{$top_srcdir}/doc/guide/#{language}/mkvmerge-gui.*" ] + install_data "#{c(:docdir)}/guide/#{language}/images/", FileList[ "#{$top_srcdir}/doc/guide/#{language}/images/*.gif" ] end end end Index: build-config.in =================================================================== --- build-config.in.orig +++ build-config.in @@ -16,6 +16,7 @@ sbindir = @sbindir@ libexecdir = @libexecdir@ datarootdir = @datarootdir@ datadir = @datadir@ +docdir = @docdir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ Index: src/mmg/mmg_dialog.cpp =================================================================== --- src/mmg/mmg_dialog.cpp.orig +++ src/mmg/mmg_dialog.cpp @@ -626,23 +626,7 @@ mmg_dialog::display_help(int id) { potential_help_paths.push_back(installation_path + wxT("/doc")); #else - // Debian, probably others - potential_help_paths.push_back(wxT("/usr/share/doc/mkvtoolnix")); - potential_help_paths.push_back(wxT("/usr/share/doc/mkvtoolnix/doc")); - potential_help_paths.push_back(wxT("/usr/share/doc/mkvtoolnix-gui")); - // SuSE - potential_help_paths.push_back(wxT("/usr/share/doc/packages/mkvtoolnix")); - // Fedora Core - potential_help_paths.push_back(wxT("/usr/share/doc/mkvtoolnix-" VERSION)); - potential_help_paths.push_back(wxT("/usr/share/doc/mkvtoolnix-gui-" VERSION)); - // (Almost the) same for /usr/local - potential_help_paths.push_back(wxT("/usr/local/share/doc/mkvtoolnix")); - potential_help_paths.push_back(wxT("/usr/local/share/doc/packages/mkvtoolnix")); - potential_help_paths.push_back(wxT("/usr/local/share/doc/mkvtoolnix-" VERSION)); - potential_help_paths.push_back(wxT("/usr/local/share/doc/mkvtoolnix-gui-" VERSION)); - // New location - potential_help_paths.push_back(wxT(MTX_PKG_DATA_DIR)); - potential_help_paths.push_back(wxT(MTX_PKG_DATA_DIR "-" VERSION)); + potential_help_paths.push_back(wxT(MTX_DOC_DIR)); #endif wxConfigBase *cfg = wxConfigBase::Get();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor