graphics/pdf2svg 0.2.4_4 FreeBSD
Convert PDF to SVG
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv2
- Categories
- graphics
- Package size
- 11.4 KiB, 26.7 KiB installed
Description
Under Linux there aren't many freely available vector graphics editors and as far as I know there are none that can edit EPS (encapsulated postscript) and PDF (portable document format) files. I produce lots of these files in my day-to-day work and I would like to be able to edit them. The best vector graphics editor I have found so far is Inkscape but it only reads SVG files... (Note: the upcoming v0.46 should be able to read PDFs!)
To overcome this problem I have written a very small utility to convert PDF files to SVG files using Poppler and Cairo. Version 0.2.1 is available here (with modifications by Matthew Flaschen and Ed Grace). This appears to work on any PDF document that Poppler can read (try them in XPDF or Evince since they both use Poppler).
So now it is possible to easily edit PDF documents with your favourite SVG editor! One other alternative would be to use pstoedit but the commercial SVG module costs (unsurprisingly!) and the free SVG module is not very good at handling text...
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | graphics/pdf2svg | 0.2.4_4 |
| NetBSD | converters/pdf2svg | 0.2.4nb1 |
| DragonFly | graphics/pdf2svg | 0.2.4_1 |
Install
Binary package:
pkg install pdf2svg
From the ports tree:
cd /usr/ports/graphics/pdf2svg/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= pdf2svg>0:graphics/pdf2svg
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.2.4_4 | 0.2.4_4 | 0.2.3_47 | 0.2.4_2 | 0.2.4_4 |
| FreeBSD:14:quarterly | 0.2.4_4 | 0.2.4_4 | n/a | 0.2.4_2 | 0.2.4_4 |
| FreeBSD:15:latest | 0.2.4_4 | 0.2.4_4 | n/a | 0.2.4_2 | 0.2.4_2 |
| FreeBSD:15:quarterly | 0.2.4_4 | 0.2.4_4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.2.4_4 | 0.2.4_4 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libpoppler-glib.so: graphics/poppler-glib
The full lists below include those, and their dependencies in turn.
Build dependencies 64
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/lzo2
- archivers/zstd
- converters/libiconv
- databases/sqlite3
- devel/gettext-runtime
- devel/glib20
- devel/libedit
- devel/libffi
- devel/libinotify
- devel/libunistring
- devel/npth
- devel/nspr
- devel/pcre2
- devel/pkgconf
- devel/py-packaging
- devel/readline
- dns/libidn2
- graphics/cairo
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/openjpeg
- graphics/png
- graphics/poppler
- graphics/poppler-data
- graphics/poppler-glib
- graphics/tiff
- lang/python312
- lang/python315
- lang/tcl86
- math/gmp
- math/libtommath
- math/mpdecimal
- print/freetype2
- print/indexinfo
- security/gnupg
- security/gnutls
- security/gpgme
- security/gpgmepp
- security/libassuan
- security/libgcrypt
- security/libgpg-error
- security/libksba
- security/libtasn1
- security/nettle
- security/nss
- security/p11-kit
- security/pinentry
- security/pinentry-curses
- textproc/expat2
- textproc/libxml2
- x11-fonts/fontconfig
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/pixman
- x11/xorgproto
Run dependencies 63
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/lzo2
- archivers/zstd
- converters/libiconv
- databases/sqlite3
- devel/gettext-runtime
- devel/glib20
- devel/libedit
- devel/libffi
- devel/libinotify
- devel/libunistring
- devel/npth
- devel/nspr
- devel/pcre2
- devel/py-packaging
- devel/readline
- dns/libidn2
- graphics/cairo
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/openjpeg
- graphics/png
- graphics/poppler
- graphics/poppler-data
- graphics/poppler-glib
- graphics/tiff
- lang/python312
- lang/python315
- lang/tcl86
- math/gmp
- math/libtommath
- math/mpdecimal
- print/freetype2
- print/indexinfo
- security/gnupg
- security/gnutls
- security/gpgme
- security/gpgmepp
- security/libassuan
- security/libgcrypt
- security/libgpg-error
- security/libksba
- security/libtasn1
- security/nettle
- security/nss
- security/p11-kit
- security/pinentry
- security/pinentry-curses
- textproc/expat2
- textproc/libxml2
- x11-fonts/fontconfig
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/pixman
- x11/xorgproto
No port depends on this one.
Configuration
No options to configure.
- USES
- gettext-runtime gnome pkgconfig
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| dawbarton-pdf2svg-v0.2.4_GH0.tar.gz | 89494 | fd765256f18b5890639e93cabdf631b640966ed1ea9ebd561aede9d3be2155e4 |
Commit history 0
No commits in the history this site was built from.