Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / vulkan


Commits:
5fef1b98 by Andreas Boll at 2018-01-25T20:11:26+01:00
Add man pages for vulkaninfo and vulkan-smoketest.

- - - - -
ab95d490 by Timo Aaltonen at 2018-01-26T12:49:55+02:00
Package vulkan-glslang and vulkan-spirv, thanks Brett Johnson! (Closes: #884865)

- - - - -


8 changed files:

- debian/changelog
- debian/control
- debian/rules
- + debian/vulkan-glslang.install
- + debian/vulkan-smoketest.1
- + debian/vulkan-spirv.install
- + debian/vulkan-utils.manpages
- + debian/vulkaninfo.1


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,10 +2,13 @@ vulkan (1.0.65.2+dfsg1-2) UNRELEASED; urgency=medium
 
   [ Timo Aaltonen ]
   * copyright: Updated. (Closes: #881014)
+  * Package vulkan-glslang and vulkan-spirv, thanks Brett Johnson!
+    (Closes: #884865)
 
   [ Andreas Boll ]
   * debian/get-external.sh: Append external Git revisions of glslang,
     spirv-tools and spirv-headers to the commit message.
+  * Add man pages for vulkaninfo and vulkan-smoketest.
 
  -- Timo Aaltonen <[email protected]>  Wed, 10 Jan 2018 16:48:30 +0200
 


=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -58,3 +58,28 @@ Breaks: vulkan-sdk-runtime
 Replaces: vulkan-sdk-runtime
 Description: Miscellaneous Vulkan utilities
  This package provides utilities for Vulkan, including vulkaninfo.
+
+Package: vulkan-glslang
+Architecture: linux-any
+Section: libdevel
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libvulkan1 (= ${binary:Version}),
+Description: Khronos reference front-end for GLSL and ESSL, and sample SPIR-V 
generator
+ Khronos reference front-end for GLSL and ESSL, and sample SPIR-V generator, 
but
+ built specifically from the vulkan repository for vulkan.
+
+Package: vulkan-spirv
+Architecture: linux-any
+Section: libdevel
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libvulkan1 (= ${binary:Version}),
+Description: API and commands for processing SPIR-V modules
+ The SPIR-V Tools project provides an API and commands for processing SPIR-V
+ modules.
+ .
+ The project includes an assembler, binary module parser, disassembler,
+ validator, and optimizer for SPIR-V. Except for the optimizer, all are based 
on
+ a common static library. The library contains all of the implementation
+ details, and is used in the standalone tools whilst also enabling integration
+ into other code bases directly. The optimizer implementation resides in its 
own
+ library, which depends on the core library.


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,7 @@ build_spirv:
        cd external/glslang/build && \
        (cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./install 
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ..; make $(MAKE_FLAGS); make install)
        cd external/spirv-tools/build/ && \
-       (cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ..; 
make $(MAKE_FLAGS))
+       (cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=./install 
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ..; make $(MAKE_FLAGS); make install)
 
 override_dh_auto_configure: build_spirv
        dh_auto_configure -- \
@@ -43,6 +43,12 @@ override_dh_auto_install:
        mkdir -p debian/tmp/usr/include
        cp -rp include/vulkan debian/tmp/usr/include
 
+       mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)
+       cp -rp external/glslang/build/install/lib/* \
+               debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/
+       cp -rp external/spirv-tools/build/install/lib/* \
+               debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/
+
        mkdir -p debian/tmp/usr/share/vulkan/explicit_layer.d
        mkdir -p debian/tmp/usr/share/vulkan/implicit_layer.d
        mv debian/tmp/etc/vulkan/explicit_layer.d/*.json \


=====================================
debian/vulkan-glslang.install
=====================================
--- /dev/null
+++ b/debian/vulkan-glslang.install
@@ -0,0 +1,8 @@
+external/glslang/build/install/bin/* usr/bin
+external/glslang/build/install/include/* usr/include
+usr/lib/*/libHLSL.a
+usr/lib/*/libOGLCompiler.a
+usr/lib/*/libOSDependent.a
+usr/lib/*/libSPIRV.a
+usr/lib/*/libSPVRemapper.a
+usr/lib/*/libglslang.a


=====================================
debian/vulkan-smoketest.1
=====================================
--- /dev/null
+++ b/debian/vulkan-smoketest.1
@@ -0,0 +1,66 @@
+.TH vulkan-smoketest 1 "2018-01-25"
+.SH NAME
+vulkan-smoketest \- a Vulkan demo application
+.SH SYNOPSIS
+.B vulkan-smoketest
+.RI [ options ]
+.SH DESCRIPTION
+The \fIvulkan-smoketest\fP program demonstrates multi-thread command buffer
+recording. It displays lots of moving and rotating 3D objects like teapots,
+spheres and pyramids.
+.SH OPTIONS
+.TP
+.B \-\-b
+Disable vsync.
+.TP
+.B \-\-w \fIwidth\fP
+Set initial width. The default width is 1280.
+.TP
+.B \-\-h \fIheight\fP
+Set initial height. The default height is 1024.
+.TP
+\fB\-\-v\fP, \fB\-\-validate\fP
+Enable validation.
+.TP
+.B \-\-vv
+Enable verbose validation.
+.TP
+.B \-\-nt
+Disable tick.
+.TP
+.B \-\-nr
+Disable rendering.
+.TP
+.B \-\-np
+Disable presentation.
+.TP
+.B \-\-flush
+Flush buffers.
+.TP
+.B \-\-c \fImax_count\fP
+Set max frame count.
+.TP
+.B \-s
+Use single-thread mode.
+.TP
+.B \-p
+Use push constants.
+.SH INTERACTIVE CONTROL
+The following keys may be pressed while vulkan-smoketest is running:
+.TP
+.B Up
+Zoom in.
+.TP
+.B Down
+Zoom out.
+.TP
+.B Space
+Pause / Unpause.
+.TP
+.B Esc
+Quit.
+.SH AUTHOR
+vulkan-smoketest was originally written by Google, Inc.
+.PP
+This manual page was written by Andreas Boll <[email protected]>, for
+the Debian project (but may be used by others).


=====================================
debian/vulkan-spirv.install
=====================================
--- /dev/null
+++ b/debian/vulkan-spirv.install
@@ -0,0 +1,5 @@
+external/spirv-tools/build/install/bin/* usr/bin
+external/spirv-tools/build/install/include/spirv-tools/* 
usr/include/spirv-tools
+usr/lib/*/libSPIRV-Tools.a
+usr/lib/*/libSPIRV-Tools-link.a
+usr/lib/*/libSPIRV-Tools-opt.a


=====================================
debian/vulkan-utils.manpages
=====================================
--- /dev/null
+++ b/debian/vulkan-utils.manpages
@@ -0,0 +1,2 @@
+debian/vulkaninfo.1
+debian/vulkan-smoketest.1


=====================================
debian/vulkaninfo.1
=====================================
--- /dev/null
+++ b/debian/vulkaninfo.1
@@ -0,0 +1,14 @@
+.TH vulkaninfo 1 "2018-01-25"
+.SH NAME
+vulkaninfo \- show Vulkan information
+.SH SYNOPSIS
+.B vulkaninfo
+.SH DESCRIPTION
+The \fIvulkaninfo\fP program shows information about the supported Vulkan
+capabilities. It lists not only device properties and features, but also
+supported Vulkan layers and extensions.
+.SH AUTHOR
+vulkaninfo was originally written by LunarG, Inc.
+.PP
+This manual page was written by Andreas Boll <[email protected]>, for
+the Debian project (but may be used by others).



View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/vulkan/compare/8ce22d0f33d31e5cadd8f72cdaca42107334bf3c...ab95d4908edb372962288a1458eca24a2cde9ae6

---
View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/vulkan/compare/8ce22d0f33d31e5cadd8f72cdaca42107334bf3c...ab95d4908edb372962288a1458eca24a2cde9ae6
You're receiving this email because of your account on salsa.debian.org.

Reply via email to