Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 832961

Summary: dev-util/cunit: upgrade cunit to maintained fork
Product: Gentoo Linux Reporter: Kenton Groombridge <rustyvega>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: minor CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 932110    
Attachments: ebuild for forked cunit
cunit-3.2.7.ebuild

Description Kenton Groombridge 2022-02-09 03:48:12 UTC
Created attachment 764656 [details]
ebuild for forked cunit

dev-util/cunit has been dead since 2015. I have a lot issues building/crashing with using this unsupported version and have moved to a forked version actively maintained at https://gitlab.com/cunity/cunit. Not sure if to replace it with this forked version or have a parallel version.

I made the attached ebuild, but I am sure it sucks but at least it is a start. :)
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-10 16:52:08 UTC
Hm, is it definitely the same project?

If I try installing it with a modified ebuild, I get:
```
>> Merging dev-util/cunit-3.2.7 to /
 * CMP: =dev-util/cunit-2.1_p3-r1 with dev-util/cunit-3.2.7/image
 *  FILES:+usr/include/CUnit/.gitignore
 *  FILES:+usr/include/CUnit/AutomatedJUnitXml.h
 *  FILES:+usr/include/CUnit/CUnit.h.in
 *  FILES:+usr/include/CUnit/CUnitCI.h
 *  FILES:+usr/include/CUnit/CUnitCITypes.h
 *  FILES:+usr/include/CUnit/Jamfile
 *  FILES:+usr/include/CUnit/Makefile.am
 *  FILES:+usr/include/CUnit/MessageHandlers.h
 *  FILES:+usr/include/CUnit/Simple.h
 *  FILES:-usr/lib/libcunit.so
 *  FILES:-usr/lib/libcunit.so.1
 *  FILES:-usr/lib/libcunit.so.1.0.1
 *  FILES:-usr/lib/pkgconfig/cunit.pc
 *  FILES:-usr/lib64/libcunit.so
 *  FILES:-usr/lib64/libcunit.so.1
 *  FILES:-usr/lib64/libcunit.so.1.0.1
 *  FILES:-usr/lib64/pkgconfig/cunit.pc
 *  FILES:-usr/share/CUnit/CUnit-List.dtd
 *  FILES:-usr/share/CUnit/CUnit-List.xsl
 *  FILES:-usr/share/CUnit/CUnit-Run.dtd
 *  FILES:-usr/share/CUnit/CUnit-Run.xsl
 *  FILES:-usr/share/CUnit/Memory-Dump.dtd
 *  FILES:-usr/share/CUnit/Memory-Dump.xsl
 *  FILES:+usr/include/CUnit/wxWidget.h
 *  FILES:+usr/share/CUnit/cmake/CUnitConfig.cmake
 *  FILES:+usr/share/CUnit/cmake/CUnitTargets-relwithdebinfo.cmake
 *  FILES:+usr/share/CUnit/cmake/CUnitTargets.cmake
 *  FILES:-usr/share/doc/cunit-*/CUnit_doc.css
 *  FILES:-usr/share/doc/cunit-*/README.xz
 *  FILES:+usr/share/doc/cunit-*/README.md.xz
 *  FILES:-usr/share/doc/cunit-*/error_handling.html
 *  FILES:-usr/share/doc/cunit-*/fdl.html
 *  FILES:-usr/share/doc/cunit-*/headers/Automated.h.xz
 *  FILES:-usr/share/doc/cunit-*/headers/Basic.h.xz
 *  FILES:-usr/share/doc/cunit-*/headers/CUCurses.h.xz
 *  FILES:-usr/share/doc/cunit-*/headers/CUError.h.xz
 *  FILES:-usr/share/doc/cunit-*/headers/CUnit.h.xz
 *  FILES:-usr/share/doc/cunit-*/headers/CUnit_intl.h.xz
 *  FILES:-usr/share/doc/cunit-*/headers/Console.h.xz
 *  FILES:-usr/share/doc/cunit-*/headers/MyMem.h.xz
 *  FILES:-usr/share/doc/cunit-*/headers/TestDB.h.xz
 *  FILES:-usr/share/doc/cunit-*/headers/TestRun.h.xz
 *  FILES:-usr/share/doc/cunit-*/headers/Util.h.xz
 *  FILES:-usr/share/doc/cunit-*/headers/Win.h.xz
 *  FILES:-usr/share/doc/cunit-*/index.html
 *  FILES:-usr/share/doc/cunit-*/introduction.html
 *  FILES:-usr/share/doc/cunit-*/managing_tests.html
 *  FILES:-usr/share/doc/cunit-*/running_tests.html
 *  FILES:-usr/share/doc/cunit-*/test_registry.html
 *  FILES:-usr/share/doc/cunit-*/writing_tests.html
 *  FILES:-usr/share/man/man3/CUnit.3.xz
 *  SONAME:-libcunit.so.1(32)
 *  SONAME:-libcunit.so.1(64)
 *   SIZE: 0.60MiB -> 0.16MiB, 52 -> 29 files
 * ------> FILES(+14,-37) SONAME(-2) SIZE(-71.95%)
```

Note that it doesn't install a dynamic library, nor does it install pkgconfig files. It does install a static library for me though.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-10 16:52:35 UTC
Created attachment 861449 [details, diff]
cunit-3.2.7.ebuild