[108306] trunk/dports/gnome

devans at macports.org devans at macports.org
Thu Jul 18 12:34:22 PDT 2013


Revision: 108306
          https://trac.macports.org/changeset/108306
Author:   devans at macports.org
Date:     2013-07-18 12:34:22 -0700 (Thu, 18 Jul 2013)
Log Message:
-----------
libgtkhtml4: new port, gtkhtml-4.0 HTML renderer/editor library for GTK+ 3, installs in parallel with previous versions.

Added Paths:
-----------
    trunk/dports/gnome/libgtkhtml4/
    trunk/dports/gnome/libgtkhtml4/Portfile
    trunk/dports/gnome/libgtkhtml4/files/
    trunk/dports/gnome/libgtkhtml4/files/patch-gnuregex.diff

Added: trunk/dports/gnome/libgtkhtml4/Portfile
===================================================================
--- trunk/dports/gnome/libgtkhtml4/Portfile	                        (rev 0)
+++ trunk/dports/gnome/libgtkhtml4/Portfile	2013-07-18 19:34:22 UTC (rev 108306)
@@ -0,0 +1,56 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem      1.0
+
+name            libgtkhtml4
+set gname       gtkhtml
+version         4.6.5
+set branch      [join [lrange [split ${version} .] 0 1] .]
+
+maintainers     devans openmaintainer
+categories      gnome
+license         LGPL
+platforms       darwin
+description     GTK+ 3 HTML rendering/editing engine.
+
+long_description \
+                GtkHTML4 is a lightweight HTML rendering/printing/editing \
+                engine for GTK+ 3. It was originally based on KHTMLW, part of the \
+                KDE project, but is now being developed independently.
+
+homepage        http://www.gnome.org/
+master_sites    gnome:sources/${gname}/${branch}/
+distname        ${gname}-${version}
+
+use_xz          yes
+
+checksums       rmd160  14201d87fff04d7efb9a3055965f86e70374e912 \
+                sha256  d5145919708250b3dd0e650f90d156984217356d953da936394ceb8da59ff546
+
+depends_build   port:pkgconfig \
+                port:intltool
+
+depends_lib     port:gtk3 \
+                port:enchant \
+                port:gsettings-desktop-schemas \
+                port:iso-codes \
+                port:orbit2 \
+                port:libsoup \
+                port:gnome-icon-theme \
+                port:gnuregex
+
+patchfiles      patch-gnuregex.diff
+
+use_autoreconf  yes
+
+test.run        yes
+test.dir        $worksrcpath/gtkhtml
+test.target     test-verbose
+
+post-destroot {
+    move ${destroot}${prefix}/bin/gtkhtml-editor-test  ${destroot}${prefix}/bin/gtkhtml-editor-test-4.0
+}
+
+livecheck.type  gnome
+livecheck.name  ${gname}


Property changes on: trunk/dports/gnome/libgtkhtml4/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/gnome/libgtkhtml4/files/patch-gnuregex.diff
===================================================================
--- trunk/dports/gnome/libgtkhtml4/files/patch-gnuregex.diff	                        (rev 0)
+++ trunk/dports/gnome/libgtkhtml4/files/patch-gnuregex.diff	2013-07-18 19:34:22 UTC (rev 108306)
@@ -0,0 +1,22 @@
+--- gtkhtml/htmltext.c.orig	2013-07-18 09:29:16.000000000 -0700
++++ gtkhtml/htmltext.c	2013-07-18 09:29:54.000000000 -0700
+@@ -25,7 +25,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <sys/types.h>
+-#include <regex.h>
++#include <gnuregex.h>
+ #include <math.h>
+ 
+ #define PANGO_ENABLE_BACKEND /* Required to get PANGO_GLYPH_EMPTY */
+--- configure.ac.orig	2013-02-19 05:40:32.000000000 -0800
++++ configure.ac	2013-07-18 10:28:56.000000000 -0700
+@@ -235,7 +235,7 @@
+ dnl **************************************************
+ dnl regex library
+ dnl **************************************************
+-AC_CHECK_FUNCS(regexec,,[AC_CHECK_LIB(regex,regexec,[REGEX_LIBS=-lregex],[AC_MSG_ERROR([No regex library found])])])
++AC_CHECK_LIB(gnuregex,regexec,[REGEX_LIBS=-lgnuregex],[AC_MSG_ERROR([No regex library found])])
+ AC_SUBST(REGEX_LIBS)
+ 
+ dnl ******************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130718/b7c3d4b8/attachment.html>


More information about the macports-changes mailing list