From nobody Mon Oct 21 23:22:22 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 4XXWYV6vN8z51mFZ; Mon, 21 Oct 2024 23:22:22 +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 4XXWYV3M5hz4rwv; Mon, 21 Oct 2024 23:22:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729552942; 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=VRf4rrR4FkA6C2pCxIZvG+XiXIqUAumtnLIlWHxyIB0=; b=dEdjaMcBvfXFUyrhdSEyssUErfo01pA/ju6rfFC4qu0IKZv1Z6+sQInolDZbgCWhBi069B YwWYSh4P5yH2/B1WTYXTu+CgegujoQcHV5+dl5U/ukeFm9eTZ5BLzzeocXf3q4gbNk+rJZ mNn9qvlPzyB/XckzGpSuxc7TTMaq3vAvHUyJ1u0hMGCrTk33Q1EM1Ph/kXV3iG2xLJQCgC wqli1B0iCMcCvJpL2f0bvxw4ig0Qk6gBATRTXqyrQjdic04LyDPJr/zB7pD/Ym5bG7k8/D cGdtE95VrH1xHBHVIIU/ElYPelve1vbzxwxZ2/SWrh8OFWvbSMebdlOieKrzJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729552942; 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=VRf4rrR4FkA6C2pCxIZvG+XiXIqUAumtnLIlWHxyIB0=; b=gyImErX9yrj6pVLDS/7zWfOwbrN6qEy95SWi9nsPQ88eqCby/NIvBCHTyE9gfRJZ/H2vOB Ce/4mOxETJ7+h76tV0KW4ogAarhhKEuJCiXeP62CO71oXE4/fTjQLgav1huOpF96lllHyU exF5jBCqyc7xrP3AOVX/FmTj5iXaEC8sX19bWJE5qdAKhXrPVAH0kOMaakV0vpyGnDVXxv Gy/lRRvRDwQaBS5akn5aVCp1z+hmf7eLCo9VC+erVtnfRCSoutIVfpCH98d+J1H0XpFd41 ES2Ymne67DaFMEUd68sKHLkxuFDJtvOdBYkS6bAju6hsET/1KKGi6pOXznGw/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729552942; a=rsa-sha256; cv=none; b=jHiKwgp4EGkY3AfpYNUd67cJkrFAMDu8+Cdm45OmVl4SEjygC4GfzC6YHaPLMzo8I7z77I GvuoH4tDZ9zuyAv5+7S30kEtVM0qycmRLW8iXg8Q46qlLRc3AMthVJGjNr7kncXmrcokdN zIBPkDkPsNtF3biEv0PBfk6uuHoApqfJwTmPVSzenfHVfomAEsbYLhjgle3Kha8zwwh7TZ kyEGkESv7kg/sxTw74/qlZTp3qxBUVVPjfBZHwpbi2q1DNT4S5mVKBSa8BPO80V1V9dIfh dfRjQBZKkMCV6UcxBSWysJwP8UO5mcGC48pArrbBixbD8Rb+ohDSHCas+maBSQ== 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 4XXWYV2YQDzqPs; Mon, 21 Oct 2024 23:22:22 +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 49LNMMMn073465; Mon, 21 Oct 2024 23:22:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49LNMM4t073462; Mon, 21 Oct 2024 23:22:22 GMT (envelope-from git) Date: Mon, 21 Oct 2024 23:22:22 GMT Message-Id: <202410212322.49LNMM4t073462@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Olivier Cochard Subject: git: f40eff752ccc - main - deskutils/deforaos-notes: import version 0.2.1 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: olivier X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f40eff752ccc7f8e236da8b7a71c677db9672355 Auto-Submitted: auto-generated The branch main has been updated by olivier: URL: https://cgit.FreeBSD.org/ports/commit/?id=f40eff752ccc7f8e236da8b7a71c677db9672355 commit f40eff752ccc7f8e236da8b7a71c677db9672355 Author: Pierre Pronchery AuthorDate: 2024-10-14 15:29:07 +0000 Commit: Olivier Cochard CommitDate: 2024-10-21 23:20:11 +0000 deskutils/deforaos-notes: import version 0.2.1 Sponsored by: The FreeBSD Foundation --- deskutils/Makefile | 1 + deskutils/deforaos-notes/Makefile | 45 +++++++++++++++++++++++ deskutils/deforaos-notes/distinfo | 3 ++ deskutils/deforaos-notes/files/patch-doc_Makefile | 19 ++++++++++ deskutils/deforaos-notes/pkg-descr | 1 + deskutils/deforaos-notes/pkg-plist | 12 ++++++ 6 files changed, 81 insertions(+) diff --git a/deskutils/Makefile b/deskutils/Makefile index d579d9814f7b..69bb427185f6 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -43,6 +43,7 @@ SUBDIR += coregarage SUBDIR += countdown SUBDIR += dailystrips + SUBDIR += deforaos-notes SUBDIR += deforaos-todo SUBDIR += dfshow SUBDIR += dmenu-wayland diff --git a/deskutils/deforaos-notes/Makefile b/deskutils/deforaos-notes/Makefile new file mode 100644 index 000000000000..ade3d471ce9a --- /dev/null +++ b/deskutils/deforaos-notes/Makefile @@ -0,0 +1,45 @@ +PORTNAME= notes +PORTVERSION= 0.2.1 +CATEGORIES= deskutils +MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Notes/ +PKGNAMEPREFIX= deforaos- +DISTNAME= Notes-${PORTVERSION} + +MAINTAINER= khorben@defora.org +COMMENT= DeforaOS desktop notes +WWW= https://www.defora.org/ + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libDesktop.so:x11/deforaos-libdesktop \ + libSystem.so:devel/deforaos-libsystem + +USES= desktop-file-utils gnome pkgconfig xorg +USE_GNOME= gtk30 +USE_XORG= x11 +MAKE_ARGS+= PREFIX=${PREFIX} + +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} 's|-Wl,-pie||g' \ + ${WRKSRC}/src/Makefile + +post-patch-DOCS-off: + ${REINPLACE_CMD} 's|= data doc|= data|' \ + ${WRKSRC}/Makefile + +post-patch-NLS-off: + ${REINPLACE_CMD} 's|po src tools|src tools|' \ + ${WRKSRC}/Makefile + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/notes \ + ${STAGEDIR}${PREFIX}/lib/libNotes.so.0.0 + +.include diff --git a/deskutils/deforaos-notes/distinfo b/deskutils/deforaos-notes/distinfo new file mode 100644 index 000000000000..2507831b40d6 --- /dev/null +++ b/deskutils/deforaos-notes/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1728544610 +SHA256 (Notes-0.2.1.tar.gz) = 1a054ff37f5da72b6507dfa158c44516c19d89e00e4298bae03be083b8bfc8ce +SIZE (Notes-0.2.1.tar.gz) = 20665 diff --git a/deskutils/deforaos-notes/files/patch-doc_Makefile b/deskutils/deforaos-notes/files/patch-doc_Makefile new file mode 100644 index 000000000000..f1122df15f7e --- /dev/null +++ b/deskutils/deforaos-notes/files/patch-doc_Makefile @@ -0,0 +1,19 @@ +--- doc/Makefile.orig 2024-10-10 06:25:03 UTC ++++ doc/Makefile +@@ -1,4 +1,4 @@ +-TARGETS = $(OBJDIR)notes.1 $(OBJDIR)notes.html ++TARGETS = $(OBJDIR)notes.1 + OBJDIR = + PREFIX = /usr/local + DESTDIR = +@@ -25,10 +25,8 @@ install: all + + install: all + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)notes.1" +- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "$(OBJDIR)notes.html" + + uninstall: + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "notes.1" +- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "notes.html" + + .PHONY: all clean distclean install uninstall diff --git a/deskutils/deforaos-notes/pkg-descr b/deskutils/deforaos-notes/pkg-descr new file mode 100644 index 000000000000..2e61217cc35f --- /dev/null +++ b/deskutils/deforaos-notes/pkg-descr @@ -0,0 +1 @@ +DeforaOS desktop notes diff --git a/deskutils/deforaos-notes/pkg-plist b/deskutils/deforaos-notes/pkg-plist new file mode 100644 index 000000000000..6dfc7779b3d6 --- /dev/null +++ b/deskutils/deforaos-notes/pkg-plist @@ -0,0 +1,12 @@ +bin/notes +include/Desktop/Notes.h +lib/libNotes.a +lib/libNotes.so +lib/libNotes.so.0 +lib/libNotes.so.0.0 +libdata/pkgconfig/Notes.pc +share/applications/org.defora.notes.desktop +%%PORTDOCS%%share/doc/Notes/COPYING +%%PORTDOCS%%share/man/man1/notes.1.gz +%%NLS%%share/locale/fr/LC_MESSAGES/Notes.mo +%%NLS%%share/locale/es/LC_MESSAGES/Notes.mo