Skip to content

Commit 5672dac

Browse files
committed
Windows: update to poppler 22.02
CI: test on Windows oldrel too
1 parent 7b997f8 commit 5672dac

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/R-CMD-check.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ jobs:
1717
matrix:
1818
config:
1919
- {os: macOS-latest, r: 'release'}
20-
- {os: windows-latest, r: 'release'}
2120
- {os: windows-latest, r: 'devel'}
21+
- {os: windows-latest, r: '4.1'}
22+
- {os: windows-latest, r: '3.6'}
2223
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
2324
- {os: ubuntu-latest, r: 'release'}
2425
- {os: ubuntu-latest, r: 'oldrel-1'}

src/Makevars.win

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
VERSION=21.04.0
2-
DATA=0.4.10
1+
VERSION=22.02.0
2+
DATA=0.4.11
33

44
# Need older poppler for R < 4.0
55
ifeq ($(R_COMPILED_BY),gcc 4.9.3)
66
VERSION=0.73.0
77
DATA=0.4.9
8+
EXTRALIB=-lharfbuzz
89
endif
910

1011
CXX_STD=CXX11
@@ -17,7 +18,7 @@ PKG_LIBS= \
1718
-L$(RWINLIB)/lib${subst gcc,,${COMPILED_BY}}${R_ARCH} \
1819
-L$(RWINLIB)/lib${R_ARCH}${CRT} \
1920
-lpoppler-cpp -lpoppler -llcms2 -ljpeg -lpng16 -ltiff -lopenjp2 \
20-
-lfreetype -lharfbuzz -lfreetype -lbz2 -liconv -lz
21+
-lfreetype $EXTRALIB -lfreetype -lbz2 -liconv -lz
2122

2223
all: clean winlibs
2324

0 commit comments

Comments
 (0)