Date: Saturday, November 8, 2014 @ 16:14:16 Author: muflone Revision: 122244
First commit for bluegriffon 1.7.2-1 Added: bluegriffon/ bluegriffon/repos/ bluegriffon/trunk/ bluegriffon/trunk/PKGBUILD bluegriffon/trunk/bluegriffon.desktop bluegriffon/trunk/bluegriffon.install bluegriffon/trunk/freetype.patch bluegriffon/trunk/mozconfig ---------------------+ PKGBUILD | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++ bluegriffon.desktop | 16 +++++++++ bluegriffon.install | 12 +++++++ freetype.patch | 74 +++++++++++++++++++++++++++++++++++++++++++ mozconfig | 37 +++++++++++++++++++++ 5 files changed, 224 insertions(+) Added: bluegriffon/trunk/PKGBUILD =================================================================== --- bluegriffon/trunk/PKGBUILD (rev 0) +++ bluegriffon/trunk/PKGBUILD 2014-11-08 15:14:16 UTC (rev 122244) @@ -0,0 +1,85 @@ +# $Id$ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Balló György <ballogyor+arch at gmail dot com> + +pkgname=bluegriffon +pkgver=1.7.2 +_mozilla_ver=9db46ddfb517 +pkgrel=1 +pkgdesc="The next-generation Web Editor based on the rendering engine of Firefox" +arch=('i686' 'x86_64') +url="http://bluegriffon.org/" +license=('MPL' 'GPL' 'LGPL') +depends=('alsa-lib' 'desktop-file-utils' 'dbus-glib' 'gtk2' 'hunspell' 'mozilla-common' + 'nss' 'libevent' 'libvpx' 'libxt' 'python2' 'startup-notification') +makedepends=('autoconf2.13' 'libpulse' 'subversion' 'unzip' 'xorg-server-xvfb' 'zip') +options=('!emptydirs') +install="${pkgname}.install" +source=("${pkgname}-${pkgver}"::"svn+http://sources.disruptive-innovations.com/${pkgname}/tags/${pkgver}" + "${pkgname}-l10n-${pkgver}"::"svn+http://sources.disruptive-innovations.com/${pkgname}-l10n/tags/${pkgver}" + "http://hg.mozilla.org/mozilla-central/archive/${_mozilla_ver}.tar.bz2" + "mozconfig" + "bluegriffon.desktop" + "freetype.patch") +md5sums=('SKIP' + 'SKIP' + 'ced0be4498f9b29b68148af38bdd2f6d' + '7a39b0d261604c50d314acb115fc17fe' + 'b508d3a028380595d25c8039a217768b' + 'f19745a7e94053a5252e35f6cbf7b94f') + +prepare() { + cd "${srcdir}/mozilla-central-${_mozilla_ver}" + + # Move files to their correct location + mv "${srcdir}/${pkgname}-${pkgver}" bluegriffon + mv "${srcdir}/${pkgname}-l10n-${pkgver}" bluegriffon/locales + mv "${srcdir}/mozconfig" .mozconfig + + # Apply BlueGriffon's upstream customizations + patch -Np1 -i bluegriffon/config/content.patch + + # Fix build with freetype 2.5 + patch -Np1 -i ../freetype.patch + + # python2 fix + find . -name \*.py -exec sed -i 's@^#.*python$@#!/usr/bin/python2@' '{}' \; +} + +build() { + cd "${srcdir}/mozilla-central-${_mozilla_ver}" + + # configure script misdetects the preprocessor without an optimization level + # https://bugs.archlinux.org/task/34644 + export CPPFLAGS+=' -O2' + export PYTHON=python2 + + xvfb-run -a -s "-extension GLX -screen 0 1280x1024x24" \ + make -f client.mk build +} + +package() { + cd "${srcdir}/mozilla-central-${_mozilla_ver}" + + mkdir -p "${pkgdir}/usr/lib/bluegriffon" + cp -LR bg/dist/bin/* "${pkgdir}/usr/lib/bluegriffon" + + mkdir -p "${pkgdir}/usr/bin" + ln -sf /usr/lib/bluegriffon/bluegriffon "${pkgdir}/usr/bin/bluegriffon" + + for i in 16x16 32x32 48x48; do + install -Dm644 bg/dist/branding/default${i/x*/}.png \ + "${pkgdir}/usr/share/icons/hicolor/${i}/apps/bluegriffon.png" + done + + install -Dm644 bg/dist/branding/mozicon128.png \ + "${pkgdir}/usr/share/icons/hicolor/128x128/apps/bluegriffon.png" + + install -Dm644 ../bluegriffon.desktop \ + "${pkgdir}/usr/share/applications/bluegriffon.desktop" + + # Use system-provided dictionaries + rm -rf "${pkgdir}"/usr/lib/bluegriffon/{dictionaries,hyphenation} + ln -sf /usr/share/hunspell "${pkgdir}/usr/lib/bluegriffon/dictionaries" + ln -sf /usr/share/hyphen "${pkgdir}/usr/lib/bluegriffon/hyphenation" +} Property changes on: bluegriffon/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: bluegriffon/trunk/bluegriffon.desktop =================================================================== --- bluegriffon/trunk/bluegriffon.desktop (rev 0) +++ bluegriffon/trunk/bluegriffon.desktop 2014-11-08 15:14:16 UTC (rev 122244) @@ -0,0 +1,16 @@ +[Desktop Entry] +Name=BlueGriffon +GenericName=Web Editor +GenericName[hu]=Webszerkesztő +X-GNOME-FullName=BlueGriffon Web Editor +X-GNOME-FullName[hu]=BlueGriffon webszerkesztő +Comment=Create Web Pages +Comment[es]=Crea páginas web +Comment[hu]=Weboldalak készítése +Comment[it]=Creare pagine Web +Categories=Development;WebDevelopment; +Exec=bluegriffon +Icon=bluegriffon +Terminal=false +MimeType=text/html;application/xhtml+xml; +Type=Application Added: bluegriffon/trunk/bluegriffon.install =================================================================== --- bluegriffon/trunk/bluegriffon.install (rev 0) +++ bluegriffon/trunk/bluegriffon.install 2014-11-08 15:14:16 UTC (rev 122244) @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Added: bluegriffon/trunk/freetype.patch =================================================================== --- bluegriffon/trunk/freetype.patch (rev 0) +++ bluegriffon/trunk/freetype.patch 2014-11-08 15:14:16 UTC (rev 122244) @@ -0,0 +1,74 @@ +Submitted By: Fernando de Oliveira <famobr at yahoo dot com dot br> +Date: 2013-11-29 +Initial Package Version: 25.0.1 +Upstream Status: Submitted +Origin: mozilla +URL: https://bug944454.bugzilla.mozilla.org/attachment.cgi?id=8340117 +Description: Fixes build with FreeType-2.5.1 + +diff --git a/config/system-headers b/config/system-headers +--- a/config/system-headers ++++ b/config/system-headers +@@ -408,16 +408,29 @@ freetype/ftoutln.h + freetype/ttnameid.h + freetype/tttables.h + freetype/t1tables.h + freetype/ftlcdfil.h + freetype/ftsizes.h + freetype/ftadvanc.h + freetype/ftbitmap.h + freetype/ftxf86.h ++freetype.h ++ftcache.h ++ftglyph.h ++ftsynth.h ++ftoutln.h ++ttnameid.h ++tttables.h ++t1tables.h ++ftlcdfil.h ++ftsizes.h ++ftadvanc.h ++ftbitmap.h ++ftxf86.h + fribidi/fribidi.h + FSp_fopen.h + fstream + fstream.h + ft2build.h + fts.h + gconf/gconf-client.h + Gdiplus.h +diff --git a/js/src/config/system-headers b/js/src/config/system-headers +--- a/js/src/config/system-headers ++++ b/js/src/config/system-headers +@@ -408,16 +408,29 @@ freetype/ftoutln.h + freetype/ttnameid.h + freetype/tttables.h + freetype/t1tables.h + freetype/ftlcdfil.h + freetype/ftsizes.h + freetype/ftadvanc.h + freetype/ftbitmap.h + freetype/ftxf86.h ++freetype.h ++ftcache.h ++ftglyph.h ++ftsynth.h ++ftoutln.h ++ttnameid.h ++tttables.h ++t1tables.h ++ftlcdfil.h ++ftsizes.h ++ftadvanc.h ++ftbitmap.h ++ftxf86.h + fribidi/fribidi.h + FSp_fopen.h + fstream + fstream.h + ft2build.h + fts.h + gconf/gconf-client.h + Gdiplus.h Added: bluegriffon/trunk/mozconfig =================================================================== --- bluegriffon/trunk/mozconfig (rev 0) +++ bluegriffon/trunk/mozconfig 2014-11-08 15:14:16 UTC (rev 122244) @@ -0,0 +1,37 @@ +# Select BlueGriffon +mk_add_options MOZ_TOOLKIT_SEARCH= +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/bg +ac_add_options --enable-application=bluegriffon + +# System directories +ac_add_options --prefix=/usr +ac_add_options --libdir=/usr/lib + +# System libraries +ac_add_options --with-system-nspr +ac_add_options --with-system-nss +ac_add_options --with-system-jpeg +ac_add_options --with-system-zlib +ac_add_options --with-system-bz2 +ac_add_options --with-system-png +ac_add_options --with-system-libevent +ac_add_options --with-system-libvpx +ac_add_options --enable-system-hunspell +ac_add_options --enable-system-sqlite +#ac_add_options --enable-system-ffi +#ac_add_options --enable-system-cairo +ac_add_options --enable-system-pixman + +# Features +ac_add_options --enable-startup-notification +ac_add_options --enable-pulseaudio + +ac_add_options --disable-crashreporter +ac_add_options --disable-updater +ac_add_options --disable-installer +ac_add_options --disable-debug-symbols + +# Optimization +ac_add_options --disable-debug +ac_add_options --enable-optimize +mk_add_options MOZ_MAKE_FLAGS="-s -j4"
