[Midnightbsd-cvs] mports [17571] trunk/www/midori: midori 0.5.8

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Sep 27 12:20:35 EDT 2014


Revision: 17571
          http://svnweb.midnightbsd.org/mports/?rev=17571
Author:   laffer1
Date:     2014-09-27 12:20:34 -0400 (Sat, 27 Sep 2014)
Log Message:
-----------
midori 0.5.8

Modified Paths:
--------------
    trunk/www/midori/Makefile
    trunk/www/midori/distinfo
    trunk/www/midori/pkg-plist

Removed Paths:
-------------
    trunk/www/midori/files/patch-CMakeLists.txt
    trunk/www/midori/files/patch-extensions__CMakeLists.txt

Modified: trunk/www/midori/Makefile
===================================================================
--- trunk/www/midori/Makefile	2014-09-27 16:16:30 UTC (rev 17570)
+++ trunk/www/midori/Makefile	2014-09-27 16:20:34 UTC (rev 17571)
@@ -1,7 +1,7 @@
 # $MidnightBSD$
 
 PORTNAME=	midori
-PORTVERSION=	0.5.7
+PORTVERSION=	0.5.8
 CATEGORIES=	www xfce
 MASTER_SITES=	http://www.midori-browser.org/downloads/
 DISTNAME=	${PORTNAME}_${PORTVERSION}_all_
@@ -22,35 +22,38 @@
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
-CMAKE_ARGS=	-DUSE_GRANITE:BOOL=OFF \
-	-DUSE_GCR:BOOL=OFF
+CMAKE_ARGS=	-DUSE_GCR:BOOL=OFF
 
-WRKSRC=	${WRKDIR}/${DISTNAME:C/([a-z]*)_([0-9\.]*)(_all_)/\1-\2/}
-USE_BZIP2=	yes
+#WRKSRC=	${WRKDIR}/${DISTNAME:C/([a-z]*)_([0-9\.]*)(_all_)/\1-\2/}
+NO_WRKSUBDIR=	yes
 USE_GNOME=	glib20 intltool libxml2
 USE_XORG=	xscrnsaver
 INSTALLS_ICONS=	yes
 USE_LDCONFIG=	yes
-USES=		desktop-file-utils pkgconfig cmake gettext
+USES=		desktop-file-utils pkgconfig cmake gettext tar:bzip2
+USE_SQLITE=	yes
 
 PLIST_SUB=	VERSION="${PORTVERSION:R}"
 
-OPTIONS_DEFINE=	DOCS ZEITGEIST
+OPTIONS_DEFINE=	DOCS GIR GRANITE ZEITGEIST
 OPTIONS_SINGLE=	GTK
 OPTIONS_SINGLE_GTK=	GTK2 GTK3
 OPTIONS_DEFAULT=	GTK2
+GIR_DESC=	GObject Introspection
+GRANITE_DESC=	Additional GTK widgets (require GTK3)
 ZEITGEIST_DESC=	User logs activities
 
 .include <bsd.mport.options.mk>
 
 .if ${PORT_OPTIONS:MGTK2}
-LIB_DEPENDS+=	webkitgtk-1.0:${PORTSDIR}/www/webkit-gtk2
+LIB_DEPENDS+=	libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2
 USE_GNOME+=	gtk20
 CMAKE_ARGS+=	-DUSE_GTK3:BOOL=OFF
+PLIST_SUB+=	ONLY_WEBKIT1=""
 .endif
 
 .if ${PORT_OPTIONS:MGTK3}
-LIB_DEPENDS+=	webkitgtk-3.0:${PORTSDIR}/www/webkit-gtk3
+LIB_DEPENDS+=	libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3
 USE_GNOME+=	gtk30
 CMAKE_ARGS+=	-DUSE_GTK3:BOOL=ON
 
@@ -57,10 +60,20 @@
 # Support the new WebKit2 API (>= 1.11.91)
 .if exists(${LOCALBASE}/libdata/pkgconfig/webkit2gtk-3.0.pc)
 CMAKE_ARGS+=	-DHALF_BRO_INCOM_WEBKIT2:BOOL=ON
+# Some extensions are not yet ported to the new API (WebKit2)
+PLIST_SUB+=	ONLY_WEBKIT1="@comment "
 .else
 CMAKE_ARGS+=	-DHALF_BRO_INCOM_WEBKIT2:BOOL=OFF
+PLIST_SUB+=	ONLY_WEBKIT1=""
 .endif
+
+.if ${PORT_OPTIONS:MGRANITE}
+LIB_DEPENDS+=	libgranite.so:${PORTSDIR}/x11-toolkits/granite
+CMAKE_ARGS+=	-DUSE_GRANITE:BOOL=ON
+.else
+CMAKE_ARGS+=	-DUSE_GRANITE:BOOL=OFF
 .endif
+.endif
 
 .if ${PORT_OPTIONS:MDOCS}
 BUILD_DEPENDS+=	gtkdoc-scan:${PORTSDIR}/textproc/gtk-doc
@@ -72,16 +85,24 @@
 .endif
 
 .if ${PORT_OPTIONS:MZEITGEIST}
-LIB_DEPENDS+=	zeitgeist-1.0:${PORTSDIR}/sysutils/libzeitgeist
+LIB_DEPENDS+=	libzeitgeist-1.0.so:${PORTSDIR}/sysutils/libzeitgeist
 CMAKE_ARGS+=	-DUSE_ZEITGEIST:BOOL=ON
 .else
 CMAKE_ARGS+=	-DUSE_ZEITGEIST:BOOL=OFF
 .endif
 
+.if ${PORT_OPTIONS:MGIR} && ${PORT_OPTIONS:MGTK2}
+USE_GNOME+=	introspection:build
+CMAKE_ARGS+=	-DUSE_GIR:BOOL=ON
+PLIST_SUB+=	GIR=""
+.else
+CMAKE_ARGS+=	-DUSE_GIR:BOOL=OFF
+PLIST_SUB+=	GIR="@comment "
+.endif
+
 post-patch:
 # Avoid errors with CMake
-	@${RM} ${WRKSRC}/*.orig
-.for dir in extensions
+.for dir in config extensions
 	@${RM} ${WRKSRC}/${dir}/*.orig
 .endfor
 

Modified: trunk/www/midori/distinfo
===================================================================
--- trunk/www/midori/distinfo	2014-09-27 16:16:30 UTC (rev 17570)
+++ trunk/www/midori/distinfo	2014-09-27 16:20:34 UTC (rev 17571)
@@ -1,2 +1,2 @@
-SHA256 (xfce4/midori_0.5.7_all_.tar.bz2) = 2875bb2aa8a8a0cce342178f04700d4ebccd13bf1b2ad4cb3ba9fec7e2bd0b4d
-SIZE (xfce4/midori_0.5.7_all_.tar.bz2) = 1191260
+SHA256 (xfce4/midori_0.5.8_all_.tar.bz2) = af19135fd4c4b04345df4d3592e7939c20f9b40eaca24550e6cb619751aa9381
+SIZE (xfce4/midori_0.5.8_all_.tar.bz2) = 1267130

Deleted: trunk/www/midori/files/patch-CMakeLists.txt
===================================================================
--- trunk/www/midori/files/patch-CMakeLists.txt	2014-09-27 16:16:30 UTC (rev 17570)
+++ trunk/www/midori/files/patch-CMakeLists.txt	2014-09-27 16:20:34 UTC (rev 17571)
@@ -1,10 +0,0 @@
---- ./CMakeLists.txt.orig	2014-01-15 20:43:34.000000000 +0000
-+++ ./CMakeLists.txt	2014-01-15 22:50:54.000000000 +0000
-@@ -100,6 +100,7 @@
- string(FIND ${CMAKE_SYSTEM_NAME} "BSD" BEGIN)
- if (${BEGIN} GREATER 0)
-     string(SUBSTRING ${CMAKE_SYSTEM_NAME} ${BEGIN} 3 BSD)
-+    set(BSD 1 CACHE INTERNAL BOOL FORCE)
- else()
-     set(BSD 0)
- endif()

Deleted: trunk/www/midori/files/patch-extensions__CMakeLists.txt
===================================================================
--- trunk/www/midori/files/patch-extensions__CMakeLists.txt	2014-09-27 16:16:30 UTC (rev 17570)
+++ trunk/www/midori/files/patch-extensions__CMakeLists.txt	2014-09-27 16:20:34 UTC (rev 17571)
@@ -1,14 +0,0 @@
---- ./extensions/CMakeLists.txt.orig	2014-01-15 20:43:34.000000000 +0000
-+++ ./extensions/CMakeLists.txt	2014-01-15 22:52:29.000000000 +0000
-@@ -24,6 +24,11 @@
-          "nsplugin-manager.vala"
-          )
- endif ()
-+if (BSD)
-+    list(REMOVE_ITEM EXTENSIONS
-+         "devpet.vala"
-+         )
-+endif ()
- 
- foreach(UNIT_SRC ${EXTENSIONS})
-     string(FIND ${UNIT_SRC} ".c" UNIT_EXTENSION)

Modified: trunk/www/midori/pkg-plist
===================================================================
--- trunk/www/midori/pkg-plist	2014-09-27 16:16:30 UTC (rev 17570)
+++ trunk/www/midori/pkg-plist	2014-09-27 16:20:34 UTC (rev 17571)
@@ -5,21 +5,25 @@
 lib/libmidori-core.so.0.0.0
 lib/libmidori-core.so.1
 lib/midori/libadblock.so
-lib/midori/libaddons.so
+%%ONLY_WEBKIT1%%lib/midori/libaddons.so
 lib/midori/libapps.so
 lib/midori/libcolorful-tabs.so
 lib/midori/libcookie-manager.so
-lib/midori/libcookie-permissions.so
+%%ONLY_WEBKIT1%%lib/midori/libcookie-permissions.so
 lib/midori/libcopy-tabs.so
 lib/midori/libdelayed-load.so
-lib/midori/libexternal-download-manager.so
+lib/midori/libdevpet.so
+lib/midori/libdomain-keys.so
+%%ONLY_WEBKIT1%%lib/midori/libexternal-download-manager.so
 lib/midori/libfeed-panel.so
 lib/midori/libflummi.so
-lib/midori/libformhistory.so
+%%ONLY_WEBKIT1%%lib/midori/libformhistory.so
 lib/midori/libhistory-list.so
 lib/midori/libmouse-gestures.so
-lib/midori/libnojs.so
-lib/midori/libnsplugin-manager.so
+%%ONLY_WEBKIT1%%lib/midori/libnojs.so
+lib/midori/libnotes.so
+%%ONLY_WEBKIT1%%lib/midori/libnsplugin-manager.so
+lib/midori/libopen-with.so
 lib/midori/libshortcuts.so
 lib/midori/libstatus-clock.so
 lib/midori/libstatusbar-features.so
@@ -38,8 +42,12 @@
 %%DOCSDIR%%/README
 %%DOCSDIR%%/faq.css
 %%DOCSDIR%%/faq.html
+%%GIR%%share/gir-1.0/Katze-%%VERSION%%.gir
+%%GIR%%share/gir-1.0/Midori-%%VERSION%%.gir
+%%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/katze/annotation-glossary.html
 %%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/katze/api-index-full.html
 %%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/katze/ch01.html
+%%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/katze/deprecated-api-index.html
 %%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/katze/home.png
 %%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/katze/index.html
 %%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/katze/katze-KatzeArray.html
@@ -55,8 +63,10 @@
 %%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/katze/right.png
 %%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/katze/style.css
 %%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/katze/up.png
+%%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/midori/annotation-glossary.html
 %%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/midori/api-index-full.html
 %%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/midori/ch01.html
+%%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/midori/deprecated-api-index.html
 %%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/midori/home.png
 %%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/midori/index.html
 %%APIDOCS%%share/gtk-doc/html/midori-%%VERSION%%/midori/left.png
@@ -92,6 +102,7 @@
 share/icons/hicolor/scalable/apps/midori.svg
 share/icons/hicolor/scalable/categories/extension.svg
 share/icons/hicolor/scalable/status/internet-news-reader.svg
+share/locale/am/LC_MESSAGES/midori.mo
 share/locale/ar/LC_MESSAGES/midori.mo
 share/locale/ast/LC_MESSAGES/midori.mo
 share/locale/be/LC_MESSAGES/midori.mo
@@ -98,6 +109,7 @@
 share/locale/bg/LC_MESSAGES/midori.mo
 share/locale/bs/LC_MESSAGES/midori.mo
 share/locale/ca/LC_MESSAGES/midori.mo
+share/locale/ckb/LC_MESSAGES/midori.mo
 share/locale/cs/LC_MESSAGES/midori.mo
 share/locale/cy/LC_MESSAGES/midori.mo
 share/locale/da/LC_MESSAGES/midori.mo
@@ -123,6 +135,7 @@
 share/locale/it/LC_MESSAGES/midori.mo
 share/locale/ja/LC_MESSAGES/midori.mo
 share/locale/kk/LC_MESSAGES/midori.mo
+share/locale/km/LC_MESSAGES/midori.mo
 share/locale/ko/LC_MESSAGES/midori.mo
 share/locale/ky/LC_MESSAGES/midori.mo
 share/locale/lt/LC_MESSAGES/midori.mo
@@ -141,6 +154,7 @@
 share/locale/ru/LC_MESSAGES/midori.mo
 share/locale/sk/LC_MESSAGES/midori.mo
 share/locale/sl/LC_MESSAGES/midori.mo
+share/locale/sq/LC_MESSAGES/midori.mo
 share/locale/sr/LC_MESSAGES/midori.mo
 share/locale/sr at latin/LC_MESSAGES/midori.mo
 share/locale/sv/LC_MESSAGES/midori.mo
@@ -152,6 +166,11 @@
 share/locale/zh_CN/LC_MESSAGES/midori.mo
 share/locale/zh_TW/LC_MESSAGES/midori.mo
 %%DATADIR%%/res/about.css
+%%DATADIR%%/res/adblock.list
+%%DATADIR%%/res/adblock/blocked.png
+%%DATADIR%%/res/adblock/disabled.png
+%%DATADIR%%/res/adblock/element_hider.js
+%%DATADIR%%/res/adblock/enabled.png
 %%DATADIR%%/res/autosuggestcontrol.css
 %%DATADIR%%/res/autosuggestcontrol.js
 %%DATADIR%%/res/bookmarks/Create.sql
@@ -167,15 +186,18 @@
 %%DATADIR%%/res/nojs/nojs-statusicon-allowed.png
 %%DATADIR%%/res/nojs/nojs-statusicon-denied.png
 %%DATADIR%%/res/nojs/nojs-statusicon-mixed.png
+%%DATADIR%%/res/notes/Create.sql
 %%DATADIR%%/res/speeddial-head.html
 %%DATADIR%%/res/tabby/Create.sql
 %%DATADIR%%/res/tabby/Update1.sql
 @dirrm %%DATADIR%%/res/tabby
+ at dirrm %%DATADIR%%/res/notes
 @dirrm %%DATADIR%%/res/nojs
 @dirrm %%DATADIR%%/res/history
 @dirrm %%DATADIR%%/res/forms
 @dirrm %%DATADIR%%/res/flummi
 @dirrm %%DATADIR%%/res/bookmarks
+ at dirrm %%DATADIR%%/res/adblock
 @dirrm %%DATADIR%%/res
 @dirrm %%DATADIR%%
 @dirrmtry share/locale/ug/LC_MESSAGES
@@ -184,6 +206,8 @@
 @dirrmtry share/locale/sr at latin
 @dirrmtry share/locale/ky/LC_MESSAGES
 @dirrmtry share/locale/ky
+ at dirrmtry share/locale/km/LC_MESSAGES
+ at dirrmtry share/locale/km
 @dirrmtry share/locale/kk/LC_MESSAGES
 @dirrmtry share/locale/kk
 @dirrmtry share/locale/ia/LC_MESSAGES
@@ -190,6 +214,8 @@
 @dirrmtry share/locale/ia
 @dirrmtry share/locale/gd/LC_MESSAGES
 @dirrmtry share/locale/gd
+ at dirrmtry share/locale/ckb/LC_MESSAGES
+ at dirrmtry share/locale/ckb
 @dirrmtry share/locale/ast/LC_MESSAGES
 @dirrmtry share/locale/ast
 %%APIDOCS%%@dirrm share/gtk-doc/html/midori-%%VERSION%%/midori
@@ -198,7 +224,7 @@
 %%APIDOCS%%@dirrmtry share/gtk-doc/html
 %%APIDOCS%%@dirrmtry share/gtk-doc
 @dirrm %%DOCSDIR%%
- at dirrm share/appdata
+ at dirrmtry share/appdata
 @dirrm lib/midori
 @dirrm etc/xdg/midori/extensions/adblock
 @dirrm etc/xdg/midori/extensions



More information about the Midnightbsd-cvs mailing list