migrating to gcc5

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0Bn4OPZpqdRGBJ40UB93Z3r4YyiGo4HMw7yPeCEoRPjPg@mail.gmail.com>
Baba,
      I've gone ahead and migrated the currently supported r-base215,
r-base30, r-base31 and r-base32 packages from gcc49 to the new gcc5
package. In the process, I added the upstream fix for the  missing
extern on R_running_as_main_program in Rinterface.h into the
r-base32-3.2.0-2 packaging and dropped the fixincludes hack from
rstudio-desktop and rstudio-server (replacing it with a versioned
depends on r-base32-3.2.0-2 which now contains the extern on
R_running_as_main_program in Rinterface.h). Lastly I finally addressed
the packaging defect in the rmods which build against gfortran by
adding explicit BuildDepends on gcc5-compiler and Depends on
gcc5-shlibs. I also replaced the BuildDepends on
r-base%type_pkg[rversion]-dev and Depends on r-base%type_pkg[rversion]
with a conditional array of Depends to insure that the r-base used in
fact invokes gfortran-fsf-5. These changes looked like...

Index: cran-ucminf-r.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/rmods/cran-ucminf-r.info,v
retrieving revision 1.2
diff -r1.2 cran-ucminf-r.info
6c6
< Revision: 1
---
> Revision: 2
14,15c14,29
< Depends: r-base%type_pkg[rversion], libgettext8-shlibs
< BuildDepends: r-base%type_pkg[rversion]-dev, libgettext8-dev
---
> Depends: <<
> ( %type_raw[rversion] = 3.2 ) r-base%type_pkg[rversion] (>= 3.2.0-2),
> ( %type_raw[rversion] = 3.1 ) r-base%type_pkg[rversion] (>= 3.1.3-3),
> ( %type_raw[rversion] = 3.0 ) r-base%type_pkg[rversion] (>= 3.0.3-16),
> ( %type_raw[rversion] = 2.15 ) r-base%type_pkg[rversion] (>= 2.15.3-119),
> gcc5-shlibs,
> libgettext8-shlibs
> <<
> BuildDepends: <<
> ( %type_raw[rversion] = 3.2 ) r-base%type_pkg[rversion]-dev (>= 3.2.0-2),
> ( %type_raw[rversion] = 3.1 ) r-base%type_pkg[rversion]-dev (>= 3.1.3-3),
> ( %type_raw[rversion] = 3.0 ) r-base%type_pkg[rversion]-dev (>= 3.0.3-16),
> ( %type_raw[rversion] = 2.15 ) r-base%type_pkg[rversion]-dev (>= 2.15.3-119),
> gcc5-compiler,
> libgettext8-dev
> <<

       Jack

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.