[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1040001: transition: r-base



On Sat, 2023-07-01 at 14:29 +0200, Andreas Tille wrote:

> I've filed Bug#1040038 with the patch for r-graphics-api and updated
> branch r-api-graphic branch of dh-r[1] to match the suggested patch
> immediately once uploaded.

I've sent a suggestion to bug #1040038 for not hard-coding the API
number and extracting it from the header instead. Dirk also posted
an R-native version of what I suggested to the bug too.

The dh-r r-api-graphic branch also hard-codes the list of packages that
should get the graphics API dependency but that list will need manual
maintenance as packages add/drop use of R_GE_checkVersionOrDie.

The objdump tool can export the list of dynamically imported symbols,
that can be searched for use of R_GE_checkVersionOrDie and then if it
is, assume that it is called with R_GE_version and add the dependency.

   $ objdump -T debian/*/usr/lib/R/site-library/*/libs/*.so | grep R_GE_checkVersionOrDie
   0000000000000000      DF *UND*       0000000000000000  Base        R_GE_checkVersionOrDie

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: