Skip to contentSkip to conversation

utilities/gitlab-ci: Remove custom build of fig2ps

PATCH Applied Leonardo Bras 3 participants 3 messages Jun 3, 2023 – Jun 8, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 utilities/gitlab-ci: Remove custom build of fig2ps

Since commit 1f907f3d77dd ("Use fig2dev as fallback to fig2eps"), there is no need to install fig2ps in the container for building the pdfs.

Remove those steps to simplify the building process.

---

Tested on Gitlab Pipeline:
https://gitlab.com/linux-kernel/perfbook/-/pipelines/888505608

 utilities/gitlab-ci.yml | 3 ---
 1 file changed, 3 deletions(-)
utilities/gitlab-ci.yml +0 -3
index 6c3ec1e6..544b9373 100644
@@ -21,9 +21,6 @@ generate_pdfs:
     before_script:
         - pacman --noconfirm -Sy texlive-meta fig2dev ghostscript graphviz inkscape wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
         - mkdir -p ~/.local/share/fonts && cp fonts/steel-city-comic.regular.ttf ~/.local/share/fonts/ && fc-cache
-        - wget https://sourceforge.net/projects/fig2ps/files/latest/download -O /dev/shm/fig2ps.tbz
-        - mkdir /dev/shm/build && tar -xjf /dev/shm/fig2ps.tbz -C /dev/shm/build --strip-components=1
-        - make install -C /dev/shm/build
 
     script:
         - make perfbook.pdf perfbook-1c.pdf perfbook-eb.pdf
Signature · 1 line
2.41.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Leonardo Bras

Since commit 1f907f3d77dd ("Use fig2dev as fallback to fig2eps"), there is no need to install fig2ps in the container for building the pdfs.

Remove those steps to simplify the building process.

---

Tested on Gitlab Pipeline:
https://gitlab.com/linux-kernel/perfbook/-/pipelines/888505608

Quoted 18 lines
 utilities/gitlab-ci.yml | 3 ---
 1 file changed, 3 deletions(-)
utilities/gitlab-ci.yml +0 -3
index 6c3ec1e6..544b9373 100644
@@ -21,9 +21,6 @@ generate_pdfs:
     before_script:
         - pacman --noconfirm -Sy texlive-meta fig2dev ghostscript graphviz inkscape wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
         - mkdir -p ~/.local/share/fonts && cp fonts/steel-city-comic.regular.ttf ~/.local/share/fonts/ && fc-cache
-        - wget https://sourceforge.net/projects/fig2ps/files/latest/download -O /dev/shm/fig2ps.tbz
-        - mkdir /dev/shm/build && tar -xjf /dev/shm/fig2ps.tbz -C /dev/shm/build --strip-components=1
-        - make install -C /dev/shm/build
 
     script:
         - make perfbook.pdf perfbook-1c.pdf perfbook-eb.pdf
#2 lore raw
Quoted 6 lines · Akira Yokosawa
Quoted 5 lines · Leonardo Bras

Since commit 1f907f3d77dd ("Use fig2dev as fallback to fig2eps"), there is no need to install fig2ps in the container for building the pdfs.

Remove those steps to simplify the building process.

Quoted 8 lines
Quoted 6 lines

---

Tested on Gitlab Pipeline:
https://gitlab.com/linux-kernel/perfbook/-/pipelines/888505608

Queued and pushed, thank you both!

Thanx, Paul

Quoted 17 lines
Quoted 17 lines
 utilities/gitlab-ci.yml | 3 ---
 1 file changed, 3 deletions(-)
utilities/gitlab-ci.yml +0 -3
index 6c3ec1e6..544b9373 100644
@@ -21,9 +21,6 @@ generate_pdfs:
     before_script:
         - pacman --noconfirm -Sy texlive-meta fig2dev ghostscript graphviz inkscape wget make which fontconfig git ttf-dejavu gnu-free-fonts ttf-liberation
         - mkdir -p ~/.local/share/fonts && cp fonts/steel-city-comic.regular.ttf ~/.local/share/fonts/ && fc-cache
-        - wget https://sourceforge.net/projects/fig2ps/files/latest/download -O /dev/shm/fig2ps.tbz
-        - mkdir /dev/shm/build && tar -xjf /dev/shm/fig2ps.tbz -C /dev/shm/build --strip-components=1
-        - make install -C /dev/shm/build
 
     script:
         - make perfbook.pdf perfbook-1c.pdf perfbook-eb.pdf