From owner-svn-ports-head@freebsd.org Sat Dec 19 00:32:32 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 A04A74B2B8A; Sat, 19 Dec 2020 00:32:32 +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 4CyRX04CPrz3v4X; Sat, 19 Dec 2020 00:32:32 +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 8357B1459E; Sat, 19 Dec 2020 00:32:32 +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 0BJ0WWkp061333; Sat, 19 Dec 2020 00:32:32 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BJ0WV79061328; Sat, 19 Dec 2020 00:32:31 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <202012190032.0BJ0WV79061328@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sat, 19 Dec 2020 00:32:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r558419 - in head/x11/phosh: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/x11/phosh: . files X-SVN-Commit-Revision: 558419 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.34 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: Sat, 19 Dec 2020 00:32:32 -0000 Author: jbeich Date: Sat Dec 19 00:32:31 2020 New Revision: 558419 URL: https://svnweb.freebsd.org/changeset/ports/558419 Log: x11/phosh: update to 0.7.1 Changes: https://source.puri.sm/Librem5/phosh/-/tags/v0.7.1 Reported by: Repology Added: head/x11/phosh/files/patch-no-logind (contents, props changed) Modified: head/x11/phosh/Makefile (contents, props changed) head/x11/phosh/distinfo (contents, props changed) head/x11/phosh/files/patch-no-libnm (contents, props changed) head/x11/phosh/pkg-plist (contents, props changed) Modified: head/x11/phosh/Makefile ============================================================================== --- head/x11/phosh/Makefile Sat Dec 19 00:31:49 2020 (r558418) +++ head/x11/phosh/Makefile Sat Dec 19 00:32:31 2020 (r558419) @@ -2,7 +2,7 @@ PORTNAME= phosh DISTVERSIONPREFIX= v -DISTVERSION= 0.7.0 +DISTVERSION= 0.7.1 CATEGORIES= x11 MAINTAINER= jbeich@FreeBSD.org @@ -27,7 +27,7 @@ USE_GITLAB= yes USE_GNOME= cairo gdkpixbuf2 gnomedesktop3 GL_SITE= https://source.puri.sm GL_ACCOUNT= Librem5 -GL_COMMIT= 34720663adadc6959dac293ee7371354be26cfa8 +GL_COMMIT= c343fd9e4eb96796fff53a638316cb1b20b5866c GL_TUPLE= https://gitlab.gnome.org:GNOME:libgnome-volume-control:ae1a34aafce7026b8c0f65a43c9192d756fe1057:gvc/subprojects/gvc SHEBANG_FILES= build-aux/post_install.py MESON_ARGS= -Dgvc:alsa=false Modified: head/x11/phosh/distinfo ============================================================================== --- head/x11/phosh/distinfo Sat Dec 19 00:31:49 2020 (r558418) +++ head/x11/phosh/distinfo Sat Dec 19 00:32:31 2020 (r558419) @@ -1,5 +1,5 @@ -TIMESTAMP = 1607605311 -SHA256 (Librem5-phosh-34720663adadc6959dac293ee7371354be26cfa8_GL0.tar.gz) = a0883ed16448004ef2d6b109c27c42f4ae6249a84b77712a1331206fdb3c1d8f -SIZE (Librem5-phosh-34720663adadc6959dac293ee7371354be26cfa8_GL0.tar.gz) = 368118 +TIMESTAMP = 1608303217 +SHA256 (Librem5-phosh-c343fd9e4eb96796fff53a638316cb1b20b5866c_GL0.tar.gz) = 40e174ae41a0d8f0070a7d3700716dbb9e4abb44461b07010b2f72587ed251d5 +SIZE (Librem5-phosh-c343fd9e4eb96796fff53a638316cb1b20b5866c_GL0.tar.gz) = 374411 SHA256 (GNOME-libgnome-volume-control-ae1a34aafce7026b8c0f65a43c9192d756fe1057_GL0.tar.gz) = 780143bef70698e402b099f300f5c82bfbb38ef5c3b6d89b1efeb7a45a5d8dc1 SIZE (GNOME-libgnome-volume-control-ae1a34aafce7026b8c0f65a43c9192d756fe1057_GL0.tar.gz) = 45245 Modified: head/x11/phosh/files/patch-no-libnm ============================================================================== --- head/x11/phosh/files/patch-no-libnm Sat Dec 19 00:31:49 2020 (r558418) +++ head/x11/phosh/files/patch-no-libnm Sat Dec 19 00:32:31 2020 (r558419) @@ -3,15 +3,17 @@ implements libnm-compatible API required by Phosh and meson.build:134:0: ERROR: Dependency "libnm" not found, tried pkgconfig ---- meson.build.orig 2020-08-03 08:10:28 UTC +--- meson.build.orig 2020-12-18 14:53:37 UTC +++ meson.build -@@ -131,9 +131,9 @@ libhandy_dep = dependency('libhandy-0.0', +@@ -131,11 +131,11 @@ libhandy_dep = dependency('libhandy-1', fallback: ['libhandy', 'libhandy_dep'], default_options: ['introspection=disabled'] ) -libnm_dep = dependency('libnm', version: '>= 1.14') +libnm_dep = dependency('libnm', version: '>= 1.14', required: false) libpolkit_agent_dep = dependency('polkit-agent-1', version: '>= 0.105') + # TODO: make optional for elogind? + libsystemd_dep = dependency('libsystemd', version: '>= 241') -network_agent_dep = dependency('libsecret-1') +network_agent_dep = dependency('libsecret-1', required: false) upower_glib_dep = dependency('upower-glib', version: '>=0.99.1') Added: head/x11/phosh/files/patch-no-logind ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/phosh/files/patch-no-logind Sat Dec 19 00:32:31 2020 (r558419) @@ -0,0 +1,77 @@ +(e)logind is Linux-only. FreeBSD supports libseat but it has a different API. + +--- meson.build.orig 2020-12-18 14:53:37 UTC ++++ meson.build +@@ -134,7 +134,7 @@ libhandy_dep = dependency('libhandy-1', + libnm_dep = dependency('libnm', version: '>= 1.14', required: false) + libpolkit_agent_dep = dependency('polkit-agent-1', version: '>= 0.105') + # TODO: make optional for elogind? +-libsystemd_dep = dependency('libsystemd', version: '>= 241') ++libsystemd_dep = dependency('libsystemd', version: '>= 241', required: false) + network_agent_dep = dependency('libsecret-1', required: false) + upower_glib_dep = dependency('upower-glib', version: '>=0.99.1') + wayland_client_dep = dependency('wayland-client', version: '>=1.14') +--- src/util.c.orig 2020-12-18 14:53:37 UTC ++++ src/util.c +@@ -9,8 +9,6 @@ + #include "util.h" + #include + +-#include +- + /* Just wraps gtk_widget_destroy so we can use it with g_clear_pointer */ + void + phosh_cp_widget_destroy (void *widget) +@@ -97,51 +95,5 @@ phosh_munge_app_id (const char *app_id) + gboolean + phosh_find_systemd_session (char **session_id) + { +- int n_sessions; +- +- g_auto (GStrv) sessions = NULL; +- char *session; +- int i; +- +- n_sessions = sd_uid_get_sessions (getuid (), 0, &sessions); +- +- if (n_sessions < 0) { +- g_debug ("Failed to get sessions for user %d", getuid ()); +- return FALSE; +- } +- +- session = NULL; +- for (i = 0; i < n_sessions; i++) { +- int r; +- g_autofree char *type = NULL; +- g_autofree char *desktop = NULL; +- +- r = sd_session_get_desktop (sessions[i], &desktop); +- if (r < 0) { +- g_debug ("Couldn't get desktop for session '%s': %s", +- sessions[i], strerror (-r)); +- continue; +- } +- +- if (g_strcmp0 (desktop, "phosh") != 0) +- continue; +- +- r = sd_session_get_type (sessions[i], &type); +- if (r < 0) { +- g_debug ("Couldn't get type for session '%s': %s", +- sessions[i], strerror (-r)); +- continue; +- } +- +- if (g_strcmp0 (type, "wayland") != 0) +- continue; +- +- session = sessions[i]; +- break; +- } +- +- if (session != NULL) +- *session_id = g_strdup (session); +- +- return session != NULL; ++ return FALSE; + } Modified: head/x11/phosh/pkg-plist ============================================================================== --- head/x11/phosh/pkg-plist Sat Dec 19 00:31:49 2020 (r558418) +++ head/x11/phosh/pkg-plist Sat Dec 19 00:32:31 2020 (r558419) @@ -23,6 +23,7 @@ share/locale/fr/LC_MESSAGES/phosh.mo share/locale/fur/LC_MESSAGES/phosh.mo share/locale/he/LC_MESSAGES/phosh.mo share/locale/hu/LC_MESSAGES/phosh.mo +share/locale/id/LC_MESSAGES/phosh.mo share/locale/it/LC_MESSAGES/phosh.mo share/locale/ja/LC_MESSAGES/phosh.mo share/locale/ko/LC_MESSAGES/phosh.mo