From nobody Wed Jul 05 17:55:41 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qx6lK62Mnz4lx5G; Wed, 5 Jul 2023 17:55:41 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qx6lK5S95z4b5H; Wed, 5 Jul 2023 17:55:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688579741; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VVnbrM/RM5IqTgOn7PrESNMNVPTkMDpAeePce7hRH5U=; b=To4LxOFpEXMnEf2w5MFWlxmH8Q/tDZcG9jdFmiqhWXQlC6b4iet0M4EcP8tY0KZrn+XeLC DmCI6gB4E8pVyag0xIXwvrhgjBg9y60Ajk3c8HFK6CQMMU/OEi1xg1rsZRaBoimqjK1i5K HxoooQid1vEb6sw6TFfm37KwnbKttdW7oD5Le+S1lDrs8Cy6KGjacZnNGIQIS4NVwUYkFa F6miXz+lLgKqTzP8vy2zm8NxnqJh5/u//EZeqNFoetgDMGJOWai7KLHy7GuJji7vufGtuZ TB1WiugxATNUDUCbcj+qDb8tiL+OToNUJisTB2S0YQONrmadhVM2ZVdJl3iudQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688579741; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VVnbrM/RM5IqTgOn7PrESNMNVPTkMDpAeePce7hRH5U=; b=GRAZEF/MdzGJKdwBAepRBWETMxYfUG9KYn5AW+Nl59x5HIF9a/NwjXsDr8je+7dg0ToXOH +PVqeCln3yld6HNXWIJzQ70RxRmgj9QZCKEH9YOmSDKVkvpdYNG3FIJYkR0+hIFYlt74sk KDhaHb15Hr98gBqpyIa2x6Y2qr8MsDuOT/RusPdYMPoxOQB0NgjrEF6hw/pR2Cz6x2hiRB a5eSh/kuTgrvsKJ681o7MlVs9DqLsaQKLL8G5rnIOgL5EUGqrsX3/9bJxBMWg26uZFcNdY XJjuBBhOyMYHF3vfmBb/tD0vYJC9k/dS59ET9U8KLhbrH/3ZibMqKMNLGoJQgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688579741; a=rsa-sha256; cv=none; b=U6fa2DLXhoO8szQvr7nHmt4yXz5fxaa0yWN1lNgBm46+KU0TneCuxARqqlOyaiVH//mz02 9ERg0oRqIPNLt2UktyOlfe8T3WbARSLsozM5IieU1em+0/m2r5g0ufUX5dJ9j+FqAIiqSG I7GO9yjgR1oIQw9PBlnO+dMkjcdVuR5wBHKOg1hxjUokfgzFQ48rHIilJG9nqZBWUzP5q8 z53hxsRYnw+Vtu7DRXUUY98sq89P4KR/9zj7JxVQvQBb0rQbtOZv3Tbvph6P8dqLa9BphJ nzbngWH1fV/GPGaUsENrUeoR1mBmDq5z2EBvuSndaRlaajCD60kXFfVfegQdGw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Qx6lK4VVlzPwY; Wed, 5 Jul 2023 17:55:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 365HtfGv048958; Wed, 5 Jul 2023 17:55:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 365HtfO0048957; Wed, 5 Jul 2023 17:55:41 GMT (envelope-from git) Date: Wed, 5 Jul 2023 17:55:41 GMT Message-Id: <202307051755.365HtfO0048957@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 94dd820deba4 - main - deskutils/budgie-desktop-view: Disable predefined optimization List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 94dd820deba4ed7aa8a2c2b1297e27088181f221 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=94dd820deba4ed7aa8a2c2b1297e27088181f221 commit 94dd820deba4ed7aa8a2c2b1297e27088181f221 Author: Daniel Engberg AuthorDate: 2023-07-05 17:48:21 +0000 Commit: Daniel Engberg CommitDate: 2023-07-05 17:48:31 +0000 deskutils/budgie-desktop-view: Disable predefined optimization Disable optimization set by upstream which overrides framework and also tries to clever by breaking meson's internal handling of optimization Reported by: jbeich Approved by: portmgr (blanket) --- .../budgie-desktop-view/files/patch-meson.build | 15 ++++++++++++-- .../files/patch-src_meson.build | 24 ++++++++++++++++++++++ 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/deskutils/budgie-desktop-view/files/patch-meson.build b/deskutils/budgie-desktop-view/files/patch-meson.build index 272db9c221fe..af0ea397d357 100644 --- a/deskutils/budgie-desktop-view/files/patch-meson.build +++ b/deskutils/budgie-desktop-view/files/patch-meson.build @@ -1,6 +1,17 @@ ---- meson.build.orig 2022-03-06 16:37:45 UTC +--- meson.build.orig 2023-01-29 14:42:17 UTC +++ meson.build -@@ -75,7 +75,7 @@ if xdg_appdir == '' +@@ -4,10 +4,8 @@ project( + version: '1.2.1', + license: [ 'Apache-2.0' ], + default_options: [ +- 'b_lto=false', + 'c_std=c11', + 'buildtype=release', +- 'optimization=3', + 'werror=true', + 'warning_level=3', + ], +@@ -75,7 +73,7 @@ if xdg_appdir == '' if with_stateless == true xdg_appdir = join_paths(datadir, 'xdg', 'autostart') else diff --git a/deskutils/budgie-desktop-view/files/patch-src_meson.build b/deskutils/budgie-desktop-view/files/patch-src_meson.build new file mode 100644 index 000000000000..87e1c8e6a054 --- /dev/null +++ b/deskutils/budgie-desktop-view/files/patch-src_meson.build @@ -0,0 +1,24 @@ +--- src/meson.build.orig 2023-07-05 17:42:24 UTC ++++ src/meson.build +@@ -21,14 +21,6 @@ desktop_view_deps = [ + + c_flags = [] + +-optimization_level = get_option('optimization') +- +-if optimization_level == '0' +- warning('We recommend setting an optimization level') +-else +- c_flags += '-O'+optimization_level +-endif +- + executable( + 'org.buddiesofbudgie.budgie-desktop-view', + desktop_view_sources, +@@ -42,4 +34,4 @@ executable( + install: true, + install_dir: join_paths(get_option('prefix'), get_option('bindir')), + c_args: c_flags, +-) +\ No newline at end of file ++)