From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 13 23:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48AA7DD7 for ; Sun, 13 Apr 2014 23:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 23DCF14B8 for ; Sun, 13 Apr 2014 23:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3DNo1a1072309 for ; Sun, 13 Apr 2014 23:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3DNo08I072303; Sun, 13 Apr 2014 23:50:00 GMT (envelope-from gnats) Resent-Date: Sun, 13 Apr 2014 23:50:00 GMT Resent-Message-Id: <201404132350.s3DNo08I072303@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthew Rezny Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9624D51 for ; Sun, 13 Apr 2014 23:40:42 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8924A13C2 for ; Sun, 13 Apr 2014 23:40:42 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3DNefXl013283 for ; Sun, 13 Apr 2014 23:40:41 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3DNefZX013278; Sun, 13 Apr 2014 23:40:41 GMT (envelope-from nobody) Message-Id: <201404132340.s3DNefZX013278@cgiserv.freebsd.org> Date: Sun, 13 Apr 2014 23:40:41 GMT From: Matthew Rezny To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/188579: QupZilla port lacks options for DE integration X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2014 23:50:01 -0000 >Number: 188579 >Category: ports >Synopsis: QupZilla port lacks options for DE integration >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Apr 13 23:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Matthew Rezny >Release: 10-STABLE >Organization: RezTek, s.r.o. >Environment: FreeBSD desktop.reztek 10.0-STABLE FreeBSD 10.0-STABLE #0 r264285: Thu Apr 10 01:49:39 CEST 2014 root@desktop.reztek:/usr/obj/usr/src/sys/DESKTOP amd64 >Description: QupZilla has build options for integration with KDE and Gnome desktop environments. The integration allows utilization of the native password storage mechanism of these DEs (KWallet in the case of KDE, Gnome Keyring in the case of Gnome) for storing of login credentials for websites as an alternative to storing those credentials in a database specifc to QupZilla. Use of the DE's password storage potentially allows the credentials to be shared across multiple browsers. This integration is provided through native browser plugins that can be compiled with the browser. Since these plugins require libraries provided by these DEs, they should be selectively enabled via port options. >How-To-Repeat: Desire to save your passwords in one central location rather than separately in each browser. >Fix: Add port options for the DE integration plugins. I have prepared a patch to do so. I havfe tested the KWALLET option. I have not tested the GNOMEKEYRING option since I am not a Gnome user. This patch also includes plist corrections for recently added translations which I had neglected to include in my patch in ports/186810 in my haste to update and un-BROKEN this port. Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 348839) +++ Makefile (working copy) @@ -21,6 +21,21 @@ USE_LDCONFIG= yes INSTALLS_ICONS= yes +OPTIONS_DEFINE= GNOMEKEYRING KWALLET +OPTIONS_SUB= yes + +.include + +.if ${PORT_OPTIONS:MGNOMEKEYRING} +LIB_DEPENDS+= libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring +QMAKE_ENV+= GNOME_INTEGRATION="true" +.endif + +.if ${PORT_OPTIONS:MKWALLET} +LIB_DEPENDS+= libkdeui.so:${PORTSDIR}/x11/kdelibs4 +QMAKE_ENV+= KDE_INTEGRATION="true" +.endif + post-patch: @${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \ ${WRKSRC}/tests/autotests/qztoolstest.cpp \ Index: pkg-plist =================================================================== --- pkg-plist (revision 348839) +++ pkg-plist (working copy) @@ -4,7 +4,9 @@ lib/libQupZilla.so.1.6 lib/libQupZilla.so.1.6.3 lib/qupzilla/libAccessKeysNavigation.so +%%GNOMEKEYRING%%lib/qupzilla/libGnomeKeyringPasswords.so lib/qupzilla/libGreaseMonkey.so +%%KWALLET%%lib/qupzilla/libKWalletPasswords.so lib/qupzilla/libMouseGestures.so lib/qupzilla/libPIM.so lib/qupzilla/libStatusBarIcons.so @@ -24,7 +26,9 @@ %%DATADIR%%/locale/de_DE.qm %%DATADIR%%/locale/el_GR.qm %%DATADIR%%/locale/es_ES.qm +%%DATADIR%%/locale/es_MX.qm %%DATADIR%%/locale/es_VE.qm +%%DATADIR%%/locale/eu_ES.qm %%DATADIR%%/locale/fa_IR.qm %%DATADIR%%/locale/fr_FR.qm %%DATADIR%%/locale/gl_ES.qm @@ -77,6 +81,7 @@ %%DATADIR%%/locale/sr_RS@latin.qm %%DATADIR%%/locale/sv_SE.qm %%DATADIR%%/locale/uk_UA.qm +%%DATADIR%%/locale/uz@Latn.qm %%DATADIR%%/locale/zh_CN.qm %%DATADIR%%/locale/zh_TW.qm %%DATADIR%%/themes/chrome/images/blankbutton-a.png >Release-Note: >Audit-Trail: >Unformatted: