Last active
April 3, 2016 21:41
-
-
Save luzpaz/ec5f652fc5dbe0f1547c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ScribusDownloadStrategy < SubversionDownloadStrategy | |
def stage | |
FileUtils.cp_r @clone.children, '.' | |
end | |
end | |
class Scribustemppatch < Formula | |
homepage 'http://wiki.scribus.net/canvas/Scribus_and_Homebrew' | |
version '0.9' | |
head 'svn://scribus.net//trunk/Scribus', :using => ScribusDownloadStrategy | |
depends_on 'xz' | |
depends_on 'cmake' => :build | |
depends_on 'little-cms2' | |
depends_on 'qt5' | |
depends_on 'cairo' # => "without-x11" | |
depends_on 'jpeg' | |
depends_on 'libtiff' | |
depends_on 'fontconfig' | |
depends_on 'openssl' | |
depends_on 'pkg-config' => :build | |
depends_on 'python' | |
depends_on 'hunspell' | |
depends_on 'homebrew/dupes/zlib' # if MacOS.version <= :mavericks | |
depends_on 'ghostscript' => :recommended | |
depends_on 'graphicsmagick' => :recommended | |
depends_on 'boost' => :recommended | |
depends_on 'poppler' => :recommended | |
depends_on 'podofo' => :recommended | |
depends_on 'freetype' => :recommended | |
depends_on 'librevenge' => :recommended # Build import filters | |
depends_on 'libwpg' => :recommended # Importer: WordPerfect Graphics | |
depends_on 'libvisio' => :recommended # Importer: MS-Visio | |
depends_on 'libmspub' => :recommended # Importer: MS-Publisher | |
depends_on 'libcdr' => :recommended # Importer: Corel Draw | |
depends_on 'libpagemaker' => :recommended # Importer: Adobe Pagemaker | |
depends_on 'libfreehand' => :recommended # Importer: Aldus/Macromedia/Adobe Freehand | |
# depends_on 'open-scene-graph' => :recommended # 3D PDF Annotations | |
patch :DATA | |
# patch :p0,DATA | |
# patch do | |
# url "https://patch-diff.githubusercontent.com/raw/scribusproject/scribus/pull/40.diff" | |
# sha256 "74c889be001f07f40db7f660050e404427cef88049870f46720cff790039de54" | |
# end | |
def install | |
args = %W[ | |
-DBUILD_OSX_BUNDLE=1 | |
-DCMAKE_INSTALL_PREFIX:PATH=#{prefix}/Scribus.app/Contents/ | |
-DQT_PREFIX=#{Formula["qt5"].opt_prefix} | |
-DWANT_HUNSPELL=1 | |
-DWITH_PODOFO=1 | |
-DWANT_GRAPHICSMAGICK=1 | |
-DWANT_SVNVERSION=1 | |
-DWANT_DEBUG=1 | |
-DWANT_HEADERINSTALL=1 | |
-DCMAKE_OSX_DEPLOYMENT_TARGET=#{MacOS.version} | |
] | |
# Other Options: | |
# Enable Scripter2 with -DWANT_SCRIPTER2=1 | |
# ENV.libcxx if MacOS.version > :mountain_lion | |
system "cmake", ".", *args | |
system "make" | |
system "make install" | |
end | |
end | |
__END__ | |
diff --git a/scribus/ui/storyeditor.cpp b/scribus/ui/storyeditor.cpp | |
--- a/scribus/ui/storyeditor.cpp | |
+++ b/scribus/ui/storyeditor.cpp | |
@@ -1398,6 +1398,7 @@ | |
void SToolBAlign::languageChange() | |
{ | |
+ GroupAlign->languageChange(); | |
paraStyleCombo->setToolTip(""); | |
paraStyleCombo->setToolTip( tr("Style of current paragraph")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment