Skip to content

Instantly share code, notes, and snippets.

View scribusdev.rb
class ScribusDownloadStrategy < SubversionDownloadStrategy
def stage
FileUtils.cp_r @clone.children, '.'
end
end
class Scribusdev < Formula
homepage 'https://github.com/scribusproject/homebrew-scribus'
version '1.5.1svn'
@luzpaz
luzpaz / Valentina.rb
Last active Nov 16, 2020
Valentina Project Homebrew forumula
View Valentina.rb
require 'formula'
class Valentina < Formula
head 'https://bitbucket.org/dismine/valentina/get/develop.zip'
homepage 'http://valentina-project.org'
# version "0.2.8"
depends_on 'qt5' => :build
depends_on 'ccache' => :build
depends_on 'xpdf' => :optional
View gist:9389af8d43bba45358f3
==> make install
cd src/ && ( test -e Makefile || /usr/local/opt/qt5/bin/qmake /private/tmp/Valentina-rDvgTb/dismine-valentina-618db86f33c9/src/src.pro PREFIX=/usr/local/Cellar/Valentina/HEAD -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile install
cd libs/ && ( test -e Makefile || /usr/local/opt/qt5/bin/qmake /private/tmp/Valentina-rDvgTb/dismine-valentina-618db86f33c9/src/libs/libs.pro PREFIX=/usr/local/Cellar/Valentina/HEAD -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile install
cd qmuparser/ && ( test -e Makefile || /usr/local/opt/qt5/bin/qmake /private/tmp/Valentina-rDvgTb/dismine-valentina-618db86f33c9/src/libs/qmuparser/qmuparser.pro PREFIX=/usr/local/Cellar/Valentina/HEAD -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile install
cp -f "bin/libqmuparser.2.2.4.dylib" "/usr/lib/libqmuparser.2.2.4.dylib"
cp: /usr/lib/libqmuparser.2.2.4.dylib: Permission denied
make[3]: [install_target] Error 1 (igno
View scribus.appdata.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
<application>
<id type="desktop">scribus.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<description>
<p>
Scribus is a desktop publishing application that allows you to create posters,
magazines and books ready to send off to a printing house.
@luzpaz
luzpaz / dropbox-uploder.rb
Last active Aug 29, 2015
dropbox-uploader homebrew formula
View dropbox-uploder.rb
class DropboxUploader < Formula
homepage "http://www.andreafabrizi.it/?dropbox_uploader"
url "https://github.com/andreafabrizi/Dropbox-Uploader/archive/0.14.tar.gz"
version "0.14"
sha256 "595e2fb0c5112d740b4d4df321f231ff949153ab07bfefd6a8dd1bd152c449dd"
head "git://github.com/andreafabrizi/Dropbox-Uploader.git"
def install
bin.install "dropShell.sh" => "dropShell"
View Scribus15.rb
class Scribus15 < Formula
homepage 'http://wiki.scribus.net/canvas/Scribus_and_Homebrew'
url 'https://downloads.sourceforge.net/project/scribus/scribus-devel/1.5.0/scribus-1.5.0.tar.xz'
sha256 "a3dbe66d12719355d41ae7f2cac7a8c9d5599b12aeb5c038d939636f054e8e68"
depends_on 'cmake' => :build
depends_on 'little-cms2'
depends_on 'qt5'
depends_on 'cairo'
depends_on 'jpeg'
@luzpaz
luzpaz / scribusctl.rb
Last active Aug 29, 2015
This is a homebrew formula to build the experiment Complex Text Layout branch of the Scribus 1.5.x trunk. Link: https://github.com/andreas-vox/ScribusCTL
View scribusctl.rb
class Scribusctl < Formula
homepage 'https://github.com/andreas-vox/ScribusCTL/wiki'
head "https://github.com/andreas-vox/ScribusCTL.git", :using => :git
depends_on 'cmake' => :build
depends_on 'little-cms2'
depends_on 'qt5'
depends_on 'cairo' # => "without-x11"
depends_on 'jpeg'
depends_on 'libtiff'
View scribus15osxfix.rb
class Scribus15osxfix < Formula
homepage 'https://github.com/scribusproject/scribus'
version '1.5'
head "https://github.com/scribusproject/scribus.git", :using => :git, :revision => '0a54a595a81b56da852616ec6f29065c8cf2dbc9'
depends_on 'cmake' => :build
depends_on 'little-cms2'
depends_on 'qt5'
depends_on 'cairo'
depends_on 'jpeg'
View 01.cmake
2015-06-11 15:33:03 -0500
cmake
-G
Unix Makefiles
/private/tmp/llvm20150611-13755-1s7uscc/llvm-3.6.1.src
-DCMAKE_C_FLAGS_RELEASE=
-DCMAKE_CXX_FLAGS_RELEASE=
-DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/llvm/3.6.1
-DCMAKE_BUILD_TYPE=Release
View 01.cmake
2015-06-11 22:03:34 -0500
cmake
.
-DBUILD_OSX_BUNDLE=1
-DCMAKE_INSTALL_PREFIX:PATH=/usr/local/Cellar/scribus/HEAD/Scribus.app/Contents/
-DQT_PREFIX=/usr/local/opt/qt5
-DWANT_HUNSPELL=1
-DWITH_PODOFO=1
-DWANT_GRAPHICSMAGICK=1