mirror of
https://git.code.sf.net/p/zint/code
synced 2026-05-14 18:13:53 +00:00
debian: updated using https://salsa.debian.org/debian/zint as
template, props Dmitry Smirnov (ticket #147, props John Crisp); TODO: enable building with the GS1 Syntax Engine; this involved auditing copyrights which prompted the next item re "tif.c" and will prompt the next next item "pdf417.c" tif.c: replaced LZW compression with tree-based one due to "tif_lzw.h"'s original BSD-TAHOE license which has the equivalent of the "advertising clause", new implementation (which is much faster anyway) props Harald Kuhr and Bob Montgomery pdf417.c: TODO: Replace all code adapted from "pdf417.frm" as it was released under GPL v2.0 or later pdf417.h: replace unnecessary "pdf417.frm" references with ISO/IEC standard as 1st step re above, some expanded comments general: Codablock-F -> Codablock F (i.e. lose hyphen) cmake: frontend/frontend_qt: go back to only setting RPATH on macOS as not Debian compatible and it seems it's not a good idea on Linux anyway; TODO: check BSD + other Unixes CLI/GUI: make "--verbose" option official and document tools/gen_eci_sb_h.php/gen_eci_mb_h.php: add SPDX Unicode-3.0; update haible.de/bruno tarball info - "GB18030.TXT" no longer in "jdk-1.4.2/" so mention "libiconv-1.11/" version instead (same) general: add various SPDXs and normalize some Copyrights reedsol.c: malloced `logt`/`alog` tables int -> short (slight performance improvement) aztec.c: add copyrights, some code fiddling BWIPP: update to latest
This commit is contained in:
@@ -52,7 +52,12 @@ target_link_libraries(${PROJECT_NAME} QZint
|
||||
Qt${QT_VERSION_MAJOR}::UiTools Qt${QT_VERSION_MAJOR}::Gui Qt${QT_VERSION_MAJOR}::Svg
|
||||
Qt${QT_VERSION_MAJOR}::Core)
|
||||
|
||||
get_property(libdir GLOBAL PROPERTY ZINT_LIBDIR)
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES INSTALL_RPATH "${CMAKE_INSTALL_RPATH};${libdir}")
|
||||
if(APPLE AND NOT CMAKE_INSTALL_RPATH)
|
||||
get_property(libdir GLOBAL PROPERTY ZINT_LIBDIR)
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES INSTALL_RPATH "${CMAKE_INSTALL_RPATH};${libdir}")
|
||||
endif()
|
||||
|
||||
install(TARGETS ${PROJECT_NAME} DESTINATION "${CMAKE_INSTALL_BINDIR}" RUNTIME)
|
||||
if(UNIX)
|
||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/../docs/zint-qt.1" DESTINATION "${CMAKE_INSTALL_MANDIR}/man1" COMPONENT doc)
|
||||
endif()
|
||||
|
||||
@@ -127,7 +127,7 @@ static const struct bstyle_item bstyle_items[] = {
|
||||
{ QSL("Brazilian Postal Code (CEPNet)"), BARCODE_CEPNET },
|
||||
{ QSL("Channel Code"), BARCODE_CHANNEL },
|
||||
{ QSL("Codabar (EN 798)"), BARCODE_CODABAR },
|
||||
{ QSL("Codablock-F (and HIBC)"), BARCODE_CODABLOCKF },
|
||||
{ QSL("Codablock F (and HIBC)"), BARCODE_CODABLOCKF },
|
||||
{ QSL("Code 11"), BARCODE_CODE11 },
|
||||
{ QSL("Code 128 (ISO 15417) (and GS1-128 and HIBC)"), BARCODE_CODE128 },
|
||||
{ QSL("Code 16K (EN 12323)"), BARCODE_CODE16K },
|
||||
@@ -236,7 +236,7 @@ MainWindow::MainWindow(QWidget *parent, Qt::WindowFlags fl)
|
||||
m_btnHeightPerRowDisable(nullptr), m_btnHeightPerRowDefault(nullptr),
|
||||
m_scaleWindow(nullptr)
|
||||
{
|
||||
// Undocumented command line debug flag
|
||||
// Command line debug flag
|
||||
m_bc.bc.setDebug(QCoreApplication::arguments().contains(QSL("--verbose")));
|
||||
|
||||
QCoreApplication::setOrganizationName(QSL("zint"));
|
||||
@@ -817,7 +817,7 @@ void MainWindow::about()
|
||||
"<p>A free barcode generator</p>"
|
||||
"<p>Instruction manual is available at the project homepage:<br>"
|
||||
"<a href=\"https://www.zint.org.uk\">https://www.zint.org.uk</a>.</p>"
|
||||
"<p>Copyright © 2006-2025 Robin Stuart and others.<br>"
|
||||
"<p>Copyright © 2006-2026 Robin Stuart and others.<br>"
|
||||
"Qt backend by BogDan Vatra.<br>"
|
||||
"Released under GNU GPL 3.0 or later.</p>"
|
||||
"<p>Qt version %2. Qt settings:<br>%3</p>"
|
||||
@@ -1960,7 +1960,7 @@ void MainWindow::change_options()
|
||||
m_optionWidget = uiload.load(&file);
|
||||
file.close();
|
||||
load_sub_settings(settings, symbology);
|
||||
tabMain->insertTab(1, m_optionWidget, tr("Codablock&-F"));
|
||||
tabMain->insertTab(1, m_optionWidget, tr("Cod&ablock F"));
|
||||
btype->setItemText(0, tr("Default (bind)"));
|
||||
connect(get_widget(QSL("cmbCbfWidth")), SIGNAL(currentIndexChanged(int)), SLOT(update_preview()));
|
||||
connect(get_widget(QSL("cmbCbfHeight")), SIGNAL(currentIndexChanged(int)), SLOT(update_preview()));
|
||||
|
||||
@@ -19,3 +19,5 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
SPDX-License-Identifier: MIT
|
||||
|
||||
@@ -13,3 +13,5 @@ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
SPDX-License-Identifier: ISC
|
||||
|
||||
Reference in New Issue
Block a user