From patchwork Wed Dec 12 07:14:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 1011622 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="sLqNm61v"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43F7QN2SJqz9s8J for ; Wed, 12 Dec 2018 18:16:12 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 15F0087B18; Wed, 12 Dec 2018 07:16:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EniAIF3qx-Y1; Wed, 12 Dec 2018 07:16:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 85A4E87AAF; Wed, 12 Dec 2018 07:16:05 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 38ABC1BF282 for ; Wed, 12 Dec 2018 07:16:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8D55C86156 for ; Wed, 12 Dec 2018 07:16:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WrZnAhUD-QbV for ; Wed, 12 Dec 2018 07:16:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by whitealder.osuosl.org (Postfix) with ESMTPS id 815BD8613C for ; Wed, 12 Dec 2018 07:16:00 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id 96so16549412wrb.2 for ; Tue, 11 Dec 2018 23:16:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wcr2nL74CTxETufp7BNnNqrdVvNcLAJ4ihjqPSf5QoU=; b=sLqNm61vFMelpmdCVpsJQXqHVycku2CpXDRKt6I1cqDNMSucoXy/auZNjcKFCKMSzh vJ2gI3AH5s7lgRHPIls9kOQIR3BKFg9ZTetnoYQS/PvlnXjwzENiWjf3lHA5pwkNaK+R 1s++nkAP9sYv+sPTqlDrHw1anYbeytwLsl28rN0Gk0wj1xrtBK21JXCRWi2ERQpXYJeC D6OciTbcQscewuOUHwzcE0jbQM3G3lgq5UL9tffNzbIxwWQAafQRh/WO8gHIs0sM9XfY LREQyYo7nO5BGrXbX6vvz7yOesBV5E7cArxAkhOHF1HctxsXwd4eN3Glo2NMJcF5rOdj KLiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wcr2nL74CTxETufp7BNnNqrdVvNcLAJ4ihjqPSf5QoU=; b=Af8XfCtWlAHDHubBLVPIrvA6N+Qw1KsuPOy6HaoFNYiMiN7NHWmy7vy4YGuXoOYFgD X5igBCK257fM2octlAO3useSFd4oLf5ToCwkNMCOhKvvIag1EM2KDJDzotomjk1zsdli hVTmCE9PhJDeUxw5XVE5NnuPWFbbitJv+3zXgnOlhAtLunsA80k3w4N5EVvuahdiAm8d dcw1I383dgjUXBTjFQdWOjXH2jwbuS9J2srCJYnG4C52UfEvseoy4UrSM2p9GMzDVHm1 3AUcp+C5ZZfXO/bQaR4zqwH8Jpbkg0VBYdzuME/MXiQ4CcNRV+HCyZWNwWRIzlwJUftI 1P2A== X-Gm-Message-State: AA+aEWbyYEKlVYOUNdnF4epUbyTZCS2y1ivO6g+Apbs8NA6PtWKLf3Zv 1yJB3i8ecaNKYY4Qnp4CIbi2Sv+L X-Google-Smtp-Source: AFSGD/VEsiDDzLy6KseidfqIjEISHe5ISTVPk64lERi4yG6vE/YtMdR8AM151w+SDJAyEMNTn1hcvA== X-Received: by 2002:adf:f5d1:: with SMTP id k17mr17572435wrp.59.1544598958741; Tue, 11 Dec 2018 23:15:58 -0800 (PST) Received: from vb-18.04 (254.7.19.109.rev.sfr.net. [109.19.7.254]) by smtp.gmail.com with ESMTPSA id 129sm2540955wmd.18.2018.12.11.23.15.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 23:15:58 -0800 (PST) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Wed, 12 Dec 2018 08:14:54 +0100 Message-Id: <20181212071455.29215-3-francois.perrad@gadz.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181212071455.29215-1-francois.perrad@gadz.org> References: <20181212071455.29215-1-francois.perrad@gadz.org> Subject: [Buildroot] [PATCH 3/4] netsurf: add GTK+ 3 frontend X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Francois Perrad --- package/netsurf/Config.in | 10 ++++++++-- package/netsurf/netsurf.mk | 8 ++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/package/netsurf/Config.in b/package/netsurf/Config.in index 21a3a992a..99360a99d 100644 --- a/package/netsurf/Config.in +++ b/package/netsurf/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_NETSURF help NetSurf is a compact graphical web browser which aims for HTML5, CSS and JavaScript support. - Frontends: GTK+ 2 (X11), SDL 1.2 (framebuffer) + Frontends: GTK (X11), SDL 1.2 (framebuffer) http://www.netsurf-browser.org/ @@ -29,7 +29,13 @@ config BR2_PACKAGE_NETSURF_GTK bool "gtk frontend" depends on BR2_PACKAGE_LIBGTK2 help - Select GTK frontend. + Select GTK+ 2 frontend. + +config BR2_PACKAGE_NETSURF_GTK3 + bool "gtk3 frontend" + depends on BR2_PACKAGE_LIBGTK3 + help + Select GTK+ 3 frontend. endchoice diff --git a/package/netsurf/netsurf.mk b/package/netsurf/netsurf.mk index 004d58256..8d29c5acc 100644 --- a/package/netsurf/netsurf.mk +++ b/package/netsurf/netsurf.mk @@ -15,6 +15,14 @@ NETSURF_DEPENDENCIES = expat jpeg libcurl libpng openssl \ ifeq ($(BR2_PACKAGE_NETSURF_GTK),y) NETSURF_DEPENDENCIES += libgtk2 NETSURF_FRONTEND = gtk +endif + +ifeq ($(BR2_PACKAGE_NETSURF_GTK3),y) +NETSURF_DEPENDENCIES += libgtk3 +NETSURF_FRONTEND = gtk3 +endif + +ifeq ($(BR2_PACKAGE_NETSURF_GTK)$(BR2_PACKAGE_NETSURF_GTK3),y) ifeq ($(BR2_PACKAGE_LIBRSVG),y) NETSURF_DEPENDENCIES += librsvg define NETSURF_SVG_CONFIGURE_CMDS