Date: Thu, 18 Jul 2019 15:01:00 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506853 - in head/graphics: . svgbob svgbob/files Message-ID: <201907181501.x6IF102f091874@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Thu Jul 18 15:01:00 2019 New Revision: 506853 URL: https://svnweb.freebsd.org/changeset/ports/506853 Log: New port: graphics/svgbob Convert ASCII diagrams to SVG. These can be - Basic shapes - Quick logo scribbles - Sequence Diagrams - Statistical charts - Flow charts - Block diagrams - Mindmaps - Circuit diagrams WWW: https://github.com/ivanceras/svgbob Added: head/graphics/svgbob/ head/graphics/svgbob/Makefile (contents, props changed) head/graphics/svgbob/distinfo (contents, props changed) head/graphics/svgbob/files/ head/graphics/svgbob/files/patch-src_main.rs (contents, props changed) head/graphics/svgbob/pkg-descr (contents, props changed) Modified: head/graphics/Makefile Modified: head/graphics/Makefile ============================================================================== --- head/graphics/Makefile Thu Jul 18 14:11:18 2019 (r506852) +++ head/graphics/Makefile Thu Jul 18 15:01:00 2019 (r506853) @@ -1005,6 +1005,7 @@ SUBDIR += svg2pdf SUBDIR += svg2png SUBDIR += svgalib + SUBDIR += svgbob SUBDIR += swfdec SUBDIR += swfmill SUBDIR += swftools Added: head/graphics/svgbob/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/svgbob/Makefile Thu Jul 18 15:01:00 2019 (r506853) @@ -0,0 +1,63 @@ +# $FreeBSD$ + +PORTNAME= svgbob +DISTVERSION= g20190412 +CATEGORIES= graphics + +MAINTAINER= tobik@FreeBSD.org +COMMENT= Convert ASCII diagrams to SVG + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC:H}/LICENSE + +USES= cargo +USE_GITHUB= yes +GH_ACCOUNT= ivanceras +GH_TAGNAME= c3e84c87094550d8cdc6fc48b40a00712b2951cb + +CARGO_CRATES= ansi_term-0.11.0 \ + atty-0.2.11 \ + bitflags-1.0.4 \ + cfg-if-0.1.5 \ + clap-2.32.0 \ + handlebars-0.21.1 \ + libc-0.2.60 \ + log-0.3.9 \ + log-0.4.5 \ + pest-0.3.3 \ + pom-1.1.0 \ + quick-error-1.2.2 \ + redox_syscall-0.1.40 \ + redox_termios-0.1.1 \ + rustc-serialize-0.3.24 \ + strsim-0.7.0 \ + svg-0.5.11 \ + svgbob-0.4.1 \ + termion-1.5.1 \ + textwrap-0.10.0 \ + unicode-width-0.1.5 \ + vec_map-0.8.1 \ + winapi-0.3.6 \ + winapi-i686-pc-windows-gnu-0.4.0 \ + winapi-x86_64-pc-windows-gnu-0.4.0 + +WRKSRC_SUBDIR= svgbob_cli + +PLIST_FILES= bin/svgbob +PORTDOCS= README.md spec.md +PORTEXAMPLES= * + +OPTIONS_DEFINE= DOCS EXAMPLES + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/svgbob + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC:H} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} + +.include <bsd.port.mk> Added: head/graphics/svgbob/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/svgbob/distinfo Thu Jul 18 15:01:00 2019 (r506853) @@ -0,0 +1,53 @@ +TIMESTAMP = 1563460482 +SHA256 (rust/crates/ansi_term-0.11.0.tar.gz) = ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b +SIZE (rust/crates/ansi_term-0.11.0.tar.gz) = 17087 +SHA256 (rust/crates/atty-0.2.11.tar.gz) = 9a7d5b8723950951411ee34d271d99dddcc2035a16ab25310ea2c8cfd4369652 +SIZE (rust/crates/atty-0.2.11.tar.gz) = 5916 +SHA256 (rust/crates/bitflags-1.0.4.tar.gz) = 228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12 +SIZE (rust/crates/bitflags-1.0.4.tar.gz) = 15282 +SHA256 (rust/crates/cfg-if-0.1.5.tar.gz) = 0c4e7bb64a8ebb0d856483e1e682ea3422f883c5f5615a90d51a2c82fe87fdd3 +SIZE (rust/crates/cfg-if-0.1.5.tar.gz) = 7363 +SHA256 (rust/crates/clap-2.32.0.tar.gz) = b957d88f4b6a63b9d70d5f454ac8011819c6efa7727858f458ab71c756ce2d3e +SIZE (rust/crates/clap-2.32.0.tar.gz) = 196073 +SHA256 (rust/crates/handlebars-0.21.1.tar.gz) = 937e9d49d65ffb5f70e95710a6c8539addf40200275ad8b6cdba0f0a59d5814d +SIZE (rust/crates/handlebars-0.21.1.tar.gz) = 37259 +SHA256 (rust/crates/libc-0.2.60.tar.gz) = d44e80633f007889c7eff624b709ab43c92d708caad982295768a7b13ca3b5eb +SIZE (rust/crates/libc-0.2.60.tar.gz) = 409744 +SHA256 (rust/crates/log-0.3.9.tar.gz) = e19e8d5c34a3e0e2223db8e060f9e8264aeeb5c5fc64a4ee9965c062211c024b +SIZE (rust/crates/log-0.3.9.tar.gz) = 16686 +SHA256 (rust/crates/log-0.4.5.tar.gz) = d4fcce5fa49cc693c312001daf1d13411c4a5283796bac1084299ea3e567113f +SIZE (rust/crates/log-0.4.5.tar.gz) = 22221 +SHA256 (rust/crates/pest-0.3.3.tar.gz) = 0a6dda33d67c26f0aac90d324ab2eb7239c819fc7b2552fe9faa4fe88441edc8 +SIZE (rust/crates/pest-0.3.3.tar.gz) = 37109 +SHA256 (rust/crates/pom-1.1.0.tar.gz) = 60f6ce597ecdcc9a098e7fddacb1065093a3d66446fa16c675e7e71d1b5c28e6 +SIZE (rust/crates/pom-1.1.0.tar.gz) = 168217 +SHA256 (rust/crates/quick-error-1.2.2.tar.gz) = 9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0 +SIZE (rust/crates/quick-error-1.2.2.tar.gz) = 15132 +SHA256 (rust/crates/redox_syscall-0.1.40.tar.gz) = c214e91d3ecf43e9a4e41e578973adeb14b474f2bee858742d127af75a0112b1 +SIZE (rust/crates/redox_syscall-0.1.40.tar.gz) = 14745 +SHA256 (rust/crates/redox_termios-0.1.1.tar.gz) = 7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76 +SIZE (rust/crates/redox_termios-0.1.1.tar.gz) = 3227 +SHA256 (rust/crates/rustc-serialize-0.3.24.tar.gz) = dcf128d1287d2ea9d80910b5f1120d0b8eede3fbf1abe91c40d39ea7d51e6fda +SIZE (rust/crates/rustc-serialize-0.3.24.tar.gz) = 45926 +SHA256 (rust/crates/strsim-0.7.0.tar.gz) = bb4f380125926a99e52bc279241539c018323fab05ad6368b56f93d9369ff550 +SIZE (rust/crates/strsim-0.7.0.tar.gz) = 8435 +SHA256 (rust/crates/svg-0.5.11.tar.gz) = 7518a18ac78da03c41ca0611128c6d8adf1efae0773c337d6c19793dce860c9b +SIZE (rust/crates/svg-0.5.11.tar.gz) = 14800 +SHA256 (rust/crates/svgbob-0.4.1.tar.gz) = dd526cbbfdd8637f3d78b2a955f0291df671010563cc5a4aab50f200a981b4b5 +SIZE (rust/crates/svgbob-0.4.1.tar.gz) = 133270 +SHA256 (rust/crates/termion-1.5.1.tar.gz) = 689a3bdfaab439fd92bc87df5c4c78417d3cbe537487274e9b0b2dce76e92096 +SIZE (rust/crates/termion-1.5.1.tar.gz) = 20659 +SHA256 (rust/crates/textwrap-0.10.0.tar.gz) = 307686869c93e71f94da64286f9a9524c0f308a9e1c87a583de8e9c9039ad3f6 +SIZE (rust/crates/textwrap-0.10.0.tar.gz) = 15986 +SHA256 (rust/crates/unicode-width-0.1.5.tar.gz) = 882386231c45df4700b275c7ff55b6f3698780a650026380e72dabe76fa46526 +SIZE (rust/crates/unicode-width-0.1.5.tar.gz) = 15761 +SHA256 (rust/crates/vec_map-0.8.1.tar.gz) = 05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a +SIZE (rust/crates/vec_map-0.8.1.tar.gz) = 14959 +SHA256 (rust/crates/winapi-0.3.6.tar.gz) = 92c1eb33641e276cfa214a0522acad57be5c56b10cb348b3c5117db75f3ac4b0 +SIZE (rust/crates/winapi-0.3.6.tar.gz) = 1029391 +SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 +SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz) = 2918815 +SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f +SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz) = 2947998 +SHA256 (ivanceras-svgbob-g20190412-c3e84c87094550d8cdc6fc48b40a00712b2951cb_GH0.tar.gz) = 031393571b12c635de12edcff3c554784fdfa167d1fbd3f4df7c4179479adc31 +SIZE (ivanceras-svgbob-g20190412-c3e84c87094550d8cdc6fc48b40a00712b2951cb_GH0.tar.gz) = 295241 Added: head/graphics/svgbob/files/patch-src_main.rs ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/svgbob/files/patch-src_main.rs Thu Jul 18 15:01:00 2019 (r506853) @@ -0,0 +1,36 @@ +error: the item `exit` is imported redundantly + --> src/main.rs:86:25 + | +16 | use std::process::exit; + | ------------------ the item `exit` is already imported here +... +86 | use std::process::exit; + | ^^^^^^^^^^^^^^^^^^ + | + +--- src/main.rs.orig 2019-04-12 08:16:01 UTC ++++ src/main.rs +@@ -83,7 +83,6 @@ fn main() { + } + Err(e) => { + use std::io::Write; +- use std::process::exit; + + writeln!( + &mut std::io::stderr(), +@@ -124,7 +123,6 @@ fn main() { + if let Some(file) = args.value_of("output") { + if let Err(e) = svg::save(file, &svg) { + use std::io::Write; +- use std::process::exit; + + writeln!( + &mut std::io::stderr(), +@@ -148,7 +146,6 @@ where + Ok(a) => Some(a), + Err(e) => { + use std::io::Write; +- use std::process::exit; + + writeln!( + &mut std::io::stderr(), Added: head/graphics/svgbob/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/svgbob/pkg-descr Thu Jul 18 15:01:00 2019 (r506853) @@ -0,0 +1,13 @@ +Convert ASCII diagrams to SVG. + +These can be +- Basic shapes +- Quick logo scribbles +- Sequence Diagrams +- Statistical charts +- Flow charts +- Block diagrams +- Mindmaps +- Circuit diagrams + +WWW: https://github.com/ivanceras/svgbob
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907181501.x6IF102f091874>