From nobody Tue Oct 8 01:52:57 2024 X-Original-To: dev-commits-ports-all@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 4XMzYj2DBxz5YlMS; Tue, 08 Oct 2024 01:52:57 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XMzYj1TyHz4LFQ; Tue, 8 Oct 2024 01:52:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728352377; 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=gbZKeXkCreMDuC+vj0qvyorrWdLbvxcEJ7SbpZKX6d0=; b=Q/zVVTSYKK6+THc+8YHTHd1htek6Z5tyCHHsBpyIS+ISTYg16ybJK9jA7j9tghVmyTtQwA Bz6jU8x1fbVr2zGqW8MZu9M1977wfVFCT3QduxDkwDowBGBcClNLHE7vCt1EkbAbcikyKD 3J//QTT/Ba5RVVk45QvTdE9hQMK8qYR7KbMUEf8fAVfORof7Lr67qAiCBJB3a6tenpUaA9 daQdUesHiCvTcSnPibm1Iymk+NhJX3DAPCI5Xfv2ZzqvI00FL2fsUXnh4L5Pk151mv/R35 8Sa+hHID4EqRXybs4BhrqmzWYtDKpjOO28iVr1viTv21PiWS3VOG9u+KNW7M1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728352377; 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=gbZKeXkCreMDuC+vj0qvyorrWdLbvxcEJ7SbpZKX6d0=; b=llyR6NZuDsGbut21by7KPTck29Bnksr72gf22KbZzCKiLcBta3Zxnv8filDJaCk8wp8otK qatE/fWqB16lmVt7AKPo65MaboAyQysouvZ0n3BwqBloxQ3DO9bOYBgSPAktTVbP33PSdO Z2nWd+Qa2tj9fdSHH7/+AZm+TG46qNBL3d7jNZk0WHcQBPVc9Z+eeYb/f9p3Eay9EPIhgD 8JK1cluZzOrmnUFbuFXz3WxytRDLXPBSOkszjZBmM+u14P/4WFWoWYfx2YYzKfAACHJzQo 1FtnbNV1blMLY7Wn7zKsKaVsem8H5uPS7JtBVEc/kUClssw+vF8blh58xsmWaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728352377; a=rsa-sha256; cv=none; b=d17F+skzWx0Yrx2/CHgMx0eWKduVx/+sdz91/tmVGhtzHFsD7nC4UUEP0C2cWY6pa7iaxr DjtLxoJEOYvAf0DO0MIXEAdG8yWtwks7f9OeXBKo5EFr8AlarZpZsjo0JZFTD2eLOk+C1O Xn2W3crLgzGHPGmtN9/WH+Yj61zzGNb6PAcU+CUSKuhVEeYYaIzpQ3pd2EJUFP7rAwE475 z+PMwesSOkDmsb6YP6qIUmI5vPXWz8/hUcWkDliPNnt0J+s0Uw67j0npHZu8/gASktMtBz MYCg83+VIACoSBhxYt0Qjdx9SR1ieRRRUpqhpTony94nemWuvrktamUsECy4BQ== 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 4XMzYj10Vrz19ds; Tue, 8 Oct 2024 01:52:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4981qvUG022032; Tue, 8 Oct 2024 01:52:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4981qvpN022029; Tue, 8 Oct 2024 01:52:57 GMT (envelope-from git) Date: Tue, 8 Oct 2024 01:52:57 GMT Message-Id: <202410080152.4981qvpN022029@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Joseph Mingrone Subject: git: 2dcc36f665e4 - main - x11-fm/deforaos-browser: Avoid conflicts, pet linters List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2dcc36f665e4352daa9b41c41adf5a6d7199476c Auto-Submitted: auto-generated The branch main has been updated by jrm: URL: https://cgit.FreeBSD.org/ports/commit/?id=2dcc36f665e4352daa9b41c41adf5a6d7199476c commit 2dcc36f665e4352daa9b41c41adf5a6d7199476c Author: Pierre Pronchery AuthorDate: 2024-09-02 14:54:46 +0000 Commit: Joseph Mingrone CommitDate: 2024-10-08 01:36:09 +0000 x11-fm/deforaos-browser: Avoid conflicts, pet linters Prefix the installed binaries with "deforaos-" to avoid conflicts with other packages, such as sysutils/schilyutils and science/silo. Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-ports/pull/288/ --- x11-fm/deforaos-browser/Makefile | 35 +++++++++++------- .../patch-data_org.defora.browser-folder.desktop | 13 +++++++ .../files/patch-data_org.defora.browser.desktop | 13 +++++++ .../patch-data_org.defora.desktop-settings.desktop | 13 +++++++ .../files/patch-data_org.defora.view.desktop | 13 +++++++ x11-fm/deforaos-browser/files/patch-src_Makefile | 43 ++++++++++++++++++++++ .../files/patch-src_browser_Makefile | 14 +++++++ .../files/patch-src_desktop_Makefile | 19 ++++++++++ x11-fm/deforaos-browser/pkg-plist | 18 ++++----- 9 files changed, 159 insertions(+), 22 deletions(-) diff --git a/x11-fm/deforaos-browser/Makefile b/x11-fm/deforaos-browser/Makefile index 3bc914cc8581..be0dbf1608c5 100644 --- a/x11-fm/deforaos-browser/Makefile +++ b/x11-fm/deforaos-browser/Makefile @@ -1,5 +1,6 @@ PORTNAME= deforaos-browser PORTVERSION= 0.6.0 +PORTREVISION= 1 CATEGORIES= x11-fm MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Browser/ DISTNAME= Browser-${PORTVERSION} @@ -11,26 +12,34 @@ WWW= https://www.defora.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \ - libDesktop.so:x11/deforaos-libdesktop \ +LIB_DEPENDS= libDesktop.so:x11/deforaos-libdesktop \ libharfbuzz.so:print/harfbuzz \ + libSystem.so:devel/deforaos-libsystem \ libXrandr.so:x11/libXrandr -USES= gnome pkgconfig xorg desktop-file-utils - -OPTIONS_DEFINE= DOCS NLS -OPTIONS_SUB= yes -NLS_USES= gettext -DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \ - ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl - -USE_GNOME= gtk30 cairo gdkpixbuf2 -USE_XORG= x11 +USES= desktop-file-utils gnome pkgconfig xorg +USE_GNOME= cairo gdkpixbuf2 gtk30 USE_LDCONFIG= yes +USE_XORG= x11 + MAKE_ARGS+= PREFIX=${PREFIX} MAKE_ENV+= MANDIR=${STAGEDIR}${PREFIX}/share/man -CONFLICTS_INSTALL= schilyutils silo # bin/browser bin/copy +MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_BROWSER=\\\"deforaos-browser\\\" +MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_COPY=\\\"deforaos-copy\\\" +MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_DESKTOP=\\\"deforaos-desktop\\\" +MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_DESKTOPCTL=\\\"deforaos-desktopctl\\\" +MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_MOVE=\\\"deforaos-move\\\" +MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_OPEN=\\\"deforaos-open\\\" +MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_PROPERTIES=\\\"deforaos-properties\\\" +MAKE_ARGS+= CPPFLAGS+=-DPROGNAME_VIEW=\\\"deforaos-view\\\" + +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes +DOCS_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \ + xsltproc:textproc/libxslt +NLS_USES= gettext + post-patch: ${REINPLACE_CMD} -e 's|/lib/|/libdata/|g' \ ${WRKSRC}/data/pkgconfig.sh diff --git a/x11-fm/deforaos-browser/files/patch-data_org.defora.browser-folder.desktop b/x11-fm/deforaos-browser/files/patch-data_org.defora.browser-folder.desktop new file mode 100644 index 000000000000..84995f686175 --- /dev/null +++ b/x11-fm/deforaos-browser/files/patch-data_org.defora.browser-folder.desktop @@ -0,0 +1,13 @@ +--- data/org.defora.browser-folder.desktop.orig 2024-09-02 14:56:54 UTC ++++ data/org.defora.browser-folder.desktop +@@ -1,8 +1,8 @@ Comment=Open folder in file manager + [Desktop Entry] + Name=Open folder + Comment=Open folder in file manager +-TryExec=browser +-Exec=browser %F ++TryExec=deforaos-browser ++Exec=deforaos-browser %F + Icon=inode-directory + Type=Application + NoDisplay=true diff --git a/x11-fm/deforaos-browser/files/patch-data_org.defora.browser.desktop b/x11-fm/deforaos-browser/files/patch-data_org.defora.browser.desktop new file mode 100644 index 000000000000..d43173f5876e --- /dev/null +++ b/x11-fm/deforaos-browser/files/patch-data_org.defora.browser.desktop @@ -0,0 +1,13 @@ +--- data/org.defora.browser.desktop.orig 2024-09-02 14:56:54 UTC ++++ data/org.defora.browser.desktop +@@ -1,8 +1,8 @@ Comment=File manager and image browser + [Desktop Entry] + Name=File manager + Comment=File manager and image browser +-TryExec=browser +-Exec=browser ++TryExec=deforaos-browser ++Exec=deforaos-browser + Icon=system-file-manager + Type=Application + Categories=System;Core;FileManager;GTK; diff --git a/x11-fm/deforaos-browser/files/patch-data_org.defora.desktop-settings.desktop b/x11-fm/deforaos-browser/files/patch-data_org.defora.desktop-settings.desktop new file mode 100644 index 000000000000..76e6e4d1fbae --- /dev/null +++ b/x11-fm/deforaos-browser/files/patch-data_org.defora.desktop-settings.desktop @@ -0,0 +1,13 @@ +--- data/org.defora.desktop-settings.desktop.orig 2024-09-02 14:56:54 UTC ++++ data/org.defora.desktop-settings.desktop +@@ -1,8 +1,8 @@ Comment=Preferences for the desktop + [Desktop Entry] + Name=Desktop + Comment=Preferences for the desktop +-TryExec=desktopctl +-Exec=desktopctl -S ++TryExec=deforaos-desktopctl ++Exec=deforaos-desktopctl -S + Icon=gnome-settings-background + Type=Application + Categories=Settings;DesktopSettings;GTK; diff --git a/x11-fm/deforaos-browser/files/patch-data_org.defora.view.desktop b/x11-fm/deforaos-browser/files/patch-data_org.defora.view.desktop new file mode 100644 index 000000000000..7893b9f248e3 --- /dev/null +++ b/x11-fm/deforaos-browser/files/patch-data_org.defora.view.desktop @@ -0,0 +1,13 @@ +--- data/org.defora.view.desktop.orig 2024-09-02 14:56:54 UTC ++++ data/org.defora.view.desktop +@@ -1,8 +1,8 @@ Comment=Viewer for text and image files + [Desktop Entry] + Name=File viewer + Comment=Viewer for text and image files +-TryExec=view +-Exec=view %F ++TryExec=deforaos-view ++Exec=deforaos-view %F + Icon=system-file-manager + Type=Application + Categories=System;Core;FileManager;GTK; diff --git a/x11-fm/deforaos-browser/files/patch-src_Makefile b/x11-fm/deforaos-browser/files/patch-src_Makefile new file mode 100644 index 000000000000..27bc28092c9e --- /dev/null +++ b/x11-fm/deforaos-browser/files/patch-src_Makefile @@ -0,0 +1,43 @@ +--- src/Makefile.orig 2024-09-02 14:42:34 UTC ++++ src/Makefile +@@ -109,28 +109,28 @@ install: all + $(MAKE) OBJDIR="$(OBJDIR)$$i/" install; \ + else $(MAKE) install; fi) || exit; done + $(MKDIR) $(DESTDIR)$(BINDIR) +- $(INSTALL) -m 0755 $(OBJDIR)copy$(EXEEXT) $(DESTDIR)$(BINDIR)/copy$(EXEEXT) ++ $(INSTALL) -m 0755 $(OBJDIR)copy$(EXEEXT) $(DESTDIR)$(BINDIR)/deforaos-copy$(EXEEXT) + $(MKDIR) $(DESTDIR)$(BINDIR) +- $(INSTALL) -m 0755 $(OBJDIR)delete$(EXEEXT) $(DESTDIR)$(BINDIR)/delete$(EXEEXT) ++ $(INSTALL) -m 0755 $(OBJDIR)delete$(EXEEXT) $(DESTDIR)$(BINDIR)/deforaos-delete$(EXEEXT) + $(MKDIR) $(DESTDIR)$(BINDIR) +- $(INSTALL) -m 0755 $(OBJDIR)move$(EXEEXT) $(DESTDIR)$(BINDIR)/move$(EXEEXT) ++ $(INSTALL) -m 0755 $(OBJDIR)move$(EXEEXT) $(DESTDIR)$(BINDIR)/deforaos-move$(EXEEXT) + $(MKDIR) $(DESTDIR)$(BINDIR) +- $(INSTALL) -m 0755 $(OBJDIR)open$(EXEEXT) $(DESTDIR)$(BINDIR)/open$(EXEEXT) ++ $(INSTALL) -m 0755 $(OBJDIR)open$(EXEEXT) $(DESTDIR)$(BINDIR)/deforaos-open$(EXEEXT) + $(MKDIR) $(DESTDIR)$(BINDIR) +- $(INSTALL) -m 0755 $(OBJDIR)properties$(EXEEXT) $(DESTDIR)$(BINDIR)/properties$(EXEEXT) ++ $(INSTALL) -m 0755 $(OBJDIR)properties$(EXEEXT) $(DESTDIR)$(BINDIR)/deforaos-properties$(EXEEXT) + $(MKDIR) $(DESTDIR)$(BINDIR) +- $(INSTALL) -m 0755 $(OBJDIR)view$(EXEEXT) $(DESTDIR)$(BINDIR)/view$(EXEEXT) ++ $(INSTALL) -m 0755 $(OBJDIR)view$(EXEEXT) $(DESTDIR)$(BINDIR)/deforaos-view$(EXEEXT) + + uninstall: + @for i in $(SUBDIRS); do (cd "$$i" && \ + if [ -n "$(OBJDIR)" ]; then \ + $(MAKE) OBJDIR="$(OBJDIR)$$i/" uninstall; \ + else $(MAKE) uninstall; fi) || exit; done +- $(RM) -- $(DESTDIR)$(BINDIR)/copy$(EXEEXT) +- $(RM) -- $(DESTDIR)$(BINDIR)/delete$(EXEEXT) +- $(RM) -- $(DESTDIR)$(BINDIR)/move$(EXEEXT) +- $(RM) -- $(DESTDIR)$(BINDIR)/open$(EXEEXT) +- $(RM) -- $(DESTDIR)$(BINDIR)/properties$(EXEEXT) +- $(RM) -- $(DESTDIR)$(BINDIR)/view$(EXEEXT) ++ $(RM) -- $(DESTDIR)$(BINDIR)/deforaos-copy$(EXEEXT) ++ $(RM) -- $(DESTDIR)$(BINDIR)/deforaos-delete$(EXEEXT) ++ $(RM) -- $(DESTDIR)$(BINDIR)/deforaos-move$(EXEEXT) ++ $(RM) -- $(DESTDIR)$(BINDIR)/deforaos-open$(EXEEXT) ++ $(RM) -- $(DESTDIR)$(BINDIR)/deforaos-properties$(EXEEXT) ++ $(RM) -- $(DESTDIR)$(BINDIR)/deforaos-view$(EXEEXT) + + .PHONY: all subdirs clean distclean install uninstall diff --git a/x11-fm/deforaos-browser/files/patch-src_browser_Makefile b/x11-fm/deforaos-browser/files/patch-src_browser_Makefile new file mode 100644 index 000000000000..8adb96691121 --- /dev/null +++ b/x11-fm/deforaos-browser/files/patch-src_browser_Makefile @@ -0,0 +1,14 @@ +--- src/browser/Makefile.orig 2024-09-02 14:43:13 UTC ++++ src/browser/Makefile +@@ -47,9 +47,9 @@ install: all + + install: all + $(MKDIR) $(DESTDIR)$(BINDIR) +- $(INSTALL) -m 0755 $(OBJDIR)browser$(EXEEXT) $(DESTDIR)$(BINDIR)/browser$(EXEEXT) ++ $(INSTALL) -m 0755 $(OBJDIR)browser$(EXEEXT) $(DESTDIR)$(BINDIR)/deforaos-browser$(EXEEXT) + + uninstall: +- $(RM) -- $(DESTDIR)$(BINDIR)/browser$(EXEEXT) ++ $(RM) -- $(DESTDIR)$(BINDIR)/deforaos-browser$(EXEEXT) + + .PHONY: all clean distclean install uninstall diff --git a/x11-fm/deforaos-browser/files/patch-src_desktop_Makefile b/x11-fm/deforaos-browser/files/patch-src_desktop_Makefile new file mode 100644 index 000000000000..a810f15c37c9 --- /dev/null +++ b/x11-fm/deforaos-browser/files/patch-src_desktop_Makefile @@ -0,0 +1,19 @@ +--- src/desktop/Makefile.orig 2024-09-02 14:43:29 UTC ++++ src/desktop/Makefile +@@ -67,12 +67,12 @@ install: all + + install: all + $(MKDIR) $(DESTDIR)$(BINDIR) +- $(INSTALL) -m 0755 $(OBJDIR)desktop$(EXEEXT) $(DESTDIR)$(BINDIR)/desktop$(EXEEXT) ++ $(INSTALL) -m 0755 $(OBJDIR)desktop$(EXEEXT) $(DESTDIR)$(BINDIR)/deforaos-desktop$(EXEEXT) + $(MKDIR) $(DESTDIR)$(BINDIR) +- $(INSTALL) -m 0755 $(OBJDIR)desktopctl$(EXEEXT) $(DESTDIR)$(BINDIR)/desktopctl$(EXEEXT) ++ $(INSTALL) -m 0755 $(OBJDIR)desktopctl$(EXEEXT) $(DESTDIR)$(BINDIR)/deforaos-desktopctl$(EXEEXT) + + uninstall: +- $(RM) -- $(DESTDIR)$(BINDIR)/desktop$(EXEEXT) +- $(RM) -- $(DESTDIR)$(BINDIR)/desktopctl$(EXEEXT) ++ $(RM) -- $(DESTDIR)$(BINDIR)/deforaos-desktop$(EXEEXT) ++ $(RM) -- $(DESTDIR)$(BINDIR)/deforaos-desktopctl$(EXEEXT) + + .PHONY: all clean distclean install uninstall diff --git a/x11-fm/deforaos-browser/pkg-plist b/x11-fm/deforaos-browser/pkg-plist index a929f4bdbb40..cfb8a68575da 100644 --- a/x11-fm/deforaos-browser/pkg-plist +++ b/x11-fm/deforaos-browser/pkg-plist @@ -1,12 +1,12 @@ -bin/browser -bin/copy -bin/delete -bin/desktop -bin/desktopctl -bin/move -bin/open -bin/properties -bin/view +bin/deforaos-browser +bin/deforaos-copy +bin/deforaos-delete +bin/deforaos-desktop +bin/deforaos-desktopctl +bin/deforaos-move +bin/deforaos-open +bin/deforaos-properties +bin/deforaos-view include/Desktop/Browser.h include/Desktop/Browser/browser.h include/Desktop/Browser/desktop.h