Skip to contentSkip to conversation

testdisk: add recipe

PATCH Superseded Wen Yang 2 participants 2 messages May 2, 2025

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Wen Yang

author
#0 lore raw

PATCH v3 1/1 testdisk: add recipe

From: Wen Yang <[email protected]>

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.

---
 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
meta-oe/recipes-support/testdisk/testdisk_7.2.bb new file +16 -0
new file mode 100644
index 0000000000..81d89c8e99
@@ -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"
+
Signature · 1 line
2.25.1
#1 lore raw

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.
Quoted 47 lines · Wen Yang via lists.openembedded.org

From: Wen Yang <[email protected]>

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.

---
 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
meta-oe/recipes-support/testdisk/testdisk_7.2.bb new file +16 -1
new file mode 100644
index 0000000000..81d89c8e99
@@ -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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-