From nobody Sun May 12 16:52:26 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 4VcpZM1PCyz5KKw6; Sun, 12 May 2024 16:52:27 +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 4VcpZM0Xmqz4XNf; Sun, 12 May 2024 16:52:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715532747; 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=sYJKrUrV+aAPHD1sgdcrWE0QsOjF16XJhg3XjJvu5JY=; b=Rx1b6MCYAoAnppG1L161kGaiyLHPTh34PWbBS5ioKLYVW673cv/PCRxbdwskBChsmlqiXF j9L5wdc+zQdaHy4CEySIjS2qlXtiUqobITIsy7JfM/TdpYhkf+YFIFIDRRBeNXB5Q5dVF8 yZMn7C75n3AE8c7KquNjzvhc3/q0pc608uHPOSF2ZwhB20VOuq2L5mhTwtbRyvoYCAp9FG nG4evix/UIJ9ES5iyEFPWqOATOqbt1SuKRCOUiraIScej82Pw3mMY/9o0K1vk+mfCwPDFl p/rjT5Ma4KtWhQDRPC0wQIrMbBWnJhojG7LzXkKzLPecUehbYvDsZEdizogipQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715532747; a=rsa-sha256; cv=none; b=PXNaAkba4EqjVJx7qKdwBJpBfckC1lTjeA28KjSHHWSEmNYRB5thXvrHwmRgnmYbTpLEcT 98V7bwXQU5C9malzCGHeGTX5vt5ZxM0x5vvboa4FyChzzk5MILid7qThpqMyVHUGAUOLZS ajnJl2wCOSe2R6vvzgCu7BGvOfhwON/rOk5/tu+LwPdlEpf5NUTMwvJktR+VAe/TZNCPVB 8P8G3i3VIL8m3/WE0hmRZal6VSZpWka3BoCbwp81jvMmEh7X19ti+6SB2MkSnqUPXrNM8D yoZM6ZiE3Mj5xBBnOgyu7bBgsiuiSEYBEtJg3yjNbJ+whrMz2JSPHkQnhgrOwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715532747; 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=sYJKrUrV+aAPHD1sgdcrWE0QsOjF16XJhg3XjJvu5JY=; b=qEVXlVCttJYwMUzLySTA0zkmYbcA3YigF1EwiaBWMWGsNUNDD5+N04xlc6two84rcGjmK6 4/2fLcNswmJXVPIbxv/hUQM4ZmWuxI6fZFG7/nG6C3gq1gFMgqeSRolvxj2No2socEEGTp FQlQJ5pgzhxjWjCxVPHp7dKbqltRBHPtXMB8p+vdDIeotA33BD3wWTJDClfjXKZRmiEtzM ArM1ktXupghpceHh9SsapZHJfr+10vQUfp54ZDty1W1CcJvw6yHc46GdsxcXzgGX4m+ogt wJ6ABM50H+7HjsHAVnp3DOtw9+elf4e5QWX2LacAu5hojvMpWmhZOgLHWhJSMw== 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 4VcpZM07V7z1Bjs; Sun, 12 May 2024 16:52:27 +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 44CGqQfB008544; Sun, 12 May 2024 16:52:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44CGqQaT008541; Sun, 12 May 2024 16:52:26 GMT (envelope-from git) Date: Sun, 12 May 2024 16:52:26 GMT Message-Id: <202405121652.44CGqQaT008541@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Rainer Hurling Subject: git: ffecc90317e8 - main - sysutils/ddrescueview: Add new port 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: rhurlin X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ffecc90317e88d84479e8b0eedcad0405b0dbfb1 Auto-Submitted: auto-generated The branch main has been updated by rhurlin: URL: https://cgit.FreeBSD.org/ports/commit/?id=ffecc90317e88d84479e8b0eedcad0405b0dbfb1 commit ffecc90317e88d84479e8b0eedcad0405b0dbfb1 Author: Rainer Hurling AuthorDate: 2024-05-12 16:39:00 +0000 Commit: Rainer Hurling CommitDate: 2024-05-12 16:48:58 +0000 sysutils/ddrescueview: Add new port Small tool that allows the user to graphically examine ddrescue's mapfiles in a user friendly GUI application. Features: - Display ddrescue mapfile in a colored block graphic - Examine each block in the image with a detailed list of map entries inside - Zoom inside the mapfile, down to sector level - To keep track of the rescue process, ddrescueview can automatically re-read the mapfile - Overlay a domain mapfile, if you use one with ddrescue - Units can be displayed with decimal (KB, MB...) or binary (KiB, MiB...) prefixes WIKI: https://sourceforge.net/p/ddrescueview/wiki/Manual-0.4.5/ --- sysutils/Makefile | 1 + sysutils/ddrescueview/Makefile | 49 +++++++++++++++++++++++++++++++++++++++++ sysutils/ddrescueview/distinfo | 3 +++ sysutils/ddrescueview/pkg-descr | 7 ++++++ sysutils/ddrescueview/pkg-plist | 13 +++++++++++ 5 files changed, 73 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index 4895382f1348..719c74d68994 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -287,6 +287,7 @@ SUBDIR += ddh SUBDIR += ddpt SUBDIR += ddrescue + SUBDIR += ddrescueview SUBDIR += debhelper SUBDIR += debootstrap SUBDIR += deltarpm diff --git a/sysutils/ddrescueview/Makefile b/sysutils/ddrescueview/Makefile new file mode 100644 index 000000000000..8545722c8cce --- /dev/null +++ b/sysutils/ddrescueview/Makefile @@ -0,0 +1,49 @@ +PORTNAME= ddrescueview +PORTVERSION= 0.4.5 +CATEGORIES= sysutils +MASTER_SITES= https://sourceforge.net/projects/${PORTNAME}/files/Test%20builds/v${PORTVERSION}/ +PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX} +DISTNAME= ${PORTNAME}-source-${PORTVERSION} + +MAINTAINER= rhurlin@FreeBSD.org +COMMENT= Graphical viewer for GNU ddrescue mapfiles +WWW= https://sourceforge.net/projects/ddrescueview/ + +LICENSE= GPLv3 + +gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt5 ${PORTNAME}-qt6 +qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt6 +qt6_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt5 + +USES= desktop-file-utils dos2unix fpc gnome lazarus:flavors tar:xz xorg +DOS2UNIX_REGEX= .*\.([txt]|pas|lpi|lpr|txt) +USE_GNOME_gtk2= cairo gdkpixbuf2 glib20 pango +USE_GNOME+= ${USE_GNOME_${FLAVOR}} +USE_XORG= x11 + +LAZARUS_PROJECT_FILES= source/ddrescueview.lpi +LAZARUS_PROJECT_FILES+= source/ddrescueview.lpr +LAZBUILD_ARGS= -d + +OPTIONS_DEFINE= DOCS + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/source/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/resources/linux/man/man1/ddrescueview.1 \ + ${STAGEDIR}${PREFIX}/share/man/man1 + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps +.for i in 16 22 24 32 48 64 128 256 + @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/ + ${INSTALL_DATA} ${WRKSRC}/resources/linux/icons/hicolor/${i}x${i}/apps/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/ +.endfor + ${INSTALL_DATA} ${WRKSRC}/resources/linux/applications/ddrescueview.desktop \ + ${STAGEDIR}${PREFIX}/share/applications + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/changelog.txt ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR} + +.include diff --git a/sysutils/ddrescueview/distinfo b/sysutils/ddrescueview/distinfo new file mode 100644 index 000000000000..714de6f58a8d --- /dev/null +++ b/sysutils/ddrescueview/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1715502796 +SHA256 (ddrescueview-source-0.4.5.tar.xz) = 57383c394e62612ce2a799438b00c6e3c465c31f9ba940e077f624e2e7028465 +SIZE (ddrescueview-source-0.4.5.tar.xz) = 211184 diff --git a/sysutils/ddrescueview/pkg-descr b/sysutils/ddrescueview/pkg-descr new file mode 100644 index 000000000000..085083eb3b02 --- /dev/null +++ b/sysutils/ddrescueview/pkg-descr @@ -0,0 +1,7 @@ +This small tool allows the user to graphically examine ddrescue's +mapfiles in a user friendly GUI application. The Main window displays +a block grid with each block's color representing the block types it +contains. Many people know this type of view from defragmentation +programs. + +WIKI: https://sourceforge.net/p/ddrescueview/wiki/Manual-0.4.5/ diff --git a/sysutils/ddrescueview/pkg-plist b/sysutils/ddrescueview/pkg-plist new file mode 100644 index 000000000000..35afd40f0071 --- /dev/null +++ b/sysutils/ddrescueview/pkg-plist @@ -0,0 +1,13 @@ +bin/ddrescueview +share/applications/ddrescueview.desktop +%%DOCSDIR%%/changelog.txt +%%DOCSDIR%%/readme.txt +share/icons/hicolor/128x128/apps/ddrescueview.png +share/icons/hicolor/16x16/apps/ddrescueview.png +share/icons/hicolor/22x22/apps/ddrescueview.png +share/icons/hicolor/24x24/apps/ddrescueview.png +share/icons/hicolor/256x256/apps/ddrescueview.png +share/icons/hicolor/32x32/apps/ddrescueview.png +share/icons/hicolor/48x48/apps/ddrescueview.png +share/icons/hicolor/64x64/apps/ddrescueview.png +share/man/man1/ddrescueview.1.gz