From nobody Fri Jun 09 22:44:55 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 4QdGP422KTz4bFQ1; Fri, 9 Jun 2023 22:44:56 +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 4QdGP41JK6z3lfv; Fri, 9 Jun 2023 22:44:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686350696; 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=AnNGMTYugK+oVNdFtDyyu3aGNYKDytfO26j9khQGaFE=; b=BxyJPOMvvlUAoDXwOFmZcA3r3xSPUbImQnB+QevqmTcT1swkPKNvsjvXCxGdEEPySV9LyX 6aCPTO1Qapj78emm3dN5/yJeVN+mBWlKq4qWwnKajr6rlguRColQWqqI7K04Ji6ZdqXGfo KhlW1Coa5osPL6Um/uQeSAp0EBWAsHHkuk0LTmCYb88Av1JhVhlPCVDK9X7AnMATSVPA+6 8ypWe276nEXVUHINgC+RIhc3lRnFUh58W/qqNjxGytg3iAfLuaEMrK3b3X2lErv2JmTfY4 NIuMJat/hOL3TiaTsphJdcRtmOHAAVKPbfPu6zSGTK+7Xq12Aop3tsar701Fnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686350696; 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=AnNGMTYugK+oVNdFtDyyu3aGNYKDytfO26j9khQGaFE=; b=GfgCghMWMJeNyZbsI55nevLMhlpH6RYwhyKSdLkfG5Lmvwyf4tqRpVE9lNqogpZEtS7LGm fnIs53AHPfANDiF7Bj8o3KoihBxnWTezDpgbXTcMHEtPKY1HyyiArDWMCt6fEQ9euDwWI/ Ud8cxB835pa5AhoSPMXDI3S3IjZ2O4slMudLctK88ASFTWHY1q6WUitBRe3u0eXPxrGO8M 3MQID/MXLX8VvMzSWYSmmjHSinzNJWN5gZMnTwkyuQ786cjQfnrVYufoO5gesq6MneU+2X G0ksiuONRzFDYlmM01nKJHQ9TsZu9e+7CriZemD9ZtDZGzNms7FxIuC8t3e0Bw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686350696; a=rsa-sha256; cv=none; b=Xt4Lf0a7LlczUXGwoJccFpTxrwhKf3fpPClsAipHWm8WnswMO563n1hsj4/Wq1kTSez5H4 FtFE41qez5XN1bqqplaScudws9zSFRbXGVpuEnt1F1cDNp5cT7WWxeYZKX0gLgushHLIhk bIp/FVxLrfvYX7Rj9LizCb0ABKCIfbIuXLBXhJmWcn87JSyiIn6ppkXBP6we+Owdnuk+wR rBos8C73pwdNd6HAgDZDUQKj3/oGW8f3D1iRMOOBkQneTO9WOC2xwM2ev22S1FFLMoX8pw E0eHiTyGHAku82qBuUx1QyVSrmtsVcIMvXdK9PebtdCqvSVuvET5rqnRZU/L2Q== 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 4QdGP40NmFzsZw; Fri, 9 Jun 2023 22:44:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 359MitS1052820; Fri, 9 Jun 2023 22:44:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 359MitNx052819; Fri, 9 Jun 2023 22:44:55 GMT (envelope-from git) Date: Fri, 9 Jun 2023 22:44:55 GMT Message-Id: <202306092244.359MitNx052819@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 2592ba1f0071 - main - deskutils/cairo-dock-plugins: Fix build with llvm15 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2592ba1f00719a867fb4db0e310e8e5ae92d38a6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2592ba1f00719a867fb4db0e310e8e5ae92d38a6 commit 2592ba1f00719a867fb4db0e310e8e5ae92d38a6 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-09 22:43:49 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-09 22:43:49 +0000 deskutils/cairo-dock-plugins: Fix build with llvm15 - Pet portclippy - Adopt port --- deskutils/cairo-dock-plugins/Makefile | 66 ++++++++++++++--------------------- 1 file changed, 26 insertions(+), 40 deletions(-) diff --git a/deskutils/cairo-dock-plugins/Makefile b/deskutils/cairo-dock-plugins/Makefile index 04e9f06af7db..f672953e6731 100644 --- a/deskutils/cairo-dock-plugins/Makefile +++ b/deskutils/cairo-dock-plugins/Makefile @@ -6,135 +6,121 @@ CATEGORIES= deskutils PATCH_SITES= https://github.com/Cairo-Dock/cairo-dock-plug-ins/commit/ PATCHFILES= d08541a0afb4377ce2f35feb280fbe443870b587.patch:-p1 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Cairo-Dock-Plugins for Cairo-Dock WWW= https://www.glx-dock.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= wget:ftp/wget LIB_DEPENDS= libgldi.so:deskutils/cairo-dock +RUN_DEPENDS= wget:ftp/wget -DATADIR= ${PREFIX}/share/cairo-dock - +USES= cmake gettext gnome localbase:ldflags pkgconfig python xorg USE_GITHUB= yes GH_ACCOUNT= Cairo-Dock GH_PROJECT= cairo-dock-plug-ins - -ICONS_PACKAGE= cairo-dock-plugins-png-icons -GNU_CONFIGURE= yes USE_GNOME= glib20 gtk30 librsvg2 libxml2 USE_LDCONFIG= yes USE_XORG= xrender -USES= cmake gettext gnome pkgconfig python xorg -LDFLAGS+= -L${LOCALBASE}/lib -PLIST_SUB= PYVER="${PYTHON_VERSION:S/thon//}" + CMAKE_ARGS= -DROOT_PREFIX:PATH=${STAGEDIR} \ -Denable-weblets:BOOL=FALSE +GNU_CONFIGURE= yes + +DATADIR= ${PREFIX}/share/cairo-dock + +PLIST_SUB= PYVER="${PYTHON_VERSION:S/thon//}" + +OPTIONS_DEFAULT= GMENU OPTIONS_GROUP= INTEGR PLUGINS ADDON TPI +OPTIONS_GROUP_ADDON= EXIF ICAL UPOWER OPTIONS_GROUP_INTEGR= GNOME_INTEGRATION XFCE_INTEGRATION OPTIONS_GROUP_PLUGINS= ALSA_MIXER GMENU IMPULSE KEYBOARD_INDICATOR \ MAIL SOUND_EFFECTS XGAMMA ZEITGEIST -OPTIONS_GROUP_ADDON= EXIF ICAL UPOWER #OPTIONS_GROUP_TPI= PYTHON RUBY MONO VALA - OPTIONS_SUB= yes -OPTIONS_DEFAULT= GMENU - +ADDON_DESC= Add On ALSA_MIXER_DESC= Alsa-Mixer applet EXIF_DESC= Read file meta-data GMENU_DESC= GMenu applet GNOME_INTEGRATION_DESC= GNOME integration support ICAL_DESC= IETF Calendaring and Scheduling protocols IMPULSE_DESC= Impulse applet +INTEGR_DESC= Integration plug-ins KEYBOARD_INDICATOR_DESC= Keyboard-indicator applet MAIL_DESC= Mail applet #MONO_DESC= Mono interface +PLUGINS_DESC= Plug-ins #PYTHON_DESC= Python interface #RUBY_DESC= Ruby interface SOUND_EFFECTS_DESC= Sound Effects applet -UPOWER_DESC= D-Bus daemon for power management tasks #TERMINAL_DESC= Terminal applet +#TPI_DESC= Third Party Interfaces +UPOWER_DESC= D-Bus daemon for power management tasks #VALA_DESC= Vala interface -XGAMMA_DESC= Xgamma applet XFCE_INTEGRATION_DESC= XFCE integration support +XGAMMA_DESC= Xgamma applet ZEITGEIST_DESC= User logs activities -INTEGR_DESC= Integration plug-ins -PLUGINS_DESC= Plug-ins -ADDON_DESC= Add On -#TPI_DESC= Third Party Interfaces - ALSA_MIXER_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MIXER_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins ALSA_MIXER_CMAKE_BOOL= enable-alsa-mixer - EXIF_LIB_DEPENDS= libexif.so:graphics/libexif EXIF_CMAKE_BOOL= enable-exif-support - GMENU_LIB_DEPENDS= libgnome-menu-3.so:x11/gnome-menus GMENU_CMAKE_BOOL= enable-gmenu - #GNOME_INTEGRATION_LIB_DEPENDS= GNOME_INTEGRATION_CMAKE_BOOL= enable-gnome-integration - ICAL_LIB_DEPENDS= libical.so:devel/libical ICAL_CMAKE_BOOL= enable-ical-support - IMPULSE_LIB_DEPENDS= libpulse.so:audio/pulseaudio IMPULSE_CMAKE_BOOL= enable-impulse - KEYBOARD_INDICATOR_LIB_DEPENDS= libexif.so:graphics/libexif \ libxklavier.so:x11/libxklavier KEYBOARD_INDICATOR_CMAKE_BOOL= enable-keyboard-indicator - # libetpan 1.9.4 replaces libetpan-config with libetpan.pc MAIL_BUILD_DEPENDS= libetpan>=1.9.4:mail/libetpan MAIL_LIB_DEPENDS= libetpan.so:mail/libetpan MAIL_CMAKE_BOOL= enable-mail - #MONO_BUILD_DEPENDS= mono:lang/mono #MONO_RUN_DEPENDS= mono:lang/mono #MONO_CMAKE_BOOL= enable-mono-interface CMAKE_ARGS+= -Denable-mono-interface:BOOL=FALSE - #PYTHON_LIB_DEPENDS= #PYTHON_CMAKE_BOOL= enable-python-interface CMAKE_ARGS+= -Denable-python-interface:BOOL=FALSE - #RUBY_LIB_DEPENDS= #RUBY_CMAKE_BOOL= enable-ruby-interface CMAKE_ARGS+= -Denable-ruby-interface:BOOL=FALSE - SOUND_EFFECTS_LIB_DEPENDS= libasound.so:audio/alsa-lib SOUND_EFFECTS_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins SOUND_EFFECTS_CMAKE_BOOL= enable-sound-effects - # Needs newer vte #TERMINAL_LIB_DEPENDS= vte:x11-toolkits/vte #TERMINAL_CMAKE_BOOL= enable-terminal - UPOWER_LIB_DEPENDS= libupower-glib.so:sysutils/upower UPOWER_CMAKE_BOOL= enable-upower-support - #VALA_LIB_DEPENDS= #VALA_CMAKE_BOOL= enable-vala-interface CMAKE_ARGS+= -Denable-vala-interface:BOOL=FALSE - -XGAMMA_RUN_DEPENDS= xgamma:x11/xgamma -XGAMMA_CMAKE_BOOL= enable-xgamma - XFCE_INTEGRATION_LIB_DEPENDS= libexif.so:graphics/libexif XFCE_INTEGRATION_CMAKE_BOOL= enable-xfce-integration - +XGAMMA_RUN_DEPENDS= xgamma:x11/xgamma +XGAMMA_CMAKE_BOOL= enable-xgamma ZEITGEIST_LIB_DEPENDS= libzeitgeist-2.0.so:sysutils/zeitgeist ZEITGEIST_CMAKE_BOOL= enable-recent-events +ICONS_PACKAGE= cairo-dock-plugins-png-icons + .include +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + post-patch: @${FIND} ${WRKSRC} -type f \( -name "*.c" -o -name "*.conf" \ -o -name netspeed -o -name nvidia-config -o -name "*.sh" \