From owner-svn-ports-head@freebsd.org Wed Jul 29 19:51:33 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ED28836AABA; Wed, 29 Jul 2020 19:51:33 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BH41K62hLz4Bm3; Wed, 29 Jul 2020 19:51:33 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B2CE924E73; Wed, 29 Jul 2020 19:51:33 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 06TJpXIX057434; Wed, 29 Jul 2020 19:51:33 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 06TJpWtl057431; Wed, 29 Jul 2020 19:51:32 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <202007291951.06TJpWtl057431@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 29 Jul 2020 19:51:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r543673 - in head/x11/wofi: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/x11/wofi: . files X-SVN-Commit-Revision: 543673 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2020 19:51:34 -0000 Author: jbeich Date: Wed Jul 29 19:51:32 2020 New Revision: 543673 URL: https://svnweb.freebsd.org/changeset/ports/543673 Log: x11/wofi: update to 1.2.1 Changes: https://hg.sr.ht/~scoopta/wofi/log Reported by: Repology Modified: head/x11/wofi/Makefile (contents, props changed) head/x11/wofi/distinfo (contents, props changed) head/x11/wofi/files/patch-glib-2.56 (contents, props changed) head/x11/wofi/pkg-plist (contents, props changed) Modified: head/x11/wofi/Makefile ============================================================================== --- head/x11/wofi/Makefile Wed Jul 29 18:59:33 2020 (r543672) +++ head/x11/wofi/Makefile Wed Jul 29 19:51:32 2020 (r543673) @@ -2,7 +2,7 @@ PORTNAME= wofi DISTVERSIONPREFIX= v -DISTVERSION= 1.1.2 +DISTVERSION= 1.2.1 CATEGORIES= x11 #MASTER_SITES= https://hg.sr.ht/~scoopta/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MASTER_SITES+= LOCAL/jbeich # https://todo.sr.ht/~sircmpwn/hg.sr.ht/33 @@ -16,8 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING.md LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= gnome meson pkgconfig -USE_CSTD= gnu99 # https://lists.sr.ht/~scoopta/wofi/patches/10055 -USE_GNOME= gdkpixbuf2 gtk30 +USE_GNOME= cairo gdkpixbuf2 gtk30 post-patch: @${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \ Modified: head/x11/wofi/distinfo ============================================================================== --- head/x11/wofi/distinfo Wed Jul 29 18:59:33 2020 (r543672) +++ head/x11/wofi/distinfo Wed Jul 29 19:51:32 2020 (r543673) @@ -1,3 +1,3 @@ -TIMESTAMP = 1583818656 -SHA256 (wofi-v1.1.2.tar.gz) = c7f952e49bf52d3519b52c9f7c88c8d83a800297d16076f7eaefddf0cb6f8371 -SIZE (wofi-v1.1.2.tar.gz) = 64813 +TIMESTAMP = 1595978324 +SHA256 (wofi-v1.2.1.tar.gz) = d1a2c6bf7a193566c87bc95b6ad02241da22aa7623a740dfc80a140b1a1e0ec9 +SIZE (wofi-v1.2.1.tar.gz) = 71357 Modified: head/x11/wofi/files/patch-glib-2.56 ============================================================================== --- head/x11/wofi/files/patch-glib-2.56 Wed Jul 29 18:59:33 2020 (r543672) +++ head/x11/wofi/files/patch-glib-2.56 Wed Jul 29 19:51:32 2020 (r543673) @@ -9,9 +9,17 @@ ld: error: undefined symbol: g_app_info_launch_uris_fi >>> referenced by drun.c >>> wofi@exe/modes_drun.c.o:(launch_done) ---- modes/drun.c.orig 2020-03-10 05:37:36 UTC +--- modes/drun.c.orig 2020-07-28 23:18:44 UTC +++ modes/drun.c -@@ -315,6 +315,7 @@ struct widget* wofi_drun_get_widget(void) { +@@ -19,6 +19,7 @@ + #include + + #include ++#include + + #include + #include +@@ -373,6 +374,7 @@ struct widget* wofi_drun_get_widget(void) { return NULL; } @@ -19,18 +27,18 @@ ld: error: undefined symbol: g_app_info_launch_uris_fi static void launch_done(GObject* obj, GAsyncResult* result, gpointer data) { GError* err = NULL; if(g_app_info_launch_uris_finish(G_APP_INFO(obj), result, &err)) { -@@ -329,6 +330,7 @@ static void launch_done(GObject* obj, GAsyncResult* re +@@ -387,6 +389,7 @@ static void launch_done(GObject* obj, GAsyncResult* re } exit(1); } +#endif - void wofi_drun_exec(const gchar* cmd) { - GDesktopAppInfo* info = g_desktop_app_info_new_from_filename(cmd); -@@ -338,7 +340,14 @@ void wofi_drun_exec(const gchar* cmd) { - printf("%s\n", g_app_info_get_commandline(G_APP_INFO(info))); + static void set_dri_prime(GDesktopAppInfo* info) { + bool dri_prime = g_desktop_app_info_get_boolean(info, "PrefersNonDefaultGPU"); +@@ -404,7 +407,14 @@ void wofi_drun_exec(const gchar* cmd) { exit(0); } else { + set_dri_prime(info); +#if GLIB_CHECK_VERSION(2, 60, 0) g_app_info_launch_uris_async(G_APP_INFO(info), NULL, NULL, NULL, launch_done, (gchar*) cmd); +#else Modified: head/x11/wofi/pkg-plist ============================================================================== --- head/x11/wofi/pkg-plist Wed Jul 29 18:59:33 2020 (r543672) +++ head/x11/wofi/pkg-plist Wed Jul 29 19:51:32 2020 (r543673) @@ -2,6 +2,8 @@ bin/wofi include/wofi-1/config.h include/wofi-1/map.h include/wofi-1/utils.h +include/wofi-1/utils_g.h +include/wofi-1/widget_builder_api.h include/wofi-1/wofi_api.h libdata/pkgconfig/wofi.pc man/man1/wofi.1.gz