[arch-commits] Commit in bluegriffon/repos (12 files)

Fabio Castelli muflone at archlinux.org
Sat Nov 8 16:02:10 UTC 2014


    Date: Saturday, November 8, 2014 @ 17:02:09
  Author: muflone
Revision: 122245

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  bluegriffon/repos/community-testing-i686/
  bluegriffon/repos/community-testing-i686/PKGBUILD
    (from rev 122244, bluegriffon/trunk/PKGBUILD)
  bluegriffon/repos/community-testing-i686/bluegriffon.desktop
    (from rev 122244, bluegriffon/trunk/bluegriffon.desktop)
  bluegriffon/repos/community-testing-i686/bluegriffon.install
    (from rev 122244, bluegriffon/trunk/bluegriffon.install)
  bluegriffon/repos/community-testing-i686/freetype.patch
    (from rev 122244, bluegriffon/trunk/freetype.patch)
  bluegriffon/repos/community-testing-i686/mozconfig
    (from rev 122244, bluegriffon/trunk/mozconfig)
  bluegriffon/repos/community-testing-x86_64/
  bluegriffon/repos/community-testing-x86_64/PKGBUILD
    (from rev 122244, bluegriffon/trunk/PKGBUILD)
  bluegriffon/repos/community-testing-x86_64/bluegriffon.desktop
    (from rev 122244, bluegriffon/trunk/bluegriffon.desktop)
  bluegriffon/repos/community-testing-x86_64/bluegriffon.install
    (from rev 122244, bluegriffon/trunk/bluegriffon.install)
  bluegriffon/repos/community-testing-x86_64/freetype.patch
    (from rev 122244, bluegriffon/trunk/freetype.patch)
  bluegriffon/repos/community-testing-x86_64/mozconfig
    (from rev 122244, bluegriffon/trunk/mozconfig)

----------------------------------------------+
 community-testing-i686/PKGBUILD              |   85 +++++++++++++++++++++++++
 community-testing-i686/bluegriffon.desktop   |   16 ++++
 community-testing-i686/bluegriffon.install   |   12 +++
 community-testing-i686/freetype.patch        |   74 +++++++++++++++++++++
 community-testing-i686/mozconfig             |   37 ++++++++++
 community-testing-x86_64/PKGBUILD            |   85 +++++++++++++++++++++++++
 community-testing-x86_64/bluegriffon.desktop |   16 ++++
 community-testing-x86_64/bluegriffon.install |   12 +++
 community-testing-x86_64/freetype.patch      |   74 +++++++++++++++++++++
 community-testing-x86_64/mozconfig           |   37 ++++++++++
 10 files changed, 448 insertions(+)

Copied: bluegriffon/repos/community-testing-i686/PKGBUILD (from rev 122244, bluegriffon/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2014-11-08 16:02:09 UTC (rev 122245)
@@ -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"
+}

Copied: bluegriffon/repos/community-testing-i686/bluegriffon.desktop (from rev 122244, bluegriffon/trunk/bluegriffon.desktop)
===================================================================
--- community-testing-i686/bluegriffon.desktop	                        (rev 0)
+++ community-testing-i686/bluegriffon.desktop	2014-11-08 16:02:09 UTC (rev 122245)
@@ -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

Copied: bluegriffon/repos/community-testing-i686/bluegriffon.install (from rev 122244, bluegriffon/trunk/bluegriffon.install)
===================================================================
--- community-testing-i686/bluegriffon.install	                        (rev 0)
+++ community-testing-i686/bluegriffon.install	2014-11-08 16:02:09 UTC (rev 122245)
@@ -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
+}

Copied: bluegriffon/repos/community-testing-i686/freetype.patch (from rev 122244, bluegriffon/trunk/freetype.patch)
===================================================================
--- community-testing-i686/freetype.patch	                        (rev 0)
+++ community-testing-i686/freetype.patch	2014-11-08 16:02:09 UTC (rev 122245)
@@ -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

Copied: bluegriffon/repos/community-testing-i686/mozconfig (from rev 122244, bluegriffon/trunk/mozconfig)
===================================================================
--- community-testing-i686/mozconfig	                        (rev 0)
+++ community-testing-i686/mozconfig	2014-11-08 16:02:09 UTC (rev 122245)
@@ -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"

Copied: bluegriffon/repos/community-testing-x86_64/PKGBUILD (from rev 122244, bluegriffon/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2014-11-08 16:02:09 UTC (rev 122245)
@@ -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"
+}

Copied: bluegriffon/repos/community-testing-x86_64/bluegriffon.desktop (from rev 122244, bluegriffon/trunk/bluegriffon.desktop)
===================================================================
--- community-testing-x86_64/bluegriffon.desktop	                        (rev 0)
+++ community-testing-x86_64/bluegriffon.desktop	2014-11-08 16:02:09 UTC (rev 122245)
@@ -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

Copied: bluegriffon/repos/community-testing-x86_64/bluegriffon.install (from rev 122244, bluegriffon/trunk/bluegriffon.install)
===================================================================
--- community-testing-x86_64/bluegriffon.install	                        (rev 0)
+++ community-testing-x86_64/bluegriffon.install	2014-11-08 16:02:09 UTC (rev 122245)
@@ -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
+}

Copied: bluegriffon/repos/community-testing-x86_64/freetype.patch (from rev 122244, bluegriffon/trunk/freetype.patch)
===================================================================
--- community-testing-x86_64/freetype.patch	                        (rev 0)
+++ community-testing-x86_64/freetype.patch	2014-11-08 16:02:09 UTC (rev 122245)
@@ -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

Copied: bluegriffon/repos/community-testing-x86_64/mozconfig (from rev 122244, bluegriffon/trunk/mozconfig)
===================================================================
--- community-testing-x86_64/mozconfig	                        (rev 0)
+++ community-testing-x86_64/mozconfig	2014-11-08 16:02:09 UTC (rev 122245)
@@ -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"


More information about the arch-commits mailing list