Svglib is a pure-Python library for reading SVG files and converting them (to a
reasonable degree) to other formats using the ReportLab Open Source toolkit.
Used as a package you can read existing SVG files and convert them into
ReportLab Drawing objects that can be used in a variety of contexts, e.g. as
ReportLab Platypus Flowable objects or in RML.
As a command-line tool it converts SVG files into PDF ones (but adding other
output formats like bitmap or EPS is really easy and will be better supported,
soon).
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-svglib listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py312-svglib-2.3.2:
BITMAP=on: Support for rendering ReportLab drawings to Bitmap formats
===> Use 'make config' to modify these settings
*/*: switch dependency from devel/py-lxml5 to devel/py-lxml
Currently, there are two versions of python XML processing library
which conflict each other in the ports tree, namely:
- devel/py-lxml5 (now at version 5.4.0)
- devel/py-lxml (now at version 6.0.1)
To avoid the situation that some ports depend on py-lxml5 and some
others do on py-lxml (by switching dependencies individually), this
commit switches the dependencies from py-lxml5 to py-lxml at once.
Additional note: There are still two ports (textproc/py-rdflib and
www/py-draftjs-exporter) depending on py-lxml5 since they limit upper
version to less than 6.
PR: 289491
Approved by: Michiel van Baak Jansen <michiel@vanbaak.eu>, arrowd,
crees, madpilot, delphij, marcus, nivit, kai,
skreuzer, fluffy, bofh, thierry, stephen, sunpoet,
0mp, Eric Camachat <eric@camachat.org>
*/*: update dependency on devel/py-lxml to devel/py-lxml5
www/py-beautifulsoup has switched dependency on devel/py-lxml to
devel/py-lxml5.
Ports which directly or indirectly depends on both
www/py-beautifulsoup and devel/py-lxml must also switch their
dependencies on devel/py-lxml to devel/py-lxml5 to avoid conflicts.
PR: 288047
Approved by: portmgr (chase dependency change)
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Update CONFLICTS definitions in categories a* to c*
Update the CONFLICTS definitions of ports in the following categories:
- accessibility
- archivers
- audio
- benchmarks
- biology
- cad
- chinese
- comms
- converters
An attempt has been made to use generic conflicts patterns that do not
have to be updated whenever a new version of a conflicting port is
added to the ports system.
There is a misunderstanding that the port being built/installed has to
be omitted from the conflicts pattern. This is not true - the port
being built is implicitly non-conflicting due to logic in bsd.port.mk.
Approved by: portmgr (implicit)
converters/py-svglib: Re-add port
The port is being maintained by upstream fairly regularly again after a
lengthy hiatus:
Svglib is a pure-Python library for reading SVG files and converting
them (to a reasonable degree) to other formats using the ReportLab Open
Source toolkit.
Used as a package you can read existing SVG files and convert them into
ReportLab Drawing objects that can be used in a variety of contexts,
e.g. as ReportLab Platypus Flowable objects or in RML.
As a command-line tool it converts SVG files into PDF ones (but adding
other output formats like bitmap or EPS is really easy and will be
better supported, soon).
WWW: https://github.com/deeplook/svglib
Remove expired ports:
2013-12-22 devel/ruby-cvs: Broken for more than 6 month
2013-12-22 devel/hs-reactive: Broken for more than 6 month
2013-12-22 databases/rubygem-delayed_job_data_mapper: Broken for more than 6
month
2013-12-22 graphics/xmagv: Broken for more than 6 month
2013-12-22 lang/slib-gauche: Broken for more than 6 month
2013-12-22 graphics/f-spot: Broken for more than 6 month
2013-12-22 sysutils/linux-megamgr: Broken for more than 6 month
2013-12-22 games/linux-savage-samuraiwars: Broken for more than 6 month
2013-12-22 ftp/gftp: Broken for more than 6 month
2013-12-22 devel/hs-DeepArrow: Broken for more than 6 month
2013-12-22 converters/py-svglib: Broken for more than 6 month
2013-12-22 converters/p5-Unicode-Lite: Broken for more than 6 month
2013-12-22 mail/squirrelmail-calendar_sql_backend-plugin: Broken for more than 6
month
2013-12-22 finance/quantlib: Broken for more than 6 month
2013-12-22 games/xkobo: Broken for more than 6 month
2013-12-22 games/quake3-rq3: Broken for more than 6 month
2013-12-22 math/fbm: No new release since 2004, new supported upstream
Svglib is an experimental library for reading SVG files and converting
them(to a reasonable degree) to other formats using the Open Source
ReportLab Toolkit. As a package it reads existing SVG files and returns
them converted to ReportLab Drawing objects that can be used in a
variety of ReportLab-related contexts, e.g. as Platypus Flowable objects
or in RML2PDF. As a command-line tool it converts SVG files into PDF
ones.
WWW: http://pypi.python.org/pypi/svglib/
PR: ports/128752
Submitted by: Wen Heping <wenheping at wenheping.com>