* [meta-oe][PATCH v3] testdisk: add recipe
@ 2025-05-02 2:08 Wen Yang
2025-05-02 18:53 ` [oe] " Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: Wen Yang @ 2025-05-02 2:08 UTC (permalink / raw)
To: openembedded-core, openembedded-devel; +Cc: Wen Yang, Wen Yang
From: Wen Yang <wen.yang@blinux.dev>
testdisk is a free data recovery software primarily designed to help
recover lost partitions and/or make non-booting disks bootable again
when these symptoms are caused by faulty software.
Signed-off-by: Wen Yang <wen.yang@linux.dev>
---
meta-oe/recipes-support/testdisk/testdisk_7.2.bb | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 meta-oe/recipes-support/testdisk/testdisk_7.2.bb
diff --git a/meta-oe/recipes-support/testdisk/testdisk_7.2.bb b/meta-oe/recipes-support/testdisk/testdisk_7.2.bb
new file mode 100644
index 0000000000..81d89c8e99
--- /dev/null
+++ b/meta-oe/recipes-support/testdisk/testdisk_7.2.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "TestDisk is a free data recovery software primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting your Partition Table)."
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+DEPENDS = "jpeg ncurses e2fsprogs"
+
+SRC_URI = "https://www.cgsecurity.org/${BP}.tar.bz2"
+SRC_URI[sha256sum] = "f8343be20cb4001c5d91a2e3bcd918398f00ae6d8310894a5a9f2feb813c283f"
+
+inherit autotools pkgconfig
+
+PACKAGES =+ "${PN}-photorec"
+
+DESCRIPTION:${PN}-photorec = "Photorec is file data recovery software designed to recover lost files including video, documents and archives from Hard Disks and CDRom and lost pictures (Photo Recovery) from digital camera memory."
+FILES:${PN}-photorec = "${sbindir}/photorec"
+
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [oe] [meta-oe][PATCH v3] testdisk: add recipe
2025-05-02 2:08 [meta-oe][PATCH v3] testdisk: add recipe Wen Yang
@ 2025-05-02 18:53 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2025-05-02 18:53 UTC (permalink / raw)
To: wen.yang; +Cc: openembedded-core, openembedded-devel, Wen Yang
fails on musl target build
./../testdisk-7.2/src/hdaccess.c:1016:7: error: call to undeclared
function 'basename'; ISO C99 and later do not support implicit
function declarations [-Wimplicit-function-
↪ declaration]
| 1016 | basename (disk_car->device), file);
| | ^
| 2 warnings generated.
On Fri, May 2, 2025 at 5:52 AM Wen Yang via lists.openembedded.org
<wen.yang=linux.dev@lists.openembedded.org> wrote:
>
> From: Wen Yang <wen.yang@blinux.dev>
>
> testdisk is a free data recovery software primarily designed to help
> recover lost partitions and/or make non-booting disks bootable again
> when these symptoms are caused by faulty software.
>
> Signed-off-by: Wen Yang <wen.yang@linux.dev>
> ---
> meta-oe/recipes-support/testdisk/testdisk_7.2.bb | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
> create mode 100644 meta-oe/recipes-support/testdisk/testdisk_7.2.bb
>
> diff --git a/meta-oe/recipes-support/testdisk/testdisk_7.2.bb b/meta-oe/recipes-support/testdisk/testdisk_7.2.bb
> new file mode 100644
> index 0000000000..81d89c8e99
> --- /dev/null
> +++ b/meta-oe/recipes-support/testdisk/testdisk_7.2.bb
> @@ -0,0 +1,16 @@
> +DESCRIPTION = "TestDisk is a free data recovery software primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting your Partition Table)."
> +LICENSE = "GPL-2.0-or-later"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
> +
> +DEPENDS = "jpeg ncurses e2fsprogs"
> +
> +SRC_URI = "https://www.cgsecurity.org/${BP}.tar.bz2"
> +SRC_URI[sha256sum] = "f8343be20cb4001c5d91a2e3bcd918398f00ae6d8310894a5a9f2feb813c283f"
> +
> +inherit autotools pkgconfig
> +
> +PACKAGES =+ "${PN}-photorec"
> +
> +DESCRIPTION:${PN}-photorec = "Photorec is file data recovery software designed to recover lost files including video, documents and archives from Hard Disks and CDRom and lost pictures (Photo Recovery) from digital camera memory."
> +FILES:${PN}-photorec = "${sbindir}/photorec"
> +
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#117279): https://lists.openembedded.org/g/openembedded-devel/message/117279
> Mute This Topic: https://lists.openembedded.org/mt/112579605/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-05-02 18:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-02 2:08 [meta-oe][PATCH v3] testdisk: add recipe Wen Yang
2025-05-02 18:53 ` [oe] " Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox