notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
libredwg Library and command line tools to handle DWG files
0.12.4 cad on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.12.4Version of this port present on the latest quarterly branch.
Maintainer: danfe@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-08-30 02:26:35
Last Update: 2024-01-23 11:32:28
Commit Hash: 9a81a60
Also Listed In: devel
License: GPLv3+
WWW:
https://www.gnu.org/software/libredwg/
Description:
GNU LibreDWG is a C library to handle DWG files. It aims to be a free replacement for the OpenDWG libraries. DWG is the native file format of AutoCAD. LibreDWG was based on LibDWG (http://libdwg.sourceforge.net), which is written with variable names, documentation, and comments in Esperanto. There are also command line tools and libraries to read and write DWG files, with converters for various formats (DXF, DXFB, SVG, PS, JSON, XML, etc.) and a SaveAs functionality, to convert between the various DWG versions. It can read r13-r2018 DWG, write r13-r2000 DWG, write r11-r2018 DXF ASCII and binary. Much more object types than any other free DWG library.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (48 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libredwg-0.12.4/catalog.mk
  3. /usr/local/share/licenses/libredwg-0.12.4/LICENSE
  4. /usr/local/share/licenses/libredwg-0.12.4/GPLv3+
  5. bin/dwg2SVG
  6. bin/dwg2dxf
  7. bin/dwg2ps
  8. bin/dwgadd
  9. bin/dwgbmp
  10. bin/dwgfilter
  11. bin/dwggrep
  12. bin/dwglayers
  13. bin/dwgread
  14. bin/dwgrewrite
  15. bin/dwgwrite
  16. bin/dxf2dwg
  17. bin/dxfwrite
  18. include/dwg.h
  19. include/dwg_api.h
  20. lib/libredwg.a
  21. lib/libredwg.so
  22. lib/libredwg.so.0
  23. lib/libredwg.so.0.0.12
  24. @comment %%PYTHON_SITELIBDIR%%/LibreDWG.py
  25. @comment %%PYTHON_SITELIBDIR%%/_LibreDWG.a
  26. @comment %%PYTHON_SITELIBDIR%%/_LibreDWG.so
  27. @comment %%PYTHON_SITELIBDIR%%/_LibreDWG.so.0
  28. @comment %%PYTHON_SITELIBDIR%%/_LibreDWG.so.0.0.0
  29. @comment %%PYTHON_SITELIBDIR%%/__pycache__/LibreDWG.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
  30. @comment %%PYTHON_SITELIBDIR%%/__pycache__/LibreDWG.cpython-%%PYTHON_SUFFIX%%.pyc
  31. libdata/pkgconfig/libredwg.pc
  32. share/man/man1/dwg2SVG.1.gz
  33. share/man/man1/dwg2dxf.1.gz
  34. share/man/man1/dwg2ps.1.gz
  35. share/man/man1/dwgadd.1.gz
  36. share/man/man1/dwgbmp.1.gz
  37. share/man/man1/dwgfilter.1.gz
  38. share/man/man1/dwggrep.1.gz
  39. share/man/man1/dwglayers.1.gz
  40. share/man/man1/dwgread.1.gz
  41. share/man/man1/dwgrewrite.1.gz
  42. share/man/man1/dwgwrite.1.gz
  43. share/man/man1/dxf2dwg.1.gz
  44. share/man/man1/dxfwrite.1.gz
  45. share/man/man5/dwgadd.5.gz
  46. @owner
  47. @group
  48. @mode
Collapse this list.
Dependency lines:
  • libredwg>0:cad/libredwg
To install the port:
cd /usr/ports/cad/libredwg/ && make install clean
To add the package, run one of these commands:
  • pkg install cad/libredwg
  • pkg install libredwg
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libredwg
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (libredwg-0.12.4.tar.xz) = 918857f119c34d9bef17321b646c4ba0fbfaa93dcaced403bae1933e1d9a6517 SIZE (libredwg-0.12.4.tar.xz) = 9535732

Packages (timestamps in pop-ups are UTC):
libredwg
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.12.40.12.4-0.12.40.12.4---
FreeBSD:13:quarterly0.12.40.12.40.12.40.12.40.12.40.12.40.12.40.12.4
FreeBSD:14:latest0.12.40.12.40.12.40.12.40.12.40.12.4-0.12.4
FreeBSD:14:quarterly0.12.40.12.4-0.12.40.12.40.12.40.12.40.12.4
FreeBSD:15:latest0.12.40.12.4n/a-n/a0.12.40.12.40.12.4
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. indexinfo : print/indexinfo
Library dependencies:
  1. libpcre2-8.so : devel/pcre2
  2. libps.so : print/pslib
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for libredwg-0.12.4: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples PCRE=on: Regular expressions support in dwggrep PSLIB=on: PostScript export support (dwg2ps) PYTHON=off: Python bindings or support ===> Use 'make config' to modify these settings
Options name:
cad_libredwg
USES:
cpe libtool tar:xz localbase localbase
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (11 items)
Collapse this list.
  1. ftp://ftp.fu-berlin.de/unix/gnu/libredwg/
  2. ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/libredwg/
  3. ftp://mirrors.rit.edu/gnu/libredwg/
  4. http://ftp.halifax.rwth-aachen.de/gnu/libredwg/
  5. http://ftp.kddilabs.jp/GNU/gnu/libredwg/
  6. http://mirror.navercorp.com/gnu/libredwg/
  7. https://ftp.gnu.org/gnu/libredwg/
  8. https://ftpmirror.gnu.org/libredwg/
  9. https://mirror.netcologne.de/gnu/libredwg/
  10. https://mirrors.kernel.org/gnu/libredwg/
  11. https://www.nic.funet.fi/pub/gnu/gnu/libredwg/
Collapse this list.

Number of commits found: 27

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.12.4
23 Jan 2024 11:32:28
commit hash: 9a81a60255cf823a5092605fe5032b0e0ab4e671commit hash: 9a81a60255cf823a5092605fe5032b0e0ab4e671commit hash: 9a81a60255cf823a5092605fe5032b0e0ab4e671commit hash: 9a81a60255cf823a5092605fe5032b0e0ab4e671 files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
Convert more of my ports to new manual page location (part two).
0.12.4
31 Dec 2023 00:37:05
commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree

- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
0.12.4
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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>
0.12.4
27 Oct 2022 11:31:56
commit hash: 85d135cf7a17863ccc89dca7c7ac1b6c8f26ca24commit hash: 85d135cf7a17863ccc89dca7c7ac1b6c8f26ca24commit hash: 85d135cf7a17863ccc89dca7c7ac1b6c8f26ca24commit hash: 85d135cf7a17863ccc89dca7c7ac1b6c8f26ca24 files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
cad/libredwg: revert commit a534aad1cee and fix the problem differently

Do not build LLVM-based fuzzers: they are hardly interesting to regular
LibreDWG consumers and not even being installed.

Reported by:	pkg-fallout
0.12.4
22 Sep 2022 10:13:41
commit hash: a534aad1cee458e9b23b551ff93331b42d1f0187commit hash: a534aad1cee458e9b23b551ff93331b42d1f0187commit hash: a534aad1cee458e9b23b551ff93331b42d1f0187commit hash: a534aad1cee458e9b23b551ff93331b42d1f0187 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
cad/libredwg: fix build on powerpc64*

Use newer LLVM with sanitizer libraries:
ld: error: cannot open
/usr/lib/clang/13.0.0/lib/freebsd/libclang_rt.asan-powerpc64le.a: No such file
or directory
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
0.12.4
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
0.12.4
20 Jul 2022 14:20:58
commit hash: b46abf8056cc9f1f1f579710126929b99b36f966commit hash: b46abf8056cc9f1f1f579710126929b99b36f966commit hash: b46abf8056cc9f1f1f579710126929b99b36f966commit hash: b46abf8056cc9f1f1f579710126929b99b36f966 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
cad: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  AMAKAWA Shuhei <amakawa@jp.FreeBSD.org>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Anders Andersson <anders@hack.org>
  *  Bruce M Simpson <bms@FreeBSD.org>
  *  Christoph Moench-Tegeder <cmt@FreeBSD.org>
  *  David Yeske <dyeske@gmail.com>
  *  Diane Bruce <db@db.net>
  *  Joachim Strombergson <watchman@ludd.ltu.se>
  *  Johnny Sorocil <jsorocil@gmail.com>
  *  Julian Jenkins <kaveman@magna.com.au>
  *  Marc Fonvieille <blackend@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.12.4
25 Sep 2021 20:28:39
commit hash: 7d84dacb0ab950d598e23205120966e32742c524commit hash: 7d84dacb0ab950d598e23205120966e32742c524commit hash: 7d84dacb0ab950d598e23205120966e32742c524commit hash: 7d84dacb0ab950d598e23205120966e32742c524 files touched by this commit
Bernhard Froehlich (decke) search for other commits by this committer
cad/libredwg: Add CPE information

Approved by:	portmgr (blanket)
0.12.4
07 Apr 2021 12:16:39
commit hash: f7668a0f9d7d55964c4da7578d5c116bcfcce2eacommit hash: f7668a0f9d7d55964c4da7578d5c116bcfcce2eacommit hash: f7668a0f9d7d55964c4da7578d5c116bcfcce2eacommit hash: f7668a0f9d7d55964c4da7578d5c116bcfcce2ea files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
Update LibreDWG to version 0.12.4, another bugfix release.
0.12.3
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.12.3
27 Feb 2021 19:32:06
Revision:566730Original commit files touched by this commit
danfe search for other commits by this committer
Update LibreDWG to version 0.12.3, which fixes many minor fuzzing errors
(quoting upstream, libfuzzer is much better than afl++ and honggfuzz).

Reported by:	portscout
0.12.2
23 Feb 2021 12:11:57
Revision:566392Original commit files touched by this commit
danfe search for other commits by this committer
Update to version 0.12.2, bugfix release.

Found out via:	repology.org
0.12.1
02 Feb 2021 09:51:09
Revision:563792Original commit files touched by this commit
danfe search for other commits by this committer
- Update LibreDWG to version 0.12.1 (mostly bugfix release)
- Move PSLIB_PLIST_FILES into normal pkg-plist: after r561350,
  OPTIONS_SUB is required for PYTHON option anyways, so it makes
  little sense to track files in two separate locations

Found out via:	repology.org
0.12
12 Jan 2021 17:15:16
Revision:561350Original commit files touched by this commit
danfe search for other commits by this committer
- Update LibreDWG to version 0.12
- Disable Perl bindings for now (there are issues)
- Add missing bits for the proper Python support
- Install examples (and put them where they belong)
0.11.1
29 Nov 2020 17:42:37
Revision:556592Original commit files touched by this commit
danfe search for other commits by this committer
Update to version 0.11.1, which brings ``out_dxf'' bugfixes mostly.

0.11 failed to produce dxf files which could be imported into AutoCAD.
This bugfix release improves DXF importing from 10% to about 90%.

Found out via:	repology.org
0.11
08 Aug 2020 10:16:03
Revision:544384Original commit files touched by this commit
danfe search for other commits by this committer
Update to version 0.11.

Reported by:	portscout
0.10.1_1
27 Feb 2020 09:05:43
Revision:527240Original commit files touched by this commit
danfe search for other commits by this committer
Provide an option to build `dwggrep' utility with regex support and make
it enabled by default since `devel/pcre2' is rather common dependency.

Because previously built packages could link to PCRE2 libraries without
this dependency being recorded, bump port revision.
0.10.1
26 Feb 2020 11:06:30
Revision:527160Original commit files touched by this commit
danfe search for other commits by this committer
Update GNU LibreDWG to version 0.10.1.
0.10
10 Jan 2020 10:52:30
Revision:522564Original commit files touched by this commit
danfe search for other commits by this committer
- Update LibreDWG to the latest version 0.10
- Some minor API changes and bugfixes, mostly stabilization

Reported by:	portscout
0.9.3
31 Dec 2019 16:02:19
Revision:521638Original commit files touched by this commit
danfe search for other commits by this committer
Update GNU LibreDWG to version 0.9.3.

PR:	243004
0.9
07 Oct 2019 14:14:47
Revision:513950Original commit files touched by this commit
danfe search for other commits by this committer
- Update LibreDWG to version 0.9
- Enable runtime tracing by default: it has no noticeable effect
  during normal usage but greatly improves debugging experience

Reported by:	portscout
0.8
11 Jul 2019 01:32:03
Revision:506394Original commit files touched by this commit
danfe search for other commits by this committer
- Update LibreDWG to version 0.8
- Hook the tests to our framework (tests pass on x86,
  but fail on powerpc/sparc64 unfortunately)
- Add the PYTHON option, disabled by default

Tested on:	i386, amd64, powerpc, sparc64
0.7
06 Dec 2018 12:05:25
Revision:486754Original commit files touched by this commit
danfe search for other commits by this committer
Update to version 0.7, which is an important bugfix release.

Reported by:	portscout
0.6.2_1
10 Nov 2018 18:12:58
Revision:484628Original commit files touched by this commit
bapt search for other commits by this committer
Install texinfo files (GNU info) into ${PREFIX}/share/info

After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
0.6.2
07 Nov 2018 16:37:14
Revision:484404Original commit files touched by this commit
danfe search for other commits by this committer
- Update `cad/libredwg' to version 0.6.2 which brings numerous important
  fixes, including several out_dxf segfaults
- Build with PostScript export support (dwg2ps) by default (due to lack
  of --disable-pslib configure switch, leave a note that while currently
  pre-installed `print/pslib' port would not be silently picked up, this
  might change in the future and explain how to handle this situation)
0.6
30 Aug 2018 02:26:19
Revision:478428Original commit files touched by this commit
danfe search for other commits by this committer
GNU LibreDWG is a C library to handle DWG files which aims to be a free
replacement for the OpenDWG libraries.

There are command line tools and libraries to read and write DWG files,
with converters for various formats: DXF, DXFB, SVG, PS, JSON, XML, etc.

WWW: https://www.gnu.org/software/libredwg/

Number of commits found: 27