meshlab for Debian
------------------

Packaging contributors: `cme update dpkg-copyright` is a useful tool and helpful
for updating this project. However, its decisions should be considered
carefully: this project is large enough and with enough "legacy" source code in
it that there are several cases that confuse it, so simply accepting what it
says will be wrong.

This is repackaged: based on a release (or, if git is in the upstream version, a
commit hash after a release).

The script debian/get-orig-source.sh can (re-)generate an equivalent tarball. It
downloads meshlab and its submodule vcglib, combines them, then passes the new
tarball to mk-origtargz to exclude files per debian/copyright.

The script requires these packages to be installed: wget curl jq devscripts

After the script is run, it produces two sed commands you can run to update the
URLs in debian/copyright. You can also run
gbp import-orig ../meshlab_VERSION~dfsg1.orig.tar.xz to import the new upstream.

The following subdirectories or files have been excluded, for the following
reasons (note that the list in debian/copyright is the authoritative one used by
get-orig-source.sh - this is just for commentary on notable exclusions):

    .github
    src/vcglib/.github
        CI scripts.

    sample
    textures
        Textures with unknown copyright status.

    unsupported
        Not intended to be built per upstream.

    resources/linux/aarch64/linuxdeploy
    resources/linux/aarch64/linuxdeploy-plugin-qt
    resources/linux/x86_64/linuxdeploy
    resources/linux/x86_64/linuxdeploy-plugin-qt
    resources/linux/x86_64/linuxdeploy-plugin-appimage
    src/use_cpu_opengl/opengl32.dll
        Binaries without the corresponding source.

    src/external/glew-2.2.0
    src/vcglib/eigenlib
        In Debian.

    src/vcglib/apps
        Not built, and excluding simplifies copyright file substantially.

    src/vcglib/wrap/gcache/docs/js
    src/vcglib/wrap/gcache/docs/css
        Unused (dependency docs) and contains minified files from libjs-prettify.

    src/vcglib/wrap/system/time
        Unknown license.

 -- Rylie Pavlik <rylie@ryliepavlik.com>  Mon, 08 Sep 2025 12:40:24 -0500
