Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
rmast committed Apr 13, 2024
1 parent 2de18cf commit f19b367
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 13 deletions.
33 changes: 28 additions & 5 deletions .github/workflows/biuild-revealshapes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,33 @@ jobs:
run: |
echo "deb-src http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs) main restricted" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
- name: install libdjvulibre-dev
run: sudo apt install libdjvulibre-dev
- name: voor checokut
run: pwd

- uses: actions/checkout@v4
- name: na checokut
run: pwd
- name: checkout headerfiles
run: apt-get source libdjvulibre-dev; ls
## - uses: actions/checkout@v4
# - name: configure
# run: ./configure
# - name: make
# run: make
- name: Copy header files
run: |
mkdir -p external
cp -r djvulibre-*/libdjvu/*.h external
ls external
ls -ld external
- name: autogen.sh
run: ./autogen.sh
- name: show up header files
run: |
ls -ld /home/runner/work
ls -la /home/runner/work
ls -ld /home/runner/work/revealshapes/revealshapes/external
ls -la /home/runner/work/revealshapes/revealshapes/external
- name: make
run: make
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bin_PROGRAMS = revealshapes

AM_CPPFLAGS = -I /home/rmast/djvu-djvulibre-git/libdjvu
AM_CPPFLAGS = -Iexternal
AM_CXXFLAGS = $(PTHREAD_CFLAGS)

revealshapes_SOURCES = revealshapes.cpp common.h
Expand Down
14 changes: 7 additions & 7 deletions revealshapes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
#include <bits/getopt_core.h>
#include <bits/getopt_core.h>

#include <DjVuDocument.h>
#include <DjVuImage.h>
#include "DjVuDocument.h"
#include "DjVuImage.h"
#include "/usr/include/libdjvu/ddjvuapi.h"
#include <DjVmDir.h>
#include <JB2Image.h>
#include <Arrays.h>
#include <GBitmap.h>
#include <UnicodeByteStream.h>
#include "DjVmDir.h"
#include "JB2Image.h"
#include "Arrays.h"
#include "GBitmap.h"
#include "UnicodeByteStream.h"

#include <cstdlib>
#include <unistd.h>
Expand Down

0 comments on commit f19b367

Please sign in to comment.