Added autocomplete scripts to Ubuntu packages

This commit is contained in:
Bartek Kryza
2023-10-22 13:58:42 +02:00
parent ce754086ee
commit ad4363acaa
13 changed files with 13 additions and 29 deletions

View File

@@ -1,5 +1,6 @@
# CHANGELOG # CHANGELOG
### 0.4.1
* Enabled manual call expression injection through comments (#196) * Enabled manual call expression injection through comments (#196)
* Added support for generating sequence diagram notes from comments (#194) * Added support for generating sequence diagram notes from comments (#194)
* Added Bash and Zsh autocomplete scripts (#193) * Added Bash and Zsh autocomplete scripts (#193)

View File

@@ -38,7 +38,7 @@ PROJECT_NAME = "clang-uml"
# could be handy for archiving the generated documentation or if some version # could be handy for archiving the generated documentation or if some version
# control system is used. # control system is used.
PROJECT_NUMBER = 0.4.0 PROJECT_NUMBER = 0.4.1
# Using the PROJECT_BRIEF tag one can provide an optional one line description # Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a # for a project that appears at the top of each page and should give viewer a

View File

@@ -4,7 +4,7 @@
[![Build status](https://github.com/bkryza/clang-uml/actions/workflows/build.yml/badge.svg)](https://github.com/bkryza/clang-uml/actions) [![Build status](https://github.com/bkryza/clang-uml/actions/workflows/build.yml/badge.svg)](https://github.com/bkryza/clang-uml/actions)
[![Coverage](https://codecov.io/gh/bkryza/clang-uml/branch/master/graph/badge.svg)](https://codecov.io/gh/bkryza/clang-uml) [![Coverage](https://codecov.io/gh/bkryza/clang-uml/branch/master/graph/badge.svg)](https://codecov.io/gh/bkryza/clang-uml)
[![Version](https://img.shields.io/badge/version-0.4.0-blue)](https://github.com/bkryza/clang-uml/releases) [![Version](https://img.shields.io/badge/version-0.4.1-blue)](https://github.com/bkryza/clang-uml/releases)
[![Version](https://img.shields.io/badge/LLVM-12,13,14,15,16,17-orange)](https://github.com/bkryza/clang-uml/releases) [![Version](https://img.shields.io/badge/LLVM-12,13,14,15,16,17-orange)](https://github.com/bkryza/clang-uml/releases)
[![Doxygen](https://img.shields.io/badge/Docs-Doxygen-gainsboro)](https://clang-uml.github.io) [![Doxygen](https://img.shields.io/badge/Docs-Doxygen-gainsboro)](https://clang-uml.github.io)

View File

@@ -119,9 +119,9 @@ deb: _BUILD/$(SOURCE_ARCHIVE_DEB)
#mk-origtargz ../$(NAME)-$(VERSION)-$(REBUILD).tar.$(TAR_EXT) #mk-origtargz ../$(NAME)-$(VERSION)-$(REBUILD).tar.$(TAR_EXT)
cp debian/control.$(DIST) debian/control cp debian/control.$(DIST) debian/control
# BUILD SOURCE PACKAGE FOR LAUNCHPAD # BUILD SOURCE PACKAGE FOR LAUNCHPAD
debuild -S -sa -us -d -k$(GPG_KEY) # debuild -S -sa -us -d -k$(GPG_KEY)
# BUILD LOCALLY BINARY PACKAGE # BUILD LOCALLY BINARY PACKAGE
# debuild -us -uc DEB_BUILD_OPTIONS='parallel=16' debuild -us -uc
conda: conda:
echo "############################" echo "############################"

View File

@@ -9,7 +9,7 @@
cd packaging cd packaging
make DIST=focal deb make DIST=focal deb
make DIST=jammy deb make DIST=jammy deb
make DIST=kinetic deb make DIST=lunar deb
cd _BUILD/ubuntu/focal cd _BUILD/ubuntu/focal
dput ppa:bkryza/clang-uml *.changes dput ppa:bkryza/clang-uml *.changes

View File

@@ -0,0 +1 @@
packaging/autocomplete/clang-uml

View File

@@ -2,7 +2,7 @@ Source: clang-uml
Maintainer: Bartek Kryza <bkryza@gmail.com> Maintainer: Bartek Kryza <bkryza@gmail.com>
Section: devel Section: devel
Priority: optional Priority: optional
Build-Depends: debhelper, git, make, gcc-10, g++-10, cmake (>= 3.16), libyaml-cpp-dev, llvm-12, llvm-12-dev, clang-12, libclang-12-dev, libclang-cpp12-dev Build-Depends: debhelper, git, make, gcc-10, g++-10, cmake (>= 3.16), libyaml-cpp-dev, llvm-12, llvm-12-dev, clang-12, libclang-12-dev, libclang-cpp12-dev, bash-completion, dh-sequence-bash-completion
Standards-Version: 4.3.0 Standards-Version: 4.3.0
Vcs-Browser: https://github.com/bkryza/clang-uml Vcs-Browser: https://github.com/bkryza/clang-uml
Vcs-Git: https://github.com/bkryza/clang-uml.git Vcs-Git: https://github.com/bkryza/clang-uml.git

View File

@@ -2,7 +2,7 @@ Source: clang-uml
Maintainer: Bartek Kryza <bkryza@gmail.com> Maintainer: Bartek Kryza <bkryza@gmail.com>
Section: devel Section: devel
Priority: optional Priority: optional
Build-Depends: debhelper, git, make, gcc-12, g++-12, cmake (>= 3.16), libyaml-cpp-dev, llvm-15, llvm-15-dev, clang-15, libclang-15-dev, libclang-cpp15-dev Build-Depends: debhelper, git, make, gcc-11, g++-11, cmake (>= 3.16), libyaml-cpp-dev, llvm-15, llvm-15-dev, clang-15, libclang-15-dev, libclang-cpp15-dev, bash-completion, dh-sequence-bash-completion
Standards-Version: 4.3.0 Standards-Version: 4.3.0
Vcs-Browser: https://github.com/bkryza/clang-uml Vcs-Browser: https://github.com/bkryza/clang-uml
Vcs-Git: https://github.com/bkryza/clang-uml.git Vcs-Git: https://github.com/bkryza/clang-uml.git

View File

@@ -1,19 +0,0 @@
Source: clang-uml
Maintainer: Bartek Kryza <bkryza@gmail.com>
Section: devel
Priority: optional
Build-Depends: debhelper, git, make, gcc-12, g++-12, cmake (>= 3.16), libyaml-cpp-dev, llvm-15, llvm-15-dev, clang-15, clang-tools-15, libclang-15-dev, libclang-cpp15-dev, libmlir-15-dev, mlir-15-tools
Standards-Version: 4.3.0
Vcs-Browser: https://github.com/bkryza/clang-uml
Vcs-Git: https://github.com/bkryza/clang-uml.git
Homepage: https://github.com/bkryza/clang-uml
Package: clang-uml
Architecture: any
Section: utils
Depends: ${misc:Depends}, ${shlibs:Depends}, clang-15
Pre-Depends: ${misc:Pre-Depends}
Description: Automatic C++ UML diagram generator based on Clang.
.
This package provides the clang-uml binary.

View File

@@ -2,7 +2,7 @@ Source: clang-uml
Maintainer: Bartek Kryza <bkryza@gmail.com> Maintainer: Bartek Kryza <bkryza@gmail.com>
Section: devel Section: devel
Priority: optional Priority: optional
Build-Depends: debhelper, git, make, gcc, g++, cmake (>= 3.16), libyaml-cpp-dev, llvm-16, llvm-16-dev, clang-16, clang-tools-16, libclang-16-dev, libclang-cpp16-dev, libmlir-16-dev, mlir-16-tools Build-Depends: debhelper, git, make, gcc, g++, cmake (>= 3.16), libyaml-cpp-dev, llvm-16, llvm-16-dev, clang-16, clang-tools-16, libclang-16-dev, libclang-cpp16-dev, libmlir-16-dev, mlir-16-tools, bash-completion, dh-sequence-bash-completion
Standards-Version: 4.3.0 Standards-Version: 4.3.0
Vcs-Browser: https://github.com/bkryza/clang-uml Vcs-Browser: https://github.com/bkryza/clang-uml
Vcs-Git: https://github.com/bkryza/clang-uml.git Vcs-Git: https://github.com/bkryza/clang-uml.git

1
packaging/debian/install Normal file
View File

@@ -0,0 +1 @@
packaging/autocomplete/_clang-uml /usr/share/zsh/vendor-completions/

View File

@@ -17,4 +17,4 @@ override_dh_strip:
dh_strip --dbgsym-migration='clang-uml-dbg (<<{{VERSION}}-1~)' dh_strip --dbgsym-migration='clang-uml-dbg (<<{{VERSION}}-1~)'
%: %:
dh $@ dh $@ --with bash-completion