diff options
| author | Pi-Cla <pirateclip@protonmail.com> | 2022-05-05 00:05:22 -0600 |
|---|---|---|
| committer | Vedang Manerikar <ved.manerikar@gmail.com> | 2022-05-21 20:06:15 -0400 |
| commit | 97a298192978788db9adbe723b1aa384e2ddf638 (patch) | |
| tree | b1aa4af1f458477e126a008dfbf8db05b04d2f98 /README.org | |
| parent | fedd930a09a497c03df3ce5204ccbd80da724662 (diff) | |
Remove usage of all private poppler headers in pdf-tools
This commit also removes C++ entirely, as it is not needed anymore for
correct compilation of `epdfinfo`. The following changes are made:
- Remove private headers from all the server code. This involves:
- Replace private header functionality with the correct public
functions provided by poppler.
- Remove unneeded headers around date checks
- Delete dead-code (headers, m4 macros)
- Remove C++, g++ and similar aliases from all the code. Also:
- Remove related information from the README
- Remove related information from CI and Dockerfiles
Work done by: @Pi-Cla
Closes: #105, #103, #109, #114
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -57,12 +57,12 @@ See the section on [[id:A34704B9-1B51-4614-8806-C4059F7B42D5][I want to add supp :CREATED: [2022-02-13 Sun 23:17] :ID: abaae1be-3bbb-4d99-90e7-5429c56083e1 :END: -First make sure a suitable build-system is installed. We need at least a C/C++ compiler (both ~gcc~ and ~g++~), ~make~, ~automake~ and ~autoconf~. +First make sure a suitable build-system is installed. We need at least a C compiler (~gcc~), ~make~, ~automake~ and ~autoconf~. Next we need to install a few libraries ~pdf-tools~ depends on, some of which are probably already on your system. #+begin_src sh - $ sudo apt install libpng-dev zlib1g-dev libpoppler-glib-dev libpoppler-private-dev + $ sudo apt install libpng-dev zlib1g-dev libpoppler-glib-dev #+end_src On some older Ubuntu systems, the final command will possibly give an error. This should be no problem, since in some versions this package was contained in the main package ~libpoppler-dev~. Also note, that ~zlib1g-dev~ was for a long time called ~libz-dev~, which it still may be on your system. @@ -132,7 +132,7 @@ If you choose not to install from MELPA, you must substitute ~gmake~ for ~make~ :ID: d0013822-f4d0-4354-b3db-c54ffe41ce58 :END: #+BEGIN_SRC sh - $ sudo dnf install make automake autoconf gcc gcc-c++ libpng-devel zlib-devel poppler-glib-devel + $ sudo dnf install make automake autoconf gcc libpng-devel zlib-devel poppler-glib-devel #+END_SRC There is one feature (following links of a PDF document by plain keystrokes) which requires imagemagick's convert utility. This requirement is optional and you may install it like so: @@ -146,12 +146,12 @@ There is one feature (following links of a PDF document by plain keystrokes) whi :END: For openSUSE Tumbleweed and Leap: #+BEGIN_SRC sh - $ sudo zypper install make automake autoconf gcc gcc-c++ libpng16-devel libpng16-compat-devel zlib-devel libpoppler-devel libpoppler-glib-devel glib2-devel + $ sudo zypper install make automake autoconf gcc libpng16-devel libpng16-compat-devel zlib-devel libpoppler-devel libpoppler-glib-devel glib2-devel #+END_SRC For openSUSE MicroOS Desktop: #+BEGIN_SRC sh - $ pkcon install make automake autoconf gcc gcc-c++ libpng16-devel libpng16-compat-devel zlib-devel libpoppler-devel libpoppler-glib-devel glib2-devel + $ pkcon install make automake autoconf gcc libpng16-devel libpng16-compat-devel zlib-devel libpoppler-devel libpoppler-glib-devel glib2-devel #+END_SRC There is one feature (following links of a PDF document by plain keystrokes) which requires imagemagick's convert utility. This requirement is optional and you may install the imagemagick package via the package manager of your choice. @@ -161,7 +161,7 @@ There is one feature (following links of a PDF document by plain keystrokes) whi :ID: 443d9b18-096e-4770-b59c-4e472a5d4b0e :END: #+BEGIN_SRC sh - $ apk add build-base g++ gcc automake autoconf libpng-dev glib-dev poppler-dev + $ apk add build-base gcc automake autoconf libpng-dev glib-dev poppler-dev #+END_SRC *** Installing ~epdfinfo~ Server Prerequisites On Windows |
