committed by
GitHub
parent
0d250b73f2
commit
fab3867e37
@@ -0,0 +1,61 @@
|
|||||||
|
description = "Generate various types of bar codes (1D or 2D) on various media"
|
||||||
|
name = "bar_codes"
|
||||||
|
version = "5.0.0"
|
||||||
|
authors = ["Gautier de Montmollin"]
|
||||||
|
website = "https://ada-bar-codes.sourceforge.io/"
|
||||||
|
licenses = "MIT"
|
||||||
|
maintainers = ["fabien.chouteau@gmail.com"]
|
||||||
|
maintainers-logins = ["zertovitch", "Fabien-Chouteau"]
|
||||||
|
project-files = ["ada_bar_codes.gpr"]
|
||||||
|
|
||||||
|
tags = ["bar", "code", "barcode", "bar-code",
|
||||||
|
"datamatrix", "data-matrix",
|
||||||
|
"qr", "qrcode", "qr-code",
|
||||||
|
"code128", "msi", "ean13", "upca",
|
||||||
|
"pbm", "pdf", "png", "svg"]
|
||||||
|
|
||||||
|
executables = ["bar_codes_demo"]
|
||||||
|
|
||||||
|
long-description = """
|
||||||
|
<a target="_blank" href="https://a.fsdn.com/con/app/proj/ada-bar-codes/screenshots/qr_code-d286323e.png" ><img src="https://a.fsdn.com/con/app/proj/ada-bar-codes/screenshots/qr_code-d286323e.png" alt="QR" width="171" height="129"></a>
|
||||||
|
<a target="_blank" href="https://a.fsdn.com/con/app/proj/ada-bar-codes/screenshots/abc_logo_rect-d71ba4ac.png"><img src="https://a.fsdn.com/con/app/proj/ada-bar-codes/screenshots/abc_logo_rect-d71ba4ac.png" alt="Code 128" width="178" height="129"></a>
|
||||||
|
<a target="_blank" href="https://a.fsdn.com/con/app/proj/ada-bar-codes/screenshots/dm_code_y129-8619c0ec.png" ><img src="https://a.fsdn.com/con/app/proj/ada-bar-codes/screenshots/dm_code_y129-8619c0ec.png" alt="Data Matrix" width="181" height="129"></a>
|
||||||
|
|
||||||
|
Some features:
|
||||||
|
|
||||||
|
* 1D bar codes supported: Code 128, EAN-13, MSI, UPC-A
|
||||||
|
* 2D bar codes supported: Data Matrix, QR Codes
|
||||||
|
* Task safe
|
||||||
|
* Endian-neutral
|
||||||
|
* Multi-platform, but native code build
|
||||||
|
* Standalone (no dependency on other libraires, bindings, etc.; no extra component needed for running)
|
||||||
|
* Unconditionally portable code: OS-, CPU-, compiler- independent code.
|
||||||
|
* Pure Ada 2012: this package can be used in projects in Ada 2012 and later versions of the Ada language
|
||||||
|
* Tests and demos included
|
||||||
|
* *Free*, open-source
|
||||||
|
|
||||||
|
The creation of a bar code is as simple as this small procedure:
|
||||||
|
|
||||||
|
```ada
|
||||||
|
with Ada.Text_IO, Bar_Codes, Bar_Codes_Media;
|
||||||
|
|
||||||
|
procedure Small_Demo is
|
||||||
|
use Ada.Text_IO;
|
||||||
|
svg : File_Type;
|
||||||
|
begin
|
||||||
|
Create (svg, Out_File, "qr_code.svg");
|
||||||
|
Put_Line
|
||||||
|
(svg,
|
||||||
|
Bar_Codes_Media.SVG_Bar_Code
|
||||||
|
(Bar_Codes.Code_QR_Low, 100.0, 100.0, "mm", "Hello"));
|
||||||
|
Close (svg);
|
||||||
|
end Small_Demo;
|
||||||
|
```
|
||||||
|
"""
|
||||||
|
|
||||||
|
[gpr-externals]
|
||||||
|
Build_Mode = ["Debug", "Fast"]
|
||||||
|
|
||||||
|
[origin]
|
||||||
|
url = "https://sourceforge.net/projects/ada-bar-codes/files/abc_005.zip"
|
||||||
|
hashes = ["sha512:c211b27c745a38409ecdf858277e0456fbb41692ee4534f4ae05ae75f75d37407f66a89d394a18f99c59a11f83fd4319f5cc41fb7416016a96b9576deb7dcac5"]
|
||||||
Reference in New Issue
Block a user