Package: r-base-core Version: 4.3.1-1.1 Severity: important Tags: patch X-Debbugs-Cc: debia...@lists.debian.org, 1040...@bugs.debian.org
Hi, to support R graphics ABI changes it makes sense to provide this feature to r-base-core to limit the needed transition to the minimum that is needed. This was discussed extensively on the Debian R mailing list. The transition (see bug #1040001 in CC) should happen just to the packages that need to be part of the transition which can only be done by marking the affected packages. The attached patch will implement the requested feature. There is also a patch to dh-r which can be uploadede immediately to do the needed things in debhelper. Kind regards Andreas. -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (50, 'buildd-unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.3.0-1-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages r-base-core depends on: ii ca-certificates 20230311 ii libblas3 [libblas.so.3] 3.11.0-2 ii libbz2-1.0 1.0.8-5+b1 ii libc6 2.36-9 ii libcairo2 1.16.0-7 ii libcurl4 7.88.1-10 ii libglib2.0-0 2.74.6-2 ii libgomp1 13.1.0-6 ii libicu72 72.1-3 ii libjpeg62-turbo 1:2.1.5-2 ii liblapack3 [liblapack.so.3] 3.11.0-2 ii liblzma5 5.4.1-0.2 ii libpango-1.0-0 1.50.14+ds-1 ii libpangocairo-1.0-0 1.50.14+ds-1 ii libpaper-utils 1.1.29 ii libpcre2-8-0 10.42-1 ii libpng16-16 1.6.40-1 ii libreadline8 8.2-1.3 ii libtcl8.6 8.6.13+dfsg-2 ii libtiff6 4.5.1-1 ii libtirpc3 1.3.3+ds-1 ii libtk8.6 8.6.13-2 ii libx11-6 2:1.8.6-1 ii libxt6 1:1.2.1-1.1 ii ucf 3.0043+nmu1 ii unzip 6.0-28 ii xdg-utils 1.1.3-4.1 ii zip 3.0-13 ii zlib1g 1:1.2.13.dfsg-1 Versions of packages r-base-core recommends: ii r-base-dev 4.3.1-1.1 ii r-doc-html 4.3.1-1 ii r-recommended 4.3.1-1.1 Versions of packages r-base-core suggests: pn elpa-ess <none> pn r-base-html <none> pn r-doc-info | r-doc-pdf <none> ii r-mathlib 4.3.1-1.1 -- no debconf information
diff --git a/debian/changelog b/debian/changelog index 2c23d966f..16d401c7b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +r-base (4.3.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Add r-graphics-api + + -- Andreas Tille <ti...@debian.org> Sat, 01 Jul 2023 13:45:57 +0200 + r-base (4.3.1-1) unstable; urgency=medium * New upstream release diff --git a/debian/control b/debian/control index 37d0cd042..d18e50c85 100644 --- a/debian/control +++ b/debian/control @@ -49,7 +49,7 @@ Package: r-base-core Architecture: any Depends: ${misc:Depends}, zip, unzip, libpaper-utils, xdg-utils, ${shlibs:Depends}, ucf (>= 3.0), ca-certificates Replaces: r-base (<= 1.4.1-1), r-recommended (<< 1.9.0), r-gnome (<= 2.3.1), r-cran-rcompgen (<= 0.1-17-1), r-base-latex (<= 2.9.2-4) -Provides: r-gnome, r-cran-rcompgen, r-base-latex, r-api-4.0 +Provides: r-gnome, r-cran-rcompgen, r-base-latex, r-api-4.0, r-graphics-api-4.3 Conflicts: r-gnome, r-cran-rcompgen, r-base-latex Recommends: r-recommended, r-base-dev, r-doc-html Suggests: elpa-ess, r-doc-info | r-doc-pdf, r-mathlib, r-base-html diff --git a/debian/r-cran.mk b/debian/r-cran.mk index 7e54a19d7..965ec24db 100644 --- a/debian/r-cran.mk +++ b/debian/r-cran.mk @@ -65,6 +65,7 @@ endif # awk '/^Version/ {print $$2}') rversion := $(shell dpkg-query -W -f='$${Version}' r-base-dev) rapiversion := $(shell dpkg-query -W -f='$${Provides}' r-base-core | grep -o 'r-api[^, ]*') +rgraphicsapiversion := $(shell dpkg-query -W -f='$${Provides}' r-base-core | grep -o 'r-graphics-api[^, ]*') ## we use these results for the to-be-installed-in directory debRlib := $(CURDIR)/debian/$(package)/$(debRdir) @@ -101,7 +102,7 @@ R_any_arch: dh_installdirs $(debRdir) ## ## support ${R:Depends} via debian/${package}.substvars - echo "R:Depends=r-base-core (>= ${rversion}), ${rapiversion}" >> debian/$(package).substvars + echo "R:Depends=r-base-core (>= ${rversion}), ${rapiversion}, ${rgraphicsapiversion}" >> debian/$(package).substvars ## ## call R to install the sources we're looking at ## use this inside xvfb-run if this wrapper is installed