Skip to contentSkip to conversation

testdisk: add recipe

PATCH Superseded Wen Yang 2 participants 2 messages Apr 30, 2025

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Wen Yang

author
#0 lore raw

PATCH v2 1/1 testdisk: add recipe

From: Yang Wen <[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.

---
 .../recipes-support/testdisk/testdisk_7.2.bb   | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-support/testdisk/testdisk_7.2.bb
meta-oe/recipes-support/testdisk/testdisk_7.2.bb new file +18 -0
new file mode 100644
index 0000000000..3edc97f607
@@ -0,0 +1,18 @@
+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/testdisk-7.2.tar.bz2"
+S = "${WORKDIR}/testdisk-7.2"
+
+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"
+
+SRC_URI[md5sum] = "c6809b6fd06b5022467c8faa32d49a27"
+SRC_URI[sha256sum] = "f8343be20cb4001c5d91a2e3bcd918398f00ae6d8310894a5a9f2feb813c283f"

--
2.25.1

#1 lore raw
Quoted 19 lines · Wen Yang via lists.openembedded.org

From: Yang Wen <[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.

---
 .../recipes-support/testdisk/testdisk_7.2.bb   | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-support/testdisk/testdisk_7.2.bb
meta-oe/recipes-support/testdisk/testdisk_7.2.bb new file +0 -0
new file mode 100644
index 0000000000..3edc97f607

meta-oe/recipes-support/testdisk/testdisk_7.2.bb line 7

Quoted 7 lines
meta-oe/recipes-support/testdisk/testdisk_7.2.bb new file +7 -0
@@ -0,0 +1,18 @@
+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/testdisk-7.2.tar.bz2"

Use ${BP}.tar.bz2 instead of hardcoding tarball name

meta-oe/recipes-support/testdisk/testdisk_7.2.bb line 9

Quoted 2 lines
meta-oe/recipes-support/testdisk/testdisk_7.2.bb new file +2 -0
+S = "${WORKDIR}/testdisk-7.2"
+

That's the implicit value of S as well. Remove it.

meta-oe/recipes-support/testdisk/testdisk_7.2.bb line 17

Quoted 8 lines
meta-oe/recipes-support/testdisk/testdisk_7.2.bb new file +8 -0
+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"
+
+SRC_URI[md5sum] = "c6809b6fd06b5022467c8faa32d49a27"

Please drop md5sum. We do not use them anymore.

Quoted 13 lines
meta-oe/recipes-support/testdisk/testdisk_7.2.bb new file +1 -1
+SRC_URI[sha256sum] = "f8343be20cb4001c5d91a2e3bcd918398f00ae6d8310894a5a9f2feb813c283f"
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#117253): https://lists.openembedded.org/g/openembedded-devel/message/117253
Mute This Topic: https://lists.openembedded.org/mt/112537787/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-