Message ID | 20250502020808.1038389-1-wen.yang@linux.dev |
---|---|
State | Under Review |
Headers | show |
Series | [meta-oe,v3] testdisk: add recipe | expand |
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] > -=-=-=-=-=-=-=-=-=-=-=- >
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" +