Skip to content

Commit

Permalink
Windows: update to poppler 22.02
Browse files Browse the repository at this point in the history
CI: test on Windows oldrel too
  • Loading branch information
jeroen committed Feb 16, 2022
1 parent 7b997f8 commit 5672dac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ jobs:
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: windows-latest, r: 'devel'}
- {os: windows-latest, r: '4.1'}
- {os: windows-latest, r: '3.6'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
Expand Down
7 changes: 4 additions & 3 deletions src/Makevars.win
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
VERSION=21.04.0
DATA=0.4.10
VERSION=22.02.0
DATA=0.4.11

# Need older poppler for R < 4.0
ifeq ($(R_COMPILED_BY),gcc 4.9.3)
VERSION=0.73.0
DATA=0.4.9
EXTRALIB=-lharfbuzz
endif

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

all: clean winlibs

Expand Down

0 comments on commit 5672dac

Please sign in to comment.