Skip to content

Commit

Permalink
chore: remove proprietary blobs
Browse files Browse the repository at this point in the history
  • Loading branch information
M0Rf30 committed Apr 15, 2024
1 parent 373d19a commit 0adcbfc
Show file tree
Hide file tree
Showing 119 changed files with 41 additions and 33,943 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,9 @@ jobs:
sudo apt update;
sudo apt install -y g++ libcrypto++-dev
libcrypto++8 libcurl4-openssl-dev libfontconfig1-dev
libfreetype6-dev libpcsclite-dev libpcsclite1 libpng-dev
libfreetype6-dev libpcsclite-dev libpcsclite1 libpng-dev libpodofo-dev
libssl-dev libssl3 libxml2 libxml2-dev
pcscd pkg-config python3-pip unzip;
curl -sL "https://github.com/m0rf30/cie-middleware-linux/releases/download/podofo-1.4.2/libpodofo-1.4.2.tar.gz" -o libpodofo.tar.gz;
tar xf libpodofo.tar.gz --directory=libs/lib
pcscd pkg-config python3-pip unzip
- uses: actions/setup-python@v5
with:
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Sono necessarie le seguenti librerie:
* openssl
* pcsclite
* pkgconf (make)
* podofo (<= 0.9.8)

### Istruzioni

Expand All @@ -52,10 +53,6 @@ Da terminale, spostarsi nella root del presente repo e digitare:
```sh
gradle -b cie-java/build.gradle standalone

curl -sL "https://github.com/M0Rf30/cie-middleware-linux/releases/download/podofo-1.4.2/libpodofo-1.4.2.tar.gz" -o libpodofo.tar.gz

tar xf libpodofo.tar.gz --directory=libs/lib

meson setup builddir libs
meson configure -Dprefix=/usr builddir
meson compile -C builddir
Expand Down
Empty file removed libs/lib/.gitkeep
Empty file.
6 changes: 2 additions & 4 deletions libs/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ curl_dep = dependency('libcurl')
fontconfig_dep = dependency('fontconfig')
freetype_dep = dependency('freetype2')
png_dep = dependency('libpng')
podofo_dep = cpp.find_library('libpodofo', dirs: libdir)
podofo_dep = dependency('podofo', required: true)
podofo_dep = dependency('libpodofo')
libxml2_dep = dependency('libxml-2.0', required: false)
xml2_dep = dependency('xml2', required: false)
zlib_dep = dependency('zlib')
Expand All @@ -25,9 +26,6 @@ inc_so = include_directories('pkcs11/src/.', 'shared/src/')

inc_a = include_directories(
'sign-sdk/include',
'sign-sdk/include/podofo',
'sign-sdk/include/podofo/include',
'sign-sdk/include/podofo/include/podofo',
'sign-sdk/src',
'shared/src/',
)
Expand Down
7 changes: 4 additions & 3 deletions libs/sign-sdk/include/PdfSignatureGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@

#ifndef _PDFSIGNATUREGENERATOR_H_
#define _PDFSIGNATUREGENERATOR_H_
#include <podofo/doc/PdfSignOutputDevice.h>
#include <podofo/doc/PdfSignatureField.h>
#include <podofo/podofo.h>

#include "Util/UUCByteArray.h"
#include "podofo/doc/PdfSignOutputDevice.h"
#include "podofo/doc/PdfSignatureField.h"
#include "podofo/podofo.h"

using namespace PoDoFo;
using namespace std;
Expand Down

This file was deleted.

Loading

0 comments on commit 0adcbfc

Please sign in to comment.