Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Sep 2013 10:00:54 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r327801 - in head/www/midori: . files
Message-ID:  <201309211000.r8LA0s9d012163@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Sat Sep 21 10:00:54 2013
New Revision: 327801
URL: http://svnweb.freebsd.org/changeset/ports/327801

Log:
  Remove devpet extension, because of "undefined symbol in backtrace_symbol()"
  
  While I'm here
  Use the new format for LIB_DEPENDS

Added:
  head/www/midori/files/patch-extensions__wscript_build   (contents, props changed)
Modified:
  head/www/midori/Makefile
  head/www/midori/files/patch-wscript
  head/www/midori/pkg-plist

Modified: head/www/midori/Makefile
==============================================================================
--- head/www/midori/Makefile	Sat Sep 21 09:56:13 2013	(r327800)
+++ head/www/midori/Makefile	Sat Sep 21 10:00:54 2013	(r327801)
@@ -3,6 +3,7 @@
 
 PORTNAME=	midori
 PORTVERSION=	0.5.5
+PORTREVISION=	1
 CATEGORIES=	www xfce
 MASTER_SITES=	http://www.midori-browser.org/downloads/
 DISTNAME=	${PORTNAME}_${PORTVERSION}_all_
@@ -12,15 +13,13 @@ MAINTAINER=	xfce@FreeBSD.org
 COMMENT=	Lightweight web browser using WebKit browser engine
 
 LICENSE=	LGPL21
-LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	rsvg-convert:${PORTSDIR}/graphics/librsvg2 \
 		valac:${PORTSDIR}/lang/vala
-LIB_DEPENDS=	webkitgtk-1:${PORTSDIR}/www/webkit-gtk2 \
-		sqlite3:${PORTSDIR}/databases/sqlite3 \
-		notify:${PORTSDIR}/devel/libnotify \
-		soup-gnome-2:${PORTSDIR}/devel/libsoup-gnome \
-		execinfo:${PORTSDIR}/devel/libexecinfo
+LIB_DEPENDS=	libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2 \
+		libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
+		libnotify.so:${PORTSDIR}/devel/libnotify \
+		libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome
 RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
 
 CPPFLAGS+=	-I${LOCALBASE}/include

Added: head/www/midori/files/patch-extensions__wscript_build
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/midori/files/patch-extensions__wscript_build	Sat Sep 21 10:00:54 2013	(r327801)
@@ -0,0 +1,15 @@
+--- ./extensions/wscript_build.orig	2013-08-14 18:32:02.000000000 +0000
++++ ./extensions/wscript_build	2013-09-17 17:55:12.000000000 +0000
+@@ -4,8 +4,12 @@
+ 
+ import Options
+ import os
++import sys
+ 
+ extensions = os.listdir ('extensions')
++if 'bsd' in sys.platform:
++    if 'devpet.vala' in extensions:
++        extensions.remove('devpet.vala')
+ for extension in extensions:
+     # FIXME In the absense of a proper mechanism, transfers is a stock extension
+     if not bld.env['addons'] and extension != 'transfers.vala':

Modified: head/www/midori/files/patch-wscript
==============================================================================
--- head/www/midori/files/patch-wscript	Sat Sep 21 09:56:13 2013	(r327800)
+++ head/www/midori/files/patch-wscript	Sat Sep 21 10:00:54 2013	(r327801)
@@ -1,9 +1,5 @@
-- Fix PACKAGE_VERSION in gtk_about_dialog_widget (bug #1200903).
-- Check if execinfo.h header is found (bug #1212761).
-- Add test to avoid installing .orig files (for config/search).
-
 --- ./wscript.orig	2013-08-14 18:32:02.000000000 +0000
-+++ ./wscript	2013-08-15 19:05:48.000000000 +0000
++++ ./wscript	2013-09-17 19:23:37.000000000 +0000
 @@ -29,7 +29,6 @@
  
  APPNAME = 'midori'
@@ -25,16 +21,7 @@
  except:
      pass
  
-@@ -234,6 +235,8 @@
-         conf.check (header_name='X11/extensions/scrnsaver.h',
-                     includes='/usr/X11R6/include', mandatory=False)
-         conf.check (lib='Xss', libpath='/usr/X11R6/lib', mandatory=False)
-+        # Check if execinfo.h header is found
-+        conf.check (header_name='execinfo.h', mandatory=True)
- 
-     have_gtk3 = option_enabled ('gtk3') or option_enabled ('webkit2') or option_enabled ('granite')
-     if have_gtk3:
-@@ -530,15 +533,16 @@
+@@ -530,15 +531,16 @@
  
      for config_file in os.listdir ('config'):
          dest = '${SYSCONFDIR}/xdg/' + APPNAME

Modified: head/www/midori/pkg-plist
==============================================================================
--- head/www/midori/pkg-plist	Sat Sep 21 09:56:13 2013	(r327800)
+++ head/www/midori/pkg-plist	Sat Sep 21 10:00:54 2013	(r327801)
@@ -3,7 +3,6 @@ etc/xdg/midori/extensions/adblock/config
 etc/xdg/midori/search
 include/midori-%%VERSION%%/extensions/apps.h
 include/midori-%%VERSION%%/extensions/delayed-load.h
-include/midori-%%VERSION%%/extensions/devpet.h
 include/midori-%%VERSION%%/extensions/external-download-manager.h
 include/midori-%%VERSION%%/extensions/history-list.h
 include/midori-%%VERSION%%/extensions/nsplugin-manager.h
@@ -16,7 +15,6 @@ lib/midori/libcookie-manager.so
 lib/midori/libcookie-permissions.so
 lib/midori/libcopy-tabs.so
 lib/midori/libdelayed-load.so
-lib/midori/libdevpet.so
 lib/midori/libexternal-download-manager.so
 lib/midori/libfeed-panel.so
 lib/midori/libformhistory.so
@@ -183,8 +181,6 @@ share/vala/vapi/apps.deps
 share/vala/vapi/apps.vapi
 share/vala/vapi/delayed-load.deps
 share/vala/vapi/delayed-load.vapi
-share/vala/vapi/devpet.deps
-share/vala/vapi/devpet.vapi
 share/vala/vapi/external-download-manager.deps
 share/vala/vapi/external-download-manager.vapi
 share/vala/vapi/history-list.deps



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309211000.r8LA0s9d012163>