Commit graph r-builds/builder/package.ubuntu-1804
Author SHA1 Message Date
Gábor Csárdi
fc4212278b
Merge branch 'main' into feature/arm64 2023-01-10 20:30:58 +01:00
Gábor Csárdi
3e927c5055 Tell arch to nfpm 2023-01-10 19:45:32 +01:00
Greg Lin
744b8d2a18 Update RStudio references to Posit 2022-11-30 15:58:14 -06:00
Greg Lin
ef86564f8f Replace fpm with nFPM for all other platforms 2022-08-24 11:53:58 -05:00
Greg Lin
d49f9104db Add -dev libs for R packages that link against libR
For consistency with CentOS and SUSE, and to install packages that
link against libR from source, like rJava. See `R CMD config --ldflags` and
https://cran.r-project.org/doc/manuals/r-devel/R-exts.html#Compiling-against-the-R-library
2020-05-14 14:55:02 -05:00
Greg Lin
650d3650ce Switch to dev PCRE in Ubuntu/Debian packages
For consistency with CentOS and SUSE, and because packages that
link against libR like rJava need PCRE dev headers to install
from source.
2020-05-14 13:56:58 -05:00
Greg Lin
048f2ca063 Remove unnecessary PCRE2 dependency on R 3.x
For more details on PCRE2 usage in R 3.x, see:
7d25524f8b/m4/R.m4 (L3056-L3058)
7d25524f8b/m4/R.m4 (L3139-L3155)
2020-05-14 12:45:10 -05:00
Joshua Spiewak
2bd9cc00b4 Use proper non-dev package names
8-bit version because R.
2020-04-27 15:58:35 -04:00
Joshua Spiewak
e3b92cab24 Add pcre2
Which is actually newer than what is called libpcre3.
2020-04-27 15:31:17 -04:00
Greg Lin
606e0ba647 Update RStudio Inc. -> RStudio, PBC 2020-04-24 10:34:49 -05:00
Greg Lin
bcc588166c Add bash shebangs 2019-10-04 13:05:40 -05:00
sellorm
1938cc5399
Added 'vendor' to the package config (#18)
* Added 'vendor' to the package config

* Changed vendor to RStudio
2019-07-30 21:03:00 +01:00
sellorm
74c1334ac7
removed dependency xdg-utils (#17) 2019-07-30 21:01:49 +01:00
sellorm
a20cff273b
Allows building deb packages for R on ubuntu-1804 (#12)
* Allows building deb packages for R on ubuntu-1804

this update provides a mechanism for building deb packages on Ubunto
1804. Several changes have been necessary to facilitate this:

* Dockerfile has been updated. It now includes:
    - fpm - a tool tool to create OS specific packages
    - copying the package script into the image
* the OS specific package.ubuntu-1804 packaging script
    - this is the script that uses fpm to build the package
* Updates to build.sh. It now includes:
    - runs the package script if it exists
    - stores the resultant package to s3

* removed duplicate dependencies

* fixed minor bug with output directory creation

* moved package creation to after the clean step

* Changed deb priority to "optional"

The fpm default priority is "extra" which is now deprecated.

https://github.com/jordansissel/fpm/issues/1398

* Added additional package fields

Added 'Bugs', URL (Homepage), 'Description', 'Maintainer' and 'License'

* Fixed the repo URL

* Added passthrough for Jenkins BUILD_NUMBER

Jenkins sets the BUILD_NUMBER environment variable for all jobs.
This change sets that env var inside the container as BUILD_NO.
BUILD_NO is used bythe packaging scripts in place of a version number
for all of the created packages.

* removed liblapack

* Improved consistency of environment variable use

Removed the needless renaming of environment variables to improve
overall consistency and readability

* No longer tries to version the packages

Previous commits relied on the idea that the Jenkins BUILD_NUMBER
environment variable could be used as a version number for the package
itself (in addition to R's existing version numbers). This is not the
case and having a version number for the package is not deemed desirable
at this time. This change pins *all* packages produced to version 1.

* Moved additional apt package installations

Packages were being installed in two places, have rationalised to a
single location to reduce the number of layers in the final container.

* Tidy up of package script

Alphabetised the dependencies to make things easier to find.

* Added additional dependencies

These dependencies were added as they were identified to be missing when
running against the R 3.6.1 build during testing

* Removed an unrequired dependency

Further trimming down the dependency list based on reviewer feedback.

* Swapped liblapack-dev for libopenblas-dev
2019-07-20 01:17:48 +01:00